PageSourceSearch

https://www.texasmonthly.com/wp-content/themes/texasmonthly-child/assets/dist/1389.e487f1c55494dce4.js

js texasmonthly.com collected 2026-09-24 08:26:11 UTC 58,440 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunktexasmonthly=self.webpackChunktexasmonthly||[]).push([[1389],{1389:(t,e,n)=>{n.r(e),n.d(e,{default:()=>w,giftArticlesRemaining:()=>h});var i=n(4692),r=n.n(i),o=n(9731),a=n(4062),s=n(4939),c=n(6430),l=n(3783),u=n(6630);function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function f(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,m(i.key),i)}}function p(t,e,n){return(e=m(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function m(t){var e=function(t,e){if("object"!=d(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=d(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==d(e)?e:e+""}var h=(0,o.T5)(-1),g=0,v=1,b=2,y=3,x=4;const w=function(){return t=function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),p(this,"handleOutsideClickModal",(function(t){var n=document.querySelector("#gift-article-modal__content");n&&!n.contains(t.target)&&e.closeModal()})),p(this,"handleOutsidePanelClick",(function(t){e.panel&&!e.panel.contains(t.target)&&e.hidePanel()})),console.debug("tm:giftArticles"),this.giftArticles=null,this.giftArticleMonthlyLimit=n,this.giftArticleMaxLimit=12,this.giftLink=null,this.giftedThisMonth=0,this.giftsRemaining=null,this.awaitingData=!1,this.currentMonth=null,this.currentYear=null,this.firebaseUid=null,this.modal=null,this.mode=g,this.panel=null,this.postId=null,this.user=null,this.initSubscriptionUnsubscribe=null,this.init()},(e=[{key:"init",value:function(){var t=this,e=new URLSearchParams(window.location.search);if(e.has("gift_code")){var n=e.get("gift_code");console.debug("tm:giftArticles","Gift code found",n);try{var i=atob(n);console.debug("tm:giftArticles","Decoded gift code",i);var r=i.split(";");if(3!==r.length||r[0]!==window.txmoPageMeta.id)window.txmoGiftCode="invalid";else{var o=r[2];try{var a=o.substring(0,4),s=o.substring(4,6),c=o.substring(6,8),l=new Date(a,s-1,c),d=new Date,f=new Date(d);f.setDate(f.getDate()-14),"Invalid Date"===l.toString()?window.txmoGiftCode="error":window.txmoGiftCode=l<f?"expired":"success"}catch(t){throw t}}}catch(t){console.error("tm:giftArticles","Error decoding gift code",t),window.txmoGiftCode="error"}}this.postId=window.txmoPageMeta.id,this.postId||console.error("tm:giftArticles","Post ID not found");var p=new Date;this.currentMonth=p.getMonth()+1,this.currentYear=p.getFullYear(),this.initSubscriptionUnsubscribe&&(console.debug("tm:giftArticles.init: unsubscribing from previous subscription"),this.initSubscriptionUnsubscribe()),this.initSubscriptionUnsubscribe=u.T2.subscribe((function(e){var n,i;if(console.debug("tm:giftArticles.init.subscribe",e),!e||!e.isAuthenticated)return t.user=null,t.giftArticles=null,t.firebaseUid=null,void(t.mode=g);t.mode===g&&(t.mode=b),t.user=e.user,t.firebaseUid=e.user.uid,t.giftArticles=null!==(n=e.user)&&void 0!==n&&null!==(n=n.userData)&&void 0!==n&&n.giftArticles?e.user.userData.giftArticles:[],t.awaitingData=!1,null!==(i=e.user)&&void 0!==i&&null!==(i=i.userData)&&void 0!==i&&null!==(i=i.entitlements)&&void 0!==i&&i.isComp&&(t.giftArticleMonthlyLimit=100,t.giftArticleMaxLimit=100,t.updateRemainingCount()),t.updateRemainingCount();var r=!1;t.giftArticles.forEach((function(e){e.id===t.postId&&(console.debug("tm:giftArticles.init.subscribe","Already gifted"),r=!0)})),r?t.mode=y:t.giftArticles.length>=t.giftArticleMaxLimit&&(t.mode=x)}))}},{key:"initButtons",value:function(){var t=this;this.buttonSubscriptionUnsubscribe&&(console.debug("tm:giftArticles.initButtons: unsubscribing from previous subscription"),this.buttonSubscriptionUnsubscribe()),this.buttonSubscriptionUnsubscribe=u.T2.subscribe((function(e){var n;if(console.debug("tm:giftArticles.initButtons.subscribe",e),e&&void 0!==e.isAuthenticated)if(e.isAuthenticated){if(!e.isUserHydrated)return void console.debug("tm:giftArticles.initButtons.subscribe","User data not hydrated yet; waiting...");null!=e&&null!==(n=e.user)&&void 0!==n&&null!==(n=n.userData)&&void 0!==n&&null!==(n=n.entitlements)&&void 0!==n&&n.isSubscriber?(console.debug("tm:giftArticles.initButtons.subscribe","User is subscriber; Enable buttons"),t.mode!==g&&t.mode!==v||(t.mode=b),t.enableButtons()):(console.debug("tm:giftArticles.initButtons.subscribe","User has no subscription; Disable buttons"),t.mode=v,t.disableButtons())}else console.debug("tm:giftArticles.initButtons.subscribe","User not logged in; Disable buttons"),t.mode=g,t.disableButtons();else console.debug("tm:giftArticles.initButtons.subscribe","Auth system initializing; waiting...")})),r()(document).on("click",".js-gift-article:not(.disabled)",(function(e){t.mode!==g&&t.mode!==v?(t.giftLink||t.generateGiftLink(),(0,s.Fr)()?(t.panel||t.insertPanel(),t.updateRemainingCount(),t.showPanel()):(t.modal||t.insertModal(),t.updateRemainingCount(),t.showModal())):console.error("tm:giftArticles","User not logged in")})),r()(document).on("click",".gift-article-modal__copy-link, .gift-article-panel__copy-link",(function(e){var n=t.giftLink.replace("utm_medium=email","utm_medium=webcta");navigator.clipboard.writeText(n);var i=e.target;i&&(i.textContent="Copied!"),t.mode!==y&&(t.updateGiftArticles(t.postId),(0,l.Z)("tmgiftlink_created",
1new Date,{referrer:document.referrer,url:window.location.href.split("?")[0]}))})),r()(document).on("click",".gift-article-modal__email-link, .gift-article-panel__email-link",(function(e){t.mode!==y&&(t.updateGiftArticles(t.postId),(0,l.Z)("tmgiftlink_created",new Date,{referrer:document.referrer,url:window.location.href.split("?")[0]}))}))}},{key:"disableButtons",value:function(){var t=this;document.querySelectorAll(".js-gift-article").forEach((function(e){var n=null,i="right";if(e.classList.add("disabled"),e.classList.contains("article-referral-button")){var r=e.querySelector("svg");r&&(n=r,i="top",r.removeAttribute("data-hover-text"))}else e.closest(".share-article__list-item")&&(n=e,e.removeAttribute("data-tippy-hover-text"));if(n){var o=n._tippy;o&&o.destroy(),(0,a.Ay)(n,{arrow:!0,trigger:"mouseenter focus",theme:"texasmonthly",allowHTML:!0,maxWidth:450,offset:[0,14],interactive:!0,placement:i,content:function(e){return t.mode===g?"<div class=\"flex flex-col px-3 py-3 text-nowrap items-center\">\n                                    <p class='font-rs-narrow text-sm tracking-wider normal-case cursor-default'>Subscribers can gift ".concat(t.giftArticleMonthlyLimit," articles a month.</p>\n                                    <p class='font-rs-narrow text-sm tracking-wider normal-case'><a class='user-login text-white underline underline-offset-2 decoration-solid decoration-white decoration-1 hover:text-red hover:decoration-red cursor-pointer dark:hover:decoration-dm-tan'>Log in</a> or <a href='https://subscription.texasmonthly.com/servlet/OrdersGateway?cds_mag_code=TXP&cds_page_id=261743&utm_source=texasmonthly&utm_medium=gift-articles&utm_campaign=subscriber-only-benefit/' class='text-white underline underline-offset-2 decoration-solid decoration-white decoration-1 hover:text-red hover:decoration-red cursor-pointer dark:hover:decoration-dm-tan'>subscribe today</a>.</p>\n                                </div>"):t.mode===v?"<div class=\"flex flex-col px-3 py-3 text-nowrap items-center\">\n                                    <p class='font-rs-narrow text-sm tracking-wider normal-case cursor-default'>Subscribers can gift ".concat(t.giftArticleMonthlyLimit," articles a month.</p>\n                                    <p class='font-rs-narrow text-sm tracking-wider normal-case'><a href='/about/subscriber-faqs/#gift-articles' class='text-white underline underline-offset-2 decoration-solid decoration-white decoration-1 hover:text-red hover:decoration-red cursor-pointer dark:hover:decoration-dm-tan'>Learn more</a> or <a href='https://subscription.texasmonthly.com/servlet/OrdersGateway?cds_mag_code=TXP&cds_page_id=261743&utm_source=texasmonthly&utm_medium=gift-articles&utm_campaign=subscriber-only-benefit/' class='text-white underline underline-offset-2 decoration-solid decoration-white decoration-1 hover:text-red hover:decoration-red cursor-pointer dark:hover:decoration-dm-tan'>subscribe today</a>.</p>\n                                </div>"):void 0}})}}))}},{key:"enableButtons",value:function(){document.querySelectorAll(".js-gift-article").forEach((function(t){var e=t,n="right";if(t.classList.remove("disabled"),t.removeAttribute("hidden"),t.classList.remove("js-hide"),t.classList.contains("article-referral-button")){var i=t.querySelector("svg");i&&i.classList.remove("opacity-50"),e=i,n="top"}var r=e._tippy;r&&r.destroy(),(0,a.Ay)(e,{placement:n,theme:"texasmonthly",allowHTML:!0,content:function(t){return"<div class=\"flex flex-col px-3 py-3 text-nowrap\">\n                                <p class='font-rs-narrow text-sm tracking-wider normal-case'>Gift this article</p>\n                            </div>"}})}))}},{key:"updateGiftArticles",value:function(){this.awaitingData?console.error("tm:giftArticles.updateGiftArticles","Awaiting new data"):(this.giftArticles.length>=this.giftArticleMaxLimit&&(console.error("tm:giftArticles.updateGiftArticles","Gift article limit reached"),this.giftArticles.shift()),this.giftArticles.push({id:this.postId,timestamp:c.Dc.now()}),this.user.updateGiftArticles(this.giftArticles),this.awaitingData=!0,this.mode=y,this.updateRemainingCount())}},{key:"updateRemainingCount",value:function(){var t=this;if(this.giftArticles){var e=this.giftArticles.filter((function(e){var n=e.timestamp.toDate();return n.getMonth()+1===t.currentMonth&&n.getFullYear()===t.currentYear}));this.giftedThisMonth=e.length,this.giftsRemaining=this.giftArticleMonthlyLimit-this.giftedThisMonth,this.giftsRemaining<0&&(this.giftsRemaining=0),h.set(this.giftsRemaining),document.querySelectorAll(".gift-articles-remaining").forEach((function(e){return 1===t.giftsRemaining?void(e.textContent="1 article"):0===t.giftsRemaining?t.mode===y?void(e.textContent=t.giftsRemaining+" articles"):(document.querySelectorAll(".gift-article-modal-active, .gift-article-panel-active").forEach((function(t){t.classList.add("tm-hidden")})),void document.querySelectorAll(".gift-article-modal-disabled, .gift-article-panel-disabled").forEach((function(t){t.classList.remove("tm-hidden")}))):void(e.textContent=t.giftsRemaining+" articles")}))}}},{key:"generateGiftLink",value:function(){if(this.firebaseUid){var t=new Date,e=t.getFullYear()+""+(t.getMonth()+1).toString().padStart(2,"0")+t.getDate().toString().padStart(2,"0"),n=btoa(this.postId+";"+this.firebaseUid+";"+e);this.giftLink=window.location.href.split(/[?#]/)[0]+"?utm_source=texasmonthly&utm_medium=email&utm_campaign=giftstory&gift_code="+n,console.debug("tm:giftArticles.generateGiftLink",this.giftLink)}else console.error("tm:giftArticles.generateGiftLink","User id not found")}},{key:"closeModal",value:function(){this.modal.close(),document.body.classList.remove("overflow-hidden"),r()(document).off("
1click",this.handleOutsideClickModal)}},{key:"insertModal",value:function(){if(!this.modal){var t='\n            <dialog id="gift-article-modal">\n                <div id="gift-article-modal__content" class="bg-white dark:bg-dm-999">\n                    <div class="flex justify-end pt-3 pr-[14px] pb-2">\n                        <button id="gift-article-modal-close-button" class="h-[30px] w-[30px] text-center cursor-pointer border-solid dark:border-dm-tan border border-gray-300 rounded-[50%] focus:outline-none">\n                            <svg class="h-5 w-5 m-auto stroke-1 dark:fill-dm-100">\n                                <use xlink:href="#icon-close"></use>\n                            </svg>\n                        </button>\n                    </div>\n                    <div class="gift-article-modal-active grid justify-items-center text-center md:text-left pb-[45px] px-[55px]">\n                        <div class="pb-[15px]">\n                            <svg class="w-7 h-7 dark:fill-dm-100">\n                                <use xlink:href="#icon-gift"></use>\n                            </svg>\n                        </div>\n                        <p class="font-rs-wide text-4xl font-medium leading-7 pb-5 dark:text-dm-100">Gift this article</p>\n                        <p class="pb-5 font-rs-regular text-lg dark:text-dm-100">You have <span class="gift-articles-remaining">'.concat(this.giftArticleMonthlyLimit,' articles</span> left to give this month.</p>\n                        <div class="flex flex-row justify-center font-rs-narrow text-sm font-semibold tracking-wider uppercase gap-[10px]">\n                            <span class="gift-article-modal__copy-link group flex gap-[10px] border rounded-2xl px-4 py-2 cursor-pointer dark:border-dm-500 hover:text-red hover:border-red dark:hover:text-dm-tan dark:text-dm-100 dar
1k:hover:border-dm-tan" data-click-location="Gift Link Dialog" data-click-action="Copy Gift Link" data-click-label="').concat(window.location.href.split("?")[0],'">\n                                <svg class="w-5 h-5 dark:fill-dm-100 group-hover:fill-red dark:group-hover:fill-dm-tan">\n                                    <use xlink:href="#icon-link"></use>\n                                </svg>\n                                <span>Copy Link</span>\n                            </span>\n                            <a class="gift-article-modal__email-link group" href="mailto:?subject=I%20gifted%20you%20an%20article%20from%20Texas%20Monthly&body=Explore%20this%20gift%20article%20from%20Texas%20Monthly.%20You%20can%20read%20it%20for%20free%20for%2014%20days%20without%20a%20subscription.%0A%0A').concat(encodeURIComponent(document.title),"%0A").concat(encodeURIComponent(this.giftLink),'" target="_blank" data-click-location="Gift Link Dialog" data-click-action="Email Gift Link" data-click-label="').concat(window.location.href.split("?")[0],'">\n                                <span class="group flex gap-[10px] border rounded-2xl px-4 py-2 cursor-pointer hover:text-red hover:border-red dark:hover:text-dm-tan dark:hover:border-dm-tan">\n                                    <svg class="w-5 h-5 dark:fill-dm-100 group-hover:fill-red dark:group-hover:fill-dm-tan">\n                                        <use xlink:href="#icon-email"></use>\n                                    </svg>\n                                    <span>Email</span>\n                                </span>                        \n                            </a>\n                        </div>\n                        <p class="font-rs-regular text-sm mt-6 max-w-96 text-center dark:text-dm-100">Share the link with others to allow them to read the story without a subscription. Links expire after 14 days.</p>\n                    </div>\n                    <div class="gift-article-modal-disabled tm-hidden grid justify-items-center text-center md:text-left pb-10 px-11">\n                        <div class="pb-[15px]">\n                            <svg class="w-7 h-7 dark:fill-dm-100">\n                            <use xlink:href="#icon-gift"></use>\n                            </svg>\n                        </div>\n                        <p class="font-rs-wide text-4xl font-medium leading-7 pb-5 dark:text-dm-100">You are out of gift articles</p>\n                        <p class="pb-[10px] font-rs-regular font-medium text-lg dark:text-dm-100">Still want to give the gift of <em>Texas Monthly</em>?</p>\n                        <p class="font-rs-narrow text-sm font-semibold tracking-widest pb-5 uppercase underline underline-offset-2 dark:text-dm-100 dar
1k:hover:decoration-dm-tan"><a href="https://subscription.texasmonthly.com/servlet/OrdersGateway?cds_mag_code=TXP&cds_page_id=261626&utm_source=texasmonthly&utm_medium=gift-articles&utm_campaign=subscriber-only-benefit/">Order Now</a></p>\n                        <p class="font-rs-regular text-sm font-normal dark:text-dm-100">Your gift article limit will reset at the beginning of the month. <a class="underline" href="/about/subscriber-faqs/#gift-articles">Learn more</a>.</p>\n                    </div>\n                </div>\n            </dialog>\n        ');document.body.insertAdjacentHTML("beforeend",t),this.modal=document.querySelector("dialog#gift-article-modal")}}},{key:"showModal",value:function(){var t=this;r()(document).on("click","#gift-article-modal-close-button",(function(e){t.closeModal()})),r()(document).on("click",this.handleOutsideClickModal),this.modal.showModal(),document.body.classList.add("overflow-hidden")}},{key:"hidePanel",value:function(){var t=this;this.panel&&(this.panel.classList.remove("translate-y-0"),this.panel.classList.add("translate-y-full"),this.panel.classList.add("shadow-none"),document.removeEventListener("click",this.handleOutsidePanelClick),document.removeEventListener("touchstart",this.handleOutsidePanelClick),this.disablePanel=!0,setTimeout((function(){t.disablePanel=!1}),300))}},{key:"insertPanel",value:function(){var t=this;if(!this.panel){var e=document.createElement("div");e.id="gift-article-panel",e.classList.add("fixed","bottom-0","left-0","right-0","bg-white","py-[10px]","border-t","border-gray-300","z-[502]","rounded-t-2xl","shadow-[0_-3px_4px_0px_rgba(0,0,0,0.15)]","transform","translate-y-full","transition-transform","duration-300","no-print","dark:bg-dm-990","dark:text-dm-100","dark:border-dm-900"),e.innerHTML='\n            <div class="flex justify-end pr-[15px]">\n                <button id="gift-article-panel-close-button" class="h-[25px] w-[25px] text-center cursor-pointer border-solid border border-gray-300 rounded-[50%] focus:outline-none dark:border-dm-tan">\n                    <svg class="h-4 w-4 m-auto stroke-1 dark:fill-dm-100">\n                        <use xlink:href="#icon-close"></use>\n                    </svg>\n                </button>\n            </div>\n            <div class="gift-article-panel-active grid justify-items-center text-center md:text-left pb-[10px] px-9">\n                <p class="font-rs-wide text-2xl font-medium leading-7 pb-5">Gift this article</p>\n                <p class="pb-5 font-rs-regular text-[15px]">You have <span class="gift-articles-remaining">'.concat(this.giftArticleMonthlyLimit,' articles</span> left to give this month.</p>\n                <div class="flex flex-row justify-center font-rs-narrow text-sm font-semibold tracking-wider uppercase gap-[10px] pb-5">\n                    <span class="gift-article-panel__copy-link flex gap-[10px] border rounded-2xl px-4 py-2 cursor-pointer" data-click-location="Gift Link Dialog" data-click-action="Copy Gift Link" data-click-label="').concat(window.location.href.split("?")[0],'">\n                        <svg class="w-5 h-5 dark:fill-dm-100">\n                            <use xlink:href="#icon-link"></use>\n                        </svg>\n                        <span>Copy Link</span>\n                    </span>\n                    <a class="gift-article-panel__email-link" href="mailto:?subject=I%20gifted%20you%20an%20article%20from%20Texas%20Monthly&body=Explore%20this%20gift%20article%20from%20Texas%20Monthly.%20You%20can%20read%20it%20for%20free%20for%2014%20days%20without%20a%20subscription.%0A%0A').concat(encodeURIComponent(document.title),"%0A").concat(encodeURIComponent(this.giftLink),'" target="_blank" data-click-location="Gift Link Dialog" data-click-action="Email Gift Link" data-click-label="').concat(window.location.href.split("?")[0],'">\n                        <span class="flex gap-[10px] border rounded-2xl px-4 py-2 cursor-pointer hover:text-black hover:border-black ">\n                            <svg class="w-5 h-5 dark:fill-dm-100">\n                                <use xlink:href="#icon-email"></use>\n                            </svg>
1\n                            <span>Email</span>\n                        </span>                        \n                    </a>\n                </div>\n                <p class="font-rs-regular text-sm">Share the link with others to allow them to read the story without a subscription. Links expire after 14 days.</p>\n            </div>\n            <div class="gift-article-panel-disabled tm-hidden grid justify-items-center text-center md:text-left pb-[10px] px-9">\n                <p class="font-rs-wide text-2xl font-medium leading-7 pb-5">You are out of gift articles</p>\n                <p class="pb-[10px] font-rs-regular font-medium text-[15px]">Still want to give the gift of <em>Texas Monthly</em>?</p>\n                <p class="font-rs-narrow text-sm font-semibold tracking-widest pb-5 uppercase underline underline-offset-2"><a href="https://subscription.texasmonthly.com/servlet/OrdersGateway?cds_mag_code=TXP&cds_page_id=261626&utm_source=texasmonthly&utm_medium=gift-articles&utm_campaign=subscriber-only-benefit/">Order Now</a></p>\n                <p class="font-rs-regular text-sm font-medium">Your gift article limit will reset at the beginning of the month. <a class="underline" href="/about/subscriber-faqs/#gift-articles">Learn more</a>.</p>\n            </div>\n        '),document.body.appendChild(e),this.panel=e,r()(document).on("click","#gift-article-panel-close-button",(function(e){t.hidePanel()}))}}},{key:"showPanel",value:function(){var t=this;this.disablePanel||(requestAnimationFrame((function(){t.panel.classList.remove("shadow-none"),t.panel.classList.remove("translate-y-full"),t.panel.classList.add("translate-y-0")})),document.addEventListener("click",this.handleOutsidePanelClick),document.addEventListener("touchstart",this.handleOutsidePanelClick))}}])&&f(t.prototype,e),n&&f(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}()},4062:(t,e,n)=>{function i(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function r(t){return t instanceof i(t).Element||t instanceof Element}function o(t){return t instanceof i(t).HTMLElement||t instanceof HTMLElement}function a(t){return"undefined"!=typeof ShadowRoot&&(t instanceof i(t).ShadowRoot||t instanceof ShadowRoot)}n.d(e,{Ay:()=>me,Mm:()=>pe});var s=Math.max,c=Math.min,l=Math.round;function u(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function d(){return!/^((?!chrome|android).)*safari/i.test(u())}function f(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var a=t.getBoundingClientRect(),s=1,c=1;e&&o(t)&&(s=t.offsetWidth>0&&l(a.width)/t.offsetWidth||1,c=t.offsetHeight>0&&l(a.height)/t.offsetHeight||1);var u=(r(t)?i(t):window).visualViewport,f=!d()&&n,p=(a.left+(f&&u?u.offsetLeft:0))/s,m=(a.top+(f&&u?u.offsetTop:0))/c,h=a.width/s,g=a.height/c;return{width:h,height:g,top:m,right:p+h,bottom:m+g,left:p,x:p,y:m}}function p(t){var e=i(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function m(t){return t?(t.nodeName||"").toLowerCase():null}function h(t){return((r(t)?t.ownerDocument:t.document)||window.document).documentElement}function g(t){return f(h(t)).left+p(t).scrollLeft}function v(t){return i(t).getComputedStyle(t)}function b(t){var e=v(t),n=e.overflow,i=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function y(t,e,n){void 0===n&&(n=!1);var r,a,s=o(e),c=o(e)&&function(t){var e=t.getBoundingClientRect(),n=l(e.width)/t.offsetWidth||1,i=l(e.height)/t.offsetHeight||1;return 1!==n||1!==i}(e),u=h(e),d=f(t,c,n),v={scrollLeft:0,scrollTop:0},y={x:0,y:0};return(s||!s&&!n)&&(("body"!==m(e)||b(u))&&(v=(r=e)!==i(r)&&o(r)?{scrollLeft:(a=r).scrollLeft,scrollTop:a.scrollTop}:p(r)),o(e)?((y=f(e,!0)).x+=e.clientLeft,y.y+=e.clientTop):u&&(y.x=g(u))),{x:d.left+v.scrollLeft-y.x,y:d.top+v.scrollTop-y.y,width:d.width,height:d.height}}function x(t){var e=f(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function w(t){return"html"===m(t)?t:t.assignedSlot||t.parentNode||(a(t)?t.host:null)||h(t)}function k(t){return["html","body","#document"].indexOf(m(t))>=0?t.ownerDocument.body:o(t)&&b(t)?t:k(w(t))}function A(t,e){var n;void 0===e&&(e=[]);var r=k(t),o=r===(null==(n=t.ownerDocument)?void 0:n.body),a=i(r),s=o?[a].concat(a.visualVie
vendor: 4,999 bytes, line 1
1wport||[],b(r)?r:[]):r,c=e.concat(s);return o?c:c.concat(A(w(s)))}function O(t){return["table","td","th"].indexOf(m(t))>=0}function L(t){return o(t)&&"fixed"!==v(t).position?t.offsetParent:null}function E(t){for(var e=i(t),n=L(t);n&&O(n)&&"static"===v(n).position;)n=L(n);return n&&("html"===m(n)||"body"===m(n)&&"static"===v(n).position)?e:n||function(t){var e=/firefox/i.test(u());if(/Trident/i.test(u())&&o(t)&&"fixed"===v(t).position)return null;var n=w(t);for(a(n)&&(n=n.host);o(n)&&["html","body"].indexOf(m(n))<0;){var i=v(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}var T="top",D="bottom",_="right",M="left",j="auto",C=[T,D,_,M],S="start",P="end",R="clippingParents",U="viewport",B="popper",I="reference",H=C.reduce((function(t,e){return t.concat([e+"-"+S,e+"-"+P])}),[]),G=[].concat(C,[j]).reduce((function(t,e){return t.concat([e,e+"-"+S,e+"-"+P])}),[]),V=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function W(t){var e=new Map,n=new Set,i=[];function r(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&r(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||r(t)})),i}var q={placement:"bottom",modifiers:[],strategy:"absolute"};function N(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function Y(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,o=e.defaultOptions,a=void 0===o?q:o;return function(t,e,n){void 0===n&&(n=a);var o,s,c={placement:"bottom",orderedModifiers:[],options:Object.assign({},q,a),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],u=!1,d={state:c,setOptions:function(n){var o="function"==typeof n?n(c.options):n;f(),c.options=Object.assign({},a,c.options,o),c.scrollParents={reference:r(t)?A(t):t.contextElement?A(t.contextElement):[],popper:A(e)};var s,u,p=function(t){var e=W(t);return V.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((s=[].concat(i,c.options.modifiers),u=s.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{}),Object.keys(u).map((function(t){return u[t]}))));return c.orderedModifiers=p.filter((function(t){return t.enabled})),c.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,r=t.effect;if("function"==typeof r){var o=r({state:c,name:e,instance:d,options:i}),a=function(){};l.push(o||a)}})),d.update()},forceUpdate:function(){if(!u){var t=c.elements,e=t.reference,n=t.popper;if(N(e,n)){c.rects={reference:y(e,E(n),"fixed"===c.options.strategy),popper:x(n)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach((function(t){return c.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<c.orderedModifiers.length;i++)if(!0!==c.reset){var r=c.orderedModifiers[i],o=r.fn,a=r.options,s=void 0===a?{}:a,l=r.name;"function"==typeof o&&(c=o({state:c,options:s,name:l,instance:d})||c)}else c.reset=!1,i=-1}}},update:(o=function(){return new Promise((function(t){d.forceUpdate(),t(c)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(o())}))}))),s}),destroy:function(){f(),u=!0}};if(!N(t,e))return d;function f(){l.forEach((function(t){return t()})),l=[]}return d.setOptions(n).then((function(t){!u&&n.onFirstUpdate&&n.onFirstUpdate(t)})),d}}var F={passive:!0};function z(t){return t.split("-")[0]}function X(t){return t.split("-")[1]}function $(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Z(t){var e,n=t.reference,i=t.element,r=t.placement,o=r?z(r):null,a=r?X(r):null,s=n.x+n.width/2-i.width/2,c=n.y+n.height/2-i.height/2;switch(o){case T:e={x:s,y:n.y-i.height};break;case D:e={x:s,y:n.y+n.height};break;case _:e={x:n.x+n.width,y:c};break;case M:e={x:n.x-i.width,y:c};break;default:e={x:n.x,y:n.y}}var l=o?$(o):null;if(null!=l){var u="y"===l?"height":"width";switch(a){case S:e[l]=e[l]-(n[u]/2-i[u]/2);break;case P:e[l]=e[l]+(n[u]/2-i[u]/2)}}return e}var J={top:"auto",right:"auto",bottom:"auto",left:"auto"};function K(t){var e,n=t.popper,r=t.popperRect,o=t.placement,a=t.variation,s=t.offsets,c=t.position,u=t.gpuAcceleration,d=t.adaptive,f=t.roundOffsets,p=t.isFixed,m=s.x,g=void 0===m?0:m,b=s.y,y=void 0===b?0:b,x="function"==typeof f?f({x:g,y}):{x:g,y};g=x.x,y=x.y;var w=s.hasOwnProperty("x"),k=s.hasOwnProperty("y"),A=M,O=T,L=window;if(d){var j=E(n),C="clientHeight",S="clientWidth";if(j===i(n)&&"static"!==v(j=h(n)).position&&"absolute"===c&&(C="scrollHeight",S="scrollWidth"),o===T||(o===M||o===_)&&a===P)O=D,y-=(p&&j===L&&L.visualVie
vendor: 9,263 bytes, line 1
1wport?L.visualViewport.height:j[C])-r.height,y*=u?1:-1;if(o===M||(o===T||o===D)&&a===P)A=_,g-=(p&&j===L&&L.visualViewport?L.visualViewport.width:j[S])-r.width,g*=u?1:-1}var R,U=Object.assign({position:c},d&&J),B=!0===f?function(t,e){var n=t.x,i=t.y,r=e.devicePixelRatio||1;return{x:l(n*r)/r||0,y:l(i*r)/r||0}}({x:g,y},i(n)):{x:g,y};return g=B.x,y=B.y,u?Object.assign({},U,((R={})[O]=k?"0":"",R[A]=w?"0":"",R.transform=(L.devicePixelRatio||1)<=1?"translate("+g+"px, "+y+"px)":"translate3d("+g+"px, "+y+"px, 0)",R)):Object.assign({},U,((e={})[O]=k?y+"px":"",e[A]=w?g+"px":"",e.transform="",e))}const Q={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},r=e.elements[t];o(r)&&m(r)&&(Object.assign(r.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?r.removeAttribute(t):r.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],r=e.attributes[t]||{},a=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});o(i)&&m(i)&&(Object.assign(i.style,a),Object.keys(r).forEach((function(t){i.removeAttribute(t)})))}))}},requires:["computeStyles"]};const tt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.offset,o=void 0===r?[0,0]:r,a=G.reduce((function(t,n){return t[n]=function(t,e,n){var i=z(t),r=[M,T].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},e,{placement:t})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*r,[M,_].indexOf(i)>=0?{x:s,y:a}:{x:a,y:s}}(n,e.rects,o),t}),{}),s=a[e.placement],c=s.x,l=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=l),e.modifiersData[i]=a}};var et={left:"right",right:"left",bottom:"top",top:"bottom"};function nt(t){return t.replace(/left|right|bottom|top/g,(function(t){return et[t]}))}var it={start:"end",end:"start"};function rt(t){return t.replace(/start|end/g,(function(t){return it[t]}))}function ot(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&a(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function at(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function st(t,e,n){return e===U?at(function(t,e){var n=i(t),r=h(t),o=n.visualViewport,a=r.clientWidth,s=r.clientHeight,c=0,l=0;if(o){a=o.width,s=o.height;var u=d();(u||!u&&"fixed"===e)&&(c=o.offsetLeft,l=o.offsetTop)}return{width:a,height:s,x:c+g(t),y:l}}(t,n)):r(e)?function(t,e){var n=f(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):at(function(t){var e,n=h(t),i=p(t),r=null==(e=t.ownerDocument)?void 0:e.body,o=s(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=s(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),c=-i.scrollLeft+g(t),l=-i.scrollTop;return"rtl"===v(r||n).direction&&(c+=s(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:a,x:c,y:l}}(h(t)))}function ct(t,e,n,i){var a="clippingParents"===e?function(t){var e=A(w(t)),n=["absolute","fixed"].indexOf(v(t).position)>=0&&o(t)?E(t):t;return r(n)?e.filter((function(t){return r(t)&&ot(t,n)&&"body"!==m(t)})):[]}(t):[].concat(e),l=[].concat(a,[n]),u=l[0],d=l.reduce((function(e,n){var r=st(t,n,i);return e.top=s(r.top,e.top),e.right=c(r.right,e.right),e.bottom=c(r.bottom,e.bottom),e.left=s(r.left,e.left),e}),st(t,u,i));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function lt(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function ut(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function dt(t,e){void 0===e&&(e={});var n=e,i=n.placement,o=void 0===i?t.placement:i,a=n.strategy,s=void 0===a?t.strategy:a,c=n.boundary,l=void 0===c?R:c,u=n.rootBoundary,d=void 0===u?U:u,p=n.elementContext,m=void 0===p?B:p,g=n.altBoundary,v=void 0!==g&&g,b=n.padding,y=void 0===b?0:b,x=lt("number"!=typeof y?y:ut(y,C)),w=m===B?I:B,k=t.rects.popper,A=t.elements[v?w:m],O=ct(r(A)?A:A.contextElement||h(t.elements.popper),l,d,s),L=f(t.elements.reference),E=Z({reference:L,element:k,strategy:"absolute",placement:o}),M=at(Object.assign({},k,E)),j=m===B?M:L,S={top:O.top-j.top+x.top,bottom:j.bottom-O.bottom+x.bottom,left:O.left-j.left+x.left,right:j.right-O.right+x.right},P=t.modifiersData.offset;if(m===B&&P){var H=P[o];Object.keys(S).forEach((function(t){var e=[_,D].indexOf(t)>=0?1:-1,n=[T,D].indexOf(t)>=0?"y":"x";S[t]+=H[n]*e}))}return S}function ft(t,e,n){return s(t,c(e,n))}const pt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.mainAxis,o=void 0===r||r,a=n.altAxis,l=void 0!==a&&a,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.padding,m=n.tether,h=void 0===m||m,g=n.tetherOffset,v=void 0===g?0:g,b=dt(e,{boundary:u,rootBoundary:d,padding:p,altBoundary:f}),y=z(e.placement),w=X(e.placement),k=!w,A=$(y),O="x"===A?"y":"x",L=e.modifiersData.popperOffsets,j=e.rects.reference,C=e.rects.popper,P="function"==typeof v?v(Object.assign({},e.rects,{placement:e.placement})):v,R="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),U=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,B={x:0,y:0};if(L){if(o){var I,H="y"===A?T:M,G="y"===A?D:_,V="y"===A?"height":"width",W=L[A],q=W+b[H],N=W-b[G],Y=h?-C[V]/2:0,F=w===S?j[V]:C[V],Z=w===S?-C[V]:-j[V],J=e.elements.arrow,K=h&&J?x(J):{width:0,height:0},Q=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},tt=Q[H],et=Q[G],nt=ft(0,j[V],K[V]),it=k?j[V]/2-Y-nt-tt-R.mainAxis:F-nt-tt-R.mainAxis,rt=k?-j[V]/2+Y+nt+et+R.mainAxis:Z+nt+et+R.mainAxis,ot=e.elements.arrow&&E(e.elements.arrow),at=ot?"y"===A?ot.clientTop||0:ot.clientLeft||0:0,st=null!=(I=null==U?void 0:U[A])?I:0,ct=W+rt-st,lt=ft(h?c(q,W+it-st-at):q,W,h?s(N,ct):N);L[A]=lt,B[A]=lt-W}if(l){var ut,pt="x"===A?T:M,mt="x"===A?D:_,ht=L[O],gt="y"===O?"height":"width",vt=ht+b[pt],bt=ht-b[mt],yt=-1!==[T,M].indexOf(y),xt=null!=(ut=null==U?void 0:U[O])?ut:0,wt=yt?vt:ht-j[gt]-C[gt]-xt+R.altAxis,kt=yt?ht+j[gt]+C[gt]-xt-R.altAxis:bt,At=h&&yt?function(t,e,n){var i=ft(t,e,n);return i>n?n:i}(wt,ht,kt):ft(h?wt:vt,ht,h?kt:bt);L[O]=At,B[O]=At-ht}e.modifiersData[i]=B}},requiresIfExists:["offset"]};const mt={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,r=t.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=z(n.placement),c=$(s),l=[M,_].indexOf(s)>=0?"height":"width";if(o&&a){var u=function(t,e){return lt("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:ut(t,C))}(r.padding,n),d=x(o),f="y"===c?T:M,p="y"===c?D:_,m=n.rects.reference[l]+n.rects.reference[c]-a[c]-n.rects.popper[l],h=a[c]-n.rects.reference[c],g=E(o),v=g?"y"===c?g.clientHeight||0:g.clientWidth||0:0,b=m/2-h/2,y=u[f],w=v-d[l]-u[p],k=v/2-d[l]/2+b,A=ft(y,k,w),O=c;n.modifiersData[i]=((e={})[O]=A,e.centerOffset=A-k,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&ot(e.elements.popper,i)&&(e.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ht(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function gt(t){return[T,_,D,M].some((function(e){return t[e]>=0}))}var vt=Y({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,r=t.options,o=r.scroll,a=void 0===o||o,s=r.resize,c=void 0===s||s,l=i(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return a&&u.forEach((function(t){t.addEventListener("scroll",n.update,F)})),c&&l.addEventListener("resize",n.update,F),function(){a&&u.forEach((function(t){t.removeEventListener("scroll",n.update,F)})),c&&l.removeEventListener("resize",n.update,F)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=Z({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,c=void 0===s||s,l={placement:z(e.placement),variation:X(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,K(Object.assign({},l,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roun
1dOffsets:c})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,K(Object.assign({},l,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},Q,tt,{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var r=n.mainAxis,o=void 0===r||r,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,l=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,m=void 0===p||p,h=n.allowedAutoPlacements,g=e.options.placement,v=z(g),b=c||(v===g||!m?[nt(g)]:function(t){if(z(t)===j)return[];var e=nt(t);return[rt(t),e,rt(e)]}(g)),y=[g].concat(b).reduce((function(t,n){return t.concat(z(n)===j?function(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,l=void 0===c?G:c,u=X(i),d=u?s?H:H.filter((function(t){return X(t)===u})):C,f=d.filter((function(t){return l.indexOf(t)>=0}));0===f.length&&(f=d);var p=f.reduce((function(e,n){return e[n]=dt(t,{placement:n,boundary:r,rootBoundary:o,padding:a})[z(n)],e}),{});return Object.keys(p).sort((function(t,e){return p[t]-p[e]}))}(e,{placement:n,boundary:u,rootBoundary:d,padding:l,flipVariations:m,allowedAutoPlacements:h}):n)}),[]),x=e.rects.reference,w=e.rects.popper,k=new Map,A=!0,O=y[0],L=0;L<y.length;L++){var E=y[L],P=z(E),R=X(E)===S,U=[T,D].indexOf(P)>=0,B=U?"width":"height",I=dt(e,{placement:E,boundary:u,rootBoundary:d,altBoundary:f,padding:l}),V=U?R?_:M:R?D:T;x[B]>w[B]&&(V=nt(V));var W=nt(V),q=[];if(o&&q.push(I[P]<=0),s&&q.push(I[V]<=0,I[W]<=0),q.every((function(t){return t}))){O=E,A=!1;break}k.set(E,q)}if(A)for(var N=function(t){var e=y.find((function(e){var n=k.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return O=e,"break"},Y=m?3:1;Y>0;Y--){if("break"===N(Y))break}e.placement!==O&&(e.modifiersData[i]._skip=!0,e.placement=O,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},pt,mt,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,i=e.rects.reference,r=e.rects.popper,o=e.modifiersData.preventOverflow,a=dt(e,{elementContext:"reference"}),s=dt(e,{altBoundary:!0}),c=ht(a,i),l=ht(s,r,o),u=gt(c),d=gt(l);e.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),bt="tippy-content",yt="tippy-backdrop",xt="tippy-arrow",wt="tippy-svg-arrow",kt={passive:!0,capture:!0},At=function(){return document.body};function Ot(t,e,n){if(Array.isArray(t)){var i=t[e];return null==i?Array.isArray(n)?n[e]:n:i}return t}function Lt(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function Et(t,e){return"function"==typeof t?t.apply(void 0,e):t}function Tt(t,e){return 0===e?t:function(i){clearTimeout(n),n=setTimeout((function(){t(i)}),e)};var n}function Dt(t,e){var n=Object.assign({},t);return e.forEach((function(t){delete n[t]})),n}function _t(t){return[].concat(t)}function Mt(t,e){-1===t.indexOf(e)&&t.push(e)}function jt(t){return t.split("-")[0]}function Ct(t){return[].slice.call(t)}function St(t){return Object.keys(t).reduce((function(e,n){return void 0!==t[n]&&(e[n]=t[n]),e}),{})}function Pt(){return document.createElement("div")}function Rt(t){return["Element","Fragment"].some((function(e){return Lt(t,e)}))}function Ut(t){return Lt(t,"MouseEvent")}function Bt(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function It(t){return Rt(t)?[t]:function(t){return Lt(t,"NodeList")}(t)?Ct(t):Array.isArray(t)?t:Ct(document.querySelectorAll(t))}function Ht(t,e){t.forEach((function(t){t&&(t.style.transitionDuration=e+"ms")}))}function Gt(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function Vt(t){var e,n=_t(t)[0];return null!=n&&null!=(e=n.ownerDocument)&&e.body?n.ownerDocument:document}function Wt(t,e,n){var i=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[i](e,n)}))}function qt(t,e){for(var n=e;n;){var i;if(t.contains(n))return!0;n=null==n.getRootNode||null==(i=n.getRootNode())?void 0:i.host}return!1}var Nt={isTouch:!1},Yt=0;function Ft(){Nt.isTouch||(Nt.isTouch=!0,window.performance&&document.addEventListener("mousemove",zt))}function zt(){var t=performance.now();t-Yt<20&&(Nt.isTouch=!1,document.removeEventListener("mousemove",zt)),Yt=t}function Xt(){var t=document.activeElement;if(Bt(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}var $t=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;var Zt={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Jt=Object.assign({appendTo:At,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Zt,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Kt=Object.keys(Jt);function Qt(t){var e=(t.plugins||[]).reduce((function(e,n){var i,r=n.name,o=n.defaultValue;r&&(e[r]=void 0!==t[r]?t[r]:null!=(i=Jt[r])?i:o);return e}),{});return Object.assign({},t,e)}function te(t,e){var n=Object.assign({},e,{content:Et(e.content,[t])},e.ignoreAttributes?{}:function(t,e){return(e?Object.keys(Qt(Object.assign({},Jt,{plugins:e}))):Kt).reduce((function(e,n){var i=(t.getAttribute("data-tippy-"+n)||"").trim();if(!i)return e;if("content"===n)e[n]=i;else try{e[n]=JSON.parse(i)}catch(t){e[n]=i}return e}),{})}(t,e.plugins));return n.aria=Object.assign({},Jt.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?e.interactive:n.aria.expanded,content:"auto"===n.aria.content?e.
vendor: 12,816 bytes, line 1
1interactive?null:"describedby":n.aria.content},n}var ee=function(){return"innerHTML"};function ne(t,e){t[ee()]=e}function ie(t){var e=Pt();return!0===t?e.className=xt:(e.className=wt,Rt(t)?e.appendChild(t):ne(e,t)),e}function re(t,e){Rt(e.content)?(ne(t,""),t.appendChild(e.content)):"function"!=typeof e.content&&(e.allowHTML?ne(t,e.content):t.textContent=e.content)}function oe(t){var e=t.firstElementChild,n=Ct(e.children);return{box:e,content:n.find((function(t){return t.classList.contains(bt)})),arrow:n.find((function(t){return t.classList.contains(xt)||t.classList.contains(wt)})),backdrop:n.find((function(t){return t.classList.contains(yt)}))}}function ae(t){var e=Pt(),n=Pt();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=Pt();function r(n,i){var r=oe(e),o=r.box,a=r.content,s=r.arrow;i.theme?o.setAttribute("data-theme",i.theme):o.removeAttribute("data-theme"),"string"==typeof i.animation?o.setAttribute("data-animation",i.animation):o.removeAttribute("data-animation"),i.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof i.maxWidth?i.maxWidth+"px":i.maxWidth,i.role?o.setAttribute("role",i.role):o.removeAttribute("role"),n.content===i.content&&n.allowHTML===i.allowHTML||re(a,t.props),i.arrow?s?n.arrow!==i.arrow&&(o.removeChild(s),o.appendChild(ie(i.arrow))):o.appendChild(ie(i.arrow)):s&&o.removeChild(s)}return i.className=bt,i.setAttribute("data-state","hidden"),re(i,t.props),e.appendChild(n),n.appendChild(i),r(t.props,t.props),{popper:e,onUpdate:r}}ae.$$tippy=!0;var se=1,ce=[],le=[];function ue(t,e){var n,i,r,o,a,s,c,l,u=te(t,Object.assign({},Jt,Qt(St(e)))),d=!1,f=!1,p=!1,m=!1,h=[],g=Tt(z,u.interactiveDebounce),v=se++,b=(l=u.plugins).filter((function(t,e){return l.indexOf(t)===e})),y={id:v,reference:t,popper:Pt(),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:b,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(i),cancelAnimationFrame(r)},setProps:function(e){0;if(y.state.isDestroyed)return;S("onBeforeUpdate",[y,e]),Y();var n=y.props,i=te(t,Object.assign({},n,St(e),{ignoreAttributes:!0}));y.props=i,N(),n.interactiveDebounce!==i.interactiveDebounce&&(U(),g=Tt(z,i.interactiveDebounce));n.triggerTarget&&!i.triggerTarget?_t(n.triggerTarget).forEach((function(t){t.removeAttribute("aria-expanded")})):i.triggerTarget&&t.removeAttribute("aria-expanded");R(),C(),k&&k(n,i);y.popperInstance&&(J(),Q().forEach((function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)})));S("onAfterUpdate",[y,e])},setContent:function(t){y.setProps({content:t})},show:function(){0;var t=y.state.isVisible,e=y.state.isDestroyed,n=!y.state.isEnabled,i=Nt.isTouch&&!y.props.touch,r=Ot(y.props.duration,0,Jt.duration);if(t||e||n||i)return;if(D().hasAttribute("disabled"))return;if(S("onShow",[y],!1),!1===y.props.onShow(y))return;y.state.isVisible=!0,T()&&(w.style.visibility="visible");C(),G(),y.state.isMounted||(w.style.transition="none");if(T()){var o=M();Ht([o.box,o.content],0)}s=function(){var t;if(y.state.isVisible&&!m){if(m=!0,w.offsetHeight,w.style.transition=y.props.moveTransition,T()&&y.props.animation){var e=M(),n=e.box,i=e.content;Ht([n,i],r),Gt([n,i],"visible")}P(),R(),Mt(le,y),null==(t=y.popperInstance)||t.forceUpdate(),S("onMount",[y]),y.props.animation&&T()&&function(t,e){W(t,e)}(r,(function(){y.state.isShown=!0,S("onShown",[y])}))}},function(){var t,e=y.props.appendTo,n=D();t=y.props.interactive&&e===At||"parent"===e?n.parentNode:Et(e,[n]);t.contains(w)||t.appendChild(w);y.state.isMounted=!0,J(),!1}()},hide:function(){0;var t=!y.state.isVisible,e=y.state.isDestroyed,n=!y.state.isEnabled,i=Ot(y.props.duration,1,Jt.duration);if(t||e||n)return;if(S("onHide",[y],!1),!1===y.props.onHide(y))return;y.state.isVisible=!1,y.state.isShown=!1,m=!1,d=!1,T()&&(w.style.visibility="hidden");if(U(),V(),C(!0),T()){var r=M(),o=r.box,a=r.content;y.props.animation&&(Ht([o,a],i),Gt([o,a],"hidden"))}P(),R(),y.props.animation?T()&&function(t,e){W(t,(function(){!y.state.isVisible&&w.parentNode&&w.parentNode.contains(w)&&e()}))}(i,y.unmount):y.unmount()},hideWithInteractivity:function(t){0;_().addEventListener("mousemove",g),Mt(ce,g),g(t)},enable:function(){y.state.isEnabled=!0},disable:function(){y.hide(),y.state.isEnabled=!1},unmount:function(){0;y.state.isVisible&&y.hide();if(!y.state.isMounted)return;K(),Q().forEach((function(t){t._tippy.unmount()})),w.parentNode&&w.parentNode.removeChild(w);le=le.filter((function(t){return t!==y})),y.state.isMounted=!1,S("onHidden",[y])},destroy:function(){0;if(y.state.isDestroyed)return;y.clearDelayTimeouts(),y.unmount(),Y(),delete t._tippy,y.state.isDestroyed=!0,S("onDestroy",[y])}};if(!u.render)return y;var x=u.render(y),w=x.popper,k=x.onUpdate;w.setAttribute("data-tippy-root",""),w.id="tippy-"+y.id,y.popper=w,t._tippy=y,w._tippy=y;var A=b.map((function(t){return t.fn(y)})),O=t.hasAttribute("aria-expanded");return N(),R(),C(),S("onCreate",[y]),u.showOnCreate&&tt(),w.addEventListener("mouseenter",(function(){y.props.interactive&&y.state.isVisible&&y.clearDelayTimeouts()})),w.addEventListener("mouseleave",(function(){y.props.interactive&&y.props.trigger.indexOf("mouseenter")>=0&&_().addEventListener("mousemove",g)})),y;function L(){var t=y.props.touch;return Array.isArray(t)?t:[t,0]}function E(){return"hold"===L()[0]}function T(){var t;return!(null==(t=y.props.render)||!t.$$tippy)}function D(){return c||t}function _(){var t=D().parentNode;return t?Vt(t):document}function M(){return oe(w)}function j(t){return y.state.isMounted&&!y.state.isVisible||Nt.isTouch||o&&"focus"===o.type?0:Ot(y.props.delay,t?0:1,Jt.delay)}function C(t){void 0===t&&(t=!1),w.style.pointerEvents=y.props.interactive&&!t?"":"none",w.style.zIndex=""+y.props.zIndex}function S(t,e,n){var i;(void 0===n&&(n=!0),A.forEach((function(n){n[t]&&n[t].apply(n,e)})),n)&&(i=y.props)[t].apply(i,e)}function P(){var e=y.props.aria;if(e.content){var n="aria-"+e.content,i=w.id;_t(y.props.triggerTarget||t).forEach((function(t){var e=t.getAttribute(n);if(y.state.isVisible)t.setAttribute(n,e?e+" "+i:i);else{var r=e&&e.replace(i,"").trim();r?t.setAttribute(n,r):t.removeAttribute(n)}}))}}function R(){!O&&y.props.aria.expanded&&_t(y.props.triggerTarget||t).forEach((function(t){y.props.interactive?t.setAttribute("aria-expanded",y.state.isVisible&&t===D()?"true":"false"):t.removeAttribute("aria-expanded")}))}function U(){_().removeEventListener("mousemove",g),ce=ce.filter((function(t){return t!==g}))}function B(e){if(!Nt.isTouch||!p&&"mousedown"!==e.type){var n=e.composedPath&&e.composedPath()[0]||e.target;if(!y.props.interactive||!qt(w,n)){if(_t(y.props.triggerTarget||t).some((function(t){return qt(t,n)}))){if(Nt.isTouch)return;if(y.state.isVisible&&y.props.trigger.indexOf("click")>=0)return}else S("onClickOutside",[y,e]);!0===y.props.hideOnClick&&(y.clearDelayTimeouts(),y.hide(),f=!0,setTimeout((function(){f=!1})),y.state.isMounted||V())}}}function I(){p=!0}function H(){p=!1}function G(){var t=_();t.addEventListener("mousedown",B,!0),t.addEventListener("touchend",B,kt),t.addEventListener("touchstart",H,kt),t.addEventListener("touchmove",I,kt)}function V(){var t=_();t.removeEventListener("mousedown",B,!0),t.removeEventListener("touchend",B,kt),t.removeEventListener("touchstart",H,kt),t.removeEventListener("touchmove",I,kt)}function W(t,e){var n=M().box;function i(t){t.target===n&&(Wt(n,"remove",i),e())}if(0===t)return e();Wt(n,"remove",a),Wt(n,"add",i),a=i}function q(e,n,i){void 0===i&&(i=!1),_t(y.props.triggerTarget||t).forEach((function(t){t.addEventListener(e,n,i),h.push({node:t,eventType:e,handler:n,options:i})}))}function N(){var t;E()&&(q("touchstart",F,{passive:!0}),q("touchend",X,{passive:!0})),(t=y.props.trigger,t.split(/\s+/).filter(Boolean)).forEach((function(t){if("manual"!==t)switch(q(t,F),t){case"mouseenter":q("mouseleave",X);break;case"focus":q($t?"focusout":"blur",$);break;case"focusin":q("focusout",$)}}))}function Y(){h.forEach((function(t){var e=t.node,n=t.eventType,i=t.handler,r=t.options;e.removeEventListener(n,i,r)})),h=[]}function F(t){var e,n=!1;if(y.state.isEnabled&&!Z(t)&&!f){var i="focus"===(null==(e=o)?void 0:e.type);o=t,c=t.currentTarget,R(),!y.state.isVisible&&Ut(t)&&ce.forEach((function(e){return e(t)})),"click"===t.type&&(y.props.trigger.indexOf("mouseenter")<0||d)&&!1!==y.props.hideOnClick&&y.state.isVisible?n=!0:tt(t),"click"===t.type&&(d=!n),n&&!i&&et(t)}}function z(t){var e=t.target,n=D().contains(e)||w.contains(e);if("mousemove"!==t.type||!n){var i=Q().concat(w).map((function(t){var e,n=null==(e=t._tippy.popperInstance)?void 0:e.state;return n?{popperRect:t.getBoundingClientRect(),popperState:n,props:u}:null})).filter(Boolean);(function(t,e){var n=e.clientX,i=e.clientY;return t.every((function(t){var e=t.popperRect,r=t.popperState,o=t.props.interactiveBorder,a=jt(r.placement),s=r.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,l="top"===a?s.bottom.y:0,u="right"===a?s.left.x:0,d="left"===a?s.right.x:0,f=e.top-i+c>o,p=i-e.bottom-l>o,m=e.left-n+u>o,h=n-e.right-d>o;return f||p||m||h}))})(i,t)&&(U(),et(t))}}function X(t){Z(t)||y.props.trigger.indexOf("click")>=0&&d||(y.props.interactive?y.hideWithInteractivity(t):et(t))}function $(t){y.props.trigger.indexOf("focusin")<0&&t.target!==D()||y.props.interactive&&t.relatedTarget&&w.contains(t.relatedTarget)||et(t)}function Z(t){return!!Nt.isTouch&&E()!==t.type.indexOf("touch")>=0}function J(){K();var e=y.props,n=e.popperOptions,i=e.placement,r=e.offset,o=e.getReferenceClientRect,a=e.moveTransition,c=T()?oe(w).arrow:null,l=o?{getBoundingClientRect:o,contextElement:o.contextElement||D()}:t,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e=t.state;if(T()){var n=M().box;["placement","reference-hidden","escaped"].forEach((function(t){"placement"===t?n.setAttribute("data-placement",e.placement):e.attributes.popper["data-popper-"+t]?n.setAttribute("data-"+t,""):n.removeAttribute("data-"+t)})),e.attributes.popper={}}}},d=[{name:"offset",options:{offset:r}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},u];T()&&c&&d.push({name:"arrow",options:{element:c,padding:3}}),d.push.apply(d,(null==n?void 0:n.modifiers)||[]),y.popperInstance=vt(l,w,Object.assign({},n,{placement:i,onFirstUpdate:s,modifiers:d}))}function K(){y.popperInstance&&(y.popperInstance.destroy(),y.popperInstance=null)}function Q(){return Ct(w.querySelectorAll("[data-tippy-root]"))}function tt(t){y.clearDelayTimeouts(),t&&S("onTrigger",[y,t]),G();var e=j(!0),i=L(),r=i[0],o=i[1];Nt.isTouch&&"hold"===r&&o&&(e=o),e?n=setTimeout((function(){y.show()}),e):y.show()}function et(t){if(y.clearDelayTimeouts(),S("onUntrigger",[y,t]),y.state.isVisible){if(!(y.props.trigger.indexOf("mouseenter")>=0&&y.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(t.type)>=0&&d)){var e=j(!1);e?i=setTimeout((function(){y.state.isVisible&&y.hide()}),e):r=requestAnimationFrame((function(){y.hide()}))}}else V()}}function de(t,e){void 0===e&&(e={});var n=Jt.plugins.concat(e.plugins||[]);document.addEventListener("touchstart",Ft,kt),window.addEventListener("blur",Xt);var i=Object.assign({},e,{plugins:n}),r=It(t).reduce((function(t,e){var n=e&&ue(e,i);return n&&t.push(n),t}),[]);return Rt(t)?r[0]:r}de.defaultProps=Jt,de.setDefaultProps=function(t){Object.keys(t).forEach((function(e){Jt[e]=t[e]}))},de.currentInput=Nt;Object.assign({},Q,{effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow)}});var fe={mouseover:"mouseenter",focusin:"focus",click:"click"};function pe(t,e){var n=[],i=[],r=!1,o=e.target,a=Dt(e,["target"]),s=Object.assign({},a,{trigger:"manual",touch:!1}),c=Object.assign({touch:Jt.touch},a,{showOnCreate:!0}),l=de(t,s);function u(t){if(t.target&&!r){var n=t.target.closest(o);if(n){var a=n.getAttribute("data-tippy-trigger")||e.trigger||Jt.trigger;if(!n._tippy&&!("touchstart"===t.type&&"boolean"==typeof c.touch||"touchstart"!==t.type&&a.indexOf(fe[t.type])<0)){var s=de(n,c);s&&(i=i.concat(s))}}}}function d(t,e,i,r){void 0===r&&(r=!1),t.addEventListener(e,i,r),n.push({node:t,eventType:e,handler:i,options:r})}return _t(l).forEach((function(t){var e=t.destroy,o=t.enable,a=t.disable;t.destroy=function(t){void 0===t&&(t=!0),t&&i.forEach((function(t){t.destroy()})),i=[],n.forEach((function(t){var e=t.node,n=t.eventType,i=t.handler,r=t.options;e.removeEventListener(n,i,r)})),n=[],e()},t.enable=function(){o(),i.forEach((function(t){return t.enable()})),r=!1}
1,t.disable=function(){a(),i.forEach((function(t){return t.disable()})),r=!0},function(t){var e=t.reference;d(e,"touchstart",u,kt),d(e,"mouseover",u),d(e,"focusin",u),d(e,"click",u)}(t)})),l}de.setDefaultProps({render:ae});const me=de}}]);
2//# sourceMappingURL=1389.e487f1c55494dce4.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.