<div data-popup data-popup--id="popup" data-popup--expiration="604800" data-popup--delay="20" data-popup--dismiss="60" class="c-popup o-wrapper o-bg-base u-py-base u-px-xxsmall u-fixed u-bottom u-z-upside">
    <div class="c-popup__container u-relative o-container u-break-word">
        <input type="checkbox" id="open-pop-up" class="u-none" />
        <label for="open-pop-up" class="u-cursor-pointer c-popup__icon c-popup__icon--chevron c-popup__icon--chevron-down">
            <svg class="o-icon o-icon--md" data-dd-icon="">
                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-chevron-down"></use>
            </svg>
        </label>

        <label for="open-pop-up" class="u-cursor-pointer c-popup__icon c-popup__icon--chevron c-popup__icon--chevron-up">
            <svg class="o-icon o-icon--md" data-dd-icon="">
                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-chevron-down"></use>
            </svg>
        </label>

        <input type="checkbox" id="close-pop-up" class="u-none" />
        <label data-popup--close for="close-pop-up" class="u-cursor-pointer c-popup__icon c-popup__icon--close">
            <svg class="o-icon o-icon--md" data-dd-icon="">
                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-x"></use>
            </svg>
        </label>

        <div class="c-popup__logo c-popup__logo--dossier u-py-xxsmall">

            <svg xmlns="http://www.w3.org/2000/svg" class="u-size-full" fill="none" viewBox="0 0 111 24">
                <path fill="currentColor" d="M85.4 4a.3.3 0 0 1-.3-.3V.3a.3.3 0 0 1 .3-.3h7.3a.3.3 0 0 1 .4.3v3.4a.3.3 0 0 1-.4.3h-7.3ZM.4 24a.3.3 0 0 1-.4-.4V.3A.3.3 0 0 1 .4 0H4a.3.3 0 0 1 .4.3v23.4a.3.3 0 0 1-.4.3H.4ZM12.6 1.7a5.5 5.5 0 0 1 2 4v12.5c0 3.2-3 5.8-6.6 5.8H6.6a.3.3 0 0 1-.3-.3v-3.4a.3.3 0 0 1 .3-.3H8a2 2 0 0 0 2-1.8V5.8A2 2 0 0 0 8 4H6.6a.3.3 0 0 1-.3-.3V.3a.3.3 0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.3.3 0 0 1 .4.3v3.3a.3.3 0 0 1-.4.4h-7.3Zm15.1-24a.3.3 0 0 1 .1.3v23.4a.3.3 0 0 1-.3.2h-3.9a.3.3 0 0 1-.3-.2V.3a.3.3 0 0 1 .3-.3h4.1m10.1 23.8a.3.3 0 0 1-.3.2h-4.5a.3.3 0 0 1-.2-.2l-3.2-5v-4.6a.3.3 0 0 1 .3-.3h2a1.2 1.2 0 0 0 1.2-1.1V5a1.2 1.2 0 0 0-1.3-1.1h-1.8a.3.3 0 0 1-.4-.3V.3l.1-.2.3-.1h1.8c3.3 0 5.9 2.3 5.9 5.1v7.7a5.2 5.2 0 0 1-3.5 4.7.3.3 0 0 0 0 .3l3.6 5.8a.2.2 0 0 1 0 .2Z" />
            </svg>

        </div>
        <div class="c-popup__content">
            <h2 class="c-popup__title c-popup__title--dossier u-heading-05 u-inline">
                Il mondo cambia.Tu puoi scegliere come leggerlo
            </h2>
            <p class="c-popup__paragraph u-body-04 u-mb-none">
                La tecnologia evolve, la società accelera.In mezzo a tutto questo, serve una bussola: analisi lucide, mappe, approfondimenti, dati solidi e storie che aiutano a capire dove sta andando la tua città.Noi crediamo che informarsi non sia un gesto passivo, ma un atto di cittadinanza consapevole.Con il tuo abbonamento a Dossier rendi possibile un&#39;informazione che guarda avanti e contribuisce a costruire un dibattito migliore. Scegli di non subire il cambiamento, anticipalo. Un abbonamento piccolo nel prezzo, ma con un enorme beneficio.E il resto del giornale è sempre gratis.
            </p>
        </div>
        <a href="#" class="c-popup__cta c-popup__cta--primary c-btn c-btn--secondary u-relative u-flex u-cursor-pointer u-items-center u-nowrap u-label-04 u-justify-center u-no-underline">
            Continua
        </a>
        <button data-popup--close class="c-popup__cta c-popup__cta--secondary c-btn c-btn--naked u-relative  u-flex u-cursor-pointer  u-items-center u-nowrap u-label-04 u-justify-center">
            Forse dopo
        </button>
    </div>
</div>

<script>
    ~ function() {
        if (
            !document.querySelectorAll ||
            !window.NodeList ||
            !NodeList.prototype.forEach
        )
            return;
        var fDialog = function() {
            var fHash = function(sString) {
                sString = "" + sString;
                var iHash = 0;
                var iString = 0;
                for (; iString < sString.length; ++iString) {
                    iHash = (iHash << 5) - iHash + sString.charCodeAt(iString);
                    iHash = iHash | 0;
                }
                return (iHash >>> 0).toString(36);
            };
            document
                .querySelectorAll("[data-popup]")
                .forEach(function(oNodeDialog) {
                    {
                        if (oNodeDialog.hasAttribute("data-popup--internal-processed"))
                            return;
                        oNodeDialog.setAttribute("data-popup--internal-processed", "");
                    }
                    var bDialog = false;
                    var sDialog = fHash(
                        (oNodeDialog.getAttribute("data-popup--id") || "").trim()
                    );
                    var fDelay = (
                        oNodeDialog.getAttribute("data-popup--delay") || ""
                    ).trim();
                    fDelay = parseFloat(fDelay.replace(/,/g, ".")) || 0;
                    fDelay = Math.max(0, fDelay);
                    setTimeout(function() {
                        {
                            var aCookie = document.cookie.match(
                                new RegExp("\\b__popup~" + sDialog + "=([^;]*)", "i")
                            );
                            if (aCookie && aCookie[1]) return;
                        } {
                            var hTimeOut = null;
                            var fDismiss = (
                                oNodeDialog.getAttribute("data-popup--dismiss") || ""
                            ).trim();
                            fDismiss = parseFloat(fDismiss.replace(/,/g, ".")) || 0;
                            fDismiss = Math.max(0, fDismiss);
                            if (fDismiss)
                                hTimeOut = setTimeout(function() {
                                    hTimeOut = false;
                                    oNodeDialog.removeAttribute("data-popup--state-opened");
                                    oNodeDialog.classList.remove("popup--state-opened");
                                    bDialog = false;
                                    if ("open" in oNodeDialog && !oNodeDialog.open) return;
                                    try {
                                        oNodeDialog.close && oNodeDialog.close();
                                    } catch (_) {}
                                }, Math.round(fDismiss * 1e3));
                        }
                        oNodeDialog.addEventListener("close", function() {
                            if (hTimeOut) {
                                clearTimeout(hTimeOut);
                                hTimeOut = null;
                            }
                            if (bDialog) {
                                var fExpiration = (
                                    oNodeDialog.getAttribute("data-popup--expiration") || ""
                                ).trim();
                                fExpiration = parseFloat(fExpiration.replace(/,/g, ".")) || 0;
                                if (fExpiration > 0) {
                                    var oDate = new Date();
                                    oDate.setTime(
                                        oDate.getTime() + Math.round(fExpiration * 1e3)
                                    );
                                    document.cookie =
                                        "__popup~" +
                                        sDialog +
                                        "=-1; path=/; expires=" +
                                        oDate.toGMTString();
                                } else if (fExpiration < 0)
                                    document.cookie = "__popup~" + sDialog + "=-1; path=/";
                            }
                            oNodeDialog.removeAttribute("data-popup--state-opened");
                            oNodeDialog.classList.remove("popup--state-opened");
                            bDialog = false;
                        });
                        oNodeDialog
                            .querySelectorAll("[data-popup--close]")
                            .forEach(function(oNodeClose) {
                                var fEvent = function() {
                                    if (hTimeOut) {
                                        clearTimeout(hTimeOut);
                                        hTimeOut = null;
                                    }
                                    if (bDialog) {
                                        var fExpiration =
                                            (
                                                oNodeClose.getAttribute("data-popup--close") || ""
                                            ).trim() ||
                                            (
                                                oNodeDialog.getAttribute("data-popup--expiration") ||
                                                ""
                                            ).trim();
                                        fExpiration =
                                            parseFloat(fExpiration.replace(/,/g, ".")) || 0;
                                        if (fExpiration > 0) {
                                            var oDate = new Date();
                                            oDate.setTime(
                                                oDate.getTime() + Math.round(fExpiration * 1e3)
                                            );
                                            document.cookie =
                                                "__popup~" +
                                                sDialog +
                                                "=1; path=/; expires=" +
                                                oDate.toGMTString();
                                        } else if (fExpiration < 0)
                                            document.cookie = "__popup~" + sDialog + "=1; path=/";
                                    }
                                    oNodeDialog.removeAttribute("data-popup--state-opened");
                                    oNodeDialog.classList.remove("popup--state-opened");
                                    bDialog = false;
                                    if ("open" in oNodeDialog && !oNodeDialog.open) return;
                                    try {
                                        oNodeDialog.close && oNodeDialog.close();
                                    } catch (_) {}
                                };
                                if (("" + oNodeClose.nodeName).toUpperCase() == "FORM")
                                    oNodeClose.addEventListener("submit", fEvent);
                                else oNodeClose.addEventListener("click", fEvent);
                            });
                        bDialog = true;
                        oNodeDialog.setAttribute("data-popup--state-opened", "");
                        oNodeDialog.classList.add("popup--state-opened");
                        try {
                            if (oNodeDialog.hasAttribute("data-popup--modal"))
                                oNodeDialog.showModal && oNodeDialog.showModal();
                            else oNodeDialog.show && oNodeDialog.show();
                        } catch (_) {}
                    }, Math.round(fDelay * 1e3) || 1);
                });
        };
        {
            var bReady = false;
            var fReady = function() {
                {
                    if (bReady) return;
                    bReady = true;
                }
                fDialog();
            };
            if (
                document.readyState == "complete" ||
                document.readyState == "interactive"
            ) {
                setTimeout(fReady, 1);
                return;
            }
            document.addEventListener("DOMContentLoaded", fReady);
            window.addEventListener("load", fReady);
        }
        do {
            var popUpCheckbox = document.getElementById("open-pop-up");
            if (!popUpCheckbox) break;
            var popUpParagraph = document.querySelector(".c-popup__paragraph")
            if (!popUpParagraph) break;
            window.addEventListener('DOMContentLoaded', function() {
                var popupChecked = localStorage.getItem("popup-checked");
                if (popupChecked === 'true') {
                    popUpCheckbox.checked = true;
                    popUpParagraph.classList.add("c-popup_closed")
                }
            })
            popUpCheckbox.addEventListener('change', function() {
                localStorage.setItem('popup-checked', !!popUpCheckbox.checked)
                if (popUpCheckbox.checked)
                    popUpParagraph.classList.add('c-popup_closed')
                else
                    popUpParagraph.classList.remove('c-popup_closed')
            })
        } while (false);
        {
            var reviveLabels = document.querySelectorAll(".revive-track");
            if (reviveLabels) {
                reviveLabels.forEach(function(el) {
                    el.addEventListener('click', function() {
                        var trackUrl = this.getAttribute('data-revive-url')
                        if (trackUrl) {
                            if (navigator.sendBeacon) {
                                navigator.sendBeacon(trackUrl)
                            } else {
                                fetch(trackUrl, {
                                    mode: 'no-cors',
                                    cache: 'no-cache'
                                })
                            }
                            console.log("Click di Revive")
                        }
                    })
                })
            }
        }
    }();
</script>
<div
 data-popup
  data-popup--id="popup"
  data-popup--expiration="604800"
  data-popup--delay="20"
  data-popup--dismiss="60"
  class= "c-popup o-wrapper o-bg-base u-py-base u-px-xxsmall u-fixed u-bottom u-z-upside">  
  <div class="c-popup__container u-relative o-container u-break-word">
    <input type="checkbox" id="open-pop-up" class="u-none" />
    <label for="open-pop-up" class="u-cursor-pointer c-popup__icon c-popup__icon--chevron c-popup__icon--chevron-down">
    <svg class="o-icon o-icon--md" data-dd-icon="">
      <use
        xmlns:xlink="http://www.w3.org/1999/xlink"
        xlink:href="#icon-chevron-down"
      ></use>
    </svg>
    </label>

    <label for="open-pop-up" class="u-cursor-pointer c-popup__icon c-popup__icon--chevron c-popup__icon--chevron-up">   
    <svg class="o-icon o-icon--md" data-dd-icon="">
      <use
        xmlns:xlink="http://www.w3.org/1999/xlink"
        xlink:href="#icon-chevron-down"
      ></use>
    </svg>
    </label>

    <input type="checkbox" id="close-pop-up" class="u-none" />
    <label data-popup--close for="close-pop-up" class="u-cursor-pointer c-popup__icon c-popup__icon--close">
      <svg class="o-icon o-icon--md" data-dd-icon="">
        <use
          xmlns:xlink="http://www.w3.org/1999/xlink"
          xlink:href="#icon-x"
        ></use>
      </svg>
    </label>
    
    <div class="c-popup__logo c-popup__logo--{{modifier}} u-py-xxsmall">
      {% if modifier=='dossier' %}
        <svg xmlns="http://www.w3.org/2000/svg" class="u-size-full" fill="none" viewBox="0 0 111 24">
          <path fill="currentColor" d="{{ path }}"/>
        </svg>
      {% else %}
        {% render "@brand",{local: true, logo: true, modifier: "small"},true %}
      {% endif %}
    </div>
    <div class="c-popup__content">
      <h2 class="c-popup__title c-popup__title--{{modifier}} u-heading-05 u-inline">
        {{ title }}
      </h2>
      <p class="c-popup__paragraph u-body-04 u-mb-none">
        {{ content }}
      </p>
    </div>
    <a href="#" class="c-popup__cta c-popup__cta--primary c-btn c-btn--secondary u-relative u-flex u-cursor-pointer u-items-center u-nowrap u-label-04 u-justify-center u-no-underline">
      {{ primarycta }}
    </a>
    <button data-popup--close class="c-popup__cta c-popup__cta--secondary c-btn c-btn--naked u-relative  u-flex u-cursor-pointer  u-items-center u-nowrap u-label-04 u-justify-center">
      {{ secondarycta }}
    </button>
  </div>  
</div>

{# <script>
  ~function () {
    if (
      !document.querySelectorAll ||
      !window.NodeList ||
      !NodeList.prototype.forEach
    )
      return;
    var fDialog = function () {
      var fHash = function (sString) {
        sString = "" + sString;
        var iHash = 0;
        var iString = 0;
        for (; iString < sString.length; ++iString) {
          iHash = (iHash << 5) - iHash + sString.charCodeAt(iString);
          iHash = iHash | 0;
        }
        return (iHash >>> 0).toString(36);
      };
      document
        .querySelectorAll("[data-popup]")
        .forEach(function (oNodeDialog) {
          {
            if (oNodeDialog.hasAttribute("data-popup--internal-processed"))
              return;
            oNodeDialog.setAttribute("data-popup--internal-processed", "");
          }
          var bDialog = false;
          var sDialog = fHash(
            (oNodeDialog.getAttribute("data-popup--id") || "").trim()
          );
          var fDelay = (
            oNodeDialog.getAttribute("data-popup--delay") || ""
          ).trim();
          fDelay = parseFloat(fDelay.replace(/,/g, ".")) || 0;
          fDelay = Math.max(0, fDelay);
          setTimeout(function () {
            {
              var aCookie = document.cookie.match(
                new RegExp("\\b__dialog~" + sDialog + "=([^;]*)", "i")
              );
              if (aCookie && aCookie[1]) return;
            }
            {
              var hTimeOut = null;
              var fDismiss = (
                oNodeDialog.getAttribute("data-popup--dismiss") || ""
              ).trim();
              fDismiss = parseFloat(fDismiss.replace(/,/g, ".")) || 0;
              fDismiss = Math.max(0, fDismiss);
              if (fDismiss)
                hTimeOut = setTimeout(function () {
                  hTimeOut = false;
                  oNodeDialog.removeAttribute("data-popup--state-opened");
                  oNodeDialog.classList.remove("popup--state-opened");
                  bDialog = false;
                  if ("open" in oNodeDialog && !oNodeDialog.open) return;
                  try {
                    oNodeDialog.close && oNodeDialog.close();
                  } catch (_) {}
                }, Math.round(fDismiss * 1e3));
            }
            oNodeDialog.addEventListener("close", function () {
              if (hTimeOut) {
                clearTimeout(hTimeOut);
                hTimeOut = null;
              }
              if (bDialog) {
                var fExpiration = (
                  oNodeDialog.getAttribute("data-popup--expiration") || ""
                ).trim();
                fExpiration = parseFloat(fExpiration.replace(/,/g, ".")) || 0;
                if (fExpiration > 0) {
                  var oDate = new Date();
                  oDate.setTime(
                    oDate.getTime() + Math.round(fExpiration * 1e3)
                  );
                  document.cookie =
                    "__dialog~" +
                    sDialog +
                    "=-1; path=/; expires=" +
                    oDate.toGMTString();
                } else if (fExpiration < 0)
                  document.cookie = "__dialog~" + sDialog + "=-1; path=/";
              }
              oNodeDialog.removeAttribute("data-popup--state-opened");
              oNodeDialog.classList.remove("popup--state-opened");
              bDialog = false;
            });
            oNodeDialog
              .querySelectorAll("[data-popup--close]")
              .forEach(function (oNodeClose) {
                var fEvent = function () {
                  if (hTimeOut) {
                    clearTimeout(hTimeOut);
                    hTimeOut = null;
                  }
                  if (bDialog) {
                    var fExpiration =
                      (
                        oNodeClose.getAttribute("data-popup--close") || ""
                      ).trim() ||
                      (
                        oNodeDialog.getAttribute("data-popup--expiration") ||
                        ""
                      ).trim();
                    fExpiration =
                      parseFloat(fExpiration.replace(/,/g, ".")) || 0;
                    if (fExpiration > 0) {
                      var oDate = new Date();
                      oDate.setTime(
                        oDate.getTime() + Math.round(fExpiration * 1e3)
                      );
                      document.cookie =
                        "__dialog~" +
                        sDialog +
                        "=1; path=/; expires=" +
                        oDate.toGMTString();
                    } else if (fExpiration < 0)
                      document.cookie = "__dialog~" + sDialog + "=1; path=/";
                  }
                  oNodeDialog.removeAttribute("data-popup--state-opened");
                  oNodeDialog.classList.remove("popup--state-opened");
                  bDialog = false;
                  if ("open" in oNodeDialog && !oNodeDialog.open) return;
                  try {
                    oNodeDialog.close && oNodeDialog.close();
                  } catch (_) {}
                };
                if (("" + oNodeClose.nodeName).toUpperCase() == "FORM")
                  oNodeClose.addEventListener("submit", fEvent);
                else oNodeClose.addEventListener("click", fEvent);
              });
            bDialog = true;
            oNodeDialog.setAttribute("data-popup--state-opened", "");
            oNodeDialog.classList.add("popup--state-opened");
            try {
              if (oNodeDialog.hasAttribute("data-popup--modal"))
                oNodeDialog.showModal && oNodeDialog.showModal();
              else oNodeDialog.show && oNodeDialog.show();
            } catch (_) {}
          }, Math.round(fDelay * 1e3) || 1);
        });
    };
    {
      var bReady = false;
      var fReady = function () {
        {
          if (bReady) return;
          bReady = true;
        }
        fDialog();
      };
      if (
        document.readyState == "complete" ||
        document.readyState == "interactive"
      ) {
        setTimeout(fReady, 1);
        return;
      }
      document.addEventListener("DOMContentLoaded", fReady);
      window.addEventListener("load", fReady);
    }
  }();
</script> #}
<script>
    ~function () {
      if (
        !document.querySelectorAll ||
        !window.NodeList ||
        !NodeList.prototype.forEach
      )
        return;
      var fDialog = function () {
        var fHash = function (sString) {
          sString = "" + sString;
          var iHash = 0;
          var iString = 0;
          for (; iString < sString.length; ++iString) {
            iHash = (iHash << 5) - iHash + sString.charCodeAt(iString);
            iHash = iHash | 0;
          }
          return (iHash >>> 0).toString(36);
        };
        document
          .querySelectorAll("[data-popup]")
          .forEach(function (oNodeDialog) {
            {
              if (oNodeDialog.hasAttribute("data-popup--internal-processed"))
                return;
              oNodeDialog.setAttribute("data-popup--internal-processed", "");
            }
            var bDialog = false;
            var sDialog = fHash(
              (oNodeDialog.getAttribute("data-popup--id") || "").trim()
            );
            var fDelay = (
              oNodeDialog.getAttribute("data-popup--delay") || ""
            ).trim();
            fDelay = parseFloat(fDelay.replace(/,/g, ".")) || 0;
            fDelay = Math.max(0, fDelay);
            setTimeout(function () {
              {
                var aCookie = document.cookie.match(
                  new RegExp("\\b__popup~" + sDialog + "=([^;]*)", "i")
                );
                if (aCookie && aCookie[1]) return;
              }
              {
                var hTimeOut = null;
                var fDismiss = (
                  oNodeDialog.getAttribute("data-popup--dismiss") || ""
                ).trim();
                fDismiss = parseFloat(fDismiss.replace(/,/g, ".")) || 0;
                fDismiss = Math.max(0, fDismiss);
                if (fDismiss)
                  hTimeOut = setTimeout(function () {
                    hTimeOut = false;
                    oNodeDialog.removeAttribute("data-popup--state-opened");
                    oNodeDialog.classList.remove("popup--state-opened");
                    bDialog = false;
                    if ("open" in oNodeDialog && !oNodeDialog.open) return;
                    try {
                      oNodeDialog.close && oNodeDialog.close();
                    } catch (_) {}
                  }, Math.round(fDismiss * 1e3));
              }
              oNodeDialog.addEventListener("close", function () {
                if (hTimeOut) {
                  clearTimeout(hTimeOut);
                  hTimeOut = null;
                }
                if (bDialog) {
                  var fExpiration = (
                    oNodeDialog.getAttribute("data-popup--expiration") || ""
                  ).trim();
                  fExpiration = parseFloat(fExpiration.replace(/,/g, ".")) || 0;
                  if (fExpiration > 0) {
                    var oDate = new Date();
                    oDate.setTime(
                      oDate.getTime() + Math.round(fExpiration * 1e3)
                    );
                    document.cookie =
                      "__popup~" +
                      sDialog +
                      "=-1; path=/; expires=" +
                      oDate.toGMTString();
                  } else if (fExpiration < 0)
                    document.cookie = "__popup~" + sDialog + "=-1; path=/";
                }
                oNodeDialog.removeAttribute("data-popup--state-opened");
                oNodeDialog.classList.remove("popup--state-opened");
                bDialog = false;
              });
              oNodeDialog
                .querySelectorAll("[data-popup--close]")
                .forEach(function (oNodeClose) {
                  var fEvent = function () {
                    if (hTimeOut) {
                      clearTimeout(hTimeOut);
                      hTimeOut = null;
                    }
                    if (bDialog) {
                      var fExpiration =
                        (
                          oNodeClose.getAttribute("data-popup--close") || ""
                        ).trim() ||
                        (
                          oNodeDialog.getAttribute("data-popup--expiration") ||
                          ""
                        ).trim();
                      fExpiration =
                        parseFloat(fExpiration.replace(/,/g, ".")) || 0;
                      if (fExpiration > 0) {
                        var oDate = new Date();
                        oDate.setTime(
                          oDate.getTime() + Math.round(fExpiration * 1e3)
                        );
                        document.cookie =
                          "__popup~" +
                          sDialog +
                          "=1; path=/; expires=" +
                          oDate.toGMTString();
                      } else if (fExpiration < 0)
                        document.cookie = "__popup~" + sDialog + "=1; path=/";
                    }
                    oNodeDialog.removeAttribute("data-popup--state-opened");
                    oNodeDialog.classList.remove("popup--state-opened");
                    bDialog = false;
                    if ("open" in oNodeDialog && !oNodeDialog.open) return;
                    try {
                      oNodeDialog.close && oNodeDialog.close();
                    } catch (_) {}
                  };
                  if (("" + oNodeClose.nodeName).toUpperCase() == "FORM")
                    oNodeClose.addEventListener("submit", fEvent);
                  else oNodeClose.addEventListener("click", fEvent);
                });
              bDialog = true;
              oNodeDialog.setAttribute("data-popup--state-opened", "");
              oNodeDialog.classList.add("popup--state-opened");
              try {
                if (oNodeDialog.hasAttribute("data-popup--modal"))
                  oNodeDialog.showModal && oNodeDialog.showModal();
                else oNodeDialog.show && oNodeDialog.show();
              } catch (_) {}
            }, Math.round(fDelay * 1e3) || 1);
          });
      };
      {
        var bReady = false;
        var fReady = function () {
          {
            if (bReady) return;
            bReady = true;
          }
          fDialog();
        };
        if (
          document.readyState == "complete" ||
          document.readyState == "interactive"
        ) {
          setTimeout(fReady, 1);
          return;
        }
        document.addEventListener("DOMContentLoaded", fReady);
        window.addEventListener("load", fReady);
      }
      do 
        {
            var popUpCheckbox = document.getElementById("open-pop-up");
            if ( !popUpCheckbox ) break;

            var popUpParagraph= document.querySelector(".c-popup__paragraph")
            if ( !popUpParagraph ) break;

            window.addEventListener('DOMContentLoaded', function(){
            var popupChecked= localStorage.getItem("popup-checked");
            if(popupChecked==='true'){
              popUpCheckbox.checked=true;
              popUpParagraph.classList.add("c-popup_closed")
            }
            })

            popUpCheckbox.addEventListener('change', function(){
              localStorage.setItem('popup-checked', !!popUpCheckbox.checked)

              if( popUpCheckbox.checked )
                popUpParagraph.classList.add('c-popup_closed')
              else
                popUpParagraph.classList.remove('c-popup_closed')
            
            })
        } while ( false );

        {
         var reviveLabels = document.querySelectorAll(".revive-track");
         if(reviveLabels){
            reviveLabels.forEach(function(el) {
              el.addEventListener('click', function(){
                var trackUrl= this.getAttribute('data-revive-url')
              if(trackUrl){
                if(navigator.sendBeacon){
                  navigator.sendBeacon(trackUrl)
                }else{
                  fetch(trackUrl, { mode: 'no-cors', cache: 'no-cache' })
                }

                console.log("Click di Revive")
              }
              })
            })
          }
        }        
    }();

  
  </script>
{
  "title": "Il mondo cambia.Tu puoi scegliere come leggerlo",
  "content": "La tecnologia evolve, la società accelera.In mezzo a tutto questo, serve una bussola: analisi lucide, mappe, approfondimenti, dati solidi e storie che aiutano a capire dove sta andando la tua città.Noi crediamo che informarsi non sia un gesto passivo, ma un atto di cittadinanza consapevole.Con il tuo abbonamento a Dossier rendi possibile un'informazione che guarda avanti e contribuisce a costruire un dibattito migliore. Scegli di non subire il cambiamento, anticipalo. Un abbonamento piccolo nel prezzo, ma con un enorme beneficio.E il resto del giornale è sempre gratis.",
  "primarycta": "Continua",
  "secondarycta": "Forse dopo",
  "modifier": "dossier",
  "path": "M85.4 4a.3.3 0 0 1-.3-.3V.3a.3.3 0 0 1 .3-.3h7.3a.3.3 0 0 1 .4.3v3.4a.3.3 0 0 1-.4.3h-7.3ZM.4 24a.3.3 0 0 1-.4-.4V.3A.3.3 0 0 1 .4 0H4a.3.3 0 0 1 .4.3v23.4a.3.3 0 0 1-.4.3H.4ZM12.6 1.7a5.5 5.5 0 0 1 2 4v12.5c0 3.2-3 5.8-6.6 5.8H6.6a.3.3 0 0 1-.3-.3v-3.4a.3.3 0 0 1 .3-.3H8a2 2 0 0 0 2-1.8V5.8A2 2 0 0 0 8 4H6.6a.3.3 0 0 1-.3-.3V.3a.3.3 0 0 1 .3-.3H8a7 7 0 0 1 4.6 1.7M24 .1a.3.3 0 0 1 .1.3v3.4a.3.3 0 0 1-.2.3A2 2 0 0 0 22.3 6v12a2 2 0 0 0 1.6 1.9.3.3 0 0 1 .2.3v3.4a.3.3 0 0 1 0 .2.4.4 0 0 1-.4.1c-3.3-.4-5.9-2.9-5.9-5.9V6c.1-3 2.6-5.6 6-6l.2.1ZM32.3 6v12c0 3-2.6 5.5-6 6a.4.4 0 0 1-.2-.2.3.3 0 0 1-.1-.2v-3.4a.3.3 0 0 1 .2-.3 2 2 0 0 0 1.6-1.9V6a2 2 0 0 0-1.6-2 .3.3 0 0 1-.2-.3V.4a.3.3 0 0 1 0-.3h.4C29.7.4 32.3 3 32.3 6Zm9.3 14.2v3.4a.3.3 0 0 1-.1.2l-.3.1c-3.4-.4-6-3-6-6v-1.8a.3.3 0 0 1 .2-.2h4.1a.3.3 0 0 1 .3.2v1.8a2.2 2.2 0 0 0 1.5 2 .3.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