PageSourceSearch

https://www.amnesty.org/es/wp-content/themes/humanity-theme/assets/scripts/bundle.js?ver=3.0.7

js amnesty.org collected 2026-09-24 06:03:35 UTC 77,544 bytes, 27 lines download raw bytes

1(()=>{(()=>{var Ot={9786(D,L,_){var S,b;(function(P,p){"use strict";S=p,b=typeof S=="function"?S.call(L,_,L,D):S,b!==void 0&&(D.exports=b)})(window,function(){"use strict";var p=(function(){var g=window.Element.prototype;if(g.matches)return"matches";if(g.matchesSelector)return"matchesSelector";for(var f=["webkit","moz","ms","o"],o=0;o<f.length;o++){var a=f[o],h=a+"MatchesSelector";if(g[h])return h}})();return function(f,o){return f[p](o)}})},9748(D,L,_){"use strict";_.r(L),_.d(L,{default:()=>ii});var S=_(5127);function b(e={}){function s(c,...v){if(Array.isArray(c))return c.map(E=>{let w=v,I=E;return Array.isArray(I)&&([I,...w]=I),s(I,...w)}),{using:s};if(e[c])e[c](...v);else throw new Error(`The module \`${c}\` does not exist, or is not exposed for using.`);return this}return s}const P=b,p=(e,s="toggle")=>{const c=e.dataset[s];let v;return c.indexOf("^")===0?(v=e.parentElement,c==="^parent"?v:c==="self"?e:v.querySelector(c.replace(/^\^/,""))):document.querySelector(c)},g=e=>{e.classList.toggle("is-open");const s=e.classList.contains("is-open");e.getAttribute("tabindex")!==null&&e.setAttribute("tabindex",s?"0":"-1"),e.getAttribute("aria-hidden")!==null&&e.setAttribute("aria-hidden",s?"false":"true"),e.getAttribute("aria-expanded")!==null&&e.setAttribute("aria-expanded",s?"true":"false"),e.style.visibility!==""&&(e.style.visibility=s?"visible":"hidden");const c=Array.from(e.querySelectorAll("[tabindex]"));if(s?c.forEach(v=>v.setAttribute("tabindex","0")):c.forEach(v=>v.setAttribute("tabindex","-1")),e.dataset.autofocus){const v=e.querySelector(e.dataset.autofocus);v&&setTimeout(()=>v.focus({preventScroll:!0}),0)}},f=(e="")=>e.indexOf("-open")!==-1||e.indexOf("-active")!==-1,o={findTarget:p,hasOpenOrActiveItems:f,toggleElementVisibility:g},a=document.documentElement,h=a.className,t=window.innerWidth-a.offsetWidth;let i=0,u;const y=()=>{f(a.className)?document.body.style.paddingRight=`${t}px`:document.body.style.paddingRight=""},T=e=>{const{state:s,self:c}=e.target.dataset,v=p(e.target);v&&(e.preventDefault(),c&&e.target.classList.toggle(c),g(v),s&&a.classList.toggle(s))},A=e=>{const{target:s}=e,{dataset:c}=s;!c.toggle&&!s.classList.contains("overlay")||(c.toggle&&(a.className===h&&(i=a.scrollTop),T(e),a.className===h&&(a.scrollTop=i)),s.classList.contains("overlay")&&(a.setAttribute("class",h),u.forEach(v=>{const E=p(v);!E||!E.classList.contains("is-open")||g(E)})),y())},k=e=>{const{code:s}=e;["Esc","Escape"].indexOf(s)!==-1&&(a.setAttribute("class",h),y())},l=()=>{u=Array.from(a.querySelectorAll("[data-toggle]")),a.addEventListener("click",A),a.addEventListener("keydown",k)};/*! js-cookie v3.0.5 | MIT */function m(e){for(var s=1;s<arguments.length;s++){var c=arguments[s];for(var v in c)e[v]=c[v]}return e}var n={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function d(e,s){function c(E,w,I){if(typeof document!="undefined"){I=m({},s,I),typeof I.expires=="number"&&(I.expires=new Date(Date.now()+I.expires*864e5)),I.expires&&(I.expires=I.expires.toUTCString()),E=encodeURIComponent(E).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var R="";for(var F in I)I[F]&&(R+="; "+F,I[F]!==!0&&(R+="="+I[F].split(";")[0]));return document.cookie=E+"="+e.write(w,E)+R}}function v(E){if(!(typeof document=="undefined"||arguments.length&&!E)){for(var w=document.cookie?document.cookie.split("; "):[],I={},R=0;R<w.length;R++){var F=w[R].split("="),K=F.slice(1).join("=");try{var B=decodeURIComponent(F[0]);if(I[B]=e.read(K,B),E===B)break}catch(V){}}return E?I[E]:I}}return Object.create({set:c,get:v,remove:function(E,w){c(E,"",m({},w,{expires:-1}))},withAttributes:function(E){return d(this.converter,m({},this.attributes,E))},withConverter:function(E){return d(m({},this.converter,E),this.attributes)}},{attributes:{value:Object.freeze(s)},converter:{value:Object.freeze(e)}})}var C=d(n,{path:"/"});const{delay:x}=lodash;let M;const O=e=>{const s=e.parentElement;s.parentElement.removeChild(s)},N=e=>{e.parentElement.setAttribute("aria-hidden","false"),e.parentElement.classList.remove("is-closed")},W=e=>{e.preventDefault(),O(e.target),C.set("amnesty_pop_in_dismissed","1",{domain:M.domain,expires:parseInt(M.pop_in_timeout,10)||30,sameSite:"strict",secure:!0})};function j(){const e=document.getElementById("pop-in-close");if(e){if(M=window.amnesty_data,C.get("amnesty_pop_in_dismissed")==="1"){O(e);return}x(N,100,e),e.addEventListener("click",W),e.addEventListener("touchend",W)}}const Y=e=>parseFloat(getComputedStyle(e).fontSize.replace(/[^0-9.]+/,"")),G=(e,s=1)=>{const c=Y(e),v=e.clientWidth,E=e.scrollWidth;if(E<=v)return;let w=Math.floor(c/(E/v));s!==1&&(w*=s),e.style.fontSize=`${w}px`};function et(e,s){Array.from(e).forEach(c=>{const v=Y(c);let E;window.addEventListener("resize",()=>{clearTimeout(E),E=setTimeout(()=>{Y(c)<v&&(c.style.fontSize=`${v}px`),G(c,s)},250)}),G(c,s)})}const ft="language-selector-dismissed",Rt=e=>{e.preventDefault();const s=document.querySelector(".language-selector");s&&(s.classList.remove("is-visible"),window.localStorage&&window.localStorage.setItem(ft,"1"))},Nt=()=>{if(window.localStorage&&window.localStorage.getItem(ft))return;const e=document.querySelector(".language-selector");if(!e)return;e.classList.add("is-visible");const s=e.querySelector(".language-selectorClose");s&&s.addEventListener("click",Rt)};let Q,st=0;const Bt=e=>{if(e!==st&&document.documentElement.className.indexOf("-open")===-1){if(e===0){Q.classList.remove("stick");return}e>st?Q.classList.remove("stick"):Q.classList.add("stick"),st=e}};let pt=0,rt=!1;const Ft=()=>{pt=window.scrollY,rt||(window.requestAnimationFrame(()=>{Bt(pt),rt=!1}),rt=!0)},Wt=()=>{Q=document.querySelector(".page-header"),Q&&document.addEventListener("scroll",Ft)};let ot,it,H,gt=[];
1const zt=()=>{const e=ot.querySelector(".mobile-menu > ul > li:last-of-type"),s=`.${Array.from(e.classList).join(".")}`;let c;H.addEventListener("focusout",v=>{c=v.target}),document.addEventListener("focusin",v=>{const E=c==null?void 0:c.closest(s);!(c===e.firstElementChild)&&!(E===e)||v.target.closest(".mobile-menu")||(v.preventDefault(),c=void 0,it.focus())})},vt=(e=null)=>{gt.forEach(s=>{s!==e&&s.classList.remove("is-open")})},mt=e=>{const{target:s}=e;s.parentElement.matches(".menu-item-has-children")&&(e.preventDefault(),e.stopPropagation(),e.target.focus(),vt(e.target.parentElement),e.target.parentElement.classList.toggle("is-open"))},Ut=e=>{const{code:s}=e;if(["Space","Spacebar","Enter"].indexOf(s)!==-1){!e.shiftKey&&!e.metaKey&&!e.ctrlKey&&!e.altKey&&mt(e);return}["Esc","Escape"].indexOf(s)!==-1&&vt()},Kt=e=>{const{code:s,shiftKey:c}=e;if(s==="Tab"&&c){const v=new KeyboardEvent("keydown",{altKey:!1,bubbles:!0,cancelBubble:!1,cancelable:!0,charCode:0,code:"Escape",ctrlKey:!1,key:"Escape",keyCode:27,metaKey:!1,shiftKey:!1,which:27});it.dispatchEvent(v)}},qt=()=>{ot=document.querySelector(".page-header"),H=document.getElementById("mobile-menu"),!(!ot||!H)&&(it=H.parentElement.querySelector(".burger"),gt=Array.from(H.querySelectorAll(".menu-item-has-children")),H.addEventListener("click",mt),H.addEventListener("keydown",Ut),it.addEventListener("keydown",Kt),zt()
1)},jt=(()=>{const e=document.querySelectorAll(".news-sidebar select");e.length&&Array.from(e).forEach(s=>{s.addEventListener("change",c=>{document.location=c.target.value})})}),{isObject:Ht}=window.lodash,at=e=>{const s={};return e.replace("?","").split("&").forEach(c=>{const[v,E]=c.split("=");v&&(s[v]=E==null?void 0:E.split(","))}),s},lt=e=>Object.keys(e).map(s=>{let c=e[s];return c?(Array.isArray(c)&&(c=c.join(",")),Ht(c)&&(c=lt(e)),`${encodeURIComponent(s)}=${encodeURIComponent(c).replace(/%2C/g,",")}`):null}).filter(Boolean).join("&"),Xt=e=>{const s={};return e.forEach(c=>{if(!(!c.value||!c.name)){if(c.name==="s"&&(s[c.name]=c.value.replace(/\s+/g,"+")),c.nodeName==="SELECT"){s[c.name]=c.value;return}if(c.type==="checkbox"){if(!c.checked)return;if(c.name.indexOf("[]")===-1){s[c.name]=c.value;return}const v=c.name.replace(/\[\]/,"");Object.hasOwnProperty.call(s,v)||(s[v]=[]),s[v].push(c.value)}}}),s},{merge:Yt}=lodash,$t=e=>{e.preventDefault();const[s,c=""]=e.target.getAttribute("action").split("?"),v=Array.from(e.target.querySelectorAll("input,select")),E=Xt(v),{search:w}=window.location,I=Yt(at(c),at(w),E);window.location=[s,lt(I)].filter(Boolean).join("?")};function Vt(){const e=document.getElementById("filter-form");e&&e.addEventListener("submit",$t)}const yt=e=>{const s=new FormData(e),c={};return[...s.entries()].forEach(v=>{const[E,w]=v;if(E.indexOf("[]")===-1){c[E]=w;return}const I=E.replace(/\[\]$/,"");Object.hasOwnProperty.call(c,I)||(c[I]=[]),c[I].push(w)}),c};var Gt=Object.defineProperty,Et=Object.getOwnPropertySymbols,Qt=Object.prototype.hasOwnProperty,Jt=Object.prototype.propertyIsEnumerable,_t=(e,s,c)=>s in e?Gt(e,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):e[s]=c,bt=(e,s)=>{for(var c in s||(s={}))Qt.call(s,c)&&_t(e,c,s[c]);if(Et)for(var c of Et(s))Jt.call(s,c)&&_t(e,c,s[c]);return e};const{xor:Zt}=lodash;let z,St,J,wt,At,Z,tt;const te=e=>{e.preventDefault();const s=z.getAttribute("action"),c=yt(z);let v={};const[E,w]=s.split("?");w&&(v=at(w));const I=bt(bt({},v),c);if(!(I!=null&&I.qyear)&&(I!=null&&I.qmonth)&&(I.qmonth=""),!Object.keys(I).some(B=>!!I[B])){window.location=E;return}const F=lt(I),K=`${E}?${F}`;window.location=K},ee=e=>{if(e.target.matches(".toggle-search-filters")){e.target.classList.toggle("is-expanded"),wt.classList.toggle("is-expanded"),At.classList.toggle("is-active");return}if(e.target.matches('.additional-filters input[type="checkbox"]')){const s=e.target.closest("fieldset"),v=Array.from(s.querySelectorAll('input[type="checkbox"]')).filter(w=>w.checked).map(w=>w.value),E=tt==null?void 0:tt[e.target.name.replace(/\[\]$/,"")];Zt(E,v).length?(Z.classList.add("is-active"),Z.removeAttribute("disabled")):(Z.classList.remove("is-active"),Z.setAttribute("disabled","disabled"))}},ie=e=>{const s=e.target;if(!s)return;const c=s.closest(".checkboxGroup");if(c&&c.matches(".autosubmit")){z.requestSubmit();return}const v=s.closest(".customSelect");v&&v.matches(".autosubmit")&&z.requestSubmit()},ne=e=>{e.target.value!==(tt==null?void 0:tt.s)?(J.classList.add("is-active"),J.removeAttribute("disabled")):(J.classList.remove("is-active"),J.setAttribute("disabled","disabled"))},se=()=>{St=z.querySelector('input[type="text"][name="s"]'),J=z.querySelector('.search-input button[type="submit"]'),wt=z.querySelector(".default-search-filters .basic-filters"),At=z.querySelector(".additional-filters"),Z=document.getElementById("search-filters-submit"),tt=yt(z),z.addEventListener("submit",te),z.addEventListener("click",ee),z.addEventListener("change",ie),St.addEventListener("keyup",ne)};function re(){z=document.querySelector(".horizontal-search"),z&&se()}var oe=Object.defineProperty,ae=Object.defineProperties,le=Object.getOwnPropertyDescriptors,Ct=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,Dt=(e,s,c)=>s in e?oe(e,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):e[s]=c,ue=(e,s)=>{for(var c in s||(s={}))ce.call(s,c)&&Dt(e,c,s[c]);if(Ct)for(var c of Ct(s))he.call(s,c)&&Dt(e,c,s[c]);return e},de=(e,s)=>ae(e,le(s));const fe=e=>{const s=e.split("?"),c=s.shift(),v=s.length>0?s.join("&").split("&").reduce((E,w)=>{const[I,R]=w.split("=");return de(ue({},E),{[I]:R})},{}):{};return{base:`${c}?`,params:v}},pe=e=>{if(!window.amnesty_data)return;const{target:{value:s=""}={}}=e,c=fe(window.amnesty_data.archive_base_url);c.params.sort=s;const v=Object.keys(c.params).map(E=>`${E}=${c.params[E]}`).join("&");window.location=`${c.base}${v}`},ge=()=>{const e=document.getElementById("sort-by");e&&e.addEventListener("change",pe)},xt=e=>{e.target.closest('[class*="video"]').classList.add("is-loaded"),e.target.removeEventListener("loadeddata",xt)},ve=(()=>{const e=Array.from(document.getElementsByTagName("video"));e.length&&e.forEach(s=>{s.addEventListener("loadeddata",xt)})}),me=()=>{Array.from(document.querySelectorAll(".wp-block-embed.is-type-video:not(.responsive-iframe)")).forEac
1h(e=>{if(e.parentElement.classList.contains("wp-embed-responsive"))return;const s=document.createElement("div");s.classList.add("wp-embed-responsive"),s.appendChild(e.cloneNode(!0)),e.replaceWith(s)})},ye="https://twitter.com/intent/tweet",Ee=e=>{if(!e.target.classList.contains("btn"))return;e.preventDefault();const c=e.target.parentNode.parentNode.querySelector(".tweetAction-content").innerText,v=`${ye}?text=${encodeURIComponent(c)}`;window.open(v)},_e=(()=>{const e=document.getElementsByClassName("tweetAction");e.length&&Array.from(e).forEach(s=>s.addEventListener("click",Ee))});var be=_(2522),nt=_.n(be);const Se=e=>{const s=e.querySelector(".postlist-categories");if(!s)return;let c=-1;const v=s.querySelector("[data-categories-selected]");v&&(c=parseInt(v.dataset.categoriesSelected,10));const E=document.documentElement.getAttribute("dir")==="rtl",w=e.querySelector("[data-slider-next]"),I=e.querySelector("[data-slider-prev]"),R=new(nt())(s,{contain:!0,groupCells:!0,pageDots:!1,cellAlign:"left",prevNextButtons:!1,watchCSS:!0,rightToLeft:E,on:{ready:()=>{e.classList.add("flickity-enabled")}}}),F=()=>!(!Object.prototype.hasOwnProperty.call(R,"slides")||!R.slides.length);c!==-1&&F()&&R.selectCell(c,!0,!0);const K=B=>{F()&&(B===0&&I.setAttribute("disabled",!0),B===R.slides.length-1&&w.setAttribute("disabled",!0),B<R.slides.length-1&&w.removeAttribute("disabled"),B>0&&I.removeAttribute("disabled"))};K(R.selectedIndex),R.on("change",K),e.addEventListener("click",B=>{B.target.matches("[data-slider-next]")&&(B.preventDefault(),R.next()),B.target.matches("[data-slider-prev]")&&(B.preventDefault(),R.previous())})},we=()=>{const e=Array.from(document.querySelectorAll("[data-slider],.has-slider"));e.length<1||e.forEach(Se)};var pi=_(5839);const{debounce:Ae}=lodash,Lt=e=>{const s=document.createElement("button");return s.setAttribute(`data-slider-${e}`,1),s},Ce=(e,s,c)=>{const v=e.querySelector(".slides-container .flickity-slider .slide:first-child"),E=e.querySelector(".slides-container .flickity-slider .slide:last-child"),w=()=>{v.classList.contains("is-selected")?s.style.display="none":s.style.display="block",E.classList.contains("is-selected")?c.style.display="none":c.style.display="block"};c==null||c.addEventListener("click",w),s==null||s.addEventListener("click",w)},De=e=>{const s=e.querySelector(".slides");if(!s)return;const c=document.documentElement.getAttribute("dir")==="rtl",v=e.querySelector(".slides-arrow--previous"),E=e.querySelector(".slides-arrow--next");Array.from(e.querySelectorAll(".slide-contentWrapper")).forEach(q=>{q.addEventListener("click",ut=>{const ri=ut.target.matches(".slider-toggleContent"),oi=ut.target.matches(".slide-contentWrapper.is-open");!ri&&!oi||(ut.preventDefault(),q.classList.toggle("is-open"),q.classList.contains("is-open")?(v.style.display="none",E.style.display="none"):(v.style.display="block",E.style.display="block"))})});const I=new(nt())(s,{rightToLeft:c,prevNextButtons:!1,pageDots:!1}),R=I.slides.length-1,F=I.slides.length;I.on("change",q=>{q>0?v.style.display="block":v.style.display="none",q===R?E.style.display="none":E.style.display="block"}),E&&v&&(v.addEventListener("click",()=>I.previous()),E.addEventListener("click",()=>I.next()));const K=e.querySelector(".slider-nav");if(!K)return;const B=e.querySelector(".slider-navContainer");let V=!1;const ni=()=>B.classList.remove("has-arrows"),si=()=>B.classList.add("has-arrows"),ct=q=>{if(q.slides.length>1&&!V){si(),V=!0;return}q.slides.length>1&&V||V&&(V=!1,ni())},Mt=Lt("prev"),kt=Lt("next"),ht=new(nt())(K,{asNavFor:s,contain:!0,pageDots:!1,prevNextButtons:!1,draggable:!1,groupCells:!0,rightToLeft:c,on:{ready(){B&&(B.appendChild(Mt),B.appendChild(kt),Mt.addEventListener("click",()=>this.previous()),kt.addEventListener("click",()=>this.next()),ct(this))}}});ht.on("change",()=>ct(ht)),window.addEventListener("resize",Ae(()=>ct(ht),150)),F>1&&(Ce(e,v,E),E&&(E.style.display="block"))},xe=()=>{Array.from(document.querySelectorAll(".slider")).forEach(De)},{isInteger:Le}=lodash,{currentLocale:Ie="en-GB",enforceGroupingSeparators:Pe}=window.amnestyCoreI18n,It=(e="0")=>{if(Le(e))return e;const s=e.replace(/[^\d]/g,"");return parseInt(s,10)},Te=e=>{if(!e)return"";const s={};
1return Pe&&(s.useGrouping=!0),It(e).toLocaleString(Ie.replace("_","-"),s)},Me=(e,s,c=2e3,v)=>{let E=0,w=0,I=0;const R=F=>{I||(I=F),w=Math.min((F-I)/c,1),E=Math.floor(w*s),e.textContent=Te(E),e.setAttribute("style",`opacity: ${w}`),w<1&&requestAnimationFrame(R),w===1&&v.unobserve(e)};requestAnimationFrame(R)},ke=new IntersectionObserver((e,s)=>{e.forEach(c=>{if(!c.isIntersecting||c.intersectionRatio<1)return;const{target:v}=c,{duration:E}=v.dataset,w=It(v.dataset.value);Me(v,w,E*1e3,s)})},{rootMargin:"0px 0px -200px 0px",threshold:[1]}),Oe=(()=>{const e=document.querySelectorAll(".wp-block-amnesty-core-counter");Array.from(e).forEach(s=>{s.setAttribute("style","opacity: 0"),ke.observe(s)})}),Re=e=>{const s=e.textContent,c=e.parentElement.parentElement,v=c.querySelectorAll(".listItems"),E=c.querySelector(".activeLetter");E.innerText=s,Array.from(v).forEach(w=>{const I=w.dataset.key===s?"flex":"none";w.setAttribute("style",`display:${I}`)})},Ne=e=>{const{target:s}=e,{nodeName:c}=s;if(c!=="BUTTON"||s.getAttribute("disabled"))return;const v=s.parentElement.getElementsByTagName("button");Array.from(v).forEach(E=>{E.setAttribute("class","")}),s.setAttribute("class","is-active"),Re(s)};function Be(){const e=document.querySelectorAll(".wp-block-amnesty-core-term-list");e&&Array.from(e).forEach(s=>{s.addEventListener("click",Ne)})}const X=wp.i18n,Pt=60,Tt=60*Pt,Fe=24*Tt,We=e=>{if(!e)return{};const s=(Date.parse(e)-Date.now())/1e3,c=Math.floor(s%60),v=Math.floor(s/Pt%60),E=Math.floor(s/Tt%24),w=Math.floor(s/Fe);return{total:s,days:w,hours:E,minutes:v,seconds:c}},$=e=>`0${e}`.slice(-2),ze=(e,s)=>{if(!s.date)return"00:00:00";const{days:c=0,hours:v=0,minutes:E=0,seconds:w=0}=e,I=(0,X._n)("%d day","%d days",c,"amnesty");return c<=0&&v<=0&&E<=0&&w<=0?s.expiredText:c>=3?(0,X.sprintf)(I,c):c>=1?(0,X.sprintf)((0,X._x)("%1$s, %2$s:%3$s:%4$s",'time format(prefix translated separately) i.e. "x, H:i:s"',"amnesty"),(0,X.sprintf)(I,c),$(v),$(E),$(w)):(0,X.sprintf)((0,X._x)("%1$s:%2$s:%3$s","time format, H:i:s","amnesty"),$(v),$(E),$(w))},Ue=e=>{const{expiredtext:s,timestamp:c}=e.dataset,v=We(c);e.textContent=ze(v,{expiredText:s,date:c})},Ke=(()=>{const e=document.querySelectorAll(".countdownClock");Array.from(e).forEach(s=>{setInterval(()=>Ue(s),1e3)})}),qe=e=>{if(!e.target.classList.contains("tabs-nav-trigger"))return;e.preventDefault();const s=e.target.closest(".tabs"),{content:c}=e.target.dataset;if(!s||!c)return;const v=Array.from(s.getElementsByClassName("tabs-nav-trigger"));if(!v.length)return;v.forEach(w=>{w.classList.remove("is-selected")}),e.target.classList.add("is-selected");const E=Array.from(s.getElementsByClassName("tab-content"));E.length&&E.forEach(w=>{w.classList.remove("is-selected"),w.getAttribute("aria-hidden")!==null&&w.setAttribute("aria-hidden",w.dataset.content===c?"false":"true"),w.dataset.content===c&&w.classList.add("is-selected")})};function je(){document.addEventListener("click",qe)}function He(){const e=typeof InstallTrigger!="undefined",s=window.navigator.userAgent.indexOf("Safari")>-1&&window.navigator.userAgent.indexOf("Chrome")===-1,c=!!document.documentMode,v=window.navigator.userAgent.indexOf("Edge/")>-1,E=!!window.chrome&&(!!window.chrome.webstore||!!window.chrome.runtime),{body:w}=document;e&&w.classList.add("firefox"),s&&w.classList.add("safari"),c&&w.classList.add("ie"),v&&w.classList.add("edge"),E&&w.classList.add("chrome")}const Xe=e=>{e.target.parentElement.classList.toggle("is-visible")},Ye=e=>{e.addEventListener("click",Xe)},$e=(()=>{Array.from(document.querySelectorAll(".iframeButton")).forEach(Ye)}),Ve=e=>s=>{s.target.matches(".btn--blank")&&e.classList.toggle("is-collapsed")},Ge=()=>{Array.from(document.getElementsByClassName("wp-block-amnesty-core-collapsable")).forEach(s=>s.addEventListener("click",Ve(s)))},Qe=e=>(s,c,v,E)=>{if(!v)return;const w=v.closest(".flickity-viewport");w&&(E>0?w.nextElementSibling.disabled=!1:w.nextElementSibling.disabled=!0,E===e.slides.length-1?w.nextElementSibling.nextElementSibling.disabled=!0:w.nextElementSibling.nextElementSibling.disabled=!1)},Je=e=>()=>{const s=Array.from(e.element.nextElementSibling.children),c=e.selectedElement.id.slice(4);
1s.forEach(v=>{v.id.includes(c)?(v.classList.add("is-selected-tab"),v.setAttribute("aria-expanded","true")):(v.classList.remove("is-selected-tab"),v.setAttribute("aria-expanded","false"))})},Ze=()=>{document.querySelectorAll(".wp-block-bigbite-tabs .tabsContainer").forEach(s=>{if(Array.from(s.nextElementSibling.children).length<=3){s.classList.add("has-no-nav-arrows");return}const E=new(nt())(s,{cellAlign:"left",pageDots:!1});setTimeout(()=>{const w=window.location.hash.replace("#","");if(!w)return;const I=document.getElementById(w);if(!I)return;const F=Array.from(I.parentElement.children).indexOf(I);F!==-1&&E.select(F,!1,!0)},1),E.on("staticClick",Qe(E)),E.on("change",Je(E))})},ti=e=>{const s=e.querySelector(".customSelect"),c=e.querySelector(".btn--download");!s||!c||s.addEventListener("change",v=>{const{target:E}=v,{dataset:{value:w}}=E,I=new URL(w).pathname,R=new URL(I,window.location.origin);c.setAttribute("href",R.toString()),c.setAttribute("download",R.toString().split("/").pop())})},ei=(()=>{const e=Array.from(document.querySelectorAll(".download-block"));if(!e.length)return;e.filter(({classList:c})=>
1c.contains("is-multiple")).forEach(ti)}),ii=()=>(He(),j(),Nt(),Wt(),qt(),l(),jt(),ei(),Vt(),re(),ge(),me(),_e(),we(),xe(),Oe(),Be(),Ke(),je(),ve(),$e(),Ge(),Ze(),et(document.getElementsByClassName("article-shareTitle"),.9),{using:P()})},2137(D,L,_){var S,b;(function(P,p){S=p,b=typeof S=="function"?S.call(L,_,L,D):S,b!==void 0&&(D.exports=b)})(typeof window!="undefined"?window:this,function(){"use strict";function P(){}var p=P.prototype;return p.on=function(g,f){if(!(!g||!f)){var o=this._events=this._events||{},a=o[g]=o[g]||[];return a.indexOf(f)==-1&&a.push(f),this}},p.once=function(g,f){if(!(!g||!f)){this.on(g,f);var o=this._onceEvents=this._onceEvents||{},a=o[g]=o[g]||{};return a[f]=!0,this}},p.off=function(g,f){var o=this._events&&this._events[g];if(!(!o||!o.length)){var a=o.indexOf(f);return a!=-1&&o.splice(a,1),this}},p.emitEvent=function(g,f){var o=this._events&&this._events[g];if(!(!o||!o.length)){o=o.slice(0),f=f||[];for(var a=this._onceEvents&&this._onceEvents[g],h=0;h<o.length;h++){var t=o[h],i=a&&a[t];i&&(this.off(g,t),delete a[t]),t.apply(this,f)}return this}},p.allOff=function(){delete this._events,delete this._onceEvents},P})},5475(D,L,_){var S=_(9748),b=_(4160),P=b;typeof P.App=="undefined"&&(P.App=S),D.exports=S},4160(D,L,_){"use strict";D.exports=(function(){if(typeof globalThis=="object")return globalThis;var S;try{S=this||new Function("return this")()}catch(b){if(typeof window=="object")return window;if(typeof self=="object")return self;if(typeof _.g!="undefined")return _.g}return S})()},977(D,L,_){var S,b;(function(P,p){S=[_(9786)],b=(function(g){return p(P,g)}).apply(L,S),b!==void 0&&(D.exports=b)})(window,function(p,g){"use strict";var f={};f.extend=function(h,t){for(var i in t)h[i]=t[i];return h},f.modulo=function(h,t){return(h%t+t)%t};var o=Array.prototype.slice;f.makeArray=function(h){if(Array.isArray(h))return h;if(h==null)return[];var t=typeof h=="object"&&typeof h.length=="number";return t?o.call(h):[h]},f.removeFrom=function(h,t){var i=h.indexOf(t);i!=-1&&h.splice(i,1)},f.getParent=function(h,t){for(;h.parentNode&&h!=document.body;)if(h=h.parentNode,g(h,t))return h},f.getQueryElement=function(h){return typeof h=="string"?document.querySelector(h):h},f.handleEvent=function(h){var t="on"+h.type;this[t]&&this[t](h)},f.filterFindElements=function(h,t){h=f.makeArray(h);var i=[];return h.forEach(function(u){if(u instanceof HTMLElement){if(!t){i.push(u);return}g(u,t)&&i.push(u);for(var y=u.querySelectorAll(t),T=0;T<y.length;T++)i.push(y[T])}}),i},f.debounceMethod=function(h,t,i){i=i||100;var u=h.prototype[t],y=t+"Timeout";h.prototype[t]=function(){var T=this[y];clearTimeout(T);var A=arguments,k=this;this[y]=setTimeout(function(){u.apply(k,A),delete k[y]},i)}},f.docReady=function(h){var t=document.readyState;t=="complete"||t=="interactive"?setTimeout(h):document.addEventListener("DOMContentLoaded",h)},f.toDashed=function(h){return h.replace(/(.)([A-Z])/g,function(t,i,u){return i+"-"+u}).toLowerCase()};var a=p.console;return f.htmlInit=function(h,t){f.docReady(function(){var i=f.toDashed(t),u="data-"+i,y=document.querySelectorAll("["+u+"]"),T=document.querySelectorAll(".js-"+i),A=f.makeArray(y).concat(f.makeArray(T)),k=u+"-options",r=p.jQuery;A.forEach(function(l){var m=l.getAttribute(u)||l.getAttribute(k),n;try{n=m&&JSON.parse(m)}catch(C){a&&a.error("Error parsing "+u+" on "+l.className+": "+C);return}var d=new h(l,n);r&&r.data(l,t,d)})})},f})},5839(D,L,_){var S,b,P;/*!
2* Flickity asNavFor v2.0.1
3* enable asNavFor for Flickity
4*/(function(p,g){b=[_(2522),_(977)],S=g,P=typeof S=="function"?S.apply(L,b):S,P!==void 0&&(D.exports=P)})(window,function(g,f){"use strict";g.createMethods.push("_createAsNavFor");var o=g.prototype;o._createAsNavFor=function(){this.on("activate",this.activateAsNavFor),this.on("deactivate",this.deactivateAsNavFor),this.on("destroy",this.destroyAsNavFor);var h=this.options.asNavFor;if(h){var t=this;setTimeout(function(){t.setNavCompanion(h)})}},o.setNavCompanion=function(h){h=f.getQueryElement(h);var t=g.data(h);if(!(!t||t==this)){this.navCompanion=t;var i=this;this.onNavCompanionSelect=function(){i.navCompanionSelect()},t.on("select",this.onNavCompanionSelect),this.on("staticClick",this.onNavStaticClick),this.navCompanionSelect(!0)}},o.navCompanionSelect=function(h){if(this.navCompanion){var t=this.navCompanion.selectedCells[0],i=this.navCompanion.cells.indexOf(t),u=i+this.navCompanion.selectedCells.length-1,y=Math.floor(a(i,u,this.navCompanion.cellAlign));if(this.selectCell(y,!1,h),this.removeNavSelectedElements(),!(y>=this.cells.length)){var T=this.cells.slice(i,u+1);this.navSelectedElements=T.map(function(A){return A.element}),this.changeNavSelectedClass("add")}}};function a(h,t,i){return(t-h)*i+h}return o.changeNavSelectedClass=function(h){this.navSelectedElements.forEac
4h(function(t){t.classList[h]("is-nav-selected")})},o.activateAsNavFor=function(){this.navCompanionSelect(!0)},o.removeNavSelectedElements=function(){this.navSelectedElements&&(this.changeNavSelectedClass("remove"),delete this.navSelectedElements)},o.onNavStaticClick=function(h,t,i,u){typeof u=="number"&&this.navCompanion.selectCell(u)},o.deactivateAsNavFor=function(){this.removeNavSelectedElements()},o.destroyAsNavFor=function(){this.navCompanion&&(this.navCompanion.off("select",this.onNavCompanionSelect),this.off("staticClick",this.onNavStaticClick),delete this.navCompanion)},g})},9943(D,L,_){var S,b;(function(P,p){S=[_(9249),_(977)],b=(function(g,f){return p(P,g,f)}).apply(L,S),b!==void 0&&(D.exports=b)})(window,function(p,g,f){"use strict";function o(h){var t=document.createDocumentFragment();return h.forEach(function(i){t.appendChild(i.element)}),t}var a=g.prototype;return a.insert=function(h,t){var i=this._makeCells(h);if(!(!i||!i.length)){var u=this.cells.length;t=t===void 0?u:t;var y=o(i),T=t==u;if(T)this.slider.appendChild(y);else{var A=this.cells[t].element;this.slider.insertBefore(y,A)}if(t===0)this.cells=i.concat(this.cells);else if(T)this.cells=this.cells.concat(i);else{var k=this.cells.splice(t,u-t);this.cells=this.cells.concat(i).concat(k)}this._sizeCells(i),this.cellChange(t,!0)}},a.append=function(h){this.insert(h,this.cells.length)},a.prepend=function(h){this.insert(h,0)},a.remove=function(h){var t=this.getCells(h);if(!(!t||!t.length)){var i=this.cells.length-1;t.forEach(function(u){u.remove();var y=this.cells.indexOf(u);i=Math.min(y,i),f.removeFrom(this.cells,u)},this),this.cellChange(i,!0)}},a.cellSizeChange=function(h){var t=this.getCell(h);if(t){t.getSize();var i=this.cells.indexOf(t);this.cellChange(i)}},a.cellChange=function(h,t){var i=this.selectedElement;this._positionCells(h),this._getWrapShiftCells(),this.setGallerySize();var u=this.getCell(i);u&&(this.selectedIndex=this.getCellSlideIndex(u)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[h]),this.select(this.selectedIndex),t&&this.positionSliderAtSelected()},g})},2121(D,L,_){var S,b;(function(P,p){S=[_(977)],b=(function(g){return p(P,g)}).apply(L,S),b!==void 0&&(D.exports=b)})(window,function(p,g){"use strict";var f={};return f.startAnimation=function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},f.animate=function(){this.applyDragForce(),this.applySelectedAttraction();var o=this.x;if(this.integratePhysics(),this.positionSlider(),this.settle(o),this.isAnimating){var a=this;requestAnimationFrame(function(){a.animate()})}},f.positionSlider=function(){var o=this.x;this.options.wrapAround&&this.cells.length>1&&(o=g.modulo(o,this.slideableWidth),o-=this.slideableWidth,this.shiftWrapCells(o)),this.setTranslateX(o,this.isAnimating),this.dispatchScrollEvent()},f.setTranslateX=function(o,a){o+=this.cursorPosition,o=this.options.rightToLeft?-o:o;var h=this.getPositionValue(o);this.slider.style.transform=a?"translate3d("+h+",0,0)":"translateX("+h+")"},f.dispatchScrollEvent=function(){var o=this.slides[0];if(o){var a=-this.x-o.target,h=a/this.slidesWidth;this.dispatchEvent("scroll",null,[h,a])}},f.positionSliderAtSelected=function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},f.getPositionValue=function(o){return this.options.percentPosition?Math.round(o/this.size.innerWidth*1e4)*.01+"%":Math.round(o)+"px"},f.settle=function(o){var a=!this.isPointerDown&&Math.round(this.x*100)==Math.round(o*100);a&&this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},f.shiftWrapCells=function(o){var a=this.cursorPosition+o;this._shiftCells(this.beforeShiftCells,a,-1);var h=this.size.innerWidth-(o+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,h,1)},f._shiftCells=function(o,a,h){for(var t=0;t<o.length;t++){var i=o[t],u=a>0?h:0;i.wrapShift(u),a-=i.size.outerWidth}}
4,f._unshiftCells=function(o){if(!(!o||!o.length))for(var a=0;a<o.length;a++)o[a].wrapShift(0)},f.integratePhysics=function(){this.x+=this.velocity,this.velocity*=this.getFrictionFactor()},f.applyForce=function(o){this.velocity+=o},f.getFrictionFactor=function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},f.getRestingPosition=function(){return this.x+this.velocity/(1-this.getFrictionFactor())},f.applyDragForce=function(){if(!(!this.isDraggable||!this.isPointerDown)){var o=this.dragX-this.x,a=o-this.velocity;this.applyForce(a)}},f.applySelectedAttraction=function(){var o=this.isDraggable&&this.isPointerDown;if(!(o||this.isFreeScrolling||!this.slides.length)){var a=this.selectedSlide.target*-1-this.x,h=a*this.options.selectedAttraction;this.applyForce(h)}},f})},4092(D,L,_){var S,b;(function(P,p){S=[_(1485)],b=(function(g){return p(P,g)}).apply(L,S),b!==void 0&&(D.exports=b)})(window,function(p,g){"use strict";function f(a,h){this.element=a,this.parent=h,this.create()}var o=f.prototype;return o.create=function(){this.element.style.position="absolute",this.element.setAttribute("aria-hidden","true"),this.x=0,this.shift=0,this.element.style[this.parent.originSide]=0},o.destroy=function(){this.unselect(),this.element.style.position="";var a=this.parent.originSide;this.element.style[a]="",this.element.style.transform="",this.element.removeAttribute("aria-hidden")},o.getSize=function(){this.size=g(this.element)},o.setPosition=function(a){this.x=a,this.updateTarget(),this.renderPosition(a)},o.updateTarget=o.setDefaultTarget=function(){var a=this.parent.originSide=="left"?"marginLeft":"marginRight";this.target=this.x+this.size[a]+this.size.width*this.parent.cellAlign},o.renderPosition=function(a){var h=this.parent.originSide==="left"?1:-1,t=this.parent.options.percentPosition?a*h*(this.parent.size.innerWidth/this.size.width):a*h;this.element.style.transform="translateX("+this.parent.getPositionValue(t)+")"},o.select=function(){this.element.classList.add("is-selected"),this.element.removeAttribute("aria-hidden")},o.unselect=function(){this.element.classList.remove("is-selected"),this.element.setAttribute("aria-hidden","true")},o.wrapShift=function(a){this.shift=a,this.renderPosition(this.x+this.parent.slideableWidth*a)},o.remove=function(){this.element.parentNode.removeChild(this.element)},f})},3170(D,L,_){var S,b;(function(P,p){S=[_(9249),_(6377),_(977)],b=(function(g,f,o){return p(P,g,f,o)}).apply(L,S),b!==void 0&&(D.exports=b)})(window,function(p,g,f,o){"use strict";o.extend(g.defaults,{draggable:">1",dragThreshold:3}),g.createMethods.push("_createDrag");var a=g.prototype;o.extend(a,f.prototype),a._touchActionValue="pan-y",a._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable)},a.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},a.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},a.updateDraggable=function(){this.options.draggable==">1"?this.isDraggable=this.slides.length>1:this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},a.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},a.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},a._uiChangeDrag=function(){delete this.isFreeScrolling},a.pointerDown=function(i,u){if(!this.isDraggable){this._pointerDownDefault(i,u);return}var y=this.okayPointerDown(i);y&&(this._pointerDownPreventDefault(i),this.pointerDownFocus(i),document.activeElement!=this.element&&this.pointerDownBlur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=t(),p.addEventListener("scroll",this),this._pointerDownDefault(i,u))},a._pointerDownDefault=function(i,u){this.pointerDownPointer={pageX:u.pageX,pageY:u.pageY},this._bindPostStartEvents(i),this.dispatchEvent("pointerDown",i,[u])};var h={INPUT:!0,TEXTAREA:!0,SELECT:!0};a.pointerDownFocus=function(i){var u=h[i.target.nodeName];u||this.focus()},a._pointerDownPreventDefault=function(i){var u=i.type=="touchstart",y=i.pointerType=="touch",T=h[i.target.nodeName];!u&&!y&&!T&&i.preventDefault()},a.hasDragStarted=function(i){return Math.abs(i.x)>this.options.dragThreshold},a.pointerUp=function(i,u){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",i,[u]),this._dragPointerUp(i,u)},a.pointerDone=function(){p.removeEventListener("scroll",this),delete this.pointerDownScroll},a.dragStart=function(i,u){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),p.removeEventListener("scroll",this),this.dispatchEvent("dragStart",i,[u]))},a.pointerMove=function(i,u){var y=this._dragPointerMove(i,u);
4this.dispatchEvent("pointerMove",i,[u,y]),this._dragMove(i,u,y)},a.dragMove=function(i,u,y){if(this.isDraggable){i.preventDefault(),this.previousDragX=this.dragX;var T=this.options.rightToLeft?-1:1;this.options.wrapAround&&(y.x%=this.slideableWidth);var A=this.dragStartPosition+y.x*T;if(!this.options.wrapAround&&this.slides.length){var k=Math.max(-this.slides[0].target,this.dragStartPosition);A=A>k?(A+k)*.5:A;var r=Math.min(-this.getLastSlide().target,this.dragStartPosition);A=A<r?(A+r)*.5:A}this.dragX=A,this.dragMoveTime=new Date,this.dispatchEvent("dragMove",i,[u,y])}},a.dragEnd=function(i,u){if(this.isDraggable){this.options.freeScroll&&(this.isFreeScrolling=!0);var y=this.dragEndRestingSelect();if(this.options.freeScroll&&!this.options.wrapAround){var T=this.getRestingPosition();this.isFreeScrolling=-T>this.slides[0].target&&-T<this.getLastSlide().target}else!this.options.freeScroll&&y==this.selectedIndex&&(y+=this.dragEndBoostSelect());delete this.previousDragX,this.isDragSelect=this.options.wrapAround,this.select(y),delete this.isDragSelect,this.dispatchEvent("dragEnd",i,[u])}},a.dragEndRestingSelect=function(){var i=this.getRestingPosition(),u=Math.abs(this.getSlideDistance(-i,this.selectedIndex)),y=this._getClosestResting(i,u,1),T=this._getClosestResting(i,u,-1),A=y.distance<T.distance?y.index:T.index;return A},a._getClosestResting=function(i,u,y){for(var T=this.selectedIndex,A=1/0,k=this.options.contain&&!this.options.wrapAround?function(r,l){return r<=l}:function(r,l){return r<l};k(u,A)&&(T+=y,A=u,u=this.getSlideDistance(-i,T),u!==null);)u=Math.abs(u);return{distance:A,index:T-y}},a.getSlideDistance=function(i,u){var y=this.slides.length,T=this.options.wrapAround&&y>1,A=T?o.modulo(u,y):u,k=this.slides[A];if(!k)return null;var r=T?this.slideableWidth*Math.floor(u/y):0;return i-(k.target+r)},a.dragEndBoostSelect=function(){if(this.previousDragX===void 0||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;var i=this.getSlideDistance(-this.dragX,this.selectedIndex),u=this.previousDragX-this.dragX;return i>0&&u>0?1:i<0&&u<0?-1:0},a.staticClick=function(i,u){var y=this.getParentCell(i.target),T=y&&y.element,A=y&&this.cells.indexOf(y);this.dispatchEvent("staticClick",i,[u,T,A])},a.onscroll=function(){var i=t(),u=this.pointerDownScroll.x-i.x,y=this.pointerDownScroll.y-i.y;(Math.abs(u)>3||Math.abs(y)>3)&&this._pointerDone()};function t(){return{x:p.pageXOffset,y:p.pageYOffset}}return g})},9249(D,L,_){var S,b;(function(P,p){if(1)S=[_(2137),_(1485),_(977),_(4092),_(1331),_(2121)],b=(function(f,o,a,h,t,i){return p(P,f,o,a,h,t,i)}).apply(L,S),b!==void 0&&(D.exports=b);else var g})(window,function(p,g,f,o,a,h,t){"use strict";var i=p.jQuery,u=p.getComputedStyle,y=p.console;function T(n,d){for(n=o.makeArray(n);n.length;)d.appendChild(n.shift())}var A=0,k={};function r(n,d){var C=o.getQueryElement(n);if(!C){y&&y.error("Bad element for Flickity: "+(C||n));return}if(this.element=C,this.element.flickityGUID){var x=k[this.element.flickityGUID];return x&&x.option(d),x}i&&(this.$element=i(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(d),this._create()}r.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},r.createMethods=[];var l=r.prototype;o.extend(l,g.prototype),l._create=function(){var n=this.guid=++A;this.element.flickityGUID=n,k[n]=this,this.selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.originSide=this.options.rightToLeft?"right":"left",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),(this.options.resize||this.options.watchCSS)&&p.addEventListener("resize",this);for(var d in this.options.on){var C=this.options.on[d];this.on(d,C)}r.createMethods.forEach(function(x){this[x]()},this),this.options.watchCSS?this.watchCSS():this.activate()},l.option=function(n){o.extend(this.options,n)},l.activate=function(){if(!this.isActive){this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.get
4Size();var n=this._filterFindCellElements(this.element.children);T(n,this.slider),this.viewport.appendChild(this.slider),this.element.appendChild(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,this.element.addEventListener("keydown",this)),this.emitEvent("activate"),this.selectInitialIndex(),this.isInitActivated=!0,this.dispatchEvent("ready")}},l._createSlider=function(){var n=document.createElement("div");n.className="flickity-slider",n.style[this.originSide]=0,this.slider=n},l._filterFindCellElements=function(n){return o.filterFindElements(n,this.options.cellSelector)},l.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize()},l._makeCells=function(n){var d=this._filterFindCellElements(n),C=d.map(function(x){return new a(x,this)},this);return C},l.getLastCell=function(){return this.cells[this.cells.length-1]},l.getLastSlide=function(){return this.slides[this.slides.length-1]},l.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},l._positionCells=function(n){n=n||0,this.maxCellHeight=n&&this.maxCellHeight||0;var d=0;if(n>0){var C=this.cells[n-1];d=C.x+C.size.outerWidth}for(var x=this.cells.length,M=n;M<x;M++){var O=this.cells[M];O.setPosition(d),d+=O.size.outerWidth,this.maxCellHeight=Math.max(O.size.outerHeight,this.maxCellHeight)}this.slideableWidth=d,this.updateSlides(),this._containSlides(),this.slidesWidth=x?this.getLastSlide().target-this.slides[0].target:0},l._sizeCells=function(n){n.forEach(function(d){d.getSize()})},l.updateSlides=function(){if(this.slides=[],!!this.cells.length){var n=new h(this);this.slides.push(n);var d=this.originSide=="left",C=d?"marginRight":"marginLeft",x=this._getCanCellFit();this.cells.forEach(function(M,O){if(!n.cells.length){n.addCell(M);return}var N=n.outerWidth-n.firstMargin+(M.size.outerWidth-M.size[C]);x.call(this,O,N)||(n.updateTarget(),n=new h(this),this.slides.push(n)),n.addCell(M)},this),n.updateTarget(),this.updateSelectedSlide()}},l._getCanCellFit=function(){var n=this.options.groupCells;if(n){if(typeof n=="number"){var d=parseInt(n,10);return function(M){return M%d!==0}}}else return function(){return!1};var C=typeof n=="string"&&n.match(/^(\d+)%$/),x=C?parseInt(C[1],10)/100:1;return function(M,O){return O<=(this.size.innerWidth+1)*x}},l._init=l.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},l.getSize=function(){this.size=f(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign};var m={center:{left:.5,right:.5},left:{left:0,right:1},right:{right:0,left:1}};return l.setCellAlign=function(){var n=m[this.options.cellAlign];this.cellAlign=n?n[this.originSide]:this.options.cellAlign},l.setGallerySize=function(){if(this.options.setGallerySize){var n=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight;this.viewport.style.height=n+"px"}},l._getWrapShiftCells=function(){if(this.options.wrapAround){this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells);var n=this.cursorPosition,d=this.cells.length-1;this.beforeShiftCells=this._getGapCells(n,d,-1),n=this.size.innerWidth-this.cursorPosition,this.afterShiftCells=this._getGapCells(n,0,1)}},l._getGapCells=function(n,d,C){for(var x=[];n>0;){var M=this.cells[d];if(!M)break;x.push(M),d+=C,n-=M.size.outerWidth}return x},l._containSlides=function(){if(!(!this.options.contain||this.options.wrapAround||!this.cells.length)){var n=this.options.rightToLeft,d=n?"marginRight":"marginLeft",C=n?"marginLeft":"marginRight",x=this.slideableWidth-this.getLastCell().size[C],M=x<this.size.innerWidth,O=this.cursorPosition+this.cells[0].size[d],N=x-this.size.innerWidth*(1-this.cellAlign);this.slides.forEach(function(W){M?W.target=x*this.cellAlign:(W.target=Math.max(W.target,O),W.target=Math.min(W.target,N))},this)}},l.dispatchEvent=function(n,d,C){var x=d?[d].concat(C):C;if(this.emitEvent(n,x),i&&this.$element){n+=this.options.namespaceJQueryEvents?".flickity":"";var M=n;if(d){var O=new i.Event(d);O.type=n,M=O}this.$element.trigger(M,C)}},l.select=function(n,d,C){if(this.isActive&&(n=parseInt(n,10),this._wrapSelect(n),(this.options.wrapAround||d)&&(n=o.modulo(n,this.slides.length)),!!this.slides[n])){var x=this.selectedIndex;this.selectedIndex=n,this.updateSelectedSlide(),C?this.positionSliderAtSelected():this.startAnimation(),this.options.adaptiveHeight&&this.setGallerySize(),this.dispatchEvent("select",null,[n]),n!=x&&this.dispatchEvent("change",null,[n]),this.dispatchEvent("cellSelect")}},l._wrapSelect=function(n){var d=this.slides.length,C=this.options.wrapAround&&d>1;if(!C)return n;var x=o.modulo(n,d),M=Math.abs(x-this.selectedIndex),O=Math.abs(x+d-this.selectedIndex),N=Math.abs(x-d-this.selectedIndex);!this.isDragSelect&&O<M?n+=d:!this.isDragSelect&&N<M&&(n-=d),n<0?this.x-=this.slideableWidth:n>=d&&(this.x+=this.slideableWidth)},l.previous=function(n,d){this.select(this.selectedIndex-1,n,d)},l.next=function(n,d){this.select(this.selectedIndex+1,n,d)},l.updateSelectedSlide=function(){var n=this.slides[this.selectedIndex];n&&(this.unselectSelectedSlide(),this.selectedSlide=n,n.select(),this.selectedCells=n.cells,this.selectedElements=n.getCellElements(),this.selectedCell=n.cells[0],this.selectedElement=this.selectedElements[0])},l.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},l.selectInitialIndex=function(){var n=this.options.initialIndex;
4if(this.isInitActivated){this.select(this.selectedIndex,!1,!0);return}if(n&&typeof n=="string"){var d=this.queryCell(n);if(d){this.selectCell(n,!1,!0);return}}var C=0;n&&this.slides[n]&&(C=n),this.select(C,!1,!0)},l.selectCell=function(n,d,C){var x=this.queryCell(n);if(x){var M=this.getCellSlideIndex(x);this.select(M,d,C)}},l.getCellSlideIndex=function(n){for(var d=0;d<this.slides.length;d++){var C=this.slides[d],x=C.cells.indexOf(n);if(x!=-1)return d}},l.getCell=function(n){for(var d=0;d<this.cells.length;d++){var C=this.cells[d];if(C.element==n)return C}},l.getCells=function(n){n=o.makeArray(n);var d=[];return n.forEach(function(C){var x=this.getCell(C);x&&d.push(x)},this),d},l.getCellElements=function(){return this.cells.map(function(n){return n.element})},l.getParentCell=function(n){var d=this.getCell(n);return d||(n=o.getParent(n,".flickity-slider > *"),this.getCell(n))},l.getAdjacentCellElements=function(n,d){if(!n)return this.selectedSlide.getCellElements();d=d===void 0?this.selectedIndex:d;var C=this.slides.length;if(1+n*2>=C)return this.getCellElements();for(var x=[],M=d-n;M<=d+n;M++){var O=this.options.wrapAround?o.modulo(M,C):M,N=this.slides[O];N&&(x=x.concat(N.getCellElements()))}return x},l.queryCell=function(n){if(typeof n=="number")return this.cells[n];if(typeof n=="string"){if(n.match(/^[#.]?[\d/]/))return;n=this.element.querySelector(n)}return this.getCell(n)},l.uiChange=function(){this.emitEvent("uiChange")},l.childUIPointerDown=function(n){n.type!="touchstart"&&n.preventDefault(),this.focus()},l.onresize=function(){this.watchCSS(),this.resize()},o.debounceMethod(r,"onresize",150),l.resize=function(){if(!(!this.isActive||this.isAnimating||this.isDragging)){this.getSize(),this.options.wrapAround&&(this.x=o.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize");var n=this.selectedElements&&this.selectedElements[0];this.selectCell(n,!1,!0)}},l.watchCSS=function(){var n=this.options.watchCSS;if(n){var d=u(this.element,":after").content;d.indexOf("flickity")!=-1?this.activate():this.deactivate()}},l.onkeydown=function(n){var d=document.activeElement&&document.activeElement!=this.element;if(!(!this.options.accessibility||d)){var C=r.keyboardHandlers[n.keyCode];C&&C.call(this)}},r.keyboardHandlers={37:function(){var n=this.options.rightToLeft?"next":"previous";this.uiChange(),this[n]()},39:function(){var n=this.options.rightToLeft?"previous":"next";this.uiChange(),this[n]()}},l.focus=function(){var n=p.pageYOffset;this.element.focus({preventScroll:!0}),p.pageYOffset!=n&&p.scrollTo(p.pageXOffset,n)},l.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.unselectSelectedSlide(),this.cells.forEach(function(n){n.destroy()}),this.element.removeChild(this.viewport),T(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},l.destroy=function(){this.deactivate(),p.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),i&&this.$element&&i.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete k[this.guid]},o.extend(l,t),r.data=function(n){n=o.getQueryElement(n);var d=n&&n.flickityGUID;return d&&k[d]},o.htmlInit(r,"flickity"),i&&i.bridget&&i.bridget("flickity",r),r.setJQuery=function(n){i=n},r.Cell=a,r.Slide=h,r})},2522(D,L,_){var S,b,P;/*!
5* Flickity v2.3.0
6* Touch, responsive, flickable carousels
7*
8* Licensed GPLv3 for open source use
9* or Flickity Commercial License for commercial use
10*
11* https://flickity.metafizzy.co
12* Copyright 2015-2021 Metafizzy
13*/(function(p,g){b=[_(9249),_(3170),_(7824),_(7728),_(9453),_(9943),_(766)],S=g,P=typeof S=="function"?S.apply(L,b):S,P!==void 0&&(D.exports=P)})(window,function(g){return g})},766(D,L,_){var S,b;(function(P,p){S=[_(9249),_(977)],b=(function(g,f){return p(P,g,f)}).apply(L,S),b!==void 0&&(D.exports=b)})(window,function(p,g,f){"use strict";g.createMethods.push("_createLazyload");var o=g.prototype;o._createLazyload=function(){this.on("select",this.lazyLoad)},o.lazyLoad=function(){var t=this.options.lazyLoad;if(t){var i=typeof t=="number"?t:0,u=this.getAdjacentCellElements(i),y=[];u.forEach(function(T){var A=a(T);y=y.concat(A)}
13),y.forEach(function(T){new h(T,this)},this)}};function a(t){if(t.nodeName=="IMG"){var i=t.getAttribute("data-flickity-lazyload"),u=t.getAttribute("data-flickity-lazyload-src"),y=t.getAttribute("data-flickity-lazyload-srcset");if(i||u||y)return[t]}var T="img[data-flickity-lazyload], img[data-flickity-lazyload-src], img[data-flickity-lazyload-srcset]",A=t.querySelectorAll(T);return f.makeArray(A)}function h(t,i){this.img=t,this.flickity=i,this.load()}return h.prototype.handleEvent=f.handleEvent,h.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);var t=this.img.getAttribute("data-flickity-lazyload")||this.img.getAttribute("data-flickity-lazyload-src"),i=this.img.getAttribute("data-flickity-lazyload-srcset");this.img.src=t,i&&this.img.setAttribute("srcset",i),this.img.removeAttribute("data-flickity-lazyload"),this.img.removeAttribute("data-flickity-lazyload-src"),this.img.removeAttribute("data-flickity-lazyload-srcset")},h.prototype.onload=function(t){this.complete(t,"flickity-lazyloaded")},h.prototype.onerror=function(t){this.complete(t,"flickity-lazyerror")},h.prototype.complete=function(t,i){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this);var u=this.flickity.getParentCell(this.img),y=u&&u.element;this.flickity.cellSizeChange(y),this.img.classList.add(i),this.flickity.dispatchEvent("lazyLoad",t,y)},g.LazyLoader=h,g})},7728(D,L,_){var S,b;(function(P,p){S=[_(9249),_(2475),_(977)],b=(function(g,f,o){return p(P,g,f,o)}).apply(L,S),b!==void 0&&(D.exports=b)})(window,function(p,g,f,o){"use strict";function a(t){this.parent=t,this._create()}a.prototype=Object.create(f.prototype),a.prototype._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickity-page-dots",this.dots=[],this.handleClick=this.onClick.bind(this),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},a.prototype.activate=function(){this.setDots(),this.holder.addEventListener("click",this.handleClick),this.bindStartEvent(this.holder),this.parent.element.appendChild(this.holder)},a.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick),this.unbindStartEvent(this.holder),this.parent.element.removeChild(this.holder)},a.prototype.setDots=function(){var t=this.parent.slides.length-this.dots.length;t>0?this.addDots(t):t<0&&this.removeDots(-t)},a.prototype.addDots=function(t){for(var i=document.createDocumentFragment(),u=[],y=this.dots.length,T=y+t,A=y;A<T;A++){var k=document.createElement("li");k.className="dot",k.setAttribute("aria-label","Page dot "+(A+1)),i.appendChild(k),u.push(k)}this.holder.appendChild(i),this.dots=this.dots.concat(u)},a.prototype.removeDots=function(t){var i=this.dots.splice(this.dots.length-t,t);i.forEach(function(u){this.holder.removeChild(u)},this)},a.prototype.updateSelected=function(){this.selectedDot&&(this.selectedDot.className="dot",this.selectedDot.removeAttribute("aria-current")),this.dots.length&&(this.selectedDot=this.dots[this.parent.selectedIndex],this.selectedDot.className="dot is-selected",this.selectedDot.setAttribute("aria-current","step"))},a.prototype.onTap=a.prototype.onClick=function(t){var i=t.target;if(i.nodeName=="LI"){this.parent.uiChange();var u=this.dots.indexOf(i);this.parent.select(u)}},a.prototype.destroy=function(){this.deactivate(),this.allOff()},g.PageDots=a,o.extend(g.defaults,{pageDots:!0}),g.createMethods.push("_createPageDots");var h=g.prototype;return h._createPageDots=function(){this.options.pageDots&&(this.pageDots=new a(this),this.on("activate",this.activatePageDots),this.on("select",this.updateSelectedPageDots),this.on("cellChange",this.updatePageDots),this.on("resize",this.updatePageDots),this.on("deactivate",this.deactivatePageDots))},h.activatePageDots=function(){this.pageDots.activate()},h.updateSelectedPageDots=function(){this.pageDots.updateSelected()},h.updatePageDots=function(){this.pageDots.setDots()},h.deactivatePageDots=function(){this.pageDots.deactivate()},g.PageDots=a,g})},9453(D,L,_){var S,b;(function(P,p){S=[_(2137),_(977),_(9249)],b=(function(g,f,o){return p(g,f,o)}).apply(L,S),b!==void 0&&(D.exports=b)})(window,function(p,g,f){"use strict";function o(h){this.parent=h,this.state="stopped",this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}o.prototype=Object.create(p.prototype),o.prototype.play=function(){if(this.state!="playing"){var h=document.hidden;if(h){document.addEventListener("visibilitychange",this.onVisibilityPlay);return}this.state="playing",document.addEventListener("visibilitychange",this.onVisibilityChange),this.tick()}},o.prototype.tick=function(){if(this.state=="playing"){var h=this.parent.options.autoPlay;h=typeof h=="number"?h:3e3;var t=this;this.clear(),this.timeout=setTimeout(function(){t.parent.next(!0),t.tick()},h)}},o.prototype.stop=function(){this.state="stopped",this.clear(),document.removeEventListener("visibilitychange",this.onVisibilityChange)},o.prototype.clear=function(){clearTimeout(this.timeout)},o.prototype.pause=function(){this.state=="playing"&&(this.state="paused",this.clear())},o.prototype.unpause=function(){this.state=="paused"&&this.play()},o.prototype.visibilityChange=function(){var h=document.hidden;this[h?"pause":"unpause"]()},o.prototype.visibilityPlay=function(){this.play(),document.removeEventListener("visibilitychange",this.onVisibilityPlay)},g.extend(f.defaults,{pauseAutoPlayOnHover:!0}),f.createMethods.push("_createPlayer");var a=f.prototype;return a._createPlayer=function(){this.player=new o(this),this.on("activate",this.activatePlayer),this.on("uiChange",this.stopPlayer),this.on("pointerDown",this.stopPlayer),this.on("deactivate",this.deactivatePlayer)},a.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},a.playPlayer=function(){this.player.play()},a.stopPlayer=function(){this.player.stop()},a.pausePlayer=function(){this.player.pause()},a.unpausePlayer=function(){this.player.unpause()},a.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},a.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},a.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},f.Player=o,f})},7824(D,L,_){var S,b;(function(P,p){S=[_(9249),_(2475),_(977)],b=(function(g,f,o){return p(P,g,f,o)}).apply(L,S),b!==void 0&&(D.exports=b)})(window,function(p,g,f,o){"use strict";var a="http://www.w3.org/2000/svg";function h(u,y){this.direction=u,this.parent=y,this._create()}h.prototype=Object.create(f.prototype),h.prototype._create=function(){this.isEnabled=!0,this.isPrevious=this.direction==-1;var u=this.parent.options.rightToLeft?1:-1;this.isLeft=this.direction==u;var y=this.element=document.createElement("button");y.className="flickity-button flickity-prev-next-button",y.className+=this.isPrevious?" previous":" next",y.setAttribute("type","button"),this.disable(),y.setAttribute("aria-label",this.isPrevious?"Previous":"Next");var T=this.createSVG();y.appendChild(T),this.parent.on("select",this.update.bind(this)),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},h.prototype.activate=function(){this.bindStartEvent(this.element),this.element.addEventListener("click",this),this.parent.element.appendChild(this.element)},h.prototype.deactivate=function(){this.parent.element.removeChild(this.element),this.unbindStartEvent(this.element),this.element.removeEventListener("click",this)},h.prototype.createSVG=function(){var u=document.createElementNS(a,"svg");u.setAttribute("class","flickity-button-icon"),u.setAttribute("viewBox","0 0 100 100");var y=document.createElementNS(a,"path"),T=t(this.parent.options.arrowShape);return y.setAttribute("d",T),y.setAttribute("class","arrow"),this.isLeft||y.setAttribute("transform","translate(100, 100) rotate(180) "),u.appendChild(y),u};function t(u){return typeof u=="string"?u:"M "+u.x0+",50 L "+u.x1+","+(u.y1+50)+" L "+u.x2+","+(u.y2+50)+" L "+u.x3+",50  L "+u.x2+","+(50-u.y2)+" L "+u.x1+","+(50-u.y1)+" Z"}h.prototype.handleEvent=o.handleEvent,h.prototype.onclick=function(){if(this.isEnabled){this.parent.uiChange();var u=this.isPrevious?"previous":"next";this.parent[u]()}},h.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},h.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},h.prototype.update=function(){var u=this.parent.slides;if(this.parent.options.wrapAround&&u.length>1){this.enable();return}var y=u.length?u.length-1:0,T=this.isPrevious?0:y,A=this.parent.selectedIndex==T?"disable":"enable";this[A]()},h.prototype.destroy=function(){this.deactivate(),this.allOff()},o.extend(g.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),g.createMethods.push("_createPrevNextButtons");var i=g.prototype;return i._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new h(-1,this),this.nextButton=new h(1,this),this.on("activate",this.activatePrevNextButtons))},i.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},i.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},g.PrevNextButton=h,g})},1331(D,L,_){var S,b;(function(P,p){S=p,b=typeof S=="function"?S.call(L,_,L,D):S,b!==void 0&&(D.exports=b)})(window,function(){"use strict";function p(f){this.parent=f,this.isOriginLeft=f.originSide=="left",this.cells=[],this.outerWidth=0,this.height=0}var g=p.prototype;return g.addCell=function(f){if(this.cells.push(f),this.outerWidth+=f.size.outerWidth,this.height=Math.max(f.size.outerHeight,this.height),this.cells.length==1){this.x=f.x;var o=this.isOriginLeft?"marginLeft":"marginRight";this.firstMargin=f.size[o]}},g.updateTarget=function(){var f=this.isOriginLeft?"marginRight":"marginLeft",o=this.getLastCell(),a=o?o.size[f]:0,h=this.outerWidth-(this.firstMargin+a);this.target=this.x+this.firstMargin+h*this.parent.cellAlign},g.getLastCell=function(){return this.cells[this.cells.length-1]}
13,g.select=function(){this.cells.forEach(function(f){f.select()})},g.unselect=function(){this.cells.forEach(function(f){f.unselect()})},g.getCellElements=function(){return this.cells.map(function(f){return f.element})},p})},1485(D,L,_){var S,b;/*!
14* getSize v2.0.3
15* measure size of elements
16* MIT license
17*/(function(P,p){S=p,b=typeof S=="function"?S.call(L,_,L,D):S,b!==void 0&&(D.exports=b)})(window,function(){"use strict";function p(A){var k=parseFloat(A),r=A.indexOf("%")==-1&&!isNaN(k);return r&&k}function g(){}var f=typeof console=="undefined"?g:function(A){console.error(A)},o=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],a=o.length;function h(){for(var A={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},k=0;k<a;k++){var r=o[k];A[r]=0}return A}function t(A){var k=getComputedStyle(A);return k||f("Style returned "+k+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),k}var i=!1,u;function y(){if(!i){i=!0;var A=document.createElement("div");A.style.width="200px",A.style.padding="1px 2px 3px 4px",A.style.borderStyle="solid",A.style.borderWidth="1px 2px 3px 4px",A.style.boxSizing="border-box";var k=document.body||document.documentElement;k.appendChild(A);var r=t(A);u=Math.round(p(r.width))==200,T.isBoxSizeOuter=u,k.removeChild(A)}}function T(A){if(y(),typeof A=="string"&&(A=document.querySelector(A)),!(!A||typeof A!="object"||!A.nodeType)){var k=t(A);if(k.display=="none")return h();var r={};r.width=A.offsetWidth,r.height=A.offsetHeight;for(var l=r.isBorderBox=k.boxSizing=="border-box",m=0;m<a;m++){var n=o[m],d=k[n],C=parseFloat(d);r[n]=isNaN(C)?0:C}var x=r.paddingLeft+r.paddingRight,M=r.paddingTop+r.paddingBottom,O=r.marginLeft+r.marginRight,N=r.marginTop+r.marginBottom,W=r.borderLeftWidth+r.borderRightWidth,j=r.borderTopWidth+r.borderBottomWidth,Y=l&&u,G=p(k.width);G!==!1&&(r.width=G+(Y?0:x+W));var et=p(k.height);return et!==!1&&(r.height=et+(Y?0:M+j)),r.innerWidth=r.width-(x+W),r.innerHeight=r.height-(M+j),r.outerWidth=r.width+O,r.outerHeight=r.height+N,r}}return T})},5127(){(function(){"use strict";if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function D(r){try{return r.defaultView&&r.defaultView.frameElement||null}catch(l){return null}}var L=(function(r){for(var l=r,m=D(l);m;)l=m.ownerDocument,m=D(l);return l})(window.document),_=[],S=null,b=null;function P(r){this.time=r.time,this.target=r.target,this.rootBounds=u(r.rootBounds),this.boundingClientRect=u(r.boundingClientRect),this.intersectionRect=u(r.intersectionRect||i()),this.isIntersecting=!!r.intersectionRect;var l=this.boundingClientRect,m=l.width*l.height,n=this.intersectionRect,d=n.width*n.height;m?this.intersectionRatio=Number((d/m).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function p(r,l){var m=l||{};if(typeof r!="function")throw new Error("callback must be a function");if(m.root&&m.root.nodeType!=1&&m.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=f(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=r,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(m.rootMargin),this.thresholds=this._initThresholds(m.threshold),this.root=m.root||null,this.rootMargin=this._rootMarginValues.map(function(n){return n.value+n.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}p.prototype.THROTTLE_TIMEOUT=100,p.prototype.POLL_INTERVAL=null,p.prototype.USE_MUTATION_OBSERVER=!0,p._setupCrossOriginUpdater=function(){return S||(S=function(r,l){!r||!l?b=i():b=y(r,l),_.forEach(function(m){m._checkForIntersections()})}),S},p._resetCrossOriginUpdater=function(){S=null,b=null},p.prototype.observe=function(r){var l=this._observationTargets.some(function(m){return m.element==r});if(!l){if(!(r&&r.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:r,entry:null}),this._monitorIntersections(r.ownerDocument),this._checkForIntersections()}},p.prototype.unobserve=function(r){this._observationTargets=this._observationTargets.filter(function(l){return l.element!=r}),this._unmonitorIntersections(r.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},p.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},p.prototype.takeRecords=function(){var r=this._queuedEntries.slice();return this._queuedEntries=[],r},p.prototype._initThresholds=function(r){var l=r||[0];return Array.isArray(l)||(l=[l]),l.sort().filter(function(m,n,d){if(typeof m!="number"||isNaN(m)||m<0||m>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return m!==d[n-1]})},p.prototype._parseRootMargin=function(r){var l=r||"0px",m=l.split(/\s+/).map(function(n){var d=/^(-?\d*\.?\d+)(px|%)$/.exec(n);if(!d)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(d[1]),unit:d[2]}});return m[1]=m[1]||m[0],m[2]=m[2]||m[0],m[3]=m[3]||m[1],m},p.prototype._monitorIntersections=function(r){var l=r.defaultView;if(l&&this._monitoringDocuments.indexOf(r)==-1){var m=this._checkForIntersections,n=null,d=null;this.POLL_INTERVAL?n=l.setInterval(m,this.POLL_INTERVAL):(o(l,"resize",m,!0),o(r,"scroll",m,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in l&&(d=new l.MutationObserver(m),d.observe(r,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(r),this._monitoringUnsubscribes.push(function(){var M=r.defaultView;M&&(n&&M.clearInterval(n),a(M,"resize",m,!0)),a(r,"scroll",m,!0),d&&d.disconnect()});var C=this.root&&(this.root.ownerDocument||this.root)||L;if(r!=C){var x=D(r);x&&this._monitorIntersections(x.ownerDocument)}}},p.prototype._unmonitorIntersections=function(r){var l=this._monitoringDocuments.indexOf(r);if(l!=-1){var m=this.root&&(this.root.ownerDocument||this.root)||L,n=this._observationTargets.some(function(x){var M=x.element.ownerDocument;if(M==r)return!0;for(;M&&M!=m;){var O=D(M);if(M=O&&O.ownerDocument,M==r)return!0}return!1});if(!n){var d=this._monitoringUnsubscribes[l];if(this._monitoringDocuments.splice(l,1),this._monitoringUnsubscribes.splice(l,1),d(),r!=m){var 
17C=D(r);C&&this._unmonitorIntersections(C.ownerDocument)}}}},p.prototype._unmonitorAllIntersections=function(){var r=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var l=0;l<r.length;l++)r[l]()},p.prototype._checkForIntersections=function(){if(!(!this.root&&S&&!b)){var r=this._rootIsInDom(),l=r?this._getRootRect():i();this._observationTargets.forEach(function(m){var n=m.element,d=t(n),C=this._rootContainsTarget(n),x=m.entry,M=r&&C&&this._computeTargetAndRootIntersection(n,d,l),O=null;this._rootContainsTarget(n)?(!S||this.root)&&(O=l):O=i();var N=m.entry=new P({time:g(),target:n,boundingClientRect:d,rootBounds:O,intersectionRect:M});x?r&&C?this._hasCrossedThreshold(x,N)&&this._queuedEntries.push(N):x&&x.isIntersecting&&this._queuedEntries.push(N):this._queuedEntries.push(N)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},p.prototype._computeTargetAndRootIntersection=function(r,l,m){if(window.getComputedStyle(r).display!="none"){for(var n=l,d=A(r),C=!1;!C&&d;){var x=null,M=d.nodeType==1?window.getComputedStyle(d):{};if(M.display=="none")return null;if(d==this.root||d.nodeType==9)if(C=!0,d==this.root||d==L)S&&!this.root?!b||b.width==0&&b.height==0?(d=null,x=null,n=null):x=b:x=m;else{var O=A(d),N=O&&t(O),W=O&&this._computeTargetAndRootIntersection(O,N,m);N&&W?(d=O,x=y(N,W)):(d=null,n=null)}else{var j=d.ownerDocument;d!=j.body&&d!=j.documentElement&&M.overflow!="visible"&&(x=t(d))}if(x&&(n=h(x,n)),!n)break;d=d&&A(d)}return n}},p.prototype._getRootRect=function(){var r;if(this.root&&!k(this.root))r=t(this.root);else{var l=k(this.root)?this.root:L,m=l.documentElement,n=l.body;r={top:0,left:0,right:m.clientWidth||n.clientWidth,width:m.clientWidth||n.clientWidth,bottom:m.clientHeight||n.clientHeight,height:m.clientHeight||n.clientHeight}}return this._expandRectByRootMargin(r)},p.prototype._expandRectByRootMargin=function(r){var l=this._rootMarginValues.map(function(n,d){return n.unit=="px"?n.value:n.value*(d%2?r.width:r.height)/100}),m={top:r.top-l[0],right:r.right+l[1],bottom:r.bottom+l[2],left:r.left-l[3]};return m.width=m.right-m.left,m.height=m.bottom-m.top,m},p.prototype._hasCrossedThreshold=function(r,l){var m=r&&r.isIntersecting?r.intersectionRatio||0:-1,n=l.isIntersecting?l.intersectionRatio||0:-1;if(m!==n)for(var d=0;d<this.thresholds.length;d++){var C=this.thresholds[d];if(C==m||C==n||C<m!=C<n)return!0}},p.prototype._rootIsInDom=function(){return!this.root||T(L,this.root)},p.prototype._rootContainsTarget=function(r){var l=this.root&&(this.root.ownerDocument||this.root)||L;return T(l,r)&&(!this.root||l==r.ownerDocument)},p.prototype._registerInstance=function(){_.indexOf(this)<0&&_.push(this)},p.prototype._unregisterInstance=function(){var r=_.indexOf(this);r!=-1&&_.splice(r,1)};function g(){return window.performance&&performance.now&&performance.now()}function f(r,l){var m=null;return function(){m||(m=setTimeout(function(){r(),m=null},l))}}function o(r,l,m,n){typeof r.addEventListener=="function"?r.addEventListener(l,m,n||!1):typeof r.attachEvent=="function"&&r.attachEvent("on"+l,m)}function a(r,l,m,n){typeof r.removeEventListener=="function"?r.removeEventListener(l,m,n||!1):typeof r.detachEvent=="function"&&r.detachEvent("on"+l,m)}function h(r,l){var m=Math.max(r.top,l.top),n=Math.min(r.bottom,l.bottom),d=Math.max(r.left,l.left),C=Math.min(r.right,l.right),x=C-d,M=n-m;return x>=0&&M>=0&&{top:m,bottom:n,left:d,right:C,width:x,height:M}||null}function t(r){var l;try{l=r.getBoundingClientRect()}catch(m){}return l?(l.width&&l.height||(l={top:l.top,right:l.right,bottom:l.bottom,left:l.left,width:l.right-l.left,height:l.bottom-l.top}),l):i()}function i(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function u(r){return!r||"x"in r?r:{top:r.top,y:r.top,bottom:r.bottom,left:r.left,x:r.left,right:r.right,width:r.width,height:r.height}}function y(r,l){var m=l.top-r.top,n=l.left-r.left;return{top:m,left:n,height:l.height,width:l.width,bottom:m+l.height,right:n+l.width}}function T(r,l){for(var m=l;m;){if(m==r)return!0;m=A(m)}return!1}function A(r){var l=r.parentNode;return r.nodeType==9&&r!=L?D(r):(l&&l.assignedSlot&&(l=l.assignedSlot.parentNode),l&&l.nodeType==11&&l.host?l.host:l)}function k(r){return r&&r.nodeType===9}window.IntersectionObserver=p,window.IntersectionObserverEntry=P})()},6377(D,L,_){var S,b;/*!
18* Unidragger v2.4.0
19* Draggable base class
20* MIT license
21*/(function(P,p){S=[_(2475)],b=(function(g){return p(P,g)}).apply(L,S),b!==void 0&&(D.exports=b)})(window,function(p,g){"use strict";function f(){}var o=f.prototype=Object.create(g.prototype);o.bindHandles=function(){this._bindHandles(!0)},o.unbindHandles=function(){this._bindHandles(!1)},o._bindHandles=function(t){t=t===void 0?!0:t;for(var i=t?"addEventListener":"removeEventListener",u=t?this._touchActionValue:"",y=0;y<this.handles.length;y++){var T=this.handles[y];this._bindStartEvent(T,t),T[i]("click",this),p.PointerEvent&&(T.style.touchAction=u)}},o._touchActionValue="none",o.pointerDown=function(t,i){var u=this.okayPointerDown(t);u&&(this.pointerDownPointer={pageX:i.pageX,pageY:i.pageY},t.preventDefault(),this.pointerDownBlur(),this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,i]))};var a={TEXTAREA:!0,INPUT:!0,SELECT:!0,OPTION:!0},h={radio:!0,checkbox:!0,button:!0,submit:!0,image:!0,file:!0};return o.okayPointerDown=function(t){var i=a[t.target.nodeName],u=h[t.target.type],y=!i||u;
21return y||this._pointerReset(),y},o.pointerDownBlur=function(){var t=document.activeElement,i=t&&t.blur&&t!=document.body;i&&t.blur()},o.pointerMove=function(t,i){var u=this._dragPointerMove(t,i);this.emitEvent("pointerMove",[t,i,u]),this._dragMove(t,i,u)},o._dragPointerMove=function(t,i){var u={x:i.pageX-this.pointerDownPointer.pageX,y:i.pageY-this.pointerDownPointer.pageY};return!this.isDragging&&this.hasDragStarted(u)&&this._dragStart(t,i),u},o.hasDragStarted=function(t){return Math.abs(t.x)>3||Math.abs(t.y)>3},o.pointerUp=function(t,i){this.emitEvent("pointerUp",[t,i]),this._dragPointerUp(t,i)},o._dragPointerUp=function(t,i){this.isDragging?this._dragEnd(t,i):this._staticClick(t,i)},o._dragStart=function(t,i){this.isDragging=!0,this.isPreventingClicks=!0,this.dragStart(t,i)},o.dragStart=function(t,i){this.emitEvent("dragStart",[t,i])},o._dragMove=function(t,i,u){this.isDragging&&this.dragMove(t,i,u)},o.dragMove=function(t,i,u){t.preventDefault(),this.emitEvent("dragMove",[t,i,u])},o._dragEnd=function(t,i){this.isDragging=!1,setTimeout(function(){delete this.isPreventing
21Clicks}.bind(this)),this.dragEnd(t,i)},o.dragEnd=function(t,i){this.emitEvent("dragEnd",[t,i])},o.onclick=function(t){this.isPreventingClicks&&t.preventDefault()},o._staticClick=function(t,i){this.isIgnoringMouseUp&&t.type=="mouseup"||(this.staticClick(t,i),t.type!="mouseup"&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},o.staticClick=function(t,i){this.emitEvent("staticClick",[t,i])},f.getPointerPoint=g.getPointerPoint,f})},2475(D,L,_){var S,b;/*!
22* Unipointer v2.4.0
23* base class for doing one thing with pointer event
24* MIT license
25*/(function(P,p){S=[_(2137)],b=(function(g){return p(P,g)}).apply(L,S),b!==void 0&&(D.exports=b)})(window,function(p,g){"use strict";function f(){}function o(){}var a=o.prototype=Object.create(g.prototype);a.bindStartEvent=function(t){this._bindStartEvent(t,!0)},a.unbindStartEvent=function(t){this._bindStartEvent(t,!1)},a._bindStartEvent=function(t,i){i=i===void 0?!0:i;var u=i?"addEventListener":"removeEventListener",y="mousedown";"ontouchstart"in p?y="touchstart":p.PointerEvent&&(y="pointerdown"),t[u](y,this)},a.handleEvent=function(t){var i="on"+t.type;this[i]&&this[i](t)},a.getTouch=function(t){for(var i=0;i<t.length;i++){var u=t[i];if(u.identifier==this.pointerIdentifier)return u}},a.onmousedown=function(t){var i=t.button;i&&i!==0&&i!==1||this._pointerDown(t,t)},a.ontouchstart=function(t){this._pointerDown(t,t.changedTouches[0])},a.onpointerdown=function(t){this._pointerDown(t,t)},a._pointerDown=function(t,i){t.button||this.isPointerDown||(this.isPointerDown=!0,this.pointerIdentifier=i.pointerId!==void 0?i.pointerId:i.identifier,this.pointerDown(t,i))},a.pointerDown=function(t,i){this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,i])};var h={mousedown:["mousemove","mouseup"],touchstart:["touchmove","touchend","touchcancel"],pointerdown:["pointermove","pointerup","pointercancel"]};return a._bindPostStartEvents=function(t){if(t){var i=h[t.type];i.forEach(function(u){p.addEventListener(u,this)},this),this._boundPointerEvents=i}},a._unbindPostStartEvents=function(){this._boundPointerEvents&&(this._boundPointerEvents.forEach(function(t){p.removeEventListener(t,this)},this),delete this._boundPointerEvents)},a.onmousemove=function(t){this._pointerMove(t,t)},a.onpointermove=function(t){t.pointerId==this.pointerIdentifier&&this._pointerMove(t,t)},a.ontouchmove=function(t){var i=this.getTouch(t.changedTouches);i&&this._pointerMove(t,i)},a._pointerMove=function(t,i){this.pointerMove(t,i)},a.pointerMove=function(t,i){this.emitEvent("pointerMove",[t,i])},a.onmouseup=function(t){this._pointerUp(t,t)},a.onpointerup=function(t){t.pointerId==this.pointerIdentifier&&this._pointerUp(t,t)},a.ontouchend=function(t){var i=this.getTouch(t.changedTouches);i&&this._pointerUp(t,i)},a._pointerUp=function(t,i){this._pointerDone(),this.pointerUp(t,i)},a.pointerUp=function(t,i){this.emitEvent("pointerUp",[t,i])},a._pointerDone=function(){this._pointerReset(),this._unbindPostStartEvents(),this.pointerDone()},a._pointerReset=function(){this.isPointerDown=!1,delete this.pointerIdentifier},a.pointerDone=f,a.onpointercancel=function(t){t.pointerId==this.pointerIdentifier&&this._pointerCancel(t,t)},a.ontouchcancel=function(t){var i=this.getTouch(t.changedTouches);i&&this._pointerCancel(t,i)},a._pointerCancel=function(t,i){this._pointerDone(),this.pointerCancel(t,i)},a.pointerCancel=function(t,i){this.emitEvent("pointerCancel",[t,i])},o.getPointerPoint=function(t){return{x:t.pageX,y:t.pageY}},o})}},dt={};function U(D){var L=dt[D];if(L!==void 0)return L.exports;var _=dt[D]={exports:{}};return Ot[D].call(_.exports,_,_.exports,U),_.exports}U.n=D=>{var L=D&&D.__esModule?()=>D.default:()=>D;return U.d(L,{a:L}),L},U.d=(D,L)=>{for(var _ in L)U.o(L,_)&&!U.o(D,_)&&Object.defineProperty(D,_,{enumerable:!0,get:L[_]})},U.g=(function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(D){if(typeof window=="object")return window}})(),U.o=(D,L)=>Object.prototype.hasOwnProperty.call(D,L),U.r=D=>{typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(D,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(D,"__esModule",{value:!0})};var ai=U(5475)})();})();
26
27//# sourceMappingURL=bundle.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.