1(()=>{var za=Object.defineProperty,Ba=Object.defineProperties;var Ra=Object.getOwnPropertyDescriptors;var Dr=Object.getOwnPropertySymbols;var Na=Object.prototype.hasOwnProperty,Va=Object.prototype.propertyIsEnumerable;var Or=(D,O,F)=>O in D?za(D,O,{enumerable:!0,configurable:!0,writable:!0,value:F}):D[O]=F,Bn=(D,O)=>{for(var F in O||(O={}))Na.call(O,F)&&Or(D,F,O[F]);if(Dr)for(var F of Dr(O))Va.call(O,F)&&Or(D,F,O[F]);return D},sr=(D,O)=>Ba(D,Ra(O));(function(D){var O={};function F(B){if(O[B])return O[B].exports;var G=O[B]={i:B,l:!1,exports:{}};return D[B].call(G.exports,G,G.exports,F),G.l=!0,G.exports}return F.m=D,F.c=O,F.d=function(B,G,U){F.o(B,G)||Object.defineProperty(B,G,{enumerable:!0,get:U})},F.r=function(B){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(B,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(B,"__esModule",{value:!0})},F.t=function(B,G){if(G&1&&(B=F(B)),G&8||G&4&&typeof B=="object"&&B&&B.__esModule)return B;var U=Object.create(null);if(F.r(U),Object.defineProperty(U,"default",{enumerable:!0,value:B}),G&2&&typeof B!="string")for(var K in B)F.d(U,K,function(X){return B[X]}.bind(null,K));return U},F.n=function(B){var G=B&&B.__esModule?function(){return B.default}:function(){return B};return F.d(G,"a",G),G},F.o=function(B,G){return Object.prototype.hasOwnProperty.call(B,G)},F.p="",F(F.s=25)})([(function(D,O,F){/*! 2 * Bootstrap index.js v5.3.8 (https://getbootstrap.com/) 3 * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 4 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 5 */(function(B,G){G(O)})(this,(function(B){"use strict";const K="transitionend",X=St=>(St&&window.CSS&&window.CSS.escape&&(St=St.replace(/#([^\s"#']+)/g,(_t,xt)=>`#${CSS.escape(xt)}`)),St),q=St=>St==null?`${St}`:Object.prototype.toString.call(St).match(/\s([a-z]+)/i)[1].toLowerCase(),nt=St=>{do St+=Math.floor(Math.random()*1e6);while(document.getElementById(St));return St},W=St=>{if(!St)return 0;let{transitionDuration:_t,transitionDelay:xt}=window.getComputedStyle(St);const Dt=Number.parseFloat(_t),Ft=Number.parseFloat(xt);return!Dt&&!Ft?0:(_t=_t.split(",")[0],xt=xt.split(",")[0],(Number.parseFloat(_t)+Number.parseFloat(xt))*1e3)},Q=St=>{St.dispatchEvent(new Event(K))},rt=St=>!St||typeof St!="object"?!1:(typeof St.jquery!="undefined"&&(St=St[0]),typeof St.nodeType!="undefined"),J=St=>rt(St)?St.jquery?St[0]:St:typeof St=="string"&&St.length>0?document.querySelector(X(St)):null,tt=St=>{if(!rt(St)||St.getClientRects().length===0)return!1;const _t=getComputedStyle(St).getPropertyValue("visibility")==="visible",xt=St.closest("details:not([open])");if(!xt)return _t;if(xt!==St){const Dt=St.closest("summary");if(Dt&&Dt.parentNode!==xt||Dt===null)return!1}return _t},at=St=>!St||St.nodeType!==Node.ELEMENT_NODE||St.classList.contains("disabled")?!0:typeof St.disabled!="undefined"?St.disabled:St.hasAttribute("disabled")&&St.getAttribute("disabled")!=="false",Y=St=>{if(!document.documentElement.attachShadow)return null;if(typeof St.getRootNode=="function"){const _t=St.getRootNode();return _t instanceof ShadowRoot?_t:null}return St instanceof ShadowRoot?St:St.parentNode?Y(St.parentNode):null},it=()=>{},ot=St=>{St.offsetHeight},ft=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,gt=[],pt=St=>{document.readyState==="loading"?(gt.length||document.addEventListener("DOMContentLoaded",()=>{for(const _t of gt)_t()}),gt.push(St)):St()},vt=()=>document.documentElement.dir==="rtl",ct=St=>{pt(()=>{const _t=ft();if(_t){const xt=St.NAME,Dt=_t.fn[xt];_t.fn[xt]=St.jQueryInterface,_t.fn[xt].Constructor=St,_t.fn[xt].noConflict=()=>(_t.fn[xt]=Dt,St.jQueryInterface)}})},dt=(St,_t=[],xt=St)=>typeof St=="function"?St.call(..._t):xt,bt=(St,_t,xt=!0)=>{if(!xt){dt(St);return}const Ft=W(_t)+5;let jt=!1;const Ht=({target:Pt})=>{Pt===_t&&(jt=!0,_t.removeEventListener(K,Ht),dt(St))};_t.addEventListener(K,Ht),setTimeout(()=>{jt||Q(_t)},Ft)},wt=(St,_t,xt,Dt)=>{const Ft=St.length;let jt=St.indexOf(_t);return jt===-1?!xt&&Dt?St[Ft-1]:St[0]:(jt+=xt?1:-1,Dt&&(jt=(jt+Ft)%Ft),St[Math.max(0,Math.min(jt,Ft-1))])};B.defineJQueryPlugin=ct,B.execute=dt,B.executeAfterTransition=bt,B.findShadowRoot=Y,B.getElement=J,B.getNextActiveElement=wt,B.getTransitionDurationFromElement=W,B.getUID=nt,B.getjQuery=ft,B.isDisabled=at,B.isElement=rt,B.isRTL=vt,B.isVisible=tt,B.noop=it,B.onDOMContentLoaded=pt,B.parseSelector=X,B.reflow=ot,B.toType=q,B.triggerTransitionEnd=Q,Object.defineProperty(B,Symbol.toStringTag,{value:"Module"})}))}),(function(D,O,F){"use strict";F.r(O),F.d(O,"lazyloadVideoElement",function(){return B}),F.d(O,"lazyloadiFrameElement",function(){return G}),F.d(O,"backgroundImageLazyLoad",function(){return U}),F.d(O,"insPanelCollapse",function(){return K});function B(){var X=[].slice.call(document.querySelectorAll("video.lazy"));if("IntersectionObserver"in window){var q=new IntersectionObserver(function(nt,W){nt.forEach(function(Q){if(Q.isIntersecting){for(var rt in Q.target.children){var J=Q.target.children[rt];typeof J.tagName=="string"&&J.tagName==="SOURCE"&&(J.src=J.dataset.src)}Q.target.load(),Q.target.classList.remove("lazy"),q.unobserve(Q.target),console.log(Q)}})});
5X.forEach(function(nt){q.observe(nt)})}}function G(){for(var X=document.querySelectorAll(".videoWrapper"),q=0;q<X.length;q++)X[q].classList.contains("popup")&&X[q].addEventListener("click",function(){var nt=this.classList.contains("youtube")?"https://www.youtube.com/embed/":"https://player.vimeo.com/video/",W=document.createElement("iframe");W.setAttribute("frameborder","0"),W.setAttribute("allowfullscreen",""),W.setAttribute("src",nt+this.dataset.embed+"?rel=0&showinfo=0&autoplay=1"),this.innerHTML="",this.appendChild(W)})}function U(){document.querySelectorAll("[data-lazy]").forEach(function(q){const nt=q.dataset.full;q.style.backgroundImage=`url(${nt})`})}function K(){$(".accordion-collapse").on("shown.bs.collapse",function(X){var q=$(this).closest(".accordion-item"),nt=q.offset().top-100;$("html,body").animate({scrollTop:nt},500)})}}),(function(D,O,F){/*! 6 * Bootstrap event-handler.js v5.3.8 (https://getbootstrap.com/) 7 * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 8 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 9 */(function(B,G){D.exports=G(F(0))})(this,(function(B){"use strict";const G=/[^.]*(?=\..*)\.|.*/,U=/\..*/,K=/::\d+$/,X={};let q=1;
9const nt={mouseenter:"mouseover",mouseleave:"mouseout"},W=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Q(ct,dt){return dt&&`${dt}::${q++}`||ct.uidEvent||q++}function rt(ct){const dt=Q(ct);return ct.uidEvent=dt,X[dt]=X[dt]||{},X[dt]}function J(ct,dt){return function bt(wt){return vt(wt,{delegateTarget:ct}),bt.oneOff&&pt.off(ct,wt.type,dt),dt.apply(ct,[wt])}}function tt(ct,dt,bt){return function wt(St){const _t=ct.querySelectorAll(dt);for(let{target:xt}=St;xt&&xt!==this;xt=xt.parentNode)for(const Dt of _t)if(Dt===xt)return vt(St,{delegateTarget:xt}),wt.oneOff&&pt.off(ct,St.type,dt,bt),bt.apply(xt,[St])}}function at(ct,dt,bt=null){return Object.values(ct).find(wt=>wt.callable===dt&&wt.delegationSelector===bt)}function Y(ct,dt,bt){const wt=typeof dt=="string",St=wt?bt:dt||bt;let _t=gt(ct);return W.has(_t)||(_t=ct),[wt,St,_t]}function it(ct,dt,bt,wt,St){if(typeof dt!="string"||!ct)return;let[_t,xt,Dt]=Y(dt,bt,wt);dt in nt&&(xt=(ue=>function(Qt){if(!Qt.relatedTarget||Qt.relatedTarget!==Qt.delegateTarget&&!Qt.delegateTarget.contains(Qt.relatedTarget))return ue.call(this,Qt)})(xt));const Ft=rt(ct),jt=Ft[Dt]||(Ft[Dt]={}),Ht=at(jt,xt,_t?bt:null);if(Ht){Ht.oneOff=Ht.oneOff&&St;return}const Pt=Q(xt,dt.replace(G,"")),Wt=_t?tt(ct,bt,xt):J(ct,xt);Wt.delegationSelector=_t?bt:null,Wt.callable=xt,Wt.oneOff=St,Wt.uidEvent=Pt,jt[Pt]=Wt,ct.addEventListener(Dt,Wt,_t)}function ot(ct,dt,bt,wt,St){const _t=at(dt[bt],wt,St);_t&&(ct.removeEventListener(bt,_t,!!St),delete dt[bt][_t.uidEvent])}function ft(ct,dt,bt,wt){const St=dt[bt]||{};for(const[_t,xt]of Object.entries(St))_t.includes(wt)&&ot(ct,dt,bt,xt.callable,xt.delegationSelector)}function gt(ct){return ct=ct.replace(U,""),nt[ct]||ct}const pt={on(ct,dt,bt,wt){it(ct,dt,bt,wt,!1)},one(ct,dt,bt,wt){it(ct,dt,bt,wt,!0)},off(ct,dt,bt,wt){if(typeof dt!="string"||!ct)return;const[St,_t,xt]=Y(dt,bt,wt),Dt=xt!==dt,Ft=rt(ct),jt=Ft[xt]||{},Ht=dt.startsWith(".");if(typeof _t!="undefined"){if(!Object.keys(jt).length)return;ot(ct,Ft,xt,_t,St?bt:null);return}if(Ht)for(const Pt of Object.keys(Ft))ft(ct,Ft,Pt,dt.slice(1));for(const[Pt,Wt]of Object.entries(jt)){const At=Pt.replace(K,"");(!Dt||dt.includes(At))&&ot(ct,Ft,xt,Wt.callable,Wt.delegationSelector)}},trigger(ct,dt,bt){if(typeof dt!="string"||!ct)return null;const wt=B.getjQuery(),St=gt(dt),_t=dt!==St;let xt=null,Dt=!0,Ft=!0,jt=!1;_t&&wt&&(xt=wt.Event(dt,bt),wt(ct).trigger(xt),Dt=!xt.isPropagationStopped(),Ft=!xt.isImmediatePropagationStopped(),jt=xt.isDefaultPrevented());const Ht=vt(new Event(dt,{bubbles:Dt,cancelable:!0}),bt);return jt&&Ht.preventDefault(),Ft&&ct.dispatchEvent(Ht),Ht.defaultPrevented&&xt&&xt.preventDefault(),Ht}};function vt(ct,dt={}){for(const[bt,wt]of Object.entries(dt))try{ct[bt]=wt}catch(St){Object.defineProperty(ct,bt,{configurable:!0,get(){return wt}})}return ct}return pt}))}),(function(D,O){var F;F=(function(){return this})();try{F=F||new Function("return this")()}catch(B){typeof window=="object"&&(F=window)}D.exports=F}),(function(D,O,F){"use strict";F.r(O),F.d(O,"navigation",function(){return B}),F.d(O,"bodyOverlay",function(){return G}),F.d(O,"navigationFunctions",function(){return U}),F.d(O,"opacityOnScroll",function(){return K}),F.d(O,"toggleHeaderSearch",function(){return X});const B=new hcOffcanvasNav("#mobile-nav",{disableAt:992,customToggle:".toggle",navTitle:!1,levelSpacing:0,levelTitles:!0,levelTitleAsBack:!1,bodyInsert:"append",insertClose:!1});function G(){$("#mobile-nav li.menu-item-has-children").on("mouseover",function(q){$("body").addClass("overlay")}),$("#mobile-nav li.menu-item-has-children").on("mouseout",function(q){$("body").removeClass("overlay")})}function U(q){q.on("toggle",(nt,W)=>{$(".hamburger.main").toggleClass("open")})}function K(){function q(){const nt=document.getElementById("header-main");let W=window.scrollY;document.body.classList.contains("frontpage")&&W>20?nt.classList.add("shade"):nt.classList.remove("shade")}window.addEventListener("scroll",q)}function X(){let q=document.getElementById("headerSearch"),nt=q.querySelector("#search"),W=q.querySelector(".searchToggle--label"),Q=q.querySelector(".search-input-group"),rt=q.querySelector("#header-search"),J=document.querySelector("#headerContact"),tt=q.querySelector("#search-submit"),at=document.body;console.log(nt);function Y(){Q.classList.toggle("open"),nt.focus()}W.addEventListener("click",function(it){it.preventDefault(),Y(),Q.
9classList.contains("open")?(W.classList.add("d-none"),tt.classList.remove("d-none"),J.classList.remove("d-lg-block"),J.classList.add("d-lg-none")):W.addEventListener("click",function(ot){W.classList.remove("d-none"),tt.classList.add("d-none"),ot.preventDefault(),Y()})}),nt.addEventListener("focusout",function(){Q.classList.remove("open"),J.classList.add("d-xl-block"),J.classList.remove("d-lg-none"),W.addEventListener("click",function(it){it.preventDefault(),Y()})})}}),(function(D,O,F){/*! 10 * Bootstrap selector-engine.js v5.3.8 (https://getbootstrap.com/) 11 * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 12 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 13 */(function(B,G){D.exports=G(F(0))})(this,(function(B){"use strict";const G=K=>{let X=K.getAttribute("data-bs-target");if(!X||X==="#"){let q=K.getAttribute("href");if(!q||!q.includes("#")&&!q.startsWith("."))return null;q.includes("#")&&!q.startsWith("#")&&(q=`#${q.split("#")[1]}`),X=q&&q!=="#"?q.trim():null}return X?X.split(",").map(q=>B.parseSelector(q)).join(","):null},U={find(K,X=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(X,K))},findOne(K,X=document.documentElement){return Element.prototype.querySelector.call(X,K)},children(K,X){return[].concat(...K.children).filter(q=>q.matches(X))},parents(K,X){const q=[];let nt=K.parentNode.closest(X);for(;nt;)q.push(nt),nt=nt.parentNode.closest(X);return q},prev(K,X){let q=K.previousElementSibling;for(;q;){if(q.matches(X))return[q];q=q.previousElementSibling}return[]},next(K,X){let q=K.nextElementSibling;for(;q;){if(q.matches(X))return[q];q=q.nextElementSibling}return[]},focusableChildren(K){const X=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(q=>`${q}:not([tabindex^="-"])`).join(",");return this.find(X,K).filter(q=>!B.isDisabled(q)&&B.isVisible(q))},getSelectorFromElement(K){const X=G(K);return X&&U.findOne(X)?X:null},getElementFromSelector(K){const X=G(K);return X?U.findOne(X):null},getMultipleElementsFromSelector(K){const X=G(K);return X?U.find(X):[]}};return U}))}),(function(D,O,F){(function(B,G){D.exports=G()})(this,function(){return(function(B){function G(K){if(U[K])return U[K].exports;var X=U[K]={exports:{},id:K,loaded:!1};return B[K].call(X.exports,X,X.exports,G),X.loaded=!0,X.exports}var U={};return G.m=B,G.c=U,G.p="dist/",G(0)})([function(B,G,U){"use strict";function K(Ft){return Ft&&Ft.__esModule?Ft:{default:Ft}}var X=Object.assign||function(Ft){for(var jt=1;jt<arguments.length;jt++){var Ht=arguments[jt];for(var Pt in Ht)Object.prototype.hasOwnProperty.call(Ht,Pt)&&(Ft[Pt]=Ht[Pt])}return Ft},q=U(1),nt=(K(q),U(6)),W=K(nt),Q=U(7),rt=K(Q),J=U(8),tt=K(J),at=U(9),Y=K(at),it=U(10),ot=K(it),ft=U(11),gt=K(ft),pt=U(14),vt=K(pt),ct=[],dt=!1,bt={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},wt=function(){var Ft=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(Ft&&(dt=!0),dt)return ct=(0,gt.default)(ct,bt),(0,ot.default)(ct,bt.once),ct},St=function(){ct=(0,vt.default)(),wt()},_t=function(){ct.forEach(function(Ft,jt){Ft.node.removeAttribute("data-aos"),Ft.node.removeAttribute("data-aos-easing"),Ft.node.removeAttribute("data-aos-duration"),Ft.node.removeAttribute("data-aos-delay")})},xt=function(Ft){return Ft===!0||Ft==="mobile"&&Y.default.mobile()||Ft==="phone"&&Y.default.phone()||Ft==="tablet"&&Y.default.tablet()||typeof Ft=="function"&&Ft()===!0},Dt=function(Ft){bt=X(bt,Ft),ct=(0,vt.default)();var jt=document.all&&!window.atob;return xt(bt.disable)||jt?_t():(bt.disableMutationObserver||tt.default.isSupported()||(console.info(` 14 aos: MutationObserver is not supported on this browser, 15 code mutations observing has been disabled. 16 You may have to call "refreshHard()" by yourself. 17 `),bt.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",bt.easing),document.querySelector("body").setAttribute("data-aos-duration",bt.duration),document.querySelector("body").setAttribute("data-aos-delay",bt.delay),bt.startEvent==="DOMContentLoaded"&&["complete","
17interactive"].indexOf(document.readyState)>-1?wt(!0):bt.startEvent==="load"?window.addEventListener(bt.startEvent,function(){wt(!0)}):document.addEventListener(bt.startEvent,function(){wt(!0)}),window.addEventListener("resize",(0,rt.default)(wt,bt.debounceDelay,!0)),window.addEventListener("orientationchange",(0,rt.default)(wt,bt.debounceDelay,!0)),window.addEventListener("scroll",(0,W.default)(function(){(0,ot.default)(ct,bt.once)},bt.throttleDelay)),bt.disableMutationObserver||tt.default.ready("[data-aos]",St),ct)};B.exports={init:Dt,refresh:wt,refreshHard:St}},function(B,G){},,,,,function(B,G){(function(U){"use strict";function K(xt,Dt,Ft){function jt(Ne){var Ke=oe,Qe=xe;return oe=xe=void 0,Ee=Ne,Xt=xt.apply(Qe,Ke)}function Ht(Ne){return Ee=Ne,Se=setTimeout(At,Dt),Ue?jt(Ne):Xt}function Pt(Ne){var Ke=Ne-_e,Qe=Ne-Ee,sn=Dt-Ke;return Oe?St(sn,re-Qe):sn}function Wt(Ne){var Ke=Ne-_e,Qe=Ne-Ee;return _e===void 0||Ke>=Dt||Ke<0||Oe&&Qe>=re}function At(){var Ne=_t();return Wt(Ne)?ue(Ne):void(Se=setTimeout(At,Pt(Ne)))}function ue(Ne){return Se=void 0,ze&&oe?jt(Ne):(oe=xe=void 0,Xt)}function Qt(){Se!==void 0&&clearTimeout(Se),Ee=0,oe=_e=xe=Se=void 0}function se(){return Se===void 0?Xt:ue(_t())}function de(){var Ne=_t(),Ke=Wt(Ne);if(oe=arguments,xe=this,_e=Ne,Ke){if(Se===void 0)return Ht(_e);if(Oe)return Se=setTimeout(At,Dt),jt(_e)}return Se===void 0&&(Se=setTimeout(At,Dt)),Xt}var oe,xe,re,Xt,Se,_e,Ee=0,Ue=!1,Oe=!1,ze=!0;if(typeof xt!="function")throw new TypeError(J);return Dt=Q(Dt)||0,q(Ft)&&(Ue=!!Ft.leading,Oe="maxWait"in Ft,re=Oe?wt(Q(Ft.maxWait)||0,Dt):re,ze="trailing"in Ft?!!Ft.trailing:ze),de.cancel=Qt,de.flush=se,de}function X(xt,Dt,Ft){var jt=!0,Ht=!0;if(typeof xt!="function")throw new TypeError(J);return q(Ft)&&(jt="leading"in Ft?!!Ft.leading:jt,Ht="trailing"in Ft?!!Ft.trailing:Ht),K(xt,Dt,{leading:jt,maxWait:Dt,trailing:Ht})}function q(xt){var Dt=typeof xt=="undefined"?"undefined":rt(xt);return!!xt&&(Dt=="object"||Dt=="function")}function nt(xt){return!!xt&&(typeof xt=="undefined"?"undefined":rt(xt))=="object"}function W(xt){return(typeof xt=="undefined"?"undefined":rt(xt))=="symbol"||nt(xt)&&bt.call(xt)==at}function Q(xt){if(typeof xt=="number")return xt;if(W(xt))return tt;if(q(xt)){var Dt=typeof xt.valueOf=="function"?xt.valueOf():xt;xt=q(Dt)?Dt+"":Dt}if(typeof xt!="string")return xt===0?xt:+xt;xt=xt.replace(Y,"");var Ft=ot.test(xt);return Ft||ft.test(xt)?gt(xt.slice(2),Ft?2:8):it.test(xt)?tt:+xt}var rt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(xt){return typeof xt}:function(xt){return xt&&typeof Symbol=="function"&&xt.constructor===Symbol&&xt!==Symbol.prototype?"symbol":typeof xt},J="Expected a function",tt=NaN,at="[object Symbol]",Y=/^\s+|\s+$/g,it=/^[-+]0x[0-9a-f]+$/i,ot=/^0b[01]+$/i,ft=/^0o[0-7]+$/i,gt=parseInt,pt=(typeof U=="undefined"?"undefined":rt(U))=="object"&&U&&U.Object===Object&&U,vt=(typeof self=="undefined"?"undefined":rt(self))=="object"&&self&&self.Object===Object&&self,ct=pt||vt||Function("return this")(),dt=Object.prototype,bt=dt.toString,wt=Math.max,St=Math.min,_t=function(){return ct.Date.now()};B.exports=X}).call(G,(function(){return this})())},function(B,G){(function(U){"use strict";function K(_t,xt,Dt){function Ft(ze){var Ne=de,Ke=oe;return de=oe=void 0,_e=ze,re=_t.apply(Ke,Ne)}function jt(ze){return _e=ze,Xt=setTimeout(Wt,xt),Ee?Ft(ze):re}function Ht(ze){var Ne=ze-Se,Ke=ze-_e,Qe=xt-Ne;return Ue?wt(Qe,xe-Ke):Qe}function Pt(ze){var Ne=ze-Se,Ke=ze-_e;return Se===void 0||Ne>=xt||Ne<0||Ue&&Ke>=xe}function Wt(){var ze=St();return Pt(ze)?At(ze):void(Xt=setTimeout(Wt,Ht(ze)))}function At(ze){return Xt=void 0,Oe&&de?Ft(ze):(de=oe=void 0,re)}function ue(){Xt!==void 0&&clearTimeout(Xt),_e=0,de=Se=oe=Xt=void 0}function Qt(){return Xt===void 0?re:At(St())}function se(){var ze=St(),Ne=Pt(ze);if(de=arguments,oe=this,Se=ze,Ne){if(Xt===void 0)return jt(Se);if(Ue)return Xt=setTimeout(Wt,xt),Ft(Se)}return Xt===void 0&&(Xt=setTimeout(Wt,xt)),re}var de,oe,xe,re,Xt,Se,_e=0,Ee=!1,Ue=!1,Oe=!0;if(typeof _t!="function")throw new TypeError(rt);return xt=W(xt)||0,X(Dt)&&(Ee=!!Dt.leading,Ue="maxWait"in Dt,xe=Ue?bt(W(Dt.maxWait)||0,xt):xe,Oe="trailing"in Dt?!!Dt.trailing:Oe),se.cancel=ue,se.flush=Qt,se}function X(_t){var xt=typeof _t=="undefined"?"undefined":Q(_t);return!!_t&&(xt=="object"||xt=="function")}function q(_t){return!!_t&&(typeof _t=="undefined"?"undefined":Q(_t))=="object"}function nt(_t){return(typeof _t=="undefined"?"undefined":Q(_t))=="symbol"||q(_t)&&dt.call(_t)==tt}function W(_t){if(typeof _t=="number")return _t;if(nt(_t))return J;if(X(_t)){var xt=typeof _t.valueOf=="function"?_t.valueOf():_t;_t=X(xt)?xt+"":xt}if(typeof _t!="string")return _t===0?_t:+_t;_t=_t.replace(at,"");var Dt=it.test(_t);return Dt||ot.test(_t)?ft(_t.slice(2),Dt?2:8):Y.test(_t)?J:+_t}var Q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(_t){return typeof _t}:function(_t){return _t&&typeof Symbol=="function"&&_t.constructor===Symbol&&_t!==Symbol.prototype?"symbol":typeof _t},rt="Expected a function",J=NaN,tt="[object Symbol]",at=/^\s+|\s+$/g,Y=/^[-+]0x[0-9a-f]+$/i,it=/^0b[01]+$/i,ot=/^0o[0-7]+$/i,ft=parseInt,gt=(typeof U=="undefined"?"undefined":Q(U))=="object"&&U&&U.Object===Object&&U,pt=(typeof self=="undefined"?"undefined":Q(self))=="object"&&self&&self.Object===Object&&self,vt=gt||pt||Function("return this")(),ct=Object.prototype,dt=ct.toString,bt=Math.max,wt=Math.min,St=function(){return vt.Date.now()};B.exports=K}).call(G,(function(){return this})())},function(B,G){"use strict";function U(Q){var rt=void 0,J=void 0,tt=void 0;for(rt=0;rt<Q.length;rt+=1)if(J=Q[rt],J.dataset&&J.dataset.aos||(tt=J.children&&U(J.children)))return!0;return!1}function K(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function X(){return!!K()}function q(Q,rt){var J=window.document,tt=K(),at=new tt(nt);W=rt,at.observe(J.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function nt(Q){Q&&Q.forEach(function(rt){var J=Array.prototype.slice.call(rt.addedNodes),tt=Array.prototype.slice.call(rt.removedNodes
17),at=J.concat(tt);if(U(at))return W()})}Object.defineProperty(G,"__esModule",{value:!0});var W=function(){};G.default={isSupported:X,ready:q}},function(B,G){"use strict";function U(J,tt){if(!(J instanceof tt))throw new TypeError("Cannot call a class as a function")}function K(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(G,"__esModule",{value:!0});var X=(function(){function J(tt,at){for(var Y=0;Y<at.length;Y++){var it=at[Y];it.enumerable=it.enumerable||!1,it.configurable=!0,"value"in it&&(it.writable=!0),Object.defineProperty(tt,it.key,it)}}return function(tt,at,Y){return at&&J(tt.prototype,at),Y&&J(tt,Y),tt}})(),q=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,nt=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,W=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,Q=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
17sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,rt=(function(){function J(){U(this,J)}return X(J,[{key:"phone",value:function(){var tt=K();return!(!q.test(tt)&&!nt.test(tt.substr(0,4)))}},{key:"mobile",value:function(){var tt=K();return!(!W.test(tt)&&!Q.test(tt.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),J})();G.default=new rt},function(B,G){"use strict";Object.defineProperty(G,"__esModule",{value:!0});var U=function(X,q,nt){var W=X.node.getAttribute("data-aos-once");q>X.position?X.node.classList.add("aos-animate"):typeof W!="undefined"&&(W==="false"||!nt&&W!=="true")&&X.node.classList.remove("aos-animate")},K=function(X,q){var nt=window.pageYOffset,W=window.innerHeight;X.forEach(function(Q,rt){U(Q,W+nt,q)})};G.default=K},function(B,G,U){"use strict";function K(W){return W&&W.__esModule?W:{default:W}}Object.defineProperty(G,"__esModule",{value:!0});var X=U(12),q=K(X),nt=function(W,Q){return W.forEach(function(rt,J){rt.node.classList.add("aos-init"),rt.position=(0,q.default)(rt.node,Q.offset)}),W};G.default=nt},function(B,G,U){"use strict";function K(W){return W&&W.__esModule?W:{default:W}}Object.defineProperty(G,"__esModule",{value:!0});var X=U(13),q=K(X),nt=function(W,Q){var rt=0,J=0,tt=window.innerHeight,at={offset:W.getAttribute("data-aos-offset"),anchor:W.getAttribute("data-aos-anchor"),anchorPlacement:W.getAttribute("data-aos-anchor-placement")};switch(at.offset&&!isNaN(at.offset)&&(J=parseInt(at.offset)),at.anchor&&document.querySelectorAll(at.anchor)&&(W=document.querySelectorAll(at.anchor)[0]),rt=(0,q.default)(W).top,at.anchorPlacement){case"top-bottom":break;case"center-bottom":rt+=W.offsetHeight/2;break;case"bottom-bottom":rt+=W.offsetHeight;break;case"top-center":rt+=tt/2;break;case"bottom-center":rt+=tt/2+W.offsetHeight;break;case"center-center":rt+=tt/2+W.offsetHeight/2;break;case"top-top":rt+=tt;break;case"bottom-top":rt+=W.offsetHeight+tt;break;case"center-top":rt+=W.offsetHeight/2+tt}return at.anchorPlacement||at.offset||isNaN(Q)||(J=Q),rt+J};G.default=nt},function(B,G){"use strict";Object.defineProperty(G,"__esModule",{value:!0});var U=function(K){for(var X=0,q=0;K&&!isNaN(K.offsetLeft)&&!isNaN(K.offsetTop);)X+=K.offsetLeft-(K.tagName!="BODY"?K.scrollLeft:0),q+=K.offsetTop-(K.tagName!="BODY"?K.scrollTop:0),K=K.offsetParent;return{top:q,left:X}};G.default=U},function(B,G){"use strict";Object.defineProperty(G,"__esModule",{value:!0});var U=function(K){return K=K||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(K,function(X){return{node:X}})};G.default=U}])})}),(function(D,O,F){/*! 18 * Bootstrap base-component.js v5.3.8 (https://getbootstrap.com/) 19 * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 20 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 21 */(function(B,G){D.exports=G(F(28),F(2),F(8),F(0))})(this,(function(B,G,U,K){"use strict";const X="5.3.8";class q extends U{constructor(W,Q){super(),W=K.getElement(W),W&&(this._element=W,this._config=this._getConfig(Q),B.set(this._element,this.constructor.DATA_KEY,this))}dispose(){B.remove(this._element,this.constructor.DATA_KEY),G.off(this._element,this.constructor.EVENT_KEY);for(const W of Object.getOwnPropertyNames(this))this[W]=null}_queueCallback(W,Q,rt=!0){K.executeAfterTransition(W,Q,rt)}_getConfig(W){return W=this._mergeConfigObj(W,this._element),W=this._configAfterMerge(W),this._typeCheckConfig(W),W}static getInstance(W){return B.get(K.getElement(W),this.DATA_KEY)}static getOrCreateInstance(W,Q={}){return this.getInstance(W)||new this(W,typeof Q=="object"?Q:null)}static get VERSION(){return X}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(W){return`${W}${this.EVENT_KEY}`}}return q}))}),(function(D,O,F){/*! 22 * Bootstrap config.js v5.3.8 (https://getbootstrap.com/) 23 * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 24 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 25 */(function(B,G){D.exports=G(F(19),F(0))})(this,(function(B,G){"use strict";class U{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(X){return X=this._mergeConfigObj(X),X=this._configAfterMerge(X),this._typeCheckConfig(X),X}_configAfterMerge(X){return X}_mergeConfigObj(X,q){const nt=G.isElement(q)?B.getDataAttribute(q,"config"):{};return Bn(Bn(Bn(Bn({},this.constructor.Default),typeof nt=="object"?nt:{}),G.isElement(q)?B.getDataAttributes(q):{}),typeof X=="object"?X:{})}_typeCheckConfig(X,q=this.constructor.DefaultType){for(const[nt,W]of Object.entries(q)){const Q=X[nt],rt=G.isElement(Q)?"element":G.toType(Q);if(!new RegExp(W).test(rt))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${nt}" provided type "${rt}" but expected type "${W}".`)}}}return U}))}),(function(D,O,F){"use strict";F.r(O),F.d(O,"contactBar",function(){return B});function B(){$(".contact_cta_toggle").on("click",function(U){U.preventDefault();const K=$("#contact_cta_wrapper");K.hasClass("active")?(K.removeClass("active"),K.slideUp(200)):(K.addClass("active"),K.slideDown(200,function(){G()}))})}function G(){const U=$("#contact_cta_marker"),K=U.offset().top,X=K+U.outerHeight(),q=$(window).scrollTop(),nt=q+$(window).height();X>q&&K<nt||$("html, body").animate({scrollTop:q+(X-nt)},200)}}),(function(D,O,F){"use strict";F.r(O),F.d(O,"priorityTabs",function(){return B});function B(){document.querySelectorAll(".priorityTabs").forEach(U=>{let K=U.querySelectorAll(".tab"),X=U.querySelector("#tabControls"),q=K.length,nt=U.querySelectorAll(".currentTab"),W=X.querySelector(".prev"),Q=X.querySelector(".next");parseInt(nt[0].dataset.tabKey)===0?W.setAttribute("disabled",""):W.removeAttribute("disabled","");function rt(ot,ft){let gt=U.querySelector(".currentPane"),pt=U.querySelectorAll(".currentTab"),vt=U.querySelectorAll(".currentMarker"),ct=parseInt(pt[0].dataset.tabKey)+1;if(ct<=ft){let wt=U.querySelector("#tab-"+ct),St=U.querySelector("#tab-content-"+ct),_t=U.querySelector("#marker-"+ct);
25wt.classList.add("active"),wt.classList.add("currentTab"),wt.setAttribute("aria-selected","true"),St.classList.add("active"),St.classList.add("show"),St.classList.add("currentPane"),_t.classList.add("active"),_t.classList.add("currentMarker"),pt[0].classList.remove("active"),pt[0].classList.remove("currentTab"),pt[0].setAttribute("aria-selected","false"),gt.classList.remove("active"),gt.classList.remove("show"),gt.classList.remove("currentPane"),vt[0].classList.remove("active"),vt[0].classList.remove("currentMarker")}gt=U.querySelector(".currentPane"),pt=U.querySelectorAll(".currentTab"),vt=U.querySelectorAll(".currentMarker");let dt=ot.querySelector(".prev"),bt=ot.querySelector(".next");parseInt(pt[0].dataset.tabKey)===0?dt.setAttribute("disabled",""):dt.removeAttribute("disabled",""),parseInt(pt[0].dataset.tabKey)===ft-1?bt.setAttribute("disabled",""):bt.removeAttribute("disabled","")}function J(ot,ft){let gt=U.querySelectorAll(".tab"),pt=U.querySelector(".currentPane"),vt=U.querySelectorAll(".currentTab"),ct=U.querySelectorAll(".currentMarker"),dt=parseInt(vt[0].dataset.tabKey)-1;if(dt<=ft&&dt>=0){let St=U.querySelector("#tab-"+dt),_t=U.querySelector("#tab-content-"+dt),xt=U.querySelector("#marker-"+dt);St.classList.add("active"),St.classList.add("currentTab"),St.setAttribute("aria-selected","true"),_t.classList.add("active"),_t.classList.add("show"),_t.classList.add("currentPane"),xt.classList.add("active"),xt.classList.add("currentMarker"),vt[0].classList.remove("active"),vt[0].classList.remove("currentTab"),vt[0].setAttribute("aria-selected","false"),pt.classList.remove("active"),pt.classList.remove("show"),pt.classList.remove("currentPane"),ct[0].classList.remove("active"),ct[0].classList.remove("currentMarker")}pt=U.querySelector(".currentPane"),vt=U.querySelectorAll(".currentTab"),ct=U.querySelectorAll(".currentMarker");let bt=ot.querySelector(".prev"),wt=ot.querySelector(".next");parseInt(vt[0].dataset.tabKey)===0?bt.setAttribute("disabled",""):bt.removeAttribute("disabled",""),parseInt(vt[0].dataset.tabKey)>=ft?wt.setAttribute("disabled",""):wt.removeAttribute("disabled","")}function tt(ot,ft,gt){let pt=ot.dataset.tabKey,vt=U.querySelector(".currentPane"),ct=U.querySelectorAll(".currentTab"),dt=U.querySelectorAll(".currentMarker");ct[0].classList.remove("active"),ct[0].classList.remove("currentTab"),ct[0].setAttribute("aria-selected","false"),vt.classList.remove("active"),vt.classList.remove("show"),vt.classList.remove("currentPane"),dt[0].classList.remove("active"),dt[0].classList.remove("currentMarker");let bt=U.querySelector("#tab-content-"+pt),wt=U.querySelector("#tab-"+pt),St=U.querySelector("#marker-"+pt);wt.classList.add("active"),wt.classList.add("currentTab"),wt.setAttribute("aria-selected","true"),bt.classList.add("active"),bt.classList.add("show"),bt.classList.add("currentPane"),St.classList.add("active"),St.classList.add("currentMarker"),vt=U.querySelector(".currentPane"),ct=U.querySelectorAll(".currentTab"),dt=U.querySelectorAll(".currentMarker");let _t=ft.querySelector(".prev"),xt=ft.querySelector(".next");parseInt(ct[0].dataset.tabKey)===0?_t.setAttribute("disabled",""):_t.removeAttribute("disabled",""),parseInt(ct[0].dataset.tabKey)>=gt-1?xt.setAttribute("disabled",""):xt.removeAttribute("disabled","")}function at(ot){tt(ot,X,q)}function Y(ot){rt(X,q)}function it(ot){J(X,q)}K.forEach(ot=>{ot.addEventListener("click",function(ft){at(ot)})}),Q.addEventListener("click",Y),W.addEventListener("click",it)})}}),(function(D,O,F){"use strict";F.r(O),F.d(O,"initPostFilters",function(){return G});var B=F(1);function G(){const U=document.querySelectorAll(".form-filter"),K=document.querySelectorAll(".filter-form"),X=document.getElementById("sort"),q=document.getElementById("search"),nt=document.getElementById("resource-search"),W=document.getElementById("search-postcode"),Q=document.getElementById("checkall");K.forEach(at=>{if(at){let Y=function(it){const ot=document.querySelector(".postWrapper");it.set("nonce",Ajax.nonce),X&&it.set("sort",X.value),q&&it.set("s",q.value),nt&&it.set("s",nt.value),W&&(it.set("postcode",W.value),console.log(W.value));
25const ft=new URLSearchParams(it);ot.innerHTML='<div class="ajaxLoader mt-4"><div class="dots"><div></div><div></div><div></div></div></div>',fetch(Ajax.ajaxurl,{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/x-www-form-urlencoded","Cache-Control":"no-cache"},body:ft}).then(gt=>gt.text()).then(gt=>{ot.innerHTML=gt,ft.delete("category"),Object(B.lazyloadVideoElement)(),Object(B.lazyloadiFrameElement)(),J()}).catch(gt=>gt)};at.addEventListener("change",function(it){let ot=new FormData(at);Y(ot)}),X&&X.addEventListener("change",function(it){let ot=new FormData(at);Y(ot)}),at.addEventListener("keydown",function(it){if(it.keyCode==13){it.preventDefault();let ot=new FormData(at);Y(ot)}})}});function rt(){let at=document.URL,Y=location.protocol+"//"+location.host+location.pathname,it=at.split("?")[1],ot=document.querySelectorAll(".page-numbers");ot&&ot.forEach(ft=>{if(ft.href){let pt=ft.href.match(/\/page\/([0-9]+)/);ft.href=Y+pt[0]+"?"+it}})}function J(){let at=location.protocol+"//"+location.host+location.pathname,Y=[];U.forEach(ot=>{(ot.checked||ot.selectedIndex)&&(console.log(ot.name+" - "+ot.value),Y.push({[ot.name]:ot.value}))}),q&&Y.push({s:q.value}),nt&&Y.push({s:nt.value});let it=tt(at,Y);if(at.includes("page/")){let ot=at.replace(/\/page\/([0-9]+)/,"");window.history.replaceState(at,null,ot),window.history.replaceState(at,null,it)}else window.history.replaceState(at,null,it);rt()}function tt(at,Y){let it=at.indexOf("#"),ot=it===-1?"":at.substr(it);return at=it===-1?at:at.substr(0,it),Y.forEach(ft=>{for(const[gt,pt]of Object.entries(ft)){let vt=new RegExp("([?&])"+gt+"=.*?(&|$)","i"),ct=at.indexOf("?")!==-1?"&":"?";pt?at.match(vt)?at=at.replace(vt,"$1"+gt+"="+pt+"$2"):at=at+ct+gt+"="+pt:(at=at.replace(new RegExp("([?&]?)"+gt+"=[^&]*","i"),""),at.slice(-1)==="?"&&(at=at.slice(0,-1)),at.indexOf("?")===-1&&(at=at.replace(/&/,"?")))}}),at+ot}W&&W.addEventListener("keyup",function(at){const Y=document.getElementById("distanceContainer");W.value.length>0?Y.classList.remove("d-none"):Y.classList.add("d-none")})}}),(function(D,O,F){"use strict";F.r(O),O.default=(function(){typeof google=="object"&&typeof google.maps=="object"&&$(".google-map").each(function(){var K=B($(this))})});function B(K){var X=K.find(".marker"),q={zoom:K.data("zoom")||16,mapTypeId:google.maps.MapTypeId.ROADMAP},nt=new google.maps.Map(K[0],q);return nt.markers=[],X.each(function(){G($(this),nt)}),U(nt),nt}function G(K,X){var q=K.data("lat"),nt=K.data("lng"),W={lat:parseFloat(q),lng:parseFloat(nt)},Q={url:'data:image/svg+xml;utf-8, <svg viewBox="0 0 24 34" xmlns="http://www.w3.org/2000/svg" width="24" height="34" background-color="%23ffffff00"><path d="M0 12C0 21.7 12 33.7 12 33.7 12 33.7 24 21.7 24 12 24 5.4 18.6 0 12 0 5.4 0 0 5.4 0 12Z" fill="%23941C81"/><path d="M7.3 12C7.3 9.4 9.4 7.3 12 7.3 14.6 7.3 16.7 9.4 16.7 12 16.7 14.6 14.6 16.7 12 16.7 9.4 16.7 7.3 14.6 7.3 12Z" fill="%23fff"/></svg>'},rt=new google.maps.Marker({position:W,map:X,icon:Q});if(X.markers.push(rt),K.html()){var J=new google.maps.InfoWindow({content:K.html()});google.maps.event.addListener(rt,"click",function(){J.open(X,rt)})}}function U(K){var X=new google.maps.LatLngBounds;K.markers.forEach(function(q){X.extend({lat:q.position.lat(),lng:q.position.lng()})}),K.markers.length==1?K.setCenter(X.getCenter()):K.fitBounds(X)}}),(function(D,O,F){"use strict";F.r(O),F.d(O,"contactUs",function(){return B});function B(){const G=document.querySelectorAll(".contactToggle");function U(){console.log("Contact Toggle"),document.getElementById("contact-us").classList.toggle("show")}}}),(function(D,O,F){"use strict";F.r(O),F.d(O,"default",function(){return nt});var B=F(22),G=F.n(B),U=F(23),K=F.n(U),X=F(24),q=F.n(X);function nt(){$(".marker-downloads").length<1||tt()}function W(at,Y,it){if(at+="",Y+="",Y.length<=0)return at.length+1;for(var ot=0,ft=0,gt=it?1:Y.length;ft=at.indexOf(Y,ft),ft>=0;)++ot,ft+=gt;return ot}function Q(){let at=[];$(".download_check").each(function(){this.checked&&at.push($(this).data("file"))});var Y=new G.a;let it=0;at.forEach((ot,ft)=>{const gt=ot.substring(ot.lastIndexOf("/")+1);K.a.getBinaryContent(ot,function(pt,vt){Y.file(gt,vt,{binary:!0}),it++,it===at.length&&Y.generateAsync({type:"blob"}).then(function(ct){Object(X.saveAs)(ct,"downloads.zip")})})})}function rt(){$(".fn-toggle-download-filters").on("click",function(){$(".fn-download-filters").slideToggle(),$(".fn-toggle-download-filters.filter-icon").toggleClass("d-none"),$(".fn-toggle-download-filters.close-filter-icon").toggleClass("d-none")}),document.addEventListener("change",function(at){var Y=at.target.getAttribute("id");if(Y!="download_type"&&Y!="download_area"&&Y!="download_category")return;at.preventDefault(),at.target.blur();const it=document.getElementById("downloads_results"),ot=document.getElementById("download_type"),ft=document.getElementById("download_area"),gt=document.getElementById("download_category"),pt=document.getElementById("document_search");it.classList.add("loading");let vt="pag=1",ct=pt.value?"&search="+pt.value:"",dt=ot.value>0?"&type="+ot.value:"",bt=ft.value>0?"&area="+ft.value:"",wt=gt.value>0?"&category="+gt.value:"";fetch(config.templateDirUri+"/rest/downloads.php?count=1"+ct+dt+bt+wt).then(function(St){return St.text()}).then(function(St){document.getElementById("results_found").innerHTML=St}),fetch(config.templateDirUri+"/rest/downloads.php?"+vt+ct+dt+bt+wt).then(function(St){return St.text()}).then(function(St){it.innerHTML=St;let _t="//"+location.host+location.pathname,xt="?pag=1",Dt=pt.value?"&search="+pt.value:"",Ft=ot.value>0?"&type="+ot.value:"",jt=ft.value>0?"&area="+ft.value:"",Ht=gt.value>0?"&category="+gt.value:"",Pt=xt+Dt+Ft+jt+Ht;const Wt=_t+Pt;window.history.replaceState&&window.history.pushState(null,"Download Results",Wt),it.classList.remove("loading")})},!1)}function J(){$(document).on("click","#pagination a",function(at){at.preventDefault(),at.target.blur();const Y=document.getElementById("downloads_results"),it=document.getElementById("download_type"),ot=document.getElementById("download_area"),ft=document.getElementById("download_category");Y.classList.add("loading");var gt=at.target.getAttribute("href").split("?");const pt=new URLSearchParams(gt[1]);var vt="";pt.get("pag")?vt=pt.get("pag"):vt=1;let ct="pag="+vt,dt=it.value>0?"&type="+it.value:"",bt=ot.value>0?"&area="+ot.value:"",wt=ft.value>
250?"&category="+ft.value:"",St=pt.get("search")?"&search="+pt.get("search"):"";fetch(config.templateDirUri+"/rest/downloads.php?count=1"+St+dt+bt+wt).then(function(_t){return _t.text()}).then(function(_t){document.getElementById("results_found").innerHTML=_t}),fetch(config.templateDirUri+"/rest/downloads.php?"+ct+St+dt+bt+wt).then(function(_t){return _t.text()}).then(function(_t){Y.innerHTML=_t;const xt=window.location.search,Dt=new URLSearchParams(xt);let Ft="//"+location.host+location.pathname,jt="?pag="+vt,Ht=Dt.get("search")?"&search="+Dt.get("search"):"",Pt=it.value>0?"&type="+it.value:"",Wt=ot.value>0?"&area="+ot.value:"",At=ft.value>0?"&category="+ft.value:"",ue=jt+Ht+Pt+Wt+At;const Qt=Ft+ue;window.history.replaceState&&window.history.pushState(null,"Download Results",Qt),Y.classList.remove("loading")})})}function tt(){$(document).on("click","#checkall",function(){console.log($(this).is(":checked"));let at=[];$(this).is(":checked")?$(".download_check").each(function(){$(this).prop("checked",!0),at.push($(this)),$(".downloadBar").addClass("show"),console.log(at)}):$(".download_check").each(function(){$(this).prop("checked",!1)}),at.length<1&&$(".downloadBar").removeClass("show")}),$(document).on("change",".download_check",function(){let at=[];this.checked&&(console.log("checked"),at.push(this),$(".downloadBar").addClass("show")),at.length<1&&$(".downloadBar").removeClass("show")}),$(document).on("click",".download_selected",function(at){let Y=[];$(".download_check").each(function(){this.checked&&Y.push(this)}),Y.length<1&&alert("No downloads selected, please select some and try again."),at.preventDefault(),Q()})}}),(function(D,O,F){"use strict";F.r(O),F.d(O,"initDericSearch",function(){return B});function B(){const q=document.getElementById("ask-deric-form");q&&q.addEventListener("submit",function(nt){nt.preventDefault();let W=new FormData(q);G(W)})}function G(q){const nt=document.querySelector(".faqSearchResults");q.set("action","ask_deric"),q.set("nonce",Ajax.nonce);const W=new URLSearchParams(q);nt.innerHTML='<div class="ajaxLoader"><div class="dots"><div></div><div></div><div></div></div></div>',fetch(Ajax.ajaxurl,{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/x-www-form-urlencoded","Cache-Control":"no-cache"},body:W}).then(Q=>Q.text()).then(Q=>{nt.innerHTML=Q;let rt=W.get("search");X([{search:rt}])}).catch(Q=>Q)}function U(q,nt){let W=q.indexOf("#"),Q=W===-1?"":q.substr(W);return q=W===-1?q:q.substr(0,W),nt.forEach(rt=>{for(const[J,tt]of Object.entries(rt)){let at=new RegExp("([?&])"+J+"=.*?(&|$)","i"),Y=q.indexOf("?")!==-1?"&":"?";tt?q.match(at)?q=q.replace(at,"$1"+J+"="+tt+"$2"):q=q+Y+J+"="+tt:(q=q.replace(new RegExp("([?&]?)"+J+"=[^&]*","i"),""),q.slice(-1)==="?"&&(q=q.slice(0,-1)),q.indexOf("?")===-1&&(q=q.replace(/&/,"?")))}}),q+Q}function K(q){let W=document.querySelector(".pagination").querySelectorAll(".page-numbers");W&&W.forEach(Q=>{let rt=Q.href;if(rt){let J=U(rt,q);Q.href=J}})}function X(q){let nt=location.protocol+"//"+location.host+location.pathname,W=U(nt,q);if(nt.includes("/page/")){let Q=nt.replace(/\/page\/([0-9]+)/,"");window.history.replaceState(nt,null,Q),window.history.replaceState(nt,null,W)}else window.history.replaceState(nt,null,W);K(q)}}),(function(D,O,F){"use strict";F.r(O),F.d(O,"initSwiper",function(){return Oa}),F.d(O,"storySlider",function(){return La}),F.d(O,"homepageStory",function(){return Fa}),F.d(O,"paginationResetSlides",function(){return $a});var B=F(6),G=F.n(B);function U(j){return j!==null&&typeof j=="object"&&"constructor"in j&&j.constructor===Object}function K(j={},lt={}){Object.keys(lt).forEach(st=>{typeof j[st]=="undefined"?j[st]=lt[st]:U(lt[st])&&U(j[st])&&Object.keys(lt[st]).length>0&&K(j[st],lt[st])})}const X={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function q(){const j=typeof document!="undefined"?document:{};return K(j,X),j}const nt={document:X,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){}
25,clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(j){return typeof setTimeout=="undefined"?(j(),null):setTimeout(j,0)},cancelAnimationFrame(j){typeof setTimeout!="undefined"&&clearTimeout(j)}};function W(){const j=typeof window!="undefined"?window:{};return K(j,nt),j}function Q(j){const lt=j.__proto__;Object.defineProperty(j,"__proto__",{get(){return lt},set(st){lt.__proto__=st}})}class rt extends Array{constructor(lt){typeof lt=="number"?super(lt):(super(...lt||[]),Q(this))}}function J(j=[]){const lt=[];return j.forEach(st=>{Array.isArray(st)?lt.push(...J(st)):lt.push(st)}),lt}function tt(j,lt){return Array.prototype.filter.call(j,lt)}function at(j){const lt=[];for(let st=0;st<j.length;st+=1)lt.indexOf(j[st])===-1&<.push(j[st]);return lt}function Y(j){return j.toLowerCase().replace(/-(.)/g,(lt,st)=>st.toUpperCase())}function it(j,lt){if(typeof j!="string")return[j];const st=[],ht=lt.querySelectorAll(j);for(let Et=0;Et<ht.length;Et+=1)st.push(ht[Et]);return st}function ot(j,lt){const st=W(),ht=q();let Et=[];if(!lt&&j instanceof rt)return j;if(!j)return new rt(Et);if(typeof j=="string"){const Ct=j.trim();if(Ct.indexOf("<")>=0&&Ct.indexOf(">")>=0){let $t="div";Ct.indexOf("<li")===0&&($t="ul"),Ct.indexOf("<tr")===0&&($t="tbody"),(Ct.indexOf("<td")===0||Ct.indexOf("<th")===0)&&($t="tr"),Ct.indexOf("<tbody")===0&&($t="table"),Ct.indexOf("<option")===0&&($t="select");const Nt=ht.createElement($t);Nt.innerHTML=Ct;for(let Mt=0;Mt<Nt.childNodes.length;Mt+=1)Et.push(Nt.childNodes[Mt])}else Et=it(j.trim(),lt||ht)}else if(j.nodeType||j===st||j===ht)Et.push(j);else if(Array.isArray(j)){if(j instanceof rt)return j;Et=j}return new rt(at(Et))}ot.fn=rt.prototype;function ft(...j){const lt=J(j.map(st=>st.split(" ")));return this.forEach(st=>{st.classList.add(...lt)}),this}function gt(...j){const lt=J(j.map(st=>st.split(" ")));return this.forEach(st=>{st.classList.remove(...lt)}),this}function pt(...j){const lt=J(j.map(st=>st.split(" ")));this.forEach(st=>{lt.forEach(ht=>{st.classList.toggle(ht)})})}function vt(...j){const lt=J(j.map(st=>st.split(" ")));return tt(this,st=>lt.filter(ht=>st.classList.contains(ht)).length>0).length>0}function ct(j,lt){if(arguments.length===1&&typeof j=="string")return this[0]?this[0].getAttribute(j):void 0;for(let st=0;st<this.length;st+=1)if(arguments.length===2)this[st].setAttribute(j,lt);else for(const ht in j)this[st][ht]=j[ht],this[st].setAttribute(ht,j[ht]);return this}function dt(j){for(let lt=0;lt<this.length;lt+=1)this[lt].removeAttribute(j);return this}function bt(j,lt){if(arguments.length===1&&typeof j=="string"){if(this[0])return this[0][j]}else{for(let st=0;st<this.length;st+=1)if(arguments.length===2)this[st][j]=lt;else for(const ht in j)this[st][ht]=j[ht];return this}return this}function wt(j,lt){let st;if(typeof lt=="undefined"){if(st=this[0],!st)return;if(st.dom7ElementDataStorage&&j in st.dom7ElementDataStorage)return st.dom7ElementDataStorage[j];const ht=st.getAttribute(`data-${j}`);return ht||void 0}for(let ht=0;ht<this.length;ht+=1)st=this[ht],st.dom7ElementDataStorage||(st.dom7ElementDataStorage={}),st.dom7ElementDataStorage[j]=lt;return this}function St(j){for(let lt=0;lt<this.length;lt+=1){const st=this[lt];st.dom7ElementDataStorage&&st.dom7ElementDataStorage[j]&&(st.dom7ElementDataStorage[j]=null,delete st.dom7ElementDataStorage[j])}}function _t(){const j=this[0];if(!j)return;const lt={};if(j.dataset)for(const st in j.dataset)lt[st]=j.dataset[st];else for(let st=0;st<j.attributes.length;st+=1){const ht=j.attributes[st];ht.name.indexOf("data-")>=0&&(lt[Y(ht.name.split("data-")[1])]=ht.value)}for(const st in lt)lt[st]==="false"?lt[st]=!1:lt[st]==="true"?lt[st]=!0:parseFloat(lt[st])===lt[st]*1&&(lt[st]*=1);return lt}function xt(j){if(typeof j=="undefined"){const lt=this[0];if(!lt)return;if(lt.multiple&<.nodeName.toLowerCase()==="select"){const st=[];for(let ht=0;ht<lt.selectedOptions.length;ht+=1)st.push(lt.selectedOptions[ht].value);return st}return lt.value}for(let lt=0;lt<this.length;lt+=1){const st=this[lt];if(Array.isArray(j)&&st.multiple&&st.nodeName.toLowerCase()==="select")for(let ht=0;ht<st.options.length;ht+=1)st.options[ht].selected=j.indexOf(st.options[ht].value)>=0;else st.value=j}return this}function Dt(j){return this.val(j)}function Ft(j){for(let lt=0;lt<this.length;lt+=1)this[lt].style.transform=j;return this}function jt(j){for(let lt=0;lt<this.length;
25lt+=1)this[lt].style.transitionDuration=typeof j!="string"?`${j}ms`:j;return this}function Ht(...j){let[lt,st,ht,Et]=j;typeof j[1]=="function"&&([lt,ht,Et]=j,st=void 0),Et||(Et=!1);function Ct(zt){const It=zt.target;if(!It)return;const Ot=zt.target.dom7EventData||[];if(Ot.indexOf(zt)<0&&Ot.unshift(zt),ot(It).is(st))ht.apply(It,Ot);else{const Vt=ot(It).parents();for(let Yt=0;Yt<Vt.length;Yt+=1)ot(Vt[Yt]).is(st)&&ht.apply(Vt[Yt],Ot)}}function $t(zt){const It=zt&&zt.target?zt.target.dom7EventData||[]:[];It.indexOf(zt)<0&&It.unshift(zt),ht.apply(this,It)}const Nt=lt.split(" ");let Mt;for(let zt=0;zt<this.length;zt+=1){const It=this[zt];if(st)for(Mt=0;Mt<Nt.length;Mt+=1){const Ot=Nt[Mt];It.dom7LiveListeners||(It.dom7LiveListeners={}),It.dom7LiveListeners[Ot]||(It.dom7LiveListeners[Ot]=[]),It.dom7LiveListeners[Ot].push({listener:ht,proxyListener:Ct}),It.addEventListener(Ot,Ct,Et)}else for(Mt=0;Mt<Nt.length;Mt+=1){const Ot=Nt[Mt];It.dom7Listeners||(It.dom7Listeners={}),It.dom7Listeners[Ot]||(It.dom7Listeners[Ot]=[]),It.dom7Listeners[Ot].push({listener:ht,proxyListener:$t}),It.addEventListener(Ot,$t,Et)}}return this}function Pt(...j){let[lt,st,ht,Et]=j;typeof j[1]=="function"&&([lt,ht,Et]=j,st=void 0),Et||(Et=!1);const Ct=lt.split(" ");for(let $t=0;$t<Ct.length;$t+=1){const Nt=Ct[$t];for(let Mt=0;Mt<this.length;Mt+=1){const zt=this[Mt];let It;if(!st&&zt.dom7Listeners?It=zt.dom7Listeners[Nt]:st&&zt.dom7LiveListeners&&(It=zt.dom7LiveListeners[Nt]),It&&It.length)for(let Ot=It.length-1;Ot>=0;Ot-=1){const Vt=It[Ot];ht&&Vt.listener===ht||ht&&Vt.listener&&Vt.listener.dom7proxy&&Vt.listener.dom7proxy===ht?(zt.removeEventListener(Nt,Vt.proxyListener,Et),It.splice(Ot,1)):ht||(zt.removeEventListener(Nt,Vt.proxyListener,Et),It.splice(Ot,1))}}}return this}function Wt(...j){const lt=this;let[st,ht,Et,Ct]=j;typeof j[1]=="function"&&([st,Et,Ct]=j,ht=void 0);function $t(...Nt){Et.apply(this,Nt),lt.off(st,ht,$t,Ct),$t.dom7proxy&&delete $t.dom7proxy}return $t.dom7proxy=Et,lt.on(st,ht,$t,Ct)}function At(...j){const lt=W(),st=j[0].split(" "),ht=j[1];for(let Et=0;Et<st.length;Et+=1){const Ct=st[Et];for(let $t=0;$t<this.length;$t+=1){const Nt=this[$t];if(lt.CustomEvent){const Mt=new lt.CustomEvent(Ct,{detail:ht,bubbles:!0,cancelable:!0});Nt.dom7EventData=j.filter((zt,It)=>It>0),Nt.dispatchEvent(Mt),Nt.dom7EventData=[],delete Nt.dom7EventData}}}return this}function ue(j){const lt=this;function st(ht){ht.target===this&&(j.call(this,ht),lt.off("transitionstart",st))}return j&<.on("transitionstart",st),this}function Qt(j){const lt=this;function st(ht){ht.target===this&&(j.call(this,ht),lt.off("transitionend",st))}return j&<.on("transitionend",st),this}function se(j){const lt=this;function st(ht){ht.target===this&&(j.call(this,ht),lt.off("animationend",st))}return j&<.on("animationend",st),this}function de(){const j=W();return this[0]===j?j.innerWidth:this.length>0?parseFloat(this.css("width")):null}function oe(j){if(this.length>0){if(j){const lt=this.styles();return this[0].offsetWidth+parseFloat(lt.getPropertyValue("margin-right"))+parseFloat(lt.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function xe(){const j=W();return this[0]===j?j.innerHeight:this.length>0?parseFloat(this.css("height")):null}function re(j){if(this.length>0){if(j){const lt=this.styles();return this[0].offsetHeight+parseFloat(lt.getPropertyValue("margin-top"))+parseFloat(lt.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function Xt(){if(this.length>0){const j=W(),lt=q(),st=this[0],ht=st.getBoundingClientRect(),Et=lt.body,Ct=st.clientTop||Et.clientTop||0,$t=st.clientLeft||Et.clientLeft||0,Nt=st===j?j.scrollY:st.scrollTop,Mt=st===j?j.scrollX:st.scrollLeft;return{top:ht.top+Nt-Ct,left:ht.left+Mt-$t}}return null}function Se(){for(let j=0;j<this.length;j+=1)this[j].style.display="none";return this}function _e(){const j=W();for(let lt=0;lt<this.length;lt+=1){const st=this[lt];st.style.display==="none"&&(st.style.display=""),j.getComputedStyle(st,null).getPropertyValue("display")==="none"&&(st.style.display="block")}return this}function Ee(){const j=W();return this[0]?j.getComputedStyle(this[0],null):{}}function Ue(j,lt){const st=W();let ht;if(arguments.length===1)if(typeof j=="string"){if(this[0])return st.getComputedStyle(this[0],null).getPropertyValue(j)}else{for(ht=0;ht<this.length;ht+=1)for(const Et in j)this[ht].style[Et]=j[Et];return this}if(arguments.length===2&&typeof j=="string"){for(ht=0;ht<this.length;ht+=1)this[ht].style[j]=lt;return this}return this}function Oe(j){return j?(this.forEach((lt,st)=>{j.apply(lt,[lt,st])}),this):this}function ze(j){const lt=tt(this,j);return ot(lt)}function Ne(j){if(typeof j=="undefined")return this[0]?this[0].innerHTML:null;for(let lt=0;lt<this.length;lt+=1)this[lt].innerHTML=j;return this}function Ke(j){if(typeof j=="undefined")return this[0]?this[0].textContent.trim():null;for(let lt=0;lt<this.length;lt+=1)this[lt].textContent=j;return this}function Qe(j){const lt=W(),st=q(),ht=this[0];let Et,Ct;if(!ht||typeof j=="undefined")return!1;if(typeof j=="string"){if(ht.matches)return ht.matches(j);if(ht.webkitMatchesSelector)return ht.webkitMatchesSelector(j);
25if(ht.msMatchesSelector)return ht.msMatchesSelector(j);for(Et=ot(j),Ct=0;Ct<Et.length;Ct+=1)if(Et[Ct]===ht)return!0;return!1}if(j===st)return ht===st;if(j===lt)return ht===lt;if(j.nodeType||j instanceof rt){for(Et=j.nodeType?[j]:j,Ct=0;Ct<Et.length;Ct+=1)if(Et[Ct]===ht)return!0;return!1}return!1}function sn(){let j=this[0],lt;if(j){for(lt=0;(j=j.previousSibling)!==null;)j.nodeType===1&&(lt+=1);return lt}}function on(j){if(typeof j=="undefined")return this;const lt=this.length;if(j>lt-1)return ot([]);if(j<0){const st=lt+j;return st<0?ot([]):ot([this[st]])}return ot([this[j]])}function kt(...j){let lt;const st=q();for(let ht=0;ht<j.length;ht+=1){lt=j[ht];for(let Et=0;Et<this.length;Et+=1)if(typeof lt=="string"){const Ct=st.createElement("div");for(Ct.innerHTML=lt;Ct.firstChild;)this[Et].appendChild(Ct.firstChild)}else if(lt instanceof rt)for(let Ct=0;Ct<lt.length;Ct+=1)this[Et].appendChild(lt[Ct]);else this[Et].appendChild(lt)}return this}function Lt(j){return ot(j).append(this),this}function yt(j){const lt=q();let st,ht;for(st=0;st<this.length;st+=1)if(typeof j=="string"){const Et=lt.createElement("div");for(Et.innerHTML=j,ht=Et.childNodes.length-1;ht>=0;ht-=1)this[st].insertBefore(Et.childNodes[ht],this[st].childNodes[0])}else if(j instanceof rt)for(ht=0;ht<j.length;ht+=1)this[st].insertBefore(j[ht],this[st].childNodes[0]);else this[st].insertBefore(j,this[st].childNodes[0]);return this}function ut(j){return ot(j).prepend(this),this}function Tt(j){const lt=ot(j);for(let st=0;st<this.length;st+=1)if(lt.length===1)lt[0].parentNode.insertBefore(this[st],lt[0]);else if(lt.length>1)for(let ht=0;ht<lt.length;ht+=1)lt[ht].parentNode.insertBefore(this[st].cloneNode(!0),lt[ht])}function Rt(j){const lt=ot(j);for(let st=0;st<this.length;st+=1)if(lt.length===1)lt[0].parentNode.insertBefore(this[st],lt[0].nextSibling);else if(lt.length>1)for(let ht=0;ht<lt.length;ht+=1)lt[ht].parentNode.insertBefore(this[st].cloneNode(!0),lt[ht].nextSibling)}function Zt(j){return this.length>0?j?this[0].nextElementSibling&&ot(this[0].nextElementSibling).is(j)?ot([this[0].nextElementSibling]):ot([]):this[0].nextElementSibling?ot([this[0].nextElementSibling]):ot([]):ot([])}function ie(j){const lt=[];let st=this[0];if(!st)return ot([]);for(;st.nextElementSibling;){const ht=st.nextElementSibling;j?ot(ht).is(j)&<.push(ht):lt.push(ht),st=ht}return ot(lt)}function le(j){if(this.length>0){const lt=this[0];return j?lt.previousElementSibling&&ot(lt.previousElementSibling).is(j)?ot([lt.previousElementSibling]):ot([]):lt.previousElementSibling?ot([lt.previousElementSibling]):ot([])}return ot([])}function be(j){const lt=[];let st=this[0];if(!st)return ot([]);for(;st.previousElementSibling;){const ht=st.previousElementSibling;j?ot(ht).is(j)&<.push(ht):lt.push(ht),st=ht}return ot(lt)}function De(j){return this.nextAll(j).add(this.prevAll(j))}function Ae(j){const lt=[];for(let st=0;st<this.length;st+=1)this[st].parentNode!==null&&(j?ot(this[st].parentNode).is(j)&<.push(this[st].parentNode):lt.push(this[st].parentNode));return ot(lt)}function Fe(j){const lt=[];for(let st=0;st<this.length;st+=1){let ht=this[st].parentNode;for(;ht;)j?ot(ht).is(j)&<.push(ht):lt.push(ht),ht=ht.parentNode}return ot(lt)}function hn(j){let lt=this;return typeof j=="undefined"?ot([]):(lt.is(j)||(lt=lt.parents(j).eq(0)),lt)}function tn(j){const lt=[];for(let st=0;st<this.length;st+=1){const ht=this[st].querySelectorAll(j);for(let Et=0;Et<ht.length;Et+=1)lt.push(ht[Et])}return ot(lt)}function rn(j){const lt=[];for(let st=0;st<this.length;st+=1){const ht=this[st].children;for(let Et=0;Et<ht.length;Et+=1)(!j||ot(ht[Et]).is(j))&<.push(ht[Et])}return ot(lt)}function Cn(){for(let j=0;j<this.length;j+=1)this[j].parentNode&&this[j].parentNode.removeChild(this[j]);return this}function yn(){return this.remove()}function On(...j){const lt=this;let st,ht;for(st=0;st<j.length;st+=1){const Et=ot(j[st]);for(ht=0;ht<Et.length;ht+=1)lt.push(Et[ht])}return lt}function mn(){for(let j=0;j<this.length;j+=1){const lt=this[j];if(lt.nodeType===1){for(let st=0;st<lt.childNodes.length;st+=1)lt.childNodes[st].parentNode&<.childNodes[st].parentNode.removeChild(lt.childNodes[st]);lt.textContent=""}}return this}function An(...j){const lt=W();let[st,ht,Et,Ct,$t]=j;return j.length===4&&typeof Ct=="function"&&($t=Ct,[st,ht,Et,$t,Ct]=j),typeof Ct=="undefined"&&(Ct="swing"),this.each(function(){const Mt=this;let zt,It,Ot,Vt,Yt,Kt,Ut,qt,ae=ht>0||ht===0,ne=st>0||st===0;if(typeof Ct=="undefined"&&(Ct="swing"),ae&&(zt=Mt.scrollTop,Et||(Mt.scrollTop=ht)),ne&&(It=Mt.scrollLeft,Et||(Mt.scrollLeft=st)),!Et)return;ae&&(Ot=Mt.scrollHeight-Mt.offsetHeight,Yt=Math.max(Math.min(ht,Ot),0)),ne&&(Vt=Mt.scrollWidth-Mt.offsetWidth,Kt=Math.max(Math.min(st,Vt),0));let ce=null;ae&&Yt===zt&&(ae=!1),ne&&Kt===It&&(ne=!1);
25function ke(Ce=new Date().getTime()){ce===null&&(ce=Ce);const Ie=Math.max(Math.min((Ce-ce)/Et,1),0),Me=Ct==="linear"?Ie:.5-Math.cos(Ie*Math.PI)/2;let Re;if(ae&&(Ut=zt+Me*(Yt-zt)),ne&&(qt=It+Me*(Kt-It)),ae&&Yt>zt&&Ut>=Yt&&(Mt.scrollTop=Yt,Re=!0),ae&&Yt<zt&&Ut<=Yt&&(Mt.scrollTop=Yt,Re=!0),ne&&Kt>It&&qt>=Kt&&(Mt.scrollLeft=Kt,Re=!0),ne&&Kt<It&&qt<=Kt&&(Mt.scrollLeft=Kt,Re=!0),Re){$t&&$t();return}ae&&(Mt.scrollTop=Ut),ne&&(Mt.scrollLeft=qt),lt.requestAnimationFrame(ke)}lt.requestAnimationFrame(ke)})}function Pe(...j){let[lt,st,ht,Et]=j;j.length===3&&typeof ht=="function"&&([lt,st,Et,ht]=j);const Ct=this;return typeof lt=="undefined"?Ct.length>0?Ct[0].scrollTop:null:Ct.scrollTo(void 0,lt,st,ht,Et)}function Te(...j){let[lt,st,ht,Et]=j;j.length===3&&typeof ht=="function"&&([lt,st,Et,ht]=j);const Ct=this;return typeof lt=="undefined"?Ct.length>0?Ct[0].scrollLeft:null:Ct.scrollTo(lt,void 0,st,ht,Et)}function Bt(j,lt){const st=W(),ht=this,Et={props:Object.assign({},j),params:Object.assign({duration:300,easing:"swing"},lt),elements:ht,animating:!1,que:[],easingProgress($t,Nt){return $t==="swing"?.5-Math.cos(Nt*Math.PI)/2:typeof $t=="function"?$t(Nt):Nt},stop(){Et.frameId&&st.cancelAnimationFrame(Et.frameId),Et.animating=!1,Et.elements.each($t=>{const Nt=$t;delete Nt.dom7AnimateInstance}),Et.que=[]},done($t){if(Et.animating=!1,Et.elements.each(Nt=>{const Mt=Nt;delete Mt.dom7AnimateInstance}),$t&&$t(ht),Et.que.length>0){const Nt=Et.que.shift();Et.animate(Nt[0],Nt[1])}},animate($t,Nt){if(Et.animating)return Et.que.push([$t,Nt]),Et;const Mt=[];Et.elements.each((qt,ae)=>
25{let ne,ce,ke,Ce,Ie;qt.dom7AnimateInstance||(Et.elements[ae].dom7AnimateInstance=Et),Mt[ae]={container:qt},Object.keys($t).forEach(Me=>{ne=st.getComputedStyle(qt,null).getPropertyValue(Me).replace(",","."),ce=parseFloat(ne),ke=ne.replace(ce,""),Ce=parseFloat($t[Me]),Ie=$t[Me]+ke,Mt[ae][Me]={initialFullValue:ne,initialValue:ce,unit:ke,finalValue:Ce,finalFullValue:Ie,currentValue:ce}})});let zt=null,It,Ot=0,Vt=0,Yt,Kt=!1;Et.animating=!0;function Ut(){It=new Date().getTime();let qt,ae;Kt||(Kt=!0,Nt.begin&&Nt.begin(ht)),zt===null&&(zt=It),Nt.progress&&Nt.progress(ht,Math.max(Math.min((It-zt)/Nt.duration,1),0),zt+Nt.duration-It<0?0:zt+Nt.duration-It,zt),Mt.forEach(ne=>{const ce=ne;Yt||ce.done||Object.keys($t).forEach(ke=>{if(Yt||ce.done)return;qt=Math.max(Math.min((It-zt)/Nt.duration,1),0),ae=Et.easingProgress(Nt.easing,qt);const{initialValue:Ce,finalValue:Ie,unit:Me}=ce[ke];ce[ke].currentValue=Ce+ae*(Ie-Ce);const Re=ce[ke].currentValue;if((Ie>Ce&&Re>=Ie||Ie<Ce&&Re<=Ie)&&(ce.container.style[ke]=Ie+Me,Vt+=1,Vt===Object.keys($t).length&&(ce.done=!0,Ot+=1),Ot===Mt.length&&(Yt=!0)),Yt){Et.done(Nt.complete);return}ce.container.style[ke]=Re+Me})}),!Yt&&(Et.frameId=st.requestAnimationFrame(Ut))}return Et.frameId=st.requestAnimationFrame(Ut),Et}};if(Et.elements.length===0)return ht;let Ct;for(let $t=0;$t<Et.elements.length;$t+=1)Et.elements[$t].dom7AnimateInstance?Ct=Et.elements[$t].dom7AnimateInstance:Et.elements[$t].dom7AnimateInstance=Et;return Ct||(Ct=Et),j==="stop"?Ct.stop():Ct.animate(Et.props,Et.params),ht}function Gt(){const j=this;for(let lt=0;lt<j.length;lt+=1)j[lt].dom7AnimateInstance&&j[lt].dom7AnimateInstance.stop()}const ee="resize scroll".split(" ");function Jt(j){function lt(...st){if(typeof st[0]=="undefined"){for(let ht=0;ht<this.length;ht+=1)ee.indexOf(j)<0&&(j in this[ht]?this[ht][j]():ot(this[ht]).trigger(j));return this}return this.on(j,...st)}return lt}const he=Jt("click"),me=Jt("blur"),we=Jt("focus"),$e=Jt("focusin"),fe=Jt("focusout"),en=Jt("keyup"),He=Jt("keydown"),qe=Jt("keypress"),Xe=Jt("submit"),bn=Jt("change"),an=Jt("mousedown"),Ze=Jt("mousemove"),fn=Jt("mouseup"),pn=Jt("mouseenter"),En=Jt("mouseleave"),je=Jt("mouseout"),nn=Jt("mouseover"),gn=Jt("touchstart"),wn=Jt("touchend"),vn=Jt("touchmove"),Ln=Jt("resize"),Tn=Jt("scroll");var Sn=ot;const cn={addClass:ft,removeClass:gt,hasClass:vt,toggleClass:pt,attr:ct,removeAttr:dt,transform:Ft,transition:jt,on:Ht,off:Pt,trigger:At,transitionEnd:Qt,outerWidth:oe,outerHeight:re,styles:Ee,offset:Xt,css:Ue,each:Oe,html:Ne,text:Ke,is:Qe,index:sn,eq:on,append:kt,prepend:yt,next:Zt,nextAll:ie,prev:le,prevAll:be,parent:Ae,parents:Fe,closest:hn,find:tn,children:rn,filter:ze,remove:Cn};Object.keys(cn).forEach(j=>{Object.defineProperty(ot.fn,j,{value:cn[j],writable:!0})});var Be=ot;function kn(j){const lt=j;Object.keys(lt).forEach(st=>{try{lt[st]=null}catch(ht){}try{delete lt[st]}catch(ht){}})}function Mn(j,lt=0){return setTimeout(j,lt)}function xn(){return Date.now()}function Yn(j){const lt=W();let st;return lt.getComputedStyle&&(st=lt.getComputedStyle(j,null)),!st&&j.currentStyle&&(st=j.currentStyle),st||(st=j.style),st}function Xn(j,lt="x"){const st=W();let ht,Et,Ct;const $t=Yn(j,null);return st.WebKitCSSMatrix?(Et=$t.transform||$t.webkitTransform,Et.split(",").length>6&&(Et=Et.split(", ").map(Nt=>Nt.replace(",",".")).join(", ")),Ct=new st.WebKitCSSMatrix(Et==="none"?"":Et)):(Ct=$t.MozTransform||$t.OTransform||$t.MsTransform||$t.msTransform||$t.transform||$t.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),ht=Ct.toString().split(",")),lt==="x"&&(st.WebKitCSSMatrix?Et=Ct.m41:ht.length===16?Et=parseFloat(ht[12]):Et=parseFloat(ht[4])),lt==="y"&&(st.WebKitCSSMatrix?Et=Ct.m42:ht.length===16?Et=parseFloat(ht[13]):Et=parseFloat(ht[5])),Et||0}function In(j){return typeof j=="object"&&j!==null&&j.constructor&&Object.prototype.toString.call(j).slice(8,-1)==="Object"}function Rn(j){return typeof window!="undefined"&&typeof window.HTMLElement!="undefined"?j instanceof HTMLElement:j&&(j.nodeType===1||j.nodeType===11)}function _n(...j){const lt=Object(j[0]),st=["__proto__","constructor","prototype"];for(let ht=1;ht<j.length;ht+=1){const Et=j[ht];if(Et!=null&&!Rn(Et)){const Ct=Object.keys(Object(Et)).filter($t=>st.indexOf($t)<0);for(let $t=0,Nt=Ct.length;$t<Nt;$t+=1){const Mt=Ct[$t],zt=Object.getOwnPropertyDescriptor(Et,Mt);zt!==void 0&&zt.enumerable&&(In(lt[Mt])&&In(Et[Mt])?Et[Mt].__swiper__?lt[Mt]=Et[Mt]:_n(lt[Mt],Et[Mt]):!In(lt[Mt])&&In(Et[Mt])?(lt[Mt]={},Et[Mt].__swiper__?lt[Mt]=Et[Mt]:_n(lt[Mt],Et[Mt])):lt[Mt]=Et[Mt])}}}return lt}function zn(j,lt,st){j.style.setProperty(lt,st)}function Kn({swiper:j,targetPosition:lt,side:st}){const ht=W(),Et=-j.translate;let Ct=null,$t;const Nt=j.params.speed;j.wrapperEl.style.scrollSnapType="none",ht.cancelAnimationFrame(j.cssModeFrameID);const Mt=lt>Et?"next":"prev",zt=(Ot,Vt)=>Mt==="next"&&Ot>=Vt||Mt==="prev"&&Ot<=Vt,It=()=>{$t=new Date().getTime(),Ct===null&&(Ct=$t);const Ot=Math.max(Math.min(($t-Ct)/Nt,1),0),Vt=.5-Math.cos(Ot*Math.PI)/2;let Yt=Et+Vt*(lt-Et);if(zt(Yt,lt)&&(Yt=lt),j.wrapperEl.scrollTo({[st]:Yt}),zt(Yt,lt)){j.wrapperEl.style.overflow="hidden",j.wrapperEl.style.scrollSnapType="",setTimeout(()=>{j.wrapperEl.style.overflow="",j.wrapperEl.scrollTo({[st]:Yt})}),ht.cancelAnimationFrame(j.cssModeFrameID);return}j.cssModeFrameID=ht.requestAnimationFrame(It)};It()}let Gn;function Nn(){const j=W(),lt=q();return{smoothScroll:lt.documentElement&&"scrollBehavior"in lt.documentElement.style,touch:!!("ontouchstart"in j||j.DocumentTouch&< instanceof j.DocumentTouch),passiveListener:(function(){let ht=!1;try{const Et=Object.defineProperty({},"passive",{get(){ht=!0}});j.addEventListener("testPassiveListener",null,Et)}catch(Et){}return ht})(),gestures:(function(){return"ongesturestart"in j})()}}function or(){return Gn||(Gn=Nn()),Gn}let Hn;function Zn({userAgent:j}={}){const lt=or(),st=W(),ht=st.navigator.platform,Et=j||st.navigator.userAgent,Ct={ios:!1,android:!1},$t=st.screen.width,Nt=st.screen.height,Mt=Et.match(/(Android);?[\s\/]+([\d.]+)?/);let zt=Et.match(/(iPad).*OS\s([\d_]+)/);const It=Et.match(/(iPod)(.*OS\s([\d_]+))?/),Ot=!zt&&Et.match(/(iPhone\sOS|iOS)\s([\d_]+)/),Vt=ht==="Win32";let Yt=ht==="MacIntel";const Kt=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!zt&&Yt&<.touch&&Kt.indexOf(`${$t}x${Nt}`)>=0&&(zt=Et.match(/(Version)\/([\d.]+)/),zt||(zt=[0,1,"13_0_0"]),Yt=!1),Mt&&!Vt&&(Ct.os="android",Ct.android=!0),(zt||Ot||It)&&(Ct.os="ios",Ct.ios=!0),Ct}function lr(j={}){return Hn||(Hn=Zn(j)),Hn}let cr;function Lr(){const j=W();function lt(){const st=j.navigator.userAgent.toLowerCase();return st.indexOf("safari")>=0&&st.indexOf("chrome")<0&&st.indexOf("android")<0}
vendor: 5,194 bytes, line 25
25return{isSafari:lt(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(j.navigator.userAgent)}}function Fr(){return cr||(cr=Lr()),cr}function $r({swiper:j,on:lt,emit:st}){const ht=W();let Et=null,Ct=null;const $t=()=>{!j||j.destroyed||!j.initialized||(st("beforeResize"),st("resize"))},Nt=()=>{!j||j.destroyed||!j.initialized||(Et=new ResizeObserver(It=>{Ct=ht.requestAnimationFrame(()=>{const{width:Ot,height:Vt}=j;let Yt=Ot,Kt=Vt;It.forEach(({contentBoxSize:Ut,contentRect:qt,target:ae})=>{ae&&ae!==j.el||(Yt=qt?qt.width:(Ut[0]||Ut).inlineSize,Kt=qt?qt.height:(Ut[0]||Ut).blockSize)}),(Yt!==Ot||Kt!==Vt)&&$t()})}),Et.observe(j.el))},Mt=()=>{Ct&&ht.cancelAnimationFrame(Ct),Et&&Et.unobserve&&j.el&&(Et.unobserve(j.el),Et=null)},zt=()=>{!j||j.destroyed||!j.initialized||st("orientationchange")};lt("init",()=>{if(j.params.resizeObserver&&typeof ht.ResizeObserver!="undefined"){Nt();return}ht.addEventListener("resize",$t),ht.addEventListener("orientationchange",zt)}),lt("destroy",()=>{Mt(),ht.removeEventListener("resize",$t),ht.removeEventListener("orientationchange",zt)})}function zr({swiper:j,extendParams:lt,on:st,emit:ht}){const Et=[],Ct=W(),$t=(zt,It={})=>{const Ot=Ct.MutationObserver||Ct.WebkitMutationObserver,Vt=new Ot(Yt=>{if(Yt.length===1){ht("observerUpdate",Yt[0]);return}const Kt=function(){ht("observerUpdate",Yt[0])};Ct.requestAnimationFrame?Ct.requestAnimationFrame(Kt):Ct.setTimeout(Kt,0)});Vt.observe(zt,{attributes:typeof It.attributes=="undefined"?!0:It.attributes,childList:typeof It.childList=="undefined"?!0:It.childList,characterData:typeof It.characterData=="undefined"?!0:It.characterData}),Et.push(Vt)},Nt=()=>{if(j.params.observer){if(j.params.observeParents){const zt=j.$el.parents();for(let It=0;It<zt.length;It+=1)$t(zt[It])}$t(j.$el[0],{childList:j.params.observeSlideChildren}),$t(j.$wrapperEl[0],{attributes:!1})}},Mt=()=>{Et.forEach(zt=>{zt.disconnect()}),Et.splice(0,Et.length)};lt({observer:!1,observeParents:!1,observeSlideChildren:!1}),st("init",Nt),st("destroy",Mt)}var Br={on(j,lt,st){const ht=this;if(!ht.eventsListeners||ht.destroyed||typeof lt!="function")return ht;const Et=st?"unshift":"push";return j.split(" ").forEach(Ct=>{ht.eventsListeners[Ct]||(ht.eventsListeners[Ct]=[]),ht.eventsListeners[Ct][Et](lt)}),ht},once(j,lt,st){const ht=this;if(!ht.eventsListeners||ht.destroyed||typeof lt!="function")return ht;function Et(...Ct){ht.off(j,Et),Et.__emitterProxy&&delete Et.__emitterProxy,lt.apply(ht,Ct)}return Et.__emitterProxy=lt,ht.on(j,Et,st)},onAny(j,lt){const st=this;if(!st.eventsListeners||st.destroyed||typeof j!="function")return st;const ht=lt?"unshift":"push";return st.eventsAnyListeners.indexOf(j)<0&&st.eventsAnyListeners[ht](j),st},offAny(j){const lt=this;if(!lt.eventsListeners||lt.destroyed||!lt.eventsAnyListeners)return lt;const st=lt.eventsAnyListeners.indexOf(j);return st>=0&<.eventsAnyListeners.splice(st,1),lt},off(j,lt){const st=this;return!st.eventsListeners||st.destroyed||!st.eventsListeners||j.split(" ").forEach(ht=>{typeof lt=="undefined"?st.eventsListeners[ht]=[]:st.eventsListeners[ht]&&st.eventsListeners[ht].forEach((Et,Ct)=>{(Et===lt||Et.__emitterProxy&&Et.__emitterProxy===lt)&&st.eventsListeners[ht].splice(Ct,1)})}),st},emit(...j){const lt=this;if(!lt.eventsListeners||lt.destroyed||!lt.eventsListeners)return lt;let st,ht,Et;return typeof j[0]=="string"||Array.isArray(j[0])?(st=j[0],ht=j.slice(1,j.length),Et=lt):(st=j[0].events,ht=j[0].data,Et=j[0].context||lt),ht.unshift(Et),(Array.isArray(st)?st:st.split(" ")).forEach($t=>{lt.eventsAnyListeners&<.eventsAnyListeners.length&<.eventsAnyListeners.forEach(Nt=>{Nt.apply(Et,[$t,...ht])}),lt.eventsListeners&<.eventsListeners[$t]&<.eventsListeners[$t].forEach(Nt=>{Nt.apply(Et,ht)})}),lt}};function Rr(){const j=this;let lt,st;const ht=j.$el;typeof j.params.width!="undefined"&&j.params.width!==null?lt=j.params.width:lt=ht[0].clientWidth,typeof j.params.height!="undefined"&&j.params.height!==null?st=j.params.height:st=ht[0].clientHeight,!(lt===0&&j.isHorizontal()||st===0&&j.isVertical())&&(lt=lt-parseInt(ht.css("padding-left")||0,10)-parseInt(ht.css("padding-right")||0,10),st=st-parseInt(ht.css("padding-top")||0,10)-parseInt(ht.css("padding-bottom")||0,10),Number.isNaN(lt)&&(lt=0),Number.isNaN(st)&&(st=0),Object.assign(j,{width:lt,height:st,size:j.isHorizontal()?lt:st}))}function Nr(){const j=this;function lt(Le){return j.isHorizontal()?Le:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[Le]}function st(Le,ge){return parseFloat(Le.getPropertyValue(lt(ge))||0)}const ht=j.params,{$wrapperEl:Et,size:Ct,rtlTranslate:$t,wrongRTL:Nt}=j,Mt=j.virtual&&ht.virtual.enabled,zt=Mt?j.virtual.slides.length:j.slides.length,It=Et.children(`.${j.params.slideClass}`),Ot=Mt?j.virtual.slides.length:It.length;let Vt=[];const Yt=[],Kt=[];let Ut=ht.slidesOffsetBefore;typeof Ut=="function"&&(Ut=ht.slidesOffsetBefore.call(j));let qt=ht.slidesOffsetAfter;typeof qt=="function"&&(qt=ht.slidesOffsetAfter.call(j));const ae=j.snapGrid.length,ne=j.slidesGrid.length;
25let ce=ht.spaceBetween,ke=-Ut,Ce=0,Ie=0;if(typeof Ct=="undefined")return;typeof ce=="string"&&ce.indexOf("%")>=0&&(ce=parseFloat(ce.replace("%",""))/100*Ct),j.virtualSize=-ce,$t?It.css({marginLeft:"",marginBottom:"",marginTop:""}):It.css({marginRight:"",marginBottom:"",marginTop:""}),ht.centeredSlides&&ht.cssMode&&(zn(j.wrapperEl,"--swiper-centered-offset-before",""),zn(j.wrapperEl,"--swiper-centered-offset-after",""));const Me=ht.grid&&ht.grid.rows>1&&j.grid;Me&&j.grid.initSlides(Ot);let Re;const We=ht.slidesPerView==="auto"&&ht.breakpoints&&Object.keys(ht.breakpoints).filter(Le=>typeof ht.breakpoints[Le].slidesPerView!="undefined").length>0;for(let Le=0;Le<Ot;Le+=1){Re=0;const ge=It.eq(Le);if(Me&&j.grid.updateSlide(Le,ge,Ot,lt),ge.css("display")!=="none"){if(ht.slidesPerView==="auto"){We&&(It[Le].style[lt("width")]="");const pe=getComputedStyle(ge[0]),ye=ge[0].style.transform,Ye=ge[0].style.webkitTransform;if(ye&&(ge[0].style.transform="none"),Ye&&(ge[0].style.webkitTransform="none"),ht.roundLengths)Re=j.isHorizontal()?ge.outerWidth(!0):ge.outerHeight(!0);else{const Je=st(pe,"width"),ve=st(pe,"padding-left"),Ge=st(pe,"padding-right"),Ve=st(pe,"margin-left"),un=st(pe,"margin-right"),dn=pe.getPropertyValue("box-sizing");if(dn&&dn==="border-box")Re=Je+Ve+un;else{const{clientWidth:Pn,offsetWidth:Vn}=ge[0];Re=Je+ve+Ge+Ve+un+(Vn-Pn)}}ye&&(ge[0].style.transform=ye),Ye&&(ge[0].style.webkitTransform=Ye),ht.roundLengths&&(Re=Math.floor(Re))}else Re=(Ct-(ht.slidesPerView-1)*ce)/ht.slidesPerView,ht.roundLengths&&(Re=Math.floor(Re)),It[Le]&&(It[Le].style[lt("width")]=`${Re}px`);It[Le]&&(It[Le].swiperSlideSize=Re),Kt.push(Re),ht.centeredSlides?(ke=ke+Re/2+Ce/2+ce,Ce===0&&Le!==0&&(ke=ke-Ct/2-ce),Le===0&&(ke=ke-Ct/2-ce),Math.abs(ke)<1/1e3&&(ke=0),ht.roundLengths&&(ke=Math.floor(ke)),Ie%ht.slidesPerGroup===0&&Vt.push(ke),Yt.push(ke)):(ht.roundLengths&&(ke=Math.floor(ke)),(Ie-Math.min(j.params.slidesPerGroupSkip,Ie))%j.params.slidesPerGroup===0&&Vt.push(ke),Yt.push(ke),ke=ke+Re+ce),j.virtualSize+=Re+ce,Ce=Re,Ie+=1}}if(j.virtualSize=Math.max(j.virtualSize,Ct)+qt,$t&&Nt&&(ht.effect==="slide"||ht.effect==="coverflow")&&Et.css({width:`${j.virtualSize+ht.spaceBetween}px`}),ht.setWrapperSize&&Et.css({[lt("width")]:`${j.virtualSize+ht.spaceBetween}px`}),Me&&j.grid.updateWrapperSize(Re,Vt,lt),!ht.centeredSlides){const Le=[];for(let ge=0;ge<Vt.length;ge+=1){let pe=Vt[ge];ht.roundLengths&&(pe=Math.floor(pe)),Vt[ge]<=j.virtualSize-Ct&&Le.push(pe)}Vt=Le,Math.floor(j.virtualSize-Ct)-Math.floor(Vt[Vt.length-1])>1&&Vt.push(j.virtualSize-Ct)}if(Vt.length===0&&(Vt=[0]),ht.spaceBetween!==0){const Le=j.isHorizontal()&&$t?"marginLeft":lt("marginRight");It.filter((ge,pe)=>ht.cssMode?pe!==It.length-1:!0).css({[Le]:`${ce}px`})}if(ht.centeredSlides&&ht.centeredSlidesBounds){let Le=0;Kt.forEach(pe=>{Le+=pe+(ht.spaceBetween?ht.spaceBetween:0)}),Le-=ht.spaceBetween;const ge=Le-Ct;Vt=Vt.map(pe=>pe<0?-Ut:pe>ge?ge+qt:pe)}if(ht.centerInsufficientSlides){let Le=0;if(Kt.forEach(ge=>{Le+=ge+(ht.spaceBetween?ht.spaceBetween:0)}),Le-=ht.spaceBetween,Le<Ct){const ge=(Ct-Le)/2;Vt.forEach((pe,ye)=>{Vt[ye]=pe-ge}),Yt.forEach((pe,ye)=>{Yt[ye]=pe+ge})}}if(Object.assign(j,{slides:It,snapGrid:Vt,slidesGrid:Yt,slidesSizesGrid:Kt}),ht.centeredSlides&&ht.cssMode&&!ht.centeredSlidesBounds){zn(j.wrapperEl,"--swiper-centered-offset-before",`${-Vt[0]}px`),zn(j.wrapperEl,"--swiper-centered-offset-after",`${j.size/2-Kt[Kt.length-1]/2}px`);const Le=-j.snapGrid[0],ge=-j.slidesGrid[0];j.snapGrid=j.snapGrid.map(pe=>pe+Le),j.slidesGrid=j.slidesGrid.map(pe=>pe+ge)}if(Ot!==zt&&j.emit("slidesLengthChange"),Vt.length!==ae&&(j.params.watchOverflow&&j.checkOverflow(),j.emit("snapGridLengthChange")),Yt.length!==ne&&j.emit("slidesGridLengthChange"),ht.watchSlidesProgress&&j.updateSlidesOffset(),!Mt&&!ht.cssMode&&(ht.effect==="slide"||ht.effect==="fade")){const Le=`${ht.containerModifierClass}backface-hidden`,ge=j.$el.hasClass(Le);Ot<=ht.maxBackfaceHiddenSlides?ge||j.$el.addClass(Le):ge&&j.$el.removeClass(Le)}}function Vr(j){const lt=this,st=[],ht=lt.virtual&<.params.virtual.enabled;let Et=0,Ct;typeof j=="number"?lt.setTransition(j):j===!0&<.setTransition(lt.params.speed);const $t=Nt=>ht?lt.slides.filter(Mt=>parseInt(Mt.getAttribute("data-swiper-slide-index"),10)===Nt)[0]:lt.slides.eq(Nt)[0];if(lt.params.slidesPerView!=="auto"&<.params.slidesPerView>1)if(lt.params.centeredSlides)(lt.visibleSlides||Be([])).each(Nt=>{st.push(Nt)});else for(Ct=0;Ct<Math.ceil(lt.params.slidesPerView);Ct+=1){const Nt=lt.activeIndex+Ct;if(Nt>lt.slides.length&&!ht)break;st.push($t(Nt))}else st.push($t(lt.activeIndex));for(Ct=0;Ct<st.length;Ct+=1)if(typeof st[Ct]!="undefined"){const Nt=st[Ct].offsetHeight;Et=Nt>Et?Nt:Et}(Et||Et===0)&<.$wrapperEl.css("height",`${Et}px`)}function jr(){const j=this,lt=j.slides;for(let st=0;st<lt.length;st+=1)lt[st].swiperSlideOffset=j.isHorizontal()?lt[st].offsetLeft:lt[st].offsetTop}function Gr(j=this&&this.translate||0){const lt=this,st=lt.params,{slides:ht,rtlTranslate:Et,snapGrid:Ct}=lt;if(ht.length===0)return;typeof ht[0].swiperSlideOffset=="undefined"&<.updateSlidesOffset();let $t=-j;Et&&($t=j),ht.removeClass(st.slideVisibleClass),lt.visibleSlidesIndexes=[],lt.visibleSlides=[];for(let Nt=0;Nt<ht.length;Nt+=1){const Mt=ht[Nt];let zt=Mt.swiperSlideOffset;st.cssMode&&st.centeredSlides&&(zt-=ht[0].swiperSlideOffset);const It=($t+(st.centeredSlides?lt.minTranslate():0)-zt)/(Mt.swiperSlideSize+st.spaceBetween),Ot=($t-Ct[0]+(st.centeredSlides?lt.minTranslate():0)-zt)/(Mt.swiperSlideSize+st.spaceBetween),Vt=-($t-zt),Yt=Vt+lt.slidesSizesGrid[Nt];(Vt>=0&&Vt<lt.size-1||Yt>1&&Yt<=lt.size||Vt<=0&&Yt>=lt.size)&&(lt.visibleSlides.push(Mt),lt.visibleSlidesIndexes.push(Nt),ht.eq(Nt).addClass(st.slideVisibleClass)),Mt.progress=Et?-It:It,Mt.originalProgress=Et?-Ot:Ot}lt.visibleSlides=Be(lt.visibleSlides)}function Hr(j){const lt=this;
25if(typeof j=="undefined"){const zt=lt.rtlTranslate?-1:1;j=lt&<.translate&<.translate*zt||0}const st=lt.params,ht=lt.maxTranslate()-lt.minTranslate();let{progress:Et,isBeginning:Ct,isEnd:$t}=lt;const Nt=Ct,Mt=$t;ht===0?(Et=0,Ct=!0,$t=!0):(Et=(j-lt.minTranslate())/ht,Ct=Et<=0,$t=Et>=1),Object.assign(lt,{progress:Et,isBeginning:Ct,isEnd:$t}),(st.watchSlidesProgress||st.centeredSlides&&st.autoHeight)&<.updateSlidesProgress(j),Ct&&!Nt&<.emit("reachBeginning toEdge"),$t&&!Mt&<.emit("reachEnd toEdge"),(Nt&&!Ct||Mt&&!$t)&<.emit("fromEdge"),lt.emit("progress",Et)}function Ur(){const j=this,{slides:lt,params:st,$wrapperEl:ht,activeIndex:Et,realIndex:Ct}=j,$t=j.virtual&&st.virtual.enabled;lt.removeClass(`${st.slideActiveClass} ${st.slideNextClass} ${st.slidePrevClass} ${st.slideDuplicateActiveClass} ${st.slideDuplicateNextClass} ${st.slideDuplicatePrevClass}`);let Nt;$t?Nt=j.$wrapperEl.find(`.${st.slideClass}[data-swiper-slide-index="${Et}"]`):Nt=lt.eq(Et),Nt.addClass(st.slideActiveClass),st.loop&&(Nt.hasClass(st.slideDuplicateClass)?ht.children(`.${st.slideClass}:not(.${st.slideDuplicateClass})[data-swiper-slide-index="${Ct}"]`).addClass(st.slideDuplicateActiveClass):ht.children(`.${st.slideClass}.${st.slideDuplicateClass}[data-swiper-slide-index="${Ct}"]`).addClass(st.slideDuplicateActiveClass));let Mt=Nt.nextAll(`.${st.slideClass}`).eq(0).addClass(st.slideNextClass);st.loop&&Mt.length===0&&(Mt=lt.eq(0),Mt.addClass(st.slideNextClass));let zt=Nt.prevAll(`.${st.slideClass}`).eq(0).addClass(st.slidePrevClass);st.loop&&zt.length===0&&(zt=lt.eq(-1),zt.addClass(st.slidePrevClass)),st.loop&&(Mt.hasClass(st.slideDuplicateClass)?ht.children(`.${st.slideClass}:not(.${st.slideDuplicateClass})[data-swiper-slide-index="${Mt.attr("data-swiper-slide-index")}"]`).addClass(st.slideDuplicateNextClass):ht.children(`.${st.slideClass}.${st.slideDuplicateClass}[data-swiper-slide-index="${Mt.attr("data-swiper-slide-index")}"]`).addClass(st.slideDuplicateNextClass),zt.hasClass(st.slideDuplicateClass)?ht.children(`.${st.slideClass}:not(.${st.slideDuplicateClass})[data-swiper-slide-index="${zt.attr("data-swiper-slide-index")}"]`).addClass(st.slideDuplicatePrevClass):ht.children(`.${st.slideClass}.${st.slideDuplicateClass}[data-swiper-slide-index="${zt.attr("data-swiper-slide-index")}"]`).addClass(st.slideDuplicatePrevClass)),j.emitSlidesClasses()}function Wr(j){const lt=this,st=lt.rtlTranslate?lt.translate:-lt.translate,{slidesGrid:ht,snapGrid:Et,params:Ct,activeIndex:$t,realIndex:Nt,snapIndex:Mt}=lt;let zt=j,It;if(typeof zt=="undefined"){for(let Vt=0;Vt<ht.length;Vt+=1)typeof ht[Vt+1]!="undefined"?st>=ht[Vt]&&st<ht[Vt+1]-(ht[Vt+1]-ht[Vt])/2?zt=Vt:st>=ht[Vt]&&st<ht[Vt+1]&&(zt=Vt+1):st>=ht[Vt]&&(zt=Vt);Ct.normalizeSlideIndex&&(zt<0||typeof zt=="undefined")&&(zt=0)}if(Et.indexOf(st)>=0)It=Et.indexOf(st);else{const Vt=Math.min(Ct.slidesPerGroupSkip,zt);It=Vt+Math.floor((zt-Vt)/Ct.slidesPerGroup)}if(It>=Et.length&&(It=Et.length-1),zt===$t){It!==Mt&&(lt.snapIndex=It,lt.emit("snapIndexChange"));return}const Ot=parseInt(lt.slides.eq(zt).attr("data-swiper-slide-index")||zt,10);Object.assign(lt,{snapIndex:It,realIndex:Ot,previousIndex:$t,activeIndex:zt}),lt.emit("activeIndexChange"),lt.emit("snapIndexChange"),Nt!==Ot&<.emit("realIndexChange"),(lt.initialized||lt.params.runCallbacksOnInit)&<.emit("slideChange")}function qr(j){const lt=this,st=lt.params,ht=Be(j).closest(`.${st.slideClass}`)[0];let Et=!1,Ct;if(ht){for(let $t=0;$t<lt.slides.length;$t+=1)if(lt.slides[$t]===ht){Et=!0,Ct=$t;break}}if(ht&&Et)lt.clickedSlide=ht,lt.virtual&<.params.virtual.enabled?lt.clickedIndex=parseInt(Be(ht).attr("data-swiper-slide-index"),10):lt.clickedIndex=Ct;else{lt.clickedSlide=void 0,lt.clickedIndex=void 0;return}st.slideToClickedSlide&<.clickedIndex!==void 0&<.clickedIndex!==lt.activeIndex&<.slideToClickedSlide()}var Yr={updateSize:Rr,updateSlides:Nr,updateAutoHeight:Vr,updateSlidesOffset:jr,updateSlidesProgress:Gr,updateProgress:Hr,updateSlidesClasses:Ur,updateActiveIndex:Wr,updateClickedSlide:qr};function Xr(j=this.isHorizontal()?"x":"y"){const lt=this,{params:st,rtlTranslate:ht,translate:Et,$wrapperEl:Ct}=lt;if(st.virtualTranslate)return ht?-Et:Et;if(st.cssMode)return Et;let $t=Xn(Ct[0],j);return ht&&($t=-$t),$t||0}function Kr(j,lt){const st=this,{rtlTranslate:ht,params:Et,$wrapperEl:Ct,wrapperEl:$t,progress:Nt}=st;let Mt=0,zt=0;const It=0;st.isHorizontal()?Mt=ht?-j:j:zt=j,Et.roundLengths&&(Mt=Math.floor(Mt),zt=M
vendor: 2,455 bytes, line 25
25ath.floor(zt)),Et.cssMode?$t[st.isHorizontal()?"scrollLeft":"scrollTop"]=st.isHorizontal()?-Mt:-zt:Et.virtualTranslate||Ct.transform(`translate3d(${Mt}px, ${zt}px, ${It}px)`),st.previousTranslate=st.translate,st.translate=st.isHorizontal()?Mt:zt;let Ot;const Vt=st.maxTranslate()-st.minTranslate();Vt===0?Ot=0:Ot=(j-st.minTranslate())/Vt,Ot!==Nt&&st.updateProgress(j),st.emit("setTranslate",st.translate,lt)}function Zr(){return-this.snapGrid[0]}function Jr(){return-this.snapGrid[this.snapGrid.length-1]}function Qr(j=0,lt=this.params.speed,st=!0,ht=!0,Et){const Ct=this,{params:$t,wrapperEl:Nt}=Ct;if(Ct.animating&&$t.preventInteractionOnTransition)return!1;const Mt=Ct.minTranslate(),zt=Ct.maxTranslate();let It;if(ht&&j>Mt?It=Mt:ht&&j<zt?It=zt:It=j,Ct.updateProgress(It),$t.cssMode){const Ot=Ct.isHorizontal();if(lt===0)Nt[Ot?"scrollLeft":"scrollTop"]=-It;else{if(!Ct.support.smoothScroll)return Kn({swiper:Ct,targetPosition:-It,side:Ot?"left":"top"}),!0;Nt.scrollTo({[Ot?"left":"top"]:-It,behavior:"smooth"})}return!0}return lt===0?(Ct.setTransition(0),Ct.setTranslate(It),st&&(Ct.emit("beforeTransitionStart",lt,Et),Ct.emit("transitionEnd"))):(Ct.setTransition(lt),Ct.setTranslate(It),st&&(Ct.emit("beforeTransitionStart",lt,Et),Ct.emit("transitionStart")),Ct.animating||(Ct.animating=!0,Ct.onTranslateToWrapperTransitionEnd||(Ct.onTranslateToWrapperTransitionEnd=function(Vt){!Ct||Ct.destroyed||Vt.target===this&&(Ct.$wrapperEl[0].removeEventListener("transitionend",Ct.onTranslateToWrapperTransitionEnd),Ct.$wrapperEl[0].removeEventListener("webkitTransitionEnd",Ct.onTranslateToWrapperTransitionEnd),Ct.onTranslateToWrapperTransitionEnd=null,delete Ct.onTranslateToWrapperTransitionEnd,st&&Ct.emit("transitionEnd"))}),Ct.$wrapperEl[0].addEventListener("transitionend",Ct.onTranslateToWrapperTransitionEnd),Ct.$wrapperEl[0].addEventListener("webkitTransitionEnd",Ct.onTranslateToWrapperTransitionEnd))),!0}var ti={getTranslate:Xr,setTranslate:Kr,minTranslate:Zr,maxTranslate:Jr,translateTo:Qr};function ei(j,lt){const st=this;st.params.cssMode||st.$wrapperEl.transition(j),st.emit("setTransition",j,lt)}function vr({swiper:j,runCallbacks:lt,direction:st,step:ht}){const{activeIndex:Et,previousIndex:Ct}=j;let $t=st;if($t||(Et>Ct?$t="next":Et<Ct?$t="prev":$t="reset"),j.emit(`transition${ht}`),lt&&Et!==Ct){if($t==="reset"){j.emit(`slideResetTransition${ht}`);return}j.emit(`slideChangeTransition${ht}`),$t==="next"?j.emit(`slideNextTransition${ht}
25`):j.emit(`slidePrevTransition${ht}`)}}function ni(j=!0,lt){const st=this,{params:ht}=st;ht.cssMode||(ht.autoHeight&&st.updateAutoHeight(),vr({swiper:st,runCallbacks:j,direction:lt,step:"Start"}))}function ri(j=!0,lt){const st=this,{params:ht}=st;st.animating=!1,!ht.cssMode&&(st.setTransition(0),vr({swiper:st,runCallbacks:j,direction:lt,step:"End"}))}var ii={setTransition:ei,transitionStart:ni,transitionEnd:ri};function ai(j=0,lt=this.params.speed,st=!0,ht,Et){if(typeof j!="number"&&typeof j!="string")throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof j}] given.`);if(typeof j=="string"){const ce=parseInt(j,10);if(!isFinite(ce))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${j}] given.`);j=ce}const Ct=this;let $t=j;$t<0&&($t=0);const{params:Nt,snapGrid:Mt,slidesGrid:zt,previousIndex:It,activeIndex:Ot,rtlTranslate:Vt,wrapperEl:Yt,enabled:Kt}=Ct;if(Ct.animating&&Nt.preventInteractionOnTransition||!Kt&&!ht&&!Et)return!1;const Ut=Math.min(Ct.params.slidesPerGroupSkip,$t);let qt=Ut+Math.floor(($t-Ut)/Ct.params.slidesPerGroup);qt>=Mt.length&&(qt=Mt.length-1);const ae=-Mt[qt];if(Nt.normalizeSlideIndex)for(let ce=0;ce<zt.length;ce+=1){const ke=-Math.floor(ae*100),Ce=Math.floor(zt[ce]*100),Ie=Math.floor(zt[ce+1]*100);typeof zt[ce+1]!="undefined"?ke>=Ce&&ke<Ie-(Ie-Ce)/2?$t=ce:ke>=Ce&&ke<Ie&&($t=ce+1):ke>=Ce&&($t=ce)}if(Ct.initialized&&$t!==Ot&&(!Ct.allowSlideNext&&ae<Ct.translate&&ae<Ct.minTranslate()||!Ct.allowSlidePrev&&ae>Ct.translate&&ae>Ct.maxTranslate()&&(Ot||0)!==$t))return!1;$t!==(It||0)&&st&&Ct.emit("beforeSlideChangeStart"),Ct.updateProgress(ae);let ne;if($t>Ot?ne="next":$t<Ot?ne="prev":ne="reset",Vt&&-ae===Ct.translate||!Vt&&ae===Ct.translate)return Ct.updateActiveIndex($t),Nt.autoHeight&&Ct.updateAutoHeight(),Ct.updateSlidesClasses(),Nt.effect!=="slide"&&Ct.setTranslate(ae),ne!=="reset"&&(Ct.transitionStart(st,ne),Ct.transitionEnd(st,ne)),!1;if(Nt.cssMode){const ce=Ct.isHorizontal(),ke=Vt?ae:-ae;if(lt===0){const Ce=Ct.virtual&&Ct.params.virtual.enabled;Ce&&(Ct.wrapperEl.style.scrollSnapType="none",Ct._immediateVirtual=!0),Yt[ce?"scrollLeft":"scrollTop"]=ke,Ce&&requestAnimationFrame(()=>{Ct.wrapperEl.style.scrollSnapType="",Ct._swiperImmediateVirtual=!1})}else{if(!Ct.support.smoothScroll)return Kn({swiper:Ct,targetPosition:ke,side:ce?"left":"top"}),!0;Yt.scrollTo({[ce?"left":"top"]:ke,behavior:"smooth"})}return!0}return Ct.setTransition(lt),Ct.setTranslate(ae),Ct.updateActiveIndex($t),Ct.updateSlidesClasses(),Ct.emit("beforeTransitionStart",lt,ht),Ct.transitionStart(st,ne),lt===0?Ct.transitionEnd(st,ne):Ct.animating||(Ct.animating=!0,Ct.onSlideToWrapperTransitionEnd||(Ct.onSlideToWrapperTransitionEnd=function(ke){!Ct||Ct.destroyed||ke.target===this&&(Ct.$wrapperEl[0].removeEventListener("transitionend",Ct.onSlideToWrapperTransitionEnd),Ct.$wrapperEl[0].removeEventListener("webkitTransitionEnd",Ct.onSlideToWrapperTransitionEnd),Ct.onSlideToWrapperTransitionEnd=null,delete Ct.onSlideToWrapperTransitionEnd,Ct.transitionEnd(st,ne))}),Ct.$wrapperEl[0].addEventListener("transitionend",Ct.onSlideToWrapperTransitionEnd),Ct.$wrapperEl[0].addEventListener("webkitTransitionEnd",Ct.onSlideToWrapperTransitionEnd)),!0}function si(j=0,lt=this.params.speed,st=!0,ht){if(typeof j=="string"){const $t=parseInt(j,10);if(!isFinite($t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${j}] given.`);j=$t}const Et=this;let Ct=j;return Et.params.loop&&(Ct+=Et.loopedSlides),Et.slideTo(Ct,lt,st,ht)}function oi(j=this.params.speed,lt=!0,st){const ht=this,{animating:Et,enabled:Ct,params:$t}=ht;if(!Ct)return ht;let Nt=$t.slidesPerGroup;$t.slidesPerView==="auto"&&$t.slidesPerGroup===1&&$t.slidesPerGroupAuto&&(Nt=Math.max(ht.slidesPerViewDynamic("current",!0),1));const Mt=ht.activeIndex<$t.slidesPerGroupSkip?1:Nt;if($t.loop){if(Et&&$t.loopPreventsSlide)return!1;ht.loopFix(),ht._clientLeft=ht.$wrapperEl[0].clientLeft}return $t.rewind&&ht.isEnd?ht.slideTo(0,j,lt,st):ht.slideTo(ht.activeIndex+Mt,j,lt,st)}function li(j=this.params.speed,lt=!0,st){const ht=this,{params:Et,animating:Ct,snapGrid:$t,slidesGrid:Nt,rtlTranslate:Mt,enabled:zt}=ht;if(!zt)return ht;if(Et.loop){if(Ct&&Et.loopPreventsSlide)return!1;ht.loopFix(),ht._clientLeft=ht.$wrapperEl[0].clientLeft}const It=Mt?ht.translate:-ht.translate;function Ot(qt){return qt<0?-Math.floor(Math.abs(qt)):Math.floor(qt)}const Vt=Ot(It),Yt=$t.map(qt=>Ot(qt));let Kt=$t[Yt.indexOf(Vt)-1];if(typeof Kt=="undefined"&&Et.cssMode){let qt;$t.forEach((ae,ne)=>{Vt>=ae&&(qt=ne)}),typeof qt!="undefined"&&(Kt=$t[qt>0?qt-1:qt])}let Ut=0;if(typeof Kt!="undefined"&&(Ut=Nt.indexOf(Kt),Ut<0&&(Ut=ht.activeIndex-1),Et.slidesPerView==="auto"&&Et.slidesPerGroup===1&&Et.slidesPerGroupAuto&&(Ut=Ut-ht.slidesPerViewDynamic("previous",!0)+1,Ut=Math.max(Ut,0))),Et.rewind&&ht.isBeginning){const qt=ht.params.virtual&&ht.params.virtual.enabled&&ht.virtual?ht.virtual.slides.length-1:ht.slides.length-1;return ht.slideTo(qt,j,lt,st)}return ht.slideTo(Ut,j,lt,st)}function ci(j=this.params.speed,lt=!0,st){const ht=this;return ht.slideTo(ht.activeIndex,j,lt,st)}function hi(j=this.params.speed,lt=!0,st,ht=.5){const Et=this;let Ct=Et.activeIndex;const $t=Math.min(Et.params.slidesPerGroupSkip,Ct),Nt=$t+Math.floor((Ct-$t)/Et.params.slidesPerGroup),Mt=Et.rtlTranslate?Et.translate:-Et.translate;if(Mt>
25=Et.snapGrid[Nt]){const zt=Et.snapGrid[Nt],It=Et.snapGrid[Nt+1];Mt-zt>(It-zt)*ht&&(Ct+=Et.params.slidesPerGroup)}else{const zt=Et.snapGrid[Nt-1],It=Et.snapGrid[Nt];Mt-zt<=(It-zt)*ht&&(Ct-=Et.params.slidesPerGroup)}return Ct=Math.max(Ct,0),Ct=Math.min(Ct,Et.slidesGrid.length-1),Et.slideTo(Ct,j,lt,st)}function ui(){const j=this,{params:lt,$wrapperEl:st}=j,ht=lt.slidesPerView==="auto"?j.slidesPerViewDynamic():lt.slidesPerView;let Et=j.clickedIndex,Ct;if(lt.loop){if(j.animating)return;Ct=parseInt(Be(j.clickedSlide).attr("data-swiper-slide-index"),10),lt.centeredSlides?Et<j.loopedSlides-ht/2||Et>j.slides.length-j.loopedSlides+ht/2?(j.loopFix(),Et=st.children(`.${lt.slideClass}[data-swiper-slide-index="${Ct}"]:not(.${lt.slideDuplicateClass})`).eq(0).index(),Mn(()=>{j.slideTo(Et)})):j.slideTo(Et):Et>j.slides.length-ht?(j.loopFix(),Et=st.children(`.${lt.slideClass}[data-swiper-slide-index="${Ct}"]:not(.${lt.slideDuplicateClass})`).eq(0).index(),Mn(()=>{j.slideTo(Et)})):j.slideTo(Et)}else j.slideTo(Et)}var fi={slideTo:ai,slideToLoop:si,slideNext:oi,slidePrev:li,slideReset:ci,slideToClosest:hi,slideToClickedSlide:ui};function di(){const j=this,lt=q(),{params:st,$wrapperEl:ht}=j,Et=ht.children().length>0?Be(ht.children()[0].parentNode):ht;Et.children(`.${st.slideClass}.${st.slideDuplicateClass}`).remove();let Ct=Et.children(`.${st.slideClass}`);if(st.loopFillGroupWithBlank){const Mt=st.slidesPerGroup-Ct.length%st.slidesPerGroup;if(Mt!==st.slidesPerGroup){for(let zt=0;zt<Mt;zt+=1){const It=Be(lt.createElement("div")).addClass(`${st.slideClass} ${st.slideBlankClass}`);Et.append(It)}Ct=Et.children(`.${st.slideClass}`)}}st.slidesPerView==="auto"&&!st.loopedSlides&&(st.loopedSlides=Ct.length),j.loopedSlides=Math.ceil(parseFloat(st.loopedSlides||st.slidesPerView,10)),j.loopedSlides+=st.loopAdditionalSlides,j.loopedSlides>Ct.length&&j.params.loopedSlidesLimit&&(j.loopedSlides=Ct.length);const $t=[],Nt=[];Ct.each((Mt,zt)=>{Be(Mt).attr("data-swiper-slide-index",zt)});for(let Mt=0;Mt<j.loopedSlides;Mt+=1){const zt=Mt-Math.floor(Mt/Ct.length)*Ct.length;Nt.push(Ct.eq(zt)[0]),$t.unshift(Ct.eq(Ct.length-zt-1)[0])}for(let Mt=0;Mt<Nt.length;Mt+=1)Et.append(Be(Nt[Mt].cloneNode(!0)).addClass(st.slideDuplicateClass));for(let Mt=$t.length-1;Mt>=0;Mt-=1)Et.prepend(Be($t[Mt].cloneNode(!0)).addClass(st.slideDuplicateClass))}function pi(){const j=this;j.emit("beforeLoopFix");const{activeIndex:lt,slides:st,loopedSlides:ht,allowSlidePrev:Et,allowSlideNext:Ct,snapGrid:$t,rtlTranslate:Nt}=j;let Mt;j.allowSlidePrev=!0,j.allowSlideNext=!0;const It=-$t[lt]-j.getTranslate();lt<ht?(Mt=st.length-ht*3+lt,Mt+=ht,j.slideTo(Mt,0,!1,!0)&&It!==0&&j.setTranslate((Nt?-j.translate:j.translate)-It)):lt>=st.length-ht&&(Mt=-st.length+lt+ht,Mt+=ht,j.slideTo(Mt,0,!1,!0)&&It!==0&&j.setTranslate((Nt?-j.translate:j.translate)-It)),j.allowSlidePrev=Et,j.allowSlideNext=Ct,j.emit("loopFix")}function mi(){const j=this,{$wrapperEl:lt,params:st,slides:ht}=j;lt.children(`.${st.slideClass}.${st.slideDuplicateClass},.${st.slideClass}.${st.slideBlankClass}`).remove(),ht.removeAttr("data-swiper-slide-index")}var gi={loopCreate:di,loopFix:pi,loopDestroy:mi};function vi(j){const lt=this;if(lt.support.touch||!lt.params.simulateTouch||lt.params.watchOverflow&<.isLocked||lt.params.cssMode)return;const st=lt.params.touchEventsTarget==="container"?lt.el:lt.wrapperEl;st.style.cursor="move",st.style.cursor=j?"grabbing":"grab"}function yi(){const j=this;j.support.touch||j.params.watchOverflow&&j.isLocked||j.params.cssMode||(j[j.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="")}var bi={setGrabCursor:vi,unsetGrabCursor:yi};function Ei(j,lt=this){function st(ht){if(!ht||ht===q()||ht===W())return null;ht.assignedSlot&&(ht=ht.assignedSlot);const Et=ht.closest(j);return!Et&&!ht.getRootNode?null:Et||st(ht.getRootNode().host)}return st(lt)}function _i(j){const lt=this,st=q(),ht=W(),Et=lt.touchEventsData,{params:Ct,touches:$t,enabled:Nt}=lt;if(!Nt||lt.animating&&Ct.preventInteractionOnTransition)return;!lt.animating&&Ct.cssMode&&Ct.loop&<.loopFix();let Mt=j;Mt.originalEvent&&(Mt=Mt.originalEvent);let zt=Be(Mt.target);if(Ct.touchEventsTarget==="wrapper"&&!zt.closest(lt.wrapperEl).length||(Et.isTouchEvent=Mt.type==="touchstart",!Et.isTouchEvent&&"which"in Mt&&Mt.which===3)||!Et.isTouchEvent&&"button"in Mt&&Mt.button>0||Et.isTouched&&Et.isMoved)return;const It=!!Ct.noSwipingClass&&Ct.noSwipingClass!=="",Ot=j.composedPath?j.composedPath():j.path;It&&Mt.target&&Mt.target.shadowRoot&&Ot&&(zt=Be(Ot[0]));const Vt=Ct.noSwipingSelector?Ct.noSwipingSelector:`.${Ct.noSwipingClass}`,Yt=!!(Mt.target&&Mt.target.shadowRoot);if(Ct.noSwiping&&(Yt?Ei(Vt,zt[0]):zt.closest(Vt)[0])){lt.allowClick=!0;return}if(Ct.swipeHandler&&!zt.closest(Ct.swipeHandler)[0])return;$t.currentX=Mt.type==="touchstart"?Mt.targetTouches[0].pageX:Mt.pageX,$t.currentY=Mt.type==="touchstart"?Mt.targetTouches[0].pageY:Mt.pageY;const Kt=$t.currentX,Ut=$t.currentY,qt=Ct.edgeSwipeDetection||Ct.iOSEdgeSwipeDetection,ae=Ct.edgeSwipeThreshold||Ct.iOSEdgeSwipeThreshold;if(qt&&(Kt<=ae||Kt>=ht.innerWidth-ae))if(qt==="prevent")j.preventDefault();else return;if(Object.assign(Et,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),$t.startX=Kt,$t.startY=Ut,Et.touchStartTime=xn(),lt.allowClick=!0,lt.updateSize(),lt.swipeDirection=void 0,Ct.threshold>0&&(Et.allowThresholdMove=!1),Mt.type!=="touchstart"){let ne=!0;zt.is(Et.focusableElements)&&(ne=!1,zt[0].nodeName==="SELECT"&&(Et.isTouched=!1)),st.activeElement&&Be(st.activeElement).is(Et.focusableElements)&&st.activeElement!==zt[0]&&st.activeElement.blur();const ce=ne&<.allowTouchMove&&Ct.touchStartPreventDefault;(Ct.touchStartForcePreventDefault||ce)&&!zt[0].isContentEditable&&Mt.preventDefault()}lt.params.freeMode&<.params.freeMode.enabled&<.freeMode&<.animating&&!Ct.cssMode&<.freeMode.onTouchStart(),lt.emit("touchStart",Mt)}function Si(j){const lt=q(),st=this,ht=st.touchEventsData,{params:Et,touches:Ct,rtlTranslate:$t,enabled:Nt}=st;if(!Nt)return;let Mt=j;if(Mt.originalEvent&&(Mt=Mt.originalEvent),!ht.isTouched){ht.startMoving&&ht.isScrolling&&st.emit("touchMoveOpposite",Mt);return}if(ht.isTouchEvent&&Mt.type!=="touchmove")return;
25const zt=Mt.type==="touchmove"&&Mt.targetTouches&&(Mt.targetTouches[0]||Mt.changedTouches[0]),It=Mt.type==="touchmove"?zt.pageX:Mt.pageX,Ot=Mt.type==="touchmove"?zt.pageY:Mt.pageY;if(Mt.preventedByNestedSwiper){Ct.startX=It,Ct.startY=Ot;return}if(!st.allowTouchMove){Be(Mt.target).is(ht.focusableElements)||(st.allowClick=!1),ht.isTouched&&(Object.assign(Ct,{startX:It,startY:Ot,currentX:It,currentY:Ot}),ht.touchStartTime=xn());return}if(ht.isTouchEvent&&Et.touchReleaseOnEdges&&!Et.loop){if(st.isVertical()){if(Ot<Ct.startY&&st.translate<=st.maxTranslate()||Ot>Ct.startY&&st.translate>=st.minTranslate()){ht.isTouched=!1,ht.isMoved=!1;return}}else if(It<Ct.startX&&st.translate<=st.maxTranslate()||It>Ct.startX&&st.translate>=st.minTranslate())return}if(ht.isTouchEvent&<.activeElement&&Mt.target===lt.activeElement&&Be(Mt.target).is(ht.focusableElements)){ht.isMoved=!0,st.allowClick=!1;return}if(ht.allowTouchCallbacks&&st.emit("touchMove",Mt),Mt.targetTouches&&Mt.targetTouches.length>1)return;Ct.currentX=It,Ct.currentY=Ot;const Vt=Ct.currentX-Ct.startX,Yt=Ct.currentY-Ct.startY;if(st.params.threshold&&Math.sqrt(Vt**2+Yt**2)<st.params.threshold)return;if(typeof ht.isScrolling=="undefined"){let ae;st.isHorizontal()&&Ct.currentY===Ct.startY||st.isVertical()&&Ct.currentX===Ct.startX?ht.isScrolling=!1:Vt*Vt+Yt*Yt>=25&&(ae=Math.atan2(Math.abs(Yt),Math.abs(Vt))*180/Math.PI,ht.isScrolling=st.isHorizontal()?ae>Et.touchAngle:90-ae>Et.touchAngle)}if(ht.isScrolling&&st.emit("touchMoveOpposite",Mt),typeof ht.startMoving=="undefined"&&(Ct.currentX!==Ct.startX||Ct.currentY!==Ct.startY)&&(ht.startMoving=!0),ht.isScrolling){ht.isTouched=!1;return}if(!ht.startMoving)return;st.allowClick=!1,!Et.cssMode&&Mt.cancelable&&Mt.preventDefault(),Et.touchMoveStopPropagation&&!Et.nested&&Mt.stopPropagation(),ht.isMoved||(Et.loop&&!Et.cssMode&&st.loopFix(),ht.startTranslate=st.getTranslate(),st.setTransition(0),st.animating&&st.$wrapperEl.trigger("webkitTransitionEnd transitionend"),ht.allowMomentumBounce=!1,Et.grabCursor&&(st.allowSlideNext===!0||st.allowSlidePrev===!0)&&st.setGrabCursor(!0),st.emit("sliderFirstMove",Mt)),st.emit("sliderMove",Mt),ht.isMoved=!0;let Kt=st.isHorizontal()?Vt:Yt;Ct.diff=Kt,Kt*=Et.touchRatio,$t&&(Kt=-Kt),st.swipeDirection=Kt>0?"prev":"next",ht.currentTranslate=Kt+ht.startTranslate;let Ut=!0,qt=Et.resistanceRatio;if(Et.touchReleaseOnEdges&&(qt=0),Kt>0&&ht.currentTranslate>st.minTranslate()?(Ut=!1,Et.resistance&&(ht.currentTranslate=st.minTranslate()-1+(-st.minTranslate()+ht.startTranslate+Kt)**qt)):Kt<0&&ht.currentTranslate<st.maxTranslate()&&(Ut=!1,Et.resistance&&(ht.currentTranslate=st.maxTranslate()+1-(st.maxTranslate()-ht.startTranslate-Kt)**qt)),Ut&&(Mt.preventedByNestedSwiper=!0),!st.allowSlideNext&&st.swipeDirection==="next"&&ht.currentTranslate<ht.startTranslate&&(ht.currentTranslate=ht.startTranslate),!st.allowSlidePrev&&st.swipeDirection==="prev"&&ht.currentTranslate>ht.startTranslate&&(ht.currentTranslate=ht.startTranslate),!st.allowSlidePrev&&!st.allowSlideNext&&(ht.currentTranslate=ht.startTranslate),Et.threshold>0)if(Math.abs(Kt)>Et.threshold||ht.allowThresholdMove){if(!ht.allowThresholdMove){ht.allowThresholdMove=!0,Ct.startX=Ct.currentX,Ct.startY=Ct.currentY,ht.currentTranslate=ht.startTranslate,Ct.diff=st.isHorizontal()?Ct.currentX-Ct.startX:Ct.currentY-Ct.startY;return}}else{ht.currentTranslate=ht.startTranslate;return}!Et.followFinger||Et.cssMode||((Et.freeMode&&Et.freeMode.enabled&&st.freeMode||Et.watchSlidesProgress)&&(st.updateActiveIndex(),st.updateSlidesClasses()),st.params.freeMode&&Et.freeMode.enabled&&st.freeMode&&st.freeMode.onTouchMove(),st.updateProgress(ht.currentTranslate),st.setTranslate(ht.currentTranslate))}function xi(j){const lt=this,st=lt.touchEventsData,{params:ht,touches:Et,rtlTranslate:Ct,slidesGrid:$t,enabled:Nt}=lt;if(!Nt)return;let Mt=j;if(Mt.originalEvent&&(Mt=Mt.originalEvent),st.allowTouchCallbacks&<.emit("touchEnd",Mt),st.allowTouchCallbacks=!1,!st.isTouched){st.isMoved&&ht.grabCursor&<.setGrabCursor(!1),st.isMoved=!1,st.startMoving=!1;return}ht.grabCursor&&st.isMoved&&st.isTouched&&(lt.allowSlideNext===!0||lt.allowSlidePrev===!0)&<.setGrabCursor(!1);
25const zt=xn(),It=zt-st.touchStartTime;if(lt.allowClick){const ne=Mt.path||Mt.composedPath&&Mt.composedPath();lt.updateClickedSlide(ne&&ne[0]||Mt.target),lt.emit("tap click",Mt),It<300&&zt-st.lastClickTime<300&<.emit("doubleTap doubleClick",Mt)}if(st.lastClickTime=xn(),Mn(()=>{lt.destroyed||(lt.allowClick=!0)}),!st.isTouched||!st.isMoved||!lt.swipeDirection||Et.diff===0||st.currentTranslate===st.startTranslate){st.isTouched=!1,st.isMoved=!1,st.startMoving=!1;return}st.isTouched=!1,st.isMoved=!1,st.startMoving=!1;let Ot;if(ht.followFinger?Ot=Ct?lt.translate:-lt.translate:Ot=-st.currentTranslate,ht.cssMode)return;if(lt.params.freeMode&&ht.freeMode.enabled){lt.freeMode.onTouchEnd({currentPos:Ot});return}let Vt=0,Yt=lt.slidesSizesGrid[0];for(let ne=0;ne<$t.length;ne+=ne<ht.slidesPerGroupSkip?1:ht.slidesPerGroup){const ce=ne<ht.slidesPerGroupSkip-1?1:ht.slidesPerGroup;typeof $t[ne+ce]!="undefined"?Ot>=$t[ne]&&Ot<$t[ne+ce]&&(Vt=ne,Yt=$t[ne+ce]-$t[ne]):Ot>=$t[ne]&&(Vt=ne,Yt=$t[$t.length-1]-$t[$t.length-2])}let Kt=null,Ut=null;ht.rewind&&(lt.isBeginning?Ut=lt.params.virtual&<.params.virtual.enabled&<.virtual?lt.virtual.slides.length-1:lt.slides.length-1:lt.isEnd&&(Kt=0));const qt=(Ot-$t[Vt])/Yt,ae=Vt<ht.slidesPerGroupSkip-1?1:ht.slidesPerGroup;if(It>ht.longSwipesMs){if(!ht.longSwipes){lt.slideTo(lt.activeIndex);return}lt.swipeDirection==="next"&&(qt>=ht.longSwipesRatio?lt.slideTo(ht.rewind&<.isEnd?Kt:Vt+ae):lt.slideTo(Vt)),lt.swipeDirection==="prev"&&(qt>1-ht.longSwipesRatio?lt.slideTo(Vt+ae):Ut!==null&&qt<0&&Math.abs(qt)>ht.longSwipesRatio?lt.slideTo(Ut):lt.slideTo(Vt))}else{if(!ht.shortSwipes){lt.slideTo(lt.activeIndex);return}lt.navigation&&(Mt.target===lt.navigation.nextEl||Mt.target===lt.navigation.prevEl)?Mt.target===lt.navigation.nextEl?lt.slideTo(Vt+ae):lt.slideTo(Vt):(lt.swipeDirection==="next"&<.slideTo(Kt!==null?Kt:Vt+ae),lt.swipeDirection==="prev"&<.slideTo(Ut!==null?Ut:Vt))}}function yr(){const j=this,{params:lt,el:st}=j;if(st&&st.offsetWidth===0)return;lt.breakpoints&&j.setBreakpoint();const{allowSlideNext:ht,allowSlidePrev:Et,snapGrid:Ct}=j;j.allowSlideNext=!0,j.allowSlidePrev=!0,j.updateSize(),j.updateSlides(),j.updateSlidesClasses(),(lt.slidesPerView==="auto"||lt.slidesPerView>1)&&j.isEnd&&!j.isBeginning&&!j.params.centeredSlides?j.slideTo(j.slides.length-1,0,!1,!0):j.slideTo(j.activeIndex,0,!1,!0),j.autoplay&&j.autoplay.running&&j.autoplay.paused&&j.autoplay.run(),j.allowSlidePrev=Et,j.allowSlideNext=ht,j.params.watchOverflow&&Ct!==j.snapGrid&&j.checkOverflow()}function wi(j){const lt=this;lt.enabled&&(lt.allowClick||(lt.params.preventClicks&&j.preventDefault(),lt.params.preventClicksPropagation&<.animating&&(j.stopPropagation(),j.stopImmediatePropagation())))}function Ti(){const j=this,{wrapperEl:lt,rtlTranslate:st,enabled:ht}=j;if(!ht)return;j.previousTranslate=j.translate,j.isHorizontal()?j.translate=-lt.scrollLeft:j.translate=-lt.scrollTop,j.translate===0&&(j.translate=0),j.updateActiveIndex(),j.updateSlidesClasses();let Et;const Ct=j.maxTranslate()-j.minTranslate();Ct===0?Et=0:Et=(j.translate-j.minTranslate())/Ct,Et!==j.progress&&j.updateProgress(st?-j.translate:j.translate),j.emit("setTranslate",j.translate,!1)}let br=!1;function Ci(){}const Er=(j,lt)=>{const st=q(),{params:ht,touchEvents:Et,el:Ct,wrapperEl:$t,device:Nt,support:Mt}=j,zt=!!ht.nested,It=lt==="on"?"addEventListener":"removeEventListener",Ot=lt;if(!Mt.touch)Ct[It](Et.start,j.onTouchStart,!1),st[It](Et.move,j.onTouchMove,zt),st[It](Et.end,j.onTouchEnd,!1);else{const Vt=Et.start==="touchstart"&&Mt.passiveListener&&ht.passiveListeners?{passive:!0,capture:!1}:!1;Ct[It](Et.start,j.onTouchStart,Vt),Ct[It](Et.move,j.onTouchMove,Mt.passiveListener?{passive:!1,capture:zt}:zt),Ct[It](Et.end,j.onTouchEnd,Vt),Et.cancel&&Ct[It](Et.cancel,j.onTouchEnd,Vt)}(ht.preventClicks||ht.preventClicksPropagation)&&Ct[It]("click",j.onClick,!0),ht.cssMode&&$t[It]("scroll",j.onScroll),ht.updateOnWindowResize?j[Ot](Nt.ios||Nt.android?"resize orientationchange observerUpdate":"resize observerUpdate",yr,!0):j[Ot]("observerUpdate",yr,!0)};function Ai(){const j=this,lt=q(),{params:st,support:ht}=j;j.onTouchStart=_i.bind(j),j.onTouchMove=Si.bind(j),j.onTouchEnd=xi.bind(j),st.cssMode&&(j.onScroll=Ti.bind(j)),j.onClick=wi.bind(j),ht.touch&&!br&&(lt.addEventListener("touchstart",Ci),br=!0),Er(j,"on")}function Pi(){Er(this,"off")}var ki={attachEvents:Ai,detachEvents:Pi};const _r=(j,lt)=>j.grid&<.grid&<.grid.rows>1;function Mi(){const j=this,{activeIndex:lt,initialized:st,loopedSlides:ht=0,params:Et,$el:Ct}=j,$t=Et.breakpoints;if(!$t||$t&&Object.keys($t).length===0)return;
25const Nt=j.getBreakpoint($t,j.params.breakpointsBase,j.el);if(!Nt||j.currentBreakpoint===Nt)return;const zt=(Nt in $t?$t[Nt]:void 0)||j.originalParams,It=_r(j,Et),Ot=_r(j,zt),Vt=Et.enabled;It&&!Ot?(Ct.removeClass(`${Et.containerModifierClass}grid ${Et.containerModifierClass}grid-column`),j.emitContainerClasses()):!It&&Ot&&(Ct.addClass(`${Et.containerModifierClass}grid`),(zt.grid.fill&&zt.grid.fill==="column"||!zt.grid.fill&&Et.grid.fill==="column")&&Ct.addClass(`${Et.containerModifierClass}grid-column`),j.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(qt=>{const ae=Et[qt]&&Et[qt].enabled,ne=zt[qt]&&zt[qt].enabled;ae&&!ne&&j[qt].disable(),!ae&&ne&&j[qt].enable()});const Yt=zt.direction&&zt.direction!==Et.direction,Kt=Et.loop&&(zt.slidesPerView!==Et.slidesPerView||Yt);Yt&&st&&j.changeDirection(),_n(j.params,zt);const Ut=j.params.enabled;Object.assign(j,{allowTouchMove:j.params.allowTouchMove,allowSlideNext:j.params.allowSlideNext,allowSlidePrev:j.params.allowSlidePrev}),Vt&&!Ut?j.disable():!Vt&&Ut&&j.enable(),j.currentBreakpoint=Nt,j.emit("_beforeBreakpoint",zt),Kt&&st&&(j.loopDestroy(),j.loopCreate(),j.updateSlides(),j.slideTo(lt-ht+j.loopedSlides,0,!1)),j.emit("breakpoint",zt)}function Ii(j,lt="window",st){if(!j||lt==="container"&&!st)return;let ht=!1;const Et=W(),Ct=lt==="window"?Et.innerHeight:st.clientHeight,$t=Object.keys(j).map(Nt=>{if(typeof Nt=="string"&&Nt.indexOf("@")===0){const Mt=parseFloat(Nt.substr(1));return{value:Ct*Mt,point:Nt}}return{value:Nt,point:Nt}});$t.sort((Nt,Mt)=>parseInt(Nt.value,10)-parseInt(Mt.value,10));for(let Nt=0;Nt<$t.length;Nt+=1){const{point:Mt,value:zt}=$t[Nt];lt==="window"?Et.matchMedia(`(min-width: ${zt}px)`).matches&&(ht=Mt):zt<=st.clientWidth&&(ht=Mt)}return ht||"max"}var Di={setBreakpoint:Mi,getBreakpoint:Ii};function Oi(j,lt){const st=[];return j.forEach(ht=>{typeof ht=="object"?Object.keys(ht).forEach(Et=>{ht[Et]&&st.push(lt+Et)}):typeof ht=="string"&&st.push(lt+ht)}),st}function Li(){const j=this,{classNames:lt,params:st,rtl:ht,$el:Et,device:Ct,support:$t}=j,Nt=Oi(["initialized",st.direction,{"pointer-events":!$t.touch},{"free-mode":j.params.freeMode&&st.freeMode.enabled},{autoheight:st.autoHeight},{rtl:ht},{grid:st.grid&&st.grid.rows>1},{"grid-column":st.grid&&st.grid.rows>1&&st.grid.fill==="column"},{android:Ct.android},{ios:Ct.ios},{"css-mode":st.cssMode},{centered:st.cssMode&&st.centeredSlides},{"watch-progress":st.watchSlidesProgress}],st.containerModifierClass);lt.push(...Nt),Et.addClass([...lt].join(" ")),j.emitContainerClasses()}function Fi(){const j=this,{$el:lt,classNames:st}=j;lt.removeClass(st.join(" ")),j.emitContainerClasses()}var $i={addClasses:Li,removeClasses:Fi};function zi(j,lt,st,ht,Et,Ct){const $t=W();let Nt;function Mt(){Ct&&Ct()}!Be(j).parent("picture")[0]&&(!j.complete||!Et)&<?(Nt=new $t.Image,Nt.onload=Mt,Nt.onerror=Mt,ht&&(Nt.sizes=ht),st&&(Nt.srcset=st),lt&&(Nt.src=lt)):Mt()}function Bi(){const j=this;j.imagesToLoad=j.$el.find("img");function lt(){typeof j=="undefined"||j===null||!j||j.destroyed||(j.imagesLoaded!==void 0&&(j.imagesLoaded+=1),j.imagesLoaded===j.imagesToLoad.length&&(j.params.updateOnImagesReady&&j.update(),j.emit("imagesReady")))}for(let st=0;st<j.imagesToLoad.length;st+=1){const ht=j.imagesToLoad[st];j.loadImage(ht,ht.currentSrc||ht.getAttribute("src"),ht.srcset||ht.getAttribute("srcset"),ht.sizes||ht.getAttribute("sizes"),!0,lt)}}var Ri={loadImage:zi,preloadImages:Bi};function Ni(){const j=this,{isLocked:lt,params:st}=j,{slidesOffsetBefore:ht}=st;if(ht){const Et=j.slides.length-1,Ct=j.slidesGrid[Et]+j.slidesSizesGrid[Et]+ht*2;j.isLocked=j.size>Ct}else j.isLocked=j.snapGrid.length===1;st.allowSlideNext===!0&&(j.allowSlideNext=!j.isLocked),st.allowSlidePrev===!0&&(j.allowSlidePrev=!j.isLocked),lt&<!==j.isLocked&&(j.isEnd=!1),lt!==j.isLocked&&j.emit(j.isLocked?"lock":"unlock")}var Vi={checkOverflow:Ni},Sr={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",
25spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function ji(j,lt){return function(ht={}){const Et=Object.keys(ht)[0],Ct=ht[Et];if(typeof Ct!="object"||Ct===null){_n(lt,ht);return}if(["navigation","pagination","scrollbar"].indexOf(Et)>=0&&j[Et]===!0&&(j[Et]={auto:!0}),!(Et in j&&"enabled"in Ct)){_n(lt,ht);return}j[Et]===!0&&(j[Et]={enabled:!0}),typeof j[Et]=="object"&&!("enabled"in j[Et])&&(j[Et].enabled=!0),j[Et]||(j[Et]={enabled:!1}),_n(lt,ht)}}const hr={eventsEmitter:Br,update:Yr,translate:ti,transition:ii,slide:fi,loop:gi,grabCursor:bi,events:ki,breakpoints:Di,checkOverflow:Vi,classes:$i,images:Ri},ur={};class Dn{constructor(...lt){let st,ht;if(lt.length===1&<[0].constructor&&Object.prototype.toString.call(lt[0]).slice(8,-1)==="Object"?ht=lt[0]:[st,ht]=lt,ht||(ht={}),ht=_n({},ht),st&&!ht.el&&(ht.el=st),ht.el&&Be(ht.el).length>1){const Nt=[];return Be(ht.el).each(Mt=>
25{const zt=_n({},ht,{el:Mt});Nt.push(new Dn(zt))}),Nt}const Et=this;Et.__swiper__=!0,Et.support=or(),Et.device=lr({userAgent:ht.userAgent}),Et.browser=Fr(),Et.eventsListeners={},Et.eventsAnyListeners=[],Et.modules=[...Et.__modules__],ht.modules&&Array.isArray(ht.modules)&&Et.modules.push(...ht.modules);const Ct={};Et.modules.forEach(Nt=>{Nt({swiper:Et,extendParams:ji(ht,Ct),on:Et.on.bind(Et),once:Et.once.bind(Et),off:Et.off.bind(Et),emit:Et.emit.bind(Et)})});const $t=_n({},Sr,Ct);return Et.params=_n({},$t,ur,ht),Et.originalParams=_n({},Et.params),Et.passedParams=_n({},ht),Et.params&&Et.params.on&&Object.keys(Et.params.on).forEach(Nt=>{Et.on(Nt,Et.params.on[Nt])}),Et.params&&Et.params.onAny&&Et.onAny(Et.params.onAny),Et.$=Be,Object.assign(Et,{enabled:Et.params.enabled,el:st,classNames:[],slides:Be(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return Et.params.direction==="horizontal"},isVertical(){return Et.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:Et.params.allowSlideNext,allowSlidePrev:Et.params.allowSlidePrev,touchEvents:(function(){const Mt=["touchstart","touchmove","touchend","touchcancel"],zt=["pointerdown","pointermove","pointerup"];return Et.touchEventsTouch={start:Mt[0],move:Mt[1],end:Mt[2],cancel:Mt[3]},Et.touchEventsDesktop={start:zt[0],move:zt[1],end:zt[2]},Et.support.touch||!Et.params.simulateTouch?Et.touchEventsTouch:Et.touchEventsDesktop})(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:Et.params.focusableElements,lastClickTime:xn(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:Et.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),Et.emit("_swiper"),Et.params.init&&Et.init(),Et}enable(){const lt=this;lt.enabled||(lt.enabled=!0,lt.params.grabCursor&<.setGrabCursor(),lt.emit("enable"))}disable(){const lt=this;lt.enabled&&(lt.enabled=!1,lt.params.grabCursor&<.unsetGrabCursor(),lt.emit("disable"))}setProgress(lt,st){const ht=this;lt=Math.min(Math.max(lt,0),1);const Et=ht.minTranslate(),$t=(ht.maxTranslate()-Et)*lt+Et;ht.translateTo($t,typeof st=="undefined"?0:st),ht.updateActiveIndex(),ht.updateSlidesClasses()}emitContainerClasses(){const lt=this;if(!lt.params._emitClasses||!lt.el)return;const st=lt.el.className.split(" ").filter(ht=>ht.indexOf("swiper")===0||ht.indexOf(lt.params.containerModifierClass)===0);lt.emit("_containerClasses",st.join(" "))}getSlideClasses(lt){const st=this;return st.destroyed?"":lt.className.split(" ").filter(ht=>ht.indexOf("swiper-slide")===0||ht.indexOf(st.params.slideClass)===0).join(" ")}emitSlidesClasses(){const lt=this;if(!lt.params._emitClasses||!lt.el)return;const st=[];lt.slides.each(ht=>{const Et=lt.getSlideClasses(ht);st.push({slideEl:ht,classNames:Et}),lt.emit("_slideClass",ht,Et)}),lt.emit("_slideClasses",st)}slidesPerViewDynamic(lt="current",st=!1){const ht=this,{params:Et,slides:Ct,slidesGrid:$t,slidesSizesGrid:Nt,size:Mt,activeIndex:zt}=ht;let It=1;if(Et.centeredSlides){let Ot=Ct[zt].swiperSlideSize,Vt;for(let Yt=zt+1;Yt<Ct.length;Yt+=1)Ct[Yt]&&!Vt&&(Ot+=Ct[Yt].swiperSlideSize,It+=1,Ot>Mt&&(Vt=!0));for(let Yt=zt-1;Yt>=0;Yt-=1)Ct[Yt]&&!Vt&&(Ot+=Ct[Yt].swiperSlideSize,It+=1,Ot>Mt&&(Vt=!0))}else if(lt==="current")for(let Ot=zt+1;Ot<Ct.length;Ot+=1)(st?$t[Ot]+Nt[Ot]-$t[zt]<Mt:$t[Ot]-$t[zt]<Mt)&&(It+=1);else for(let Ot=zt-1;Ot>=0;Ot-=1)$t[zt]-$t[Ot]<Mt&&(It+=1);return It}update(){const lt=this;if(!lt||lt.destroyed)return;const{snapGrid:st,params:ht}=lt;ht.breakpoints&<.setBreakpoint(),lt.updateSize(),lt.updateSlides(),lt.updateProgress(),lt.updateSlidesClasses();function Et(){const $t=lt.rtlTranslate?lt.translate*-1:lt.translate,Nt=Math.min(Math.max($t,lt.maxTranslate()),lt.minTranslate());lt.setTranslate(Nt),lt.updateActiveIndex(),lt.updateSlidesClasses()}let Ct;lt.params.freeMode&<.params.freeMode.enabled?(Et(),lt.params.autoHeight&<.updateAutoHeight()):((lt.params.slidesPerView==="auto"||lt.params.slidesPerView>1)&<.isEnd&&!lt.params.centeredSlides?Ct=lt.slideTo(lt.slides.length-1,0,!1,!0):Ct=lt.slideTo(lt.activeIndex,0,!1,!0),Ct||Et()),ht.watchOverflow&&st!==lt.snapGrid&<.checkOverflow(),lt.emit("update")}changeDirection(lt,st=!0){const ht=this,Et=ht.params.direction;return lt||(lt=Et==="horizontal"?"vertical":"horizontal"),lt===Et||lt!=="horizontal"&<!=="vertical"||(ht.$el.removeClass(`${ht.params.containerModifierClass}${Et}`).addClass(`${ht.params.containerModifierClass}${lt}`),ht.emitContainerClasses(),ht.params.direction=lt,ht.slides.each(Ct=>{lt==="vertical"?Ct.style.width="":Ct.style.height=""}
25),ht.emit("changeDirection"),st&&ht.update()),ht}changeLanguageDirection(lt){const st=this;st.rtl&<==="rtl"||!st.rtl&<==="ltr"||(st.rtl=lt==="rtl",st.rtlTranslate=st.params.direction==="horizontal"&&st.rtl,st.rtl?(st.$el.addClass(`${st.params.containerModifierClass}rtl`),st.el.dir="rtl"):(st.$el.removeClass(`${st.params.containerModifierClass}rtl`),st.el.dir="ltr"),st.update())}mount(lt){const st=this;if(st.mounted)return!0;const ht=Be(lt||st.params.el);if(lt=ht[0],!lt)return!1;lt.swiper=st;const Et=()=>`.${(st.params.wrapperClass||"").trim().split(" ").join(".")}`;let $t=(()=>{if(lt&<.shadowRoot&<.shadowRoot.querySelector){const Nt=Be(lt.shadowRoot.querySelector(Et()));return Nt.children=Mt=>ht.children(Mt),Nt}return ht.children?ht.children(Et()):Be(ht).children(Et())})();if($t.length===0&&st.params.createElements){const Mt=q().createElement("div");$t=Be(Mt),Mt.className=st.params.wrapperClass,ht.append(Mt),ht.children(`.${st.params.slideClass}`).each(zt=>{$t.append(zt)})}return Object.assign(st,{$el:ht,el:lt,$wrapperEl:$t,wrapperEl:$t[0],mounted:!0,rtl:lt.dir.toLowerCase()==="rtl"||ht.css("direction")==="rtl",rtlTranslate:st.params.direction==="horizontal"&&(lt.dir.toLowerCase()==="rtl"||ht.css("direction")==="rtl"),wrongRTL:$t.css("display")==="-webkit-box"}),!0}init(lt){const st=this;return st.initialized||st.mount(lt)===!1||(st.emit("beforeInit"),st.params.breakpoints&&st.setBreakpoint(),st.addClasses(),st.params.loop&&st.loopCreate(),st.updateSize(),st.updateSlides(),st.params.watchOverflow&&st.checkOverflow(),st.params.grabCursor&&st.enabled&&st.setGrabCursor(),st.params.preloadImages&&st.preloadImages(),st.params.loop?st.slideTo(st.params.initialSlide+st.loopedSlides,0,st.params.runCallbacksOnInit,!1,!0):st.slideTo(st.params.initialSlide,0,st.params.runCallbacksOnInit,!1,!0),st.attachEvents(),st.initialized=!0,st.emit("init"),st.emit("afterInit")),st}destroy(lt=!0,st=!0){const ht=this,{params:Et,$el:Ct,$wrapperEl:$t,slides:Nt}=ht;return typeof ht.params=="undefined"||ht.destroyed||(ht.emit("beforeDestroy"),ht.initialized=!1,ht.detachEvents(),Et.loop&&ht.loopDestroy(),st&&(ht.removeClasses(),Ct.removeAttr("style"),$t.removeAttr("style"),Nt&&Nt.length&&Nt.removeClass([Et.slideVisibleClass,Et.slideActiveClass,Et.slideNextClass,Et.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),ht.emit("destroy"),Object.keys(ht.eventsListeners).forEach(Mt=>{ht.off(Mt)}),lt!==!1&&(ht.$el[0].swiper=null,kn(ht)),ht.destroyed=!0),null}static extendDefaults(lt){_n(ur,lt)}static get extendedDefaults(){return ur}static get defaults(){return Sr}static installModule(lt){Dn.prototype.__modules__||(Dn.prototype.__modules__=[]);const st=Dn.prototype.__modules__;typeof lt=="function"&&st.indexOf(lt)<0&&st.push(lt)}static use(lt){return Array.isArray(lt)?(lt.forEach(st=>Dn.installModule(st)),Dn):(Dn.installModule(lt),Dn)}}Object.keys(hr).forEach(j=>{Object.keys(hr[j]).forEach(lt=>{Dn.prototype[lt]=hr[j][lt]})}),Dn.use([$r,zr]);var tr=Dn;function ja({swiper:j,extendParams:lt,on:st,emit:ht}){lt({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let Et;j.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};function Ct(Ot,Vt){const Yt=j.params.virtual;if(Yt.cache&&j.virtual.cache[Vt])return j.virtual.cache[Vt];const Kt=Yt.renderSlide?Be(Yt.renderSlide.call(j,Ot,Vt)):Be(`<div class="${j.params.slideClass}" data-swiper-slide-index="${Vt}">${Ot}</div>`);return Kt.attr("data-swiper-slide-index")||Kt.attr("data-swiper-slide-index",Vt),Yt.cache&&(j.virtual.cache[Vt]=Kt),Kt}function $t(Ot){const{slidesPerView:Vt,slidesPerGroup:Yt,centeredSlides:Kt}=j.params,{addSlidesBefore:Ut,addSlidesAfter:qt}=j.params.virtual,{from:ae,to:ne,slides:ce,slidesGrid:ke,offset:Ce}=j.virtual;j.params.cssMode||j.updateActiveIndex();const Ie=j.activeIndex||0;let Me;j.rtlTranslate?Me="right":Me=j.isHorizontal()?"left":"top";let Re,We;Kt?(Re=Math.floor(Vt/2)+Yt+qt,We=Math.floor(Vt/2)+Yt+Ut):(Re=Vt+(Yt-1)+qt,We=Yt+Ut);
25const Le=Math.max((Ie||0)-We,0),ge=Math.min((Ie||0)+Re,ce.length-1),pe=(j.slidesGrid[Le]||0)-(j.slidesGrid[0]||0);Object.assign(j.virtual,{from:Le,to:ge,offset:pe,slidesGrid:j.slidesGrid});function ye(){j.updateSlides(),j.updateProgress(),j.updateSlidesClasses(),j.lazy&&j.params.lazy.enabled&&j.lazy.load(),ht("virtualUpdate")}if(ae===Le&&ne===ge&&!Ot){j.slidesGrid!==ke&&pe!==Ce&&j.slides.css(Me,`${pe}px`),j.updateProgress(),ht("virtualUpdate");return}if(j.params.virtual.renderExternal){j.params.virtual.renderExternal.call(j,{offset:pe,from:Le,to:ge,slides:(function(){const Ge=[];for(let Ve=Le;Ve<=ge;Ve+=1)Ge.push(ce[Ve]);return Ge})()}),j.params.virtual.renderExternalUpdate?ye():ht("virtualUpdate");return}const Ye=[],Je=[];if(Ot)j.$wrapperEl.find(`.${j.params.slideClass}`).remove();else for(let ve=ae;ve<=ne;ve+=1)(ve<Le||ve>ge)&&j.$wrapperEl.find(`.${j.params.slideClass}[data-swiper-slide-index="${ve}"]`).remove();for(let ve=0;ve<ce.length;ve+=1)ve>=Le&&ve<=ge&&(typeof ne=="undefined"||Ot?Je.push(ve):(ve>ne&&Je.push(ve),ve<ae&&Ye.push(ve)));Je.forEach(ve=>{j.$wrapperEl.append(Ct(ce[ve],ve))}),Ye.sort((ve,Ge)=>Ge-ve).forEach(ve=>{j.$wrapperEl.prepend(Ct(ce[ve],ve))}),j.$wrapperEl.children(".swiper-slide").css(Me,`${pe}px`),ye()}function Nt(Ot){if(typeof Ot=="object"&&"length"in Ot)for(let Vt=0;Vt<Ot.length;Vt+=1)Ot[Vt]&&j.virtual.slides.push(Ot[Vt]);else j.virtual.slides.push(Ot);$t(!0)}function Mt(Ot){const Vt=j.activeIndex;let Yt=Vt+1,Kt=1;if(Array.isArray(Ot)){for(let Ut=0;Ut<Ot.length;Ut+=1)Ot[Ut]&&j.virtual.slides.unshift(Ot[Ut]);Yt=Vt+Ot.length,Kt=Ot.length}else j.virtual.slides.unshift(Ot);if(j.params.virtual.cache){const Ut=j.virtual.cache,qt={};Object.keys(Ut).forEach(ae=>{const ne=Ut[ae],ce=ne.attr("data-swiper-slide-index");ce&&ne.attr("data-swiper-slide-index",parseInt(ce,10)+Kt),qt[parseInt(ae,10)+Kt]=ne}),j.virtual.cache=qt}$t(!0),j.slideTo(Yt,0)}function zt(Ot){if(typeof Ot=="undefined"||Ot===null)return;let Vt=j.activeIndex;if(Array.isArray(Ot))for(let Yt=Ot.length-1;Yt>=0;Yt-=1)j.virtual.slides.splice(Ot[Yt],1),j.params.virtual.cache&&delete j.virtual.cache[Ot[Yt]],Ot[Yt]<Vt&&(Vt-=1),Vt=Math.max(Vt,0);else j.virtual.slides.splice(Ot,1),j.params.virtual.cache&&delete j.virtual.cache[Ot],Ot<Vt&&(Vt-=1),Vt=Math.max(Vt,0);$t(!0),j.slideTo(Vt,0)}function It(){j.virtual.slides=[],j.params.virtual.cache&&(j.virtual.cache={}),$t(!0),j.slideTo(0,0)}st("beforeInit",()=>{j.params.virtual.enabled&&(j.virtual.slides=j.params.virtual.slides,j.classNames.push(`${j.params.containerModifierClass}virtual`),j.params.watchSlidesProgress=!0,j.originalParams.watchSlidesProgress=!0,j.params.initialSlide||$t())}),st("setTranslate",()=>{j.params.virtual.enabled&&(j.params.cssMode&&!j._immediateVirtual?(clearTimeout(Et),Et=setTimeout(()=>{$t()},100)):$t())}),st("init update resize",()=>{j.params.virtual.enabled&&j.params.cssMode&&zn(j.wrapperEl,"--swiper-virtual-size",`${j.virtualSize}px`)}),Object.assign(j.virtual,{appendSlide:Nt,prependSlide:Mt,removeSlide:zt,removeAllSlides:It,update:$t})}function Ga({swiper:j,extendParams:lt,on:st,emit:ht}){const Et=q(),Ct=W();j.keyboard={enabled:!1},lt({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function $t(zt){if(!j.enabled)return;const{rtlTranslate:It}=j;let Ot=zt;Ot.originalEvent&&(Ot=Ot.originalEvent);const Vt=Ot.keyCode||Ot.charCode,Yt=j.params.keyboard.pageUpDown,Kt=Yt&&Vt===33,Ut=Yt&&Vt===34,qt=Vt===37,ae=Vt===39,ne=Vt===38,ce=Vt===40;if(!j.allowSlideNext&&(j.isHorizontal()&&ae||j.isVertical()&&ce||Ut)||!j.allowSlidePrev&&(j.isHorizontal()&&qt||j.isVertical()&&ne||Kt))return!1;if(!(Ot.shiftKey||Ot.altKey||Ot.ctrlKey||Ot.metaKey)&&!(Et.activeElement&&Et.activeElement.nodeName&&(Et.activeElement.nodeName.toLowerCase()==="input"||Et.activeElement.nodeName.toLowerCase()==="textarea"))){if(j.params.keyboard.onlyInViewport&&(Kt||Ut||qt||ae||ne||ce)){let ke=!1;if(j.$el.parents(`.${j.params.slideClass}`).length>0&&j.$el.parents(`.${j.params.slideActiveClass}`).length===0)return;const Ce=j.$el,Ie=Ce[0].clientWidth,Me=Ce[0].clientHeight,Re=Ct.innerWidth,We=Ct.innerHeight,Le=j.$el.offset();It&&(Le.left-=j.$el[0].scrollLeft);const ge=[[Le.left,Le.top],[Le.left+Ie,Le.top],[Le.left,Le.top+Me],[Le.left+Ie,Le.top+Me]];for(let pe=0;pe<ge.length;pe+=1){const ye=ge[pe];if(ye[0]>=0&&ye[0]<=Re&&ye[1]>=0&&ye[1]<=We){if(ye[0]===0&&ye[1]===0)continue;ke=!0}}if(!ke)return}j.isHorizontal()?((Kt||Ut||qt||ae)&&(Ot.preventDefault?Ot.preventDefault():Ot.returnValue=!1),((Ut||ae)&&!It||(Kt||qt)&&It)&&j.slideNext(),((Kt||qt)&&!It||(Ut||ae)&&It)&&j.slidePrev()):((Kt||Ut||ne||ce)&&(Ot.preventDefault?Ot.preventDefault():Ot.returnValue=!1),(Ut||ce)&&j.slideNext(),(Kt||ne)&&j.slidePrev()),ht("keyPress",Vt)}}function Nt(){j.keyboard.enabled||(Be(Et).on("keydown",$t),j.keyboard.enabled=!0)}function Mt(){j.keyboard.enabled&&(Be(Et).off("keydown",$t),j.keyboard.enabled=!1)}st("init",()=>{j.params.keyboard.enabled&&Nt()}),st("destroy",()=>{j.keyboard.enabled&&Mt()}),Object.assign(j.keyboard,{enable:Nt,disable:Mt})}function Ha({swiper:j,extendParams:lt,on:st,emit:ht}){const Et=W();lt({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),j.mousewheel={enabled:!1};let Ct,$t=xn(),Nt;const Mt=[];function zt(ne){let Ie=0,Me=0,Re=0,We=0;return"detail"in ne&&(Me=ne.detail),"wheelDelta"in ne&&(Me=-ne.wheelDelta/120),"wheelDeltaY"in ne&&(Me=-ne.wheelDeltaY/120
vendor: 4,400 bytes, line 25
25),"wheelDeltaX"in ne&&(Ie=-ne.wheelDeltaX/120),"axis"in ne&&ne.axis===ne.HORIZONTAL_AXIS&&(Ie=Me,Me=0),Re=Ie*10,We=Me*10,"deltaY"in ne&&(We=ne.deltaY),"deltaX"in ne&&(Re=ne.deltaX),ne.shiftKey&&!Re&&(Re=We,We=0),(Re||We)&&ne.deltaMode&&(ne.deltaMode===1?(Re*=40,We*=40):(Re*=800,We*=800)),Re&&!Ie&&(Ie=Re<1?-1:1),We&&!Me&&(Me=We<1?-1:1),{spinX:Ie,spinY:Me,pixelX:Re,pixelY:We}}function It(){j.enabled&&(j.mouseEntered=!0)}function Ot(){j.enabled&&(j.mouseEntered=!1)}function Vt(ne){return j.params.mousewheel.thresholdDelta&&ne.delta<j.params.mousewheel.thresholdDelta||j.params.mousewheel.thresholdTime&&xn()-$t<j.params.mousewheel.thresholdTime?!1:ne.delta>=6&&xn()-$t<60?!0:(ne.direction<0?(!j.isEnd||j.params.loop)&&!j.animating&&(j.slideNext(),ht("scroll",ne.raw)):(!j.isBeginning||j.params.loop)&&!j.animating&&(j.slidePrev(),ht("scroll",ne.raw)),$t=new Et.Date().getTime(),!1)}function Yt(ne){const ce=j.params.mousewheel;if(ne.direction<0){if(j.isEnd&&!j.params.loop&&ce.releaseOnEdges)return!0}else if(j.isBeginning&&!j.params.loop&&ce.releaseOnEdges)return!0;return!1}function Kt(ne){let ce=ne,ke=!0;if(!j.enabled)return;const Ce=j.params.mousewheel;j.params.cssMode&&ce.preventDefault();let Ie=j.$el;if(j.params.mousewheel.eventsTarget!=="container"&&(Ie=Be(j.params.mousewheel.eventsTarget)),!j.mouseEntered&&!Ie[0].contains(ce.target)&&!Ce.releaseOnEdges)return!0;ce.originalEvent&&(ce=ce.originalEvent);let Me=0;const Re=j.rtlTranslate?-1:1,We=zt(ce);if(Ce.forceToAxis)if(j.isHorizontal())if(Math.abs(We.pixelX)>Math.abs(We.pixelY))Me=-We.pixelX*Re;else return!0;else if(Math.abs(We.pixelY)>Math.abs(We.pixelX))Me=-We.pixelY;else return!0;else Me=Math.abs(We.pixelX)>Math.abs(We.pixelY)?-We.pixelX*Re:-We.pixelY;if(Me===0)return!0;Ce.invert&&(Me=-Me);let Le=j.getTranslate()+Me*Ce.sensitivity;if(Le>=j.minTranslate()&&(Le=j.minTranslate()),Le<=j.maxTranslate()&&(Le=j.maxTranslate()),ke=j.params.loop?!0:!(Le===j.minTranslate()||Le===j.maxTranslate()),ke&&j.params.nested&&ce.stopPropagation(),!j.params.freeMode||!j.params.freeMode.enabled){const ge={time:xn(),delta:Math.abs(Me),direction:Math.sign(Me),raw:ne};Mt.length>=2&&Mt.shift();const pe=Mt.length?Mt[Mt.length-1]:void 0;if(Mt.push(ge),pe?(ge.direction!==pe.direction||ge.delta>pe.delta||ge.time>pe.time+150)&&Vt(ge):Vt(ge),Yt(ge))return!0}else{const ge={time:xn(),delta:Math.abs(Me),direction:Math.sign(Me)},pe=Nt&&ge.time<Nt.time+500&&ge.delta<=Nt.delta&&ge.direction===Nt.direction;if(!pe){Nt=void 0,j.params.loop&&j.loopFix();let ye=j.getTranslate()+Me*Ce.sensitivity;const Ye=j.isBeginning,Je=j.isEnd;if(ye>=j.minTranslate()&&(ye=j.minTranslate()),ye<=j.maxTranslate()&&(ye=j.maxTranslate()),j.setTransition(0),j.setTranslate(ye),j.updateProgress(),j.updateActiveIndex(),j.updateSlidesClasses(),(!Ye&&j.isBeginning||!Je&&j.isEnd)&&j.updateSlidesClasses(),j.params.freeMode.sticky){clearTimeout(Ct),Ct=void 0,Mt.length>=15&&Mt.shift();const ve=Mt.length?Mt[Mt.length-1]:void 0,Ge=Mt[0];if(Mt.push(ge),ve&&(ge.delta>ve.delta||ge.direction!==ve.direction))Mt.splice(0);else if(Mt.length>=15&&ge.time-Ge.time<500&&Ge.delta-ge.delta>=1&&ge.delta<=6){const Ve=Me>0?.8:.2;Nt=ge,Mt.splice(0),Ct=Mn(()=>{j.slideToClosest(j.params.speed,!0,void 0,Ve)},0)}Ct||(Ct=Mn(()=>{Nt=ge,Mt.splice(0),j.slideToClosest(j.params.speed,!0,void 0,.5)},500))}if(pe||ht("scroll",ce),j.params.autoplay&&j.params.autoplayDisableOnInteraction&&j.autoplay.stop(),ye===j.minTranslate()||ye===j.maxTranslate())return!0}}return ce.preventDefault?ce.preventDefault():ce.returnValue=!1,!1}function Ut(ne){let ce=j.$el;j.params.mousewheel.eventsTarget!=="container"&&(ce=Be(j.params.mousewheel.eventsTarget)),ce[ne]("mouseenter",It),ce[ne]("mouseleave",Ot),ce[ne]("wheel",Kt)}function qt(){return j.params.cssMode?(j.wrapperEl.removeEventListener("wheel",Kt),!0):j.mousewheel.enabled?!1:(Ut("on"),j.mousewheel.enabled=!0,!0)}function ae(){return j.params.cssMode?(j.wrapperEl.addEventListener(event,Kt),!0):j.mousewheel.enabled?(Ut("off"),j.mousewheel.enabled=!1,!0):!1}st("init",()=>{!j.params.mousewheel.enabled&&j.params.cssMode&&ae(),j.params.mousewheel.enabled&&qt()}),st("destroy",()=>{j.params.cssMode&&qt(),j.mousewheel.enabled&&ae()}),Object.assign(j.mousewheel,{enable:qt,disable:ae})}function fr(j,lt,st,ht){const Et=q();return j.params.createElements&&Object.keys(ht).forEach(Ct=>{if(!st[Ct]&&st.auto===!0){let $t=j.$el.children(`.${ht[Ct]}`)[0];
25$t||($t=Et.createElement("div"),$t.className=ht[Ct],j.$el.append($t)),st[Ct]=$t,lt[Ct]=$t}}),st}function Gi({swiper:j,extendParams:lt,on:st,emit:ht}){lt({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),j.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null};function Et(Yt){let Kt;return Yt&&(Kt=Be(Yt),j.params.uniqueNavElements&&typeof Yt=="string"&&Kt.length>1&&j.$el.find(Yt).length===1&&(Kt=j.$el.find(Yt))),Kt}function Ct(Yt,Kt){const Ut=j.params.navigation;Yt&&Yt.length>0&&(Yt[Kt?"addClass":"removeClass"](Ut.disabledClass),Yt[0]&&Yt[0].tagName==="BUTTON"&&(Yt[0].disabled=Kt),j.params.watchOverflow&&j.enabled&&Yt[j.isLocked?"addClass":"removeClass"](Ut.lockClass))}function $t(){if(j.params.loop)return;const{$nextEl:Yt,$prevEl:Kt}=j.navigation;Ct(Kt,j.isBeginning&&!j.params.rewind),Ct(Yt,j.isEnd&&!j.params.rewind)}function Nt(Yt){Yt.preventDefault(),!(j.isBeginning&&!j.params.loop&&!j.params.rewind)&&(j.slidePrev(),ht("navigationPrev"))}function Mt(Yt){Yt.preventDefault(),!(j.isEnd&&!j.params.loop&&!j.params.rewind)&&(j.slideNext(),ht("navigationNext"))}function zt(){const Yt=j.params.navigation;if(j.params.navigation=fr(j,j.originalParams.navigation,j.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(Yt.nextEl||Yt.prevEl))return;const Kt=Et(Yt.nextEl),Ut=Et(Yt.prevEl);Kt&&Kt.length>0&&Kt.on("click",Mt),Ut&&Ut.length>0&&Ut.on("click",Nt),Object.assign(j.navigation,{$nextEl:Kt,nextEl:Kt&&Kt[0],$prevEl:Ut,prevEl:Ut&&Ut[0]}),j.enabled||(Kt&&Kt.addClass(Yt.lockClass),Ut&&Ut.addClass(Yt.lockClass))}function It(){const{$nextEl:Yt,$prevEl:Kt}=j.navigation;Yt&&Yt.length&&(Yt.off("click",Mt),Yt.removeClass(j.params.navigation.disabledClass)),Kt&&Kt.length&&(Kt.off("click",Nt),Kt.removeClass(j.params.navigation.disabledClass))}st("init",()=>
25{j.params.navigation.enabled===!1?Vt():(zt(),$t())}),st("toEdge fromEdge lock unlock",()=>{$t()}),st("destroy",()=>{It()}),st("enable disable",()=>{const{$nextEl:Yt,$prevEl:Kt}=j.navigation;Yt&&Yt[j.enabled?"removeClass":"addClass"](j.params.navigation.lockClass),Kt&&Kt[j.enabled?"removeClass":"addClass"](j.params.navigation.lockClass)}),st("click",(Yt,Kt)=>{const{$nextEl:Ut,$prevEl:qt}=j.navigation,ae=Kt.target;if(j.params.navigation.hideOnClick&&!Be(ae).is(qt)&&!Be(ae).is(Ut)){if(j.pagination&&j.params.pagination&&j.params.pagination.clickable&&(j.pagination.el===ae||j.pagination.el.contains(ae)))return;let ne;Ut?ne=Ut.hasClass(j.params.navigation.hiddenClass):qt&&(ne=qt.hasClass(j.params.navigation.hiddenClass)),ht(ne===!0?"navigationShow":"navigationHide"),Ut&&Ut.toggleClass(j.params.navigation.hiddenClass),qt&&qt.toggleClass(j.params.navigation.hiddenClass)}});const Ot=()=>{j.$el.removeClass(j.params.navigation.navigationDisabledClass),zt(),$t()},Vt=()=>{j.$el.addClass(j.params.navigation.navigationDisabledClass),It()};Object.assign(j.navigation,{enable:Ot,disable:Vt,update:$t,init:zt,destroy:It})}function Fn(j=""){return`.${j.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function Hi({swiper:j,extendParams:lt,on:st,emit:ht}){const Et="swiper-pagination";lt({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:Ut=>Ut,formatFractionTotal:Ut=>Ut,bulletClass:`${Et}-bullet`,bulletActiveClass:`${Et}-bullet-active`,modifierClass:`${Et}-`,currentClass:`${Et}-current`,totalClass:`${Et}-total`,hiddenClass:`${Et}-hidden`,progressbarFillClass:`${Et}-progressbar-fill`,progressbarOppositeClass:`${Et}-progressbar-opposite`,clickableClass:`${Et}-clickable`,lockClass:`${Et}-lock`,horizontalClass:`${Et}-horizontal`,verticalClass:`${Et}-vertical`,paginationDisabledClass:`${Et}-disabled`}}),j.pagination={el:null,$el:null,bullets:[]};let Ct,$t=0;function Nt(){return!j.params.pagination.el||!j.pagination.el||!j.pagination.$el||j.pagination.$el.length===0}function Mt(Ut,qt){const{bulletActiveClass:ae}=j.params.pagination;Ut[qt]().addClass(`${ae}-${qt}`)[qt]().addClass(`${ae}-${qt}-${qt}`)}function zt(){const Ut=j.rtl,qt=j.params.pagination;if(Nt())return;const ae=j.virtual&&j.params.virtual.enabled?j.virtual.slides.length:j.slides.length,ne=j.pagination.$el;let ce;const ke=j.params.loop?Math.ceil((ae-j.loopedSlides*2)/j.params.slidesPerGroup):j.snapGrid.length;if(j.params.loop?(ce=Math.ceil((j.activeIndex-j.loopedSlides)/j.params.slidesPerGroup),ce>ae-1-j.loopedSlides*2&&(ce-=ae-j.loopedSlides*2),ce>ke-1&&(ce-=ke),ce<0&&j.params.paginationType!=="bullets"&&(ce=ke+ce)):typeof j.snapIndex!="undefined"?ce=j.snapIndex:ce=j.activeIndex||0,qt.type==="bullets"&&j.pagination.bullets&&j.pagination.bullets.length>0){const Ce=j.pagination.bullets;let Ie,Me,Re;if(qt.dynamicBullets&&(Ct=Ce.eq(0)[j.isHorizontal()?"outerWidth":"outerHeight"](!0),ne.css(j.isHorizontal()?"width":"height",`${Ct*(qt.dynamicMainBullets+4)}px`),qt.dynamicMainBullets>1&&j.previousIndex!==void 0&&($t+=ce-(j.previousIndex-j.loopedSlides||0),$t>qt.dynamicMainBullets-1?$t=qt.dynamicMainBullets-1:$t<0&&($t=0)),Ie=Math.max(ce-$t,0),Me=Ie+(Math.min(Ce.length,qt.dynamicMainBullets)-1),Re=(Me+Ie)/2),Ce.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map(We=>`${qt.bulletActiveClass}${We}`).join(" ")),ne.length>1)Ce.each(We=>{const Le=Be(We),ge=Le.index();ge===ce&&Le.addClass(qt.bulletActiveClass),qt.dynamicBullets&&(ge>=Ie&&ge<=Me&&Le.addClass(`${qt.bulletActiveClass}-main`),ge===Ie&&Mt(Le,"prev"),ge===Me&&Mt(Le,"next"))});else{const We=Ce.eq(ce),Le=We.index();if(We.addClass(qt.bulletActiveClass),qt.dynamicBullets){const ge=Ce.eq(Ie),pe=Ce.eq(Me);for(let ye=Ie;ye<=Me;ye+=1)Ce.eq(ye).addClass(`${qt.bulletActiveClass}-main`);if(j.params.loop)if(Le>=Ce.length){for(let ye=qt.dynamicMainBullets;ye>=0;ye-=1)Ce.eq(Ce.length-ye).addClass(`${qt.bulletActiveClass}-main`);Ce.eq(Ce.length-qt.dynamicMainBullets-1).addClass(`${qt.bulletActiveClass}-prev`)}else Mt(ge,"prev"),Mt(pe,"next");else Mt(ge,"prev"),Mt(pe,"next")}}if(qt.dynamicBullets){const We=Math.min(Ce.length,qt.dynamicMainBullets+4),Le=(Ct*We-Ct)/2-Re*Ct,ge=Ut?"right":"left";Ce.css(j.isHorizontal()?ge:"top",`${Le}px`)}}
25if(qt.type==="fraction"&&(ne.find(Fn(qt.currentClass)).text(qt.formatFractionCurrent(ce+1)),ne.find(Fn(qt.totalClass)).text(qt.formatFractionTotal(ke))),qt.type==="progressbar"){let Ce;qt.progressbarOpposite?Ce=j.isHorizontal()?"vertical":"horizontal":Ce=j.isHorizontal()?"horizontal":"vertical";const Ie=(ce+1)/ke;let Me=1,Re=1;Ce==="horizontal"?Me=Ie:Re=Ie,ne.find(Fn(qt.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${Me}) scaleY(${Re})`).transition(j.params.speed)}qt.type==="custom"&&qt.renderCustom?(ne.html(qt.renderCustom(j,ce+1,ke)),ht("paginationRender",ne[0])):ht("paginationUpdate",ne[0]),j.params.watchOverflow&&j.enabled&&ne[j.isLocked?"addClass":"removeClass"](qt.lockClass)}function It(){const Ut=j.params.pagination;if(Nt())return;const qt=j.virtual&&j.params.virtual.enabled?j.virtual.slides.length:j.slides.length,ae=j.pagination.$el;let ne="";if(Ut.type==="bullets"){let ce=j.params.loop?Math.ceil((qt-j.loopedSlides*2)/j.params.slidesPerGroup):j.snapGrid.length;j.params.freeMode&&j.params.freeMode.enabled&&!j.params.loop&&ce>qt&&(ce=qt);for(let ke=0;ke<ce;ke+=1)Ut.renderBullet?ne+=Ut.renderBullet.call(j,ke,Ut.bulletClass):ne+=`<${Ut.bulletElement} class="${Ut.bulletClass}"></${Ut.bulletElement}>`;ae.html(ne),j.pagination.bullets=ae.find(Fn(Ut.bulletClass))}Ut.type==="fraction"&&(Ut.renderFraction?ne=Ut.renderFraction.call(j,Ut.currentClass,Ut.totalClass):ne=`<span class="${Ut.currentClass}"></span> / <span class="${Ut.totalClass}"></span>`,ae.html(ne)),Ut.type==="progressbar"&&(Ut.renderProgressbar?ne=Ut.renderProgressbar.call(j,Ut.progressbarFillClass):ne=`<span class="${Ut.progressbarFillClass}"></span>`,ae.html(ne)),Ut.type!=="custom"&&ht("paginationRender",j.pagination.$el[0])}function Ot(){j.params.pagination=fr(j,j.originalParams.pagination,j.params.pagination,{el:"swiper-pagination"});const Ut=j.params.pagination;if(!Ut.el)return;let qt=Be(Ut.el);qt.length!==0&&(j.params.uniqueNavElements&&typeof Ut.el=="string"&&qt.length>1&&(qt=j.$el.find(Ut.el),qt.length>1&&(qt=qt.filter(ae=>Be(ae).parents(".swiper")[0]===j.el))),Ut.type==="bullets"&&Ut.clickable&&qt.addClass(Ut.clickableClass),qt.addClass(Ut.modifierClass+Ut.type),qt.addClass(j.isHorizontal()?Ut.horizontalClass:Ut.verticalClass),Ut.type==="bullets"&&Ut.dynamicBullets&&(qt.addClass(`${Ut.modifierClass}${Ut.type}-dynamic`),$t=0,Ut.dynamicMainBullets<1&&(Ut.dynamicMainBullets=1)),Ut.type==="progressbar"&&Ut.progressbarOpposite&&qt.addClass(Ut.progressbarOppositeClass),Ut.clickable&&qt.on("click",Fn(Ut.bulletClass),function(ne){ne.preventDefault();let ce=Be(this).index()*j.params.slidesPerGroup;j.params.loop&&(ce+=j.loopedSlides),j.slideTo(ce)}),Object.assign(j.pagination,{$el:qt,el:qt[0]}),j.enabled||qt.addClass(Ut.lockClass))}function Vt(){const Ut=j.params.pagination;if(Nt())return;const qt=j.pagination.$el;qt.removeClass(Ut.hiddenClass),qt.removeClass(Ut.modifierClass+Ut.type),qt.removeClass(j.isHorizontal()?Ut.horizontalClass:Ut.verticalClass),j.pagination.bullets&&j.pagination.bullets.removeClass&&j.pagination.bullets.removeClass(Ut.bulletActiveClass),Ut.clickable&&qt.off("click",Fn(Ut.bulletClass))}st("init",()=>{j.params.pagination.enabled===!1?Kt():(Ot(),It(),zt())}),st("activeIndexChange",()=>{(j.params.loop||typeof j.snapIndex=="undefined")&&zt()}),st("snapIndexChange",()=>{j.params.loop||zt()}),st("slidesLengthChange",()=>{j.params.loop&&(It(),zt())}),st("snapGridLengthChange",()=>{j.params.loop||(It(),zt())}),st("destroy",()=>{Vt()}),st("enable disable",()=>{const{$el:Ut}=j.pagination;Ut&&Ut[j.enabled?"removeClass":"addClass"](j.params.pagination.lockClass)}),st("lock unlock",()=>{zt()}),st("click",(Ut,qt)=>{const ae=qt.target,{$el:ne}=j.pagination;if(j.params.pagination.el&&j.params.pagination.hideOnClick&&ne&&ne.length>0&&!Be(ae).hasClass(j.params.pagination.bulletClass)){if(j.navigation&&(j.navigation.nextEl&&ae===j.navigation.nextEl||j.navigation.prevEl&&ae===j.navigation.prevEl))return;const ce=ne.hasClass(j.params.pagination.hiddenClass);ht(ce===!0?"paginationShow":"paginationHide"),ne.toggleClass(j.params.pagination.hiddenClass)}});const Yt=()=>{j.$el.removeClass(j.params.pagination.paginationDisabledClass),j.pagination.$el&&j.pagination.$el.removeClass(j.params.pagination.paginationDisabledClass),Ot(),It(),zt()},Kt=()=>{j.$el.addClass(j.params.pagination.paginationDisabledClass),j.pagination.$el&&j.pagination.$el.addClass(j.params.pagination.paginationDisabledClass),Vt()};Object.assign(j.pagination,{enable:Yt,disable:Kt,render:It,update:zt,init:Ot,destroy:Vt})}function Ua({swiper:j,extendParams:lt,on:st,emit:ht}){const Et=q();let Ct=!1,$t=null,Nt=null,Mt,zt,It,Ot;lt({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),j.scrollbar={el:null,dragEl:null,$el:null,$dragEl:null};function Vt(){if(!j.params.scrollbar.el||!j.scrollbar.el)return;const{scrollbar:ge,rtlTranslate:pe,progress:ye}=j,{$dragEl:Ye,$el:Je}=ge,ve=j.params.scrollbar;let Ge=zt,Ve=(It-zt)*ye;pe?(Ve=-Ve,Ve>0?(Ge=zt-Ve,Ve=0):-Ve+zt>It&&(Ge=It+Ve)):Ve<0?(Ge=zt+Ve,Ve=0):Ve+zt>It&&(Ge=It-Ve),j.isHorizontal()?(Ye.transform(`translate3d(${Ve}px, 0, 0)`),Ye[0].style.width=`${Ge}px`):(Ye.transform(`translate3d(0px, ${Ve}px, 0)`),Ye[0].style.height=`${Ge}
25px`),ve.hide&&(clearTimeout($t),Je[0].style.opacity=1,$t=setTimeout(()=>{Je[0].style.opacity=0,Je.transition(400)},1e3))}function Yt(ge){!j.params.scrollbar.el||!j.scrollbar.el||j.scrollbar.$dragEl.transition(ge)}function Kt(){if(!j.params.scrollbar.el||!j.scrollbar.el)return;const{scrollbar:ge}=j,{$dragEl:pe,$el:ye}=ge;pe[0].style.width="",pe[0].style.height="",It=j.isHorizontal()?ye[0].offsetWidth:ye[0].offsetHeight,Ot=j.size/(j.virtualSize+j.params.slidesOffsetBefore-(j.params.centeredSlides?j.snapGrid[0]:0)),j.params.scrollbar.dragSize==="auto"?zt=It*Ot:zt=parseInt(j.params.scrollbar.dragSize,10),j.isHorizontal()?pe[0].style.width=`${zt}px`:pe[0].style.height=`${zt}px`,Ot>=1?ye[0].style.display="none":ye[0].style.display="",j.params.scrollbar.hide&&(ye[0].style.opacity=0),j.params.watchOverflow&&j.enabled&&ge.$el[j.isLocked?"addClass":"removeClass"](j.params.scrollbar.lockClass)}function Ut(ge){return j.isHorizontal()?ge.type==="touchstart"||ge.type==="touchmove"?ge.targetTouches[0].clientX:ge.clientX:ge.type==="touchstart"||ge.type==="touchmove"?ge.targetTouches[0].clientY:ge.clientY}function qt(ge){const{scrollbar:pe,rtlTranslate:ye}=j,{$el:Ye}=pe;let Je;Je=(Ut(ge)-Ye.offset()[j.isHorizontal()?"left":"top"]-(Mt!==null?Mt:zt/2))/(It-zt),Je=Math.max(Math.min(Je,1),0),ye&&(Je=1-Je);const ve=j.minTranslate()+(j.maxTranslate()-j.minTranslate())*Je;j.updateProgress(ve),j.setTranslate(ve),j.updateActiveIndex(),j.updateSlidesClasses()}function ae(ge){const pe=j.params.scrollbar,{scrollbar:ye,$wrapperEl:Ye}=j,{$el:Je,$dragEl:ve}=ye;Ct=!0,Mt=ge.target===ve[0]||ge.target===ve?Ut(ge)-ge.target.getBoundingClientRect()[j.isHorizontal()?"left":"top"]:null,ge.preventDefault(),ge.stopPropagation(),Ye.transition(100),ve.transition(100),qt(ge),clearTimeout(Nt),Je.transition(0),pe.hide&&Je.css("opacity",1),j.params.cssMode&&j.$wrapperEl.css("scroll-snap-type","none"),ht("scrollbarDragStart",ge)}function ne(ge){const{scrollbar:pe,$wrapperEl:ye}=j,{$el:Ye,$dragEl:Je}=pe;Ct&&(ge.preventDefault?ge.preventDefault():ge.returnValue=!1,qt(ge),ye.transition(0),Ye.transition(0),Je.transition(0),ht("scrollbarDragMove",ge))}function ce(ge){const pe=j.params.scrollbar,{scrollbar:ye,$wrapperEl:Ye}=j,{$el:Je}=ye;Ct&&(Ct=!1,j.params.cssMode&&(j.$wrapperEl.css("scroll-snap-type",""),Ye.transition("")),pe.hide&&(clearTimeout(Nt),Nt=Mn(()=>{Je.css("opacity",0),Je.transition(400)},1e3)),ht("scrollbarDragEnd",ge),pe.snapOnRelease&&j.slideToClosest())}function ke(ge){const{scrollbar:pe,touchEventsTouch:ye,touchEventsDesktop:Ye,params:Je,support:ve}=j,Ge=pe.$el;if(!Ge)return;const Ve=Ge[0],un=ve.passiveListener&&Je.passiveListeners?{passive:!1,capture:!1}:!1,dn=ve.passiveListener&&Je.passiveListeners?{passive:!0,capture:!1}:!1;if(!Ve)return;const Pn=ge==="on"?"addEventListener":"removeEventListener";ve.touch?(Ve[Pn](ye.start,ae,un),Ve[Pn](ye.move,ne,un),Ve[Pn](ye.end,ce,dn)):(Ve[Pn](Ye.start,ae,un),Et[Pn](Ye.move,ne,un),Et[Pn](Ye.end,ce,dn))}function Ce(){!j.params.scrollbar.el||!j.scrollbar.el||ke("on")}function Ie(){!j.params.scrollbar.el||!j.scrollbar.el||ke("off")}function Me(){const{scrollbar:ge,$el:pe}=j;j.params.scrollbar=fr(j,j.originalParams.scrollbar,j.params.scrollbar,{el:"swiper-scrollbar"});const ye=j.params.scrollbar;if(!ye.el)return;let Ye=Be(ye.el);j.params.uniqueNavElements&&typeof ye.el=="string"&&Ye.length>1&&pe.find(ye.el).length===1&&(Ye=pe.find(ye.el)),Ye.addClass(j.isHorizontal()?ye.horizontalClass:ye.verticalClass);let Je=Ye.find(`.${j.params.scrollbar.dragClass}`);Je.length===0&&(Je=Be(`<div class="${j.params.scrollbar.dragClass}"></div>`),Ye.append(Je)),Object.assign(ge,{$el:Ye,el:Ye[0],$dragEl:Je,dragEl:Je[0]}),ye.draggable&&Ce(),Ye&&Ye[j.enabled?"removeClass":"addClass"](j.params.scrollbar.lockClass)}function Re(){const ge=j.params.scrollbar,pe=j.scrollbar.$el;pe&&pe.removeClass(j.isHorizontal()?ge.horizontalClass:ge.verticalClass),Ie()}st("init",()=>{j.params.scrollbar.enabled===!1?Le():(Me(),Kt(),Vt())}),st("update resize observerUpdate lock unlock",()=>{Kt()}),st("setTranslate",()=>{Vt()}),st("setTransition",(ge,pe)=>{Yt(pe)}),st("enable disable",()=>{const{$el:ge}=j.scrollbar;ge&&ge[j.enabled?"removeClass":"addClass"](j.params.scrollbar.lockClass)}),st("destroy",()=>{Re()});const We=()=>{j.$el.removeClass(j.params.scrollbar.scrollbarDisabledClass),j.scrollbar.$el&&j.scrollbar.$el.removeClass(j.params.scrollbar.scrollbarDisabledClass),Me(),Kt(),Vt()},Le=()=>{j.$el.addClass(j.params.scrollbar.scrollbarDisabledClass),j.scrollbar.$el&&j.scrollbar.$el.addClass(j.params.scrollbar.scrollbarDisabledClass),Re()};Object.assign(j.scrollbar,{enable:We,disable:Le,updateSize:Kt,setTranslate:Vt,init:Me,destroy:Re})}function Wa({swiper:j,extendParams:lt,on:st}){lt({parallax:{enabled:!1}});const ht=($t,Nt)=>{const{rtl:Mt}=j,zt=Be($t),It=Mt?-1:1,Ot=zt.attr("data-swiper-parallax")||"0";let Vt=zt.attr("data-swiper-parallax-x"),Yt=zt.attr("data-swiper-parallax-y");const Kt=zt.attr("data-swiper-parallax-scale"),Ut=zt.attr("data-swiper-parallax-opacity");if(Vt||Yt?(Vt=Vt||"0",Yt=Yt||"0"):j.isHorizontal()?(Vt=Ot,Yt="0"):(Yt=Ot,Vt="0"),Vt.indexOf("%")>=0?Vt=`${parseInt(Vt,10)*Nt*It}%`:Vt=`${Vt*Nt*It}px`,Yt.indexOf("%")>=0?Yt=`${parseInt(Yt,10)*Nt}%`:Yt=`${Yt*Nt}
25px`,typeof Ut!="undefined"&&Ut!==null){const qt=Ut-(Ut-1)*(1-Math.abs(Nt));zt[0].style.opacity=qt}if(typeof Kt=="undefined"||Kt===null)zt.transform(`translate3d(${Vt}, ${Yt}, 0px)`);else{const qt=Kt-(Kt-1)*(1-Math.abs(Nt));zt.transform(`translate3d(${Vt}, ${Yt}, 0px) scale(${qt})`)}},Et=()=>{const{$el:$t,slides:Nt,progress:Mt,snapGrid:zt}=j;$t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(It=>{ht(It,Mt)}),Nt.each((It,Ot)=>{let Vt=It.progress;j.params.slidesPerGroup>1&&j.params.slidesPerView!=="auto"&&(Vt+=Math.ceil(Ot/2)-Mt*(zt.length-1)),Vt=Math.min(Math.max(Vt,-1),1),Be(It).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(Yt=>{ht(Yt,Vt)})})},Ct=($t=j.params.speed)=>{const{$el:Nt}=j;Nt.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(Mt=>
25{const zt=Be(Mt);let It=parseInt(zt.attr("data-swiper-parallax-duration"),10)||$t;$t===0&&(It=0),zt.transition(It)})};st("beforeInit",()=>{j.params.parallax.enabled&&(j.params.watchSlidesProgress=!0,j.originalParams.watchSlidesProgress=!0)}),st("init",()=>{j.params.parallax.enabled&&Et()}),st("setTranslate",()=>{j.params.parallax.enabled&&Et()}),st("setTransition",($t,Nt)=>{j.params.parallax.enabled&&Ct(Nt)})}function qa({swiper:j,extendParams:lt,on:st,emit:ht}){const Et=W();lt({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),j.zoom={enabled:!1};let Ct=1,$t=!1,Nt,Mt,zt;const It={$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},Ot={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},Vt={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let Yt=1;Object.defineProperty(j.zoom,"scale",{get(){return Yt},set(ve){if(Yt!==ve){const Ge=It.$imageEl?It.$imageEl[0]:void 0,Ve=It.$slideEl?It.$slideEl[0]:void 0;ht("zoomChange",ve,Ge,Ve)}Yt=ve}});function Kt(ve){if(ve.targetTouches.length<2)return 1;const Ge=ve.targetTouches[0].pageX,Ve=ve.targetTouches[0].pageY,un=ve.targetTouches[1].pageX,dn=ve.targetTouches[1].pageY;return Math.sqrt((un-Ge)**2+(dn-Ve)**2)}function Ut(ve){const Ge=j.support,Ve=j.params.zoom;if(Mt=!1,zt=!1,!Ge.gestures){if(ve.type!=="touchstart"||ve.type==="touchstart"&&ve.targetTouches.length<2)return;Mt=!0,It.scaleStart=Kt(ve)}if((!It.$slideEl||!It.$slideEl.length)&&(It.$slideEl=Be(ve.target).closest(`.${j.params.slideClass}`),It.$slideEl.length===0&&(It.$slideEl=j.slides.eq(j.activeIndex)),It.$imageEl=It.$slideEl.find(`.${Ve.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),It.$imageWrapEl=It.$imageEl.parent(`.${Ve.containerClass}`),It.maxRatio=It.$imageWrapEl.attr("data-swiper-zoom")||Ve.maxRatio,It.$imageWrapEl.length===0)){It.$imageEl=void 0;return}It.$imageEl&&It.$imageEl.transition(0),$t=!0}function qt(ve){const Ge=j.support,Ve=j.params.zoom,un=j.zoom;if(!Ge.gestures){if(ve.type!=="touchmove"||ve.type==="touchmove"&&ve.targetTouches.length<2)return;zt=!0,It.scaleMove=Kt(ve)}if(!It.$imageEl||It.$imageEl.length===0){ve.type==="gesturechange"&&Ut(ve);return}Ge.gestures?un.scale=ve.scale*Ct:un.scale=It.scaleMove/It.scaleStart*Ct,un.scale>It.maxRatio&&(un.scale=It.maxRatio-1+(un.scale-It.maxRatio+1)**.5),un.scale<Ve.minRatio&&(un.scale=Ve.minRatio+1-(Ve.minRatio-un.scale+1)**.5),It.$imageEl.transform(`translate3d(0,0,0) scale(${un.scale})`)}function ae(ve){const Ge=j.device,Ve=j.support,un=j.params.zoom,dn=j.zoom;if(!Ve.gestures){if(!Mt||!zt||ve.type!=="touchend"||ve.type==="touchend"&&ve.changedTouches.length<2&&!Ge.android)return;Mt=!1,zt=!1}!It.$imageEl||It.$imageEl.length===0||(dn.scale=Math.max(Math.min(dn.scale,It.maxRatio),un.minRatio),It.$imageEl.transition(j.params.speed).transform(`translate3d(0,0,0) scale(${dn.scale})`),Ct=dn.scale,$t=!1,dn.scale===1&&(It.$slideEl=void 0))}function ne(ve){const Ge=j.device;!It.$imageEl||It.$imageEl.length===0||Ot.isTouched||(Ge.android&&ve.cancelable&&ve.preventDefault(),Ot.isTouched=!0,Ot.touchesStart.x=ve.type==="touchstart"?ve.targetTouches[0].pageX:ve.pageX,Ot.touchesStart.y=ve.type==="touchstart"?ve.targetTouches[0].pageY:ve.pageY)}function ce(ve){const Ge=j.zoom;if(!It.$imageEl||It.$imageEl.length===0||(j.allowClick=!1,!Ot.isTouched||!It.$slideEl))return;Ot.isMoved||(Ot.width=It.$imageEl[0].offsetWidth,Ot.height=It.$imageEl[0].offsetHeight,Ot.startX=Xn(It.$imageWrapEl[0],"x")||0,Ot.startY=Xn(It.$imageWrapEl[0],"y")||0,It.slideWidth=It.$slideEl[0].offsetWidth,It.slideHeight=It.$slideEl[0].offsetHeight,It.$imageWrapEl.transition(0));const Ve=Ot.width*Ge.scale,un=Ot.height*Ge.scale;if(!(Ve<It.slideWidth&&un<It.slideHeight)){if(Ot.minX=Math.min(It.slideWidth/2-Ve/2,0),Ot.maxX=-Ot.minX,Ot.minY=Math.min(It.slideHeight/2-un/2,0),Ot.maxY=-Ot.minY,Ot.touchesCurrent.x=ve.type==="touchmove"?ve.targetTouches[0].pageX:ve.pageX,Ot.touchesCurrent.y=ve.type==="touchmove"?ve.targetTouches[0].pageY:ve.pageY,!Ot.isMoved&&!$t){if(j.isHorizontal()&&(Math.floor(Ot.minX)===Math.floor(Ot.startX)&&Ot.touchesCurrent.x<Ot.touchesStart.x||Math.floor(Ot.maxX)===Math.floor(Ot.startX)&&Ot.touchesCurrent.x>Ot.touchesStart.x)){Ot.isTouched=!1;return}if(!j.isHorizontal()&&(Math.floor(Ot.minY)===Math.floor(Ot.startY)&&Ot.touchesCurrent.y<Ot.touchesStart.y||Math.floor(Ot.maxY)===Math.floor(Ot.startY)&&Ot.touchesCurrent.y>Ot.touchesStart.y)){Ot.isTouched=!1;return}}ve.cancelable&&ve.preventDefault(),ve.stopPropagation(),Ot.isMoved=!0,Ot.currentX=Ot.touchesCurrent.x-Ot.touchesStart.x+Ot.startX,Ot.currentY=Ot.touchesCurrent.y-Ot.touchesStart.y+Ot.startY,Ot.currentX<Ot.minX&&(Ot.currentX=Ot.minX+1-(Ot.minX-Ot.currentX+1)**.8),Ot.currentX>Ot.maxX&&(Ot.currentX=Ot.maxX-1+(Ot.currentX-Ot.maxX+1)**.8),Ot.currentY<Ot.minY&&(Ot.currentY=Ot.minY+1-(Ot.minY-Ot.currentY+1)**.8),Ot.currentY>Ot.maxY&&(Ot.currentY=Ot.maxY-1+(Ot.currentY-Ot.maxY+1)**.8),Vt.prevPositionX||(Vt.prevPositionX=Ot.touchesCurrent.x),Vt.prevPositionY||(Vt.prevPositionY=Ot.touchesCurrent.y),Vt.prevTime||(Vt.prevTime=Date.now()),Vt.x=(Ot.touchesCurrent.x-Vt.prevPositionX)/(Date.now()-Vt.prevTime)/2,Vt.y=(Ot.touchesCurrent.y-Vt.prevPositionY)/(Date.now()-Vt.prevTime)/2,Math.abs(Ot.touchesCurrent.x-Vt.prevPositionX)<2&&(Vt.x=0),Math.abs(Ot.touchesCurrent.y-Vt.prevPositionY)<2&&(Vt.y=0),Vt.prevPositionX=Ot.touchesCurrent.x,Vt.prevPositionY=Ot.touchesCurrent.y,Vt.prevTime=Date.now(),It.$imageWrapEl.transform(`translate3d(${Ot.currentX}px, ${Ot.currentY}px,0)`)}}function ke(){const ve=j.zoom;if(!It.$imageEl||It.$imageEl.length===0)return;if(!Ot.isTouched||!Ot.isMoved){Ot.isTouched=!1,Ot.isMoved=!1;return}Ot.isTouched=!1,Ot.isMoved=!1;
25let Ge=300,Ve=300;const un=Vt.x*Ge,dn=Ot.currentX+un,Pn=Vt.y*Ve,Vn=Ot.currentY+Pn;Vt.x!==0&&(Ge=Math.abs((dn-Ot.currentX)/Vt.x)),Vt.y!==0&&(Ve=Math.abs((Vn-Ot.currentY)/Vt.y));const nr=Math.max(Ge,Ve);Ot.currentX=dn,Ot.currentY=Vn;const rr=Ot.width*ve.scale,$n=Ot.height*ve.scale;Ot.minX=Math.min(It.slideWidth/2-rr/2,0),Ot.maxX=-Ot.minX,Ot.minY=Math.min(It.slideHeight/2-$n/2,0),Ot.maxY=-Ot.minY,Ot.currentX=Math.max(Math.min(Ot.currentX,Ot.maxX),Ot.minX),Ot.currentY=Math.max(Math.min(Ot.currentY,Ot.maxY),Ot.minY),It.$imageWrapEl.transition(nr).transform(`translate3d(${Ot.currentX}px, ${Ot.currentY}px,0)`)}function Ce(){const ve=j.zoom;It.$slideEl&&j.previousIndex!==j.activeIndex&&(It.$imageEl&&It.$imageEl.transform("translate3d(0,0,0) scale(1)"),It.$imageWrapEl&&It.$imageWrapEl.transform("translate3d(0,0,0)"),ve.scale=1,Ct=1,It.$slideEl=void 0,It.$imageEl=void 0,It.$imageWrapEl=void 0)}function Ie(ve){const Ge=j.zoom,Ve=j.params.zoom;if(It.$slideEl||(ve&&ve.target&&(It.$slideEl=Be(ve.target).closest(`.${j.params.slideClass}`)),It.$slideEl||(j.params.virtual&&j.params.virtual.enabled&&j.virtual?It.$slideEl=j.$wrapperEl.children(`.${j.params.slideActiveClass}`):It.$slideEl=j.slides.eq(j.activeIndex)),It.$imageEl=It.$slideEl.find(`.${Ve.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),It.$imageWrapEl=It.$imageEl.parent(`.${Ve.containerClass}`)),!It.$imageEl||It.$imageEl.length===0||!It.$imageWrapEl||It.$imageWrapEl.length===0)return;j.params.cssMode&&(j.wrapperEl.style.overflow="hidden",j.wrapperEl.style.touchAction="none"),It.$slideEl.addClass(`${Ve.zoomedSlideClass}`);let un,dn,Pn,Vn,nr,rr,$n,jn,Pr,kr,Mr,Ir,ir,ar,dr,pr,mr,gr;typeof Ot.touchesStart.x=="undefined"&&ve?(un=ve.type==="touchend"?ve.changedTouches[0].pageX:ve.pageX,dn=ve.type==="touchend"?ve.changedTouches[0].pageY:ve.pageY):(un=Ot.touchesStart.x,dn=Ot.touchesStart.y),Ge.scale=It.$imageWrapEl.attr("data-swiper-zoom")||Ve.maxRatio,Ct=It.$imageWrapEl.attr("data-swiper-zoom")||Ve.maxRatio,ve?(mr=It.$slideEl[0].offsetWidth,gr=It.$slideEl[0].offsetHeight,Pn=It.$slideEl.offset().left+Et.scrollX,Vn=It.$slideEl.offset().top+Et.scrollY,nr=Pn+mr/2-un,rr=Vn+gr/2-dn,Pr=It.$imageEl[0].offsetWidth,kr=It.$imageEl[0].offsetHeight,Mr=Pr*Ge.scale,Ir=kr*Ge.scale,ir=Math.min(mr/2-Mr/2,0),ar=Math.min(gr/2-Ir/2,0),dr=-ir,pr=-ar,$n=nr*Ge.scale,jn=rr*Ge.scale,$n<ir&&($n=ir),$n>dr&&($n=dr),jn<ar&&(jn=ar),jn>pr&&(jn=pr)):($n=0,jn=0),It.$imageWrapEl.transition(300).transform(`translate3d(${$n}px, ${jn}px,0)`),It.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${Ge.scale})`)}function Me(){const ve=j.zoom,Ge=j.params.zoom;It.$slideEl||(j.params.virtual&&j.params.virtual.enabled&&j.virtual?It.$slideEl=j.$wrapperEl.children(`.${j.params.slideActiveClass}`):It.$slideEl=j.slides.eq(j.activeIndex),It.$imageEl=It.$slideEl.find(`.${Ge.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),It.$imageWrapEl=It.$imageEl.parent(`.${Ge.containerClass}`)),!(!It.$imageEl||It.$imageEl.length===0||!It.$imageWrapEl||It.$imageWrapEl.length===0)&&(j.params.cssMode&&(j.wrapperEl.style.overflow="",j.wrapperEl.style.touchAction=""),ve.scale=1,Ct=1,It.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),It.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),It.$slideEl.removeClass(`${Ge.zoomedSlideClass}`),It.$slideEl=void 0)}function Re(ve){const Ge=j.zoom;Ge.scale&&Ge.scale!==1?Me():Ie(ve)}function We(){const ve=j.support,Ge=j.touchEvents.start==="touchstart"&&ve.passiveListener&&j.params.passiveListeners?{passive:!0,capture:!1}:!1,Ve=ve.passiveListener?{passive:!1,capture:!0}:!0;return{passiveListener:Ge,activeListenerWithCapture:Ve}}function Le(){return`.${j.params.slideClass}`}function ge(ve){const{passiveListener:Ge}=We(),Ve=Le();j.$wrapperEl[ve]("gesturestart",Ve,Ut,Ge),j.$wrapperEl[ve]("gesturechange",Ve,qt,Ge),j.$wrapperEl[ve]("gestureend",Ve,ae,Ge)}function pe(){Nt||(Nt=!0,ge("on"))}function ye(){Nt&&(Nt=!1,ge("off"))}function Ye(){const ve=j.zoom;if(ve.enabled)return;ve.enabled=!0;const Ge=j.support,{passiveListener:Ve,activeListenerWithCapture:un}=We(),dn=Le();Ge.gestures?(j.$wrapperEl.on(j.touchEvents.start,pe,Ve),j.$wrapperEl.on(j.touchEvents.end,ye,Ve)):j.touchEvents.start==="touchstart"&&(j.$wrapperEl.on(j.touchEvents.start,dn,Ut,Ve),j.$wrapperEl.on(j.touchEvents.move,dn,qt,un),j.$wrapperEl.on(j.touchEvents.end,dn,ae,Ve),j.touchEvents.cancel&&j.$wrapperEl.on(j.touchEvents.cancel,dn,ae,Ve)),j.$wrapperEl.on(j.touchEvents.move,`.${j.params.zoom.containerClass}`,ce,un)}function Je(){const ve=j.zoom;if(!ve.enabled)return;const Ge=j.support;ve.enabled=!1;const{passiveListener:Ve,activeListenerWithCapture:un}=We(),dn=Le();Ge.gestures?(j.$wrapperEl.off(j.touchEvents.start,pe,Ve),j.$wrapperEl.off(j.touchEvents.end,ye,Ve)):j.touchEvents.start==="touchstart"&&(j.$wrapperEl.off(j.touchEvents.start,dn,Ut,Ve),j.$wrapperEl.off(j.touchEvents.move,dn,qt,un),j.$wrapperEl.off(j.touchEvents.end,dn,ae,Ve),j.touchEvents.cancel&&j.$wrapperEl.off(j.touchEvents.cancel,dn,ae,Ve)),j.$wrapperEl.off(j.touchEvents.move,`.${j.params.zoom.containerClass}`,ce,un)}st("init",()=>{j.params.zoom.enabled&&Ye()}),st("destroy",()=>{Je()}),st("touchStart",(ve,Ge)=>{j.zoom.enabled&&ne(Ge)}),st("touchEnd",(ve,Ge)=>{j.zoom.enabled&&ke(Ge)}),st("doubleTap",(ve,Ge)=>{!j.animating&&j.params.zoom.enabled&&j.zoom.enabled&&j.params.zoom.toggle&&Re(Ge)}),st("transitionEnd",()=>{j.zoom.enabled&&j.params.zoom.enabled&&Ce()}),st("slideChange",()=>{j.zoom.enabled&&j.params.zoom.enabled&&j.params.cssMode&&Ce()}),Object.assign(j.zoom,{enable:Ye,disable:Je,in:Ie,out:Me,toggle:Re})}function Ui({swiper:j,extendParams:lt,on:st,emit:ht}){lt({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}}),j.lazy={};let Et=!1,Ct=!1;function $t(zt,It=!0){const Ot=j.params.lazy;if(typeof zt=="undefined"||j.slides.length===0)return;const Yt=j.virtual&&j.params.virtual.enabled?j.$wrapperEl.children(`.${j.params.slideClass}[data-swiper-slide-index="${zt}"]`):j.slides.eq(zt),Kt=Yt.find(`.${Ot.elementClass}:not(.${Ot.loadedClass}):not(.${Ot.loadingClass})`);Yt.hasClass(Ot.elementClass)&&!Yt.hasClass(Ot.loadedClass)&&!Yt.hasClass(Ot.loadingClass)&&Kt.push(Yt[0]),Kt.length!==0&&Kt.each(Ut=>{const qt=Be(Ut);qt.addClass(Ot.loadingClass);const ae=qt.attr("data-background"),ne=qt.attr("data-src"),ce=qt.attr("data-srcset"),ke=qt.attr("data-sizes"),Ce=qt.parent("picture");j.loadImage(qt[0],ne||ae,ce,ke,!1,()=>{if(!(typeof j=="undefined"||j===null||!j||j&&!j.params||j.destroyed)){if(ae?(qt.css("background-image",`url("${ae}")`),qt.removeAttr("data-background")):(ce&&(qt.attr("srcset",ce),qt.removeAttr("data-srcset")),ke&&(qt.attr("sizes",ke),qt.removeAttr("data-sizes")),Ce.length&&Ce.children("source").each(Ie=>{const Me=Be(Ie);Me.attr("data-srcset")&&(Me.attr("srcset",Me.attr("data-srcset")),Me.removeAttr("data-srcset"))}),ne&&(qt.attr("src",ne),qt.removeAttr("data-src"))),qt.addClass(Ot.loadedClass).removeClass(Ot.loadingClass),Yt.find(`.${Ot.preloaderClass}`).remove(),j.params.loop&&It){const Ie=Yt.attr("data-swiper-slide-index");if(Yt.hasClass(j.params.slideDuplicateClass)){const Me=j.$wrapperEl.children(`[data-swiper-slide-index="${Ie}"]:not(.${j.params.slideDuplicateClass})`);$t(Me.index(),!1)}else{const Me=j.$wrapperEl.children(`.${j.params.slideDuplicateClass}[data-swiper-slide-index="${Ie}"]`);$t(Me.index(),!1)}}ht("lazyImageReady",Yt[0],qt[0]),j.params.autoHeight&&j.updateAutoHeight()}}),ht("lazyImageLoad",Yt[0],qt[0])})}function Nt(){const{$wrapperEl:zt,params:It,slides:Ot,activeIndex:Vt}=j,Yt=j.virtual&&It.virtual.enabled,Kt=It.lazy;let Ut=It.slidesPerView;Ut==="auto"&&(Ut=0);function qt(ne){if(Yt){if(zt.children(`.${It.slideClass}[data-swiper-slide-index="${ne}"]`).length)return!0}else if(Ot[ne])return!0;return!1}function ae(ne){return Yt?Be(ne).attr("data-swiper-slide-index"):Be(ne).index()}if(Ct||(Ct=!0),j.params.watchSlidesProgress)zt.children(`.${It.slideVisibleClass}`).each(ne=>{const ce=Yt?Be(ne).attr("data-swiper-slide-index"):Be(ne).index();$t(ce)});else if(Ut>1)for(let ne=Vt;ne<Vt+Ut;ne+=1)qt(ne)&&$t(ne);else $t(Vt);if(Kt.loadPrevNext)if(Ut>1||Kt.loadPrevNextAmount&&Kt.loadPrevNextAmount>1){const ne=Kt.loadPrevNextAmount,ce=Math.ceil(Ut),ke=Math.min(Vt+ce+Math.max(ne,ce),Ot.length),Ce=Math.max(Vt-Math.max(ce,ne),0);for(let Ie=Vt+ce;Ie<ke;Ie+=1)qt(Ie)&&$t(Ie);for(let Ie=Ce;Ie<Vt;Ie+=1)qt(Ie)&&$t(Ie)}else{const ne=zt.children(`.${It.slideNextClass}`);ne.length>0&&$t(ae(ne));const ce=zt.children(`.${It.slidePrevClass}`);ce.length>0&&$t(ae(ce))}}
25function Mt(){const zt=W();if(!j||j.destroyed)return;const It=j.params.lazy.scrollingElement?Be(j.params.lazy.scrollingElement):Be(zt),Ot=It[0]===zt,Vt=Ot?zt.innerWidth:It[0].offsetWidth,Yt=Ot?zt.innerHeight:It[0].offsetHeight,Kt=j.$el.offset(),{rtlTranslate:Ut}=j;let qt=!1;Ut&&(Kt.left-=j.$el[0].scrollLeft);const ae=[[Kt.left,Kt.top],[Kt.left+j.width,Kt.top],[Kt.left,Kt.top+j.height],[Kt.left+j.width,Kt.top+j.height]];for(let ce=0;ce<ae.length;ce+=1){const ke=ae[ce];if(ke[0]>=0&&ke[0]<=Vt&&ke[1]>=0&&ke[1]<=Yt){if(ke[0]===0&&ke[1]===0)continue;qt=!0}}const ne=j.touchEvents.start==="touchstart"&&j.support.passiveListener&&j.params.passiveListeners?{passive:!0,capture:!1}:!1;qt?(Nt(),It.off("scroll",Mt,ne)):Et||(Et=!0,It.on("scroll",Mt,ne))}st("beforeInit",()=>{j.params.lazy.enabled&&j.params.preloadImages&&(j.params.preloadImages=!1)}),st("init",()=>{j.params.lazy.enabled&&(j.params.lazy.checkInView?Mt():Nt())}),st("scroll",()=>{j.params.freeMode&&j.params.freeMode.enabled&&!j.params.freeMode.sticky&&Nt()}),st("scrollbarDragMove resize _freeModeNoMomentumRelease",()=>{j.params.lazy.enabled&&(j.params.lazy.checkInView?Mt():Nt())}),st("transitionStart",()=>{j.params.lazy.enabled&&(j.params.lazy.loadOnTransitionStart||!j.params.lazy.loadOnTransitionStart&&!Ct)&&(j.params.lazy.checkInView?Mt():Nt())}),st("transitionEnd",()=>{j.params.lazy.enabled&&!j.params.lazy.loadOnTransitionStart&&(j.params.lazy.checkInView?Mt():Nt())}),st("slideChange",()=>{const{lazy:zt,cssMode:It,watchSlidesProgress:Ot,touchReleaseOnEdges:Vt,resistanceRatio:Yt}=j.params;zt.enabled&&(It||Ot&&(Vt||Yt===0))&&Nt()}),st("destroy",()=>{j.$el&&j.$el.find(`.${j.params.lazy.loadingClass}`).removeClass(j.params.lazy.loadingClass)}),Object.assign(j.lazy,{load:Nt,loadInSlide:$t})}function Ya({swiper:j,extendParams:lt,on:st}){lt({controller:{control:void 0,inverse:!1,by:"slide"}}),j.controller={control:void 0};function ht(Mt,zt){const It=(function(){let Kt,Ut,qt;return(ae,ne)=>{for(Ut=-1,Kt=ae.length;Kt-Ut>1;)qt=Kt+Ut>>1,ae[qt]<=ne?Ut=qt:Kt=qt;return Kt}})();this.x=Mt,this.y=zt,this.lastIndex=Mt.length-1;let Ot,Vt;return this.interpolate=function(Kt){return Kt?(Vt=It(this.x,Kt),Ot=Vt-1,(Kt-this.x[Ot])*(this.y[Vt]-this.y[Ot])/(this.x[Vt]-this.x[Ot])+this.y[Ot]):0},this}function Et(Mt){j.controller.spline||(j.controller.spline=j.params.loop?new ht(j.slidesGrid,Mt.slidesGrid):new ht(j.snapGrid,Mt.snapGrid))}function Ct(Mt,zt){const It=j.controller.control;let Ot,Vt;const Yt=j.constructor;function Kt(Ut){const qt=j.rtlTranslate?-j.translate:j.translate;j.params.controller.by==="slide"&&(Et(Ut),Vt=-j.controller.spline.interpolate(-qt)),(!Vt||j.params.controller.by==="container")&&(Ot=(Ut.maxTranslate()-Ut.minTranslate())/(j.maxTranslate()-j.minTranslate()),Vt=(qt-j.minTranslate())*Ot+Ut.minTranslate()),j.params.controller.inverse&&(Vt=Ut.maxTranslate()-Vt),Ut.updateProgress(Vt),Ut.setTranslate(Vt,j),Ut.updateActiveIndex(),Ut.updateSlidesClasses()}if(Array.isArray(It))for(let Ut=0;Ut<It.length;Ut+=1)It[Ut]!==zt&&It[Ut]instanceof Yt&&Kt(It[Ut]);else It instanceof Yt&&zt!==It&&Kt(It)}function $t(Mt,zt){const It=j.constructor,Ot=j.controller.control;let Vt;function Yt(Kt){Kt.setTransition(Mt,j),Mt!==0&&(Kt.transitionStart(),Kt.params.autoHeight&&Mn(()=>{Kt.updateAutoHeight()}),Kt.$wrapperEl.transitionEnd(()=>{Ot&&(Kt.params.loop&&j.params.controller.by==="slide"&&Kt.loopFix(),Kt.transitionEnd())}))}if(Array.isArray(Ot))for(Vt=0;Vt<Ot.length;Vt+=1)Ot[Vt]!==zt&&Ot[Vt]instanceof It&&Yt(Ot[Vt]);else Ot instanceof It&&zt!==Ot&&Yt(Ot)}function Nt(){j.controller.control&&j.controller.spline&&(j.controller.spline=void 0,delete j.controller.spline)}st("beforeInit",()=>{j.controller.control=j.params.controller.control}),st("update",()=>{Nt()}),st("resize",()=>{Nt()}),st("observerUpdate",()=>{Nt()}),st("setTranslate",(Mt,zt,It)=>{j.controller.control&&j.controller.setTranslate(zt,It)}),st("setTransition",(Mt,zt,It)=>{j.controller.control&&j.controller.setTransition(zt,It)}),Object.assign(j.controller,{setTranslate:Ct,setTransition:$t})}function Xa({swiper:j,extendParams:lt,on:st}){lt({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),j.a11y={clicked:!1};let ht=null;function Et(pe){const ye=ht;ye.length!==0&&(ye.html(""),ye.html(pe))}function Ct(pe=16){const ye=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(pe).replace(/x/g,ye)}function $t(pe){pe.attr("tabIndex","0")}function Nt(pe){pe.attr("tabIndex","-1")}function Mt(pe,ye){pe.attr("role",ye)}function zt(pe,ye){pe.attr("aria-roledescription",ye)}function It(pe,ye){pe.attr("aria-controls",ye)}function Ot(pe,ye){pe.attr("aria-label",ye)}function Vt(pe,ye){pe.attr("id",ye)}function Yt(pe,ye){pe.attr("aria-live",ye)}function Kt(pe){pe.attr("aria-disabled",!0)}function Ut(pe){pe.attr("aria-disabled",!1)}
vendor: 1,275 bytes, line 25
25function qt(pe){if(pe.keyCode!==13&&pe.keyCode!==32)return;const ye=j.params.a11y,Ye=Be(pe.target);j.navigation&&j.navigation.$nextEl&&Ye.is(j.navigation.$nextEl)&&(j.isEnd&&!j.params.loop||j.slideNext(),j.isEnd?Et(ye.lastSlideMessage):Et(ye.nextSlideMessage)),j.navigation&&j.navigation.$prevEl&&Ye.is(j.navigation.$prevEl)&&(j.isBeginning&&!j.params.loop||j.slidePrev(),j.isBeginning?Et(ye.firstSlideMessage):Et(ye.prevSlideMessage)),j.pagination&&Ye.is(Fn(j.params.pagination.bulletClass))&&Ye[0].click()}function ae(){if(j.params.loop||j.params.rewind||!j.navigation)return;const{$nextEl:pe,$prevEl:ye}=j.navigation;ye&&ye.length>0&&(j.isBeginning?(Kt(ye),Nt(ye)):(Ut(ye),$t(ye))),pe&&pe.length>0&&(j.isEnd?(Kt(pe),Nt(pe)):(Ut(pe),$t(pe)))}function ne(){return j.pagination&&j.pagination.bullets&&j.pagination.bullets.length}function ce(){return ne()&&j.params.pagination.clickable}function ke(){const pe=j.params.a11y;ne()&&j.pagination.bullets.each(ye=>{const Ye=Be(ye);j.params.pagination.clickable&&($t(Ye),j.params.pagination.renderBullet||(Mt(Ye,"button"),Ot(Ye,pe.paginationBulletMessage.replace(/\{\{index\}\}/,Ye.index()+1)))),Ye.is(`.${j.params.pagination.bulletActiveClass}`)?Ye.attr("aria-current","true"):Ye.removeAttr("aria-current")})}const Ce=(pe,ye,Ye)=>
25{$t(pe),pe[0].tagName!=="BUTTON"&&(Mt(pe,"button"),pe.on("keydown",qt)),Ot(pe,Ye),It(pe,ye)},Ie=()=>{j.a11y.clicked=!0},Me=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{j.destroyed||(j.a11y.clicked=!1)})})},Re=pe=>{if(j.a11y.clicked)return;const ye=pe.target.closest(`.${j.params.slideClass}`);if(!ye||!j.slides.includes(ye))return;const Ye=j.slides.indexOf(ye)===j.activeIndex,Je=j.params.watchSlidesProgress&&j.visibleSlides&&j.visibleSlides.includes(ye);Ye||Je||pe.sourceCapabilities&&pe.sourceCapabilities.firesTouchEvents||(j.isHorizontal()?j.el.scrollLeft=0:j.el.scrollTop=0,j.slideTo(j.slides.indexOf(ye),0))},We=()=>{const pe=j.params.a11y;pe.itemRoleDescriptionMessage&&zt(Be(j.slides),pe.itemRoleDescriptionMessage),pe.slideRole&&Mt(Be(j.slides),pe.slideRole);const ye=j.params.loop?j.slides.filter(Ye=>!Ye.classList.contains(j.params.slideDuplicateClass)).length:j.slides.length;pe.slideLabelMessage&&j.slides.each((Ye,Je)=>{const ve=Be(Ye),Ge=j.params.loop?parseInt(ve.attr("data-swiper-slide-index"),10):Je,Ve=pe.slideLabelMessage.replace(/\{\{index\}\}/,Ge+1).replace(/\{\{slidesLength\}\}/,ye);Ot(ve,Ve)})},Le=()=>{const pe=j.params.a11y;j.$el.append(ht);const ye=j.$el;pe.containerRoleDescriptionMessage&&zt(ye,pe.containerRoleDescriptionMessage),pe.containerMessage&&Ot(ye,pe.containerMessage);const Ye=j.$wrapperEl,Je=pe.id||Ye.attr("id")||`swiper-wrapper-${Ct(16)}`,ve=j.params.autoplay&&j.params.autoplay.enabled?"off":"polite";Vt(Ye,Je),Yt(Ye,ve),We();let Ge,Ve;j.navigation&&j.navigation.$nextEl&&(Ge=j.navigation.$nextEl),j.navigation&&j.navigation.$prevEl&&(Ve=j.navigation.$prevEl),Ge&&Ge.length&&Ce(Ge,Je,pe.nextSlideMessage),Ve&&Ve.length&&Ce(Ve,Je,pe.prevSlideMessage),ce()&&j.pagination.$el.on("keydown",Fn(j.params.pagination.bulletClass),qt),j.$el.on("focus",Re,!0),j.$el.on("pointerdown",Ie,!0),j.$el.on("pointerup",Me,!0)};function ge(){ht&&ht.length>0&&ht.remove();let pe,ye;j.navigation&&j.navigation.$nextEl&&(pe=j.navigation.$nextEl),j.navigation&&j.navigation.$prevEl&&(ye=j.navigation.$prevEl),pe&&pe.off("keydown",qt),ye&&ye.off("keydown",qt),ce()&&j.pagination.$el.off("keydown",Fn(j.params.pagination.bulletClass),qt),j.$el.off("focus",Re,!0),j.$el.off("pointerdown",Ie,!0),j.$el.off("pointerup",Me,!0)}st("beforeInit",()=>{ht=Be(`<span class="${j.params.a11y.notificationClass}" aria-live="assertive" aria-atomic="true"></span>`)}),st("afterInit",()=>{j.params.a11y.enabled&&Le()}),st("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{j.params.a11y.enabled&&We()}),st("fromEdge toEdge afterInit lock unlock",()=>{j.params.a11y.enabled&&ae()}),st("paginationUpdate",()=>{j.params.a11y.enabled&&ke()}),st("destroy",()=>{j.params.a11y.enabled&&ge()})}function Ka({swiper:j,extendParams:lt,on:st}){lt({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let ht=!1,Et={};const Ct=Vt=>Vt.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),$t=Vt=>{const Yt=W();let Kt;Vt?Kt=new URL(Vt):Kt=Yt.location;const Ut=Kt.pathname.slice(1).split("/").filter(ce=>ce!==""),qt=Ut.length,ae=Ut[qt-2],ne=Ut[qt-1];return{key:ae,value:ne}},Nt=(Vt,Yt)=>{const Kt=W();if(!ht||!j.params.history.enabled)return;let Ut;j.params.url?Ut=new URL(j.params.url):Ut=Kt.location;const qt=j.slides.eq(Yt);let ae=Ct(qt.attr("data-history"));if(j.params.history.root.length>0){let ce=j.params.history.root;ce[ce.length-1]==="/"&&(ce=ce.slice(0,ce.length-1)),ae=`${ce}/${Vt}/${ae}`}else Ut.pathname.includes(Vt)||(ae=`${Vt}/${ae}`);j.params.history.keepQuery&&(ae+=Ut.search);const ne=Kt.history.state;ne&&ne.value===ae||(j.params.history.replaceState?Kt.history.replaceState({value:ae},null,ae):Kt.history.pushState({value:ae},null,ae))},Mt=(Vt,Yt,Kt)=>{if(Yt)for(let Ut=0,qt=j.slides.length;Ut<qt;Ut+=1){const ae=j.slides.eq(Ut);if(Ct(ae.attr("data-history"))===Yt&&!ae.hasClass(j.params.slideDuplicateClass)){const ce=ae.index();j.slideTo(ce,Vt,Kt)}}else j.slideTo(0,Vt,Kt)},zt=()=>{Et=$t(j.params.url),Mt(j.params.speed,Et.value,!1)},It=()=>{const Vt=W();
25if(j.params.history){if(!Vt.history||!Vt.history.pushState){j.params.history.enabled=!1,j.params.hashNavigation.enabled=!0;return}ht=!0,Et=$t(j.params.url),!(!Et.key&&!Et.value)&&(Mt(0,Et.value,j.params.runCallbacksOnInit),j.params.history.replaceState||Vt.addEventListener("popstate",zt))}},Ot=()=>{const Vt=W();j.params.history.replaceState||Vt.removeEventListener("popstate",zt)};st("init",()=>{j.params.history.enabled&&It()}),st("destroy",()=>{j.params.history.enabled&&Ot()}),st("transitionEnd _freeModeNoMomentumRelease",()=>{ht&&Nt(j.params.history.key,j.activeIndex)}),st("slideChange",()=>{ht&&j.params.cssMode&&Nt(j.params.history.key,j.activeIndex)})}function Za({swiper:j,extendParams:lt,emit:st,on:ht}){let Et=!1;const Ct=q(),$t=W();lt({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}});const Nt=()=>{st("hashChange");const Ot=Ct.location.hash.replace("#",""),Vt=j.slides.eq(j.activeIndex).attr("data-hash");if(Ot!==Vt){const Yt=j.$wrapperEl.children(`.${j.params.slideClass}[data-hash="${Ot}"]`).index();if(typeof Yt=="undefined")return;j.slideTo(Yt)}},Mt=()=>{if(!(!Et||!j.params.hashNavigation.enabled))if(j.params.hashNavigation.replaceState&&$t.history&&$t.history.replaceState)$t.history.replaceState(null,null,`#${j.slides.eq(j.activeIndex).attr("data-hash")}`||""),st("hashSet");else{const Ot=j.slides.eq(j.activeIndex),Vt=Ot.attr("data-hash")||Ot.attr("data-history");Ct.location.hash=Vt||"",st("hashSet")}},zt=()=>{if(!j.params.hashNavigation.enabled||j.params.history&&j.params.history.enabled)return;Et=!0;const Ot=Ct.location.hash.replace("#","");if(Ot)for(let Yt=0,Kt=j.slides.length;Yt<Kt;Yt+=1){const Ut=j.slides.eq(Yt);if((Ut.attr("data-hash")||Ut.attr("data-history"))===Ot&&!Ut.hasClass(j.params.slideDuplicateClass)){const ae=Ut.index();j.slideTo(ae,0,j.params.runCallbacksOnInit,!0)}}j.params.hashNavigation.watchState&&Be($t).on("hashchange",Nt)},It=()=>{j.params.hashNavigation.watchState&&Be($t).off("hashchange",Nt)};ht("init",()=>{j.params.hashNavigation.enabled&&zt()}),ht("destroy",()=>{j.params.hashNavigation.enabled&&It()}),ht("transitionEnd _freeModeNoMomentumRelease",()=>{Et&&Mt()}),ht("slideChange",()=>{Et&&j.params.cssMode&&Mt()})}function Wi({swiper:j,extendParams:lt,on:st,emit:ht}){let Et;j.autoplay={running:!1,paused:!1},lt({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});function Ct(){if(!j.size){j.autoplay.running=!1,j.autoplay.paused=!1;return}const Ut=j.slides.eq(j.activeIndex);let qt=j.params.autoplay.delay;Ut.attr("data-swiper-autoplay")&&(qt=Ut.attr("data-swiper-autoplay")||j.params.autoplay.delay),clearTimeout(Et),Et=Mn(()=>{let ae;j.params.autoplay.reverseDirection?j.params.loop?(j.loopFix(),ae=j.slidePrev(j.params.speed,!0,!0),ht("autoplay")):j.isBeginning?j.params.autoplay.stopOnLastSlide?Nt():(ae=j.slideTo(j.slides.length-1,j.params.speed,!0,!0),ht("autoplay")):(ae=j.slidePrev(j.params.speed,!0,!0),ht("autoplay")):j.params.loop?(j.loopFix(),ae=j.slideNext(j.params.speed,!0,!0),ht("autoplay")):j.isEnd?j.params.autoplay.stopOnLastSlide?Nt():(ae=j.slideTo(0,j.params.speed,!0,!0),ht("autoplay")):(ae=j.slideNext(j.params.speed,!0,!0),ht("autoplay")),(j.params.cssMode&&j.autoplay.running||ae===!1)&&Ct()},qt)}function $t(){return typeof Et!="undefined"||j.autoplay.running?!1:(j.autoplay.running=!0,ht("autoplayStart"),Ct(),!0)}function Nt(){return!j.autoplay.running||typeof Et=="undefined"?!1:(Et&&(clearTimeout(Et),Et=void 0),j.autoplay.running=!1,ht("autoplayStop"),!0)}function Mt(Ut){j.autoplay.running&&(j.autoplay.paused||(Et&&clearTimeout(Et),j.autoplay.paused=!0,Ut===0||!j.params.autoplay.waitForTransition?(j.autoplay.paused=!1,Ct()):["transitionend","webkitTransitionEnd"].forEach(qt=>{j.$wrapperEl[0].addEventListener(qt,It)})))}function zt(){const Ut=q();Ut.visibilityState==="hidden"&&j.autoplay.running&&Mt(),Ut.visibilityState==="visible"&&j.autoplay.paused&&(Ct(),j.autoplay.paused=!1)}function It(Ut){!j||j.destroyed||!j.$wrapperEl||Ut.target===j.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach(qt=>{j.$wrapperEl[0].removeEventListener(qt,It)}),j.autoplay.paused=!1,j.autoplay.running?Ct():Nt())}function Ot(){j.params.autoplay.disableOnInteraction?Nt():(ht("autoplayPause"),Mt()),["transitionend","webkitTransitionEnd"].forEach(Ut=>{j.$wrapperEl[0].removeEventListener(Ut,It)})}function Vt(){j.params.autoplay.disableOnInteraction||(j.autoplay.paused=!1,ht("autoplayResume"),Ct())}function Yt(){j.params.autoplay.pauseOnMouseEnter&&(j.$el.on("mouseenter",Ot),j.$el.on("mouseleave",Vt))}function Kt(){j.$el.off("mouseenter",Ot),j.$el.off("mouseleave",Vt)}st("init",()=>{j.params.autoplay.enabled&&($t(),q().addEventListener("visibilitychange",zt),Yt())}),st("beforeTransitionStart",(Ut,qt,ae)=>{j.autoplay.running&&(ae||!j.params.autoplay.disableOnInteraction?j.autoplay.pause(qt):Nt())}),st("sliderFirstMove",()=>{j.autoplay.running&&(j.params.autoplay.disableOnInteraction?Nt():Mt())}),st("touchEnd",()=>{j.params.cssMode&&j.autoplay.paused&&!j.params.autoplay.disableOnInteraction&&Ct()}),st("destroy",()=>{Kt(),j.autoplay.running&&Nt(),q().removeEventListener("visibilitychange",zt)}),Object.assign(j.autoplay,{pause:Mt,run:Ct,start:$t,stop:Nt})}function qi({swiper:j,extendParams:lt,on:st}){lt({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let ht=!1,Et=!1;j.thumbs={swiper:null};function Ct(){const Mt=j.thumbs.swiper;if(!Mt||Mt.destroyed)return;
25const zt=Mt.clickedIndex,It=Mt.clickedSlide;if(It&&Be(It).hasClass(j.params.thumbs.slideThumbActiveClass)||typeof zt=="undefined"||zt===null)return;let Ot;if(Mt.params.loop?Ot=parseInt(Be(Mt.clickedSlide).attr("data-swiper-slide-index"),10):Ot=zt,j.params.loop){let Vt=j.activeIndex;j.slides.eq(Vt).hasClass(j.params.slideDuplicateClass)&&(j.loopFix(),j._clientLeft=j.$wrapperEl[0].clientLeft,Vt=j.activeIndex);const Yt=j.slides.eq(Vt).prevAll(`[data-swiper-slide-index="${Ot}"]`).eq(0).index(),Kt=j.slides.eq(Vt).nextAll(`[data-swiper-slide-index="${Ot}"]`).eq(0).index();typeof Yt=="undefined"?Ot=Kt:typeof Kt=="undefined"?Ot=Yt:Kt-Vt<Vt-Yt?Ot=Kt:Ot=Yt}j.slideTo(Ot)}function $t(){const{thumbs:Mt}=j.params;if(ht)return!1;ht=!0;const zt=j.constructor;if(Mt.swiper instanceof zt)j.thumbs.swiper=Mt.swiper,Object.assign(j.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(j.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1});else if(In(Mt.swiper)){const It=Object.assign({},Mt.swiper);Object.assign(It,{watchSlidesProgress:!0,slideToClickedSlide:!1}),j.thumbs.swiper=new zt(It),Et=!0}return j.thumbs.swiper.$el.addClass(j.params.thumbs.thumbsContainerClass),j.thumbs.swiper.on("tap",Ct),!0}function Nt(Mt){const zt=j.thumbs.swiper;if(!zt||zt.destroyed)return;const It=zt.params.slidesPerView==="auto"?zt.slidesPerViewDynamic():zt.params.slidesPerView;let Ot=1;const Vt=j.params.thumbs.slideThumbActiveClass;if(j.params.slidesPerView>1&&!j.params.centeredSlides&&(Ot=j.params.slidesPerView),j.params.thumbs.multipleActiveThumbs||(Ot=1),Ot=Math.floor(Ot),zt.slides.removeClass(Vt),zt.params.loop||zt.params.virtual&&zt.params.virtual.enabled)for(let Ut=0;Ut<Ot;Ut+=1)zt.$wrapperEl.children(`[data-swiper-slide-index="${j.realIndex+Ut}"]`).addClass(Vt);else for(let Ut=0;Ut<Ot;Ut+=1)zt.slides.eq(j.realIndex+Ut).addClass(Vt);const Yt=j.params.thumbs.autoScrollOffset,Kt=Yt&&!zt.params.loop;if(j.realIndex!==zt.realIndex||Kt){let Ut=zt.activeIndex,qt,ae;if(zt.params.loop){zt.slides.eq(Ut).hasClass(zt.params.slideDuplicateClass)&&(zt.loopFix(),zt._clientLeft=zt.$wrapperEl[0].clientLeft,Ut=zt.activeIndex);const ne=zt.slides.eq(Ut).prevAll(`[data-swiper-slide-index="${j.realIndex}"]`).eq(0).index(),ce=zt.slides.eq(Ut).nextAll(`[data-swiper-slide-index="${j.realIndex}"]`).eq(0).index();typeof ne=="undefined"?qt=ce:typeof ce=="undefined"?qt=ne:ce-Ut===Ut-ne?qt=zt.params.slidesPerGroup>1?ce:Ut:ce-Ut<Ut-ne?qt=ce:qt=ne,ae=j.activeIndex>j.previousIndex?"next":"prev"}else qt=j.realIndex,ae=qt>j.previousIndex?"next":"prev";Kt&&(qt+=ae==="next"?Yt:-1*Yt),zt.visibleSlidesIndexes&&zt.visibleSlidesIndexes.indexOf(qt)<0&&(zt.params.centeredSlides?qt>Ut?qt=qt-Math.floor(It/2)+1:qt=qt+Math.floor(It/2)-1:qt>Ut&&zt.params.slidesPerGroup,zt.slideTo(qt,Mt?0:void 0))}}st("beforeInit",()=>{const{thumbs:Mt}=j.params;!Mt||!Mt.swiper||($t(),Nt(!0))}),st("slideChange update resize observerUpdate",()=>{Nt()}),st("setTransition",(Mt,zt)=>{const It=j.thumbs.swiper;!It||It.destroyed||It.setTransition(zt)}),st("beforeDestroy",()=>{const Mt=j.thumbs.swiper;!Mt||Mt.destroyed||Et&&Mt.destroy()}),Object.assign(j.thumbs,{init:$t,update:Nt})}function Ja({swiper:j,extendParams:lt,emit:st,once:ht}){lt({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function Et(){const Nt=j.getTranslate();j.setTranslate(Nt),j.setTransition(0),j.touchEventsData.velocities.length=0,j.freeMode.onTouchEnd({currentPos:j.rtl?j.translate:-j.translate})}function Ct(){const{touchEventsData:Nt,touches:Mt}=j;Nt.velocities.length===0&&Nt.velocities.push({position:Mt[j.isHorizontal()?"startX":"startY"],time:Nt.touchStartTime}),Nt.velocities.push({position:Mt[j.isHorizontal()?"currentX":"currentY"],time:xn()})}function $t({currentPos:Nt}){const{params:Mt,$wrapperEl:zt,rtlTranslate:It,snapGrid:Ot,touchEventsData:Vt}=j,Kt=xn()-Vt.touchStartTime;if(Nt<-j.minTranslate()){j.slideTo(j.activeIndex);return}if(Nt>-j.maxTranslate()){j.slides.length<Ot.length?j.slideTo(Ot.length-1):j.slideTo(j.slides.length-1);return}if(Mt.freeMode.momentum){if(Vt.velocities.length>1){const Ie=Vt.velocities.pop(),Me=Vt.velocities.pop(),Re=Ie.position-Me.position,We=Ie.time-Me.time;j.velocity=Re/We,j.velocity/=2,Math.abs(j.velocity)<Mt.freeMode.minimumVelocity&&(j.velocity=0),(We>150||xn()-Ie.time>300)&&(j.velocity=0)}else j.velocity=0;
25j.velocity*=Mt.freeMode.momentumVelocityRatio,Vt.velocities.length=0;let Ut=1e3*Mt.freeMode.momentumRatio;const qt=j.velocity*Ut;let ae=j.translate+qt;It&&(ae=-ae);let ne=!1,ce;const ke=Math.abs(j.velocity)*20*Mt.freeMode.momentumBounceRatio;let Ce;if(ae<j.maxTranslate())Mt.freeMode.momentumBounce?(ae+j.maxTranslate()<-ke&&(ae=j.maxTranslate()-ke),ce=j.maxTranslate(),ne=!0,Vt.allowMomentumBounce=!0):ae=j.maxTranslate(),Mt.loop&&Mt.centeredSlides&&(Ce=!0);else if(ae>j.minTranslate())Mt.freeMode.momentumBounce?(ae-j.minTranslate()>ke&&(ae=j.minTranslate()+ke),ce=j.minTranslate(),ne=!0,Vt.allowMomentumBounce=!0):ae=j.minTranslate(),Mt.loop&&Mt.centeredSlides&&(Ce=!0);else if(Mt.freeMode.sticky){let Ie;for(let Me=0;Me<Ot.length;Me+=1)if(Ot[Me]>-ae){Ie=Me;break}Math.abs(Ot[Ie]-ae)<Math.abs(Ot[Ie-1]-ae)||j.swipeDirection==="next"?ae=Ot[Ie]:ae=Ot[Ie-1],ae=-ae}if(Ce&&ht("transitionEnd",()=>{j.loopFix()}),j.velocity!==0){if(It?Ut=Math.abs((-ae-j.translate)/j.velocity):Ut=Math.abs((ae-j.translate)/j.velocity),Mt.freeMode.sticky){const Ie=Math.abs((It?-ae:ae)-j.translate),Me=j.slidesSizesGrid[j.activeIndex];Ie<Me?Ut=Mt.speed:Ie<2*Me?Ut=Mt.speed*1.5:Ut=Mt.speed*2.5}}else if(Mt.freeMode.sticky){j.slideToClosest();return}Mt.freeMode.momentumBounce&&ne?(j.updateProgress(ce),j.setTransition(Ut),j.setTranslate(ae),j.transitionStart(!0,j.swipeDirection),j.animating=!0,zt.transitionEnd(()=>{!j||j.destroyed||!Vt.allowMomentumBounce||(st("momentumBounce"),j.setTransition(Mt.speed),setTimeout(()=>{j.setTranslate(ce),zt.transitionEnd(()=>{!j||j.destroyed||j.transitionEnd()})},0))})):j.velocity?(st("_freeModeNoMomentumRelease"),j.updateProgress(ae),j.setTransition(Ut),j.setTranslate(ae),j.transitionStart(!0,j.swipeDirection),j.animating||(j.animating=!0,zt.transitionEnd(()=>{!j||j.destroyed||j.transitionEnd()}))):j.updateProgress(ae),j.updateActiveIndex(),j.updateSlidesClasses()}else if(Mt.freeMode.sticky){j.slideToClosest();return}else Mt.freeMode&&st("_freeModeNoMomentumRelease");(!Mt.freeMode.momentum||Kt>=Mt.longSwipesMs)&&(j.updateProgress(),j.updateActiveIndex(),j.updateSlidesClasses())}Object.assign(j,{freeMode:{onTouchStart:Et,onTouchMove:Ct,onTouchEnd:$t}})}function Qa({swiper:j,extendParams:lt}){lt({grid:{rows:1,fill:"column"}});let st,ht,Et;const Ct=Mt=>{const{slidesPerView:zt}=j.params,{rows:It,fill:Ot}=j.params.grid;ht=st/It,Et=Math.floor(Mt/It),Math.floor(Mt/It)===Mt/It?st=Mt:st=Math.ceil(Mt/It)*It,zt!=="auto"&&Ot==="row"&&(st=Math.max(st,zt*It))},$t=(Mt,zt,It,Ot)=>{const{slidesPerGroup:Vt,spaceBetween:Yt}=j.params,{rows:Kt,fill:Ut}=j.params.grid;let qt,ae,ne;if(Ut==="row"&&Vt>1){const ce=Math.floor(Mt/(Vt*Kt)),ke=Mt-Kt*Vt*ce,Ce=ce===0?Vt:Math.min(Math.ceil((It-ce*Kt*Vt)/Kt),Vt);ne=Math.floor(ke/Ce),ae=ke-ne*Ce+ce*Vt,qt=ae+ne*st/Kt,zt.css({"-webkit-order":qt,order:qt})}else Ut==="column"?(ae=Math.floor(Mt/Kt),ne=Mt-ae*Kt,(ae>Et||ae===Et&&ne===Kt-1)&&(ne+=1,ne>=Kt&&(ne=0,ae+=1))):(ne=Math.floor(Mt/ht),ae=Mt-ne*ht);zt.css(Ot("margin-top"),ne!==0?Yt&&`${Yt}px`:"")},Nt=(Mt,zt,It)=>{const{spaceBetween:Ot,centeredSlides:Vt,roundLengths:Yt}=j.params,{rows:Kt}=j.params.grid;if(j.virtualSize=(Mt+Ot)*st,j.virtualSize=Math.ceil(j.virtualSize/Kt)-Ot,j.$wrapperEl.css({[It("width")]:`${j.virtualSize+Ot}px`}),Vt){zt.splice(0,zt.length);const Ut=[];for(let qt=0;qt<zt.length;qt+=1){let ae=zt[qt];Yt&&(ae=Math.floor(ae)),zt[qt]<j.virtualSize+zt[0]&&Ut.push(ae)}zt.push(...Ut)}};j.grid={initSlides:Ct,updateSlide:$t,updateWrapperSize:Nt}}function Yi(j){const lt=this,{$wrapperEl:st,params:ht}=lt;if(ht.loop&<.loopDestroy(),typeof j=="object"&&"length"in j)for(let Et=0;Et<j.length;Et+=1)j[Et]&&st.append(j[Et]);else st.append(j);ht.loop&<.loopCreate(),ht.observer||lt.update()}function Xi(j){const lt=this,{params:st,$wrapperEl:ht,activeIndex:Et}=lt;st.loop&<.loopDestroy();let Ct=Et+1;if(typeof j=="object"&&"length"in j){for(let $t=0;$t<j.length;$t+=1)j[$t]&&ht.prepend(j[$t]);Ct=Et+j.length}else ht.prepend(j);st.loop&<.loopCreate(),st.observer||lt.update(),lt.slideTo(Ct,0,!1)}function Ki(j,lt){const st=this,{$wrapperEl:ht,params:Et,activeIndex:Ct}=st;let $t=Ct;Et.loop&&($t-=st.loopedSlides,st.loopDestroy(),st.slides=ht.children(`.${Et.slideClass}`));const Nt=st.slides.length;
25if(j<=0){st.prependSlide(lt);return}if(j>=Nt){st.appendSlide(lt);return}let Mt=$t>j?$t+1:$t;const zt=[];for(let It=Nt-1;It>=j;It-=1){const Ot=st.slides.eq(It);Ot.remove(),zt.unshift(Ot)}if(typeof lt=="object"&&"length"in lt){for(let It=0;It<lt.length;It+=1)lt[It]&&ht.append(lt[It]);Mt=$t>j?$t+lt.length:$t}else ht.append(lt);for(let It=0;It<zt.length;It+=1)ht.append(zt[It]);Et.loop&&st.loopCreate(),Et.observer||st.update(),Et.loop?st.slideTo(Mt+st.loopedSlides,0,!1):st.slideTo(Mt,0,!1)}function Zi(j){const lt=this,{params:st,$wrapperEl:ht,activeIndex:Et}=lt;let Ct=Et;st.loop&&(Ct-=lt.loopedSlides,lt.loopDestroy(),lt.slides=ht.children(`.${st.slideClass}`));let $t=Ct,Nt;if(typeof j=="object"&&"length"in j){for(let Mt=0;Mt<j.length;Mt+=1)Nt=j[Mt],lt.slides[Nt]&<.slides.eq(Nt).remove(),Nt<$t&&($t-=1);$t=Math.max($t,0)}else Nt=j,lt.slides[Nt]&<.slides.eq(Nt).remove(),Nt<$t&&($t-=1),$t=Math.max($t,0);st.loop&<.loopCreate(),st.observer||lt.update(),st.loop?lt.slideTo($t+lt.loopedSlides,0,!1):lt.slideTo($t,0,!1)}function Ji(){const j=this,lt=[];for(let st=0;st<j.slides.length;st+=1)lt.push(st);j.removeSlide(lt)}function ts({swiper:j}){Object.assign(j,{appendSlide:Yi.bind(j),prependSlide:Xi.bind(j),addSlide:Ki.bind(j),removeSlide:Zi.bind(j),removeAllSlides:Ji.bind(j)})}function Un(j){const{effect:lt,swiper:st,on:ht,setTranslate:Et,setTransition:Ct,overwriteParams:$t,perspective:Nt,recreateShadows:Mt,getEffectParams:zt}=j;ht("beforeInit",()=>{if(st.params.effect!==lt)return;st.classNames.push(`${st.params.containerModifierClass}${lt}`),Nt&&Nt()&&st.classNames.push(`${st.params.containerModifierClass}3d`);const Ot=$t?$t():{};Object.assign(st.params,Ot),Object.assign(st.originalParams,Ot)}),ht("setTranslate",()=>{st.params.effect===lt&&Et()}),ht("setTransition",(Ot,Vt)=>{st.params.effect===lt&&Ct(Vt)}),ht("transitionEnd",()=>{if(st.params.effect===lt&&Mt){if(!zt||!zt().slideShadows)return;st.slides.each(Ot=>{st.$(Ot).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()}),Mt()}});let It;ht("virtualUpdate",()=>{st.params.effect===lt&&(st.slides.length||(It=!0),requestAnimationFrame(()=>{It&&st.slides&&st.slides.length&&(Et(),It=!1)}))})}function Jn(j,lt){return j.transformEl?lt.find(j.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):lt}function er({swiper:j,duration:lt,transformEl:st,allSlides:ht}){const{slides:Et,activeIndex:Ct,$wrapperEl:$t}=j;if(j.params.virtualTranslate&<!==0){let Nt=!1,Mt;ht?Mt=st?Et.find(st):Et:Mt=st?Et.eq(Ct).find(st):Et.eq(Ct),Mt.transitionEnd(()=>{if(Nt||!j||j.destroyed)return;Nt=!0,j.animating=!1;
25const zt=["webkitTransitionEnd","transitionend"];for(let It=0;It<zt.length;It+=1)$t.trigger(zt[It])})}}function Qi({swiper:j,extendParams:lt,on:st}){lt({fadeEffect:{crossFade:!1,transformEl:null}}),Un({effect:"fade",swiper:j,on:st,setTranslate:()=>{const{slides:Ct}=j,$t=j.params.fadeEffect;for(let Nt=0;Nt<Ct.length;Nt+=1){const Mt=j.slides.eq(Nt);let It=-Mt[0].swiperSlideOffset;j.params.virtualTranslate||(It-=j.translate);let Ot=0;j.isHorizontal()||(Ot=It,It=0);const Vt=j.params.fadeEffect.crossFade?Math.max(1-Math.abs(Mt[0].progress),0):1+Math.min(Math.max(Mt[0].progress,-1),0);Jn($t,Mt).css({opacity:Vt}).transform(`translate3d(${It}px, ${Ot}px, 0px)`)}},setTransition:Ct=>{const{transformEl:$t}=j.params.fadeEffect;($t?j.slides.find($t):j.slides).transition(Ct),er({swiper:j,duration:Ct,transformEl:$t,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!j.params.cssMode})})}function es({swiper:j,extendParams:lt,on:st}){lt({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const ht=(Nt,Mt,zt)=>{let It=zt?Nt.find(".swiper-slide-shadow-left"):Nt.find(".swiper-slide-shadow-top"),Ot=zt?Nt.find(".swiper-slide-shadow-right"):Nt.find(".swiper-slide-shadow-bottom");It.length===0&&(It=Be(`<div class="swiper-slide-shadow-${zt?"left":"top"}"></div>`),Nt.append(It)),Ot.length===0&&(Ot=Be(`<div class="swiper-slide-shadow-${zt?"right":"bottom"}"></div>`),Nt.append(Ot)),It.length&&(It[0].style.opacity=Math.max(-Mt,0)),Ot.length&&(Ot[0].style.opacity=Math.max(Mt,0))};Un({effect:"cube",swiper:j,on:st,setTranslate:()=>{const{$el:Nt,$wrapperEl:Mt,slides:zt,width:It,height:Ot,rtlTranslate:Vt,size:Yt,browser:Kt}=j,Ut=j.params.cubeEffect,qt=j.isHorizontal(),ae=j.virtual&&j.params.virtual.enabled;let ne=0,ce;Ut.shadow&&(qt?(ce=Mt.find(".swiper-cube-shadow"),ce.length===0&&(ce=Be('<div class="swiper-cube-shadow"></div>'),Mt.append(ce)),ce.css({height:`${It}px`})):(ce=Nt.find(".swiper-cube-shadow"),ce.length===0&&(ce=Be('<div class="swiper-cube-shadow"></div>'),Nt.append(ce))));for(let Ce=0;Ce<zt.length;Ce+=1){const Ie=zt.eq(Ce);let Me=Ce;ae&&(Me=parseInt(Ie.attr("data-swiper-slide-index"),10));let Re=Me*90,We=Math.floor(Re/360);Vt&&(Re=-Re,We=Math.floor(-Re/360));const Le=Math.max(Math.min(Ie[0].progress,1),-1);let ge=0,pe=0,ye=0;Me%4===0?(ge=-We*4*Yt,ye=0):(Me-1)%4===0?(ge=0,ye=-We*4*Yt):(Me-2)%4===0?(ge=Yt+We*4*Yt,ye=Yt):(Me-3)%4===0&&(ge=-Yt,ye=3*Yt+Yt*4*We),Vt&&(ge=-ge),qt||(pe=ge,ge=0);const Ye=`rotateX(${qt?0:-Re}deg) rotateY(${qt?Re:0}deg) translate3d(${ge}px, ${pe}px, ${ye}px)`;Le<=1&&Le>-1&&(ne=Me*90+Le*90,Vt&&(ne=-Me*90-Le*90)),Ie.transform(Ye),Ut.slideShadows&&ht(Ie,Le,qt)}if(Mt.css({"-webkit-transform-origin":`50% 50% -${Yt/2}px`,"transform-origin":`50% 50% -${Yt/2}px`}),Ut.shadow)if(qt)ce.transform(`translate3d(0px, ${It/2+Ut.shadowOffset}px, ${-It/2}px) rotateX(90deg) rotateZ(0deg) scale(${Ut.shadowScale})`);else{const Ce=Math.abs(ne)-Math.floor(Math.abs(ne)/90)*90,Ie=1.5-(Math.sin(Ce*2*Math.PI/360)/2+Math.cos(Ce*2*Math.PI/360)/2),Me=Ut.shadowScale,Re=Ut.shadowScale/Ie,We=Ut.shadowOffset;ce.transform(`scale3d(${Me}, 1, ${Re}) translate3d(0px, ${Ot/2+We}px, ${-Ot/2/Re}px) rotateX(-90deg)`)}const ke=Kt.isSafari||Kt.isWebView?-Yt/2:0;Mt.transform(`translate3d(0px,0,${ke}px) rotateX(${j.isHorizontal()?0:ne}deg) rotateY(${j.isHorizontal()?-ne:0}deg)`),Mt[0].style.setProperty("--swiper-cube-translate-z",`${ke}px`)},setTransition:Nt=>{const{$el:Mt,slides:zt}=j;zt.transition(Nt).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(Nt),j.params.cubeEffect.shadow&&!j.isHorizontal()&&Mt.find(".swiper-cube-shadow").transition(Nt)},recreateShadows:()=>{const Nt=j.isHorizontal();j.slides.each(Mt=>
25{const zt=Math.max(Math.min(Mt.progress,1),-1);ht(Be(Mt),zt,Nt)})},getEffectParams:()=>j.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function Wn(j,lt,st){const ht=`swiper-slide-shadow${st?`-${st}`:""}`,Et=j.transformEl?lt.find(j.transformEl):lt;let Ct=Et.children(`.${ht}`);return Ct.length||(Ct=Be(`<div class="swiper-slide-shadow${st?`-${st}`:""}"></div>`),Et.append(Ct)),Ct}function ns({swiper:j,extendParams:lt,on:st}){lt({flipEffect:{slideShadows:!0,limitRotation:!0,transformEl:null}});const ht=(Nt,Mt,zt)=>{let It=j.isHorizontal()?Nt.find(".swiper-slide-shadow-left"):Nt.find(".swiper-slide-shadow-top"),Ot=j.isHorizontal()?Nt.find(".swiper-slide-shadow-right"):Nt.find(".swiper-slide-shadow-bottom");It.length===0&&(It=Wn(zt,Nt,j.isHorizontal()?"left":"top")),Ot.length===0&&(Ot=Wn(zt,Nt,j.isHorizontal()?"right":"bottom")),It.length&&(It[0].style.opacity=Math.max(-Mt,0)),Ot.length&&(Ot[0].style.opacity=Math.max(Mt,0))};Un({effect:"flip",swiper:j,on:st,setTranslate:()=>{const{slides:Nt,rtlTranslate:Mt}=j,zt=j.params.flipEffect;for(let It=0;It<Nt.length;It+=1){const Ot=Nt.eq(It);let Vt=Ot[0].progress;j.params.flipEffect.limitRotation&&(Vt=Math.max(Math.min(Ot[0].progress,1),-1));const Yt=Ot[0].swiperSlideOffset;let Ut=-180*Vt,qt=0,ae=j.params.cssMode?-Yt-j.translate:-Yt,ne=0;j.isHorizontal()?Mt&&(Ut=-Ut):(ne=ae,ae=0,qt=-Ut,Ut=0),Ot[0].style.zIndex=-Math.abs(Math.round(Vt))+Nt.length,zt.slideShadows&&ht(Ot,Vt,zt);const ce=`translate3d(${ae}px, ${ne}px, 0px) rotateX(${qt}deg) rotateY(${Ut}deg)`;Jn(zt,Ot).transform(ce)}},setTransition:Nt=>{const{transformEl:Mt}=j.params.flipEffect;(Mt?j.slides.find(Mt):j.slides).transition(Nt).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(Nt),er({swiper:j,duration:Nt,transformEl:Mt})},recreateShadows:()=>{const Nt=j.params.flipEffect;j.slides.each(Mt=>
25{const zt=Be(Mt);let It=zt[0].progress;j.params.flipEffect.limitRotation&&(It=Math.max(Math.min(Mt.progress,1),-1)),ht(zt,It,Nt)})},getEffectParams:()=>j.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!j.params.cssMode})})}function rs({swiper:j,extendParams:lt,on:st}){lt({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}}),Un({effect:"coverflow",swiper:j,on:st,setTranslate:()=>{const{width:Ct,height:$t,slides:Nt,slidesSizesGrid:Mt}=j,zt=j.params.coverflowEffect,It=j.isHorizontal(),Ot=j.translate,Vt=It?-Ot+Ct/2:-Ot+$t/2,Yt=It?zt.rotate:-zt.rotate,Kt=zt.depth;for(let Ut=0,qt=Nt.length;Ut<qt;Ut+=1){const ae=Nt.eq(Ut),ne=Mt[Ut],ce=ae[0].swiperSlideOffset,ke=(Vt-ce-ne/2)/ne,Ce=typeof zt.modifier=="function"?zt.modifier(ke):ke*zt.modifier;let Ie=It?Yt*Ce:0,Me=It?0:Yt*Ce,Re=-Kt*Math.abs(Ce),We=zt.stretch;typeof We=="string"&&We.indexOf("%")!==-1&&(We=parseFloat(zt.stretch)/100*ne);let Le=It?0:We*Ce,ge=It?We*Ce:0,pe=1-(1-zt.scale)*Math.abs(Ce);Math.abs(ge)<.001&&(ge=0),Math.abs(Le)<.001&&(Le=0),Math.abs(Re)<.001&&(Re=0),Math.abs(Ie)<.001&&(Ie=0),Math.abs(Me)<.001&&(Me=0),Math.abs(pe)<.001&&(pe=0);const ye=`translate3d(${ge}px,${Le}px,${Re}px) rotateX(${Me}deg) rotateY(${Ie}deg) scale(${pe})`;if(Jn(zt,ae).transform(ye),ae[0].style.zIndex=-Math.abs(Math.round(Ce))+1,zt.slideShadows){let Je=It?ae.find(".swiper-slide-shadow-left"):ae.find(".swiper-slide-shadow-top"),ve=It?ae.find(".swiper-slide-shadow-right"):ae.find(".swiper-slide-shadow-bottom");Je.length===0&&(Je=Wn(zt,ae,It?"left":"top")),ve.length===0&&(ve=Wn(zt,ae,It?"right":"bottom")),Je.length&&(Je[0].style.opacity=Ce>0?Ce:0),ve.length&&(ve[0].style.opacity=-Ce>0?-Ce:0)}}},setTransition:Ct=>{const{transformEl:$t}=j.params.coverflowEffect;($t?j.slides.find($t):j.slides).transition(Ct).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(Ct)},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function is({swiper:j,extendParams:lt,on:st}){lt({creativeEffect:{transformEl:null,limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const ht=$t=>typeof $t=="string"?$t:`${$t}px`;Un({effect:"creative",swiper:j,on:st,setTranslate:()=>{const{slides:$t,$wrapperEl:Nt,slidesSizesGrid:Mt}=j,zt=j.params.creativeEffect,{progressMultiplier:It}=zt,Ot=j.params.centeredSlides;if(Ot){const Vt=Mt[0]/2-j.params.slidesOffsetBefore||0;Nt.transform(`translateX(calc(50% - ${Vt}px))`)}for(let Vt=0;Vt<$t.length;Vt+=1){const Yt=$t.eq(Vt),Kt=Yt[0].progress,Ut=Math.min(Math.max(Yt[0].progress,-zt.limitProgress),zt.limitProgress);let qt=Ut;Ot||(qt=Math.min(Math.max(Yt[0].originalProgress,-zt.limitProgress),zt.limitProgress));const ae=Yt[0].swiperSlideOffset,ne=[j.params.cssMode?-ae-j.translate:-ae,0,0],ce=[0,0,0];let ke=!1;j.isHorizontal()||(ne[1]=ne[0],ne[0]=0);let Ce={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};Ut<0?(Ce=zt.next,ke=!0):Ut>0&&(Ce=zt.prev,ke=!0),ne.forEach((pe,ye)=>{ne[ye]=`calc(${pe}px + (${ht(Ce.translate[ye])} * ${Math.abs(Ut*It)}))`}),ce.forEach((pe,ye)=>{ce[ye]=Ce.rotate[ye]*Math.abs(Ut*It)}),Yt[0].style.zIndex=-Math.abs(Math.round(Kt))+$t.length;const Ie=ne.join(", "),Me=`rotateX(${ce[0]}deg) rotateY(${ce[1]}deg) rotateZ(${ce[2]}deg)`,Re=qt<0?`scale(${1+(1-Ce.scale)*qt*It})`:`scale(${1-(1-Ce.scale)*qt*It})`,We=qt<0?1+(1-Ce.opacity)*qt*It:1-(1-Ce.opacity)*qt*It,Le=`translate3d(${Ie}) ${Me} ${Re}`;if(ke&&Ce.shadow||!ke){let pe=Yt.children(".swiper-slide-shadow");if(pe.length===0&&Ce.shadow&&(pe=Wn(zt,Yt)),pe.length){const ye=zt.shadowPerProgress?Ut*(1/zt.limitProgress):Ut;pe[0].style.opacity=Math.min(Math.max(Math.abs(ye),0),1)}}const ge=Jn(zt,Yt);ge.transform(Le).css({opacity:We}),Ce.origin&&ge.css("transform-origin",Ce.origin)}},setTransition:$t=>{const{transformEl:Nt}=j.params.creativeEffect;(Nt?j.slides.find(Nt):j.slides).transition($t).find(".swiper-slide-shadow").transition($t),er({swiper:j,duration:$t,transformEl:Nt,allSlides:!0})},perspective:()=>j.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!j.params.cssMode})})}function as({swiper:j,extendParams:lt,on:st}){lt({cardsEffect:{slideShadows:!0,transformEl:null,rotate:!0,perSlideRotate:2,perSlideOffset:8}}
25),Un({effect:"cards",swiper:j,on:st,setTranslate:()=>{const{slides:Ct,activeIndex:$t}=j,Nt=j.params.cardsEffect,{startTranslate:Mt,isTouched:zt}=j.touchEventsData,It=j.translate;for(let Ot=0;Ot<Ct.length;Ot+=1){const Vt=Ct.eq(Ot),Yt=Vt[0].progress,Kt=Math.min(Math.max(Yt,-4),4);let Ut=Vt[0].swiperSlideOffset;j.params.centeredSlides&&!j.params.cssMode&&j.$wrapperEl.transform(`translateX(${j.minTranslate()}px)`),j.params.centeredSlides&&j.params.cssMode&&(Ut-=Ct[0].swiperSlideOffset);let qt=j.params.cssMode?-Ut-j.translate:-Ut,ae=0;const ne=-100*Math.abs(Kt);let ce=1,ke=-Nt.perSlideRotate*Kt,Ce=Nt.perSlideOffset-Math.abs(Kt)*.75;const Ie=j.virtual&&j.params.virtual.enabled?j.virtual.from+Ot:Ot,Me=(Ie===$t||Ie===$t-1)&&Kt>0&&Kt<1&&(zt||j.params.cssMode)&&It<Mt,Re=(Ie===$t||Ie===$t+1)&&Kt<0&&Kt>-1&&(zt||j.params.cssMode)&&It>Mt;if(Me||Re){const pe=(1-Math.abs((Math.abs(Kt)-.5)/.5))**.5;ke+=-28*Kt*pe,ce+=-.5*pe,Ce+=96*pe,ae=`${-25*pe*Math.abs(Kt)}%`}if(Kt<0?qt=`calc(${qt}px + (${Ce*Math.abs(Kt)}%))`:Kt>0?qt=`calc(${qt}px + (-${Ce*Math.abs(Kt)}%))`:qt=`${qt}px`,!j.isHorizontal()){const pe=ae;ae=qt,qt=pe}const We=Kt<0?`${1+(1-ce)*Kt}`:`${1-(1-ce)*Kt}`,Le=` 26 translate3d(${qt}, ${ae}, ${ne}px) 27 rotateZ(${Nt.rotate?ke:0}deg) 28 scale(${We}) 29 `;if(Nt.slideShadows){let pe=Vt.find(".swiper-slide-shadow");pe.length===0&&(pe=Wn(Nt,Vt)),pe.length&&(pe[0].style.opacity=Math.min(Math.max((Math.abs(Kt)-.5)/.5,0),1))}Vt[0].style.zIndex=-Math.abs(Math.round(Yt))+Ct.length,Jn(Nt,Vt).transform(Le)}},setTransition:Ct=>{const{transformEl:$t}=j.params.cardsEffect;($t?j.slides.find($t):j.slides).transition(Ct).find(".swiper-slide-shadow").transition(Ct),er({swiper:j,duration:Ct,transformEl:$t})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!j.params.cssMode})})}var ta=F(21),ea=typeof self=="object"&&self&&self.Object===Object&&self,na=ta.a||ea||Function("return this")(),ra=na,ia=ra.Symbol,qn=ia;function aa(j,lt){for(var st=-1,ht=j==null?0:j.length,Et=Array(ht);++st<ht;)Et[st]=lt(j[st],st,j);return Et}var sa=aa,oa=Array.isArray,la=oa,xr=Object.prototype,ca=xr.hasOwnProperty,ha=xr.toString,Qn=qn?qn.toStringTag:void 0;function ua(j){var lt=ca.call(j,Qn),st=j[Qn];try{j[Qn]=void 0;var ht=!0}catch(Ct){}var Et=ha.call(j);return ht&&(lt?j[Qn]=st:delete j[Qn]),Et}var fa=ua,da=Object.prototype,pa=da.toString;function ma(j){return pa.call(j)}var ga=ma,va="[object Null]",ya="[object Undefined]",wr=qn?qn.toStringTag:void 0;function ba(j){return j==null?j===void 0?ya:va:wr&&wr in Object(j)?fa(j):ga(j)}var Ea=ba;function Sa(j){return j!=null&&typeof j=="object"}var xa=Sa,wa="[object Symbol]";function Ta(j){return typeof j=="symbol"||xa(j)&&Ea(j)==wa}var Ca=Ta,Aa=1/0,Tr=qn?qn.prototype:void 0,Cr=Tr?Tr.toString:void 0;function Ar(j){if(typeof j=="string")return j;if(la(j))return sa(j,Ar)+"";if(Ca(j))return Cr?Cr.call(j):"";var lt=j+"";return lt=="0"&&1/j==-Aa?"-0":lt}var Pa=Ar;function ka(j){return j==null?"":Pa(j)}var Ma=ka;function Ia(j){return Ma(j).toLowerCase()}var Da=Ia;tr.use([Gi,Hi,Qi,Wi,qi,Ui]);function Oa(){document.querySelectorAll("[data-swiper]").forEach(lt=>{let st=JSON.parse(lt.dataset.swiper);new tr(lt,st)})}function La(){const j=document.querySelectorAll(".storySlider");j.forEach((lt,st)=>{let ht=lt.querySelectorAll(".slide"),Et=JSON.parse(lt.dataset.storySwiper);function Ct(Nt){Nt.preventDefault(),$("#homepage-story > .swiper-button-next").trigger("click")}Et.on={slideChangeTransitionStart:function(){$(".swiper-slide-aos").hide(0),$(".storyBody__title").removeClass("aos-init").removeClass("aos-animate"),$(".storyBody__rule").removeClass("aos-init").removeClass("aos-animate"),$(".storyBody__excerpt").removeClass("aos-init").removeClass("aos-animate"),$(".storyBody__actions").removeClass("aos-init").removeClass("aos-animate"),$(".storyBody__icon_grid").removeClass("aos-init").removeClass("aos-animate"),$(".storyBody__icon_grid__item").removeClass("aos-init").removeClass("aos-animate")},slideChangeTransitionEnd:function(){$(".swiper-slide-aos").show(0),G.a.init()},reachEnd:function(Nt){let Mt=Nt.navigation.nextEl;Mt&&(Mt.removeEventListener("click",Ct),Mt.addEventListener("click",Ct))}},new tr(lt,Et);let $t=lt.swiper;if($t){if($t.navigation.nextEl.classList.remove("swiper-button-lock"),$t.navigation.nextEl.classList.remove("swiper-button-disabled"),$t.navigation.prevEl.classList.add("swiper-button-lock"),$t.navigation.prevEl.classList.add("swiper-button-disabled"),ht.length===1){let Nt=$t.n
29avigation.nextEl;Nt.removeEventListener("click",Ct),Nt.addEventListener("click",Ct)}st===j.length-1&&($t.navigation.nextEl.classList.add("swiper-button-lock"),$t.navigation.nextEl.classList.add("swiper-button-disabled"))}})}function Fa(){const j=document.getElementById("homepage-story");if(j){const lt=document.querySelectorAll("[data-story]");let st=[];lt.forEach(ht=>{st.push(ht.dataset.story)}),new tr(j,{slidesPerView:1,speed:300,autoplay:!1,effect:"fade",crossFade:!0,loop:!1,navigation:{nextEl:"#homepage-story > .swiper-button-next",prevEl:"#homepage-story > .swiper-button-prev"},pagination:{el:"#homepage-story > .swiper-pagination",clickable:!0,renderBullet:function(ht,Et){let Ct=st[ht].replace(/[\s]/gm,"-");return Ct=Da(Ct.replace(/[?!]/gm,"")),'<span class="'+Et+'" data-nav-to="'+Ct+'">'+st[ht]+"</span>"}},on:{slideChangeTransitionStart:function(){$(".swiper-slide-aos").hide(0),$(".storyBody__title").removeClass("aos-init").removeClass("aos-animate"),$(".storyBody__rule").removeClass("aos-init").removeClass("aos-animate"),$(".storyBody__excerpt").removeClass("aos-init").removeClass("aos-animate"),$(".storyBody__actions").removeClass("aos-init").removeClass("aos-animate")},slideChangeTransitionEnd:function(){$(".swiper-slide-aos").show(0),G.a.init()}}})}}function $a(){let j=document.querySelectorAll(".homepageStory__cats span"),lt=document.getElementById("homepage-story");j&&j.forEach((st,ht)=>{function Et(){let $t=st.dataset.navTo;Ct($t)}function Ct(){document.querySelectorAll(".storySlider").forEach(Nt=>{let Mt=JSON.parse(Nt.dataset.storySwiper),zt=Nt.swiper;zt.slideTo(0),zt.activeIndex=0,zt.slideReset(),console.log(zt.activeIndex)})}st.removeEventListener("click",Et),st.addEventListener("click",Et)})}}),(function(D,O,F){"use strict";F.r(O),F.d(O,"initPartnerMap",function(){return J});function B(vt,ct,dt,bt){function wt(St){return St instanceof dt?St:new dt(function(_t){_t(St)})}return new(dt||(dt=Promise))(function(St,_t){function xt(jt){try{Ft(bt.next(jt))}catch(Ht){_t(Ht)}}function Dt(jt){try{Ft(bt.throw(jt))}catch(Ht){_t(Ht)}}function Ft(jt){jt.done?St(jt.value):wt(jt.value).then(xt,Dt)}Ft((bt=bt.apply(vt,ct||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;function G(vt){return vt&&vt.__esModule&&Object.prototype.hasOwnProperty.call(vt,"default")?vt.default:vt}var U,K;function X(){return K||(K=1,U=function vt(ct,dt){if(ct===dt)return!0;if(ct&&dt&&typeof ct=="object"&&typeof dt=="object"){if(ct.constructor!==dt.constructor)return!1;var bt,wt,St;if(Array.isArray(ct)){if(bt=ct.length,bt!=dt.length)return!1;for(wt=bt;wt--!==0;)if(!vt(ct[wt],dt[wt]))return!1;return!0}if(ct.constructor===RegExp)return ct.source===dt.source&&ct.flags===dt.flags;if(ct.valueOf!==Object.prototype.valueOf)return ct.valueOf()===dt.valueOf();if(ct.toString!==Object.prototype.toString)return ct.toString()===dt.toString();if(St=Object.keys(ct),bt=St.length,bt!==Object.keys(dt).length)return!1;for(wt=bt;wt--!==0;)if(!Object.prototype.hasOwnProperty.call(dt,St[wt]))return!1;for(wt=bt;wt--!==0;){var _t=St[wt];if(!vt(ct[_t],dt[_t]))return!1}return!0}return ct!==ct&&dt!==dt}),U}var q=X(),nt=G(q);const W="__googleMapsScriptId";var Q;(function(vt){vt[vt.INITIALIZED=0]="INITIALIZED",vt[vt.LOADING=1]="LOADING",vt[vt.SUCCESS=2]="SUCCESS",vt[vt.FAILURE=3]="FAILURE"})(Q||(Q={}));class rt{constructor({apiKey:ct,authReferrerPolicy:dt,channel:bt,client:wt,id:St=W,language:_t,libraries:xt=[],mapIds:Dt,nonce:Ft,region:jt,retries:Ht=3,url:Pt="https://maps.googleapis.com/maps/api/js",version:Wt}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=ct,this.authReferrerPolicy=dt,this.channel=bt,this.client=wt,this.id=St||W,this.language=_t,this.libraries=xt,this.mapIds=Dt,this.nonce=Ft,this.region=jt,this.retries=Ht,this.url=Pt,this.version=Wt,rt.instance){if(!nt(this.options,rt.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(rt.instance.options)}`);return rt.instance}rt.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?Q.FAILURE:this.done?Q.SUCCESS:this.loading?Q.LOADING:Q.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let ct=this.url;return ct+="?callback=__googleMapsCallback&loading=async",this.apiKey&&(ct+=`&key=${this.apiKey}`),this.channel&&(ct+=`&channel=${this.channel}`),this.client&&(ct+=`&client=${this.client}`),this.libraries.length>0&&(ct+=`&libraries=${this.libraries.join(",")}`),this.language&&(ct+=`&language=${this.language}`),this.region&&(ct+=`®ion=${this.region}`),this.version&&(ct+=`&v=${this.version}`),this.mapIds&&(ct+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(ct+=`&auth_referrer_policy=${this.authReferrerPolicy}`),ct}deleteScript(){const ct=document.getElementById(this.id);ct&&ct.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((ct,dt)=>{this.loadCallback(bt=>{bt?dt(bt.error):ct(window.google)})})}importLibrary(ct){return this.execute(),google.maps.importLibrary(ct)}loadCallback(ct){this.callbacks.push(ct),this.execute()}setScript(){var ct,dt;if(document.getElementById(this.id)){this.callback();return}const bt={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};Object.keys(bt).forEach(St=>!bt[St]&&delete bt[St]),!((dt=(ct=window==null?void 0:window.google)===null||ct===void 0?void 0:ct.maps)===null||dt===void 0)&&dt.importLibrary||(St=>{let _t,xt,Dt,Ft="The Google Maps JavaScript API",jt="google",Ht="importLibrary",Pt="__ib__",Wt=document,At=window;At=At[jt]||(At[jt]={});const ue=At.maps||(At.maps={}),Qt=new Set,se=new URLSearchParams,de=()=>_t||(_t=new Promise((oe,xe)=>B(this,void 0,void 0,function*(){var re;yield xt=Wt.createElement("script"),xt.id=this.id,se.set("libraries",[...Qt]+"");for(Dt in St)se.set(Dt.replace(/[A-Z]/g,Xt=>"_"+Xt[0].toLowerCase()),St[Dt]);se.set("callback",jt+".maps."+Pt),xt.src=this.url+"?"+se,ue[Pt]=oe,xt.onerror=()=>_t=xe(Error(Ft+" could not load.")),xt.nonce=this.nonce||((re=Wt.querySelector("script[n
29once]"))===null||re===void 0?void 0:re.nonce)||"",Wt.head.append(xt)})));ue[Ht]?console.warn(Ft+" only loads once. Ignoring:",St):ue[Ht]=(oe,...xe)=>Qt.add(oe)&&de().then(()=>ue[Ht](oe,...xe))})(bt);const wt=this.libraries.map(St=>this.importLibrary(St));wt.length||wt.push(this.importLibrary("core")),Promise.all(wt).then(()=>this.callback(),St=>{const _t=new ErrorEvent("error",{error:St});this.loadErrorCallback(_t)})}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(ct){if(this.errors.push(ct),this.errors.length<=this.retries){const dt=this.errors.length*Math.pow(2,this.errors.length);console.error(`Failed to load Google Maps script, retrying in ${dt} ms.`),setTimeout(()=>{this.deleteScript(),this.setScript()},dt)}else this.onerrorEvent=ct,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(ct=>{ct(this.onerrorEvent)}),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),!this.loading)if(this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version){console.warn("Google Maps already loaded outside @googlemaps/js-api-loader. This may result in undesirable behavior as options and script parameters may not match."),this.callback();return}this.loading=!0,this.setScript()}}}async function J(){new rt({apiKey:Ajax.googleApi,version:"weekly"}).load().then(async()=>{let ct=new google.maps.LatLngBounds;var dt=new google.maps.LatLng(55,-5);let bt;var wt={zoom:6,minZoom:5,center:dt,mapTypeControl:!1,fullscreenControl:!1,region:"uk",styles:[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",stylers:[{visibility:"off"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]}]};if(bt=new google.maps.Map(document.getElementById("partner-map"),wt),bt){bt.markers=[];const St=await Y();for(const[_t,xt]of Object.entries(St.data)){console.log(xt);for(const[Dt,Ft]of Object.entries(xt)){let jt=Ft,Ht=jt.map.lat,Pt=jt.map.lng;at(jt,bt)}}}})}function tt(vt,ct){let dt=1e3,bt=1870,wt=-8.176727,St=1.739236;const xt=49.961284*Math.PI/180,Dt=vt*Math.PI/180,Ft=St-wt,jt=dt/Ft*360/(2*Math.PI),Ht=jt/2*Math.log((1+Math.sin(xt))/(1-Math.sin(xt))),Pt=(ct-wt)*(dt/Ft),Wt=bt-(jt/2*Math.log((1+Math.sin(Dt))/(1-Math.sin(Dt)))-Ht);return{x:Pt,y:Wt}}function at(vt,ct){var dt=vt.map.lat,bt=vt.map.lng,wt={lat:parseFloat(dt),lng:parseFloat(bt)},St=vt.post_id,_t={url:'data:image/svg+xml;utf-8, <svg viewBox="0 0 24 34" xmlns="http://www.w3.org/2000/svg" width="24" height="34" background-color="%23000000"><path d="M0 12C0 21.7 12 33.7 12 33.7 12 33.7 24 21.7 24 12 24 5.4 18.6 0 12 0 5.4 0 0 5.4 0 12Z" fill="%23131F54"/><path d="M7.3 12C7.3 9.4 9.4 7.3 12 7.3 14.6 7.3 16.7 9.4 16.7 12 16.7 14.6 14.6 16.7 12 16.7 9.4 16.7 7.3 14.6 7.3 12Z" fill="%23fff"/></svg>'},xt=new google.maps.Marker({position:wt,map:ct,icon:_t,partner:St});
29ct.markers.push(xt),ct.markers.forEach(Dt=>{google.maps.event.addListener(Dt,"click",function(){it(Dt.partner)})}),document.addEventListener("click",function(Dt){Dt.target&&Dt.target.id=="close-partner"&&ot()})}async function Y(){let vt=new FormData;vt.set("action","fetch_partners"),vt.set("nonce",Ajax.nonce);const ct=new URLSearchParams(vt);let dt;return await fetch(Ajax.ajaxurl,{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/x-www-form-urlencoded","Cache-Control":"no-cache"},body:ct}).then(bt=>bt.text()).then(bt=>{dt=JSON.parse(bt)}).catch(bt=>bt),dt}function it(vt){let ct=document.getElementById("partner-card"),dt=new FormData;dt.set("action","fetch_partner"),dt.set("nonce",Ajax.nonce),dt.set("partner_id",vt);const bt=new URLSearchParams(dt);ct.innerHTML='<div class="ajaxLoader"><div class="dots"><div></div><div></div><div></div></div></div>',fetch(Ajax.ajaxurl,{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/x-www-form-urlencoded","Cache-Control":"no-cache"},body:bt}).then(wt=>wt.text()).then(wt=>{ct.innerHTML=wt,ct.classList.add("show")}).catch(wt=>wt)}function ot(){let vt=document.getElementById("partner-card");vt.innerHTML=null}function ft(){const vt=document.getElementById("partnerMap");let dt=window.getComputedStyle(vt).transform.replace("matrix(","").split(","),bt=parseFloat(dt[0]),wt=vt.style.transform,St=/scale\([0-9|\.]*\)/,_t;bt>=1.3?_t=bt+.2:(bt==1.3,_t=1.3);let xt="scale("+_t+")",Dt=wt.replace(St,xt);vt.style.transform=Dt}function gt(){const vt=document.getElementById("partnerMap");let dt=window.getComputedStyle(vt).transform.replace("matrix(","").split(","),bt=parseFloat(dt[0]),wt=vt.style.transform,St=/scale\([0-9|\.]*\)/,_t;bt>=1.3?_t=bt-.2:(bt==1.3,_t=1.3);let xt="scale("+_t+")",Dt=wt.replace(St,xt);vt.style.transform=Dt}function pt(){const vt=document.getElementById("partnerMap");vt.style.transform="scale(1.3) translateX(0) translateY(-10%)"}}),(function(D,O,F){"use strict";F.r(O);var B={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},G={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},U=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],K={CSS:{},springs:{}};function X(Bt,Gt,ee){return Math.min(Math.max(Bt,Gt),ee)}function q(Bt,Gt){return Bt.indexOf(Gt)>-1}function nt(Bt,Gt){return Bt.apply(null,Gt)}var W={arr:function(Bt){return Array.isArray(Bt)},obj:function(Bt){return q(Object.prototype.toString.call(Bt),"Object")},pth:function(Bt){return W.obj(Bt)&&Bt.hasOwnProperty("totalLength")},svg:function(Bt){return Bt instanceof SVGElement},inp:function(Bt){return Bt instanceof HTMLInputElement},dom:function(Bt){return Bt.nodeType||W.svg(Bt)},str:function(Bt){return typeof Bt=="string"},fnc:function(Bt){return typeof Bt=="function"},und:function(Bt){return typeof Bt=="undefined"},nil:function(Bt){return W.und(Bt)||Bt===null},hex:function(Bt){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(Bt)},rgb:function(Bt){return/^rgb/.test(Bt)},hsl:function(Bt){return/^hsl/.test(Bt)},col:function(Bt){return W.hex(Bt)||W.rgb(Bt)||W.hsl(Bt)},key:function(Bt){return!B.hasOwnProperty(Bt)&&!G.hasOwnProperty(Bt)&&Bt!=="targets"&&Bt!=="keyframes"}};function Q(Bt){var Gt=/\(([^)]+)\)/.exec(Bt);return Gt?Gt[1].split(",").map(function(ee){return parseFloat(ee)}):[]}function rt(Bt,Gt){var ee=Q(Bt),Jt=X(W.und(ee[0])?1:ee[0],.1,100),he=X(W.und(ee[1])?100:ee[1],.1,100),me=X(W.und(ee[2])?10:ee[2],.1,100),we=X(W.und(ee[3])?0:ee[3],.1,100),$e=Math.sqrt(he/Jt),fe=me/(2*Math.sqrt(he*Jt)),en=fe<1?$e*Math.sqrt(1-fe*fe):0,He=1,qe=fe<1?(fe*$e+-we)/en:-we+$e;function Xe(an){var Ze=Gt?Gt*an/1e3:an;return fe<1?Ze=Math.exp(-Ze*fe*$e)*(He*Math.cos(en*Ze)+qe*Math.sin(en*Ze)):Ze=(He+qe*Ze)*Math.exp(-Ze*$e),an===0||an===1?an:1-Ze}function bn(){var an=K.springs[Bt];if(an)return an;for(var Ze=1/6,fn=0,pn=0;;)if(fn+=Ze,Xe(fn)===1){if(pn++,pn>=16)break}else pn=0;var En=fn*Ze*1e3;return K.springs[Bt]=En,En}return Gt?Xe:bn}function J(Bt){return Bt===void 0&&(Bt=10),function(Gt){return Math.ceil(X(Gt,1e-6,1)*Bt)*(1/Bt)}}var tt=(function(){var Bt=11,Gt=1/(Bt-1);function ee(He,qe){return 1-3*qe+3*He}function Jt(He,qe){return 3*qe-6*He}function he(He){return 3*He}function me(He,qe,Xe){return((ee(qe,Xe)*He+Jt(qe,Xe))*He+he(qe))*He}function we(He,qe,Xe){return 3*ee(qe,Xe)*He*He+2*Jt(qe,Xe)*He+he(qe)}function $e(He,qe,Xe,bn,an){var Ze,fn,pn=0;do fn=qe+(Xe-qe)/2,Ze=me(fn,bn,an)-He,Ze>0?Xe=fn:qe=fn;while(Math.abs(Ze)>1e-7&&++pn<10);return fn}function fe(He,qe,Xe,bn){for(var an=0;an<4;++an){var Ze=we(qe,Xe,bn);if(Ze===0)return qe;var fn=me(qe,Xe,bn)-He;qe-=fn/Ze}return qe}
vendor: 15,135 bytes, line 29
29function en(He,qe,Xe,bn){if(!(0<=He&&He<=1&&0<=Xe&&Xe<=1))return;var an=new Float32Array(Bt);if(He!==qe||Xe!==bn)for(var Ze=0;Ze<Bt;++Ze)an[Ze]=me(Ze*Gt,He,Xe);function fn(pn){for(var En=0,je=1,nn=Bt-1;je!==nn&&an[je]<=pn;++je)En+=Gt;--je;var gn=(pn-an[je])/(an[je+1]-an[je]),wn=En+gn*Gt,vn=we(wn,He,Xe);return vn>=.001?fe(pn,wn,He,Xe):vn===0?wn:$e(pn,En,En+Gt,He,Xe)}return function(pn){return He===qe&&Xe===bn||pn===0||pn===1?pn:me(fn(pn),qe,bn)}}return en})(),at=(function(){var Bt={linear:function(){return function(Jt){return Jt}}},Gt={Sine:function(){return function(Jt){return 1-Math.cos(Jt*Math.PI/2)}},Expo:function(){return function(Jt){return Jt?Math.pow(2,10*Jt-10):0}},Circ:function(){return function(Jt){return 1-Math.sqrt(1-Jt*Jt)}},Back:function(){return function(Jt){return Jt*Jt*(3*Jt-2)}},Bounce:function(){return function(Jt){for(var he,me=4;Jt<((he=Math.pow(2,--me))-1)/11;);return 1/Math.pow(4,3-me)-7.5625*Math.pow((he*3-2)/22-Jt,2)}},Elastic:function(Jt,he){Jt===void 0&&(Jt=1),he===void 0&&(he=.5);var me=X(Jt,1,10),we=X(he,.1,2);return function($e){return $e===0||$e===1?$e:-me*Math.pow(2,10*($e-1))*Math.sin(($e-1-we/(Math.PI*2)*Math.asin(1/me))*(Math.PI*2)/we)}}},ee=["Quad","Cubic","Quart","Quint"];return ee.forEach(function(Jt,he){Gt[Jt]=function(){return function(me){return Math.pow(me,he+2)}}}),Object.keys(Gt).forEach(function(Jt){var he=Gt[Jt];Bt["easeIn"+Jt]=he,Bt["easeOut"+Jt]=function(me,we){return function($e){return 1-he(me,we)(1-$e)}},Bt["easeInOut"+Jt]=function(me,we){return function($e){return $e<.5?he(me,we)($e*2)/2:1-he(me,we)($e*-2+2)/2}},Bt["easeOutIn"+Jt]=function(me,we){return function($e){return $e<.5?(1-he(me,we)(1-$e*2))/2:(he(me,we)($e*2-1)+1)/2}}}),Bt})();function Y(Bt,Gt){if(W.fnc(Bt))return Bt;var ee=Bt.split("(")[0],Jt=at[ee],he=Q(Bt);switch(ee){case"spring":return rt(Bt,Gt);case"cubicBezier":return nt(tt,he);case"steps":return nt(J,he);default:return nt(Jt,he)}}function it(Bt){try{var Gt=document.querySelectorAll(Bt);return Gt}catch(ee){return}}function ot(Bt,Gt){for(var ee=Bt.length,Jt=arguments.length>=2?arguments[1]:void 0,he=[],me=0;me<ee;me++)if(me in Bt){var we=Bt[me];Gt.call(Jt,we,me,Bt)&&he.push(we)}return he}function ft(Bt){return Bt.reduce(function(Gt,ee){return Gt.concat(W.arr(ee)?ft(ee):ee)},[])}function gt(Bt){return W.arr(Bt)?Bt:(W.str(Bt)&&(Bt=it(Bt)||Bt),Bt instanceof NodeList||Bt instanceof HTMLCollection?[].slice.call(Bt):[Bt])}function pt(Bt,Gt){return Bt.some(function(ee){return ee===Gt})}function vt(Bt){var Gt={};for(var ee in Bt)Gt[ee]=Bt[ee];return Gt}function ct(Bt,Gt){var ee=vt(Bt);for(var Jt in Bt)ee[Jt]=Gt.hasOwnProperty(Jt)?Gt[Jt]:Bt[Jt];return ee}function dt(Bt,Gt){var ee=vt(Bt);for(var Jt in Gt)ee[Jt]=W.und(Bt[Jt])?Gt[Jt]:Bt[Jt];return ee}function bt(Bt){var Gt=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(Bt);return Gt?"rgba("+Gt[1]+",1)":Bt}function wt(Bt){var Gt=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,ee=Bt.replace(Gt,function($e,fe,en,He){return fe+fe+en+en+He+He}),Jt=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(ee),he=parseInt(Jt[1],16),me=parseInt(Jt[2],16),we=parseInt(Jt[3],16);return"rgba("+he+","+me+","+we+",1)"}function St(Bt){var Gt=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(Bt)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(Bt),ee=parseInt(Gt[1],10)/360,Jt=parseInt(Gt[2],10)/100,he=parseInt(Gt[3],10)/100,me=Gt[4]||1;function we(Xe,bn,an){return an<0&&(an+=1),an>1&&(an-=1),an<1/6?Xe+(bn-Xe)*6*an:an<1/2?bn:an<2/3?Xe+(bn-Xe)*(2/3-an)*6:Xe}var $e,fe,en;if(Jt==0)$e=fe=en=he;else{var He=he<.5?he*(1+Jt):he+Jt-he*Jt,qe=2*he-He;$e=we(qe,He,ee+1/3),fe=we(qe,He,ee),en=we(qe,He,ee-1/3)}return"rgba("+$e*255+","+fe*255+","+en*255+","+me+")"}function _t(Bt){if(W.rgb(Bt))return bt(Bt);if(W.hex(Bt))return wt(Bt);if(W.hsl(Bt))return St(Bt)}function xt(Bt){var Gt=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(Bt);if(Gt)return Gt[1]}function Dt(Bt){if(q(Bt,"translate")||Bt==="perspective")return"px";if(q(Bt,"rotate")||q(Bt,"skew"))return"deg"}function Ft(Bt,Gt){return W.fnc(Bt)?Bt(Gt.target,Gt.id,Gt.total):Bt}function jt(Bt,Gt){return Bt.getAttribute(Gt)}function Ht(Bt,Gt,ee){var Jt=xt(Gt);if(pt([ee,"deg","rad","turn"],Jt))return Gt;var he=K.CSS[Gt+ee];if(!W.und(he))return he;var me=100,we=document.createElement(Bt.tagName),$e=Bt.parentNode&&Bt.parentNode!==document?Bt.parentNode:document.body;$e.appendChild(we),we.style.position="absolute",we.style.width=me+ee;var fe=me/we.offsetWidth;$e.removeChild(we);var en=fe*parseFloat(Gt);return K.CSS[Gt+ee]=en,en}function Pt(Bt,Gt,ee){if(Gt in Bt.style){var Jt=Gt.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),he=Bt.style[Gt]||getComputedStyle(Bt).getPropertyValue(Jt)||"0";return ee?Ht(Bt,he,ee):he}}function Wt(Bt,Gt){if(W.dom(Bt)&&!W.inp(Bt)&&(!W.nil(jt(Bt,Gt))||W.svg(Bt)&&Bt[Gt]))return"attribute";if(W.dom(Bt)&&pt(U,Gt))return"transform";if(W.dom(Bt)&&Gt!=="transform"&&Pt(Bt,Gt))return"css";if(Bt[Gt]!=null)return"object"}function At(Bt){if(W.dom(Bt)){for(var Gt=Bt.style.transform||"",ee=/(\w+)\(([^)]*)\)/g,Jt=new Map,he;he=ee.exec(Gt);)Jt.set(he[1],he[2]);return Jt}}function ue(Bt,Gt,ee,Jt){var he=q(Gt,"scale")?1:0+Dt(Gt),me=At(Bt).get(Gt)||he;return ee&&(ee.transforms.list.set(Gt,me),ee.transforms.last=Gt),Jt?Ht(Bt,me,Jt):me}function Qt(Bt,Gt,ee,Jt){switch(Wt(Bt,Gt)){case"transform":return ue(Bt,Gt,Jt,ee);case"css":return Pt(Bt,Gt,ee);case"attribute":return jt(Bt,Gt);default:return Bt[Gt]||0}}function se(Bt,Gt){var ee=/^(\*=|\+=|-=)/.exec(Bt);if(!ee)return Bt;var Jt=xt(Bt)||0,he=parseFloat(Gt),me=parseFloat(Bt.replace(ee[0],""));switch(ee[0][0]){case"+":return he+me+Jt;case"-":return he-me+Jt;case"*":return he*me+Jt}}function de(Bt,Gt){if(W.col(Bt))return _t(Bt);if(/\s/g.test(Bt))return Bt;var ee=xt(Bt),Jt=ee?Bt.substr(0,Bt.length-ee.length):Bt;return Gt?Jt+Gt:Jt}function oe(Bt,Gt){return Math.sqrt(Math.pow(Gt.x-Bt.x,2)+Math.pow(Gt.y-Bt.y,2))}function xe(Bt){return Math.PI*2*jt(Bt,"r")}function re(Bt){return jt(Bt,"width")*2+jt(Bt,"height")*2}function Xt(Bt){return oe({x:jt(Bt,"x1"),y:jt(Bt,"y1")},{x:jt(Bt,"x2"),y:jt(Bt,"y2")})}function Se(Bt){for(var Gt=Bt.points,ee=0,Jt,he=0;he<Gt.numberOfItems;he++){var me=Gt.getItem(he);he>0&&(ee+=oe(Jt,me)),Jt=me}return ee}function _e(Bt){var Gt=Bt.points;return Se(Bt)+oe(Gt.getItem(Gt.numberOfItems-1),Gt.getItem(0))}function Ee(Bt){if(Bt.getTotalLength)return Bt.getTotalLength();switch(Bt.tagName.toLowerCase()){case"circle":return xe(Bt);case"rect":return re(Bt);case"line":return Xt(Bt);case"polyline":return Se(Bt);case"polygon":return _e(Bt)}}function Ue(Bt){var Gt=Ee(Bt);return Bt.setAttribute("stroke-dasharray",Gt),Gt}function Oe(Bt){for(var Gt=Bt.parentNode;W.svg(Gt)&&W.svg(Gt.parentNode);)Gt=Gt.parentNode;return Gt}function ze(Bt,Gt){var ee=Gt||{},Jt=ee.el||Oe(Bt),he=Jt.getBoundingClientRect(),me=jt(Jt,"viewBox"),we=he.width,$e=he.height,fe=ee.viewBox||(me?me.split(" "):[0,0,we,$e]);return{el:Jt,viewBox:fe,x:fe[0]/1,y:fe[1]/1,w:we,h:$e,vW:fe[2],vH:fe[3]}}function Ne(Bt,Gt){var ee=W.str(Bt)?it(Bt)[0]:Bt,Jt=Gt||100;return function(he){return{property:he,el:ee,svg:ze(ee),totalLength:Ee(ee)*(Jt/100)}}}function Ke(Bt,Gt,ee){function Jt(He){He===void 0&&(He=0);var qe=Gt+He>=1?Gt+He:0;return Bt.el.getPointAtLength(qe)}var he=ze(Bt.el,Bt.svg),me=Jt(),we=Jt(-1),$e=Jt(1),fe=ee?1:he.w/he.vW,en=ee?1:he.h/he.vH;switch(Bt.property){case"x":return(me.x-he.x)*fe;case"y":return(me.y-he.y)*en;case"angle":return Math.atan2($e.y-we.y,$e.x-we.x)*180/Math.PI}}function Qe(Bt,Gt){var ee=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,Jt=de(W.pth(Bt)?Bt.totalLength:Bt,Gt)+"";return{original:Jt,numbers:Jt.match(ee)?Jt.match(ee).map(Number):[0],strings:W.str(Bt)||Gt?Jt.split(ee):[]}}function sn(Bt){var Gt=Bt?ft(W.arr(Bt)?Bt.map(gt):gt(Bt)):[];return ot(Gt,function(ee,Jt,he){return he.indexOf(ee)===Jt})}function on(Bt){var Gt=sn(Bt);return Gt.map(function(ee,Jt){return{target:ee,id:Jt,total:Gt.length,transforms:{list:At(ee)}}})}function kt(Bt,Gt){var ee=vt(Gt);if(/^spring/.test(ee.easing)&&(ee.duration=rt(ee.easing)),W.arr(Bt)){var Jt=Bt.length,he=Jt===2&&!W.obj(Bt[0]);he?Bt={value:Bt}:W.fnc(Gt.duration)||(ee.duration=Gt.duration/Jt)}var me=W.arr(Bt)?Bt:[Bt];return me.map(function(we,$e){var fe=W.obj(we)&&!W.pth(we)?we:{value:we};return W.und(fe.delay)&&(fe.delay=$e?0:Gt.delay),W.und(fe.endDelay)&&(fe.endDelay=$e===me.length-1?Gt.endDelay:0),fe}).map(function(we){return dt(we,ee)})}function Lt(Bt){for(var Gt=ot(ft(Bt.map(function(me){return Object.keys(me)})),function(me){return W.key(me)}).reduce(function(me,we){return me.indexOf(we)<0&&me.push(we),me},[]),ee={},Jt=function(me){var we=Gt[me];ee[we]=Bt.map(function($e){var fe={};for(var en in $e)W.key(en)?en==we&&(fe.value=$e[en]):fe[en]=$e[en];return fe})},he=0;he<Gt.length;he++)Jt(he);return ee}function yt(Bt,Gt){var ee=[],Jt=Gt.keyframes;Jt&&(Gt=dt(Lt(Jt),Gt));for(var he in Gt)W.key(he)&&ee.push({name:he,tweens:kt(Gt[he],Bt)});return ee}function ut(Bt,Gt){var ee={};for(var Jt in Bt){var he=Ft(Bt[Jt],Gt);W.arr(he)&&(he=he.map(function(me){return Ft(me,Gt)}),he.length===1&&(he=he[0])),ee[Jt]=he}return ee.duration=parseFloat(ee.duration),ee.delay=parseFloat(ee.delay),ee}function Tt(Bt,Gt){var ee;return Bt.tweens.map(function(Jt){var he=ut(Jt,Gt),me=he.value,we=W.arr(me)?me[1]:me,$e=xt(we),fe=Qt(Gt.target,Bt.name,$e,Gt),en=ee?ee.to.original:fe,He=W.arr(me)?me[0]:en,qe=xt(He)||xt(fe),Xe=$e||qe;return W.und(we)&&(we=en),he.from=Qe(He,Xe),he.to=Qe(se(we,He),Xe),he.start=ee?ee.end:0,he.end=he.start+he.delay+he.duration+he.endDelay,he.easing=Y(he.easing,he.duration),he.isPath=W.pth(me),he.isPathTargetInsideSVG=he.isPath&&W.svg(Gt.target),he.isColor=W.col(he.from.original),he.isColor&&(he.round=1),ee=he,he})}var Rt={css:function(Bt,Gt,ee){return Bt.style[Gt]=ee},attribute:function(Bt,Gt,ee){return Bt.setAttribute(Gt,ee)},object:function(Bt,Gt,ee){return Bt[Gt]=ee},transform:function(Bt,Gt,ee,Jt,he){if(Jt.list.set(Gt,ee),Gt===Jt.last||he){var me="";Jt.list.forEach(function(we,$e){me+=$e+"("+we+") "}),Bt.style.transform=me}}};function Zt(Bt,Gt){var ee=on(Bt);ee.forEach(function(Jt){for(var he in Gt){var me=Ft(Gt[he],Jt),we=Jt.target,$e=xt(me),fe=Qt(we,he,$e,Jt),en=$e||xt(fe),He=se(de(me,en),fe),qe=Wt(we,he);Rt[qe](we,he,He,Jt.transforms,!0)}})}function ie(Bt,Gt){var ee=Wt(Bt.target,Gt.name);if(ee){var Jt=Tt(Gt,Bt),he=Jt[Jt.length-1];return{type:ee,property:Gt.name,animatable:Bt,tweens:Jt,duration:he.end,delay:Jt[0].delay,endDelay:he.endDelay}}}function le(Bt,Gt){return ot(ft(Bt.map(function(ee){return Gt.map(function(Jt){return ie(ee,Jt)})})),function(ee){return!W.und(ee)})}function be(Bt,Gt){var ee=Bt.length,Jt=function(me){return me.timelineOffset?me.timelineOffset:0},he={};return he.duration=ee?Math.max.apply(Math,Bt.map(function(me){return Jt(me)+me.duration})):Gt.duration,he.delay=ee?Math.min.apply(Math,Bt.map(function(me){return Jt(me)+me.delay})):Gt.delay,he.endDelay=ee?he.duration-Math.max.apply(Math,Bt.map(function(me){return Jt(me)+me.duration-me.endDelay})):Gt.endDelay,he}var De=0;function Ae(Bt){var Gt=ct(B,Bt),ee=ct(G,Bt),Jt=yt(ee,Bt),he=on(Bt.targets),me=le(he,Jt),we=be(me,ee),$e=De;return De++,dt(Gt,{id:$e,children:[],animatables:he,animations:me,duration:we.duration,delay:we.delay,endDelay:we.endDelay})}var Fe=[],hn=(function(){var Bt;function Gt(){!Bt&&(!tn()||!rn.suspendWhenDocumentHidden)&&Fe.length>0&&(Bt=requestAnimationFrame(ee))}function ee(he){for(var me=Fe.length,we=0;we<me;){var $e=Fe[we];$e.paused?(Fe.splice(we,1),me--):($e.tick(he),we++)}Bt=we>0?requestAnimationFrame(ee):void 0}function Jt(){rn.suspendWhenDocumentHidden&&(tn()?Bt=cancelAnimationFrame(Bt):(Fe.forEach(function(he){return he._onDocumentVisibility()}),hn()))}return typeof document!="undefined"&&document.addEventListener("visibilitychange",Jt),Gt})();function tn(){return!!document&&document.hidden}function rn(Bt){Bt===void 0&&(Bt={});var Gt=0,ee=0,Jt=0,he,me=0,we=null;function $e(je){var nn=window.Promise&&new Promise(function(gn){return we=gn});return je.finished=nn,nn}var fe=Ae(Bt),en=$e(fe);function He(){var je=fe.direction;je!=="alternate"&&(fe.direction=je!=="normal"?"normal":"reverse"),fe.reversed=!fe.reversed,he.forEach(function(nn){return nn.reversed=fe.reversed})}function qe(je){return fe.reversed?fe.duration-je:je}function Xe(){Gt=0,ee=qe(fe.currentTime)*(1/rn.speed)}function bn(je,nn){nn&&nn.seek(je-nn.timelineOffset)}function an(je){if(fe.reversePlayback)for(var gn=me;gn--;)bn(je,he[gn]);else for(var nn=0;nn<me;nn++)bn(je,he[nn])}function Ze(je){for(var nn=0,gn=fe.animations,wn=gn.length;nn<wn;){var vn=gn[nn],Ln=vn.animatable,Tn=vn.tweens,Sn=Tn.length-1,cn=Tn[Sn];Sn&&(cn=ot(Tn,function(lr){return je<lr.end})[0]||cn);for(var Be=X(je-cn.start-cn.delay,0,cn.duration)/cn.duration,kn=isNaN(Be)?1:cn.easing(Be),Mn=cn.to.strings,xn=cn.round,Yn=[],Xn=cn.to.numbers.length,In=void 0,Rn=0;Rn<Xn;Rn++){var _n=void 0,zn=cn.to.numbers[Rn],Kn=cn.from.numbers[Rn]||0;cn.isPath?_n=Ke(cn.value,kn*zn,cn.isPathTargetInsideSVG):_n=Kn+kn*(zn-Kn),xn&&(cn.isColor&&Rn>2||(_n=Math.round(_n*xn)/xn)),Yn.push(_n)}var Gn=Mn.length;if(!Gn)In=Yn[0];else{In=Mn[0];for(var Nn=0;Nn<Gn;Nn++){var or=Mn[Nn],Hn=Mn[Nn+1],Zn=Yn[Nn];isNaN(Zn)||(Hn?In+=Zn+Hn:In+=Zn+" ")}}Rt[vn.type](Ln.target,vn.property,In,Ln.transforms),vn.currentValue=In,nn++}}function fn(je){fe[je]&&!fe.passThrough&&fe[je](fe)}function pn(){fe.remaining&&fe.remaining!==!0&&fe.remaining--}function En(je){var nn=fe.duration,gn=fe.delay,wn=nn-fe.endDelay,vn=qe(je);fe.progress=X(vn/nn*100,0,100),fe.reversePlayback=vn<fe.currentTime,he&&an(vn),!fe.began&&fe.currentTime>0&&(fe.began=!0,fn("begin")),!fe.loopBegan&&fe.currentTime>0&&(fe.loopBegan=!0,fn("loopBegin")),vn<=gn&&fe.currentTime!==0&&Ze(0),(vn>=wn&&fe.currentTime!==nn||!nn)&&Ze(nn),vn>gn&&vn<wn?(fe.changeBegan||(fe.changeBegan=!0,fe.changeCompleted=!1,fn("changeBegin")),fn("change"),Ze(vn)):fe.changeBegan&&(fe.changeCompleted=!0,fe.changeBegan=!1,fn("changeComplete")),fe.currentTime=X(vn,0,nn),fe.began&&fn("update"),je>=nn&&(ee=0,pn(),fe.remaining?(Gt=Jt,fn("loopComplete"),fe.loopBegan=!1,fe.direction==="alternate"&&He()):(fe.paused=!0,fe.completed||(fe.completed=!0,fn("loopComplete"),fn("complete"),!fe.passThrough&&"Promise"in window&&(we(),en=$e(fe)))))}return fe.reset=function(){var je=fe.direction;fe.passThrough=!1,fe.currentTime=0,fe.progress=0,fe.paused=!0,fe.began=!1,fe.loopBegan=!1,fe.changeBegan=!1,fe.completed=!1,fe.changeCompleted=!1,fe.reversePlayback=!1,fe.reversed=je==="reverse",fe.remaining=fe.loop,he=fe.children,me=he.length;for(var nn=me;nn--;)fe.children[nn].reset();(fe.reversed&&fe.loop!==!0||je==="alternate"&&fe.loop===1)&&fe.remaining++,Ze(fe.reversed?fe.duration:0)},fe._onDocumentVisibility=Xe,fe.set=function(je,nn){return Zt(je,nn),fe},fe.tick=function(je){Jt=je,Gt||(Gt=Jt),En((Jt+(ee-Gt))*rn.speed)},fe.seek=function(je){En(qe(je))},fe.pause=function(){fe.paused=!0,Xe()},fe.play=function(){fe.paused&&(fe.completed&&fe.reset(),fe.paused=!1,Fe.push(fe),Xe(),hn())},fe.reverse=function(){He(),fe.completed=!fe.reversed,Xe()},fe.restart=function(){fe.reset(),fe.play()},fe.remove=function(je){var nn=sn(je);yn(nn,fe)}
29,fe.reset(),fe.autoplay&&fe.play(),fe}function Cn(Bt,Gt){for(var ee=Gt.length;ee--;)pt(Bt,Gt[ee].animatable.target)&&Gt.splice(ee,1)}function yn(Bt,Gt){var ee=Gt.animations,Jt=Gt.children;Cn(Bt,ee);for(var he=Jt.length;he--;){var me=Jt[he],we=me.animations;Cn(Bt,we),!we.length&&!me.children.length&&Jt.splice(he,1)}!ee.length&&!Jt.length&&Gt.pause()}function On(Bt){for(var Gt=sn(Bt),ee=Fe.length;ee--;){var Jt=Fe[ee];yn(Gt,Jt)}}function mn(Bt,Gt){Gt===void 0&&(Gt={});var ee=Gt.direction||"normal",Jt=Gt.easing?Y(Gt.easing):null,he=Gt.grid,me=Gt.axis,we=Gt.from||0,$e=we==="first",fe=we==="center",en=we==="last",He=W.arr(Bt),qe=parseFloat(He?Bt[0]:Bt),Xe=He?parseFloat(Bt[1]):0,bn=xt(He?Bt[1]:Bt)||0,an=Gt.start||0+(He?qe:0),Ze=[],fn=0;return function(pn,En,je){if($e&&(we=0),fe&&(we=(je-1)/2),en&&(we=je-1),!Ze.length){for(var nn=0;nn<je;nn++){if(!he)Ze.push(Math.abs(we-nn));else{var gn=fe?(he[0]-1)/2:we%he[0],wn=fe?(he[1]-1)/2:Math.floor(we/he[0]),vn=nn%he[0],Ln=Math.floor(nn/he[0]),Tn=gn-vn,Sn=wn-Ln,cn=Math.sqrt(Tn*Tn+Sn*Sn);me==="x"&&(cn=-Tn),me==="y"&&(cn=-Sn),Ze.push(cn)}fn=Math.max.apply(Math,Ze)}Jt&&(Ze=Ze.map(function(kn){return Jt(kn/fn)*fn})),ee==="reverse"&&(Ze=Ze.map(function(kn){return me?kn<0?kn*-1:-kn:Math.abs(fn-kn)}))}var Be=He?(Xe-qe)/fn:qe;return an+Be*(Math.round(Ze[En]*100)/100)+bn}}function An(Bt){Bt===void 0&&(Bt={});var Gt=rn(Bt);return Gt.duration=0,Gt.add=function(ee,Jt){var he=Fe.indexOf(Gt),me=Gt.children;he>-1&&Fe.splice(he,1);function we(Xe){Xe.passThrough=!0}for(var $e=0;$e<me.length;$e++)we(me[$e]);var fe=dt(ee,ct(G,Bt));fe.targets=fe.targets||Bt.targets;var en=Gt.duration;fe.autoplay=!1,fe.direction=Gt.direction,fe.timelineOffset=W.und(Jt)?en:se(Jt,en),we(Gt),Gt.seek(fe.timelineOffset);var He=rn(fe);we(He),me.push(He);var qe=be(me,Bt);return Gt.delay=qe.delay,Gt.endDelay=qe.endDelay,Gt.duration=qe.duration,Gt.seek(0),Gt.reset(),Gt.autoplay&&Gt.play(),Gt},Gt}rn.version="3.2.1",rn.speed=1,rn.suspendWhenDocumentHidden=!0,rn.running=Fe,rn.remove=On,rn.get=Qt,rn.set=Zt,rn.convertPx=Ht,rn.path=Ne,rn.setDashoffset=Ue,rn.stagger=mn,rn.timeline=An,rn.easing=Y,rn.penner=at,rn.random=function(Bt,Gt){return Math.floor(Math.random()*(Gt-Bt+1))+Bt};var Pe=rn,Te=O.default=(function(){const Bt=document.body,Gt=document.querySelectorAll(".menu-item");let ee=window.innerWidth;console.log(ee),ee>992&&Gt.forEach(Jt=>{Jt.classList.contains("menu-item-has-children")&&(Jt.addEventListener("mouseover",function(){Bt.classList.add("menu-open"),console.log("menu open")}),Jt.addEventListener("mouseout",function(){Bt.classList.remove("menu-open"),console.log("menu close")}))})})}),(function(D,O,F){/*! 30 * Bootstrap manipulator.js v5.3.8 (https://getbootstrap.com/) 31 * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 32 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 33 */(function(B,G){D.exports=G()})(this,(function(){"use strict";function B(K){if(K==="true")return!0;if(K==="false")return!1;if(K===Number(K).toString())return Number(K);if(K===""||K==="null")return null;if(typeof K!="string")return K;try{return JSON.parse(decodeURIComponent(K))}catch(X){return K}}function G(K){return K.replace(/[A-Z]/g,X=>`-${X.toLowerCase()}`)}return{setDataAttribute(K,X,q){K.setAttribute(`data-bs-${G(X)}`,q)},removeDataAttribute(K,X){K.removeAttribute(`data-bs-${G(X)}`)},getDataAttributes(K){if(!K)return{};const X={},q=Object.keys(K.dataset).filter(nt=>nt.startsWith("bs")&&!nt.startsWith("bsConfig"));for(const nt of q){let W=nt.replace(/^bs/,"");W=W.charAt(0).toLowerCase()+W.slice(1),X[W]=B(K.dataset[nt])}return X},getDataAttribute(K,X){return B(K.getAttribute(`data-bs-${G(X)}`))}}}))}),(function(D,O){var F=D.exports={},B,G;function U(){throw new Error("setTimeout has not been defined")}function K(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?B=setTimeout:B=U}catch(it){B=U}try{typeof clearTimeout=="function"?G=clearTimeout:G=K}catch(it){G=K}})();function X(it){if(B===setTimeout)return setTimeout(it,0);if((B===U||!B)&&setTimeout)return B=setTimeout,setTimeout(it,0);try{return B(it,0)}catch(ot){try{return B.call(null,it,0)}catch(ft){return B.call(this,it,0)}}}function q(it){if(G===clearTimeout)return clearTimeout(it);if((G===K||!G)&&clearTimeout)return G=clearTimeout,clearTimeout(it);try{return G(it)}catch(ot){try{return G.call(null,it)}catch(ft){return G.call(this,it)}}}var nt=[],W=!1,Q,rt=-1;function J(){!W||!Q||(W=!1,Q.length?nt=Q.concat(nt):rt=-1,nt.length&&tt())}function tt(){if(!W){var it=X(J);W=!0;for(var ot=nt.length;ot;){for(Q=nt,nt=[];++rt<ot;)Q&&Q[rt].run();rt=-1,ot=nt.length}Q=null,W=!1,q(it)}}F.nextTick=function(it){var ot=new Array(arguments.length-1);if(arguments.length>1)for(var ft=1;ft<arguments.length;ft++)ot[ft-1]=arguments[ft];nt.push(new at(it,ot)),nt.length===1&&!W&&X(tt)};function at(it,ot){this.fun=it,this.array=ot}at.prototype.run=function(){this.fun.apply(null,this.array)},F.title="browser",F.browser=!0,F.env={},F.argv=[],F.version="",F.versions={};function Y(){}F.on=Y,F.addListener=Y,F.once=Y,F.off=Y,F.removeListener=Y,F.removeAllListeners=Y,F.emit=Y,F.prependListener=Y,F.prependOnceListener=Y,F.listeners=function(it){return[]},F.binding=function(it){throw new Error("process.binding is not supported")},F.cwd=function(){return"/"},F.chdir=function(it){throw new Error("process.chdir is not supported")},F.umask=function(){return 0}}),(function(D,O,F){"use strict";(function(B){var G=typeof B=="object"&&B&&B.Object===Object&&B;O.a=G}).call(this,F(3))}),(function(D,O,F){(function(B,G,U,K){var X,X;/*! 34 35JSZip v3.10.1 - A JavaScript class for generating and reading zip files 36<http://stuartk.com/jszip> 37
38(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com> 39Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown. 40 41JSZip uses the library pako released under the MIT license : 42https://github.com/nodeca/pako/blob/main/LICENSE 43*/(function(q){D.exports=q()})(function(){return(function q(nt,W,Q){function rt(at,Y){if(!W[at]){if(!nt[at]){var it=typeof X=="function"&&X;if(!Y&&it)return X(at,!0);if(J)return J(at,!0);var ot=new Error("Cannot find module '"+at+"'");throw ot.code="MODULE_NOT_FOUND",ot}var ft=W[at]={exports:{}};nt[at][0].call(ft.exports,function(gt){var pt=nt[at][1][gt];return rt(pt||gt)},ft,ft.exports,q,nt,W,Q)}return W[at].exports}for(var J=typeof X=="function"&&X,tt=0;tt<Q.length;tt++)rt(Q[tt]);return rt})({1:[function(q,nt,W){"use strict";var Q=q("./utils"),rt=q("./support"),J="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";W.encode=function(tt){for(var at,Y,it,ot,ft,gt,pt,vt=[],ct=0,dt=tt.length,bt=dt,wt=Q.getTypeOf(tt)!=="string";ct<tt.length;)bt=dt-ct,it=wt?(at=tt[ct++],Y=ct<dt?tt[ct++]:0,ct<dt?tt[ct++]:0):(at=tt.charCodeAt(ct++),Y=ct<dt?tt.charCodeAt(ct++):0,ct<dt?tt.charCodeAt(ct++):0),ot=at>>2,ft=(3&at)<<4|Y>>4,gt=1<bt?(15&Y)<<2|it>>6:64,pt=2<bt?63&it:64,vt.push(J.charAt(ot)+J.charAt(ft)+J.charAt(gt)+J.charAt(pt));return vt.join("")},W.decode=function(tt){var at,Y,it,ot,ft,gt,pt=0,vt=0,ct="data:";if(tt.substr(0,ct.length)===ct)throw new Error("Invalid base64 input, it looks like a data url.");var dt,bt=3*(tt=tt.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(tt.charAt(tt.length-1)===J.charAt(64)&&bt--,tt.charAt(tt.length-2)===J.charAt(64)&&bt--,bt%1!=0)throw new Error("Invalid base64 input, bad content length.");for(dt=rt.uint8array?new Uint8Array(0|bt):new Array(0|bt);pt<tt.length;)at=J.indexOf(tt.charAt(pt++))<<2|(ot=J.indexOf(tt.charAt(pt++))
vendor: 4,746 bytes, line 43
43)>>4,Y=(15&ot)<<4|(ft=J.indexOf(tt.charAt(pt++)))>>2,it=(3&ft)<<6|(gt=J.indexOf(tt.charAt(pt++))),dt[vt++]=at,ft!==64&&(dt[vt++]=Y),gt!==64&&(dt[vt++]=it);return dt}},{"./support":30,"./utils":32}],2:[function(q,nt,W){"use strict";var Q=q("./external"),rt=q("./stream/DataWorker"),J=q("./stream/Crc32Probe"),tt=q("./stream/DataLengthProbe");function at(Y,it,ot,ft,gt){this.compressedSize=Y,this.uncompressedSize=it,this.crc32=ot,this.compression=ft,this.compressedContent=gt}at.prototype={getContentWorker:function(){var Y=new rt(Q.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new tt("data_length")),it=this;return Y.on("end",function(){if(this.streamInfo.data_length!==it.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),Y},getCompressedWorker:function(){return new rt(Q.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},at.createWorkerFrom=function(Y,it,ot){return Y.pipe(new J).pipe(new tt("uncompressedSize")).pipe(it.compressWorker(ot)).pipe(new tt("compressedSize")).withStreamInfo("compression",it)},nt.exports=at},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(q,nt,W){"use strict";var Q=q("./stream/GenericWorker");W.STORE={magic:"\0\0",compressWorker:function(){return new Q("STORE compression")},uncompressWorker:function(){return new Q("STORE decompression")}},W.DEFLATE=q("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(q,nt,W){"use strict";var Q=q("./utils"),rt=(function(){for(var J,tt=[],at=0;at<256;at++){J=at;for(var Y=0;Y<8;Y++)J=1&J?3988292384^J>>>1:J>>>1;tt[at]=J}return tt})();nt.exports=function(J,tt){return J!==void 0&&J.length?Q.getTypeOf(J)!=="string"?(function(at,Y,it,ot){var ft=rt,gt=ot+it;at^=-1;for(var pt=ot;pt<gt;pt++)at=at>>>8^ft[255&(at^Y[pt])];return-1^at})(0|tt,J,J.length,0):(function(at,Y,it,ot){var ft=rt,gt=ot+it;at^=-1;for(var pt=ot;pt<gt;pt++)at=at>>>8^ft[255&(at^Y.charCodeAt(pt))];return-1^at})(0|tt,J,J.length,0):0}},{"./utils":32}],5:[function(q,nt,W){"use strict";W.base64=!1,W.binary=!1,W.dir=!1,W.createFolders=!0,W.date=null,W.compression=null,W.compressionOptions=null,W.comment=null,W.unixPermissions=null,W.dosPermissions=null},{}],6:[function(q,nt,W){"use strict";var Q=null;Q=typeof Promise!="undefined"?Promise:q("lie"),nt.exports={Promise:Q}},{lie:37}],7:[function(q,nt,W){"use strict";var Q=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",rt=q("pako"),J=q("./utils"),tt=q("./stream/GenericWorker"),at=Q?"uint8array":"array";function Y(it,ot){tt.call(this,"FlateWorker/"+it),this._pako=null,this._pakoAction=it,this._pakoOptions=ot,this.meta={}}W.magic="\b\0",J.inherits(Y,tt),Y.prototype.processChunk=function(it){this.meta=it.meta,this._pako===null&&this._createPako(),this._pako.push(J.transformTo(at,it.data),!1)},Y.prototype.flush=function(){tt.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},Y.prototype.cleanUp=function(){tt.prototype.cleanUp.call(this),this._pako=null},Y.prototype._createPako=function(){this._pako=new rt[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var it=this;this._pako.onData=function(ot){it.push({data:ot,meta:it.meta})}},W.compressWorker=function(it){return new Y("Deflate",it)},W.uncompressWorker=function(){return new Y("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(q,nt,W){"use strict";function Q(ft,gt){var pt,vt="";for(pt=0;pt<gt;pt++)vt+=String.fromCharCode(255&ft),ft>>>=8;return vt}function rt(ft,gt,pt,vt,ct,dt){var bt,wt,St=ft.file,_t=ft.compression,xt=dt!==at.utf8encode,Dt=J.transformTo("string",dt(St.name)),Ft=J.transformTo("string",at.utf8encode(St.name)),jt=St.comment,Ht=J.transformTo("string",dt(jt)),Pt=J.transformTo("string",at.utf8encode(jt)),Wt=Ft.length!==St.name.length,At=Pt.length!==jt.length,ue="",Qt="",se="",de=St.dir,oe=St.date,xe={crc32:0,compressedSize:0,uncompressedSize:0};gt&&!pt||(xe.crc32=ft.crc32,xe.compressedSize=ft.compressedSize,xe.uncompressedSize=ft.uncompressedSize);var re=0;gt&&(re|=8),xt||!Wt&&!At||(re|=2048);var Xt=0,Se=0;de&&(Xt|=16),ct==="UNIX"?(Se=798,Xt|=(function(Ee,Ue){var Oe=Ee;return Ee||(Oe=Ue?16893:33204),(65535&Oe)<<16})(St.unixPermissions,de)):(Se=20,Xt|=(function(Ee){return 63&(Ee||0)})(St.dosPermissions)),bt=oe.getUTCHours(),bt<<=6,bt|=oe.getUTCMinutes(),bt<<=5,bt|=oe.getUTCSeconds()/2,wt=oe.getUTCFullYear()-1980,wt<<=4,wt|=oe.getUTCMonth()+1,wt<<=5,wt|=oe.getUTCDate(),Wt&&(Qt=Q(1,1)+Q(Y(Dt),4)+Ft,ue+="up"
vendor: 5,650 bytes, lines 43-44
43+Q(Qt.length,2)+Qt),At&&(se=Q(1,1)+Q(Y(Ht),4)+Pt,ue+="uc"+Q(se.length,2)+se);var _e="";return _e+=` 44\0`,_e+=Q(re,2),_e+=_t.magic,_e+=Q(bt,2),_e+=Q(wt,2),_e+=Q(xe.crc32,4),_e+=Q(xe.compressedSize,4),_e+=Q(xe.uncompressedSize,4),_e+=Q(Dt.length,2),_e+=Q(ue.length,2),{fileRecord:it.LOCAL_FILE_HEADER+_e+Dt+ue,dirRecord:it.CENTRAL_FILE_HEADER+Q(Se,2)+_e+Q(Ht.length,2)+"\0\0\0\0"+Q(Xt,4)+Q(vt,4)+Dt+ue+Ht}}var J=q("../utils"),tt=q("../stream/GenericWorker"),at=q("../utf8"),Y=q("../crc32"),it=q("../signature");function ot(ft,gt,pt,vt){tt.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=gt,this.zipPlatform=pt,this.encodeFileName=vt,this.streamFiles=ft,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}J.inherits(ot,tt),ot.prototype.push=function(ft){var gt=ft.meta.percent||0,pt=this.entriesCount,vt=this._sources.length;this.accumulate?this.contentBuffer.push(ft):(this.bytesWritten+=ft.data.length,tt.prototype.push.call(this,{data:ft.data,meta:{currentFile:this.currentFile,percent:pt?(gt+100*(pt-vt-1))/pt:100}}))},ot.prototype.openedSource=function(ft){this.currentSourceOffset=this.bytesWritten,this.currentFile=ft.file.name;var gt=this.streamFiles&&!ft.file.dir;if(gt){var pt=rt(ft,gt,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:pt.fileRecord,meta:{percent:0}})}else this.accumulate=!0},ot.prototype.closedSource=function(ft){this.accumulate=!1;var gt=this.streamFiles&&!ft.file.dir,pt=rt(ft,gt,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(pt.dirRecord),gt)this.push({data:(function(vt){return it.DATA_DESCRIPTOR+Q(vt.crc32,4)+Q(vt.compressedSize,4)+Q(vt.uncompressedSize,4)})(ft),meta:{percent:100}});else for(this.push({data:pt.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},ot.prototype.flush=function(){for(var ft=this.bytesWritten,gt=0;gt<this.dirRecords.length;gt++)this.push({data:this.dirRecords[gt],meta:{percent:100}});var pt=this.bytesWritten-ft,vt=(function(ct,dt,bt,wt,St){var _t=J.transformTo("string",St(wt));return it.CENTRAL_DIRECTORY_END+"\0\0\0\0"+Q(ct,2)+Q(ct,2)+Q(dt,4)+Q(bt,4)+Q(_t.length,2)+_t})(this.dirRecords.length,pt,ft,this.zipComment,this.encodeFileName);this.push({data:vt,meta:{percent:100}})},ot.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},ot.prototype.registerPrevious=function(ft){this._sources.push(ft);var gt=this;return ft.on("data",function(pt){gt.processChunk(pt)}),ft.on("end",function(){gt.closedSource(gt.previous.streamInfo),gt._sources.length?gt.prepareNextSource():gt.end()}),ft.on("error",function(pt){gt.error(pt)}),this},ot.prototype.resume=function(){return!!tt.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},ot.prototype.error=function(ft){var gt=this._sources;if(!tt.prototype.error.call(this,ft))return!1;for(var pt=0;pt<gt.length;pt++)try{gt[pt].error(ft)}catch(vt){}return!0},ot.prototype.lock=function(){tt.prototype.lock.call(this);for(var ft=this._sources,gt=0;gt<ft.length;gt++)ft[gt].lock()},nt.exports=ot},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(q,nt,W){"use strict";var Q=q("../compressions"),rt=q("./ZipFileWorker");W.generateWorker=function(J,tt,at){var Y=new rt(tt.streamFiles,at,tt.platform,tt.encodeFileName),it=0;try{J.forEach(function(ot,ft){it++;var gt=(function(dt,bt){var wt=dt||bt,St=Q[wt];if(!St)throw new Error(wt+" is not a valid compression method !");return St})(ft.options.compression,tt.compression),pt=ft.options.compressionOptions||tt.compressionOptions||{},vt=ft.dir,ct=ft.date;ft._compressWorker(gt,pt).withStreamInfo("file",{name:ot,dir:vt,date:ct,comment:ft.comment||"",unixPermissions:ft.unixPermissions,dosPermissions:ft.dosPermissions}).pipe(Y)}),Y.entriesCount=it}catch(ot){Y.error(ot)}return Y}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(q,nt,W){"use strict";function Q(){if(!(this instanceof Q))return new Q;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var rt=new Q;for(var J in this)typeof this[J]!="function"&&(rt[J]=this[J]);return rt}}(Q.prototype=q("./object")).loadAsync=q("./load"),Q.support=q("./support"),Q.defaults=q("./defaults"),Q.version="3.10.1",Q.loadAsync=function(rt,J){return new Q().loadAsync(rt,J)},Q.external=q("./external"),nt.exports=Q},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(q,nt,W){"use strict";var Q=q("./utils"),rt=q("./external"),J=q("./utf8"),tt=q("./zipEntries"),at=q("./stream/Crc32Probe"),Y=q("./nodejsUtils");function it(ot){return new rt.Promise(function(ft,gt){var pt=ot.decompressed.getContentWorker().pipe(new at);pt.on("error",function(vt){gt(vt)}).on("end",function(){pt.streamInfo.crc32!==ot.decompressed.crc32?gt(new Error("Corrupted zip : CRC32 mismatch")):ft()}).resume()})}nt.exports=function(ot,ft){var gt=this;return ft=Q.extend(ft||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:J.utf8decode}),Y.isNode&&Y.isStream(ot)?rt.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):Q.prepareContent("the loaded zip f
44ile",ot,!0,ft.optimizedBinaryString,ft.base64).then(function(pt){var vt=new tt(ft);return vt.load(pt),vt}).then(function(pt){var vt=[rt.Promise.resolve(pt)],ct=pt.files;if(ft.checkCRC32)for(var dt=0;dt<ct.length;dt++)vt.push(it(ct[dt]));return rt.Promise.all(vt)}).then(function(pt){for(var vt=pt.shift(),ct=vt.files,dt=0;dt<ct.length;dt++){var bt=ct[dt],wt=bt.fileNameStr,St=Q.resolve(bt.fileNameStr);gt.file(St,bt.decompressed,{binary:!0,optimizedBinaryString:!0,date:bt.date,dir:bt.dir,comment:bt.fileCommentStr.length?bt.fileCommentStr:null,unixPermissions:bt.unixPermissions,dosPermissions:bt.dosPermissions,createFolders:ft.createFolders}),bt.dir||(gt.file(St).unsafeOriginalName=wt)}return vt.zipComment.length&&(gt.comment=vt.zipComment),gt})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(q,nt,W){"use strict";var Q=q("../utils"),rt=q("../stream/GenericWorker");function J(tt,at){rt.call(this,"Nodejs stream input adapter for "+tt),this._upstreamEnded=!1,this._bindStream(at)}Q.inherits(J,rt),J.prototype._bindStream=function(tt){var at=this;(this._stream=tt).pause(),tt.on("data",function(Y){at.push({data:Y,meta:{percent:0}})}).on("error",function(Y){at.isPaused?this.generatedError=Y:at.error(Y)}).on("end",function(){at.isPaused?at._upstreamEnded=!0:at.end()})},J.prototype.pause=function(){return!!rt.prototype.pause.call(this)&&(this._stream.pause(),!0)},J.prototype.resume=function(){return!!rt.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},nt.exports=J},{"../stream/GenericWorker":28,"../utils":32}],13:[function(q,nt,W){"use strict";var Q=q("readable-stream").Readable;function rt(J,tt,at){Q.call(this,tt),this._helper=J;var Y=this;J.on("data",function(it,ot){Y.push(it)||Y._helper.pause(),at&&at(ot)}).on("error",function(it){Y.emit("error",it)}).on("end",function(){Y.push(null)})}q("../utils").inherits(rt,Q),rt.prototype._read=function(){this._helper.resume()},nt.exports=rt},{"../utils":32,"readable-stream":16}],14:[function(q,nt,W){"use strict";nt.exports={isNode:typeof B!="undefined",newBufferFrom:function(Q,rt){if(B.from&&B.from!==Uint8Array.from)return B.from(Q,rt);if(typeof Q=="number")throw new Error('The "data" argument must not be a number');return new B(Q,rt)},allocBuffer:function(Q){if(B.alloc)return B.alloc(Q);var rt=new B(Q);return rt.fill(0),rt},isBuffer:function(Q){return B.isBuffer(Q)},isStream:function(Q){return Q&&typeof Q.on=="function"&&typeof Q.pause=="function"&&typeof Q.resume=="function"}}},{}],15:[function(q,nt,W){"use strict";function Q(St,_t,xt){var Dt,Ft=J.getTypeOf(_t),jt=J.extend(xt||{},Y);jt.date=jt.date||new Date,jt.compression!==null&&(jt.compression=jt.compression.toUpperCase()),typeof jt.unixPermissions=="string"&&(jt.unixPermissions=parseInt(jt.unixPermissions,8)),jt.unixPermissions&&16384&jt.unixPermissions&&(jt.dir=!0),jt.dosPermissions&&16&jt.dosPermissions&&(jt.dir=!0),jt.dir&&(St=ct(St)),jt.createFolders&&(Dt=vt(St))&&dt.call(this,Dt,!0);var Ht=Ft==="string"&&jt.binary===!1&&jt.base64===!1;xt&&xt.binary!==void 0||(jt.binary=!Ht),(_t instanceof it&&_t.uncompressedSize===0||jt.dir||!_t||_t.length===0)&&(jt.base64=!1,jt.binary=!0,_t="",jt.compression="STORE",Ft="string");var Pt=null;Pt=_t instanceof it||_t instanceof tt?_t:gt.isNode&>.isStream(_t)?new pt(St,_t):J.prepareContent(St,_t,jt.binary,jt.optimizedBinaryString,jt.base64);var Wt=new ot(St,Pt,jt);this.files[St]=Wt}var rt=q("./utf8"),J=q("./utils"),tt=q("./stream/GenericWorker"),at=q("./stream/StreamHelper"),Y=q("./defaults"),it=q("./compressedObject"),ot=q("./zipObject"),ft=q("./generate"),gt=q("./nodejsUtils"),pt=q("./nodejs/NodejsStreamInputAdapter"),vt=function(St){St.slice(-1)==="/"&&(St=St.substring(0,St.length-1));var _t=St.lastIndexOf("/");return 0<_t?St.substring(0,_t):""},ct=function(St){return St.slice(-1)!=="/"&&(St+="/"),St},dt=function(St,_t){return _t=_t!==void 0?_t:Y.createFolders,St=ct(St),this.files[St]||Q.call(this,St,null,{dir:!0,createFolders:_t}),this.files[St]};function bt(St){return Object.prototype.toString.call(St)==="[object RegExp]"}var wt={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")}
vendor: 6,143 bytes, line 44
44,forEach:function(St){var _t,xt,Dt;for(_t in this.files)Dt=this.files[_t],(xt=_t.slice(this.root.length,_t.length))&&_t.slice(0,this.root.length)===this.root&&St(xt,Dt)},filter:function(St){var _t=[];return this.forEach(function(xt,Dt){St(xt,Dt)&&_t.push(Dt)}),_t},file:function(St,_t,xt){if(arguments.length!==1)return St=this.root+St,Q.call(this,St,_t,xt),this;if(bt(St)){var Dt=St;return this.filter(function(jt,Ht){return!Ht.dir&&Dt.test(jt)})}var Ft=this.files[this.root+St];return Ft&&!Ft.dir?Ft:null},folder:function(St){if(!St)return this;if(bt(St))return this.filter(function(Ft,jt){return jt.dir&&St.test(Ft)});var _t=this.root+St,xt=dt.call(this,_t),Dt=this.clone();return Dt.root=xt.name,Dt},remove:function(St){St=this.root+St;var _t=this.files[St];if(_t||(St.slice(-1)!=="/"&&(St+="/"),_t=this.files[St]),_t&&!_t.dir)delete this.files[St];else for(var xt=this.filter(function(Ft,jt){return jt.name.slice(0,St.length)===St}),Dt=0;Dt<xt.length;Dt++)delete this.files[xt[Dt].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(St){var _t,xt={};try{if((xt=J.extend(St||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:rt.utf8encode})).type=xt.type.toLowerCase(),xt.compression=xt.compression.toUpperCase(),xt.type==="binarystring"&&(xt.type="string"),!xt.type)throw new Error("No output type specified.");J.checkSupport(xt.type),xt.platform!=="darwin"&&xt.platform!=="freebsd"&&xt.platform!=="linux"&&xt.platform!=="sunos"||(xt.platform="UNIX"),xt.platform==="win32"&&(xt.platform="DOS");var Dt=xt.comment||this.comment||"";_t=ft.generateWorker(this,xt,Dt)}catch(Ft){(_t=new tt("error")).error(Ft)}return new at(_t,xt.type||"string",xt.mimeType)},generateAsync:function(St,_t){return this.generateInternalStream(St).accumulate(_t)},generateNodeStream:function(St,_t){return(St=St||{}).type||(St.type="nodebuffer"),this.generateInternalStream(St).toNodejsStream(_t)}};nt.exports=wt},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(q,nt,W){"use strict";nt.exports=q("stream")},{stream:void 0}],17:[function(q,nt,W){"use strict";var Q=q("./DataReader");function rt(J){Q.call(this,J);for(var tt=0;tt<this.data.length;tt++)J[tt]=255&J[tt]}q("../utils").inherits(rt,Q),rt.prototype.byteAt=function(J){return this.data[this.zero+J]},rt.prototype.lastIndexOfSignature=function(J){for(var tt=J.charCodeAt(0),at=J.charCodeAt(1),Y=J.charCodeAt(2),it=J.charCodeAt(3),ot=this.length-4;0<=ot;--ot)if(this.data[ot]===tt&&this.data[ot+1]===at&&this.data[ot+2]===Y&&this.data[ot+3]===it)return ot-this.zero;return-1},rt.prototype.readAndCheckSignature=function(J){var tt=J.charCodeAt(0),at=J.charCodeAt(1),Y=J.charCodeAt(2),it=J.charCodeAt(3),ot=this.readData(4);return tt===ot[0]&&at===ot[1]&&Y===ot[2]&&it===ot[3]},rt.prototype.readData=function(J){if(this.checkOffset(J),J===0)return[];var tt=this.data.slice(this.zero+this.index,this.zero+this.index+J);return this.index+=J,tt},nt.exports=rt},{"../utils":32,"./DataReader":18}],18:[function(q,nt,W){"use strict";var Q=q("../utils");function rt(J){this.data=J,this.length=J.length,this.index=0,this.zero=0}rt.prototype={checkOffset:function(J){this.checkIndex(this.index+J)},checkIndex:function(J){if(this.length<this.zero+J||J<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+J+"). Corrupted zip ?")},setIndex:function(J){this.checkIndex(J),this.index=J},skip:function(J){this.setIndex(this.index+J)},byteAt:function(){},readInt:function(J){var tt,at=0;for(this.checkOffset(J),tt=this.index+J-1;tt>=this.index;tt--)at=(at<<8)+this.byteAt(tt);return this.index+=J,at},readString:function(J){return Q.transformTo("string",this.readData(J))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var J=this.readInt(4);return new Date(Date.UTC(1980+(J>>25&127),(J>>21&15)-1,J>>16&31,J>>11&31,J>>5&63,(31&J)<<1))}},nt.exports=rt},{"../utils":32}],19:[function(q,nt,W){"use strict";var Q=q("./Uint8ArrayReader");function rt(J){Q.call(this,J)}q("../utils").inherits(rt,Q),rt.prototype.readData=function(J){this.checkOffset(J);var tt=this.data.slice(this.zero+this.index,this.zero+this.index+J);return this.index+=J,tt},nt.exports=rt},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(q,nt,W){"use strict";var Q=q("./DataReader");function rt(J){Q.call(this,J)}q("../utils").inherits(rt,Q),rt.prototype.byteAt=function(J){return this.data.charCodeAt(this.zero+J)},rt.prototype.lastIndexOfSignature=function(J){return this.data.lastIndexOf(J)-this.zero},rt.prototype.readAndCheckSignature=function(J){return J===this.readData(4)},rt.prototype.readData=function(J){this.checkOffset(J);var tt=this.data.slice(this.zero+this.index,this.zero+this.index+J);return this.index+=J,tt},nt.exports=rt},{"../utils":32,"./DataReader":18}],21:[function(q,nt,W){"use strict";var Q=q("./ArrayReader");function rt(J){Q.call(this,J)}q("../utils").inherits(rt,Q),rt.prototype.readData=function(J){if(this.checkOffset(J),J===0)return new Uint8Array(0);var tt=this.data.subarray(this.zero+this.index,this.zero+this.index+J);return this.index+=J,tt},nt.exports=rt},{"../utils":32,"./ArrayReader":17}],22:[function(q,nt,W){"use strict";var Q=q("../utils"),rt=q("../support"),J=q("./ArrayReader"),tt=q("./StringReader"),at=q("./NodeBufferReader"),Y=q("./Uint8ArrayReader");nt.exports=function(it){var ot=Q.getTypeOf(it);return Q.checkSupport(ot),ot!=="string"||rt.uint8array?ot==="nodebuffer"?new at(it):rt.uint8array?new Y(Q.transformTo("uint8array",it)):new J(Q.transformTo("array",it)):new tt(it)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(q,nt,W){"use strict";W.LOCAL_FILE_HEADER="PK��",W.CENTRAL_FILE_HEADER="PK��",W.CENTRAL_DIRECTORY_END="PK��",W.ZIP
vendor: 5,187 bytes, line 44
4464_CENTRAL_DIRECTORY_LOCATOR="PK�\x07",W.ZIP64_CENTRAL_DIRECTORY_END="PK��",W.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(q,nt,W){"use strict";var Q=q("./GenericWorker"),rt=q("../utils");function J(tt){Q.call(this,"ConvertWorker to "+tt),this.destType=tt}rt.inherits(J,Q),J.prototype.processChunk=function(tt){this.push({data:rt.transformTo(this.destType,tt.data),meta:tt.meta})},nt.exports=J},{"../utils":32,"./GenericWorker":28}],25:[function(q,nt,W){"use strict";var Q=q("./GenericWorker"),rt=q("../crc32");function J(){Q.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}q("../utils").inherits(J,Q),J.prototype.processChunk=function(tt){this.streamInfo.crc32=rt(tt.data,this.streamInfo.crc32||0),this.push(tt)},nt.exports=J},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(q,nt,W){"use strict";var Q=q("../utils"),rt=q("./GenericWorker");function J(tt){rt.call(this,"DataLengthProbe for "+tt),this.propName=tt,this.withStreamInfo(tt,0)}Q.inherits(J,rt),J.prototype.processChunk=function(tt){if(tt){var at=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=at+tt.data.length}rt.prototype.processChunk.call(this,tt)},nt.exports=J},{"../utils":32,"./GenericWorker":28}],27:[function(q,nt,W){"use strict";var Q=q("../utils"),rt=q("./GenericWorker");function J(tt){rt.call(this,"DataWorker");var at=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,tt.then(function(Y){at.dataIsReady=!0,at.data=Y,at.max=Y&&Y.length||0,at.type=Q.getTypeOf(Y),at.isPaused||at._tickAndRepeat()},function(Y){at.error(Y)})}Q.inherits(J,rt),J.prototype.cleanUp=function(){rt.prototype.cleanUp.call(this),this.data=null},J.prototype.resume=function(){return!!rt.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,Q.delay(this._tickAndRepeat,[],this)),!0)},J.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(Q.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},J.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var tt=null,at=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":tt=this.data.substring(this.index,at);break;case"uint8array":tt=this.data.subarray(this.index,at);break;case"array":case"nodebuffer":tt=this.data.slice(this.index,at)}return this.index=at,this.push({data:tt,meta:{percent:this.max?this.index/this.max*100:0}})},nt.exports=J},{"../utils":32,"./GenericWorker":28}],28:[function(q,nt,W){"use strict";function Q(rt){this.name=rt||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}Q.prototype={push:function(rt){this.emit("data",rt)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(rt){this.emit("error",rt)}return!0},error:function(rt){return!this.isFinished&&(this.isPaused?this.generatedError=rt:(this.isFinished=!0,this.emit("error",rt),this.previous&&this.previous.error(rt),this.cleanUp()),!0)},on:function(rt,J){return this._listeners[rt].push(J),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(rt,J){if(this._listeners[rt])for(var tt=0;tt<this._listeners[rt].length;tt++)this._listeners[rt][tt].call(this,J)},pipe:function(rt){return rt.registerPrevious(this)},registerPrevious:function(rt){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=rt.streamInfo,this.mergeStreamInfo(),this.previous=rt;var J=this;return rt.on("data",function(tt){J.processChunk(tt)}),rt.on("end",function(){J.end()}),rt.on("error",function(tt){J.error(tt)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var rt=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),rt=!0),this.previous&&this.previous.resume(),!rt},flush:function(){},processChunk:function(rt){this.push(rt)},withStreamInfo:function(rt,J){return this.extraStreamInfo[rt]=J,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var rt in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,rt)&&(this.streamInfo[rt]=this.extraStreamInfo[rt])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var rt="Worker "+this.name;return this.previous?this.previous+" -> "+rt:rt}},nt.exports=Q},{}],29:[function(q,nt,W){"use strict";var Q=q("../utils"),rt=q("./ConvertWorker"),J=q("./GenericWorker"),tt=q("../base64"),at=q("../support"),Y=q("../external"),it=null;if(at.nodestream)try{it=q("../nodejs/NodejsStreamOutputAdapter")}catch(gt){}function ot(gt,pt){return new Y.Promise(function(vt,ct){var dt=[],bt=gt._internalType,wt=gt._outputType,St=gt._mimeType;gt.on("data",function(_t,xt){dt.push(_t),pt&&pt(xt)}
vendor: 13,090 bytes, line 44
44).on("error",function(_t){dt=[],ct(_t)}).on("end",function(){try{var _t=(function(xt,Dt,Ft){switch(xt){case"blob":return Q.newBlob(Q.transformTo("arraybuffer",Dt),Ft);case"base64":return tt.encode(Dt);default:return Q.transformTo(xt,Dt)}})(wt,(function(xt,Dt){var Ft,jt=0,Ht=null,Pt=0;for(Ft=0;Ft<Dt.length;Ft++)Pt+=Dt[Ft].length;switch(xt){case"string":return Dt.join("");case"array":return Array.prototype.concat.apply([],Dt);case"uint8array":for(Ht=new Uint8Array(Pt),Ft=0;Ft<Dt.length;Ft++)Ht.set(Dt[Ft],jt),jt+=Dt[Ft].length;return Ht;case"nodebuffer":return B.concat(Dt);default:throw new Error("concat : unsupported type '"+xt+"'")}})(bt,dt),St);vt(_t)}catch(xt){ct(xt)}dt=[]}).resume()})}function ft(gt,pt,vt){var ct=pt;switch(pt){case"blob":case"arraybuffer":ct="uint8array";break;case"base64":ct="string"}try{this._internalType=ct,this._outputType=pt,this._mimeType=vt,Q.checkSupport(ct),this._worker=gt.pipe(new rt(ct)),gt.lock()}catch(dt){this._worker=new J("error"),this._worker.error(dt)}}ft.prototype={accumulate:function(gt){return ot(this,gt)},on:function(gt,pt){var vt=this;return gt==="data"?this._worker.on(gt,function(ct){pt.call(vt,ct.data,ct.meta)}):this._worker.on(gt,function(){Q.delay(pt,arguments,vt)}),this},resume:function(){return Q.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(gt){if(Q.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new it(this,{objectMode:this._outputType!=="nodebuffer"},gt)}},nt.exports=ft},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(q,nt,W){"use strict";if(W.base64=!0,W.array=!0,W.string=!0,W.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",W.nodebuffer=typeof B!="undefined",W.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")W.blob=!1;else{var Q=new ArrayBuffer(0);try{W.blob=new Blob([Q],{type:"application/zip"}).size===0}catch(J){try{var rt=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);rt.append(Q),W.blob=rt.getBlob("application/zip").size===0}catch(tt){W.blob=!1}}}try{W.nodestream=!!q("readable-stream").Readable}catch(J){W.nodestream=!1}},{"readable-stream":16}],31:[function(q,nt,W){"use strict";for(var Q=q("./utils"),rt=q("./support"),J=q("./nodejsUtils"),tt=q("./stream/GenericWorker"),at=new Array(256),Y=0;Y<256;Y++)at[Y]=252<=Y?6:248<=Y?5:240<=Y?4:224<=Y?3:192<=Y?2:1;at[254]=at[254]=1;function it(){tt.call(this,"utf-8 decode"),this.leftOver=null}function ot(){tt.call(this,"utf-8 encode")}W.utf8encode=function(ft){return rt.nodebuffer?J.newBufferFrom(ft,"utf-8"):(function(gt){var pt,vt,ct,dt,bt,wt=gt.length,St=0;for(dt=0;dt<wt;dt++)(64512&(vt=gt.charCodeAt(dt)))==55296&&dt+1<wt&&(64512&(ct=gt.charCodeAt(dt+1)))==56320&&(vt=65536+(vt-55296<<10)+(ct-56320),dt++),St+=vt<128?1:vt<2048?2:vt<65536?3:4;for(pt=rt.uint8array?new Uint8Array(St):new Array(St),dt=bt=0;bt<St;dt++)(64512&(vt=gt.charCodeAt(dt)))==55296&&dt+1<wt&&(64512&(ct=gt.charCodeAt(dt+1)))==56320&&(vt=65536+(vt-55296<<10)+(ct-56320),dt++),vt<128?pt[bt++]=vt:(vt<2048?pt[bt++]=192|vt>>>6:(vt<65536?pt[bt++]=224|vt>>>12:(pt[bt++]=240|vt>>>18,pt[bt++]=128|vt>>>12&63),pt[bt++]=128|vt>>>6&63),pt[bt++]=128|63&vt);return pt})(ft)},W.utf8decode=function(ft){return rt.nodebuffer?Q.transformTo("nodebuffer",ft).toString("utf-8"):(function(gt){var pt,vt,ct,dt,bt=gt.length,wt=new Array(2*bt);for(pt=vt=0;pt<bt;)if((ct=gt[pt++])<128)wt[vt++]=ct;else if(4<(dt=at[ct]))wt[vt++]=65533,pt+=dt-1;else{for(ct&=dt===2?31:dt===3?15:7;1<dt&&pt<bt;)ct=ct<<6|63>[pt++],dt--;1<dt?wt[vt++]=65533:ct<65536?wt[vt++]=ct:(ct-=65536,wt[vt++]=55296|ct>>10&1023,wt[vt++]=56320|1023&ct)}return wt.length!==vt&&(wt.subarray?wt=wt.subarray(0,vt):wt.length=vt),Q.applyFromCharCode(wt)})(ft=Q.transformTo(rt.uint8array?"uint8array":"array",ft))},Q.inherits(it,tt),it.prototype.processChunk=function(ft){var gt=Q.transformTo(rt.uint8array?"uint8array":"array",ft.data);if(this.leftOver&&this.leftOver.length){if(rt.uint8array){var pt=gt;(gt=new Uint8Array(pt.length+this.leftOver.length)).set(this.leftOver,0),gt.set(pt,this.leftOver.length)}else gt=this.leftOver.concat(gt);this.leftOver=null}var vt=(function(dt,bt){var wt;for((bt=bt||dt.length)>dt.length&&(bt=dt.length),wt=bt-1;0<=wt&&(192&dt[wt])==128;)wt--;return wt<0||wt===0?bt:wt+at[dt[wt]]>bt?wt:bt})(gt),ct=gt;vt!==gt.length&&(rt.uint8array?(ct=gt.subarray(0,vt),this.leftOver=gt.subarray(vt,gt.length)):(ct=gt.slice(0,vt),this.leftOver=gt.slice(vt,gt.length))),this.push({data:W.utf8decode(ct),meta:ft.meta})},it.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:W.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},W.Utf8DecodeWorker=it,Q.inherits(ot,tt),ot.prototype.processChunk=function(ft){this.push({data:W.utf8encode(ft.data),meta:ft.meta})},W.Utf8EncodeWorker=ot},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(q,nt,W){"use strict";var Q=q("./support"),rt=q("./base64"),J=q("./nodejsUtils"),tt=q("./external");function at(pt){return pt}function Y(pt,vt){for(var ct=0;ct<pt.length;++ct)vt[ct]=255&pt.charCodeAt(ct);return vt}q("setimmediate"),W.newBlob=function(pt,vt){W.checkSupport("blob");try{return new Blob([pt],{type:vt})}catch(dt){try{var ct=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return ct.append(pt),ct.getBlob(vt)}catch(bt){throw new Error("Bug : can't construct the Blob.")}}};var it={stringifyByChunk:function(pt,vt,ct){var dt=[],bt=0,wt=pt.length;if(wt<=ct)return String.fromCharCode.apply(null,pt);for(;bt<wt;)vt==="array"||vt==="nodebuffer"?dt.push(String.fromCharCode.apply(null,pt.slice(bt,Math.min(bt+ct,wt)))):dt.push(String.fromCharCode.apply(null,pt.subarray(bt,Math.min(bt+ct,wt)))),bt+=ct;return dt.join("")},stringifyByChar:function(pt){for(var vt="",ct=0;ct<pt.length;ct++)vt+=String.fromCharCode(pt[ct]);return vt},applyCanBeUsed:{uint8array:(function(){try{return Q.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(pt){return!1}})(),nodebuffer:(function(){try{return Q.nodebuffer&&String.fromCharCode.apply(null,J.allocBuffer(1)).length===1}catch(pt){return!1}})()}};function ot(pt){var vt=65536,ct=W.getTypeOf(pt),dt=!0;if(ct==="uint8array"?dt=it.applyCanBeUsed.uint8array:ct==="nodebuffer"&&(dt=it.applyCanBeUsed.nodebuffer),dt)for(;1<vt;)try{return it.stringifyByChunk(pt,ct,vt)}catch(bt){vt=Math.floor(vt/2)}return it.stringifyByChar(pt)}function ft(pt,vt){for(var ct=0;ct<pt.length;ct++)vt[ct]=pt[ct];return vt}W.applyFromCharCode=ot;var gt={};gt.string={string:at,array:function(pt){return Y(pt,new Array(pt.length))},arraybuffer:function(pt){return gt.string.uint8array(pt).buffer},uint8array:function(pt){return Y(pt,new Uint8Array(pt.length))},nodebuffer:function(pt){return Y(pt,J.allocBuffer(pt.length))}},gt.array={string:ot,array:at,arraybuffer:function(pt){return new Uint8Array(pt).buffer},uint8array:function(pt){return new Uint8Array(pt)},nodebuffer:function(pt){return J.newBufferFrom(pt)}},gt.arraybuffer={string:function(pt){return ot(new Uint8Array(pt))},array:function(pt){return ft(new Uint8Array(pt),new Array(pt.byteLength))},arraybuffer:at,uint8array:function(pt){return new Uint8Array(pt)},nodebuffer:function(pt){return J.newBufferFrom(new Uint8Array(pt))}},gt.uint8array={string:ot,array:function(pt){return ft(pt,new Array(pt.length))},arraybuffer:function(pt){return pt.buffer},uint8array:at,nodebuffer:function(pt){return J.newBufferFrom(pt)}},gt.nodebuffer={string:ot,array:function(pt){return ft(pt,new Array(pt.length))},arraybuffer:function(pt){return gt.nodebuffer.uint8array(pt).buffer},uint8array:function(pt){return ft(pt,new Uint8Array(pt.length))},nodebuffer:at},W.transformTo=function(pt,vt){if(vt=vt||"",!pt)return vt;W.checkSupport(pt);var ct=W.getTypeOf(vt);return gt[ct][pt](vt)},W.resolve=function(pt){for(var vt=pt.split("/"),ct=[],dt=0;dt<vt.length;dt++){var bt=vt[dt];bt==="."||bt===""&&dt!==0&&dt!==vt.length-1||(bt===".."?ct.pop():ct.push(bt))}return ct.join("/")},W.getTypeOf=function(pt){return typeof pt=="string"?"string":Object.prototype.toString.call(pt)==="[object Array]"?"array":Q.nodebuffer&&J.isBuffer(pt)?"nodebuffer":Q.uint8array&&pt instanceof Uint8Array?"uint8array":Q.arraybuffer&&pt instanceof ArrayBuffer?"arraybuffer":void 0},W.checkSupport=function(pt){if(!Q[pt.toLowerCase()])throw new Error(pt+" is not supported by this platform")},W.MAX_VALUE_16BITS=65535,W.MAX_VALUE_32BITS=-1,W.pretty=function(pt){var vt,ct,dt="";for(ct=0;ct<(pt||"").length;ct++)dt+="\\x"+((vt=pt.charCodeAt(ct))<16?"0":"")+vt.toString(16).toUpperCase();return dt},W.delay=function(pt,vt,ct){G(function(){pt.apply(ct||null,vt||[])})},W.inherits=function(pt,vt){function ct(){}ct.prototype=vt.prototype,pt.prototype=new ct},W.extend=function(){var pt,vt,ct={};for(pt=0;pt<arguments.length;pt++)for(vt in arguments[pt])Object.prototype.hasOwnProperty.call(arguments[pt],vt)&&ct[vt]===void 0&&(ct[vt]=arguments[pt][vt]);return ct},W.prepareContent=function(pt,vt,ct,dt,bt){return tt.Promise.resolve(vt).then(function(wt){return Q.blob&&(wt instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(wt))!==-1)&&typeof FileReader!="undefined"?new tt.Promise(function(St,_t){var xt=new FileReader;xt.onload=function(Dt){St(Dt.target.result)},xt.onerror=function(Dt){_t(Dt.target.error)},xt.readAsArrayBuffer(wt)}):wt}).then(function(wt){var St=W.getTypeOf(wt);return St?(St==="arraybuffer"?wt=W.transformTo("uint8array",wt):St==="string"&&(bt?wt=rt.decode(wt):ct&&dt!==!0&&(wt=(function(_t){return Y(_t,Q.uint8array?new Uint8Array(_t.length):new Array(_t.length))})(wt))),wt):tt.Promise.reject(new Error("Can't read the data of '"+pt+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(q,nt,W){"use strict";var Q=q("./reader/readerFor"),rt=q("./utils"),J=q("./signature"),tt=q("./zipEntry"),at=q("./support");function Y(it){this.files=[],this.loadOptions=it}Y.prototype={checkSignature:function(it){if(!this.reader.readAndCheckSignature(it)){this.reader.index-=4;var ot=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+rt.pretty(ot)+", expected "+rt.pretty(it)+")")}},isSignature:function(it,ot){var ft=this.reader.index;this.reader.setIndex(it);var gt=this.reader.readString(4)===ot;return this.reader.setIndex(ft),gt},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var it=this.reader.readData(this.zipCommentLength),ot=at.uint8array?"uint8array":"array",ft=rt.transformTo(ot,it);this.zipComment=this.loadOptions.decodeFileName(ft)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var it,ot,ft,gt=this.zip64EndOfCentralSize-44;0<gt;)it=this.reader.readInt(2),ot=this.reader.readInt(4),ft=this.reader.readData(ot),this.zip64ExtensibleData[it]={id:it,length:ot,value:ft}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var it,ot;for(it=0;it<this.files.length;it++)ot=this.files[it],this.reader.setIndex(ot.localHeaderOffset),this.checkSignature(J.LOCAL_FILE_HEADER),ot.readLocalPart(this.reader),ot.handleUTF8(),ot.processAttributes()},readCentralDir:function(){var it;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(J.CENTRAL_FILE_HEADER);)(it=new tt({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(it);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var it=this.reader.lastIndexOfSignature(J.CENTRAL_DIRECTORY_END);if(it<0)throw this.isSignature(0,J.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip f
44ile ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(it);var ot=it;if(this.checkSignature(J.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===rt.MAX_VALUE_16BITS||this.diskWithCentralDirStart===rt.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===rt.MAX_VALUE_16BITS||this.centralDirRecords===rt.MAX_VALUE_16BITS||this.centralDirSize===rt.MAX_VALUE_32BITS||this.centralDirOffset===rt.MAX_VALUE_32BITS){if(this.zip64=!0,(it=this.reader.lastIndexOfSignature(J.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(it),this.checkSignature(J.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,J.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(J.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(J.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var ft=this.centralDirOffset+this.centralDirSize;this.zip64&&(ft+=20,ft+=12+this.zip64EndOfCentralSize);var gt=ot-ft;if(0<gt)this.isSignature(ot,J.CENTRAL_FILE_HEADER)||(this.reader.zero=gt);else if(gt<0)throw new Error("Corrupted zip: missing "+Math.abs(gt)+" bytes.")},prepareReader:function(it){this.reader=Q(it)},load:function(it){this.prepareReader(it),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},nt.exports=Y},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(q,nt,W){"use strict";var Q=q("./reader/readerFor"),rt=q("./utils"),J=q("./compressedObject"),tt=q("./crc32"),at=q("./utf8"),Y=q("./compressions"),it=q("./support");function ot(ft,gt){this.options=ft,this.loadOptions=gt}ot.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(ft){var gt,pt;if(ft.skip(22),this.fileNameLength=ft.readInt(2),pt=ft.readInt(2),this.fileName=ft.readData(this.fileNameLength),ft.skip(pt),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((gt=(function(vt){for(var ct in Y)if(Object.prototype.hasOwnProperty.call(Y,ct)&&Y[ct].magic===vt)return Y[ct];return null})(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+rt.pretty(this.compressionMethod)+" unknown (inner file : "+rt.transformTo("string",this.fileName)+")");this.decompressed=new J(this.compressedSize,this.uncompressedSize,this.crc32,gt,ft.readData(this.compressedSize))},readCentralPart:function(ft){this.versionMadeBy=ft.readInt(2),ft.skip(2),this.bitFlag=ft.readInt(2),this.compressionMethod=ft.readString(2),this.date=ft.readDate(),this.crc32=ft.readInt(4),this.compressedSize=ft.readInt(4),this.uncompressedSize=ft.readInt(4);var gt=ft.readInt(2);if(this.extraFieldsLength=ft.readInt(2),this.fileCommentLength=ft.readInt(2),this.diskNumberStart=ft.readInt(2),this.internalFileAttributes=ft.readInt(2),this.externalFileAttributes=ft.readInt(4),this.localHeaderOffset=ft.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");ft.skip(gt),this.readExtraFields(ft),this.parseZIP64ExtraField(ft),this.fileComment=ft.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var ft=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),ft==0&&(this.dosPermissions=63&this.externalFileAttributes),ft==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var ft=Q(this.extraFields[1].value);
vendor: 16,964 bytes, line 44
44this.uncompressedSize===rt.MAX_VALUE_32BITS&&(this.uncompressedSize=ft.readInt(8)),this.compressedSize===rt.MAX_VALUE_32BITS&&(this.compressedSize=ft.readInt(8)),this.localHeaderOffset===rt.MAX_VALUE_32BITS&&(this.localHeaderOffset=ft.readInt(8)),this.diskNumberStart===rt.MAX_VALUE_32BITS&&(this.diskNumberStart=ft.readInt(4))}},readExtraFields:function(ft){var gt,pt,vt,ct=ft.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});ft.index+4<ct;)gt=ft.readInt(2),pt=ft.readInt(2),vt=ft.readData(pt),this.extraFields[gt]={id:gt,length:pt,value:vt};ft.setIndex(ct)},handleUTF8:function(){var ft=it.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=at.utf8decode(this.fileName),this.fileCommentStr=at.utf8decode(this.fileComment);else{var gt=this.findExtraFieldUnicodePath();if(gt!==null)this.fileNameStr=gt;else{var pt=rt.transformTo(ft,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(pt)}var vt=this.findExtraFieldUnicodeComment();if(vt!==null)this.fileCommentStr=vt;else{var ct=rt.transformTo(ft,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(ct)}}},findExtraFieldUnicodePath:function(){var ft=this.extraFields[28789];if(ft){var gt=Q(ft.value);return gt.readInt(1)!==1||tt(this.fileName)!==gt.readInt(4)?null:at.utf8decode(gt.readData(ft.length-5))}return null},findExtraFieldUnicodeComment:function(){var ft=this.extraFields[25461];if(ft){var gt=Q(ft.value);return gt.readInt(1)!==1||tt(this.fileComment)!==gt.readInt(4)?null:at.utf8decode(gt.readData(ft.length-5))}return null}},nt.exports=ot},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(q,nt,W){"use strict";function Q(gt,pt,vt){this.name=gt,this.dir=vt.dir,this.date=vt.date,this.comment=vt.comment,this.unixPermissions=vt.unixPermissions,this.dosPermissions=vt.dosPermissions,this._data=pt,this._dataBinary=vt.binary,this.options={compression:vt.compression,compressionOptions:vt.compressionOptions}}var rt=q("./stream/StreamHelper"),J=q("./stream/DataWorker"),tt=q("./utf8"),at=q("./compressedObject"),Y=q("./stream/GenericWorker");Q.prototype={internalStream:function(gt){var pt=null,vt="string";try{if(!gt)throw new Error("No output type specified.");var ct=(vt=gt.toLowerCase())==="string"||vt==="text";vt!=="binarystring"&&vt!=="text"||(vt="string"),pt=this._decompressWorker();var dt=!this._dataBinary;dt&&!ct&&(pt=pt.pipe(new tt.Utf8EncodeWorker)),!dt&&ct&&(pt=pt.pipe(new tt.Utf8DecodeWorker))}catch(bt){(pt=new Y("error")).error(bt)}return new rt(pt,vt,"")},async:function(gt,pt){return this.internalStream(gt).accumulate(pt)},nodeStream:function(gt,pt){return this.internalStream(gt||"nodebuffer").toNodejsStream(pt)},_compressWorker:function(gt,pt){if(this._data instanceof at&&this._data.compression.magic===gt.magic)return this._data.getCompressedWorker();var vt=this._decompressWorker();return this._dataBinary||(vt=vt.pipe(new tt.Utf8EncodeWorker)),at.createWorkerFrom(vt,gt,pt)},_decompressWorker:function(){return this._data instanceof at?this._data.getContentWorker():this._data instanceof Y?this._data:new J(this._data)}};for(var it=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],ot=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},ft=0;ft<it.length;ft++)Q.prototype[it[ft]]=ot;nt.exports=Q},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(q,nt,W){(function(Q){"use strict";var rt,J,tt=Q.MutationObserver||Q.WebKitMutationObserver;if(tt){var at=0,Y=new tt(gt),it=Q.document.createTextNode("");Y.observe(it,{characterData:!0}),rt=function(){it.data=at=++at%2}}else if(Q.setImmediate||Q.MessageChannel===void 0)rt="document"in Q&&"onreadystatechange"in Q.document.createElement("script")?function(){var pt=Q.document.createElement("script");pt.onreadystatechange=function(){gt(),pt.onreadystatechange=null,pt.parentNode.removeChild(pt),pt=null},Q.document.documentElement.appendChild(pt)}:function(){setTimeout(gt,0)};else{var ot=new Q.MessageChannel;ot.port1.onmessage=gt,rt=function(){ot.port2.postMessage(0)}}var ft=[];function gt(){var pt,vt;J=!0;for(var ct=ft.length;ct;){for(vt=ft,ft=[],pt=-1;++pt<ct;)vt[pt]();ct=ft.length}J=!1}nt.exports=function(pt){ft.push(pt)!==1||J||rt()}}).call(this,typeof U!="undefined"?U:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(q,nt,W){"use strict";var Q=q("immediate");function rt(){}var J={},tt=["REJECTED"],at=["FULFILLED"],Y=["PENDING"];function it(ct){if(typeof ct!="function")throw new TypeError("resolver must be a function");this.state=Y,this.queue=[],this.outcome=void 0,ct!==rt&&pt(this,ct)}function ot(ct,dt,bt){this.promise=ct,typeof dt=="function"&&(this.onFulfilled=dt,this.callFulfilled=this.otherCallFulfilled),typeof bt=="function"&&(this.onRejected=bt,this.callRejected=this.otherCallRejected)}function ft(ct,dt,bt){Q(function(){var wt;try{wt=dt(bt)}catch(St){return J.reject(ct,St)}wt===ct?J.reject(ct,new TypeError("Cannot resolve promise with itself")):J.resolve(ct,wt)})}function gt(ct){var dt=ct&&ct.then;if(ct&&(typeof ct=="object"||typeof ct=="function")&&typeof dt=="function")return function(){dt.apply(ct,arguments)}}function pt(ct,dt){var bt=!1;function wt(xt){bt||(bt=!0,J.reject(ct,xt))}function St(xt){bt||(bt=!0,J.resolve(ct,xt))}var _t=vt(function(){dt(St,wt)});_t.status==="error"&&wt(_t.value)}function vt(ct,dt){var bt={};try{bt.value=ct(dt),bt.status="success"}catch(wt){bt.status="error",bt.value=wt}return bt}(nt.exports=it).prototype.finally=function(ct){if(typeof ct!="function")return this;var dt=this.constructor;return this.then(function(bt){return dt.resolve(ct()).then(function(){return bt})},function(bt){return dt.resolve(ct()).then(function(){throw bt})})},it.prototype.catch=function(ct){return this.then(null,ct)},it.prototype.then=function(ct,dt){if(typeof ct!="function"&&this.state===at||typeof dt!="function"&&this.state===tt)return this;var bt=new this.constructor(rt);return this.state!==Y?ft(bt,this.state===at?ct:dt,this.outcome):this.queue.push(new ot(bt,ct,dt)),bt},ot.prototype.callFulfilled=function(ct){J.resolve(this.promise,ct)},ot.prototype.otherCallFulfilled=function(ct){ft(this.promise,this.onFulfilled,ct)},ot.prototype.callRejected=function(ct){J.reject(this.promise,ct)},ot.prototype.otherCallRejected=function(ct){ft(this.promise,this.onRejected,ct)},J.resolve=function(ct,dt){var bt=vt(gt,dt);if(bt.status==="error")return J.reject(ct,bt.value);var wt=bt.value;if(wt)pt(ct,wt);else{ct.state=at,ct.outcome=dt;for(var St=-1,_t=ct.queue.length;++St<_t;)ct.queue[St].callFulfilled(dt)}return ct},J.reject=function(ct,dt){ct.state=tt,ct.outcome=dt;for(var bt=-1,wt=ct.queue.length;++bt<wt;)ct.queue[bt].callRejected(dt);return ct},it.resolve=function(ct){return ct instanceof this?ct:J.resolve(new this(rt),ct)},it.reject=function(ct){var dt=new this(rt);return J.reject(dt,ct)},it.all=function(ct){var dt=this;if(Object.prototype.toString.call(ct)!=="[object Array]")return this.reject(new TypeError("must be an array"));var bt=ct.length,wt=!1;if(!bt)return this.resolve([]);for(var St=new Array(bt),_t=0,xt=-1,Dt=new this(rt);++xt<bt;)Ft(ct[xt],xt);return Dt;function Ft(jt,Ht){dt.resolve(jt).then(function(Pt){St[Ht]=Pt,++_t!==bt||wt||(wt=!0,J.resolve(Dt,St))},function(Pt){wt||(wt=!0,J.reject(Dt,Pt))})}},it.race=function(ct){var dt=this;if(Object.prototype.toString.call(ct)!=="[object Array]")return this.reject(new TypeError("must be an array"));var bt=ct.length,wt=!1;if(!bt)return this.resolve([]);for(var St=-1,_t=new this(rt);++St<bt;)xt=ct[St],dt.resolve(xt).then(function(Dt){wt||(wt=!0,J.resolve(_t,Dt))},function(Dt){wt||(wt=!0,J.reject(_t,Dt))});var xt;return _t}},{immediate:36}],38:[function(q,nt,W){"use strict";var Q={};(0,q("./lib/utils/common").assign)(Q,q("./lib/deflate"),q("./lib/inflate"),q("./lib/zlib/constants")),nt.exports=Q},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(q,nt,W){"use strict";var Q=q("./zlib/deflate"),rt=q("./utils/common"),J=q("./utils/strings"),tt=q("./zlib/messages"),at=q("./zlib/zstream"),Y=Object.prototype.toString,it=0,ot=-1,ft=0,gt=8;function pt(ct){if(!(this instanceof pt))return new pt(ct);this.options=rt.assign({level:ot,method:gt,chunkSize:16384,windowBits:15,memLevel:8,strategy:ft,to:""},ct||{});var dt=this.options;dt.raw&&0<dt.windowBits?dt.windowBits=-dt.windowBits:dt.gzip&&0<dt.windowBits&&dt.windowBits<16&&(dt.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new at,this.strm.avail_out=0;var bt=Q.deflateInit2(this.strm,dt.level,dt.method,dt.windowBits,dt.memLevel,dt.strategy);if(bt!==it)throw new Error(tt[bt]);if(dt.header&&Q.deflateSetHeader(this.strm,dt.header),dt.dictionary){var wt;if(wt=typeof dt.dictionary=="string"?J.string2buf(dt.dictionary):Y.call(dt.dictionary)==="[object ArrayBuffer]"?new Uint8Array(dt.dictionary):dt.dictionary,(bt=Q.deflateSetDictionary(this.strm,wt))!==it)throw new Error(tt[bt]);this._dict_set=!0}}function vt(ct,dt){var bt=new pt(dt);if(bt.push(ct,!0),bt.err)throw bt.msg||tt[bt.err];return bt.result}pt.prototype.push=function(ct,dt){var bt,wt,St=this.strm,_t=this.options.chunkSize;if(this.ended)return!1;wt=dt===~~dt?dt:dt===!0?4:0,typeof ct=="string"?St.input=J.string2buf(ct):Y.call(ct)==="[object ArrayBuffer]"?St.input=new Uint8Array(ct):St.input=ct,St.next_in=0,St.avail_in=St.input.length;do{if(St.avail_out===0&&(St.output=new rt.Buf8(_t),St.next_out=0,St.avail_out=_t),(bt=Q.deflate(St,wt))!==1&&bt!==it)return this.onEnd(bt),!(this.ended=!0);St.avail_out!==0&&(St.avail_in!==0||wt!==4&&wt!==2)||(this.options.to==="string"?this.onData(J.buf2binstring(rt.shrinkBuf(St.output,St.next_out))):this.onData(rt.shrinkBuf(St.output,St.next_out)))}while((0<St.avail_in||St.avail_out===0)&&bt!==1);return wt===4?(bt=Q.deflateEnd(this.strm),this.onEnd(bt),this.ended=!0,bt===it):wt!==2||(this.onEnd(it),!(St.avail_out=0))},pt.prototype.onData=function(ct){this.chunks.push(ct)},pt.prototype.onEnd=function(ct){ct===it&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=rt.flattenChunks(this.chunks)),this.chunks=[],this.err=ct,this.msg=this.strm.msg},W.Deflate=pt,W.deflate=vt,W.deflateRaw=function(ct,dt){return(dt=dt||{}).raw=!0,vt(ct,dt)},W.gzip=function(ct,dt){return(dt=dt||{}).gzip=!0,vt(ct,dt)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(q,nt,W){"use strict";var Q=q("./zlib/inflate"),rt=q("./utils/common"),J=q("./utils/strings"),tt=q("./zlib/constants"),at=q("./zlib/messages"),Y=q("./zlib/zstream"),it=q("./zlib/gzheader"),ot=Object.prototype.toString;function ft(pt){if(!(this instanceof ft))return new ft(pt);this.options=rt.assign({chunkSize:16384,windowBits:0,to:""},pt||{});var vt=this.options;vt.raw&&0<=vt.windowBits&&vt.windowBits<16&&(vt.windowBits=-vt.windowBits,vt.windowBits===0&&(vt.windowBits=-15)),!(0<=vt.windowBits&&vt.windowBits<16)||pt&&pt.windowBits||(vt.windowBits+=32),15<vt.windowBits&&vt.windowBits<48&&(15&vt.windowBits)==0&&(vt.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Y,this.strm.avail_out=0;var ct=Q.inflateInit2(this.strm,vt.windowBits);if(ct!==tt.Z_OK)throw new Error(at[ct]);this.header=new it,Q.inflateGetHeader(this.strm,this.header)}function gt(pt,vt){var ct=new ft(vt);if(ct.push(pt,!0),ct.err)throw ct.msg||at[ct.err];return ct.result}ft.prototype.push=function(pt,vt){var ct,dt,bt,wt,St,_t,xt=this.strm,Dt=this.options.chunkSize,Ft=this.options.dictionary,jt=!1;if(this.ended)return!1;dt=vt===~~vt?vt:vt===!0?tt.Z_FINISH:tt.Z_NO_FLUSH,typeof pt=="string"?xt.input=J.binstring2buf(pt):ot.call(pt)==="[object ArrayBuffer]"?xt.input=new Uint8Array(pt):xt.input=pt,xt.next_in=0,xt.avail_in=xt.input.length;do{if(xt.avail_out===0&&(xt.output=new rt.Buf8(Dt),xt.next_out=0,xt.avail_out=Dt),(ct=Q.inflate(xt,tt.Z_NO_FLUSH))===tt.Z_NEED_DICT&&Ft&&(_t=typeof Ft=="string"?J.string2buf(Ft):ot.call(Ft)==="[object ArrayBuffer]"?new Uint8Array(Ft):Ft,ct=Q.inflateSetDictionary(this.strm,_t)),ct===tt.Z_BUF_ERROR&&jt===!0&&(ct=tt.Z_OK,jt=!1),ct!==tt.Z_STREAM_END&&ct!==tt.Z_OK)return this.onEnd(ct),!(this.ended=!0);xt.next_out&&(xt.avail_out!==0&&ct!==tt.Z_STREAM_END&&(xt.avail_in!==0||dt!==tt.Z_FINISH&&dt!==tt.Z_SYNC_FLUSH)||(this.options.to==="string"?(bt=J.utf8border(xt.output,xt.next_out),wt=xt.next_out-bt,St=J.buf2string(xt.output,bt),xt.next_out=wt,xt.avail_out=Dt-wt,wt&&rt.arraySet(xt.output,xt.output,bt,wt,0),this.onData(St)):this.onData(rt.shrinkBuf(xt.output,xt.next_out)))),xt.avail_in===0&&xt.avail_out===0&&(jt=!0)}while((0<xt.avail_in||xt.avail_out===0)&&ct!==tt.Z_STREAM_END);return ct===tt.Z_STREAM_END&&(dt=tt.Z_FINISH),dt===tt.Z_FINISH?(ct=Q.inflateEnd(this.strm),this.onEnd(ct),this.ended=!0,ct===tt.Z_OK):dt!==tt.Z_SYNC_FLUSH||(this.onEnd(tt.Z_OK),!(xt.avail_out=0))},ft.prototype.onData=function(pt){this.chunks.push(pt)},ft.prototype.onEnd=function(pt){pt===tt.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=rt.flattenChunks(this.chunks)),this.chunks=[],this.err=pt,this.msg=this.strm.msg},W.Inflate=ft,W.inflate=gt,W.inflateRaw=function(pt,vt){return(vt=vt||{}).raw=!0,gt(pt,vt)},W.ungzip=gt},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(q,nt,W){"use strict";var Q=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";W.assign=function(tt){for(var at=Array.prototype.slice.call(arguments,1);at.length;){var Y=at.shift();if(Y){if(typeof Y!="object")throw new TypeError(Y+"must be non-object");for(var it in Y)Y.hasOwnProperty(it)&&(tt[it]=Y[it])}}return tt},W.shrinkBuf=function(tt,at){return tt.length===at?tt:tt.subarray?tt.subarray(0,at):(tt.length=at,tt)};var rt={arraySet:function(tt,at,Y,it,ot){if(at.subarray&&tt.subarray)tt.set(at.subarray(Y,Y+it),ot);else for(var ft=0;ft<it;ft++)tt[ot+ft]=at[Y+ft]},flattenChunks:function(tt){var at,Y,it,ot,ft,gt;for(at=it=0,Y=tt.length;at<Y;at++)it+=tt[at].length;for(gt=new Uint8Array(it),at=ot=0,Y=tt.length;at<Y;at++)ft=tt[at],gt.set(ft,ot),ot+=ft.length;return gt}},J={arraySet:function(tt,at,Y,it,ot){for(var ft=0;ft<it;ft++)tt[ot+ft]=at[Y+ft]},flattenChunks:function(tt){return[].concat.apply([],tt)}};W.setTyped=function(tt){tt?(W.Buf8=Uint8Array,W.Buf16=Uint16Array,W.Buf32=Int32Array,W.assign(W,rt)):(W.Buf8=Array,W.Buf16=Array,W.Buf32=Array,W.assign(W,J))},W.setTyped(Q)},{}],42:[function(q,nt,W){"use strict";var Q=q("./common"),rt=!0,J=!0;try{String.fromCharCode.apply(null,[0])}catch(it){rt=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(it){J=!1}for(var tt=new Q.Buf8(256),at=0;at<256;at++)tt[at]=252<=at?6:248<=at?5:240<=at?4:224<=at?3:192<=at?2:1;function Y(it,ot){if(ot<65537&&(it.subarray&&J||!it.subarray&&rt))return String.fromCharCode.apply(null,Q.shrinkBuf(it,ot));for(var ft="",gt=0;gt<ot;gt++)ft+=String.fromCharCode(it[gt]);return ft}tt[254]=tt[254]=1,W.string2buf=function(it){var ot,ft,gt,pt,vt,ct=it.length,dt=0;for(pt=0;pt<ct;pt++)(64512&(ft=it.charCodeAt(pt)))==55296&&pt+1<ct&&(64512&(gt=it.charCodeAt(pt+1)))==56320&&(ft=65536+(ft-55296<<10)+(gt-56320),pt++),dt+=ft<128?1:ft<2048?2:ft<65536?3:4;for(ot=new Q.Buf8(dt),pt=vt=0;vt<dt;pt++)(64512&(ft=it.charCodeAt(pt)))==55296&&pt+1<ct&&(64512&(gt=it.charCodeAt(pt+1)))==56320&&(ft=65536+(ft-55296<<10)+(gt-56320),pt++),ft<128?ot[vt++]=ft:(ft<2048?ot[vt++]=192|ft>>>6:(ft<65536?ot[vt++]=224|ft>>>12:(ot[vt++]=240|ft>>>18,ot[vt++]=128|ft>>>12&63),ot[vt++]=128|ft>>>6&63),ot[vt++]=128|63&ft);return ot},W.buf2binstring=function(it){return Y(it,it.length)},W.binstring2buf=function(it){for(var ot=new Q.Buf8(it.length),ft=0,gt=ot.length;ft<gt;ft++)ot[ft]=it.charCodeAt(ft);return ot},W.buf2string=function(it,ot){var ft,gt,pt,vt,ct=ot||it.length,dt=new Array(2*ct);for(ft=gt=0;ft<ct;)if((pt=it[ft++])<128)dt[gt++]=pt;else if(4<(vt=tt[pt]))dt[gt++]=65533,ft+=vt-1;else{for(pt&=vt===2?31:vt===3?15:7;1<vt&&ft<ct;)pt=pt<<6|63&it[ft++],vt--;1<vt?dt[gt++]=65533:pt<65536?dt[gt++]=pt:(pt-=65536,dt[gt++]=55296|pt>>10&1023,dt[gt++]=56320|1023&pt)}return Y(dt,gt)},W.utf8border=function(it,ot){var ft;for((ot=ot||it.length)>it.length&&(ot=it.length),ft=ot-1;0<=ft&&(192&it[ft])==128;)ft--;return ft<0||ft===0?ot:ft+tt[it[ft]]>ot?ft:ot}},{"./common":41}],43:[function(q,nt,W){"use strict";nt.exports=function(Q,rt,J,tt){for(var at=65535&Q|0,Y=Q>>>16&65535|0,it=0;J!==0;){for(J-=it=2e3<J?2e3:J;Y=Y+(at=at+rt[tt++]|0)|0,--it;);at%=65521,Y%=65521}return at|Y<<16|0}},{}],44:[function(q,nt,W){"use strict";nt.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ER
vendor: 9,057 bytes, line 44
44ROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(q,nt,W){"use strict";var Q=(function(){for(var rt,J=[],tt=0;tt<256;tt++){rt=tt;for(var at=0;at<8;at++)rt=1&rt?3988292384^rt>>>1:rt>>>1;J[tt]=rt}return J})();nt.exports=function(rt,J,tt,at){var Y=Q,it=at+tt;rt^=-1;for(var ot=at;ot<it;ot++)rt=rt>>>8^Y[255&(rt^J[ot])];return-1^rt}},{}],46:[function(q,nt,W){"use strict";var Q,rt=q("../utils/common"),J=q("./trees"),tt=q("./adler32"),at=q("./crc32"),Y=q("./messages"),it=0,ot=4,ft=0,gt=-2,pt=-1,vt=4,ct=2,dt=8,bt=9,wt=286,St=30,_t=19,xt=2*wt+1,Dt=15,Ft=3,jt=258,Ht=jt+Ft+1,Pt=42,Wt=113,At=1,ue=2,Qt=3,se=4;function de(kt,Lt){return kt.msg=Y[Lt],Lt}function oe(kt){return(kt<<1)-(4<kt?9:0)}function xe(kt){for(var Lt=kt.length;0<=--Lt;)kt[Lt]=0}function re(kt){var Lt=kt.state,yt=Lt.pending;yt>kt.avail_out&&(yt=kt.avail_out),yt!==0&&(rt.arraySet(kt.output,Lt.pending_buf,Lt.pending_out,yt,kt.next_out),kt.next_out+=yt,Lt.pending_out+=yt,kt.total_out+=yt,kt.avail_out-=yt,Lt.pending-=yt,Lt.pending===0&&(Lt.pending_out=0))}function Xt(kt,Lt){J._tr_flush_block(kt,0<=kt.block_start?kt.block_start:-1,kt.strstart-kt.block_start,Lt),kt.block_start=kt.strstart,re(kt.strm)}function Se(kt,Lt){kt.pending_buf[kt.pending++]=Lt}function _e(kt,Lt){kt.pending_buf[kt.pending++]=Lt>>>8&255,kt.pending_buf[kt.pending++]=255&Lt}function Ee(kt,Lt){var yt,ut,Tt=kt.max_chain_length,Rt=kt.strstart,Zt=kt.prev_length,ie=kt.nice_match,le=kt.strstart>kt.w_size-Ht?kt.strstart-(kt.w_size-Ht):0,be=kt.window,De=kt.w_mask,Ae=kt.prev,Fe=kt.strstart+jt,hn=be[Rt+Zt-1],tn=be[Rt+Zt];kt.prev_length>=kt.good_match&&(Tt>>=2),ie>kt.lookahead&&(ie=kt.lookahead);do if(be[(yt=Lt)+Zt]===tn&&be[yt+Zt-1]===hn&&be[yt]===be[Rt]&&be[++yt]===be[Rt+1]){Rt+=2,yt++;do;while(be[++Rt]===be[++yt]&&be[++Rt]===be[++yt]&&be[++Rt]===be[++yt]&&be[++Rt]===be[++yt]&&be[++Rt]===be[++yt]&&be[++Rt]===be[++yt]&&be[++Rt]===be[++yt]&&be[++Rt]===be[++yt]&&Rt<Fe);if(ut=jt-(Fe-Rt),Rt=Fe-jt,Zt<ut){if(kt.match_start=Lt,ie<=(Zt=ut))break;hn=be[Rt+Zt-1],tn=be[Rt+Zt]}}while((Lt=Ae[Lt&De])>le&&--Tt!=0);return Zt<=kt.lookahead?Zt:kt.lookahead}function Ue(kt){var Lt,yt,ut,Tt,Rt,Zt,ie,le,be,De,Ae=kt.w_size;do{if(Tt=kt.window_size-kt.lookahead-kt.strstart,kt.strstart>=Ae+(Ae-Ht)){for(rt.arraySet(kt.window,kt.window,Ae,Ae,0),kt.match_start-=Ae,kt.strstart-=Ae,kt.block_start-=Ae,Lt=yt=kt.hash_size;ut=kt.head[--Lt],kt.head[Lt]=Ae<=ut?ut-Ae:0,--yt;);for(Lt=yt=Ae;ut=kt.prev[--Lt],kt.prev[Lt]=Ae<=ut?ut-Ae:0,--yt;);Tt+=Ae}if(kt.strm.avail_in===0)break;if(Zt=kt.strm,ie=kt.window,le=kt.strstart+kt.lookahead,be=Tt,De=void 0,De=Zt.avail_in,be<De&&(De=be),yt=De===0?0:(Zt.avail_in-=De,rt.arraySet(ie,Zt.input,Zt.next_in,De,le),Zt.state.wrap===1?Zt.adler=tt(Zt.adler,ie,De,le):Zt.state.wrap===2&&(Zt.adler=at(Zt.adler,ie,De,le)),Zt.next_in+=De,Zt.total_in+=De,De),kt.lookahead+=yt,kt.lookahead+kt.insert>=Ft)for(Rt=kt.strstart-kt.insert,kt.ins_h=kt.window[Rt],kt.ins_h=(kt.ins_h<<kt.hash_shift^kt.window[Rt+1])&kt.hash_mask;kt.insert&&(kt.ins_h=(kt.ins_h<<kt.hash_shift^kt.window[Rt+Ft-1])&kt.hash_mask,kt.prev[Rt&kt.w_mask]=kt.head[kt.ins_h],kt.head[kt.ins_h]=Rt,Rt++,kt.insert--,!(kt.lookahead+kt.insert<Ft)););}while(kt.lookahead<Ht&&kt.strm.avail_in!==0)}function Oe(kt,Lt){for(var yt,ut;;){if(kt.lookahead<Ht){if(Ue(kt),kt.lookahead<Ht&&Lt===it)return At;if(kt.lookahead===0)break}if(yt=0,kt.lookahead>=Ft&&(kt.ins_h=(kt.ins_h<<kt.hash_shift^kt.window[kt.strstart+Ft-1])&kt.hash_mask,yt=kt.prev[kt.strstart&kt.w_mask]=kt.head[kt.ins_h],kt.head[kt.ins_h]=kt.strstart),yt!==0&&kt.strstart-yt<=kt.w_size-Ht&&(kt.match_length=Ee(kt,yt)),kt.match_length>=Ft)if(ut=J._tr_tally(kt,kt.strstart-kt.match_start,kt.match_length-Ft),kt.lookahead-=kt.match_length,kt.match_length<=kt.max_lazy_match&&kt.lookahead>=Ft){for(kt.match_length--;kt.strstart++,kt.ins_h=(kt.ins_h<<kt.hash_shift^kt.window[kt.strstart+Ft-1])&kt.hash_mask,yt=kt.prev[kt.strstart&kt.w_mask]=kt.head[kt.ins_h],kt.head[kt.ins_h]=kt.strstart,--kt.match_length!=0;);kt.strstart++}else kt.strstart+=kt.match_length,kt.match_length=0,kt.ins_h=kt.window[kt.strstart],kt.ins_h=(kt.ins_h<<kt.hash_shift^kt.window[kt.strstart+1])&kt.hash_mask;else ut=J._tr_tally(kt,0,kt.window[kt.strstart]),kt.lookahead--,kt.strstart++;if(ut&&(Xt(kt,!1),kt.strm.avail_out===0))return At}return kt.insert=kt.strstart<Ft-1?kt.strstart:Ft-1,Lt===ot?(Xt(kt,!0),kt.strm.avail_out===0?Qt:se):kt.last_lit&&(Xt(kt,!1),kt.strm.avail_out===0)?At:ue}function ze(kt,Lt){for(var yt,ut,Tt;;){if(kt.lookahead<Ht){if(Ue(kt),kt.lookahead<Ht&&Lt===it)return At;if(kt.lookahead===0)break}if(yt=0,kt.lookahead>=Ft&&(kt.ins_h=(kt.ins_h<<kt.hash_shift^kt.window[kt.strstart+Ft-1])&kt.hash_mask,yt=kt.prev[kt.strstart&kt.w_mask]=kt.head[kt.ins_h],kt.head[kt.ins_h]=kt.strstart),kt.prev_length=kt.match_length,kt.prev_match=kt.match_start,kt.match_length=Ft-1,yt!==0&&kt.prev_length<kt.max_lazy_match&&kt.strstart-yt<=kt.w_size-Ht&&(kt.match_length=Ee(kt,yt),kt.match_length<=5&&(kt.strategy===1||kt.match_length===Ft&&4096<kt.strstart-kt.match_start)&&(kt.match_length=Ft-1)),kt.prev_length>=Ft&&kt.match_length<=kt.prev_length){for(Tt=kt.strstart+kt.lookahead-Ft,ut=J._tr_tally(kt,kt.strstart-1-kt.prev_match,kt.prev_length-Ft),kt.lookahead-=kt.prev_length-1,kt.prev_length-=2;++kt.strstart<=Tt&&(kt.ins_h=(kt.ins_h<<kt.hash_shift^kt.window[kt.strstart+Ft-1])&kt.hash_mask,yt=kt.prev[kt.strstart&kt.w_mask]=kt.head[kt.ins_h],kt.head[kt.ins_h]=kt.strstart),--kt.prev_length!=0;);if(kt.match_available=0,kt.match_length=Ft-1,kt.strstart++,ut&&(Xt(kt,!1),kt.strm.avail_out===0))return At}else if(kt.match_available){if((ut=J._tr_tally(kt,0,kt.window[kt.strstart-1]))&&Xt(kt,!1),kt.strstart++,kt.lookahead--,kt.strm.avail_out===0)return At}else kt.match_available=1,kt.strstart++,kt.lookahead--}return kt.match_available&&(ut=J._tr_tally(kt,0,kt.window[kt.strstart-1]),kt.match_available=0),kt.insert=kt.strstart<Ft-1?kt.strstart:Ft-1,Lt===ot?(Xt(kt,!0),kt.strm.avail_out===0?Qt:se):kt.last_lit&&(Xt(kt,!1),kt.strm.avail_out===0)?At:ue}function Ne(kt,Lt,yt,ut,Tt){this.good_length=kt,this.max_lazy=Lt,this.nice_length=yt,this.max_chain=ut,this.func=Tt}function Ke(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=dt,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new rt.Buf16(2*xt),this.dyn_dtree=new rt.Buf16(2*(2*St+1)),this.bl_tree=new rt.Buf16(2*(2*_t+1)),xe(this.dyn_ltree),xe(this.dyn_dtree),xe(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new rt.Buf16(Dt+1),this.heap=new rt.Buf16(2*wt+1),xe(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new rt.Buf16(2*wt+1),xe(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Qe(kt){var Lt;return kt&&kt.state?(kt.total_in=kt.total_out=0,kt.data_type=ct,(Lt=kt.state).pending=0,Lt.pending_out=0,Lt.wrap<0&&(Lt.wrap=-Lt.wrap),Lt.status=Lt.wrap?Pt:Wt,kt.adler=Lt.wrap===2?0:1,Lt.last_flush=it,J._tr_init(Lt),ft):de(kt,gt)}function sn(kt){var Lt=Qe(kt);return Lt===ft&&(function(yt){yt.window_size=2*yt.w_size,xe(yt.head),yt.max_lazy_match=Q[yt.level].max_lazy,yt.good_match=Q[yt.level].good_length,yt.nice_match=Q[yt.level].nice_length,yt.max_chain_length=Q[yt.level].max_chain,yt.strstart=0,yt.block_start=0,yt.lookahead=0,yt.insert=0,yt.match_length=yt.prev_length=Ft-1,yt.match_available=0,yt.ins_h=0})(kt.state),Lt}function on(kt,Lt,yt,ut,Tt,Rt){if(!kt)return gt;var Zt=1;if(Lt===pt&&(Lt=6),ut<0?(Zt=0,ut=-ut):15<ut&&(Zt=2,ut-=16),Tt<1||bt<Tt||yt!==dt||ut<8||15<ut||Lt<0||9<Lt||Rt<0||vt<Rt)return de(kt,gt);ut===8&&(ut=9);var ie=new Ke;return(kt.state=ie).strm=kt,ie.wrap=Zt,ie.gzhead=null,ie.w_bits=ut,ie.w_size=1<<ie.w_bits,ie.w_mask=ie.w_size-1,ie.hash_bits=Tt+7,ie.hash_size=1<<ie.hash_bits,ie.hash_mask=ie.hash_size-1,ie.hash_shift=~~((ie.hash_bits+Ft-1)/Ft),ie.window=new rt.Buf8(2*ie.w_size),ie.head=new rt.Buf16(ie.hash_size),ie.prev=new rt.Buf16(ie.w_size),ie.lit_bufsize=1<<Tt+6,ie.pending_buf_size=4*ie.lit_bufsize,ie.pending_buf=new rt.Buf8(ie.pending_buf_size),ie.d_buf=1*ie.lit_bufsize,ie.l_buf=3*ie.lit_bufsize,ie.level=Lt,ie.strategy=Rt,ie.method=yt,sn(kt)}Q=[new Ne(0,0,0,0,function(kt,Lt){var yt=65535;for(yt>kt.pending_buf_size-5&&(yt=kt.pending_buf_size-5);;){if(kt.lookahead<=1){if(Ue(kt),kt.lookahead===0&&Lt===it)return At;if(kt.lookahead===0)break}
vendor: 31,055 bytes, line 44
44kt.strstart+=kt.lookahead,kt.lookahead=0;var ut=kt.block_start+yt;if((kt.strstart===0||kt.strstart>=ut)&&(kt.lookahead=kt.strstart-ut,kt.strstart=ut,Xt(kt,!1),kt.strm.avail_out===0)||kt.strstart-kt.block_start>=kt.w_size-Ht&&(Xt(kt,!1),kt.strm.avail_out===0))return At}return kt.insert=0,Lt===ot?(Xt(kt,!0),kt.strm.avail_out===0?Qt:se):(kt.strstart>kt.block_start&&(Xt(kt,!1),kt.strm.avail_out),At)}),new Ne(4,4,8,4,Oe),new Ne(4,5,16,8,Oe),new Ne(4,6,32,32,Oe),new Ne(4,4,16,16,ze),new Ne(8,16,32,32,ze),new Ne(8,16,128,128,ze),new Ne(8,32,128,256,ze),new Ne(32,128,258,1024,ze),new Ne(32,258,258,4096,ze)],W.deflateInit=function(kt,Lt){return on(kt,Lt,dt,15,8,0)},W.deflateInit2=on,W.deflateReset=sn,W.deflateResetKeep=Qe,W.deflateSetHeader=function(kt,Lt){return kt&&kt.state?kt.state.wrap!==2?gt:(kt.state.gzhead=Lt,ft):gt},W.deflate=function(kt,Lt){var yt,ut,Tt,Rt;if(!kt||!kt.state||5<Lt||Lt<0)return kt?de(kt,gt):gt;if(ut=kt.state,!kt.output||!kt.input&&kt.avail_in!==0||ut.status===666&&Lt!==ot)return de(kt,kt.avail_out===0?-5:gt);if(ut.strm=kt,yt=ut.last_flush,ut.last_flush=Lt,ut.status===Pt)if(ut.wrap===2)kt.adler=0,Se(ut,31),Se(ut,139),Se(ut,8),ut.gzhead?(Se(ut,(ut.gzhead.text?1:0)+(ut.gzhead.hcrc?2:0)+(ut.gzhead.extra?4:0)+(ut.gzhead.name?8:0)+(ut.gzhead.comment?16:0)),Se(ut,255&ut.gzhead.time),Se(ut,ut.gzhead.time>>8&255),Se(ut,ut.gzhead.time>>16&255),Se(ut,ut.gzhead.time>>24&255),Se(ut,ut.level===9?2:2<=ut.strategy||ut.level<2?4:0),Se(ut,255&ut.gzhead.os),ut.gzhead.extra&&ut.gzhead.extra.length&&(Se(ut,255&ut.gzhead.extra.length),Se(ut,ut.gzhead.extra.length>>8&255)),ut.gzhead.hcrc&&(kt.adler=at(kt.adler,ut.pending_buf,ut.pending,0)),ut.gzindex=0,ut.status=69):(Se(ut,0),Se(ut,0),Se(ut,0),Se(ut,0),Se(ut,0),Se(ut,ut.level===9?2:2<=ut.strategy||ut.level<2?4:0),Se(ut,3),ut.status=Wt);else{var Zt=dt+(ut.w_bits-8<<4)<<8;Zt|=(2<=ut.strategy||ut.level<2?0:ut.level<6?1:ut.level===6?2:3)<<6,ut.strstart!==0&&(Zt|=32),Zt+=31-Zt%31,ut.status=Wt,_e(ut,Zt),ut.strstart!==0&&(_e(ut,kt.adler>>>16),_e(ut,65535&kt.adler)),kt.adler=1}if(ut.status===69)if(ut.gzhead.extra){for(Tt=ut.pending;ut.gzindex<(65535&ut.gzhead.extra.length)&&(ut.pending!==ut.pending_buf_size||(ut.gzhead.hcrc&&ut.pending>Tt&&(kt.adler=at(kt.adler,ut.pending_buf,ut.pending-Tt,Tt)),re(kt),Tt=ut.pending,ut.pending!==ut.pending_buf_size));)Se(ut,255&ut.gzhead.extra[ut.gzindex]),ut.gzindex++;ut.gzhead.hcrc&&ut.pending>Tt&&(kt.adler=at(kt.adler,ut.pending_buf,ut.pending-Tt,Tt)),ut.gzindex===ut.gzhead.extra.length&&(ut.gzindex=0,ut.status=73)}else ut.status=73;if(ut.status===73)if(ut.gzhead.name){Tt=ut.pending;do{if(ut.pending===ut.pending_buf_size&&(ut.gzhead.hcrc&&ut.pending>Tt&&(kt.adler=at(kt.adler,ut.pending_buf,ut.pending-Tt,Tt)),re(kt),Tt=ut.pending,ut.pending===ut.pending_buf_size)){Rt=1;break}Rt=ut.gzindex<ut.gzhead.name.length?255&ut.gzhead.name.charCodeAt(ut.gzindex++):0,Se(ut,Rt)}while(Rt!==0);ut.gzhead.hcrc&&ut.pending>Tt&&(kt.adler=at(kt.adler,ut.pending_buf,ut.pending-Tt,Tt)),Rt===0&&(ut.gzindex=0,ut.status=91)}else ut.status=91;if(ut.status===91)if(ut.gzhead.comment){Tt=ut.pending;do{if(ut.pending===ut.pending_buf_size&&(ut.gzhead.hcrc&&ut.pending>Tt&&(kt.adler=at(kt.adler,ut.pending_buf,ut.pending-Tt,Tt)),re(kt),Tt=ut.pending,ut.pending===ut.pending_buf_size)){Rt=1;break}Rt=ut.gzindex<ut.gzhead.comment.length?255&ut.gzhead.comment.charCodeAt(ut.gzindex++):0,Se(ut,Rt)}while(Rt!==0);ut.gzhead.hcrc&&ut.pending>Tt&&(kt.adler=at(kt.adler,ut.pending_buf,ut.pending-Tt,Tt)),Rt===0&&(ut.status=103)}else ut.status=103;if(ut.status===103&&(ut.gzhead.hcrc?(ut.pending+2>ut.pending_buf_size&&re(kt),ut.pending+2<=ut.pending_buf_size&&(Se(ut,255&kt.adler),Se(ut,kt.adler>>8&255),kt.adler=0,ut.status=Wt)):ut.status=Wt),ut.pending!==0){if(re(kt),kt.avail_out===0)return ut.last_flush=-1,ft}else if(kt.avail_in===0&&oe(Lt)<=oe(yt)&&Lt!==ot)return de(kt,-5);if(ut.status===666&&kt.avail_in!==0)return de(kt,-5);if(kt.avail_in!==0||ut.lookahead!==0||Lt!==it&&ut.status!==666){var ie=ut.strategy===2?(function(le,be){for(var De;;){if(le.lookahead===0&&(Ue(le),le.lookahead===0)){if(be===it)return At;break}if(le.match_length=0,De=J._tr_tally(le,0,le.window[le.strstart]),le.lookahead--,le.strstart++,De&&(Xt(le,!1),le.strm.avail_out===0))return At}return le.insert=0,be===ot?(Xt(le,!0),le.strm.avail_out===0?Qt:se):le.last_lit&&(Xt(le,!1),le.strm.avail_out===0)?At:ue})(ut,Lt):ut.strategy===3?(function(le,be){for(var De,Ae,Fe,hn,tn=le.window;;){if(le.lookahead<=jt){if(Ue(le),le.lookahead<=jt&&be===it)return At;if(le.lookahead===0)break}if(le.match_length=0,le.lookahead>=Ft&&0<le.strstart&&(Ae=tn[Fe=le.strstart-1])===tn[++Fe]&&Ae===tn[++Fe]&&Ae===tn[++Fe]){hn=le.strstart+jt;do;while(Ae===tn[++Fe]&&Ae===tn[++Fe]&&Ae===tn[++Fe]&&Ae===tn[++Fe]&&Ae===tn[++Fe]&&Ae===tn[++Fe]&&Ae===tn[++Fe]&&Ae===tn[++Fe]&&Fe<hn);le.match_length=jt-(hn-Fe),le.match_length>le.lookahead&&(le.match_length=le.lookahead)}if(le.match_length>=Ft?(De=J._tr_tally(le,1,le.match_length-Ft),le.lookahead-=le.match_length,le.strstart+=le.match_length,le.match_length=0):(De=J._tr_tally(le,0,le.window[le.strstart]),le.lookahead--,le.strstart++),De&&(Xt(le,!1),le.strm.avail_out===0))return At}return le.insert=0,be===ot?(Xt(le,!0),le.strm.avail_out===0?Qt:se):le.last_lit&&(Xt(le,!1),le.strm.avail_out===0)?At:ue})(ut,Lt):Q[ut.level].func(ut,Lt);if(ie!==Qt&&ie!==se||(ut.status=666),ie===At||ie===Qt)return kt.avail_out===0&&(ut.last_flush=-1),ft;if(ie===ue&&(Lt===1?J._tr_align(ut):Lt!==5&&(J._tr_stored_block(ut,0,0,!1),Lt===3&&(xe(ut.head),ut.lookahead===0&&(ut.strstart=0,ut.block_start=0,ut.insert=0))),re(kt),kt.avail_out===0))return ut.last_flush=-1,ft}return Lt!==ot?ft:ut.wrap<=0?1:(ut.wrap===2?(Se(ut,255&kt.adler),Se(ut,kt.adler>>8&255),Se(ut,kt.adler>>16&255),Se(ut,kt.adler>>24&255),Se(ut,255&kt.total_in),Se(ut,kt.total_in>>8&255),Se(ut,kt.total_in>>16&255),Se(ut,kt.total_in>>24&255)):(_e(ut,kt.adler>>>16),_e(ut,65535&kt.adler)),re(kt),0<ut.wrap&&(ut.wrap=-ut.wrap),ut.pending!==0?ft:1)},W.deflateEnd=function(kt){var Lt;return kt&&kt.state?(Lt=kt.state.status)!==Pt&&Lt!==69&&Lt!==73&&Lt!==91&&Lt!==103&&Lt!==Wt&&Lt!==666?de(kt,gt):(kt.state=null,Lt===Wt?de(kt,-3):ft):gt},W.deflateSetDictionary=function(kt,Lt){var yt,ut,Tt,Rt,Zt,ie,le,be,De=Lt.length;if(!kt||!kt.state||(Rt=(yt=kt.state).wrap)===2||Rt===1&&yt.status!==Pt||yt.lookahead)return gt;for(Rt===1&&(kt.adler=tt(kt.adler,Lt,De,0)),yt.wrap=0,De>=yt.w_size&&(Rt===0&&(xe(yt.head),yt.strstart=0,yt.block_start=0,yt.insert=0),be=new rt.Buf8(yt.w_size),rt.arraySet(be,Lt,De-yt.w_size,yt.w_size,0),Lt=be,De=yt.w_size),Zt=kt.avail_in,ie=kt.next_in,le=kt.input,kt.avail_in=De,kt.next_in=0,kt.input=Lt,Ue(yt);yt.lookahead>=Ft;){for(ut=yt.strstart,Tt=yt.lookahead-(Ft-1);yt.ins_h=(yt.ins_h<<yt.hash_shift^yt.window[ut+Ft-1])&yt.hash_mask,yt.prev[ut&yt.w_mask]=yt.head[yt.ins_h],yt.head[yt.ins_h]=ut,ut++,--Tt;);yt.strstart=ut,yt.lookahead=Ft-1,Ue(yt)}return yt.strstart+=yt.lookahead,yt.block_start=yt.strstart,yt.insert=yt.lookahead,yt.lookahead=0,yt.match_length=yt.prev_length=Ft-1,yt.match_available=0,kt.next_in=ie,kt.input=le,kt.avail_in=Zt,yt.wrap=Rt,ft},W.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(q,nt,W){"use strict";nt.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(q,nt,W){"use strict";nt.exports=function(Q,rt){var J,tt,at,Y,it,ot,ft,gt,pt,vt,ct,dt,bt,wt,St,_t,xt,Dt,Ft,jt,Ht,Pt,Wt,At,ue;J=Q.state,tt=Q.next_in,At=Q.input,at=tt+(Q.avail_in-5),Y=Q.next_out,ue=Q.output,it=Y-(rt-Q.avail_out),ot=Y+(Q.avail_out-257),ft=J.dmax,gt=J.wsize,pt=J.whave,vt=J.wnext,ct=J.window,dt=J.hold,bt=J.bits,wt=J.lencode,St=J.distcode,_t=(1<<J.lenbits)-1,xt=(1<<J.distbits)-1;t:do{bt<15&&(dt+=At[tt++]<<bt,bt+=8,dt+=At[tt++]<<bt,bt+=8),Dt=wt[dt&_t];e:for(;;){if(dt>>>=Ft=Dt>>>24,bt-=Ft,(Ft=Dt>>>16&255)===0)ue[Y++]=65535&Dt;else{if(!(16&Ft)){if((64&Ft)==0){Dt=wt[(65535&Dt)+(dt&(1<<Ft)-1)];continue e}if(32&Ft){J.mode=12;break t}Q.msg="invalid literal/length code",J.mode=30;break t}jt=65535&Dt,(Ft&=15)&&(bt<Ft&&(dt+=At[tt++]<<bt,bt+=8),jt+=dt&(1<<Ft)-1,dt>>>=Ft,bt-=Ft),bt<15&&(dt+=At[tt++]<<bt,bt+=8,dt+=At[tt++]<<bt,bt+=8),Dt=St[dt&xt];n:for(;;){if(dt>>>=Ft=Dt>>>24,bt-=Ft,!(16&(Ft=Dt>>>16&255))){if((64&Ft)==0){Dt=St[(65535&Dt)+(dt&(1<<Ft)-1)];continue n}Q.msg="invalid distance code",J.mode=30;break t}if(Ht=65535&Dt,bt<(Ft&=15)&&(dt+=At[tt++]<<bt,(bt+=8)<Ft&&(dt+=At[tt++]<<bt,bt+=8)),ft<(Ht+=dt&(1<<Ft)-1)){Q.msg="invalid distance too far back",J.mode=30;break t}if(dt>>>=Ft,bt-=Ft,(Ft=Y-it)<Ht){if(pt<(Ft=Ht-Ft)&&J.sane){Q.msg="invalid distance too far back",J.mode=30;break t}if(Wt=ct,(Pt=0)===vt){if(Pt+=gt-Ft,Ft<jt){for(jt-=Ft;ue[Y++]=ct[Pt++],--Ft;);Pt=Y-Ht,Wt=ue}}else if(vt<Ft){if(Pt+=gt+vt-Ft,(Ft-=vt)<jt){for(jt-=Ft;ue[Y++]=ct[Pt++],--Ft;);if(Pt=0,vt<jt){for(jt-=Ft=vt;ue[Y++]=ct[Pt++],--Ft;);Pt=Y-Ht,Wt=ue}}}else if(Pt+=vt-Ft,Ft<jt){for(jt-=Ft;ue[Y++]=ct[Pt++],--Ft;);Pt=Y-Ht,Wt=ue}for(;2<jt;)ue[Y++]=Wt[Pt++],ue[Y++]=Wt[Pt++],ue[Y++]=Wt[Pt++],jt-=3;jt&&(ue[Y++]=Wt[Pt++],1<jt&&(ue[Y++]=Wt[Pt++]))}else{for(Pt=Y-Ht;ue[Y++]=ue[Pt++],ue[Y++]=ue[Pt++],ue[Y++]=ue[Pt++],2<(jt-=3););jt&&(ue[Y++]=ue[Pt++],1<jt&&(ue[Y++]=ue[Pt++]))}break}}break}}while(tt<at&&Y<ot);tt-=jt=bt>>3,dt&=(1<<(bt-=jt<<3))-1,Q.next_in=tt,Q.next_out=Y,Q.avail_in=tt<at?at-tt+5:5-(tt-at),Q.avail_out=Y<ot?ot-Y+257:257-(Y-ot),J.hold=dt,J.bits=bt}},{}],49:[function(q,nt,W){"use strict";var Q=q("../utils/common"),rt=q("./adler32"),J=q("./crc32"),tt=q("./inffast"),at=q("./inftrees"),Y=1,it=2,ot=0,ft=-2,gt=1,pt=852,vt=592;function ct(Pt){return(Pt>>>24&255)+(Pt>>>8&65280)+((65280&Pt)<<8)+((255&Pt)<<24)}function dt(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Q.Buf16(320),this.work=new Q.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function bt(Pt){var Wt;return Pt&&Pt.state?(Wt=Pt.state,Pt.total_in=Pt.total_out=Wt.total=0,Pt.msg="",Wt.wrap&&(Pt.adler=1&Wt.wrap),Wt.mode=gt,Wt.last=0,Wt.havedict=0,Wt.dmax=32768,Wt.head=null,Wt.hold=0,Wt.bits=0,Wt.lencode=Wt.lendyn=new Q.Buf32(pt),Wt.distcode=Wt.distdyn=new Q.Buf32(vt),Wt.sane=1,Wt.back=-1,ot):ft}function wt(Pt){var Wt;return Pt&&Pt.state?((Wt=Pt.state).wsize=0,Wt.whave=0,Wt.wnext=0,bt(Pt)):ft}function St(Pt,Wt){var At,ue;return Pt&&Pt.state?(ue=Pt.state,Wt<0?(At=0,Wt=-Wt):(At=1+(Wt>>4),Wt<48&&(Wt&=15)),Wt&&(Wt<8||15<Wt)?ft:(ue.window!==null&&ue.wbits!==Wt&&(ue.window=null),ue.wrap=At,ue.wbits=Wt,wt(Pt))):ft}function _t(Pt,Wt){var At,ue;return Pt?(ue=new dt,(Pt.state=ue).window=null,(At=St(Pt,Wt))!==ot&&(Pt.state=null),At):ft}var xt,Dt,Ft=!0;function jt(Pt){if(Ft){var Wt;for(xt=new Q.Buf32(512),Dt=new Q.Buf32(32),Wt=0;Wt<144;)Pt.lens[Wt++]=8;for(;Wt<256;)Pt.lens[Wt++]=9;for(;Wt<280;)Pt.lens[Wt++]=7;for(;Wt<288;)Pt.lens[Wt++]=8;for(at(Y,Pt.lens,0,288,xt,0,Pt.work,{bits:9}),Wt=0;Wt<32;)Pt.lens[Wt++]=5;at(it,Pt.lens,0,32,Dt,0,Pt.work,{bits:5}),Ft=!1}Pt.lencode=xt,Pt.lenbits=9,Pt.distcode=Dt,Pt.distbits=5}function Ht(Pt,Wt,At,ue){var Qt,se=Pt.state;return se.window===null&&(se.wsize=1<<se.wbits,se.wnext=0,se.whave=0,se.window=new Q.Buf8(se.wsize)),ue>=se.wsize?(Q.arraySet(se.window,Wt,At-se.wsize,se.wsize,0),se.wnext=0,se.whave=se.wsize):(ue<(Qt=se.wsize-se.wnext)&&(Qt=ue),Q.arraySet(se.window,Wt,At-ue,Qt,se.wnext),(ue-=Qt)?(Q.arraySet(se.window,Wt,At-ue,ue,0),se.wnext=ue,se.whave=se.wsize):(se.wnext+=Qt,se.wnext===se.wsize&&(se.wnext=0),se.whave<se.wsize&&(se.whave+=Qt))),0}W.inflateReset=wt,W.inflateReset2=St,W.inflateResetKeep=bt,W.inflateInit=function(Pt){return _t(Pt,15)},W.inflateInit2=_t,W.inflate=function(Pt,Wt){var At,ue,Qt,se,de,oe,xe,re,Xt,Se,_e,Ee,Ue,Oe,ze,Ne,Ke,Qe,sn,on,kt,Lt,yt,ut,Tt=0,Rt=new Q.Buf8(4),Zt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Pt||!Pt.state||!Pt.output||!Pt.input&&Pt.avail_in!==0)return ft;(At=Pt.state).mode===12&&(At.mode=13),de=Pt.next_out,Qt=Pt.output,xe=Pt.avail_out,se=Pt.next_in,ue=Pt.input,oe=Pt.avail_in,re=At.hold,Xt=At.bits,Se=oe,_e=xe,Lt=ot;t:for(;;)switch(At.mode){case gt:if(At.wrap===0){At.mode=13;break}for(;Xt<16;){if(oe===0)break t;oe--,re+=ue[se++]<<Xt,Xt+=8}if(2&At.wrap&&re===35615){Rt[At.check=0]=255&re,Rt[1]=re>>>8&255,At.check=J(At.check,Rt,2,0),Xt=re=0,At.mode=2;break}if(At.flags=0,At.head&&(At.head.done=!1),!(1&At.wrap)||(((255&re)<<8)+(re>>8))%31){Pt.msg="incorrect header check",At.mode=30;break}if((15&re)!=8){Pt.msg="unknown compression method",At.mode=30;break}if(Xt-=4,kt=8+(15&(re>>>=4)),At.wbits===0)At.wbits=kt;else if(kt>At.wbits){Pt.msg="invalid window size",At.mode=30;break}At.dmax=1<<kt,Pt.adler=At.check=1,At.mode=512&re?10:12,Xt=re=0;break;case 2:for(;Xt<16;){if(oe===0)break t;oe--,re+=ue[se++]<<Xt,Xt+=8}if(At.flags=re,(255&At.flags)!=8){Pt.msg="unknown compression method",At.mode=30;break}if(57344&At.flags){Pt.msg="unknown header flags set",At.mode=30;break}At.head&&(At.head.text=re>>8&1),512&At.flags&&(Rt[0]=255&re,Rt[1]=re>>>8&255,At.check=J(At.check,Rt,2,0)),Xt=re=0,At.mode=3;case 3:for(;Xt<32;){if(oe===0)break t;oe--,re+=ue[se++]<<Xt,Xt+=8}At.head&&(At.head.time=re),512&At.flags&&(Rt[0]=255&re,Rt[1]=re>>>8&255,Rt[2]=re>>>16&255,Rt[3]=re>>>24&255,At.check=J(At.check,Rt,4,0)),Xt=re=0,At.mode=4;case 4:for(;Xt<16;){if(oe===0)break t;oe--,re+=ue[se++]<<Xt,Xt+=8}At.head&&(At.head.xflags=255&re,At.head.os=re>>8),512&At.flags&&(Rt[0]=255&re,Rt[1]=re>>>8&255,At.check=J(At.check,Rt,2,0)),Xt=re=0,At.mode=5;case 5:if(1024&At.flags){for(;Xt<16;){if(oe===0)break t;oe--,re+=ue[se++]<<Xt,Xt+=8}At.length=re,At.head&&(At.head.extra_len=re),512&At.flags&&(Rt[0]=255&re,Rt[1]=re>>>8&255,At.check=J(At.check,Rt,2,0)),Xt=re=0}else At.head&&(At.head.extra=null);At.mode=6;case 6:if(1024&At.flags&&(oe<(Ee=At.length)&&(Ee=oe),Ee&&(At.head&&(kt=At.head.extra_len-At.length,At.head.extra||(At.head.extra=new Array(At.head.extra_len)),Q.arraySet(At.head.extra,ue,se,Ee,kt)),512&At.flags&&(At.check=J(At.check,ue,Ee,se)),oe-=Ee,se+=Ee,At.length-=Ee),At.length))break t;At.length=0,At.mode=7;case 7:if(2048&At.flags){if(oe===0)break t;for(Ee=0;kt=ue[se+Ee++],At.head&&kt&&At.length<65536&&(At.head.name+=String.fromCharCode(kt)),kt&&Ee<oe;);if(512&At.flags&&(At.check=J(At.check,ue,Ee,se)),oe-=Ee,se+=Ee,kt)break t}else At.head&&(At.head.name=null);At.length=0,At.mode=8;case 8:if(4096&At.flags){if(oe===0)break t;for(Ee=0;kt=ue[se+Ee++],At.head&&kt&&At.length<65536&&(At.head.comment+=String.fromCharCode(kt)),kt&&Ee<oe;);if(512&At.flags&&(At.check=J(At.check,ue,Ee,se)),oe-=Ee,se+=Ee,kt)break t}else At.head&&(At.head.comment=null);At.mode=9;case 9:if(512&At.flags){for(;Xt<16;){if(oe===0)break t;oe--,re+=ue[se++]<<Xt,Xt+=8}if(re!==(65535&At.check)){Pt.msg="header crc mismatch",At.mode=30;break}Xt=re=0}At.head&&(At.head.hcrc=At.flags>>9&1,At.head.done=!0),Pt.adler=At.check=0,At.mode=12;break;case 10:for(;Xt<32;){if(oe===0)break t;oe--,re+=ue[se++]<<Xt,Xt+=8}Pt.adler=At.check=ct(re),Xt=re=0,At.mode=11;case 11:if(At.havedict===0)return Pt.next_out=de,Pt.avail_out=xe,Pt.next_in=se,Pt.avail_in=oe,At.hold=re,At.bits=Xt,2;Pt.adler=At.check=1,At.mode=12;case 12:if(Wt===5||Wt===6)break t;case 13:if(At.last){re>>>=7&Xt,Xt-=7&Xt,At.mode=27;break}for(;Xt<3;){if(oe===0)break t;oe--,re+=ue[se++]<<Xt,Xt+=8}switch(At.last=1&re,Xt-=1,3&(re>>>=1)){case 0:At.mode=14;break;case 1:if(jt(At),At.mode=20,Wt!==6)break;re>>>=2,Xt-=2;break t;case 2:At.mode=17;break;case 3:Pt.msg="invalid block type",At.mode=30}re>>>=2,Xt-=2;break;case 14:for(re>>>=7&Xt,Xt-=7&Xt;Xt<32;){if(oe===0)break t;oe--,re+=ue[se++]<<Xt,Xt+=8}if((65535&re)!=(re>>>16^65535)){Pt.msg="invalid stored block lengths",At.mode=30;break}if(At.length=65535&re,Xt=re=0,At.mode=15,Wt===6)break t;case 15:At.mode=16;case 16:if(Ee=At.length){if(oe<Ee&&(Ee=oe),xe<Ee&&(Ee=xe),Ee===0)break t;Q.arraySet(Qt,ue,se,Ee,de),oe-=Ee,se+=Ee,xe-=Ee,de+=Ee,At.length-=Ee;break}At.mode=12;break;case 17:for(;Xt<14;){if(oe===0)break t;oe--,re+=ue[se++]<<Xt,Xt+=8}if(At.nlen=257+(31&re),re>>>=5,Xt-=5,At.ndist=1+(31&re),re>>>=5,Xt-=5,At.ncode=4+(15&re),re>>>=4,Xt-=4,286<At.nlen||30<At.ndist){Pt.msg="too many length or distance symbols",At.mode=30;break}At.have=0,At.mode=18;case 18:for(;At.have<At.ncode;){for(;Xt<3;){if(oe===0)break t;oe--,re+=ue[se++]<<Xt,Xt+=8}At.lens[Zt[At.have++]]=7&re,re>>>=3,Xt-=3}for(;At.have<19;)At.lens[Zt[At.have++]]=0;if(At.lencode=At.lendyn,At.lenbits=7,yt={bits:At.lenbits},Lt=at(0,At.lens,0,19,At.lencode,0,At.work,yt),At.lenbits=yt.bits,Lt){Pt.msg="invalid code lengths set",At.mode=30;break}At.have=0,At.mode=19;case 19:for(;At.have<At.nlen+At.ndist;){for(;Ne=(Tt=At.lencode[re&(1<<At.lenbits)-1])>>>16&255,Ke=65535&Tt,!((ze=Tt>>>24)<=Xt);){if(oe===0)break t;oe--,re+=ue[se++]<<Xt,Xt+=8}if(Ke<16)re>>>=ze,Xt-=ze,At.lens[At.have++]=Ke;else{if(Ke===16){for(ut=ze+2;Xt<ut;){if(oe===0)break t;oe--,re+=ue[se++]<<Xt,Xt+=8}if(re>>>=ze,Xt-=ze,At.have===0){Pt.msg="invalid bit length repeat",At.mode=30;break}kt=At.lens[At.have-1],Ee=3+(3&re),re>>>=2,Xt-=2}else if(Ke===17){for(ut=ze+3;Xt<ut;){if(oe===0)break t;oe--,re+=ue[se++]<<Xt,Xt+=8}Xt-=ze,kt=0,Ee=3+(7&(re>>>=ze)),re>>>=3,Xt-=3}else{for(ut=ze+7;Xt<ut;){if(oe===0)break t;oe--,re+=ue[se++]<<Xt,Xt+=8}Xt-=ze,kt=0,Ee=11+(127&(re>>>=ze)),re>>>=7,Xt-=7}if(At.have+Ee>At.nlen+At.ndist){Pt.msg="invalid bit length repeat",At.mode=30;break}for(;Ee--;)At.lens[At.have++]=kt}}if(At.mode===30)break;if(At.lens[256]===0){Pt.msg="invalid code -- missing end-of-block",At.mode=30;break}if(At.lenbits=9,yt={bits:At.lenbits},Lt=at(Y,At.lens,0,At.nlen,At.lencode,0,At.work,yt),At.lenbits=yt.bits,Lt){Pt.msg="invalid literal/lengths set",At.mode=30;break}if(At.distbits=6,At.distcode=At.distdyn,yt={bits:At.distbits},Lt=at(it,At.lens,At.nlen,At.ndist,At.distcode,0,At.work,yt),At.distbits=yt.bits,Lt){Pt.msg="invalid distances set",At.mode=30;break}if(At.mode=20,Wt===6)break t;case 20:At.mode=21;case 21:if(6<=oe&&258<=xe){Pt.next_out=de,Pt.avail_out=xe,Pt.next_in=se,Pt.avail_in=oe,At.hold=re,At.bits=Xt,tt(Pt,_e),de=Pt.next_out,Qt=Pt.output,xe=Pt.avail_out,se=Pt.next_in,ue=Pt.input,oe=Pt.avail_in,re=At.hold,Xt=At.bits,At.mode===12&&(At.back=-1);break}for(At.back=0;Ne=(Tt=At.lencode[re&(1<<At.lenbits)-1])>>>16&255,Ke=65535&Tt,!((ze=Tt>>>24)<=Xt);){if(oe===0)break t;oe--,re+=ue[se++]<<Xt,Xt+=8}if(Ne&&(240&Ne)==0){for(Qe=ze,sn=Ne,on=Ke;Ne=(Tt=At.lencode[on+((re&(1<<Qe+sn)-1)>>Qe)])>>>16&255,Ke=65535&Tt,!(Qe+(ze=Tt>>>24)<=Xt);){if(oe===0)break t;oe--,re+=ue[se++]<<Xt,Xt+=8}re>>>=Qe,Xt-=Qe,At.back+=Qe}if(re>>>=ze,Xt-=ze,At.back+=ze,At.length=Ke,Ne===0){At.mode=26;break}if(32&Ne){At.back=-1,At.mode=12;break}if(64&Ne){Pt.msg="invalid literal/length code",At.mode=30;break}At.extra=15&Ne,At.mode=22;case 22:if(At.extra){for(ut=At.extra;Xt<ut;){if(oe===0)break t;oe--,re+=ue[se++]<<Xt,Xt+=8}At.length+=re&(1<<At.extra)-1,re>>>=At.extra,Xt-=At.extra,At.back+=At.extra}At.was=At.length,At.mode=23;case 23:for(;Ne=(Tt=At.distcode[re&(1<<At.distbits)-1])>>>16&255,Ke=65535&Tt,!((ze=Tt>>>24)<=Xt);){if(oe===0)break t;oe--,re+=ue[se++]<<Xt,Xt+=8}if((240&Ne)==0){for(Qe=ze,sn=Ne,on=Ke;Ne=(Tt=At.distcode[on+((re&(1<<Qe+sn)-1)>>Qe)])>>>16&255,Ke=65535&Tt,!(Qe+(ze=Tt>>>24)<=Xt);){if(oe===0)break t;oe--,re+=ue[se++]<<Xt,Xt+=8}re>>>=Qe,Xt-=Qe,At.back+=Qe}if(re>>>=ze,Xt-=ze,At.back+=ze,64&Ne){Pt.msg="invalid distance code",At.mode=30;break}At.offset=Ke,At.extra=15&Ne,At.mode=24;case 24:if(At.extra){for(ut=At.extra;Xt<ut;){if(oe===0)break t;oe--,re+=ue[se++]<<Xt,Xt+=8}At.offset+=re&(1<<At.extra)-1,re>>>=At.extra,Xt-=At.extra,At.back+=At.extra}if(At.offset>At.dmax){Pt.msg="invalid distance too far back",At.mode=30;break}At.mode=25;case 25:if(xe===0)break t;if(Ee=_e-xe,At.offset>Ee){if((Ee=At.offset-Ee)>At.whave&&At.sane){Pt.msg="invalid distance too far back",At.mode=30;break}Ue=Ee>At.wnext?(Ee-=At.wnext,At.wsize-Ee):At.wnext-Ee,Ee>At.length&&(Ee=At.length),Oe=At.window}else Oe=Qt,Ue=de-At.offset,Ee=At.length;for(xe<Ee&&(Ee=xe),xe-=Ee,At.length-=Ee;Qt[de++]=Oe[Ue++],--Ee;);At.length===0&&(At.mode=21);break;case 26:if(xe===0)break t;Qt[de++]=At.length,xe--,At.mode=21;break;case 27:if(At.wrap){for(;Xt<32;){if(oe===0)break t;oe--,re|=ue[se++]<<Xt,Xt+=8}if(_e-=xe,Pt.total_out+=_e,At.total+=_e,_e&&(Pt.adler=At.check=At.flags?J(At.check,Qt,_e,de-_e):rt(At.check,Qt,_e,de-_e)),_e=xe,(At.flags?re:ct(re))!==At.check){Pt.msg="incorrect data check",At.mode=30;break}Xt=re=0}At.mode=28;case 28:if(At.wrap&&At.flags){for(;Xt<32;){if(oe===0)break t;oe--,re+=ue[se++]<<Xt,Xt+=8}if(re!==(4294967295&At.total)){Pt.msg="incorrect length check",At.mode=30;break}Xt=re=0}At.mode=29;case 29:Lt=1;break t;case 30:Lt=-3;break t;case 31:return-4;default:return ft}return Pt.next_out=de,Pt.avail_out=xe,Pt.next_in=se,Pt.avail_in=oe,At.hold=re,At.bits=Xt,(At.wsize||_e!==Pt.avail_out&&At.mode<30&&(At.mode<27||Wt!==4))&&Ht(Pt,Pt.output,Pt.next_out,_e-Pt.avail_out)?(At.mode=31,-4):(Se-=Pt.avail_in,_e-=Pt.avail_out,Pt.total_in+=Se,Pt.total_out+=_e,At.total+=_e,At.wrap&&_e&&(Pt.adler=At.check=At.flags?J(At.check,Qt,_e,Pt.next_out-_e):rt(At.check,Qt,_e,Pt.next_out-_e)),Pt.data_type=At.bits+(At.last?64:0)+(At.mode===12?128:0)+(At.mode===20||At.mode===15?256:0),(Se==0&&_e===0||Wt===4)&&Lt===ot&&(Lt=-5),Lt)},W.inflateEnd=function(Pt){if(!Pt||!Pt.state)return ft;var Wt=Pt.state;return Wt.window&&(Wt.window=null),Pt.state=null,ot},W.inflateGetHeader=function(Pt,Wt){var At;return Pt&&Pt.state?(2&(At=Pt.state).wrap)==0?ft:((At.head=Wt).done=!1,ot):ft},W.inflateSetDictionary=function(Pt,Wt){var At,ue=Wt.length;return Pt&&Pt.state?(At=Pt.state).wrap!==0&&At.mode!==11?ft:At.mode===11&&rt(1,Wt,ue,0)!==At.check?-3:Ht(Pt,Wt,ue,ue)?(At.mode=31,-4):(At.havedict=1,ot):ft},W.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(q,nt,W){"use strict";var Q=q("../utils/common"),rt=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],J=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],tt=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],at=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];nt.exports=function(Y,it,ot,ft,gt,pt,vt,ct){var dt,bt,wt,St,_t,xt,Dt,Ft,jt,Ht=ct.bits,Pt=0,Wt=0,At=0,ue=0,Qt=0,se=0,de=0,oe=0,xe=0,re=0,Xt=null,Se=0,_e=new Q.Buf16(16),Ee=new Q.Buf16(16),Ue=null,Oe=0;for(Pt=0;Pt<=15;Pt++)_e[Pt]=0;for(Wt=0;Wt<ft;Wt++)_e[it[ot+Wt]]++;for(Qt=Ht,ue=15;1<=ue&&_e[ue]===0;ue--);if(ue<Qt&&(Qt=ue),ue===0)return gt[pt++]=20971520,gt[pt++]=20971520,ct.bits=1,0;for(At=1;At<ue&&_e[At]===0;At++);for(Qt<At&&(Qt=At),Pt=oe=1;Pt<=15;Pt++)if(oe<<=1,(oe-=_e[Pt])<0)return-1;if(0<oe&&(Y===0||ue!==1))return-1;for(Ee[1]=0,Pt=1;Pt<15;Pt++)Ee[Pt+1]=Ee[Pt]+_e[Pt];for(Wt=0;Wt<ft;Wt++)it[ot+Wt]!==0&&(vt[Ee[it[ot+Wt]]++]=Wt);if(xt=Y===0?(Xt=Ue=vt,19):Y===1?(Xt=rt,Se-=257,Ue=J,Oe-=257,256):(Xt=tt,Ue=at,-1),Pt=At,_t=pt,de=Wt=re=0,wt=-1,St=(xe=1<<(se=Qt))-1,Y===1&&852<xe||Y===2&&592<xe)return 1;for(;;){for(Dt=Pt-de,jt=vt[Wt]<xt?(Ft=0,vt[Wt]):vt[Wt]>xt?(Ft=Ue[Oe+vt[Wt]],Xt[Se+vt[Wt]]):(Ft=96,0),dt=1<<Pt-de,At=bt=1<<se;gt[_t+(re>>de)+(bt-=dt)]=Dt<<24|Ft<<16|jt|0,bt!==0;);for(dt=1<<Pt-1;re&dt;)dt>>=1;if(dt!==0?(re&=dt-1,re+=dt):re=0,Wt++,--_e[Pt]==0){if(Pt===ue)break;Pt=it[ot+vt[Wt]]}if(Qt<Pt&&(re&St)!==wt){for(de===0&&(de=Qt),_t+=At,oe=1<<(se=Pt-de);se+de<ue&&!((oe-=_e[se+de])<=0);)se++,oe<<=1;if(xe+=1<<se,Y===1&&852<xe||Y===2&&592<xe)return 1;gt[wt=re&St]=Qt<<24|se<<16|_t-pt|0}}return re!==0&&(gt[_t+re]=Pt-de<<24|64<<16|0),ct.bits=Qt,0}},{"../utils/common":41}],51:[function(q,nt,W){"use strict";nt.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(q,nt,W){"use strict";var Q=q("../utils/common"),rt=0,J=1;function tt(Tt){for(var Rt=Tt.length;0<=--Rt;)Tt[Rt]=0}var at=0,Y=29,it=256,ot=it+1+Y,ft=30,gt=19,pt=2*ot+1,vt=15,ct=16,dt=7,bt=256,wt=16,St=17,_t=18,xt=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Dt=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Ft=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],jt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Ht=new Array(2*(ot+2));tt(Ht);var Pt=new Array(2*ft);tt(Pt);var Wt=new Array(512);tt(Wt);var At=new Array(256);tt(At);var ue=new Array(Y);tt(ue);var Qt,se,de,oe=new Array(ft);function xe(Tt,Rt,Zt,ie,le){this.static_tree=Tt,this.extra_bits=Rt,this.extra_base=Zt,this.elems=ie,this.max_length=le,this.has_stree=Tt&&Tt.length}function re(Tt,Rt){this.dyn_tree=Tt,this.max_code=0,this.stat_desc=Rt}function Xt(Tt){return Tt<256?Wt[Tt]:Wt[256+(Tt>>>7)]}function Se(Tt,Rt){Tt.pending_buf[Tt.pending++]=255&Rt,Tt.pending_buf[Tt.pending++]=Rt>>>8&255}function _e(Tt,Rt,Zt){Tt.bi_valid>ct-Zt?(Tt.bi_buf|=Rt<<Tt.bi_valid&65535,Se(Tt,Tt.bi_buf),Tt.bi_buf=Rt>>ct-Tt.bi_valid,Tt.bi_valid+=Zt-ct):(Tt.bi_buf|=Rt<<Tt.bi_valid&65535,Tt.bi_valid+=Zt)}function Ee(Tt,Rt,Zt){_e(Tt,Zt[2*Rt],Zt[2*Rt+1])}function Ue(Tt,Rt){for(var Zt=0;Zt|=1&Tt,Tt>>>=1,Zt<<=1,0<--Rt;);return Zt>>>1}function Oe(Tt,Rt,Zt){var ie,le,be=new Array(vt+1),De=0;for(ie=1;ie<=vt;ie++)be[ie]=De=De+Zt[ie-1]<<1;for(le=0;le<=Rt;le++){var Ae=Tt[2*le+1];Ae!==0&&(Tt[2*le]=Ue(be[Ae]++,Ae))}}function ze(Tt){var Rt;for(Rt=0;Rt<ot;Rt++)Tt.dyn_ltree[2*Rt]=0;for(Rt=0;Rt<ft;Rt++)Tt.dyn_dtree[2*Rt]=0;for(Rt=0;Rt<gt;Rt++)Tt.bl_tree[2*Rt]=0;Tt.dyn_ltree[2*bt]=1,Tt.opt_len=Tt.static_len=0,Tt.last_lit=Tt.matches=0}function Ne(Tt){8<Tt.bi_valid?Se(Tt,Tt.bi_buf):0<Tt.bi_valid&&(Tt.pending_buf[Tt.pending++]=Tt.bi_buf),Tt.bi_buf=0,Tt.bi_valid=0}function Ke(Tt,Rt,Zt,ie){var le=2*Rt,be=2*Zt;return Tt[le]<Tt[be]||Tt[le]===Tt[be]&&ie[Rt]<=ie[Zt]}function Qe(Tt,Rt,Zt){for(var ie=Tt.heap[Zt],le=Zt<<1;le<=Tt.heap_len&&(le<Tt.heap_len&&Ke(Rt,Tt.heap[le+1],Tt.heap[le],Tt.depth)&&le++,!Ke(Rt,ie,Tt.heap[le],Tt.depth));)Tt.heap[Zt]=Tt.heap[le],Zt=le,le<<=1;Tt.heap[Zt]=ie}function sn(Tt,Rt,Zt){var ie,le,be,De,Ae=0;if(Tt.last_lit!==0)for(;ie=Tt.pending_buf[Tt.d_buf+2*Ae]<<8|Tt.pending_buf[Tt.d_buf+2*Ae+1],le=Tt.pending_buf[Tt.l_buf+Ae],Ae++,ie===0?Ee(Tt,le,Rt):(Ee(Tt,(be=At[le])+it+1,Rt),(De=xt[be])!==0&&_e(Tt,le-=ue[be],De),Ee(Tt,be=Xt(--ie),Zt),(De=Dt[be])!==0&&_e(Tt,ie-=oe[be],De)),Ae<Tt.last_lit;);Ee(Tt,bt,Rt)}function on(Tt,Rt){var Zt,ie,le,be=Rt.dyn_tree,De=Rt.stat_desc.static_tree,Ae=Rt.stat_desc.has_stree,Fe=Rt.stat_desc.elems,hn=-1;for(Tt.heap_len=0,Tt.heap_max=pt,Zt=0;Zt<Fe;Zt++)be[2*Zt]!==0?(Tt.heap[++Tt.heap_len]=hn=Zt,Tt.depth[Zt]=0):be[2*Zt+1]=0;for(;Tt.heap_len<2;)be[2*(le=Tt.heap[++Tt.heap_len]=hn<2?++hn:0)]=1,Tt.depth[le]=0,Tt.opt_len--,Ae&&(Tt.static_len-=De[2*le+1]);for(Rt.max_code=hn,Zt=Tt.heap_len>>1;1<=Zt;Zt--)Qe(Tt,be,Zt);for(le=Fe;Zt=Tt.heap[1],Tt.heap[1]=Tt.heap[Tt.heap_len--],Qe(Tt,be,1),ie=Tt.heap[1],Tt.heap[--Tt.heap_max]=Zt,Tt.heap[--Tt.heap_max]=ie,be[2*le]=be[2*Zt]+be[2*ie],Tt.depth[le]=(Tt.depth[Zt]>=Tt.depth[ie]?Tt.depth[Zt]:Tt.depth[ie])+1,be[2*Zt+1]=be[2*ie+1]=le,Tt.heap[1]=le++,Qe(Tt,be,1),2<=Tt.heap_len;);Tt.heap[--Tt.heap_max]=Tt.heap[1],(function(tn,rn){var Cn,yn,On,mn,An,Pe,Te=rn.dyn_tree,Bt=rn.max_code,Gt=rn.stat_desc.static_tree,ee=rn.stat_desc.has_stree,Jt=rn.stat_desc.extra_bits,he=rn.stat_desc.extra_base,me=rn.stat_desc.max_length,we=0;for(mn=0;mn<=vt;mn++)tn.bl_count[mn]=0;for(Te[2*tn.heap[tn.heap_max]+1]=0,Cn=tn.heap_max+1;Cn<pt;Cn++)me<(mn=Te[2*Te[2*(yn=tn.heap[Cn])+1]+1]+1)&&(mn=me,we++),Te[2*yn+1]=mn,Bt<yn||(tn.bl_count[mn]++,An=0,he<=yn&&(An=Jt[yn-he]),Pe=Te[2*yn],tn.opt_len+=Pe*(mn+An),ee&&(tn.static_len+=Pe*(Gt[2*yn+1]+An)));if(we!==0){do{for(mn=me-1;tn.bl_count[mn]===0;)mn--;tn.bl_count[mn]--,tn.bl_count[mn+1]+=2,tn.bl_count[me]--,we-=2}while(0<we);for(mn=me;mn!==0;mn--)for(yn=tn.bl_count[mn];yn!==0;)Bt<(On=tn.heap[--Cn])||(Te[2*On+1]!==mn&&(tn.opt_len+=(mn-Te[2*On+1])*Te[2*On],Te[2*On+1]=mn),yn--)}})(Tt,Rt),Oe(be,hn,Tt.bl_count)}function kt(Tt,Rt,Zt){var ie,le,be=-1,De=Rt[1],Ae=0,Fe=7,hn=4;for(De===0&&(Fe=138,hn=3),Rt[2*(Zt+1)+1]=65535,ie=0;ie<=Zt;ie++)le=De,De=Rt[2*(ie+1)+1],++Ae<Fe&&le===De||(Ae<hn?Tt.bl_tree[2*le]+=Ae:le!==0?(le!==be&&Tt.bl_tree[2*le]++,Tt.bl_tree[2*wt]++):Ae<=10?Tt.bl_tree[2*St]++:Tt.bl_tree[2*_t]++,be=le,hn=(Ae=0)===De?(Fe=138,3):le===De?(Fe=6,3):(Fe=7,4))}function Lt(Tt,Rt,Zt){var ie,le,be=-1,De=Rt[1],Ae=0,Fe=7,hn=4;for(De===0&&(Fe=138,hn=3),ie=0;ie<=Zt;ie++)if(le=De,De=Rt[2*(ie+1)+1],!(++Ae<Fe&&le===De)){if(Ae<hn)for(;Ee(Tt,le,Tt.bl_tree),--Ae!=0;);else le!==0?(le!==be&&(Ee(Tt,le,Tt.bl_tree),Ae--),Ee(Tt,wt,Tt.bl_tree),_e(Tt,Ae-3,2)):Ae<=10?(Ee(Tt,St,Tt.bl_tree),_e(Tt,Ae-3,3)):(Ee(Tt,_t,Tt.bl_tree),_e(Tt,Ae-11,7));be=le,hn=(Ae=0)===De?(Fe=138,3):le===De?(Fe=6,3):(Fe=7,4)}}tt(oe);var yt=!1;function ut(Tt,Rt,Zt,ie){_e(Tt,(at<<1)+(ie?1:0),3),(function(le,be,De,Ae){Ne(le),Ae&&(Se(le,De),Se(le,~De)),Q.arraySet(le.pending_buf,le.window,be,De,le.pending),le.pending+=De})(Tt,Rt,Zt,!0)}W._tr_init=function(Tt){yt||((function(){var Rt,Zt,ie,le,be,De=new Array(vt+1);for(le=ie=0;le<Y-1;le++)for(ue[le]=ie,Rt=0;Rt<1<<xt[le];Rt++)At[ie++]=le;for(At[ie-1]=le,le=be=0;le<16;le++)for(oe[le]=be,Rt=0;Rt<1<<Dt[le];Rt++)Wt[be++]=le;for(be>>=7;le<ft;le++)for(oe[le]=be<<7,Rt=0;Rt<1<<Dt[le]-7;Rt++)Wt[256+be++]=le;for(Zt=0;Zt<=vt;Zt++)De[Zt]=0;for(Rt=0;Rt<=143;)Ht[2*Rt+1]=8,Rt++,De[8]++;for(;Rt<=255;)Ht[2*Rt+1]=9,Rt++,De[9]++;for(;Rt<=279;)Ht[2*Rt+1]=7,Rt++,De[7]++;for(;Rt<=287;)Ht[2*Rt+1]=8,Rt++,De[8]++;for(Oe(Ht,ot+1,De),Rt=0;Rt<ft;Rt++)Pt[2*Rt+1]=5,Pt[2*Rt]=Ue(Rt,5);Qt=new xe(Ht,xt,it+1,ot,vt),se=new xe(Pt,Dt,0,ft,vt),de=new xe(new Array(0),Ft,0,gt,dt)})(),yt=!0),Tt.l_desc=new re(Tt.dyn_ltree,Qt),Tt.d_desc=new re(Tt.dyn_dtree,se),Tt.bl_desc=new re(Tt.bl_tree,de),Tt.bi_buf=0,Tt.bi_valid=0,ze(Tt)},W._tr_stored_block=ut,W._tr_flush_block=function(Tt,Rt,Zt,ie){var le,be,De=0;0<Tt.level?(Tt.strm.data_type===2&&(Tt.strm.data_type=(function(Ae){var Fe,hn=4093624447;for(Fe=0;Fe<=31;Fe++,hn>>>=1)if(1&hn&&Ae.dyn_ltree[2*Fe]!==0)return rt;if(Ae.dyn_ltree[18]!==0||Ae.dyn_ltree[20]!==0||Ae.dyn_ltree[26]!==0)return J;for(Fe=32;Fe<it;Fe++)if(Ae.dyn_ltree[2*Fe]!==0)return J;return rt})(Tt)),on(Tt,Tt.l_desc),on(Tt,Tt.d_desc),De=(function(Ae){var Fe;for(kt(Ae,Ae.dyn_ltree,Ae.l_desc.max_code),kt(Ae,Ae.dyn_dtree,Ae.d_desc.max_code),on(Ae,Ae.bl_desc),Fe=gt-1;3<=Fe&&Ae.bl_tree[2*jt[Fe]+1]===0;Fe--);return Ae.opt_len+=3*(Fe+1)+5+5+4,Fe})(Tt),le=Tt.opt_len+3+7>>>3,(be=Tt.static_len+3+7>>>3)<=le&&(le=be)):le=be=Zt+5,Zt+4<=le&&Rt!==-1?ut(Tt,Rt,Zt,ie):Tt.strategy===4||be===le?(_e(Tt,2+(ie?1:0),3),sn(Tt,Ht,Pt)):(_e(Tt,4+(ie?1:0),3),(function(Ae,Fe,hn,tn){var rn;for(_e(Ae,Fe-257,5),_e(Ae,hn-1,5),_e(Ae,tn-4,4),rn=0;rn<tn;rn++)_e(Ae,Ae.bl_tree[2*jt[rn]+1],3);
44Lt(Ae,Ae.dyn_ltree,Fe-1),Lt(Ae,Ae.dyn_dtree,hn-1)})(Tt,Tt.l_desc.max_code+1,Tt.d_desc.max_code+1,De+1),sn(Tt,Tt.dyn_ltree,Tt.dyn_dtree)),ze(Tt),ie&&Ne(Tt)},W._tr_tally=function(Tt,Rt,Zt){return Tt.pending_buf[Tt.d_buf+2*Tt.last_lit]=Rt>>>8&255,Tt.pending_buf[Tt.d_buf+2*Tt.last_lit+1]=255&Rt,Tt.pending_buf[Tt.l_buf+Tt.last_lit]=255&Zt,Tt.last_lit++,Rt===0?Tt.dyn_ltree[2*Zt]++:(Tt.matches++,Rt--,Tt.dyn_ltree[2*(At[Zt]+it+1)]++,Tt.dyn_dtree[2*Xt(Rt)]++),Tt.last_lit===Tt.lit_bufsize-1},W._tr_align=function(Tt){_e(Tt,2,3),Ee(Tt,bt,Ht),(function(Rt){Rt.bi_valid===16?(Se(Rt,Rt.bi_buf),Rt.bi_buf=0,Rt.bi_valid=0):8<=Rt.bi_valid&&(Rt.pending_buf[Rt.pending++]=255&Rt.bi_buf,Rt.bi_buf>>=8,Rt.bi_valid-=8)})(Tt)}},{"../utils/common":41}],53:[function(q,nt,W){"use strict";nt.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(q,nt,W){(function(Q){(function(rt,J){"use strict";if(!rt.setImmediate){var tt,at,Y,it,ot=1,ft={},gt=!1,pt=rt.document,vt=Object.getPrototypeOf&&Object.getPrototypeOf(rt);vt=vt&&vt.setTimeout?vt:rt,tt={}.toString.call(rt.process)==="[object process]"?function(wt){K.nextTick(function(){dt(wt)})}:(function(){if(rt.postMessage&&!rt.importScripts){var wt=!0,St=rt.onmessage;return rt.onmessage=function(){wt=!1},rt.postMessage("","*"),rt.onmessage=St,wt}})()?(it="setImmediate$"+Math.random()+"$",rt.addEventListener?rt.addEventListener("message",bt,!1):rt.attachEvent("onmessage",bt),function(wt){rt.postMessage(it+wt,"*")}):rt.MessageChannel?((Y=new MessageChannel).port1.onmessage=function(wt){dt(wt.data)},function(wt){Y.port2.postMessage(wt)}):pt&&"onreadystatechange"in pt.createElement("script")?(at=pt.documentElement,function(wt){var St=pt.createElement("script");St.onreadystatechange=function(){dt(wt),St.onreadystatechange=null,at.removeChild(St),St=null},at.appendChild(St)}):function(wt){setTimeout(dt,0,wt)},vt.setImmediate=function(wt){typeof wt!="function"&&(wt=new Function(""+wt));for(var St=new Array(arguments.length-1),_t=0;_t<St.length;_t++)St[_t]=arguments[_t+1];var xt={callback:wt,args:St};return ft[ot]=xt,tt(ot),ot++},vt.clearImmediate=ct}function ct(wt){delete ft[wt]}function dt(wt){if(gt)setTimeout(dt,0,wt);else{var St=ft[wt];if(St){gt=!0;try{(function(_t){var xt=_t.callback,Dt=_t.args;switch(Dt.length){case 0:xt();break;case 1:xt(Dt[0]);break;case 2:xt(Dt[0],Dt[1]);break;case 3:xt(Dt[0],Dt[1],Dt[2]);break;default:xt.apply(J,Dt)}})(St)}finally{ct(wt),gt=!1}}}}function bt(wt){wt.source===rt&&typeof wt.data=="string"&&wt.data.indexOf(it)===0&&dt(+wt.data.slice(it.length))}})(typeof self=="undefined"?Q===void 0?this:Q:self)}).call(this,typeof U!="undefined"?U:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})}).call(this,F(37).Buffer,F(41).setImmediate,F(3),F(20))}),(function(D,O,F){"use strict";var B={};B._getBinaryFromXHR=function(X){return X.response||X.responseText};function G(){try{return new window.XMLHttpRequest}catch(X){}}function U(){try{return new window.ActiveXObject("Microsoft.XMLHTTP")}catch(X){}}var K=typeof window!="undefined"&&window.ActiveXObject?function(){return G()||U()}:G;B.getBinaryContent=function(X,q){var nt,W,Q,rt;q||(q={}),typeof q=="function"?(rt=q,q={}):typeof q.callback=="function"&&(rt=q.callback),!rt&&typeof Promise!="undefined"?nt=new Promise(function(tt,at){W=tt,Q=at}):(W=function(tt){rt(null,tt)},Q=function(tt){rt(tt,null)});try{var J=K();J.open("GET",X,!0),"responseType"in J&&(J.responseType="arraybuffer"),J.overrideMimeType&&J.overrideMimeType("text/plain; charset=x-user-defined"),J.onreadystatechange=function(tt){if(J.readyState===4)if(J.status===200||J.status===0)try{W(B._getBinaryFromXHR(J))}catch(at){Q(new Error(at))}else Q(new Error("Ajax error for "+X+" : "+this.status+" "+this.statusText))},q.progress&&(J.onprogress=function(tt){q.progress({path:X,originalEvent:tt,percent:tt.loaded/tt.total*100,loaded:tt.loaded,total:tt.total})}),J.send()}catch(tt){Q(new Error(tt),null)}return nt},D.exports=B}),(function(D,O,F){(function(B){var G,U,K;(function(X,q){U=[],G=q,K=typeof G=="function"?G.apply(O,U):G,K!==void 0&&(D.exports=K)})(this,function(){"use strict";function X(tt,at){return typeof at=="undefined"?at={autoBom:!1}:typeof at!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),at={autoBom:!at}),at.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(tt.type)?new Blob(["\uFEFF",tt],{type:tt.type}):tt}function q(tt,at,Y){var it=new XMLHttpRequest;it.open("GET",tt),it.responseType="blob",it.onload=function(){J(it.response,at,Y)},it.onerror=function(){console.error("could not download file")},it.send()}function nt(tt){var at=new XMLHttpRequest;
44at.open("HEAD",tt,!1);try{at.send()}catch(Y){}return 200<=at.status&&299>=at.status}function W(tt){try{tt.dispatchEvent(new MouseEvent("click"))}catch(Y){var at=document.createEvent("MouseEvents");at.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),tt.dispatchEvent(at)}}var Q=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof B=="object"&&B.global===B?B:void 0,rt=Q.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),J=Q.saveAs||(typeof window!="object"||window!==Q?function(){}:"download"in HTMLAnchorElement.prototype&&!rt?function(tt,at,Y){var it=Q.URL||Q.webkitURL,ot=document.createElement("a");at=at||tt.name||"download",ot.download=at,ot.rel="noopener",typeof tt=="string"?(ot.href=tt,ot.origin===location.origin?W(ot):nt(ot.href)?q(tt,at,Y):W(ot,ot.target="_blank")):(ot.href=it.createObjectURL(tt),setTimeout(function(){it.revokeObjectURL(ot.href)},4e4),setTimeout(function(){W(ot)},0))}:"msSaveOrOpenBlob"in navigator?function(tt,at,Y){if(at=at||tt.name||"download",typeof tt!="string")navigator.msSaveOrOpenBlob(X(tt,Y),at);else if(nt(tt))q(tt,at,Y);else{var it=document.createElement("a");it.href=tt,it.target="_blank",setTimeout(function(){W(it)})}}:function(tt,at,Y,it){if(it=it||open("","_blank"),it&&(it.document.title=it.document.body.innerText="downloading..."),typeof tt=="string")return q(tt,at,Y);var ot=tt.type==="application/octet-stream",ft=/constructor/i.test(Q.HTMLElement)||Q.safari,gt=/CriOS\/[\d]+/.test(navigator.userAgent);if((gt||ot&&ft||rt)&&typeof FileReader!="undefined"){var pt=new FileReader;pt.onloadend=function(){var dt=pt.result;dt=gt?dt:dt.replace(/^data:[^;]*;/,"data:attachment/file;"),it?it.location.href=dt:location=dt,it=null},pt.readAsDataURL(tt)}else{var vt=Q.URL||Q.webkitURL,ct=vt.createObjectURL(tt);it?it.location=ct:location.href=ct,it=null,setTimeout(function(){vt.revokeObjectURL(ct)},4e4)}});Q.saveAs=J.saveAs=J,D.exports=J})}).call(this,F(3))}),(function(D,O,F){F(26),F(9),F(13),F(15),F(18),F(11),F(12),F(4),F(17),F(10),F(16),F(14),D.exports=F(1)}),(function(D,O,F){"use strict";F.r(O);var B=F(27),G=F.n(B),U=F(29),K=F.n(U),X=F(30),q=F.n(X),nt=F(35),W=F.n(nt),Q=F(6),rt=F.n(Q),J=F(36),tt=F(1),at=F(4),Y=F(9),it=F(10),ot=F(16),ft=F(11),gt=F(17),pt=F(12),vt=F(18),ct=F(13),dt=F(14),bt=F(15);const wt=window.innerWidth;$(function(){rt.a.init(),Object(tt.backgroundImageLazyLoad)(),Object(tt.lazyloadiFrameElement)(),Object(tt.lazyloadVideoElement)(),Object(at.navigationFunctions)(at.navigation),Object(at.bodyOverlay)(),Object(at.toggleHeaderSearch)(),Object(Y.contactBar)(),Object(ot.initSwiper)(),Object(pt.default)(),Object(vt.default)(),Object(at.opacityOnScroll)(),Object(it.priorityTabs)(),Object(ft.initPostFilters)(),Object(ct.contactUs)(),Object(dt.default)(),Object(bt.initDericSearch)(),Object(tt.insPanelCollapse)(),Object(gt.initPartnerMap)()})}),(function(D,O,F){/*! 45 * Bootstrap collapse.js v5.3.8 (https://getbootstrap.com/) 46 * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 47 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 48 */(function(B,G){D.exports=G(F(7),F(2),F(5),F(0))})(this,(function(B,G,U,K){"use strict";const X="collapse",nt=".bs.collapse",W=".data-api",Q=`show${nt}`,rt=`shown${nt}`,J=`hide${nt}`,tt=`hidden${nt}`,at=`click${nt}${W}
48`,Y="show",it="collapse",ot="collapsing",ft="collapsed",gt=`:scope .${it} .${it}`,pt="collapse-horizontal",vt="width",ct="height",dt=".collapse.show, .collapse.collapsing",bt='[data-bs-toggle="collapse"]',wt={parent:null,toggle:!0},St={parent:"(null|element)",toggle:"boolean"};class _t extends B{constructor(Dt,Ft){super(Dt,Ft),this._isTransitioning=!1,this._triggerArray=[];const jt=U.find(bt);for(const Ht of jt){const Pt=U.getSelectorFromElement(Ht),Wt=U.find(Pt).filter(At=>At===this._element);Pt!==null&&Wt.length&&this._triggerArray.push(Ht)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return wt}static get DefaultType(){return St}static get NAME(){return X}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let Dt=[];if(this._config.parent&&(Dt=this._getFirstLevelChildren(dt).filter(At=>At!==this._element).map(At=>_t.getOrCreateInstance(At,{toggle:!1}))),Dt.length&&Dt[0]._isTransitioning||G.trigger(this._element,Q).defaultPrevented)return;for(const At of Dt)At.hide();const jt=this._getDimension();this._element.classList.remove(it),this._element.classList.add(ot),this._element.style[jt]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const Ht=()=>{this._isTransitioning=!1,this._element.classList.remove(ot),this._element.classList.add(it,Y),this._element.style[jt]="",G.trigger(this._element,rt)},Wt=`scroll${jt[0].toUpperCase()+jt.slice(1)}`;this._queueCallback(Ht,this._element,!0),this._element.style[jt]=`${this._element[Wt]}px`}hide(){if(this._isTransitioning||!this._isShown()||G.trigger(this._element,J).defaultPrevented)return;const Ft=this._getDimension();this._element.style[Ft]=`${this._element.getBoundingClientRect()[Ft]}px`,K.reflow(this._element),this._element.classList.add(ot),this._element.classList.remove(it,Y);for(const Ht of this._triggerArray){const Pt=U.getElementFromSelector(Ht);Pt&&!this._isShown(Pt)&&this._addAriaAndCollapsedClass([Ht],!1)}this._isTransitioning=!0;const jt=()=>{this._isTransitioning=!1,this._element.classList.remove(ot),this._element.classList.add(it),G.trigger(this._element,tt)};this._element.style[Ft]="",this._queueCallback(jt,this._element,!0)}_isShown(Dt=this._element){return Dt.classList.contains(Y)}_configAfterMerge(Dt){return Dt.toggle=!!Dt.toggle,Dt.parent=K.getElement(Dt.parent),Dt}_getDimension(){return this._element.classList.contains(pt)?vt:ct}_initializeChildren(){if(!this._config.parent)return;const Dt=this._getFirstLevelChildren(bt);for(const Ft of Dt){const jt=U.getElementFromSelector(Ft);jt&&this._addAriaAndCollapsedClass([Ft],this._isShown(jt))}}_getFirstLevelChildren(Dt){const Ft=U.find(gt,this._config.parent);return U.find(Dt,this._config.parent).filter(jt=>!Ft.includes(jt))}_addAriaAndCollapsedClass(Dt,Ft){if(Dt.length)for(const jt of Dt)jt.classList.toggle(ft,!Ft),jt.setAttribute("aria-expanded",Ft)}static jQueryInterface(Dt){const Ft={};return typeof Dt=="string"&&/show|hide/.test(Dt)&&(Ft.toggle=!1),this.each(function(){const jt=_t.getOrCreateInstance(this,Ft);if(typeof Dt=="string"){if(typeof jt[Dt]=="undefined")throw new TypeError(`No method named "${Dt}"`);jt[Dt]()}})}}return G.on(document,at,bt,function(xt){(xt.target.tagName==="A"||xt.delegateTarget&&xt.delegateTarget.tagName==="A")&&xt.preventDefault();for(const Dt of U.getMultipleElementsFromSelector(this))_t.getOrCreateInstance(Dt,{toggle:!1}).toggle()}),K.defineJQueryPlugin(_t),_t}))}),(function(D,O,F){/*! 49 * Bootstrap data.js v5.3.8 (https://getbootstrap.com/) 50 * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 51 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 52 */(function(B,G){D.exports=G()})(this,(function(){"use strict";const B=new Map;return{set(U,K,X){B.has(U)||B.set(U,new Map);const q=B.get(U);if(!q.has(K)&&q.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(q.keys())[0]}.`);return}q.set(K,X)},get(U,K){return B.has(U)&&B.get(U).get(K)||null},remove(U,K){if(!B.has(U))return;const X=B.get(U);X.delete(K),X.size===0&&B.delete(U)}}}))}),(function(D,O,F){/*! 53 * Bootstrap tab.js v5.3.8 (https://getbootstrap.com/) 54 * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 55 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 56 */(function(B,G){D.exports=G(F(7),F(2),F(5),F(0))})(this,(function(B,G,U,K){"use strict";const nt=".bs.tab",W=`hide${nt}`,Q=`hidden${nt}`,rt=`show${nt}`,J=`shown${nt}`,tt=`click${nt}`,at=`keydown${nt}`,Y=`load${nt}`,it="ArrowLeft",ot="ArrowRight",ft="ArrowUp",gt="ArrowDown",pt="Home",vt="End",ct="active",dt="fade",bt="show",wt="dropdown",St=".dropdown-toggle",_t=".dropdown-menu",xt=`:not(${St})`,Dt='.list-group, .nav, [role="tablist"]',Ft=".nav-item, .list-group-item",jt=`.nav-link${xt}, .list-group-item${xt}, [role="tab"]${xt}`,Ht='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Pt=`${jt}, ${Ht}`,Wt=`.${ct}[data-bs-toggle="tab"], .${ct}[data-bs-toggle="pill"], .${ct}[data-bs-toggle="list"]`;class At extends B{constructor(Qt){super(Qt),this._parent=this._element.closest(Dt),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),G.on(this._element,at,
vendor: 7,940 bytes, lines 56-60
56se=>this._keydown(se)))}static get NAME(){return"tab"}show(){const Qt=this._element;if(this._elemIsActive(Qt))return;const se=this._getActiveElem(),de=se?G.trigger(se,W,{relatedTarget:Qt}):null;G.trigger(Qt,rt,{relatedTarget:se}).defaultPrevented||de&&de.defaultPrevented||(this._deactivate(se,Qt),this._activate(Qt,se))}_activate(Qt,se){if(!Qt)return;Qt.classList.add(ct),this._activate(U.getElementFromSelector(Qt));const de=()=>{if(Qt.getAttribute("role")!=="tab"){Qt.classList.add(bt);return}Qt.removeAttribute("tabindex"),Qt.setAttribute("aria-selected",!0),this._toggleDropDown(Qt,!0),G.trigger(Qt,J,{relatedTarget:se})};this._queueCallback(de,Qt,Qt.classList.contains(dt))}_deactivate(Qt,se){if(!Qt)return;Qt.classList.remove(ct),Qt.blur(),this._deactivate(U.getElementFromSelector(Qt));const de=()=>{if(Qt.getAttribute("role")!=="tab"){Qt.classList.remove(bt);return}Qt.setAttribute("aria-selected",!1),Qt.setAttribute("tabindex","-1"),this._toggleDropDown(Qt,!1),G.trigger(Qt,Q,{relatedTarget:se})};this._queueCallback(de,Qt,Qt.classList.contains(dt))}_keydown(Qt){if(![it,ot,ft,gt,pt,vt].includes(Qt.key))return;Qt.stopPropagation(),Qt.preventDefault();const se=this._getChildren().filter(oe=>!K.isDisabled(oe));let de;if([pt,vt].includes(Qt.key))de=se[Qt.key===pt?0:se.length-1];else{const oe=[ot,gt].includes(Qt.key);de=K.getNextActiveElement(se,Qt.target,oe,!0)}de&&(de.focus({preventScroll:!0}),At.getOrCreateInstance(de).show())}_getChildren(){return U.find(Pt,this._parent)}_getActiveElem(){return this._getChildren().find(Qt=>this._elemIsActive(Qt))||null}_setInitialAttributes(Qt,se){this._setAttributeIfNotExists(Qt,"role","tablist");for(const de of se)this._setInitialAttributesOnChild(de)}_setInitialAttributesOnChild(Qt){Qt=this._getInnerElement(Qt);const se=this._elemIsActive(Qt),de=this._getOuterElement(Qt);Qt.setAttribute("aria-selected",se),de!==Qt&&this._setAttributeIfNotExists(de,"role","presentation"),se||Qt.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(Qt,"role","tab"),this._setInitialAttributesOnTargetPanel(Qt)}_setInitialAttributesOnTargetPanel(Qt){const se=U.getElementFromSelector(Qt);se&&(this._setAttributeIfNotExists(se,"role","tabpanel"),Qt.id&&this._setAttributeIfNotExists(se,"aria-labelledby",`${Qt.id}`))}_toggleDropDown(Qt,se){const de=this._getOuterElement(Qt);if(!de.classList.contains(wt))return;const oe=(xe,re)=>{const Xt=U.findOne(xe,de);Xt&&Xt.classList.toggle(re,se)};oe(St,ct),oe(_t,bt),de.setAttribute("aria-expanded",se)}_setAttributeIfNotExists(Qt,se,de){Qt.hasAttribute(se)||Qt.setAttribute(se,de)}_elemIsActive(Qt){return Qt.classList.contains(ct)}_getInnerElement(Qt){return Qt.matches(Pt)?Qt:U.findOne(Pt,Qt)}_getOuterElement(Qt){return Qt.closest(Ft)||Qt}static jQueryInterface(Qt){return this.each(function(){const se=At.getOrCreateInstance(this);if(typeof Qt=="string"){if(se[Qt]===void 0||Qt.startsWith("_")||Qt==="constructor")throw new TypeError(`No method named "${Qt}"`);se[Qt]()}})}}return G.on(document,tt,Ht,function(ue){["A","AREA"].includes(this.tagName)&&ue.preventDefault(),!K.isDisabled(this)&&At.getOrCreateInstance(this).show()}),G.on(window,Y,()=>{for(const ue of U.find(Wt))At.getOrCreateInstance(ue)}),K.defineJQueryPlugin(At),At}))}),(function(D,O,F){/*! 57 * Bootstrap modal.js v5.3.8 (https://getbootstrap.com/) 58 * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 59 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 60 */(function(B,G){D.exports=G(F(7),F(2),F(5),F(31),F(32),F(33),F(0),F(34))})(this,(function(B,G,U,K,X,q,nt,W){"use strict";const Q="modal",J=".bs.modal",tt=".data-api",at="Escape",Y=`hide${J}`,it=`hidePrevented${J}`,ot=`hidden${J}`,ft=`show${J}`,gt=`shown${J}`,pt=`resize${J}`,vt=`click.dismiss${J}`,ct=`mousedown.dismiss${J}`,dt=`keydown.dismiss${J}`,bt=`click${J}${tt}`,wt="modal-open",St="fade",_t="show",xt="modal-static",Dt=".modal.show",Ft=".modal-dialog",jt=".modal-body",Ht='[data-bs-toggle="modal"]',Pt={backdrop:!0,focus:!0,keyboard:!0},Wt={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class At extends B{constructor(Qt,se){super(Qt,se),this._dialog=U.findOne(Ft,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new W,this._addEventListeners()}static get Default(){return Pt}static get DefaultType(){return Wt}static get NAME(){return Q}toggle(Qt){return this._isShown?this.hide():this.show(Qt)}show(Qt){this._isShown||this._isTransitioning||G.trigger(this._element,ft,{relatedTarget:Qt}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(wt),this._adjustDialog(),this._backdrop.show(()=>this._showElement(Qt)))}hide(){!this._isShown||this._isTransitioning||G.trigger(this._element,Y).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(_t),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){G.off(window,J),G.off(this._dialog,J),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new K({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new q({trapElement:this._element})}_showElement(Qt){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const se=U.findOne(jt,this._dialog);se&&(se.scrollTop=0),nt.reflow(this._element),this._element.classList.add(_t);const de=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,G.trigger(this._element,gt,{relatedTarget:Qt})};this._queueCallback(de,this._dialog,this._isAnimated())}_addEventListeners(){G.on(this._element,dt,Qt=>{if(Qt.key===at){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),G.on(window,pt,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),G.on(this._element,ct,Qt=>{G.one(this._element,vt,se=>{if(!(this._element!==Qt.target||this._element!==se.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(wt),this._resetAdjustments(),this._scrollBar.reset(),G.trigger(this._element,ot)})}_isAnimated(){return this._element.classList.contains(St)}_triggerBackdropTransition(){if(G.trigger(this._element,it).defaultPrevented)return;const se=this._element.scrollHeight>document.documentElement.clientHeight,de=this._element.style.overflowY;de==="hidden"||this._element.classList.contains(xt)||(se||(this._element.style.overflowY="hidden"),this._element.classList.add(xt),this._queueCallback(()=>{this._element.classList.remove(xt),this._queueCallback(()=>{this._element.style.overflowY=de},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const Qt=this._element.scrollHeight>document.documentElement.clientHeight,se=this._scrollBar.getWidth(),de=se>0;if(de&&!Qt){const oe=nt.isRTL()?"paddingLeft":"paddingRight";this._element.style[oe]=`${se}px`}if(!de&&Qt){const oe=nt.isRTL()?"paddingRight":"paddingLeft";this._element.style[oe]=`${se}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(Qt,se){return this.each(function(){const de=At.getOrCreateInstance(this,Qt);if(typeof Qt=="string"){if(typeof de[Qt]=="undefined")throw new TypeError(`No method n
60amed "${Qt}"`);de[Qt](se)}})}}return G.on(document,bt,Ht,function(ue){const Qt=U.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&ue.preventDefault(),G.one(Qt,ft,oe=>{oe.defaultPrevented||G.one(Qt,ot,()=>{nt.isVisible(this)&&this.focus()})});const se=U.findOne(Dt);se&&At.getInstance(se).hide(),At.getOrCreateInstance(Qt).toggle(this)}),X.enableDismissTrigger(At),nt.defineJQueryPlugin(At),At}))}),(function(D,O,F){/*! 61 * Bootstrap backdrop.js v5.3.8 (https://getbootstrap.com/) 62 * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 63 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 64 */(function(B,G){D.exports=G(F(2),F(8),F(0))})(this,(function(B,G,U){"use strict";const K="backdrop",X="fade",q="show",nt=`mousedown.bs.${K}`,W={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Q={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class rt extends G{constructor(tt){super(),this._config=this._getConfig(tt),this._isAppended=!1,this._element=null}static get Default(){return W}static get DefaultType(){return Q}static get NAME(){return K}show(tt){if(!this._config.isVisible){U.execute(tt);return}this._append();const at=this._getElement();this._config.isAnimated&&U.reflow(at),at.classList.add(q),this._emulateAnimation(()=>{U.execute(tt)})}hide(tt){if(!this._config.isVisible){U.execute(tt);return}this._getElement().classList.remove(q),this._emulateAnimation(()=>{this.dispose(),U.execute(tt)})}dispose(){this._isAppended&&(B.off(this._element,nt),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const tt=document.createElement("div");tt.className=this._config.className,this._config.isAnimated&&tt.classList.add(X),this._element=tt}return this._element}_configAfterMerge(tt){return tt.rootElement=U.getElement(tt.rootElement),tt}_append(){if(this._isAppended)return;const tt=this._getElement();this._config.rootElement.append(tt),B.on(tt,nt,()=>{U.execute(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(tt){U.executeAfterTransition(tt,this._getElement(),this._config.isAnimated)}}return rt}))}),(function(D,O,F){/*! 65 * Bootstrap component-functions.js v5.3.8 (https://getbootstrap.com/) 66 * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 67 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 68 */(function(B,G){G(O,F(2),F(5),F(0))})(this,(function(B,G,U,K){"use strict";const X=(q,nt="hide")=>{const W=`click.dismiss${q.EVENT_KEY}`,Q=q.NAME;G.on(document,W,`[data-bs-dismiss="${Q}"]`,function(rt){if(["A","AREA"].includes(this.tagName)&&rt.preventDefault(),K.isDisabled(this))return;const J=U.getElementFromSelector(this)||this.closest(`.${Q}`);q.getOrCreateInstance(J)[nt]()})};B.enableDismissTrigger=X,Object.defineProperty(B,Symbol.toStringTag,{value:"Module"})}))}),(function(D,O,F){/*! 69 * Bootstrap focustrap.js v5.3.8 (https://getbootstrap.com/) 70 * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 71 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 72 */(function(B,G){D.exports=G(F(2),F(5),F(8))})(this,(function(B,G,U){"use strict";const K="focustrap",q=".bs.focustrap",nt=`focusin${q}`,W=`keydown.tab${q}`,Q="Tab",rt="forward",J="backward",tt={autofocus:!0,trapElement:null},at={autofocus:"boolean",trapElement:"element"};class Y extends U{constructor(ot){super(),this._config=this._getConfig(ot),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return tt}static get DefaultType(){return at}static get NAME(){return K}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),B.off(document,q),B.on(document,nt,ot=>this._handleFocusin(ot)),B.on(document,W,ot=>this._handleKeydown(ot)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,B.off(document,q))}_handleFocusin(ot){const{trapElement:ft}=this._config;if(ot.target===document||ot.target===ft||ft.contains(ot.target))return;const gt=G.focusableChildren(ft);gt.length===0?ft.focus():this._lastTabNavDirection===J?gt[gt.length-1].focus():gt[0].focus()}_handleKeydown(ot){ot.key===Q&&(this._lastTabNavDirection=ot.shiftKey?J:rt)}}return Y}))}),(function(D,O,F){/*!
73 * Bootstrap scrollbar.js v5.3.8 (https://getbootstrap.com/) 74 * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 75 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 76 */(function(B,G){D.exports=G(F(19),F(5),F(0))})(this,(function(B,G,U){"use strict";const K=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",X=".sticky-top",q="padding-right",nt="margin-right";class W{constructor(){this._element=document.body}getWidth(){const rt=document.documentElement.clientWidth;return Math.abs(window.innerWidth-rt)}hide(){const rt=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,q,J=>J+rt),this._setElementAttributes(K,q,J=>J+rt),this._setElementAttributes(X,nt,J=>J-rt)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,q),this._resetElementAttributes(K,q),this._resetElementAttributes(X,nt)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(rt,J,tt){const at=this.getWidth(),Y=it=>{if(it!==this._element&&window.innerWidth>it.clientWidth+at)return;this._saveInitialAttribute(it,J);const ot=window.getComputedStyle(it).getPropertyValue(J);it.style.setProperty(J,`${tt(Number.parseFloat(ot))}px`)};this._applyManipulationCallback(rt,Y)}_saveInitialAttribute(rt,J){const tt=rt.style.getPropertyValue(J);tt&&B.setDataAttribute(rt,J,tt)}_resetElementAttributes(rt,J){const tt=at=>{const Y=B.getDataAttribute(at,J);if(Y===null){at.style.removeProperty(J);return}B.removeDataAttribute(at,J),at.style.setProperty(J,Y)};this._applyManipulationCallback(rt,tt)}_applyManipulationCallback(rt,J){if(U.isElement(rt)){J(rt);return}for(const tt of G.find(rt,this._element))J(tt)}}return W}))}),(function(D,O,F){"use strict";var B,G,U;(function(K,X){if(typeof D.exports=="object"){if(!K.document)throw new Error("HC Off-canvas Nav requires a browser to run.");D.exports=X(K)}else G=[],B=X(K),U=typeof B=="function"?B.apply(O,G):B,U!==void 0&&(D.exports=U)})(typeof window!="undefined"?window:this,function(K){function X(tt,at){if(at=at||{},!(tt=typeof tt=="string"?tt.charAt(0)==="#"&&tt.indexOf(" ")===-1?W.querySelector(tt):W.querySelectorAll(tt):tt))return!1;var Y=X.Helpers;at.maxWidth!==void 0&&(Y.deprecated("maxWidth","disableAt","option"),at.disableAt=at.maxWidth);var it=Object.assign({},{width:280,height:"auto",disableAt:!1,pushContent:null,swipeGestures:!0,expanded:!1,position:"left",levelOpen:"overlap",levelSpacing:40,levelTitles:!0,closeOpenLevels:!0,closeActiveLevel:!1,navTitle:null,navClass:"",disableBody:!0,closeOnClick:!0,closeOnEsc:!0,customToggle:null,activeToggleClass:null,bodyInsert:"prepend",keepClasses:!0,removeOriginalNav:!1,rtl:!1,insertClose:!0,insertBack:!0,levelTitleAsBack:!0,labelClose:"",labelBack:"Back"},at);function ot(ct){if(gt.length){for(var dt=!1,bt=(ct=typeof ct=="string"?[ct]:ct).length,wt=0;wt<bt;wt++)gt.indexOf(ct[wt])!==-1&&(dt=!0);return dt}}function ft(ct){if(ct.querySelector("ul")||ct.tagName==="UL"){var dt="hc-nav-"+ ++rt,bt=Y.printStyle("hc-offcanvas-"+rt+"-style"),wt="keydown.hcOffcanvasNav",St=it.activeToggleClass||"toggle-open",_t=Y.createElement("nav",{id:dt}),xt=Y.createElement("div",{class:"nav-container"});_t.addEventListener("click",Y.stopPropagation),_t.appendChild(xt);var Dt,Ft,jt,Ht=null,Pt=null,Wt=null,At={},ue=!1,Qt=!1,se=null,de=0,oe=0,xe=0,re=null,Xt={},Se=[],_e=!1,Ee=[],Ue=null,Oe=null,ze=!1,Ne=!1;it.customToggle?Ht=Y.getElements(it.customToggle):(Ht=[Y.createElement("a",{href:"#"},Y.createElement("span"))],ct.insertAdjacentElement("afterend",Ht[0])),Ht&&Ht.length&&Ht.forEach(function(Pe){Pe.addEventListener("click",On(Pe)),Pe.classList.add("hc-nav-trigger",dt),Pe.setAttribute("role","button"),Pe.setAttribute("aria-label",(it.ariaLabels||{}).open),Pe.setAttribute("aria-controls",dt),Pe.setAttribute("aria-expanded",!1),Pe.addEventListener("keydown",function(Te){Te.key!=="Enter"&&Te.keyCode!==13||setTimeout(function(){Ke(0,0)},0)})});var Ke=function(Pe,Te,Bt){var Gt,ee,Jt,he;typeof Te!="number"||typeof Pe!="number"&&!Ee.length||(Gt=Array.prototype.filter.call(xt.querySelectorAll(".nav-wrapper"),function(me){return me.getAttribute("data-level")==Te&&(typeof Bt!="number"||typeof Bt=="number"&&me.getAttribute("data-index")==Bt)})[0],Gt=Y.children(Gt,".nav-content")[0],ee=Y.children(Gt,".nav-close, .nav-back"),Gt=Y.children(Gt,"ul"),Gt=Y.children(Gt,"li"),Gt
76=Y.children(Gt,":not(.nav-wrapper)"),Gt=[].concat(ee,Gt),Gt=Array.prototype.map.call(Gt,function(me){return Array.prototype.slice.call(me.querySelectorAll('[tabindex="0"], a[role="menuitem"], a[href], button, textarea, input[type="text"], input[type="radio"], input[type="checkbox"], select'))}).flat(),(Gt=Array.prototype.filter.call(Gt,function(me){return me.getAttribute("tabindex")!=="-1"}))&&(_t.classList.add("user-is-tabbing"),Jt=Gt[0],he=Gt[Gt.length-1],typeof Pe=="number"?Gt[Pe].focus():(Ee[Ee.length-1].focus(),Ee.pop()),W.removeEventListener(wt),W.addEventListener(wt,function(me){me.key!=="Tab"&&me.keyCode!==9||(me.shiftKey?W.activeElement===Jt&&(me.preventDefault(),he.focus()):W.activeElement===he&&(me.preventDefault(),Jt.focus()))})))},Qe=function(){W.removeEventListener(wt),Pt&&setTimeout(function(){Pt.focus()},Ft)},sn=function(){xt.style.transition="none",_t.style.display="block";var Pe=Y.formatSizeVal(oe=xt.offsetWidth),Te=Y.formatSizeVal(xe=xt.offsetHeight);bt.add(".hc-offcanvas-nav."+dt+".nav-position-left .nav-container","transform: translate3d(-"+Pe+", 0, 0)"),bt.add(".hc-offcanvas-nav."+dt+".nav-position-right .nav-container","transform: translate3d("+Pe+", 0, 0)"),bt.add(".hc-offcanvas-nav."+dt+".nav-position-top .nav-container","transform: translate3d(0, -"+Te+", 0)"),bt.add(".hc-offcanvas-nav."+dt+".nav-position-bottom .nav-container","transform: translate3d(0, "+Te+", 0)"),bt.insert(),_t.style.display="",xt.style.transition="",Dt=K.getComputedStyle(xt).transitionProperty,Ft=Y.toMs(K.getComputedStyle(xt).transitionDuration),jt=K.getComputedStyle(xt).transitionTimingFunction,it.pushContent&&Wt&&Dt&&bt.add(Y.getElementCssTag(Wt),"transition: "+Dt+" "+Ft+"ms "+jt),bt.insert()},on=function(Pe){var Te=!!Ht&&K.getComputedStyle(Ht[0]).display,Bt=!!it.disableAt&&"max-width: "+(it.disableAt-1)+"px",Gt=Y.formatSizeVal(it.width),ee=Y.formatSizeVal(it.height),Jt=Y.formatSizeVal(it.levelSpacing);!Y.isNumeric(Gt)&&Gt.indexOf("px")===-1||(oe=parseInt(Gt)),!Y.isNumeric(ee)&&ee.indexOf("px")===-1||(xe=parseInt(ee)),ot(["disableAt","position"])&&bt.reset(),bt.add(".hc-offcanvas-nav."+dt,"display: block",Bt),bt.add(".hc-nav-original."+dt,"display: none",Bt),Te&&bt.add(".hc-nav-trigger."+dt,"display: "+(Te&&Te!=="none"?Te:"block"),Bt),["left","right"].indexOf(it.position)!==-1?bt.add(".hc-offcanvas-nav."+dt+" .nav-container","width: "+Gt):bt.add(".hc-offcanvas-nav."+dt+" .nav-container","height: "+ee),bt.add(".hc-offcanvas-nav."+dt+".nav-position-left .nav-container","transform: translate3d(-"+Gt+", 0, 0);"),bt.add(".hc-offcanvas-nav."+dt+".nav-position-right .nav-container","transform: translate3d("+Gt+", 0, 0);"),bt.add(".hc-offcanvas-nav."+dt+".nav-position-top .nav-container","transform: translate3d(0, -"+ee+", 0);"),bt.add(".hc-offcanvas-nav."+dt+".nav-position-bottom .nav-container","transform: translate3d(0, "+ee+", 0);"),bt.add(".hc-offcanvas-nav."+dt+".nav-levels-overlap.nav-position-left li.level-open > .nav-wrapper","transform: translate3d(-"+Jt+", 0, 0)",Bt),bt.add(".hc-offcanvas-nav."+dt+".nav-levels-overlap.nav-position-right li.level-open > .nav-wrapper","transform: translate3d("+Jt+", 0, 0)",Bt),bt.add(".hc-offcanvas-nav."+dt+".nav-levels-overlap.nav-position-top li.level-open > .nav-wrapper","transform: translate3d(0, -"+Jt+", 0)",Bt),bt.add(".hc-offcanvas-nav."+dt+".nav-levels-overlap.nav-position-bottom li.level-open > .nav-wrapper","transform: translate3d(0, "+Jt+", 0)",Bt),bt.insert(),Pe&&!ot("pushContent")||(Wt=it.pushContent?Y.getElements(it.pushContent)[0]:null),xt.style.transition="none",Bt=_t.classList.contains(J),Bt=["hc-offcanvas-nav",it.navClass||"",dt,"nav-levels-"+(it.levelOpen||"none"),"nav-position-"+it.position,it.disableBody?"disable-body":"",Y.isIos?"is-ios":"",Y.isTouchDevice?"touch-device":"",Bt?J:"",it.rtl?"rtl":"",it.insertClose!==!0||it.labelClose?"":"nav-close-button-empty"].join(" ").trim().replace(/ +/g," "),_t.removeEventListener("click"),_t.className=Bt,_t.setAttribute("aria-hidden",!0),W.documentElement.style.setProperty("--nav-level-spacing",it.levelSpacing+"px"),it.disableBody&&_t.addEventListener("click",yn),Pe?sn():setTimeout(sn,0)},kt=function(){At=(function Pe(Te,Bt){var Gt=[];return Array.prototype.forEach.call(Te,function(ee){var Jt;(ee.tagName==="UL"||ee instanceof HTMLHeadingElement)&&(Jt={tagName:ee.tagName,id:Bt,htmlClass:ee.getAttribute("class")||null,items:[]},ee instanceof HTMLHeadingElement?Jt.content=Y.clone(ee,!1,!0):(ee.getAttribute("data-nav-active")!==null&&(se=Bt,ee.removeAttribute("data-nav-active")),Array.prototype.forEach.call(ee.children,function(he){var me=he.getAttribute("data-nav-custom-content")!==null,we=me?he.childNodes:Array.prototype.filter.call(he.children,function(qe){return qe.tagName!=="UL"&&!qe.querySelector("ul")}).concat(he.children.length?[]:[he.firstChild]),fe=me?[]:Array.prototype.slice.call(he.querySelectorAll("ul")),$e=fe.length?[].concat(Array.prototype.filter.call(fe[0].parentNode.children,function(qe){return qe.tagName==="UL"||qe instanceof HTMLHeadingElement})):[],fe=null;if(!we.length){for(var en="",He=0;He<he.childNodes.length;He++)he.childNodes[He].nodeType===Node.TEXT_NODE&&(en+=he.childNodes[He].textContent.trim());we=[W.createTextNode(en)]}$e.length&&(Y.data(he,"hc-uniqid")?fe=Y.data(he,"hc-uniqid"):(fe=Math.random().toString(36).substr(2),Y.data(he,"hc-uniqid",fe))),he.getAttribute("data-nav-active")!==null&&(se=fe,he.removeAttribute("data-nav-active")),Jt.items.push({id:fe,htmlClass:he.getAttribute("class")||"",content:we,custom:me,subnav:$e.length?Pe($e,fe):[],highlight:he.getAttribute("data-nav-highlight")!==null})})),Gt.push(Jt))}),Gt})(ct.tagName==="UL"?[ct]:Array.prototype.filter.call(ct.children,function(Pe){return Pe.tagName==="UL"||Pe instanceof HTMLHeadingElement}),null)},Lt=function(Pe){if(Pe){for(;xt.firstChild;)xt.removeChild(xt.firstChild);Xt={}}(function Te(Bt,Gt,ee,Jt,he,me){var we=Y.createElement("div",{class:"nav-wrapper nav-wrapper-"+ee,"data-level":ee,"data-index":he||0}),$e=Y.createElement("div",{class:"nav-content"});we.addEventListener("click",Y.stopPropagation),we.appendChild($e),Gt.appendChild(we),Jt&&(ee===0||0<ee&&it.levelOpen==="overlap")&&(Gt=typeof Jt=="string"?Jt:Y.clone(K.jQuery&&Jt instanceof K.jQuery&&Jt.length?Jt[0]:Jt,!0,!0),$e.insertBefore(Y.createElement("h2",{id:ee===0?dt+"-nav-title":null,class:ee===0?"nav-title":"level-title"},Gt),$e.firstChild),ee===0&&typeof Jt=="string"&&_t.setAttribute("aria-labelledby",dt+"-nav-title"));var fe=-1;Bt.forEach(function(Xe,bn){var an;Xe.tagName==="UL"?(fe++,an=Y.createElement("ul",{id:Xe.id?1<Bt.length?"menu-"+Xe.id+"-"+fe:"menu-"+Xe.id:null,role:"menu","aria-level":ee+1}
76),$e.appendChild(an),it.keepClasses&&Xe.htmlClass&&an.classList.add.apply(an.classList,Xe.htmlClass.split(" ")),Xe.items.forEach(function(Ze,fn){var pn=Ze.content;if(Ze.custom){var En=Y.createElement("li",{class:"nav-item nav-item-custom"},Y.createElement("div",{class:"nav-custom-content"},Array.prototype.map.call(pn,function(cn){return Y.clone(cn,!0,!0)})));return it.keepClasses&&Ze.htmlClass&&En.classList.add.apply(En.classList,Ze.htmlClass.split(" ")),void an.appendChild(En)}var je,nn=Array.prototype.filter.call(pn,function(cn){return cn.tagName==="A"||cn.nodeType!==Node.TEXT_NODE&&cn.querySelector("a")})[0];nn?(je=Y.clone(nn,!1,!0)).classList.add("nav-item-link"):je=Y.createElement(Ze.subnav.length?"a":"span",{class:"nav-item-link"},Array.prototype.map.call(pn,function(cn){return Y.clone(cn,!0,!0)})),je.tagName==="A"&&(je.setAttribute("tabindex","0"),je.setAttribute("role","menuitem"),je.getAttribute("href")||je.setAttribute("href","#")),nn&&je.addEventListener("click",function(cn){cn.stopPropagation(),Y.hasListener(nn,"click")&&nn.click()}),je.getAttribute("href")==="#"&&je.addEventListener("click",Y.preventDefault),it.closeOnClick&&(Fe()?je.tagName!=="A"||je.dataset.navClose==="false"||je.getAttribute("disabled")!==null&&je.getAttribute("disabled")!=="false"||Ze.subnav.length&&(!je.getAttribute("href")||je.getAttribute("href").charAt(0)==="#")||je.addEventListener("click",yn):je.tagName!=="A"||je.dataset.navClose==="false"||je.getAttribute("disabled")!==null&&je.getAttribute("disabled")!=="false"||je.addEventListener("click",yn));var gn,wn,vn,Ln,Tn,Sn=Y.createElement("li",{class:"nav-item"});Sn.appendChild(je),an.appendChild(Sn),it.keepClasses&&Ze.htmlClass&&Sn.classList.add.apply(Sn.classList,Ze.htmlClass.split(" ")),Ze.highlight&&Sn.classList.add("nav-highlight"),Y.wrap(je,Y.createElement("div",{class:"nav-item-wrapper"})),Ze.subnav.length&&(gn=ee+1,wn=Ze.id,vn="",Xt[gn]||(Xt[gn]=0),Sn.classList.add("nav-parent"),Fe()?(Ln=Xt[gn],(Tn=Y.createElement("input",{type:"checkbox",id:dt+"-"+gn+"-"+Ln,class:"hc-chk",tabindex:-1,"data-level":gn,"data-index":Ln,value:wn})).addEventListener("click",Y.stopPropagation),Tn.addEventListener("change",De),Sn.insertBefore(Tn,Sn.firstChild),En=function(cn){cn.addEventListener("click",function(Be){Be.stopPropagation(),Tn.setAttribute("checked",Tn.getAttribute("checked")!=="true"),"createEvent"in W&&((Be=W.createEvent("HTMLEvents")).initEvent("change",!1,!0),Tn.dispatchEvent(Be))}),cn.addEventListener("keydown",function(Be){Be.key!=="Enter"&&Be.keyCode!==13||(_e=!0,Ee.pu
76sh(this))}),cn.setAttribute("aria-controls",1<Ze.subnav.length?Ze.subnav.filter(function(Be){return Be.tagName==="UL"}).map(function(Be,kn){return"menu-"+Be.id+"-"+kn}).join(" "):"menu-"+wn),cn.setAttribute("aria-haspopup",it.levelOpen==="overlap"),cn.setAttribute("aria-expanded",!1)},Se.indexOf(wn)!==-1&&(we.classList.add("sub-level-open"),we.addEventListener("click",function(){return An(gn,Ln)}),Sn.classList.add("level-open"),Tn.setAttribute("checked",!0)),vn=it.levelTitles===!0?pn[0].textContent.trim():"",je.getAttribute("href")&&je.getAttribute("href")!=="#"?((pn=Y.createElement("a",{href:"#",class:"nav-next","aria-label":(it.ariaLabels||{}).submenu+": "+vn,role:"menuitem",tabindex:0},Y.createElement("span"))).addEventListener("click",Y.preventClick()),En(pn),it.rtl?je.parentNode.appendChild(pn):je.parentNode.insertBefore(pn,je.nextSibling)):(je.appendChild(Y.createElement("span",{class:"nav-next"},Y.createElement("span"))),En(je))):je.setAttribute("aria-expanded",!0),Xt[gn]++,Te(Ze.subnav,Sn,gn,vn,Xt[gn]-1,typeof Jt=="string"?Jt:""))})):$e.appendChild(Xe.content)}),ee&&he!==void 0&&it.insertBack!==!1&&it.levelOpen==="overlap"&&(en=Y.children($e,"ul"),me=it.levelTitleAsBack&&me||it.labelBack||"",qe=Y.createElement("a",{href:"#",class:"nav-back-button",role:"menuitem",tabindex:0},[me,Y.createElement("span")]),it.insertBack===!0||it.insertBack===0?(me=Y.createElement("div",{class:"nav-back"},qe),$e.insertBefore(me,Y.children($e,":not(.level-title)")[0])):(He=Y.createElement("li",{class:"nav-item nav-back"},qe),Y.insertAt(He,it.insertBack===!0?0:it.insertBack,en)),He=function(){return An(ee,he)},Y.wrap(qe,Y.createElement("div",{class:"nav-item-wrapper"})),qe.addEventListener("click",Y.preventClick(He)),qe.addEventListener("keydown",function(Xe){Xe.key!=="Enter"&&Xe.keyCode!==13||(_e=!0)}));{var en,He,qe;ee===0&&it.insertClose!==!1&&((en=Y.createElement("a",{href:"#",class:"nav-close-button"+(it.labelClose?" has-label":""),role:"menuitem",tabindex:0,"aria-label":it.labelClose?"":(it.ariaLabels||{}).close},[it.labelClose||"",Y.createElement("span")])).addEventListener("click",Y.preventClick(yn)),en.addEventListener("keydown",function(Xe){Xe.key!=="Enter"&&Xe.keyCode!==13||Qe()}),Jt&&it.insertClose===!0?$e.insertBefore(Y.createElement("div",{class:"nav-close"},en),$e.children[1]):it.insertClose===!0?$e.insertBefore(Y.createElement("div",{class:"nav-close"},en),$e.firstChild):(He=Y.children($e,"ul"),qe=Y.createElement("li",{class:"nav-item nav-close"},en),Y.wrap(en,Y.createElement("div",{class:"nav-item-wrapper"})),Y.insertAt(qe,it.insertClose,He)))}})(At,xt,0,it.navTitle)},yt=function(Pe){return function(Te){it.position!=="left"&&it.position!=="right"||(Ue=Te.touches[0].clientX,Oe=Te.touches[0].clientY,Pe==="doc"?Ne||(W.addEventListener("touchmove",Rt,Y.supportsPassive),W.addEventListener("touchend",Zt,Y.supportsPassive)):(Ne=!0,xt.addEventListener("touchmove",ie,Y.supportsPassive),xt.addEventListener("touchend",le,Y.supportsPassive)))}},ut=function(Pe,Te){K.addEventListener("touchmove",Y.preventDefault,Y.supportsPassive),_t.style.visibility="visible",xt.style[Y.browserPrefix("transition")]="none",Y.setTransform(xt,Pe,it.position),Wt&&(Wt.style[Y.browserPrefix("transition")]="none",Y.setTransform(Wt,Te,it.position))},Tt=function(Pe,Te,Bt,Gt){Te===void 0&&(Te=!0),Bt===void 0&&(Bt=!1),Gt===void 0&&(Gt=!1),K.removeEventListener("touchmove",Y.preventDefault,Y.supportsPassive),xt.style[Y.browserPrefix("transition")]="",Y.setTransform(xt,Bt,it.position),Wt&&(Wt.style[Y.browserPrefix("transition")]="",Y.setTransform(Wt,Gt,it.position)),Pe==="open"?Cn():(yn(),Te?setTimeout(function(){_t.style.visibility=""},Ft):_t.style.visibility="")},Rt=function(Te){var Bt=0-(Ue-Te.touches[0].clientX),Te=it.levelOpen==="overlap"?tn()*it.levelSpacing:0,Te=oe+Te,Bt=it.position==="left"?Math.min(Math.max(Bt,0),Te):Math.abs(Math.min(Math.max(Bt,-Te),0));(it.position==="left"&&Ue<50||it.position==="right"&&Ue>W.body.clientWidth-50)&&(ze=!0,ut(0-(oe-Bt),Math.abs(Bt)))},Zt=function Pe(Te){var Bt;W.removeEventListener("touchmove",Rt),W.removeEventListener("touchend",Pe),ze&&(Bt=Te.changedTouches[Te.changedTouches.length-1],Te=0-(Ue-Bt.clientX),Bt=it.levelOpen==="overlap"?tn()*it.levelSpacing:0,Bt=oe+
76Bt,(Te=it.position==="left"?Math.min(Math.max(Te,0),Bt):Math.abs(Math.min(Math.max(Te,-Bt),0)))?Tt(70<Te?"open":"close"):Tt("close",!1),Oe=Ue=null,ze=!1)},ie=function(Pe){var Te=0-(Ue-Pe.touches[0].clientX),Bt=0-(Oe-Pe.touches[0].clientY);Math.abs(Te)<Math.abs(Bt)||(Pe=it.levelOpen==="overlap"?tn()*it.levelSpacing:0,Bt=oe+Pe,Te=it.position==="left"?Math.min(Math.max(Te,-Bt),0):Math.min(Math.max(Te,0),Bt),(it.position==="left"&&Te<0||it.position==="right"&&0<Te)&&(ze=!0,ut(-Math.abs(Te)+Pe,Bt-Math.abs(Te))))},le=function Pe(Te){var Bt,Gt;xt.removeEventListener("touchmove",ie),xt.removeEventListener("touchend",Pe),Ne=!1,ze&&(Bt=Te.changedTouches[Te.changedTouches.length-1],Gt=0-(Ue-Bt.clientX),Te=it.levelOpen==="overlap"?tn()*it.levelSpacing:0,Bt=oe+Te,(Gt=it.position==="left"?Math.abs(Math.min(Math.max(Gt,-Bt),0)):Math.abs(Math.min(Math.max(Gt,0),Bt)))===Bt?Tt("close",!1):50<Gt?Tt("close"):Tt("open",!0,Te,Bt),Oe=Ue=null,ze=!1)};on(),kt(),Lt(),it.removeOriginalNav===!0?ct.parentNode.removeChild(ct):ct.classList.add("hc-nav-original",dt),it.bodyInsert==="prepend"?W.body.insertBefore(_t,W.body.firstChild):it.bodyInsert==="append"&&W.body.appendChild(_t),it.expanded===!0&&(Qt=!0,Cn()),it.swipeGestures&&(xt.addEventListener("touchstart",yt("nav"),Y.supportsPassive),W.addEventListener("touchstart",yt("doc"),Y.supportsPassive)),it.closeOnEsc&&W.addEventListener("keydown",function(Pe){!ue||Pe.key!=="Escape"&&Pe.keyCode!==27||((Pe=tn())===0?(yn(),Qe()
76):(An(Pe,rn()),Ke(null,Pe-1)))}),yt=Y.debounce(sn,500),K.addEventListener("resize",yt,Y.supportsPassive);var be=function(Pe,Te,Bt){var Gt,ee,Jt=W.querySelector("#"+dt+"-"+Pe+"-"+Te);Jt&&(Gt=Jt.value,Te=(ee=Jt.parentNode).closest(".nav-wrapper"),Jt.setAttribute("checked",!1),Te.classList.remove("sub-level-open"),ee.classList.remove("level-open"),ee.querySelectorAll("[aria-controls]")[0].setAttribute("aria-expanded",!1),Se.indexOf(Gt)!==-1&&Se.splice(Se.indexOf(Gt),1),Bt&&it.levelOpen==="overlap"&&(Te.removeEventListener("click"),Te.addEventListener("click",Y.stopPropagation),Y.setTransform(xt,(Pe-1)*it.levelSpacing,it.position),Wt&&(Te=Y.getAxis(it.position)==="x"?oe:xe,Y.setTransform(Wt,Te+(Pe-1)*it.levelSpacing,it.position))))};return _t.on=function(Pe,Te){_t.addEventListener(Pe,Te)},_t.off=function(Pe,Te){_t.removeEventListener(Pe,Te)},_t.getSettings=function(){return Object.assign({},it)},_t.isOpen=hn,_t.open=Cn,_t.close=yn,_t.toggle=On(null),_t.update=function(Pe,Te){if(gt=[],typeof Pe=="object"){for(var Bt in Pe)it[Bt]!==Pe[Bt]&>.push(Bt);it=Object.assign({},it,Pe)}Pe===!0||Te===!0?it.removeOriginalNav?console.warn("%c! HC Offcanvas Nav:%c Can't update because original navigation has been removed. Disable `removeOriginalNav` option.","color: #fa253b","color: default"):(on(!0),kt(),Lt(!0)):(on(!0),Lt(!0))},_t}function De(){var Pe=Number(this.dataset.level),Te=Number(this.dataset.index);(this.getAttribute("checked")==="true"?mn:An)(Pe,Te)}function Ae(Pe){Pe.classList.remove(St),Pe.setAttribute("aria-expanded",!1)}function Fe(){return it.levelOpen!==!1&&it.levelOpen!=="none"}function hn(){return ue}function tn(){return Se.length?Number(Array.prototype.filter.call(xt.querySelectorAll(".hc-chk"),function(Pe){return Pe.value==Se[Se.length-1]})[0].dataset.level):0}function rn(){return Se.length?Number(Array.prototype.filter.call(xt.querySelectorAll(".hc-chk"),function(Pe){return Pe.value==Se[Se.length-1]})[0].dataset.index):0}function Cn(Pe,Te){var Bt,Gt;if((!ue||Te!==void 0)&&(ue||(ue=!0,_t.style.visibility="visible",_t.setAttribute("aria-hidden",!1),_t.classList.add(J),Ht&&(Ht.forEach(Ae),Pt&&(Pt.classList.add(St),Pt.setAttribute("aria-expanded",!0))),it.levelOpen==="expand"&&re&&clearTimeout(re),it.disableBody&&(de=K.pageYOffset||Q.scrollTop||W.documentElement.scrollTop||W.body.scrollTop,W.documentElement.scrollHeight>W.documentElement.clientHeight&&Q.classList.add("hc-nav-yscroll"),W.body.classList.add("hc-nav-open"),de&&(W.body.style.top=-de+"px")),Wt&&(Bt=Y.getAxis(it.position)==="x"?oe:xe,Y.setTransform(Wt,Bt,it.position)),Qt?Qt=!1:(_t._eventListeners.toggle&&_t._eventListeners.toggle.forEach(function(fe){fe.fn(Y.customEventObject("toggle",_t,_t,{action:"open"}),Object.assign({},it))}),setTimeout(function(){_t._eventListeners.open&&_t._eventListeners.open.forEach(function(fe){fe.fn(Y.customEventObject("open",_t,_t),Object.assign({},it))})},Ft))),Fe())){if(typeof Pe!="number"&&!Y.isNumeric(Pe)||typeof Te!="number"&&!Y.isNumeric(Te))se?(Gt=Array.prototype.filter.call(xt.querySelectorAll(".hc-chk"),function(fe){return fe.value==se})[0],!it.closeActiveLevel&&it.closeOpenLevels||(se=null)):it.closeOpenLevels===!1&&(Gt=(Gt=Array.prototype.filter.call(xt.querySelectorAll(".hc-chk"),function(fe){return fe.getAttribute("checked")==="true"}))[Gt.length-1]);else if(!(Gt=W.querySelector("#"+dt+"-"+Pe+"-"+Te)))return void console.warn("HC Offcanvas Nav: level "+Pe+" doesn't have index "+Te);if(Gt){var ee=[];if(Pe=Number(Gt.dataset.level),Te=Number(Gt.dataset.index),1<Pe){for(var Jt=[];Gt&&Gt!==W;Gt=Gt.parentNode)Gt.matches(".nav-wrapper")&&Jt.push(Gt);for(var he=0;he<Jt.length;he++){var me=Jt[he],we=Number(me.dataset.level);0<we&&ee.push({level:we,index:Number(me.dataset.index)})}ee=ee.reverse()}ee.push({level:Pe,index:Te});for(var $e=0;$e<ee.length;$e++)mn(ee[$e].level,ee[$e].index,!1)}}}function yn(){var Pe;ue&&(ue=!1,Wt&&Y.setTransform(Wt,!1),_t.classList.remove(J),_t.classList.remove("user-is-tabbing"),_t.setAttribute("aria-hidden",!0),xt.removeAttribute("style"),Ht&&Ht.forEach(Ae),it.levelOpen==="expand"&&["top","bottom"].indexOf(it.position)!==-1?An(0):Fe()&&(re=setTimeout(function(){An(0)},it.levelOpen==="expand"?Ft:0)),it.disableBody&&(W.body.classList.remove("hc-nav-open"),Q.classList.remove("hc-nav-yscroll"),de&&(W.body.style.top="",W.body.scrollTop=de,Q.scrollTop=de,it.position==="bottom"&&(Pe=de,setTimeout(function(){W.body.scrollTop=Pe,Q.scrollTop=Pe},0)),de=0)),_t._eventListeners.toggle&&_t._eventListeners.toggle.forEach(function(Te){Te.fn(Y.customEventObject("toggle",_t,_t,{action:"close"}),Object.assign({},it))}),setTimeout(function(){_t.style.visibility="",_t._eventListeners.close&&_t._eventListeners.close.forEach(function(Te){Te.fn(Y.customEventObject("close",_t,_t),Object.assign({},it))}),_t._eventListeners["close.once"]&&_t._eventListeners["close.once"].forEach(function(Te){Te.fn(Y.customEventObject("close.once",_t,_t),Object.assign({},it))}),_t.removeEventListener("close.once")},Ft))}function On(Pe){return function(Te){Te&&(Te.preventDefault(),Te.stopPropagation()),Pe&&(Pt=Pe),(ue?yn:Cn)()}}function mn(Pe,Te,Bt){Bt===void 0&&(Bt=!0);var Gt=W.querySelector("#"+dt+"-"+Pe+"-"+Te),ee=Gt.value,Jt=Gt.parentNode,he=Jt.closest(".
76nav-wrapper"),me=Y.children(Jt,".nav-wrapper")[0];Bt===!1&&(me.style.transition="none"),Gt.setAttribute("checked",!0),he.classList.add("sub-level-open"),Jt.classList.add("level-open"),Jt.querySelectorAll("[aria-controls]")[0].setAttribute("aria-expanded",!0),Bt===!1&&setTimeout(function(){me.style.transition=""},Ft),Se.indexOf(ee)===-1&&Se.push(ee),it.levelOpen==="overlap"&&(he.addEventListener("click",function(){return An(Pe,Te)}),Y.setTransform(xt,Pe*it.levelSpacing,it.position),Wt&&(he=Y.getAxis(it.position)==="x"?oe:xe,Y.setTransform(Wt,he+Pe*it.levelSpacing,it.position))),_t._eventListeners["open.level"]&&_t._eventListeners["open.level"].forEach(function(we){we.fn(Y.customEventObject("open.level",_t,me,{currentLevel:Pe,currentIndex:Te}),Object.assign({},it))}),_e&&(Ke(0,Pe,Te),_e=!1)}function An(Pe,Te){for(var Bt,Gt=Pe;Gt<=Object.keys(Xt).length;Gt++)if(Gt===Pe&&Te!==void 0)be(Pe,Te,!0);else if(Pe!==0||it.closeOpenLevels)for(var ee=0;ee<Xt[Gt];ee++)be(Gt,ee,Gt===Pe);0<Pe&&_t._eventListeners["close.level"]&&(Bt=W.querySelector("#"+dt+"-"+Pe+"-"+Te).closest(".nav-wrapper"),_t._eventListeners["close.level"].forEach(function(Jt){Jt.fn(Y.customEventObject("close.level",_t,Bt,{currentLevel:Pe-1,currentIndex:rn()}),Object.assign({},it))})),_e&&(Ke(null,Pe-1),_e=!1)}console.error("%c! HC Offcanvas Nav:%c Navigation must contain <ul> element.","color: #fa253b","color: default")}it.ariaLabels=Object.assign({},{open:"Open Menu",close:"Close Menu",submenu:"Submenu"},at.ariaLabels);var gt=[];if(Array.isArray(tt)||tt instanceof NodeList){for(var pt=[],vt=0;vt<tt.length;vt++)pt.push(ft(tt[vt]));return 1<pt.length?pt:pt[0]}return ft(tt)}var q,nt,W=K.document,Q=W.getElementsByTagName("html")[0],rt=0,J="nav-open";return K.jQuery!==void 0&&(q=K.jQuery,nt="hcOffcanvasNav",q.fn.extend({hcOffcanvasNav:function(tt){return this.length?this.each(function(){var at=q.data(this,nt);at?at.update(tt):(at=new X(this,tt),q.data(this,nt,at))}):this}})),K.hcOffcanvasNav=K.hcOffcanvasNav||X,X}),(function(K){var X=K.hcOffcanvasNav,q=K.document;typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(gt,pt){if(gt==null)throw new TypeError("Cannot convert undefined or null to object");for(var vt=Object(gt),ct=1;ct<arguments.length;ct++){var dt=arguments[ct];if(dt!=null)for(var bt in dt)Object.prototype.hasOwnProperty.call(dt,bt)&&(vt[bt]=dt[bt])}return vt},writable:!0,configurable:!0}),Element.prototype.closest||(Element.prototype.closest=function(gt){var pt=this;do if(Element.prototype.matches.call(pt,gt))return pt;while((pt=pt.parentElement||pt.parentNode)!==null&&pt.nodeType===1);return null}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function gt(){var pt=isNaN(arguments[0])?1:Number(arguments[0]);return pt?Array.prototype.reduce.call(this,function(vt,ct){return Array.isArray(ct)?vt.push.apply(vt,gt.call(ct,pt-1)):vt.push(ct),vt},[]):Array.prototype.slice.call(this)},writable:!0}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector);var nt=!1;try{var W=Object.defineProperty({},"passive",{get:function(){nt={passive:!1}}});K.addEventListener("testPassive",null,W),K.removeEventListener("testPassive",null,W)}catch(gt){}function Q(gt){return!isNaN(parseFloat(gt))&&isFinite(gt)}function rt(gt){return gt==="auto"?"100%":Q(gt)&>!==0?gt+"px":gt}function J(gt){var pt=["Webkit","Moz","Ms","O"],vt=(q.body||q.documentElement).style,ct=gt.charAt(0).toUpperCase()+gt.slice(1);if(vt[gt]!==void 0)return gt;for(var dt=0;dt<pt.length;dt++)if(vt[pt[dt]+ct]!==void 0)return pt[dt]+ct;return!1}function tt(gt,pt){if(gt instanceof Element)return pt?Array.prototype.filter.call(gt.children,function(ct){return ct.matches(pt)}):gt.children;var vt=[];return Array.prototype.forEach.call(gt,function(ct){vt=pt?vt.concat(Array.prototype.filter.call(ct.children,function(dt){return dt.matches(pt)})):vt.concat(Array.prototype.slice.call(ct.children))}),vt}var at=(/iPad|iPhone|iPod/.test(navigator.userAgent)||!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform))&&!K.MSStream,Y="ontouchstart"in K||navigator.maxTouchPoints||K.DocumentTouch&&q instanceof DocumentTouch,it=function(gt){var pt=Node.prototype[gt+"EventListener"];return function(vt,ct,dt){if(this){var bt=vt.split(".")[0];if(this._eventListeners=this._eventListeners||{},gt==="add"){this._eventListeners[vt]=this._eventListeners[vt]||[];var wt={fn:ct};dt&&(wt.options=dt),this._eventListeners[vt].push(wt),pt.call(this,bt,ct,dt)}else if(typeof ct=="function")for(var St in pt.call(this,bt,ct,dt),this._eventListeners)this._eventListeners[St]=this._eventListeners[St].filter(function(xt){return xt.fn!==ct}),this._eventListeners[St].length||delete this._eventListeners[St];else if(this._eventListeners[vt]){for(var _t=this._eventListeners[vt].length;_t--;)pt.call(this,bt,this._eventListeners[vt][_t].fn,this._eventListeners[vt][_t].options),this._eventListeners[vt].splice(_t,1);this._eventListeners[vt].length||delete this._eventListeners[vt]}}}};Node.prototype.addEventListener=it("add"),Node.prototype.removeEventListener=it("remove");function ot(gt,pt,vt){pt===void 0&&(pt={});var ct,dt=q.createElement(gt);for(ct in pt)ct!=="class"?!pt[ct]&&pt[ct]!==0||dt.setAttribute(ct,pt[ct]):dt.className=pt[ct];
76if(vt){Array.isArray(vt)||(vt=[vt]);for(var bt=0;bt<vt.length;bt++)if(typeof vt[bt]=="object"&&vt[bt].length&&!vt[bt].nodeType)for(var wt=0;wt<vt[bt].length;wt++)dt.appendChild(vt[bt][wt]);else dt.appendChild(typeof vt[bt]=="string"?q.createTextNode(vt[bt]):vt[bt])}return dt}function ft(gt){return["left","right"].indexOf(gt)!==-1?"x":"y"}W=function gt(pt){return typeof pt=="string"?pt:pt.getAttribute("id")?"#"+pt.getAttribute("id"):pt.getAttribute("class")?pt.tagName.toLowerCase()+"."+pt.getAttribute("class").replace(/\s+/g,"."):gt(pt.parentNode)+" > "+pt.tagName.toLowerCase()},it=(function(){return J("transform"),function(gt,pt,vt){pt===!1||pt===""?gt.style.transform="":ft(vt)==="x"?gt.style.transform="translate3d("+rt(vt==="left"?pt:-pt)+",0,0)":gt.style.transform="translate3d(0,"+rt(vt==="top"?pt:-pt)+",0)"}})(),X.Helpers={supportsPassive:nt,isIos:at,isTouchDevice:Y,isNumeric:Q,formatSizeVal:rt,toMs:function(gt){return parseFloat(gt)*(/\ds$/.test(gt)?1e3:1)},stopPropagation:function(gt){return gt.stopPropagation()},preventDefault:function(gt){return gt.preventDefault()},preventClick:function(gt){return function(pt){pt.preventDefault(),pt.stopPropagation(),typeof gt=="function"&>()}},browserPrefix:J,children:tt,wrap:function(gt,pt){gt.parentNode.insertBefore(pt,gt),pt.appendChild(gt)},data:function(gt,pt,vt){if(gt.hcOffcanvasNav=gt.hcOffcanvasNav||{},vt===void 0)return gt.hcOffcanvasNav[pt];gt.hcOffcanvasNav[pt]=vt},clone:function(bt,pt,vt){var ct=bt.cloneNode(vt||!1),dt=bt instanceof Element?[bt].concat(Array.prototype.slice.call(bt.getElementsByTagName("*"))):[],bt=ct instanceof Element?[ct].concat(Array.prototype.slice.call(ct.getElementsByTagName("*"))):[];return pt||(dt.shift(),bt.shift()),vt&&(function(wt,St){for(var _t=0;_t<wt.length;_t++)if(wt[_t]._eventListeners)for(var xt in wt[_t]._eventListeners)for(var Dt=0;Dt<wt[_t]._eventListeners[xt].length;Dt++)St[Dt].addEventListener(xt,wt[_t]._eventListeners[xt][Dt].fn,wt[_t]._eventListeners[xt][Dt].options)})(dt,bt),ct},customEventObject:function(gt,pt,vt,ct){return new function(dt){for(var bt in this.bubbles=!1,this.cancelable=!1,this.composed=!1,this.currentTarget=vt,this.data=ct?{}:null,this.defaultPrevented=!1,this.eventPhase=0,this.isTrusted=!1,this.target=pt,this.timeStamp=Date.now(),this.type=dt,ct)this.data[bt]=ct[bt]}(gt)},hasListener:function(gt,pt){return(pt?(gt._eventListeners||{})[pt]:gt._eventListeners)||!1},debounce:function(gt,pt,vt){var ct;return function(){var dt=this,bt=arguments,wt=vt&&!ct;clearTimeout(ct),ct=setTimeout(function(){ct=null,vt||gt.apply(dt,bt)},pt),wt&>.apply(dt,bt)}},createElement:ot,getElements:function(gt){var pt=null;return typeof gt=="string"?pt=q.querySelectorAll(gt):K.jQuery&> instanceof K.jQuery&>.length?pt=gt.toArray():gt instanceof Element&&(pt=[gt]),pt},getElementCssTag:W,printStyle:function(gt){var pt=ot("style",{id:gt}),vt={},ct={};q.head.appendChild(pt);function dt(bt){return bt.substr(-1)!==";"&&(bt+=bt.substr(-1)!==";"?";":""),bt}return{reset:function(){vt={},ct={}},add:function(bt,wt,St){bt=bt.trim(),wt=wt.trim(),St?(St=St.trim(),ct[St]=ct[St]||{},ct[St][bt]=dt(wt)):vt[bt]=dt(wt)},remove:function(bt,wt){bt=bt.trim(),wt?(wt=wt.trim(),ct[wt][bt]!==void 0&&delete ct[wt][bt]):vt[bt]!==void 0&&delete vt[bt]},insert:function(){var bt,wt,St="";for(bt in ct){for(var _t in St+="@media screen and ("+bt+`) { 77`,ct[bt])St+=" "+_t+" { "+ct[bt][_t]+` } 78`;St+=`} 79`}for(wt in vt)St+=wt+" { "+vt[wt]+` } 80`;pt.innerHTML=St}}},insertAt:function(gt,pt,vt){var ct=tt(vt),dt=ct.length,dt=-1<(pt=(pt=pt==="first"?0:pt)==="last"?dt:pt)?Math.max(0,Math.min(pt,dt)):Math.max(0,Math.min(dt+pt,dt));dt===0?vt[0].insertBefore(gt,vt[0].firstChild):ct[dt-1].insertAdjacentElement("afterend",gt)},getAxis:ft,setTransform:it,deprecated:function(gt,pt,vt){console.warn("%cHC Off-canvas Nav:%c "+vt+"%c '"+gt+"'%c is now deprecated and will be removed in the future. Use%c '"+pt+"'%c option instead. See details about plugin usage at https://github.com/somewebmedia/hc-offcanvas-nav.","color: #fa253b","color: default","color: #5595c6","color: default","color: #5595c6","color: default")}}})(window)}),(function(module,__webpack_exports__,__webpack_require__){"use strict";(function(global){function _AsyncGenerator(D){var O,F;
80function B(U,K){try{var X=D[U](K),q=X.value,nt=q instanceof _OverloadYield;Promise.resolve(nt?q.v:q).then((function(W){if(nt){var Q=U==="return"?"return":"next";if(!q.k||W.done)return B(Q,W);W=D[Q](W).value}G(X.done?"return":"normal",W)}),(function(W){B("throw",W)}))}catch(W){G("throw",W)}}function G(U,K){switch(U){case"return":O.resolve({value:K,done:!0});break;case"throw":O.reject(K);break;default:O.resolve({value:K,done:!1})}(O=O.next)?B(O.key,O.arg):F=null}this._invoke=function(U,K){return new Promise((function(X,q){var nt={key:U,arg:K,resolve:X,reject:q,next:null};F?F=F.next=nt:(O=F=nt,B(U,K))}))},typeof D.return!="function"&&(this.return=void 0)}function _OverloadYield(D,O){this.v=D,this.k=O}function old_createMetadataMethodsForProperty(D,O,F,B){return{getMetadata:function(G){old_assertNotFinished(B,"getMetadata"),old_assertMetadataKey(G);var U=D[G];if(U!==void 0){if(O===1){var K=U.public;if(K!==void 0)return K[F]}else if(O===2){var X=U.private;if(X!==void 0)return X.get(F)}else if(Object.hasOwnProperty.call(U,"constructor"))return U.constructor}},setMetadata:function(G,U){old_assertNotFinished(B,"setMetadata"),old_assertMetadataKey(G);var K=D[G];if(K===void 0&&(K=D[G]={}),O===1){var X=K.public;X===void 0&&(X=K.public={}),X[F]=U}else if(O===2){var q=K.priv;q===void 0&&(q=K.private=new Map),q.set(F,U)}else K.constructor=U}}}function old_convertMetadataMapToFinal(D,O){var F=D[Symbol.metadata||Symbol.for("Symbol.metadata")],B=Object.getOwnPropertySymbols(O);if(B.length!==0){for(var G=0;G<B.length;G++){var U=B[G],K=O[U],X=F?F[U]:null,q=K.public,nt=X?X.public:null;q&&nt&&Object.setPrototypeOf(q,nt);var W=K.private;if(W){var Q=Array.from(W.values()),rt=X?X.private:null;rt&&(Q=Q.concat(rt)),K.private=Q}X&&Object.setPrototypeOf(K,X)}F&&Object.setPrototypeOf(O,F),D[Symbol.metadata||Symbol.for("Symbol.metadata")]=O}}function old_createAddInitializerMethod(D,O){return function(F){old_assertNotFinished(O,"addInitializer"),old_assertCallable(F,"An initializer"),D.push(F)}}function old_memberDec(D,O,F,B,G,U,K,X,q){var nt;switch(U){case 1:nt="accessor";break;case 2:nt="method";break;case 3:nt="getter";break;case 4:nt="setter";break;default:nt="field"}var W,Q,rt={kind:nt,name:X?"#"+O:O,isStatic:K,isPrivate:X},J={v:!1};if(U!==0&&(rt.addInitializer=old_createAddInitializerMethod(G,J)),X){W=2,Q=Symbol(O);var tt={};U===0?(tt.get=F.get,tt.set=F.set):U===2?tt.get=function(){return F.value}:(U!==1&&U!==3||(tt.get=function(){return F.get.call(this)}),U!==1&&U!==4||(tt.set=function(at){F.set.call(this,at)})),rt.access=tt}else W=1,Q=O;try{return D(q,Object.assign(rt,old_createMetadataMethodsForProperty(B,W,Q,J)))}finally{J.v=!0}}function old_assertNotFinished(D,O){if(D.v)throw new Error("attempted to call "+O+" after decoration was finished")}function old_assertMetadataKey(D){if(typeof D!="symbol")throw new TypeError("Metadata keys must be symbols, received: "+D)}function old_assertCallable(D,O){if(typeof D!="function")throw new TypeError(O+" must be a function")}function old_assertValidReturnValue(D,O){var F=typeof O;if(D===1){if(F!=="object"||O===null)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");O.get!==void 0&&old_assertCallable(O.get,"accessor.get"),O.set!==void 0&&old_assertCallable(O.set,"accessor.set"),O.init!==void 0&&old_assertCallable(O.init,"accessor.init"),O.initializer!==void 0&&old_assertCallable(O.initializer,"accessor.initializer")}else if(F!=="function")throw new TypeError((D===0?"field":D===10?"class":"method")+" decorators must return a function or void 0")}function old_getInit(D){var O;return(O=D.init)==null&&(O=D.initializer)&&typeof console!="undefined"&&console.warn(".initializer has been renamed to .init as of March 2022"),O}function old_applyMemberDec(D,O,F,B,G,U,K,X,q){var nt,W,Q,rt,J,tt,at=F[0];if(K?nt=G===0||G===1?{get:F[3],set:F[4]}:G===3?{get:F[3]}:G===4?{set:F[3]}:{value:F[3]}:G!==0&&(nt=Object.getOwnPropertyDescriptor(O,B)),G===1?Q={get:nt.get,set:nt.set}:G===2?Q=nt.value:G===3?Q=nt.get:G===4&&(Q=nt.set),typeof at=="function")(rt=old_memberDec(at,B,nt,X,q,G,U,K,Q))!==void 0&&(old_assertValidReturnValue(G,rt),G===0?W=rt:G===1?(W=old_getInit(rt),J=rt.get||Q.get,tt=rt.set||Q.set,Q={get:J,set:tt}):Q=rt);else for(var Y=at.length-1;Y>=0;Y--){var it;(rt=old_memberDec(at[Y],B,nt,X,q,G,U,K,Q))!==void 0&&(old_assertValidReturnValue(G,rt),G===0?it=rt:G===1?(it=old_getInit(rt),J=rt.get||Q.get,tt=rt.set||Q.set,Q={get:J,set:tt}):Q=rt,it!==void 0&&(W===void 0?W=it:typeof W=="function"?W=[W,it]:W.push(it)))}if(G===0||G===1){if(W===void 0)W=function(gt,pt){return pt};else if(typeof W!="function"){var ot=W;W=function(gt,pt){for(var vt=pt,ct=0;ct<ot.length;ct++)vt=ot[ct].call(gt,vt);return vt}}else{var ft=W;W=function(gt,pt){return ft.call(gt,pt)}}D.push(W)}G!==0&&(G===1?(nt.get=Q.get,nt.set=Q.set):G===2?nt.value=Q:G===3?nt.get=Q:G===4&&(nt.set=Q),K?G===1?(D.push((function(gt,pt){return Q.get.call(gt,pt)})),D.push((function(gt,pt){return Q.set.call(gt,pt)}))):G===2?D.push(Q):D.push((function(gt,pt){return Q.call(gt,pt)})):Object.defineProperty(O,B,nt))}function old_applyMemberDecs(D,O,F,B,G){for(var U,K,X=new Map,q=new Map,nt=0;nt<G.length;nt++){var W=G[nt];if(Array.isArray(W)){var Q,rt,J,tt=W[1],at=W[2],Y=W.length>3,it=tt>=5;if(it?(Q=O,rt=B,(tt-=5)!=0&&(J=K=K||[])):(Q=O.prototype,rt=F,tt!==0&&(J=U=U||[])),tt!==0&&!Y){var ot=it?q:X,ft=ot.get(at)||0;if(ft===!0||ft===3&&tt!==4||ft===4&&tt!==3)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+at);!ft&&tt>2?ot.set(at,tt):ot.set(at,!0)}old_applyMemberDec(D,Q,W,at,tt,it,Y,rt,J)}}
80old_pushInitializers(D,U),old_pushInitializers(D,K)}function old_pushInitializers(D,O){O&&D.push((function(F){for(var B=0;B<O.length;B++)O[B].call(F);return F}))}function old_applyClassDecs(D,O,F,B){if(B.length>0){for(var G=[],U=O,K=O.name,X=B.length-1;X>=0;X--){var q={v:!1};try{var nt=Object.assign({kind:"class",name:K,addInitializer:old_createAddInitializerMethod(G,q)},old_createMetadataMethodsForProperty(F,0,K,q)),W=B[X](U,nt)}finally{q.v=!0}W!==void 0&&(old_assertValidReturnValue(10,W),U=W)}D.push(U,(function(){for(var Q=0;Q<G.length;Q++)G[Q].call(U)}))}}function _applyDecs(D,O,F){var B=[],G={},U={};return old_applyMemberDecs(B,D,U,G,O),old_convertMetadataMapToFinal(D.prototype,U),old_applyClassDecs(B,D,G,F),old_convertMetadataMapToFinal(D,G),B}function createAddInitializerMethod(D,O){return function(F){assertNotFinished(O,"addInitializer"),assertCallable(F,"An initializer"),D.push(F)}}function memberDec(D,O,F,B,G,U,K,X){var q;switch(G){case 1:q="accessor";break;case 2:q="method";break;case 3:q="getter";break;case 4:q="setter";break;default:q="field"}var nt,W,Q={kind:q,name:K?"#"+O:O,static:U,private:K},rt={v:!1};G!==0&&(Q.addInitializer=createAddInitializerMethod(B,rt)),G===0?K?(nt=F.get,W=F.set):(nt=function(){return this[O]},W=function(J){this[O]=J}):G===2?nt=function(){return F.value}:(G!==1&&G!==3||(nt=function(){return F.get.call(this)}),G!==1&&G!==4||(W=function(J){F.set.call(this,J)})),Q.access=nt&&W?{get:nt,set:W}:nt?{get:nt}:{set:W};try{return D(X,Q)}finally{rt.v=!0}}function assertNotFinished(D,O){if(D.v)throw new Error("attempted to call "+O+" after decoration was finished")}function assertCallable(D,O){if(typeof D!="function")throw new TypeError(O+" must be a function")}function assertValidReturnValue(D,O){var F=typeof O;if(D===1){if(F!=="object"||O===null)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");O.get!==void 0&&assertCallable(O.get,"accessor.get"),O.set!==void 0&&assertCallable(O.set,"accessor.set"),O.init!==void 0&&assertCallable(O.init,"accessor.init")}else if(F!=="function")throw new TypeError((D===0?"field":D===10?"class":"method")+" decorators must return a function or void 0")}function applyMemberDec(D,O,F,B,G,U,K,X){var q,nt,W,Q,rt,J,tt=F[0];if(K?q=G===0||G===1?{get:F[3],set:F[4]}:G===3?{get:F[3]}:G===4?{set:F[3]}:{value:F[3]}:G!==0&&(q=Object.getOwnPropertyDescriptor(O,B)),G===1?W={get:q.get,set:q.set}:G===2?W=q.value:G===3?W=q.get:G===4&&(W=q.set),typeof tt=="function")(Q=memberDec(tt,B,q,X,G,U,K,W))!==void 0&&(assertValidReturnValue(G,Q),G===0?nt=Q:G===1?(nt=Q.init,rt=Q.get||W.get,J=Q.set||W.set,W={get:rt,set:J}):W=Q);else for(var at=tt.length-1;at>=0;at--){var Y;(Q=memberDec(tt[at],B,q,X,G,U,K,W))!==void 0&&(assertValidReturnValue(G,Q),G===0?Y=Q:G===1?(Y=Q.init,rt=Q.get||W.get,J=Q.set||W.set,W={get:rt,set:J}):W=Q,Y!==void 0&&(nt===void 0?nt=Y:typeof nt=="function"?nt=[nt,Y]:nt.push(Y)))}if(G===0||G===1){if(nt===void 0)nt=function(ft,gt){return gt};else if(typeof nt!="function"){var it=nt;nt=function(ft,gt){for(var pt=gt,vt=0;vt<it.length;vt++)pt=it[vt].call(ft,pt);return pt}}else{var ot=nt;nt=function(ft,gt){return ot.call(ft,gt)}}D.push(nt)}G!==0&&(G===1?(q.get=W.get,q.set=W.set):G===2?q.value=W:G===3?q.get=W:G===4&&(q.set=W),K?G===1?(D.push((function(ft,gt){return W.get.call(ft,gt)})),D.push((function(ft,gt){return W.set.call(ft,gt)}))):G===2?D.push(W):D.push((function(ft,gt){return W.call(ft,gt)})):Object.defineProperty(O,B,q))}function applyMemberDecs(D,O,F){for(var B,G,U=new Map,K=new Map,X=0;X<F.length;X++){var q=F[X];if(Array.isArray(q)){var nt,W,Q=q[1],rt=q[2],J=q.length>3,tt=Q>=5;if(tt?(nt=O,(Q-=5)!=0&&(W=G=G||[])):(nt=O.prototype,Q!==0&&(W=B=B||[])),Q!==0&&!J){var at=tt?K:U,Y=at.get(rt)||0;if(Y===!0||Y===3&&Q!==4||Y===4&&Q!==3)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+rt);!Y&&Q>2?at.set(rt,Q):at.set(rt,!0)}applyMemberDec(D,nt,q,rt,Q,tt,J,W)}}
80pushInitializers(D,B),pushInitializers(D,G)}function pushInitializers(D,O){O&&D.push((function(F){for(var B=0;B<O.length;B++)O[B].call(F);return F}))}function applyClassDecs(D,O,F){if(F.length>0){for(var B=[],G=O,U=O.name,K=F.length-1;K>=0;K--){var X={v:!1};try{var q=F[K](G,{kind:"class",name:U,addInitializer:createAddInitializerMethod(B,X)})}finally{X.v=!0}q!==void 0&&(assertValidReturnValue(10,q),G=q)}D.push(G,(function(){for(var nt=0;nt<B.length;nt++)B[nt].call(G)}))}}function _applyDecs2203(D,O,F){var B=[];return applyMemberDecs(B,D,O),applyClassDecs(B,D,F),B}function _asyncGeneratorDelegate(D){var O={},F=!1;function B(G,U){return F=!0,{done:!1,value:new _OverloadYield(U=new Promise((function(K){K(D[G](U))})),1)}}return O[typeof Symbol!="undefined"&&Symbol.iterator||"@@iterator"]=function(){return this},O.next=function(G){return F?(F=!1,G):B("next",G)},typeof D.throw=="function"&&(O.throw=function(G){if(F)throw F=!1,G;return B("throw",G)}),typeof D.return=="function"&&(O.return=function(G){return F?(F=!1,G):B("return",G)}),O}function _asyncIterator(D){var O,F,B,G=2;for(typeof Symbol!="undefined"&&(F=Symbol.asyncIterator,B=Symbol.iterator);G--;){if(F&&(O=D[F])!=null)return O.call(D);if(B&&(O=D[B])!=null)return new AsyncFromSyncIterator(O.call(D));F="@@asyncIterator",B="@@iterator"}throw new TypeError("Object is not async iterable")}function AsyncFromSyncIterator(D){function O(F){if(Object(F)!==F)return Promise.reject(new TypeError(F+" is not an object."));var B=F.done;return Promise.resolve(F.value).then((function(G){return{value:G,done:B}}))}return(AsyncFromSyncIterator=function(F){this.s=F,this.n=F.next}).prototype={s:null,n:null,next:function(){return O(this.n.apply(this.s,arguments))},return:function(F){var B=this.s.return;return B===void 0?Promise.resolve({value:F,done:!0}):O(B.apply(this.s,arguments))},throw:function(F){var B=this.s.return;return B===void 0?Promise.reject(F):O(B.apply(this.s,arguments))}},new AsyncFromSyncIterator(D)}function _awaitAsyncGenerator(D){return new _OverloadYield(D,0)}function _checkInRHS(D){if(Object(D)!==D)throw TypeError("right-hand side of 'in' should be an object, got "+(D!==null?typeof D:"null"));return D}function _iterableToArrayLimit(D,O){var F=D==null?null:typeof Symbol!="undefined"&&D[Symbol.iterator]||D["@@iterator"];if(F!=null){var B,G,U,K,X=[],q=!0,nt=!1;try{if(U=(F=F.call(D)).next,O===0){if(Object(F)!==F)return;q=!1}else for(;!(q=(B=U.call(F)).done)&&(X.push(B.value),X.length!==O);q=!0);}catch(W){nt=!0,G=W}finally{try{if(!q&&F.return!=null&&(K=F.return(),Object(K)!==K))return}finally{if(nt)throw G}}return X}}function _iterableToArrayLimitLoose(D,O){var F=D&&(typeof Symbol!="undefined"&&D[Symbol.iterator]||D["@@iterator"]);if(F!=null){var B,G=[];for(F=F.call(D);D.length<O&&!(B=F.next()).done;)G.push(B.value);return G}}var REACT_ELEMENT_TYPE;function _jsx(D,O,F,B){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE=typeof Symbol=="function"&&Symbol.for&&Symbol.for("react.element")||60103);var G=D&&D.defaultProps,U=arguments.length-3;if(O||U===0||(O={children:void 0}),U===1)O.children=B;else if(U>1){for(var K=new Array(U),X=0;X<U;X++)K[X]=arguments[X+3];O.children=K}if(O&&G)for(var q in G)O[q]===void 0&&(O[q]=G[q]);else O||(O=G||{});return{$$typeof:REACT_ELEMENT_TYPE,type:D,key:F===void 0?null:""+F,ref:null,props:O,_owner:null}}function ownKeys(D,O){var F=Object.keys(D);if(Object.getOwnPropertySymbols){var B=Object.getOwnPropertySymbols(D);O&&(B=B.filter((function(G){return Object.getOwnPropertyDescriptor(D,G).enumerable}))),F.push.apply(F,B)}return F}function _objectSpread2(D){for(var O=1;O<arguments.length;O++){var F=arguments[O]!=null?arguments[O]:{};O%2?ownKeys(Object(F),!0).forEach((function(B){_defineProperty(D,B,F[B])})):Object.getOwnPropertyDescriptors?Object.defineProperties(D,Object.getOwnPropertyDescriptors(F)):ownKeys(Object(F)).forEach((function(B){Object.defineProperty(D,B,Object.getOwnPropertyDescriptor(F,B))}))}return D}function _regeneratorRuntime(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return D};var D={},O=Object.prototype,F=O.hasOwnProperty,B=Object.defineProperty||function(_t,xt,Dt){_t[xt]=Dt.value},G=typeof Symbol=="function"?Symbol:{},U=G.iterator||"@@iterator",K=G.asyncIterator||"@@asyncIterator",X=G.toStringTag||"@@toStringTag";function q(_t,xt,Dt){return Object.defineProperty(_t,xt,{value:Dt,enumerable:!0,configurable:!0,writable:!0}),_t[xt]}try{q({},"")}catch(_t){q=function(xt,Dt,Ft){return xt[Dt]=Ft}}function nt(_t,xt,Dt,Ft){var jt=xt&&xt.prototype instanceof rt?xt:rt,Ht=Object.create(jt.prototype),Pt=new bt(Ft||[]);return B(Ht,"_invoke",{value:pt(_t,Dt,Pt)}),Ht}function W(_t,xt,Dt){try{return{type:"normal",arg:_t.call(xt,Dt)}}catch(Ft){return{type:"throw",arg:Ft}}}D.wrap=nt;var Q={};function rt(){}function J(){}function tt(){}var at={};q(at,U,(function(){return this}));var Y=Object.getPrototypeOf,it=Y&&Y(Y(wt([])));it&&it!==O&&F.call(it,U)&&(at=it);var ot=tt.prototype=rt.prototype=Object.create(at);function ft(_t){["next","throw","return"].forEach((function(xt){q(_t,xt,(function(Dt){return this._invoke(xt,Dt)}))}))}function gt(_t,xt){var Dt;B(this,"_invoke",{value:function(Ft,jt){function Ht(){return new xt((function(Pt,Wt){(function At(ue,Qt,se,de){var oe=W(_t[ue],_t,Qt);if(oe.type!=="throw"){var xe=oe.arg,re=xe.value;return re&&typeof re=="object"&&F.call(re,"__await")?xt.resolve(re.__await).then((function(Xt){At("next",Xt,se,de)}),(function(Xt){At("throw",Xt,se,de)})):xt.resolve(re).then((function(Xt){xe.value=Xt,se(xe)}),(function(Xt){return At("throw",Xt,se,de)}))}de(oe.arg)})(Ft,jt,Pt,Wt)}))}return Dt=Dt?Dt.then(Ht,Ht):Ht()}})}function pt(_t,xt,Dt){var Ft="suspendedStart";return function(jt,Ht){if(Ft==="executing")throw new Error("Generator is already running");if(Ft==="completed"){if(jt==="throw")throw Ht;return St()}for(Dt.method=jt,Dt.arg=Ht;;){var Pt=Dt.delegate;if(Pt){var Wt=vt(Pt,Dt);if(Wt){if(Wt===Q)continue;return Wt}}if(Dt.method==="next")Dt.sent=Dt._sent=Dt.arg;else if(Dt.method==="throw"){if(Ft==="suspendedStart")throw Ft="completed",Dt.arg;Dt.dispatchException(Dt.arg)}else Dt.method==="return"&&Dt.abrupt("return",Dt.arg);Ft="executing";var At=W(_t,xt,Dt);if(At.type==="normal"){if(Ft=Dt.done?"completed":"suspendedYield",At.arg===Q)continue;return{value:At.arg,done:Dt.done}}At.type==="throw"&&(Ft="completed",Dt.method="throw",Dt.arg=At.arg)}}}function vt(_t,xt){var Dt=xt.method,Ft=_t.iterator[Dt];if(Ft===void 0)return xt.delegate=null,Dt==="throw"&&_t.iterator.return&&
80(xt.method="return",xt.arg=void 0,vt(_t,xt),xt.method==="throw")||Dt!=="return"&&(xt.method="throw",xt.arg=new TypeError("The iterator does not provide a '"+Dt+"' method")),Q;var jt=W(Ft,_t.iterator,xt.arg);if(jt.type==="throw")return xt.method="throw",xt.arg=jt.arg,xt.delegate=null,Q;var Ht=jt.arg;return Ht?Ht.done?(xt[_t.resultName]=Ht.value,xt.next=_t.nextLoc,xt.method!=="return"&&(xt.method="next",xt.arg=void 0),xt.delegate=null,Q):Ht:(xt.method="throw",xt.arg=new TypeError("iterator result is not an object"),xt.delegate=null,Q)}function ct(_t){var xt={tryLoc:_t[0]};1 in _t&&(xt.catchLoc=_t[1]),2 in _t&&(xt.finallyLoc=_t[2],xt.afterLoc=_t[3]),this.tryEntries.push(xt)}function dt(_t){var xt=_t.completion||{};xt.type="normal",delete xt.arg,_t.completion=xt}function bt(_t){this.tryEntries=[{tryLoc:"root"}],_t.forEach(ct,this),this.reset(!0)}function wt(_t){if(_t){var xt=_t[U];if(xt)return xt.call(_t);if(typeof _t.next=="function")return _t;if(!isNaN(_t.length)){var Dt=-1,Ft=function jt(){for(;++Dt<_t.length;)if(F.call(_t,Dt))return jt.value=_t[Dt],jt.done=!1,jt;return jt.value=void 0,jt.done=!0,jt};return Ft.next=Ft}}return{next:St}}function St(){return{value:void 0,done:!0}}return J.prototype=tt,B(ot,"constructor",{value:tt,configurable:!0}),B(tt,"constructor",{value:J,configurable:!0}),J.displayName=q(tt,X,"GeneratorFunction"),D.isGeneratorFunction=function(_t){var xt=typeof _t=="function"&&_t.constructor;return!!xt&&(xt===J||(xt.displayName||xt.name)==="GeneratorFunction")},D.mark=function(_t){return Object.setPrototypeOf?Object.setPrototypeOf(_t,tt):(_t.__proto__=tt,q(_t,X,"GeneratorFunction")),_t.prototype=Object.create(ot),_t},D.awrap=function(_t){return{__await:_t}},ft(gt.prototype),q(gt.prototype,K,(function(){return this})),D.AsyncIterator=gt,D.async=function(_t,xt,Dt,Ft,jt){jt===void 0&&(jt=Promise);var Ht=new gt(nt(_t,xt,Dt,Ft),jt);return D.isGeneratorFunction(xt)?Ht:Ht.next().then((function(Pt){return Pt.done?Pt.value:Ht.next()}))},ft(ot),q(ot,X,"Generator"),q(ot,U,(function(){return this})),q(ot,"toString",(function(){return"[object Generator]"})),D.keys=function(_t){var xt=Object(_t),Dt=[];for(var Ft in xt)Dt.push(Ft);return Dt.reverse(),function jt(){for(;Dt.length;){var Ht=Dt.pop();if(Ht in xt)return jt.value=Ht,jt.done=!1,jt}return jt.done=!0,jt}},D.values=wt,bt.prototype={constructor:bt,reset:function(_t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(dt),!_t)for(var xt in this)xt.charAt(0)==="t"&&F.call(this,xt)&&!isNaN(+xt.slice(1))&&(this[xt]=void 0)},stop:function(){this.done=!0;var _t=this.tryEntries[0].completion;if(_t.type==="throw")throw _t.arg;return this.rval},dispatchException:function(_t){if(this.done)throw _t;var xt=this;function Dt(At,ue){return Ht.type="throw",Ht.arg=_t,xt.next=At,ue&&(xt.method="next",xt.arg=void 0),!!ue}for(var Ft=this.tryEntries.length-1;Ft>=0;--Ft){var jt=this.tryEntries[Ft],Ht=jt.completion;if(jt.tryLoc==="root")return Dt("end");if(jt.tryLoc<=this.prev){var Pt=F.call(jt,"catchLoc"),Wt=F.call(jt,"finallyLoc");if(Pt&&Wt){if(this.prev<jt.catchLoc)return Dt(jt.catchLoc,!0);if(this.prev<jt.finallyLoc)return Dt(jt.finallyLoc)}else if(Pt){if(this.prev<jt.catchLoc)return Dt(jt.catchLoc,!0)}else{if(!Wt)throw new Error("try statement without catch or finally");if(this.prev<jt.finallyLoc)return Dt(jt.finallyLoc)}}}},abrupt:function(_t,xt){for(var Dt=this.tryEntries.length-1;Dt>=0;--Dt){var Ft=this.tryEntries[Dt];if(Ft.tryLoc<=this.prev&&F.call(Ft,"finallyLoc")&&this.prev<Ft.finallyLoc){var jt=Ft;break}}jt&&(_t==="break"||_t==="continue")&&jt.tryLoc<=xt&&xt<=jt.finallyLoc&&(jt=null);var Ht=jt?jt.completion:{};return Ht.type=_t,Ht.arg=xt,jt?(this.method="next",this.next=jt.finallyLoc,Q):this.complete(Ht)},complete:function(_t,xt){if(_t.type==="throw")throw _t.arg;return _t.type==="break"||_t.type==="continue"?this.next=_t.arg:_t.type==="return"?(this.rval=this.arg=_t.arg,this.method="return",this.next="end"):_t.type==="normal"&&xt&&(this.next=xt),Q},finish:function(_t){for(var xt=this.tryEntries.length-1;xt>=0;--xt){var Dt=this.tryEntries[xt];if(Dt.finallyLoc===_t)return this.complete(Dt.completion,Dt.afterLoc),dt(Dt),Q}},catch:function(_t){for(var xt=this.tryEntries.length-1;xt>=0;--xt){var Dt=this.tryEntries[xt];if(Dt.tryLoc===_t){var Ft=Dt.completion;if(Ft.type==="throw"){var jt=Ft.arg;dt(Dt)}return jt}}throw new Error("illegal catch attempt")},delegateYield:function(_t,xt,Dt){return this.delegate={iterator:wt(_t),resultName:xt,nextLoc:Dt},this.method==="next"&&(this.arg=void 0),Q}},D}function _typeof(D){return(_typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O})(D)}function _wrapRegExp(){_wrapRegExp=function(G,U){return new F(G,void 0,U)};var D=RegExp.prototype,O=new WeakMap;function F(G,U,K){var X=new RegExp(G,U);return O.set(X,K||O.get(G)),_setPrototypeOf(X,F.prototype)}function B(G,U){var K=O.get(U);return Object.keys(K).reduce((function(X,q){var nt=K[q];if(typeof nt=="number")X[q]=G[nt];else{for(var W=0;G[nt[W]]===void 0&&W+1<nt.length;)W++;X[q]=G[nt[W]]}return X}),Object.create(null))}return _inherits(F,RegExp),F.prototype.exec=function(G){var U=D.exec.call(this,G);if(U){U.groups=B(U,this);var K=U.indices;K&&(K.groups=B(K,this))}return U},F.prototype[Symbol.replace]=function(G,U){if(typeof U=="string"){var K=O.get(this);return D[Symbol.replace].call(this,G,U.replace(/\$<([^>]+)>/g,(function(q,nt){var W=K[nt];return"$"+(Array.isArray(W)?W.join("$"):W)})))}if(typeof U=="function"){var X=this;return D[Symbol.replace].call(this,G,(function(){var q=arguments;return typeof q[q.length-1]!="object"&&(q=[].slice.call(q)).push(B(q,X)),U.apply(this,q)}))}return D[Symbol.replace].call(this,G,U)},_wrapRegExp.apply(this,arguments)}function _AwaitValue(D){this.wrapped=D}function _wrapAsyncGenerator(D){return function(){return new _AsyncGenerator(D.apply(this,arguments))}}function asyncGeneratorStep(D,O,F,B,G,U,K){try{var X=D[U](K),q=X.value}catch(nt){return void F(nt)}X.done?O(q):Promise.resolve(q).then(B,G)}function _asyncToGenerator(D){return function(){var O=this,F=arguments;return new Promise((function(B,G){var U=D.apply(O,F);function K(q){asyncGeneratorStep(U,B,G,K,X,"next",q)}function X(q){asyncGeneratorStep(U,B,G,K,X,"throw",q)}K(void 0)}))}}function _classCallCheck(D,O){if(!(D instanceof O))throw new TypeError("Cannot call a class as a function")}function _defineProperties(D,O){for(var F=0;F<O.length;F++){var B=O[F];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(D,_toPropertyKey(B.key),B)}}function _createClass(D,O,F){return O&&_defineProperties(D.prototype,O),F&&_defineProperties(D,F),Object.defineProperty(D,"prototype",{writable:!1}),D}function _defineEnumerableProperties(D,O){for(var F in O)(U=O[F]).configurable=U.enumerable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(D,F,U);if(Object.getOwnPropertySymbols)for(var B=Object.getOwnPropertySymbols(O),G=0;G<B.length;G++){var U,K=B[G];(U=O[K]).configurable=U.enumerable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(D,K,U)}return D}function _defaults(D,O){for(var F=Object.getOwnPropertyNames(O),B=0;B<F.length;B++){var G=F[B],U=Object.getOwnPropertyDescriptor(O,G);U&&U.configurable&&D[G]===void 0&&Object.defineProperty(D,G,U)}return D}function _defineProperty(D,O,F){return(O=_toPropertyKey(O))in D?Object.defineProperty(D,O,{value:F,enumerable:!0,configurable:!0,writable:!0}):D[O]=F,D}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(D){for(var O=1;O<arguments.length;O++){var F=arguments[O];for(var B in F)Object.prototype.hasOwnProperty.call(F,B)&&(D[B]=F[B])}return D}).apply(this,arguments)}function _objectSpread(D){for(var O=1;O<arguments.length;
80O++){var F=arguments[O]!=null?Object(arguments[O]):{},B=Object.keys(F);typeof Object.getOwnPropertySymbols=="function"&&B.push.apply(B,Object.getOwnPropertySymbols(F).filter((function(G){return Object.getOwnPropertyDescriptor(F,G).enumerable}))),B.forEach((function(G){_defineProperty(D,G,F[G])}))}return D}function _inherits(D,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(O&&O.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),Object.defineProperty(D,"prototype",{writable:!1}),O&&_setPrototypeOf(D,O)}function _inheritsLoose(D,O){D.prototype=Object.create(O.prototype),D.prototype.constructor=D,_setPrototypeOf(D,O)}function _getPrototypeOf(D){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(O){return O.__proto__||Object.getPrototypeOf(O)})(D)}function _setPrototypeOf(D,O){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(F,B){return F.__proto__=B,F})(D,O)}function _isNativeReflectConstruct(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(D){return!1}}function _construct(D,O,F){return(_construct=_isNativeReflectConstruct()?Reflect.construct.bind():function(B,G,U){var K=[null];K.push.apply(K,G);var X=new(Function.bind.apply(B,K));return U&&_setPrototypeOf(X,U.prototype),X}).apply(null,arguments)}function _isNativeFunction(D){return Function.toString.call(D).indexOf("[native code]")!==-1}function _wrapNativeSuper(D){var O=typeof Map=="function"?new Map:void 0;return(_wrapNativeSuper=function(F){if(F===null||!_isNativeFunction(F))return F;if(typeof F!="function")throw new TypeError("Super expression must either be null or a function");if(O!==void 0){if(O.has(F))return O.get(F);O.set(F,B)}function B(){return _construct(F,arguments,_getPrototypeOf(this).constructor)}return B.prototype=Object.create(F.prototype,{constructor:{value:B,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(B,F)})(D)}function _instanceof(D,O){return O!=null&&typeof Symbol!="undefined"&&O[Symbol.hasInstance]?!!O[Symbol.hasInstance](D):D instanceof O}function _interopRequireDefault(D){return D&&D.__esModule?D:{default:D}}function _getRequireWildcardCache(D){if(typeof WeakMap!="function")return null;var O=new WeakMap,F=new WeakMap;return(_getRequireWildcardCache=function(B){return B?F:O})(D)}function _interopRequireWildcard(D,O){if(!O&&D&&D.__esModule)return D;if(D===null||typeof D!="object"&&typeof D!="function")return{default:D};var F=_getRequireWildcardCache(O);if(F&&F.has(D))return F.get(D);var B={},G=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var U in D)if(U!=="default"&&Object.prototype.hasOwnProperty.call(D,U)){var K=G?Object.getOwnPropertyDescriptor(D,U):null;K&&(K.get||K.set)?Object.defineProperty(B,U,K):B[U]=D[U]}return B.default=D,F&&F.set(D,B),B}function _newArrowCheck(D,O){if(D!==O)throw new TypeError("Cannot instantiate an arrow function")}function _objectDestructuringEmpty(D){if(D==null)throw new TypeError("Cannot destructure "+D)}function _objectWithoutPropertiesLoose(D,O){if(D==null)return{};var F,B,G={},U=Object.keys(D);for(B=0;B<U.length;B++)F=U[B],O.indexOf(F)>=0||(G[F]=D[F]);return G}function _objectWithoutProperties(D,O){if(D==null)return{};var F,B,G=_objectWithoutPropertiesLoose(D,O);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(D);for(B=0;B<U.length;B++)F=U[B],O.indexOf(F)>=0||Object.prototype.propertyIsEnumerable.call(D,F)&&(G[F]=D[F])}return G}function _assertThisInitialized(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function _possibleConstructorReturn(D,O){if(O&&(typeof O=="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(D)}function _createSuper(D){var O=_isNativeReflectConstruct();return function(){var F,B=_getPrototypeOf(D);if(O){var G=_getPrototypeOf(this).constructor;F=Reflect.construct(B,arguments,G)}else F=B.apply(this,arguments);return _possibleConstructorReturn(this,F)}}function _superPropBase(D,O){for(;!Object.prototype.hasOwnProperty.call(D,O)&&(D=_getPrototypeOf(D))!==null;);return D}function _get(){return(_get=typeof Reflect!="undefined"&&Reflect.get?Reflect.get.bind():function(D,O,F){var B=_superPropBase(D,O);if(B){var G=Object.getOwnPropertyDescriptor(B,O);return G.get?G.get.call(arguments.length<3?D:F):G.value}}).apply(this,arguments)}function set(D,O,F,B){return(set=typeof Reflect!="undefined"&&Reflect.set?Reflect.set:function(G,U,K,X){var q,nt=_superPropBase(G,U);if(nt){if((q=Object.getOwnPropertyDescriptor(nt,U)).set)return q.set.call(X,K),!0;if(!q.writable)return!1}
80if(q=Object.getOwnPropertyDescriptor(X,U)){if(!q.writable)return!1;q.value=K,Object.defineProperty(X,U,q)}else _defineProperty(X,U,K);return!0})(D,O,F,B)}function _set(D,O,F,B,G){if(!set(D,O,F,B||D)&&G)throw new Error("failed to set property");return F}function _taggedTemplateLiteral(D,O){return O||(O=D.slice(0)),Object.freeze(Object.defineProperties(D,{raw:{value:Object.freeze(O)}}))}function _taggedTemplateLiteralLoose(D,O){return O||(O=D.slice(0)),D.raw=O,D}function _readOnlyError(D){throw new TypeError('"'+D+'" is read-only')}function _writeOnlyError(D){throw new TypeError('"'+D+'" is write-only')}function _classNameTDZError(D){throw new Error('Class "'+D+'" cannot be referenced in computed property keys.')}function _temporalUndefined(){}function _tdz(D){throw new ReferenceError(D+" is not defined - temporal dead zone")}function _temporalRef(D,O){return D===_temporalUndefined?_tdz(O):D}function _slicedToArray(D,O){return _arrayWithHoles(D)||_iterableToArrayLimit(D,O)||_unsupportedIterableToArray(D,O)||_nonIterableRest()}function _slicedToArrayLoose(D,O){return _arrayWithHoles(D)||_iterableToArrayLimitLoose(D,O)||_unsupportedIterableToArray(D,O)||_nonIterableRest()}function _toArray(D){return _arrayWithHoles(D)||_iterableToArray(D)||_unsupportedIterableToArray(D)||_nonIterableRest()}function _toConsumableArray(D){return _arrayWithoutHoles(D)||_iterableToArray(D)||_unsupportedIterableToArray(D)||_nonIterableSpread()}function _arrayWithoutHoles(D){if(Array.isArray(D))return _arrayLikeToArray(D)}function _arrayWithHoles(D){if(Array.isArray(D))return D}function _maybeArrayLike(D,O,F){if(O&&!Array.isArray(O)&&typeof O.length=="number"){var B=O.length;return _arrayLikeToArray(O,F!==void 0&&F<B?F:B)}return D(O,F)}function _iterableToArray(D){if(typeof Symbol!="undefined"&&D[Symbol.iterator]!=null||D["@@iterator"]!=null)return Array.from(D)}function _unsupportedIterableToArray(D,O){if(D){if(typeof D=="str
80ing")return _arrayLikeToArray(D,O);var F=Object.prototype.toString.call(D).slice(8,-1);return F==="Object"&&D.constructor&&(F=D.constructor.name),F==="Map"||F==="Set"?Array.from(D):F==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(F)?_arrayLikeToArray(D,O):void 0}}function _arrayLikeToArray(D,O){(O==null||O>D.length)&&(O=D.length);for(var F=0,B=new Array(O);F<O;F++)B[F]=D[F];return B}function _nonIterableSpread(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 81In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 82In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _createForOfIteratorHelper(D,O){var F=typeof Symbol!="undefined"&&D[Symbol.iterator]||D["@@iterator"];if(!F){if(Array.isArray(D)||(F=_unsupportedIterableToArray(D))||O&&D&&typeof D.length=="number"){F&&(D=F);var B=0,G=function(){};return{s:G,n:function(){return B>=D.length?{done:!0}:{done:!1,value:D[B++]}},e:function(q){throw q},f:G}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 83In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var U,K=!0,X=!1;return{s:function(){F=F.call(D)},n:function(){var q=F.next();return K=q.done,q},e:function(q){X=!0,U=q},f:function(){try{K||F.return==null||F.return()}finally{if(X)throw U}}}}function _createForOfIteratorHelperLoose(D,O){var F=typeof Symbol!="undefined"&&D[Symbol.iterator]||D["@@iterator"];if(F)return(F=F.call(D)).next.bind(F);if(Array.isArray(D)||(F=_unsupportedIterableToArray(D))||O&&D&&typeof D.length=="number"){F&&(D=F);var B=0;return function(){return B>=D.length?{done:!0}:{done:!1,value:D[B++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 84In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _skipFirstGeneratorNext(D){return function(){var O=D.apply(this,arguments);return O.next(),O}}function _toPrimitive(D,O){if(typeof D!="object"||D===null)return D;var F=D[Symbol.toPrimitive];if(F!==void 0){var B=F.call(D,O||"default");if(typeof B!="object")return B;throw new TypeError("@@toPrimitive must return a primitive value.")}return(O==="string"?String:Number)(D)}function _toPropertyKey(D){var O=_toPrimitive(D,"string");return typeof O=="symbol"?O:String(O)}function _initializerWarningHelper(D,O){throw new Error("Decorating class property failed. Please ensure that proposal-class-properties is enabled and runs after the decorators transform.")}function _initializerDefineProperty(D,O,F,B){F&&Object.defineProperty(D,O,{enumerable:F.enumerable,configurable:F.configurable,writable:F.writable,value:F.initializer?F.initializer.call(B):void 0})}function _applyDecoratedDescriptor(D,O,F,B,G){var U={};return Object.keys(B).forEach((function(K){U[K]=B[K]})),U.enumerable=!!U.enumerable,U.configurable=!!U.configurable,("value"in U||U.initializer)&&(U.writable=!0),U=F.slice().reverse().reduce((function(K,X){return X(D,O,K)||K}),U),G&&U.initializer!==void 0&&(U.value=U.initializer?U.initializer.call(G):void 0,U.initializer=void 0),U.initializer===void 0&&(Object.defineProperty(D,O,U),U=null),U}_AsyncGenerator.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},_AsyncGenerator.prototype.next=function(D){return this._invoke("next",D)},_AsyncGenerator.prototype.throw=function(D){return this._invoke("throw",D)},_AsyncGenerator.prototype.return=function(D){return this._invoke("return",D)};var id=0;function _classPrivateFieldLooseKey(D){return"__private_"+id+++"_"+D}function _classPrivateFieldLooseBase(D,O){if(!Object.prototype.hasOwnProperty.call(D,O))throw new TypeError("attempted to use private field on non-instance");return D}function _classPrivateFieldGet(D,O){return _classApplyDescriptorGet(D,_classExtractFieldDescriptor(D,O,"get"))}function _classPrivateFieldSet(D,O,F){return _classApplyDescriptorSet(D,_classExtractFieldDescriptor(D,O,"set"),F),F}function _classPrivateFieldDestructureSet(D,O){return _classApplyDescriptorDestructureSet(D,_classExtractFieldDescriptor(D,O,"set"))}function _classExtractFieldDescriptor(D,O,F){if(!O.has(D))throw new TypeError("attempted to "+F+" private field on non-instance");return O.get(D)}function _classStaticPrivateFieldSpecGet(D,O,F){return _classCheckPrivateStaticAccess(D,O),_classCheckPrivateStaticFieldDescriptor(F,"get"),_classApplyDescriptorGet(D,F)}function _classStaticPrivateFieldSpecSet(D,O,F,B){return _classCheckPrivateStaticAccess(D,O),_classCheckPrivateStaticFieldDescriptor(F,"set"),_classApplyDescriptorSet(D,F,B),B}function _classStaticPrivateMethodGet(D,O,F){return _classCheckPrivateStaticAccess(D,O),F}function _classStaticPrivateMethodSet(){throw new TypeError("attempted to set read only static private field")}function _classApplyDescriptorGet(D,O){return O.get?O.get.call(D):O.value}function _classApplyDescriptorSet(D,O,F){if(O.set)O.set.call(D,F);else{if(!O.writable)throw new TypeError("attempted to set read only private field");O.value=F}}function _classApplyDescriptorDestructureSet(D,O){if(O.set)return"__destrObj"in O||(O.__destrObj={set value(F){O.set.call(D,F)}}),O.__destrObj;if(!O.writable)throw new TypeError("attempted to set read only private field");return O}function _classStaticPrivateFieldDestructureSet(D,O,F){return _classCheckPrivateStaticAccess(D,O),_classCheckPrivateStaticFieldDescriptor(F,"set"),_classApplyDescriptorDestructureSet(D,F)}function _classCheckPrivateStaticAccess(D,O){if(D!==O)throw new TypeError("Private static access of wrong provenance")}function _classCheckPrivateStaticFieldDescriptor(D,O){if(D===void 0)throw new TypeError("attempted to "+O+" private static field before its declaration")}function _decorate(D,O,F,B){var G=_getDecoratorsApi();if(B)for(var U=0;U<B.length;U++)G=B[U](G);var K=O((function(q){G.initializeInstanceElements(q,X.elements)}),F),X=G.decorateClass(_coalesceClassElements(K.d.map(_createElementDescriptor)),D);return G.initializeClassElements(K.F,X.elements),G.runClassFinishers(K.F,X.finishers)}function _getDecoratorsApi(){_getDecoratorsApi=function(){return D};var D={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(O,F){["method","field"].forEach((function(B){F.forEach((function(G){G.kind===B&&G.placement==="own"&&this.defineClassElement(O,G)}),this)}),this)},initializeClassElements:function(O,F){var B=O.prototype;["method","field"].forEach((function(G){F.forEach((function(U){var K=U.placement;if(U.kind===G&&(K==="static"||K==="prototype")){var X=K==="static"?O:B;this.defineClassElement(X,U)}}),this)}),this)},defineClassElement:function(O,F){var B=F.descriptor;if(F.kind==="field"){var G=F.initializer;B={enumerable:B.enumerable,writable:B.writable,configurable:B.configurable,value:G===void 0?void 0:G.call(O)}}Object.defineProperty(O,F.key,B)},decorateClass:function(O,F){var B=[],G=[],U={static:[],prototype:[],own:[]};if(O.forEach((function(X){this.addElementPlacement(X,U)}),this),O.forEach((function(X){if(!_hasDecorators(X))return B.push(X);var q=this.decorateElement(X,U);B.push(q.element),B.push.apply(B,q.extras),G.push.apply(G,q.finishers)}),this),!F)return{elements:B,finishers:G};var K=this.decorateConstructor(B,F);return G.push.apply(G,K.finishers),K.finishers=G,K},addElementPlacement:function(O,F,B){var G=F[O.placement];if(!B&&G.indexOf(O.key)!==-1)throw new TypeError("Duplicated element ("+O.key+")");G.push(O.key)},decorateElement:function(O,F){for(var B=[],G=[],U=O.decorators,K=U.length-1;K>=0;K--){var X=F[O.placement];X.splice(X.indexOf(O.key),1);var q=this.fromElementDescriptor(O),nt=this.toElementFinisherExtras((0,U[K])(q)||q);O=nt.element,this.addElementPlacement(O,F),nt.finisher&&G.push(nt.finisher);var W=nt.extras;if(W){for(var Q=0;Q<W.length;Q++)this.addElementPlacement(W[Q],F);B.push.apply(B,W)}}return{element:O,finishers:G,extras:B}},decorateConstructor:function(O,F){for(var B=[],G=F.length-1;G>=0;G--){var U=this.fromClassDescriptor(O),K=this.toClassDescriptor((0,F[G])(U)||U);if(K.finisher!==void 0&&B.push(K.finisher),K.elements!==void 0){O=K.elements;for(var X=0;X<O.length-1;X++)for(var q=X+1;q<O.length;q++)if(O[X].key===O[q].key&&O[X].placement===O[q].placement)throw new TypeError("Duplicated element ("+O[X].key+")")}}return{elements:O,finishers:B}},fromElementDescriptor:function(O){var F={kind:O.kind,key:O.key,placement:O.placement,descriptor:O.descriptor};return Object.defineProperty(F,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),O.kind==="field"&&(F.initializer=O.initializer),F},toElementDescriptors:function(O){if(O!==void 0)return _toArray(O).map((function(F){var B=this.toElementDescriptor(F);return this.disallowProperty(F,"finisher","An element descriptor"),this.disallowProperty(F,"extras","An element descriptor"),B}),this)},toElementDescriptor:function(O){var F=String(O.kind);if(F!=="method"&&F!=="field")throw new TypeError(`An element descriptor's .kind property must be either "method" or "f
84ield", but a decorator created an element descriptor with .kind "`+F+'"');var B=_toPropertyKey(O.key),G=String(O.placement);if(G!=="static"&&G!=="prototype"&&G!=="own")throw new TypeError(`An element descriptor's .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "`+G+'"');var U=O.descriptor;this.disallowProperty(O,"elements","An element descriptor");var K={kind:F,key:B,placement:G,descriptor:Object.assign({},U)};return F!=="field"?this.disallowProperty(O,"initializer","A method descriptor"):(this.disallowProperty(U,"get","The property descriptor of a field descriptor"),this.disallowProperty(U,"set","The property descriptor of a field descriptor"),this.disallowProperty(U,"value","The property descriptor of a field descriptor"),K.initializer=O.initializer),K},toElementFinisherExtras:function(O){return{element:this.toElementDescriptor(O),finisher:_optionalCallableProperty(O,"finisher"),extras:this.toElementDescriptors(O.extras)}},fromClassDescriptor:function(O){var F={kind:"class",elements:O.map(this.fromElementDescriptor,this)};return Object.defineProperty(F,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),F},toClassDescriptor:function(O){var F=String(O.kind);if(F!=="class")throw new TypeError(`A class descriptor's .kind property must be "class", but a decorator created a class descriptor with .kind "`+F+'"');this.disallowProperty(O,"key","A class descriptor"),this.disallowProperty(O,"placement","A class descriptor"),this.disallowProperty(O,"descriptor","A class descriptor"),this.disallowProperty(O,"initializer","A class descriptor"),this.disallowProperty(O,"extras","A class descriptor");var B=_optionalCallableProperty(O,"finisher");return{elements:this.toElementDescriptors(O.elements),finisher:B}},runClassFinishers:function(O,F){for(var B=0;B<F.length;B++){var G=(0,F[B])(O);if(G!==void 0){if(typeof G!="function")throw new TypeError("Finishers must return a constructor.");O=G}}return O},disallowProperty:function(O,F,B){if(O[F]!==void 0)throw new TypeError(B+" can't have a ."+F+" property.")}};return D}function _createElementDescriptor(D){var O,F=_toPropertyKey(D.key);D.kind==="method"?O={value:D.value,writable:!0,configurable:!0,enumerable:!1}:D.kind==="get"?O={get:D.value,configurable:!0,enumerable:!1}:D.kind==="set"?O={set:D.value,configurable:!0,enumerable:!1}:D.kind==="field"&&(O={configurable:!0,writable:!0,enumerable:!0});var B={kind:D.kind==="field"?"field":"method",key:F,placement:D.static?"static":D.kind==="field"?"own":"prototype",descriptor:O};return D.decorators&&(B.decorators=D.decorators),D.kind==="field"&&(B.initializer=D.value),B}function _coalesceGetterSetter(D,O){D.descriptor.get!==void 0?O.descriptor.get=D.descriptor.get:O.descriptor.set=D.descriptor.set}function _coalesceClassElements(D){for(var O=[],F=function(K){return K.kind==="method"&&K.key===U.key&&K.placement===U.placement},B=0;B<D.length;B++){var G,U=D[B];if(U.kind==="method"&&(G=O.find(F)))if(_isDataDescriptor(U.descriptor)||_isDataDescriptor(G.descriptor)){if(_hasDecorators(U)||_hasDecorators(G))throw new ReferenceError("Duplicated methods ("+U.key+") can't be decorated.");G.descriptor=U.descriptor}else{if(_hasDecorators(U)){if(_hasDecorators(G))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+U.key+").");G.decorators=U.decorators}_coalesceGetterSetter(U,G)}else O.push(U)}return O}function _hasDecorators(D){return D.decorators&&D.decorators.length}function _isDataDescriptor(D){return D!==void 0&&!(D.value===void 0&&D.writable===void 0)}function _optionalCallableProperty(D,O){var F=D[O];if(F!==void 0&&typeof F!="function")throw new TypeError("Expected '"+O+"' to be a function");return F}function _classPrivateMethodGet(D,O,F){if(!O.has(D))throw new TypeError("attempted to get private field on non-instance");return F}function _checkPrivateRedeclaration(D,O){if(O.has(D))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _classPrivateFieldInitSpec(D,O,F){_checkPrivateRedeclaration(D,O),O.set(D,F)}function _classPrivateMethodInitSpec(D,O){_checkPrivateRedeclaration(D,O),O.add(D)}function _classPrivateMethodSet(){throw new TypeError("attempted to reassign private method")}function _identity(D){return D}/*! ***************************************************************************** 85Copyright (c) Microsoft Corporation. 86 87Permission to use, copy, modify, and/or distribute this software for any 88purpose with or without fee is hereby granted. 89 90THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 91REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 92AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 93INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 94LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 95OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 96PERFORMANCE OF THIS SOFTWARE. 97***************************************************************************** */var extendStatics=function(D,O){return(extendStatics=Object.
97setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,B){F.__proto__=B}||function(F,B){for(var G in B)B.hasOwnProperty(G)&&(F[G]=B[G])})(D,O)};function __extends(D,O){function F(){this.constructor=D}extendStatics(D,O),D.prototype=O===null?Object.create(O):(F.prototype=O.prototype,new F)}var __assign=function(){return(__assign=Object.assign||function(D){for(var O,F=1,B=arguments.length;F<B;F++)for(var G in O=arguments[F])Object.prototype.hasOwnProperty.call(O,G)&&(D[G]=O[G]);return D}).apply(this,arguments)};function __rest(D,O){var F={};for(var B in D)Object.prototype.hasOwnProperty.call(D,B)&&O.indexOf(B)<0&&(F[B]=D[B]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function"){var G=0;for(B=Object.getOwnPropertySymbols(D);G<B.length;G++)O.indexOf(B[G])<0&&Object.prototype.propertyIsEnumerable.call(D,B[G])&&(F[B[G]]=D[B[G]])}return F}function __decorate(D,O,F,B){var G,U=arguments.length,K=U<3?O:B===null?B=Object.getOwnPropertyDescriptor(O,F):B;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")K=Reflect.decorate(D,O,F,B);else for(var X=D.length-1;X>=0;X--)(G=D[X])&&(K=(U<3?G(K):U>3?G(O,F,K):G(O,F))||K);return U>3&&K&&Object.defineProperty(O,F,K),K}function __param(D,O){return function(F,B){O(F,B,D)}}function __metadata(D,O){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(D,O)}function __awaiter(D,O,F,B){return new(F||(F=Promise))((function(G,U){function K(nt){try{q(B.next(nt))}catch(W){U(W)}}function X(nt){try{q(B.throw(nt))}catch(W){U(W)}}function q(nt){var W;nt.done?G(nt.value):(W=nt.value,W instanceof F?W:new F((function(Q){Q(W)}))).then(K,X)}q((B=B.apply(D,O||[])).next())}))}function __generator(D,O){var F,B,G,U,K={label:0,sent:function(){if(1&G[0])throw G[1];return G[1]},trys:[],ops:[]};return U={next:X(0),throw:X(1),return:X(2)},typeof Symbol=="function"&&(U[Symbol.iterator]=function(){return this}),U;function X(q){return function(nt){return(function(W){if(F)throw new TypeError("Generator is already executing.");for(;K;)try{if(F=1,B&&(G=2&W[0]?B.return:W[0]?B.throw||((G=B.return)&&G.call(B),0):B.next)&&!(G=G.call(B,W[1])).done)return G;switch(B=0,G&&(W=[2&W[0],G.value]),W[0]){case 0:case 1:G=W;break;case 4:return K.label++,{value:W[1],done:!1};case 5:K.label++,B=W[1],W=[0];continue;case 7:W=K.ops.pop(),K.trys.pop();continue;default:if(G=K.trys,!((G=G.length>0&&G[G.length-1])||W[0]!==6&&W[0]!==2)){K=0;continue}if(W[0]===3&&(!G||W[1]>G[0]&&W[1]<G[3])){K.label=W[1];break}if(W[0]===6&&K.label<G[1]){K.label=G[1],G=W;break}if(G&&K.label<G[2]){K.label=G[2],K.ops.push(W);break}G[2]&&K.ops.pop(),K.trys.pop();continue}W=O.call(D,K)}catch(Q){W=[6,Q],B=0}finally{F=G=0}if(5&W[0])throw W[1];return{value:W[0]?W[1]:void 0,done:!0}})([q,nt])}}}function __createBinding(D,O,F,B){B===void 0&&(B=F),D[B]=O[F]}function __exportStar(D,O){for(var F in D)F==="default"||O.hasOwnProperty(F)||(O[F]=D[F])}function __values(D){var O=typeof Symbol=="function"&&Symbol.iterator,F=O&&D[O],B=0;if(F)return F.call(D);if(D&&typeof D.length=="number")return{next:function(){return D&&B>=D.length&&(D=void 0),{value:D&&D[B++],done:!D}}};throw new TypeError(O?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(D,O){var F=typeof Symbol=="function"&&D[Symbol.iterator];if(!F)return D;var B,G,U=F.call(D),K=[];try{for(;(O===void 0||O-- >0)&&!(B=U.next()).done;)K.push(B.value)}catch(X){G={error:X}}finally{try{B&&!B.done&&(F=U.return)&&F.call(U)}finally{if(G)throw G.error}}return K}function __spread(){for(var D=[],O=0;O<arguments.length;O++)D=D.concat(__read(arguments[O]));return D}function __spreadArrays(){for(var D=0,O=0,F=arguments.length;O<F;O++)D+=arguments[O].length;var B=Array(D),G=0;for(O=0;O<F;O++)for(var U=arguments[O],K=0,X=U.length;K<X;K++,G++)B[G]=U[K];return B}function __await(D){return this instanceof __await?(this.v=D,this):new __await(D)}function __asyncGenerator(D,O,F){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var B,G=F.apply(D,O||[]),U=[];return B={},K("next"),K("throw"),K("return"),B[Symbol.asyncIterator]=function(){return this},B;function K(Q){G[Q]&&(B[Q]=function(rt){return new Promise((function(J,tt){U.push([Q,rt,J,tt])>1||X(Q,rt)}))})}function X(Q,rt){try{(function(J){J.value instanceof __await?Promise.resolve(J.value.v).then(q,nt):W(U[0][2],J)})(G[Q](rt))}catch(J){W(U[0][3],J)}}function q(Q){X("next",Q)}function nt(Q){X("throw",Q)}function W(Q,rt){Q(rt),U.shift(),U.length&&X(U[0][0],U[0][1])}}function __asyncDelegator(D){var O,F;return O={},B("next"),B("throw",(function(G){throw G})),B("return"),O[Symbol.iterator]=function(){return this},O;function B(G,U){O[G]=D[G]?function(K){return(F=!F)?{value:__await(D[G](K)),done:G==="return"}:U?U(K):K}:U}}function __asyncValues(D){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var O,F=D[Symbol.asyncIterator];return F?F.call(D):(D=typeof __values=="function"?__values(D):D[Symbol.iterator](),O={},B("next"),B("throw"),B("return"),O[Symbol.asyncIterator]=function(){return this},O);function B(G){O[G]=D[G]&&function(U){return new Promise((function(K,X){(function(q,nt,W,Q){Promise.resolve(Q).then((function(rt){q({value:rt,done:W})}),nt)})(K,X,(U=D[G](U)).done,U.value)}))}}}
97function __makeTemplateObject(D,O){return Object.defineProperty?Object.defineProperty(D,"raw",{value:O}):D.raw=O,D}function __importStar(D){if(D&&D.__esModule)return D;var O={};if(D!=null)for(var F in D)Object.hasOwnProperty.call(D,F)&&(O[F]=D[F]);return O.default=D,O}function __importDefault(D){return D&&D.__esModule?D:{default:D}}function __classPrivateFieldGet(D,O){if(!O.has(D))throw new TypeError("attempted to get private field on non-instance");return O.get(D)}function __classPrivateFieldSet(D,O,F){if(!O.has(D))throw new TypeError("attempted to set private field on non-instance");return O.set(D,F),F}/** 98 * @license 99 * Copyright 2019 Google LLC 100 * SPDX-License-Identifier: BSD-3-Clause 101 */const t$3=window,e$9=t$3.ShadowRoot&&(t$3.ShadyCSS===void 0||t$3.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$3=Symbol(),n$4=new WeakMap;class o$6{constructor(O,F,B){if(this._$cssResult$=!0,B!==s$3)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=O,this.t=F}get styleSheet(){let O=this.o;const F=this.t;if(e$9&&O===void 0){const B=F!==void 0&&F.length===1;B&&(O=n$4.get(F)),O===void 0&&((this.o=O=new CSSStyleSheet).replaceSync(this.cssText),B&&n$4.set(F,O))}return O}toString(){return this.cssText}}const r$3=D=>
vendor: 12,096 bytes, lines 101-109
101new o$6(typeof D=="string"?D:D+"",void 0,s$3),i$4=(D,...O)=>{const F=D.length===1?D[0]:O.reduce((B,G,U)=>B+(K=>{if(K._$cssResult$===!0)return K.cssText;if(typeof K=="number")return K;throw Error("Value passed to 'css' function must be a 'css' function result: "+K+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(G)+D[U+1],D[0]);return new o$6(F,D,s$3)},S$1=(D,O)=>{e$9?D.adoptedStyleSheets=O.map(F=>F instanceof CSSStyleSheet?F:F.styleSheet):O.forEach(F=>{const B=document.createElement("style"),G=t$3.litNonce;G!==void 0&&B.setAttribute("nonce",G),B.textContent=F.cssText,D.appendChild(B)})},c$1=e$9?D=>D:D=>D instanceof CSSStyleSheet?(O=>{let F="";for(const B of O.cssRules)F+=B.cssText;return r$3(F)})(D):D;var s$2;const e$8=window,r$2=e$8.trustedTypes,h$2=r$2?r$2.emptyScript:"",o$5=e$8.reactiveElementPolyfillSupport,n$3={toAttribute(D,O){switch(O){case Boolean:D=D?h$2:null;break;case Object:case Array:D=D==null?D:JSON.stringify(D)}return D},fromAttribute(D,O){let F=D;switch(O){case Boolean:F=D!==null;break;case Number:F=D===null?null:Number(D);break;case Object:case Array:try{F=JSON.parse(D)}catch(B){F=null}}return F}},a$1=(D,O)=>O!==D&&(O==O||D==D),l$3={attribute:!0,type:String,converter:n$3,reflect:!1,hasChanged:a$1};class d$1 extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(O){var F;this.finalize(),((F=this.h)!==null&&F!==void 0?F:this.h=[]).push(O)}static get observedAttributes(){this.finalize();const O=[];return this.elementProperties.forEach((F,B)=>{const G=this._$Ep(B,F);G!==void 0&&(this._$Ev.set(G,B),O.push(G))}),O}static createProperty(O,F=l$3){if(F.state&&(F.attribute=!1),this.finalize(),this.elementProperties.set(O,F),!F.noAccessor&&!this.prototype.hasOwnProperty(O)){const B=typeof O=="symbol"?Symbol():"__"+O,G=this.getPropertyDescriptor(O,B,F);G!==void 0&&Object.defineProperty(this.prototype,O,G)}}static getPropertyDescriptor(O,F,B){return{get(){return this[F]},set(G){const U=this[O];this[F]=G,this.requestUpdate(O,U,B)},configurable:!0,enumerable:!0}}static getPropertyOptions(O){return this.elementProperties.get(O)||l$3}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const O=Object.getPrototypeOf(this);if(O.finalize(),O.h!==void 0&&(this.h=[...O.h]),this.elementProperties=new Map(O.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const F=this.properties,B=[...Object.getOwnPropertyNames(F),...Object.getOwnPropertySymbols(F)];for(const G of B)this.createProperty(G,F[G])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(O){const F=[];if(Array.isArray(O)){const B=new Set(O.flat(1/0).reverse());for(const G of B)F.unshift(c$1(G))}else O!==void 0&&F.push(c$1(O));return F}static _$Ep(O,F){const B=F.attribute;return B===!1?void 0:typeof B=="string"?B:typeof O=="string"?O.toLowerCase():void 0}u(){var O;this._$E_=new Promise(F=>this.enableUpdating=F),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(O=this.constructor.h)===null||O===void 0||O.forEach(F=>F(this))}addController(O){var F,B;((F=this._$ES)!==null&&F!==void 0?F:this._$ES=[]).push(O),this.renderRoot!==void 0&&this.isConnected&&((B=O.hostConnected)===null||B===void 0||B.call(O))}removeController(O){var F;(F=this._$ES)===null||F===void 0||F.splice(this._$ES.indexOf(O)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((O,F)=>{this.hasOwnProperty(F)&&(this._$Ei.set(F,this[F]),delete this[F])})}createRenderRoot(){var O;const F=(O=this.shadowRoot)!==null&&O!==void 0?O:this.attachShadow(this.constructor.shadowRootOptions);return S$1(F,this.constructor.elementStyles),F}connectedCallback(){var O;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(O=this._$ES)===null||O===void 0||O.forEach(F=>{var B;return(B=F.hostConnected)===null||B===void 0?void 0:B.call(F)})}enableUpdating(O){}disconnectedCallback(){var O;(O=this._$ES)===null||O===void 0||O.forEach(F=>{var B;return(B=F.hostDisconnected)===null||B===void 0?void 0:B.call(F)})}attributeChangedCallback(O,F,B){this._$AK(O,B)}_$EO(O,F,B=l$3){var G;const U=this.constructor._$Ep(O,B);if(U!==void 0&&B.reflect===!0){const K=(((G=B.converter)===null||G===void 0?void 0:G.toAttribute)!==void 0?B.converter:n$3).toAttribute(F,B.type);this._$El=O,K==null?this.removeAttribute(U):this.setAttribute(U,K),this._$El=null}}_$AK(O,F){var B;const G=this.constructor,U=G._$Ev.get(O);if(U!==void 0&&this._$El!==U){const K=G.getPropertyOptions(U),X=typeof K.converter=="function"?{fromAttribute:K.converter}:((B=K.converter)===null||B===void 0?void 0:B.fromAttribute)!==void 0?K.converter:n$3;this._$El=U,this[U]=X.fromAttribute(F,K.type),this._$El=null}}requestUpdate(O,F,B){let G=!0;O!==void 0&&(((B=B||this.constructor.getPropertyOptions(O)).hasChanged||a$1)(this[O],F)?(this._$AL.has(O)||this._$AL.set(O,F),B.reflect===!0&&this._$El!==O&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(O,B))):G=!1),!this.isUpdatePending&&G&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(F){Promise.reject(F)}const O=this.scheduleUpdate();return O!=null&&await O,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var O;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((G,U)=>this[U]=G),this._$Ei=void 0);let F=!1;const B=this._$AL;try{F=this.shouldUpdate(B),F?(this.willUpdate(B),(O=this._$ES)===null||O===void 0||O.forEach(G=>{var U;return(U=G.hostUpdate)===null||U===void 0?void 0:U.call(G)}),this.update(B)):this._$Ek()}catch(G){throw F=!1,this._$Ek(),G}F&&this._$AE(B)}willUpdate(O){}_$AE(O){var F;(F=this._$ES)===null||F===void 0||F.forEach(B=>{var G;return(G=B.hostUpdated)===null||G===void 0?void 0:G.call(B)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(O)),this.updated(O)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(O){return!0}update(O){this._$EC!==void 0&&(this._$EC.forEach((F,B)=>this._$EO(B,this[B],F)),this._$EC=void 0),this._$Ek()}updated(O){}firstUpdated(O){}}/** 102 * @license 103 * Copyright 2017 Google LLC 104 * SPDX-License-Identifier: BSD-3-Clause 105 */var t$2;d$1.finalized=!0,d$1.elementProperties=new Map,d$1.elementStyles=[],d$1.shadowRootOptions={mode:"open"},o$5==null||o$5({ReactiveElement:d$1}),((s$2=e$8.reactiveElementVersions)!==null&&s$2!==void 0?s$2:e$8.reactiveElementVersions=[]).push("1.5.0");const i$3=window,s$1=i$3.trustedTypes,e$7=s$1?s$1.createPolicy("lit-html",{createHTML:D=>D}):void 0,o$4=`lit$${(Math.random()+"").slice(9)}$`,n$2="?"+o$4,l$2=`<${n$2}>`,h$1=document,r$1=(D="")=>h$1.createComment(D),d=D=>D===null||typeof D!="object"&&typeof D!="function",u=Array.isArray,c=D=>u(D)||typeof(D==null?void 0:D[Symbol.iterator])=="function",v=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,a=/-->/g,f=/>/g,_=RegExp(`>|[ 106\f\r](?:([^\\s"'>=/]+)([ 107\f\r]*=[ 108\f\r]*(?:[^ 109\f\r"'\`<>=]|("|')|))|$)`,"g"),m=/'/g,p=/"/g,$=/^(?:script|style|textarea|title)$/i,g=D=>(O,...F)=>({_$litType$:D,strings:O,values:F}),y=g(1),w=g(2),x$1=Symbol.for("lit-noChange"),b=Symbol.for("lit-nothing"),T=new WeakMap,A=h$1.createTreeWalker(h$1,129,null,!1),E=(D,O)=>{const F=D.length-1,B=[];let G,U=O===2?"<svg>":"",K=v;for(let q=0;q<F;q++){const nt=D[q];let W,Q,rt=-1,J=0;for(;J<nt.length&&(K.lastIndex=J,Q=K.exec(nt),Q!==null);)J=K.lastIndex,K===v?Q[1]==="!--"?K=a:Q[1]!==void 0?K=f:Q[2]!==void 0?($.test(Q[2])&&(G=RegExp("</"+Q[2],"g")),K=_):Q[3]!==void 0&&(K=_):K===_?Q[0]===">"?(K=G!=null?G:v,rt=-1):Q[1]===void 0?rt=-2:(rt=K.lastIndex-Q[2].length,W=Q[1],K=Q[3]===void 0?_:Q[3]==='"'?p:m):K===p||K===m?K=_:K===a||K===f?K=v:(K=_,G=void 0);const tt=K===_&&D[q+1].startsWith("/>")?" ":"";U+=K===v?nt+l$2:rt>=0?(B.push(W),nt.slice(0,rt)+"$lit$"+nt.slice(rt)+o$4+tt):nt+o$4+(rt===-2?(B.push(void 0),q):tt)}const X=U+(D[F]||"<?>")+(O===2?"</svg>":"");if(!Array.isArray(D)||!D.hasOwnProperty("raw"))throw Error("invalid template strings array");return[e$7!==void 0?e$7.createHTML(X):X,B]};class C{constructor({strings:O,_$litType$:F},B){let G;this.parts=[];let U=0,K=0;const X=O.length-1,q=this.parts,[nt,W]=E(O,F);if(this.el=C.createElement(nt,B),A.currentNode=this.el.content,F===2){const Q=this.el.content,rt=Q.firstChild;rt.remove(),Q.append(...rt.childNodes)}for(;(G=A.nextNode())!==null&&q.length<X;){if(G.nodeType===1){if(G.hasAttributes()){const Q=[];for(const rt of G.getAttributeNames())if(rt.endsWith("$lit$")||rt.startsWith(o$4)){const J=W[K++];if(Q.push(rt),J!==void 0){const tt=G.getAttribute(J.toLowerCase()+"$lit$").split(o$4),at=/([.?@])?(.*)/.exec(J);q.push({type:1,index:U,name:at[2],strings:tt,ctor:at[1]==="."?M:at[1]==="?"?k:at[1]==="@"?H:S})}else q.push({type:6,index:U})}for(const rt of Q)G.removeAttribute(rt)}if($.test(G.tagName)){const Q=G.textContent.split(o$4),rt=Q.length-1;if(rt>0){G.textContent=s$1?s$1.emptyScript:"";for(let J=0;J<rt;J++)G.append(Q[J],r$1()),A.nextNode(),q.push({type:2,index:++U});G.append(Q[rt],r$1())}}}else if(G.nodeType===8)if(G.data===n$2)q.push({type:2,index:U});else{let Q=-1;for(;(Q=G.data.indexOf(o$4,Q+1))!==-1;)q.push({type:7,index:U}),Q+=o$4.length-1}U++}}static createElement(O,F){const B=h$1.createElement("template");return B.innerHTML=O,B}}function P(D,O,F=D,B){var G,U,K,X;if(O===x$1)return O;let q=B!==void 0?(G=F._$Co)===null||G===void 0?void 0:G[B]:F._$Cl;const nt=d(O)?void 0:O._$litDirective$;return(q==null?void 0:q.constructor)!==nt&&((U=q==null?void 0:q._$AO)===null||U===void 0||U.call(q,!1),nt===void 0?q=void 0:(q=new nt(D),q._$AT(D,F,B)),B!==void 0?((K=(X=F)._$Co)!==null&&K!==void 0?K:X._$Co=[])[B]=q:F._$Cl=q),q!==void 0&&(O=P(D,q._$AS(D,O.values),q,B)),O}class V{constructor(O,F){this.u=[],this._$AN=void 0,this._$AD=O,this._$AM=F}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(O){var F;const{el:{content:B},parts:G}=this._$AD,U=((F=O==null?void 0:O.creationScope)!==null&&F!==void 0?F:h$1).importNode(B,!0);A.currentNode=U;let K=A.nextNode(),X=0,q=0,nt=G[0];for(;nt!==void 0;){if(X===nt.index){let W;nt.type===2?W=new N(K,K.nextSibling,this,O):nt.type===1?W=new nt.ctor(K,nt.name,nt.strings,this,O):nt.type===6&&(W=new I(K,this,O)),this.u.push(W),nt=G[++q]}X!==(nt==null?void 0:nt.index)&&(K=A.nextNode(),X++)}return U}p(O){let F=0;for(const B of this.u)B!==void 0&&(B.strings!==void 0?(B._$AI(O,B,F),F+=B.strings.length-2):B._$AI(O[F])),F++}}class N{constructor(O,F,B,G){var U;this.type=2,this._$AH=b,this._$AN=void 0,this._$AA=O,this._$AB=F,this._$AM=B,this.options=G,this._$Cm=(U=G==null?void 0:G.isConnected)===null||U===void 0||U}get _$AU(){var O,F;return(F=(O=this._$AM)===null||O===void 0?void 0:O._$AU)!==null&&F!==void 0?F:this._$Cm}get parentNode(){let O=this._$AA.parentNode;const F=this._$AM;return F!==void 0&&O.nodeType===11&&(O=F.parentNode),O}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(O,F=this){O=P(this,O,F),d(O)?O===b||O==null||O===""?(this._$AH!==b&&this._$AR(),this._$AH=b):O!==this._$AH&&O!==x$1&&this.g(O):O._$litType$!==void 0?this.$(O):O.nodeType!==void 0?this.T(O):c(O)?this.k(O):this.g(O)}O(O,F=this._$AB){return this._$AA.parentNode.insertBefore(O,F)}T(O){this._$AH!==O&&(this._$AR(),this._$AH=this.O(O))}g(O){this._$AH!==b&&d(this._$AH)?this._$AA.nextSibling.data=O:this.T(h$1.createTextNode(O)),this._$AH=O}$(O){var F;const{values:B,_$litType$:G}=O,U=typeof G=="number"?this._$AC(O):(G.el===void 0&&(G.el=C.createElement(G.h,this.options)),G);if(((F=this._$AH)===null||F===void 0?void 0:F._$AD)===U)this._$AH.p(B);else{const K=new V(U,this),X=K.v(this.options);K.p(B),this.T(X),this._$AH=K}}_$AC(O){let F=T.get(O.strings);return F===void 0&&T.set(O.strings,F=new C(O)),F}k(O){u(this._$AH)||(this._$AH=[],this._$AR());const F=this._$AH;let B,G=0;for(const U of O)G===F.length?F.push(B=new N(this.O(r$1()),this.O(r$1()),this,this.options)):B=F[G],B._$AI(U),G++;G<F.length&&(this._$AR(B&&B._$AB.nextSibling,G),F.length=G)}_$AR(O=this._$AA.nextSibling,F){var B;
109for((B=this._$AP)===null||B===void 0||B.call(this,!1,!0,F);O&&O!==this._$AB;){const G=O.nextSibling;O.remove(),O=G}}setConnected(O){var F;this._$AM===void 0&&(this._$Cm=O,(F=this._$AP)===null||F===void 0||F.call(this,O))}}class S{constructor(O,F,B,G,U){this.type=1,this._$AH=b,this._$AN=void 0,this.element=O,this.name=F,this._$AM=G,this.options=U,B.length>2||B[0]!==""||B[1]!==""?(this._$AH=Array(B.length-1).fill(new String),this.strings=B):this._$AH=b}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(O,F=this,B,G){const U=this.strings;let K=!1;if(U===void 0)O=P(this,O,F,0),K=!d(O)||O!==this._$AH&&O!==x$1,K&&(this._$AH=O);else{const X=O;let q,nt;for(O=U[0],q=0;q<U.length-1;q++)nt=P(this,X[B+q],F,q),nt===x$1&&(nt=this._$AH[q]),K||(K=!d(nt)||nt!==this._$AH[q]),nt===b?O=b:O!==b&&(O+=(nt!=null?nt:"")+U[q+1]),this._$AH[q]=nt}K&&!G&&this.j(O)}j(O){O===b?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,O!=null?O:"")}}class M extends S{constructor(){super(...arguments),this.type=3}j(O){this.element[this.name]=O===b?void 0:O}}const R=s$1?s$1.emptyScript:"";class k extends S{constructor(){super(...arguments),this.type=4}j(O){O&&O!==b?this.element.setAttribute(this.name,R):this.element.removeAttribute(this.name)}}class H extends S{constructor(O,F,B,G,U){super(O,F,B,G,U),this.type=5}_$AI(O,F=this){var B;if((O=(B=P(this,O,F,0))!==null&&B!==void 0?B:b)===x$1)return;const G=this._$AH,U=O===b&&G!==b||O.capture!==G.capture||O.once!==G.once||O.passive!==G.passive,K=O!==b&&(G===b||U);U&&this.element.removeEventListener(this.name,this,G),K&&this.element.addEventListener(this.name,this,O),this._$AH=O}handleEvent(O){var F,B;typeof this._$AH=="function"?this._$AH.call((B=(F=this.options)===null||F===void 0?void 0:F.host)!==null&&B!==void 0?B:this.element,O):this._$AH.handleEvent(O)}}class I{constructor(O,F,B){this.element=O,this.type=6,this._$AN=void 0,this._$AM=F,this.options=B}get _$AU(){return this._$AM._$AU}_$AI(O){P(this,O)}}const L={P:"$lit$",A:o$4,M:n$2,C:1,L:E,R:V,D:c,V:P,I:N,H:S,N:k,U:H,B:M,F:I},z=i$3.litHtmlPolyfillSupport;z==null||z(C,N),((t$2=i$3.litHtmlVersions)!==null&&t$2!==void 0?t$2:i$3.litHtmlVersions=[]).push("2.5.0");const Z=(D,O,F)=>{var B,G;const U=(B=F==null?void 0:F.renderBefore)!==null&&B!==void 0?B:O;let K=U._$litPart$;if(K===void 0){const X=(G=F==null?void 0:F.renderBefore)!==null&&G!==void 0?G:null;U._$litPart$=K=new N(O.insertBefore(r$1(),X),X,void 0,F!=null?F:{})}return K._$AI(D),K;/** 110 * @license 111 * Copyright 2017 Google LLC 112 * SPDX-License-Identifier: BSD-3-Clause 113 */};var l$1,o$3;const r=d$1;class s extends d$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var O,F;const B=super.createRenderRoot();return(O=(F=this.renderOptions).renderBefore)!==null&&O!==void 0||(F.renderBefore=B.firstChild),B}update(O){const F=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(O),this._$Do=Z(F,this.renderRoot,this.renderOptions)}connectedCallback(){var O;super.connectedCallback(),(O=this._$Do)===null||O===void 0||O.setConnected(!0)}disconnectedCallback(){var O;super.disconnectedCallback(),(O=this._$Do)===null||O===void 0||O.setConnected(!1)}render(){return x$1}}s.finalized=!0,s._$litElement$=!0,(l$1=globalThis.litElementHydrateSupport)===null||l$1===void 0||l$1.call(globalThis,{LitElement:s});const n$1=globalThis.litElementPolyfillSupport;n$1==null||n$1({LitElement:s});const h={_$AK:(D,O,F)=>{D._$AK(O,F)},_$AL:D=>D._$AL};((o$3=globalThis.litElementVersions)!==null&&o$3!==void 0?o$3:globalThis.litElementVersions=[]).push("3.2.2");/** 114 * @license 115 * Copyright 2022 Google LLC 116 * SPDX-License-Identifier: BSD-3-Clause 117 */const o$2=!1,e$6=D=>O=>typeof O=="function"?((F,B)=>(customElements.define(F,B),B))(D,O):((F,B)=>{const{kind:G,elements:U}=B;return{kind:G,elements:U,finisher(K){customElements.define(F,K)}}})(D,O),i$2=(D,O)=>O.kind==="method"&&O.descriptor&&!("value"in O.descriptor)?sr(Bn({},O),{finisher(F){F.createProperty(O.key,D)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:O.key,initializer(){typeof O.initializer=="function"&&(this[O.key]=O.initializer.call(this))},finisher(F){F.createProperty(O.key,D)}};/** 118 * @license 119 * Copyright 2017 Google LLC 120 * SPDX-License-Identifier: BSD-3-Clause 121 */function e$5(D){return(O,F)=>F!==void 0?((B,G,U)=>{G.constructor.createProperty(U,B)})(D,O,F):i$2(D,O);/** 122 * @license 123 * Copyright 2017 Google LLC 124 * SPDX-License-Identifier: BSD-3-Clause 125 */}function t$1(D){return e$5(sr(Bn({},D),{state:!0}))}/** 126 * @license 127 * Copyright 2017 Google LLC 128 * SPDX-License-Identifier: BSD-3-Clause 129 */const e$4=(D,O,F)=>{Object.defineProperty(O,F,D)},t=(D,O)=>({kind:"method",placement:"prototype",key:O.key,descriptor:D}),o$1=({finisher:D,descriptor:O})=>(F,B)=>{var G;if(B===void 0){const U=(G=F.originalKey)!==null&&G!==void 0?G:F.key,K=O!=null?{kind:"method",placement:"prototype",key:U,descriptor:O(F.key)}:sr(Bn({},F),{key:U});return D!=null&&(K.finisher=function(X){D(X,U)}),K}{const U=F.constructor;
129O!==void 0&&Object.defineProperty(F,B,O(B)),D==null||D(U,B)}};function e$3(D){return o$1({finisher:(O,F)=>{Object.assign(O.prototype[F],D)}})}/** 130 * @license 131 * Copyright 2017 Google LLC 132 * SPDX-License-Identifier: BSD-3-Clause 133 */function i$1(D,O){return o$1({descriptor:F=>{const B={get(){var G,U;return(U=(G=this.renderRoot)===null||G===void 0?void 0:G.querySelector(D))!==null&&U!==void 0?U:null},enumerable:!0,configurable:!0};if(O){const G=typeof F=="symbol"?Symbol():"__"+F;B.get=function(){var U,K;return this[G]===void 0&&(this[G]=(K=(U=this.renderRoot)===null||U===void 0?void 0:U.querySelector(D))!==null&&K!==void 0?K:null),this[G]}}return B}})}/** 134 * @license 135 * Copyright 2017 Google LLC 136 * SPDX-License-Identifier: BSD-3-Clause 137 */function e$2(D){return o$1({descriptor:O=>({get(){var F,B;return(B=(F=this.renderRoot)===null||F===void 0?void 0:F.querySelectorAll(D))!==null&&B!==void 0?B:[]},enumerable:!0,configurable:!0})})}/** 138 * @license 139 * Copyright 2017 Google LLC 140 * SPDX-License-Identifier: BSD-3-Clause 141 */function e$1(D){return o$1({descriptor:O=>({async get(){var F;return await this.updateComplete,(F=this.renderRoot)===null||F===void 0?void 0:F.querySelector(D)},enumerable:!0,configurable:!0})})}/** 142 * @license 143 * Copyright 2021 Google LLC 144 * SPDX-License-Identifier: BSD-3-Clause 145 */var n;const e=((n=window.HTMLSlotElement)===null||n===void 0?void 0:n.prototype.assignedElements)!=null?(D,O)=>D.assignedElements(O):(D,O)=>D.assignedNodes(O).filter(F=>F.nodeType===Node.ELEMENT_NODE);function l(D){const{slot:O,selector:F}=D!=null?D:{};return o$1({descriptor:B=>({get(){var G;const U="slot"+(O?`[name=${O}]`:":not([name])"),K=(G=this.renderRoot)===null||G===void 0?void 0:G.querySelector(U),X=K!=null?e(K,D):[];return F?X.filter(q=>q.matches(F)):X},enumerable:!0,configurable:!0})})}/** 146 * @license 147 * Copyright 2017 Google LLC 148 * SPDX-License-Identifier: BSD-3-Clause 149 */function o(D,O,F){let B,G=D;return typeof D=="object"?(G=D.slot,B=D):B={flatten:O},F?l({slot:G,flatten:O,selector:F}):o$1({descriptor:U=>({get(){var K,X;const q="slot"+(G?`[name=${G}]`:":not([name])"),nt=(K=this.renderRoot)===null||K===void 0?void 0:K.querySelector(q);return(X=nt==null?void 0:nt.assignedNodes(B))!==null&&X!==void 0?X:[]},enumerable:!0,configurable:!0})})}var commonjsGlobal=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function createCommonjsModule(D,O,F){return D(F={path:O,exports:{},require:function(B,G){return commonjsRequire(B,G==null?F.path:G)}},F.exports),F.exports}function getCjsExportFromNamespace(D){return D&&D.default||D}function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var lottie=createCommonjsModule((function(module,exports){typeof navigator!="undefined"&&(function(D,O){module.exports=O()})(0,(function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(D){_useWebWorker=!!D},getWebWorker=function(){return _useWebWorker},setLocationHref=function(D){locationHref=D},getLocationHref=function(){return locationHref};function createTag(D){return document.createElement(D)}function extendPrototype(D,O){var F,B,G=D.length;for(F=0;F<G;F+=1)for(var U in B=D[F].prototype)Object.prototype.hasOwnProperty.call(B,U)&&(O.prototype[U]=B[U])}function getDescriptor(D,O){return Object.getOwnPropertyDescriptor(D,O)}function createProxyFunction(D){function O(){}return O.prototype=D,O}var audioControllerFactory=(function(){function D(O){this.audios=[],this.audioFactory=O,this._volume=1,this._isMuted=!1}return D.prototype={addAudio:function(O){this.audios.push(O)},pause:function(){var O,F=this.audios.length;for(O=0;O<F;O+=1)this.audios[O].pause()},resume:function(){var O,F=this.audios.length;for(O=0;O<F;O+=1)this.audios[O].resume()},setRate:function(O){var F,B=this.audios.length;for(F=0;F<B;F+=1)this.audios[F].setRate(O)},createAudio:function(O){return this.audioFactory?this.audioFactory(O):window.Howl?new window.Howl({src:[O]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(O){this.audioFactory=O},setVolume:function(O){this._volume=O,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var O,F=this.audios.length;for(O=0;O<F;O+=1)this.audios[O].volume(this._volume*(this._isMuted?0:1))}},function(){return new D}})(),createTypedArray=(function(){function D(O,F){var B,G=0,U=[];
vendor: 5,109 bytes, line 149
149switch(O){case"int16":case"uint8c":B=1;break;default:B=1.1}for(G=0;G<F;G+=1)U.push(B);return U}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?function(O,F){return O==="float32"?new Float32Array(F):O==="int16"?new Int16Array(F):O==="uint8c"?new Uint8ClampedArray(F):D(O,F)}:D})();function createSizedArray(D){return Array.apply(null,{length:D})}function _typeof$6(D){return(_typeof$6=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O})(D)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}(function(){var D,O=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],F=O.length;for(D=0;D<F;D+=1)BMMath[O[D]]=Math[O[D]]})(),BMMath.random=Math.random,BMMath.abs=function(D){if(_typeof$6(D)==="object"&&D.length){var O,F=createSizedArray(D.length),B=D.length;for(O=0;O<B;O+=1)F[O]=Math.abs(D[O]);return F}return Math.abs(D)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(D){_shouldRoundValues=!!D}function bmRnd(D){return _shouldRoundValues?Math.round(D):D}function styleDiv(D){D.style.position="absolute",D.style.top=0,D.style.left=0,D.style.display="block",D.style.transformOrigin="0 0",D.style.webkitTransformOrigin="0 0",D.style.backfaceVisibility="visible",D.style.webkitBackfaceVisibility="visible",D.style.transformStyle="preserve-3d",D.style.webkitTransformStyle="preserve-3d",D.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(D,O,F,B){this.type=D,this.currentTime=O,this.totalTime=F,this.direction=B<0?-1:1}function BMCompleteEvent(D,O){this.type=D,this.direction=O<0?-1:1}function BMCompleteLoopEvent(D,O,F,B){this.type=D,this.currentLoop=F,this.totalLoops=O,this.direction=B<0?-1:1}function BMSegmentStartEvent(D,O,F){this.type=D,this.firstFrame=O,this.totalFrames=F}function BMDestroyEvent(D,O){this.type=D,this.target=O}function BMRenderFrameErrorEvent(D,O){this.type="renderFrameError",this.nativeError=D,this.currentTime=O}function BMConfigErrorEvent(D){this.type="configError",this.nativeError=D}function BMAnimationConfigErrorEvent(D,O){this.type=D,this.nativeError=O}var createElementID=(_count=0,function(){return idPrefix$1+"__lottie_element_"+(_count+=1)}),_count;function HSVtoRGB(D,O,F){var B,G,U,K,X,q,nt,W;switch(q=F*(1-O),nt=F*(1-(X=6*D-(K=Math.floor(6*D)))*O),W=F*(1-(1-X)*O),K%6){case 0:B=F,G=W,U=q;break;case 1:B=nt,G=F,U=q;break;case 2:B=q,G=F,U=W;break;case 3:B=q,G=nt,U=F;break;case 4:B=W,G=q,U=F;break;case 5:B=F,G=q,U=nt}return[B,G,U]}function RGBtoHSV(D,O,F){var B,G=Math.max(D,O,F),U=Math.min(D,O,F),K=G-U,X=G===0?0:K/G,q=G/255;switch(G){case U:B=0;break;case D:B=O-F+K*(O<F?6:0),B/=6*K;break;case O:B=F-D+2*K,B/=6*K;break;case F:B=D-O+4*K,B/=6*K}return[B,X,q]}function addSaturationToRGB(D,O){var F=RGBtoHSV(255*D[0],255*D[1],255*D[2]);return F[1]+=O,F[1]>1?F[1]=1:F[1]<=0&&(F[1]=0),HSVtoRGB(F[0],F[1],F[2])}function addBrightnessToRGB(D,O){var F=RGBtoHSV(255*D[0],255*D[1],255*D[2]);return F[2]+=O,F[2]>1?F[2]=1:F[2]<0&&(F[2]=0),HSVtoRGB(F[0],F[1],F[2])}function addHueToRGB(D,O){var F=RGBtoHSV(255*D[0],255*D[1],255*D[2]);return F[0]+=O/360,F[0]>1?F[0]-=1:F[0]<0&&(F[0]+=1),HSVtoRGB(F[0],F[1],F[2])}var rgbToHex=(function(){var D,O,F=[];for(D=0;D<256;D+=1)O=D.toString(16),F[D]=O.length===1?"0"+O:O;return function(B,G,U){return B<0&&(B=0),G<0&&(G=0),U<0&&(U=0),"#"+F[B]+F[G]+F[U]}})(),setSubframeEnabled=function(D){subframeEnabled=!!D},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(D){expressionsPlugin=D},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(D){expressionsInterfaces=D},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(D){defaultCurveSegments=D},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(D){idPrefix$1=D},getIdPrefix=function(){return idPrefix$1};function createNS(D){return document.createElementNS(svgNS,D)}function _typeof$5(D){return(_typeof$5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O})(D)}var dataManager=(function(){var D,O,F=1,B=[],G={onmessage:function(){},postMessage:function(q){D({data:q})}},U={postMessage:function(q){G.onmessage({data:q})}};function K(){O||((O=(function(q){if(window.Worker&&window.Blob&&getWebWorker()){var nt=new Blob(["var _workerSelf = self;
149 self.onmessage = ",q.toString()],{type:"text/javascript"}),W=URL.createObjectURL(nt);return new Worker(W)}return D=q,G})((function(q){if(U.dataManager||(U.dataManager=(function(){function W(ct,dt){var bt,wt,St,_t,xt,Dt,Ft=ct.length;for(wt=0;wt<Ft;wt+=1)if("ks"in(bt=ct[wt])&&!bt.completed){if(bt.completed=!0,bt.hasMask){var jt=bt.masksProperties;for(_t=jt.length,St=0;St<_t;St+=1)if(jt[St].pt.k.i)J(jt[St].pt.k);else for(Dt=jt[St].pt.k.length,xt=0;xt<Dt;xt+=1)jt[St].pt.k[xt].s&&J(jt[St].pt.k[xt].s[0]),jt[St].pt.k[xt].e&&J(jt[St].pt.k[xt].e[0])}bt.ty===0?(bt.layers=Q(bt.refId,dt),W(bt.layers,dt)):bt.ty===4?rt(bt.shapes):bt.ty===5&&pt(bt)}}function Q(ct,dt){var bt=(function(wt,St){for(var _t=0,xt=St.length;_t<xt;){if(St[_t].id===wt)return St[_t];_t+=1}return null})(ct,dt);return bt?bt.layers.__used?JSON.parse(JSON.stringify(bt.layers)):(bt.layers.__used=!0,bt.layers):null}function rt(ct){var dt,bt,wt;for(dt=ct.length-1;dt>=0;dt-=1)if(ct[dt].ty==="sh")if(ct[dt].ks.k.i)J(ct[dt].ks.k);else for(wt=ct[dt].ks.k.length,bt=0;bt<wt;bt+=1)ct[dt].ks.k[bt].s&&J(ct[dt].ks.k[bt].s[0]),ct[dt].ks.k[bt].e&&J(ct[dt].ks.k[bt].e[0]);else ct[dt].ty==="gr"&&rt(ct[dt].it)}function J(ct){var dt,bt=ct.i.length;for(dt=0;dt<bt;dt+=1)ct.i[dt][0]+=ct.v[dt][0],ct.i[dt][1]+=ct.v[dt][1],ct.o[dt][0]+=ct.v[dt][0],ct.o[dt][1]+=ct.v[dt][1]}function tt(ct,dt){var bt=dt?dt.split("."):[100,100,100];return ct[0]>bt[0]||!(bt[0]>ct[0])&&(ct[1]>bt[1]||!(bt[1]>ct[1])&&(ct[2]>bt[2]||!(bt[2]>ct[2])&&null))}var at,Y=(function(){var ct=[4,4,14];function dt(bt){var wt,St,_t,xt=bt.length;for(wt=0;wt<xt;wt+=1)bt[wt].ty===5&&(St=bt[wt],_t=void 0,_t=St.t.d,St.t.d={k:[{s:_t,t:0}]})}return function(bt){if(tt(ct,bt.v)&&(dt(bt.layers),bt.assets)){var wt,St=bt.assets.length;for(wt=0;wt<St;wt+=1)bt.assets[wt].layers&&dt(bt.assets[wt].layers)}}})(),it=(at=[4,7,99],function(ct){if(ct.chars&&!tt(at,ct.v)){var dt,bt=ct.chars.length;for(dt=0;dt<bt;dt+=1){var wt=ct.chars[dt];wt.data&&wt.data.shapes&&(rt(wt.data.shapes),wt.data.ip=0,wt.data.op=99999,wt.data.st=0,wt.data.sr=1,wt.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},ct.chars[dt].t||(wt.data.shapes.push({ty:"no"}),wt.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}),ot=(function(){var ct=[5,7,15];function dt(bt){var wt,St,_t,xt=bt.length;for(wt=0;wt<xt;wt+=1)bt[wt].ty===5&&(St=bt[wt],_t=void 0,typeof(_t=St.t.p).a=="number"&&(_t.a={a:0,k:_t.a}),typeof _t.p=="number"&&(_t.p={a:0,k:_t.p}),typeof _t.r=="number"&&(_t.r={a:0,k:_t.r}))}return function(bt){if(tt(ct,bt.v)&&(dt(bt.layers),bt.assets)){var wt,St=bt.assets.length;for(wt=0;wt<St;wt+=1)bt.assets[wt].layers&&dt(bt.assets[wt].layers)}}})(),ft=(function(){var ct=[4,1,9];function dt(wt){var St,_t,xt,Dt=wt.length;for(St=0;St<Dt;St+=1)if(wt[St].ty==="gr")dt(wt[St].it);else if(wt[St].ty==="fl"||wt[St].ty==="st")if(wt[St].c.k&&wt[St].c.k[0].i)for(xt=wt[St].c.k.length,_t=0;_t<xt;_t+=1)wt[St].c.k[_t].s&&(wt[St].c.k[_t].s[0]/=255,wt[St].c.k[_t].s[1]/=255,wt[St].c.k[_t].s[2]/=255,wt[St].c.k[_t].s[3]/=255),wt[St].c.k[_t].e&&(wt[St].c.k[_t].e[0]/=255,wt[St].c.k[_t].e[1]/=255,wt[St].c.k[_t].e[2]/=255,wt[St].c.k[_t].e[3]/=255);else wt[St].c.k[0]/=255,wt[St].c.k[1]/=255,wt[St].c.k[2]/=255,wt[St].c.k[3]/=255}function bt(wt){var St,_t=wt.length;for(St=0;St<_t;St+=1)wt[St].ty===4&&dt(wt[St].shapes)}return function(wt){if(tt(ct,wt.v)&&(bt(wt.layers),wt.assets)){var St,_t=wt.assets.length;for(St=0;St<_t;St+=1)wt.assets[St].layers&&bt(wt.assets[St].layers)}}})(),gt=(function(){var ct=[4,4,18];function dt(wt){var St,_t,xt;for(St=wt.length-1;St>=0;St-=1)if(wt[St].ty==="sh")if(wt[St].ks.k.i)wt[St].ks.k.c=wt[St].closed;else for(xt=wt[St].ks.k.length,_t=0;_t<xt;_t+=1)wt[St].ks.k[_t].s&&(wt[St].ks.k[_t].s[0].c=wt[St].closed),wt[St].ks.k[_t].e&&(wt[St].ks.k[_t].e[0].c=wt[St].closed);else wt[St].ty==="gr"&&dt(wt[St].it)}function bt(wt){var St,_t,xt,Dt,Ft,jt,Ht=wt.length;for(_t=0;_t<Ht;_t+=1){if((St=wt[_t]).hasMask){var Pt=St.masksProperties;for(Dt=Pt.length,xt=0;xt<Dt;xt+=1)if(Pt[xt].pt.k.i)Pt[xt].pt.k.c=Pt[xt].cl;else for(jt=Pt[xt].pt.k.length,Ft=0;Ft<jt;Ft+=1)Pt[xt].pt.k[Ft].s&&(Pt[xt].pt.k[Ft].s[0].c=Pt[xt].cl),Pt[xt].pt.k[Ft].e&&(Pt[xt].pt.k[Ft].e[0].c=Pt[xt].cl)}St.ty===4&&dt(St.shapes)}}return function(wt){if(tt(ct,wt.v)&&(bt(wt.layers),wt.assets)){var St,_t=wt.assets.length;for(St=0;St<_t;St+=1)wt.assets[St].layers&&bt(wt.assets[St].layers)}}})();
149function pt(ct){ct.t.a.length===0&&ct.t.p}var vt={completeData:function(ct){ct.__complete||(ft(ct),Y(ct),it(ct),ot(ct),gt(ct),W(ct.layers,ct.assets),(function(dt,bt){if(dt){var wt=0,St=dt.length;for(wt=0;wt<St;wt+=1)dt[wt].t===1&&(dt[wt].data.layers=Q(dt[wt].data.refId,bt),W(dt[wt].data.layers,bt))}})(ct.chars,ct.assets),ct.__complete=!0)}};return vt.checkColors=ft,vt.checkChars=it,vt.checkPathProperties=ot,vt.checkShapes=gt,vt.completeLayers=W,vt})()),U.assetLoader||(U.assetLoader=(function(){function W(Q){var rt=Q.getResponseHeader("content-type");return rt&&Q.responseType==="json"&&rt.indexOf("json")!==-1||Q.response&&_typeof$5(Q.response)==="object"?Q.response:Q.response&&typeof Q.response=="string"?JSON.parse(Q.response):Q.responseText?JSON.parse(Q.responseText):null}return{load:function(Q,rt,J,tt){var at,Y=new XMLHttpRequest;try{Y.responseType="json"}catch(it){}Y.onreadystatechange=function(){if(Y.readyState===4)if(Y.status===200)at=W(Y),J(at);else try{at=W(Y),J(at)}catch(it){tt&&tt(it)}};try{Y.open(["G","E","T"].join(""),Q,!0)}catch(it){Y.open(["G","E","T"].join(""),rt+"/"+Q,!0)}Y.send()}}})()),q.data.type==="loadAnimation")U.assetLoader.load(q.data.path,q.data.fullPath,(function(W){U.dataManager.completeData(W),U.postMessage({id:q.data.id,payload:W,status:"success"})}),(function(){U.postMessage({id:q.data.id,status:"error"})}));else if(q.data.type==="complete"){var nt=q.data.animation;U.dataManager.completeData(nt),U.postMessage({id:q.data.id,payload:nt,status:"success"})}else q.data.type==="loadData"&&U.assetLoader.load(q.data.path,q.data.fullPath,(function(W){U.postMessage({id:q.data.id,payload:W,status:"success"})}),(function(){U.postMessage({id:q.data.id,status:"error"})}))}))).onmessage=function(q){var nt=q.data,W=nt.id,Q=B[W];B[W]=null,nt.status==="success"?Q.onComplete(nt.payload):Q.onError&&Q.onError()})}function X(q,nt){var W="processId_"+(F+=1);return B[W]={onComplete:q,onError:nt},W}return{loadAnimation:function(q,nt,W){K();var Q=X(nt,W);O.postMessage({type:"loadAnimation",path:q,fullPath:window.location.origin+window.location.pathname,id:Q})},loadData:function(q,nt,W){K();var Q=X(nt,W);O.postMessage({type:"loadData",path:q,fullPath:window.location.origin+window.location.pathname,id:Q})},completeAnimation:function(q,nt,W){K();var Q=X(nt,W);O.postMessage({type:"complete",animation:q,id:Q})}}})(),ImagePreloader=(function(){var D=(function(){var X=createTag("canvas");X.width=1,X.height=1;var q=X.getContext("2d");return q.fillStyle="rgba(0,0,0,0)",q.fillRect(0,0,1,1),X})();function O(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function F(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function B(X,q,nt){var W="";if(X.e)W=X.p;else if(q){var Q=X.p;Q.indexOf("images/")!==-1&&(Q=Q.split("/")[1]),W=q+Q}else W=nt,W+=X.u?X.u:"",W+=X.p;return W}function G(X){var q=0,nt=setInterval(function(){(X.getBBox().width||q>500)&&(this._imageLoaded(),clearInterval(nt)),q+=1}.bind(this),50)}function U(X){var q={assetData:X},nt=B(X,this.assetsPath,this.path);return dataManager.loadData(nt,function(W){q.img=W,this._footageLoaded()}.bind(this),function(){q.img={},this._footageLoaded()}.bind(this)),q}function K(){this._imageLoaded=O.bind(this),this._footageLoaded=F.bind(this),this.testImageLoaded=G.bind(this),this.createFootageData=U.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return K.prototype={loadAssets:function(X,q){var nt;this.imagesLoadedCb=q;var W=X.length;for(nt=0;nt<W;nt+=1)X[nt].layers||(X[nt].t&&X[nt].t!=="seq"?X[nt].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(X[nt]))):(this.totalImages+=1,this.images.push(this._createImageData(X[nt]))))},setAssetsPath:function(X){this.assetsPath=X||""},setPath:function(X){this.path=X||""},loadedImages:function(){return this.totalImages===this.loadedAssets},loadedFootages:function(){return this.totalFootages===this.loadedFootagesCount},destroy:function(){this.imagesLoadedCb=null,this.images.length=0},getAsset:function(X){for(var q=0,nt=this.images.length;q<nt;){if(this.images[q].assetData===X)return this.images[q].img;q+=1}return null},createImgData:function(X){var q=B(X,this.assetsPath,this.path),nt=createTag("img");nt.crossOrigin="anonymous",nt.addEventListener("load",this._imageLoaded,!1),nt.addEventListener("error",function(){W.img=D,this._imageLoaded()}.bind(this),!1),nt.src=q;var W={img:nt,assetData:X};return W},createImageData:function(X){var q=B(X,this.assetsPath,this.path),nt=createNS("image");isSafari?this.testImageLoaded(nt):nt.addEventListener("load",this._imageLoaded,!1),nt.addEventListener("error",function(){W.img=D,this._imageLoaded()}.bind(this),!1),nt.setAttributeNS("http://www.w3.org/1999/xlink","href",q),this._elementHelper.append?this._elementHelper.append(nt):this._elementHelper.appendChild(nt);var W={img:nt,assetData:X};return W},imageLoaded:O,footageLoaded:F,setCacheType:function(X,q){X==="svg"?(this._elementHelper=q,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},K})();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(D,O){if(this._cbs[D])for(var F=this._cbs[D],B=0;B<F.length;B+=1)F[B](O)},addEventListener:function(D,O){return this._cbs[D]||(this._cbs[D]=[]),this._cbs[D].push(O),function(){this.removeEventListener(
149D,O)}.bind(this)},removeEventListener:function(D,O){if(O){if(this._cbs[D]){for(var F=0,B=this._cbs[D].length;F<B;)this._cbs[D][F]===O&&(this._cbs[D].splice(F,1),F-=1,B-=1),F+=1;this._cbs[D].length||(this._cbs[D]=null)}}else this._cbs[D]=null}};var markerParser=(function(){function D(O){for(var F,B=O.split(`\r 150`),G={},U=0,K=0;K<B.length;K+=1)(F=B[K].split(":")).length===2&&(G[F[0]]=F[1].trim(),U+=1);if(U===0)throw new Error;return G}return function(O){for(var F=[],B=0;B<O.length;B+=1){var G=O[B],U={time:G.tm,duration:G.dr};try{U.payload=JSON.parse(O[B].cm)}catch(K){try{U.payload=D(O[B].cm)}catch(X){U.payload={name:O[B].cm}}}F.push(U)}return F}})(),ProjectInterface=(function(){function D(O){this.compositions.push(O)}return function(){function O(F){for(var B=0,G=this.compositions.length;B<G;){if(this.compositions[B].data&&this.compositions[B].data.nm===F)return this.compositions[B].prepareFrame&&this.compositions[B].data.xt&&this.compositions[B].prepareFrame(this.currentFrame),this.compositions[B].compInterface;B+=1}return null}return O.compositions=[],O.currentFrame=0,O.registerComposition=D,O}})(),renderers={},registerRenderer=function(D,O){renderers[D]=O};function getRenderer(D){return renderers[D]}function _typeof$4(D){return(_typeof$4=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O})(D)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0)};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(D){(D.wrapper||D.container)&&(this.wrapper=D.wrapper||D.container);var O="svg";D.animType?O=D.animType:D.renderer&&(O=D.renderer);var F=getRenderer(O);this.renderer=new F(this,D.rendererSettings),this.imagePreloader.setCacheType(O,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=O,D.loop===""||D.loop===null||D.loop===void 0||D.loop===!0?this.loop=!0:D.loop===!1?this.loop=!1:this.loop=parseInt(D.loop,10),this.autoplay=!("autoplay"in D)||D.autoplay,this.name=D.name?D.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(D,"autoloadSegments")||D.autoloadSegments,this.assetsPath=D.assetsPath,this.initialSegment=D.initialSegment,D.audioFactory&&this.audioController.setAudioFactory(D.audioFactory),D.animationData?this.setupAnimation(D.animationData):D.path&&(D.path.lastIndexOf("\\")!==-1?this.path=D.path.substr(0,D.path.lastIndexOf("\\")+1):this.path=D.path.substr(0,D.path.lastIndexOf("/")+1),this.fileName=D.path.substr(D.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(D.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(D){dataManager.completeAnimation(D,this.configAnimation)},AnimationItem.prototype.setData=function(D,O){O&&_typeof$4(O)!=="object"&&(O=JSON.parse(O));var F={wrapper:D,animationData:O},B=D.attributes;F.path=B.getNamedItem("data-animation-path")?B.getNamedItem("data-animation-path").value:B.getNamedItem("data-bm-path")?B.getNamedItem("data-bm-path").value:B.getNamedItem("bm-path")?B.getNamedItem("bm-path").value:"",F.animType=B.getNamedItem("data-anim-type")?B.getNamedItem("data-anim-type").value:B.getNamedItem("data-bm-type")?B.getNamedItem("data-bm-type").value:B.getNamedItem("bm-type")?B.getNamedItem("bm-type").value:B.getNamedItem("data-bm-renderer")?B.getNamedItem("data-bm-renderer").value:B.getNamedItem("bm-renderer")?B.getNamedItem("bm-renderer").value:"canvas";var G=B.getNamedItem("data-anim-loop")?B.getNamedItem("data-anim-loop").value:B.getNamedItem("data-bm-loop")?B.getNamedItem("data-bm-loop").value:B.getNamedItem("bm-loop")?B.getNamedItem("bm-loop").value:"";G==="false"?F.loop=!1:G==="true"?F.loop=!0:G!==""&&(F.loop=parseInt(G,10));
vendor: 4,610 bytes, line 150
150var U=B.getNamedItem("data-anim-autoplay")?B.getNamedItem("data-anim-autoplay").value:B.getNamedItem("data-bm-autoplay")?B.getNamedItem("data-bm-autoplay").value:!B.getNamedItem("bm-autoplay")||B.getNamedItem("bm-autoplay").value;F.autoplay=U!=="false",F.name=B.getNamedItem("data-name")?B.getNamedItem("data-name").value:B.getNamedItem("data-bm-name")?B.getNamedItem("data-bm-name").value:B.getNamedItem("bm-name")?B.getNamedItem("bm-name").value:"",(B.getNamedItem("data-anim-prerender")?B.getNamedItem("data-anim-prerender").value:B.getNamedItem("data-bm-prerender")?B.getNamedItem("data-bm-prerender").value:B.getNamedItem("bm-prerender")?B.getNamedItem("bm-prerender").value:"")==="false"&&(F.prerender=!1),this.setParams(F)},AnimationItem.prototype.includeLayers=function(D){D.op>this.animationData.op&&(this.animationData.op=D.op,this.totalFrames=Math.floor(D.op-this.animationData.ip));var O,F,B=this.animationData.layers,G=B.length,U=D.layers,K=U.length;for(F=0;F<K;F+=1)for(O=0;O<G;){if(B[O].id===U[F].id){B[O]=U[F];break}O+=1}if((D.chars||D.fonts)&&(this.renderer.globalData.fontManager.addChars(D.chars),this.renderer.globalData.fontManager.addFonts(D.fonts,this.renderer.globalData.defs)),D.assets)for(G=D.assets.length,O=0;O<G;O+=1)this.animationData.assets.push(D.assets[O]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(D){this.animationData=D;var O=getExpressionsPlugin();O&&O.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var D=this.animationData.segments;if(!D||D.length===0||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var O=D.shift();this.timeCompleted=O.time*this.frameRate;var F=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(F,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(D){if(this.renderer)try{this.animationData=D,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(D),D.assets||(D.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(D.assets),this.markers=markerParser(D.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(O){this.triggerConfigError(O)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var D=getExpressionsPlugin();D&&D.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(D,O){var F=typeof D=="number"?D:void 0,B=typeof O=="number"?O:void 0;this.renderer.updateContainerSize(F,B)},AnimationItem.prototype.setSubframe=function(D){this.isSubframeEnabled=!!D},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(this.isLoaded!==!1&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}
vendor: 4,084 bytes, line 150
150catch(D){this.triggerRenderFrameError(D)}},AnimationItem.prototype.play=function(D){D&&this.name!==D||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_pause"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(D){D&&this.name!==D||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_play"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(D){D&&this.name!==D||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(D){D&&this.name!==D||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(D){for(var O,F=0;F<this.markers.length;F+=1)if((O=this.markers[F]).payload&&O.payload.name===D)return O;return null},AnimationItem.prototype.goToAndStop=function(D,O,F){if(!F||this.name===F){var B=Number(D);if(isNaN(B)){var G=this.getMarkerData(D);G&&this.goToAndStop(G.time,!0)}else O?this.setCurrentRawFrameValue(D):this.setCurrentRawFrameValue(D*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(D,O,F){if(!F||this.name===F){var B=Number(D);if(isNaN(B)){var G=this.getMarkerData(D);G&&(G.duration?this.playSegments([G.time,G.time+G.duration],!0):this.goToAndStop(G.time,!0))}else this.goToAndStop(B,O,F);this.play()}},AnimationItem.prototype.advanceTime=function(D){if(this.isPaused!==!0&&this.isLoaded!==!1){var O=this.currentRawFrame+D*this.frameModifier,F=!1;O>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?O>=this.totalFrames?(this.playCount+=1,this.checkSegments(O%this.totalFrames)||(this.setCurrentRawFrameValue(O%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(O):this.checkSegments(O>this.totalFrames?O%this.totalFrames:0)||(F=!0,O=this.totalFrames-1):O<0?this.checkSegments(O%this.totalFrames)||(!this.loop||this.playCount--<=0&&this.loop!==!0?(F=!0,O=0):(this.setCurrentRawFrameValue(this.totalFrames+O%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(O),F&&(this.setCurrentRawFrameValue(O),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(D,O){this.playCount=0,D[1]<D[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=D[0]-D[1],this.timeCompleted=this.totalFrames,this.firstFrame=D[1],this.setCurrentRawFrameValue(this.totalFrames-.001-O)):D[1]>D[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=D[1]-D[0],this.timeCompleted=this.totalFrames,this.firstFrame=D[0],this.setCurrentRawFrameValue(.001+O)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(D,O){var F=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<D?F=D:this.currentRawFrame+this.firstFrame>O&&(F=O-D)),this.firstFrame=D,this.totalFrames=O-D,this.timeCompleted=this.totalFrames,F!==-1&&this.goToAndStop(F,!0)},AnimationItem.prototype.playSegments=function(D,O){if(O&&(this.segments.length=0),_typeof$4(D[0])==="object"){var F,B=D.length;for(F=0;F<B;F+=1)this.segments.push(D[F])}else this.segments.push(D);this.segments.length&&O&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(D){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),D&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(D){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),D),!0)},AnimationItem.prototype.destroy=function(D){D&&this.name!==D||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.renderer=null,this.imagePreloader=null,this.projectInterface=null)}
vendor: 3,647 bytes, line 150
150,AnimationItem.prototype.setCurrentRawFrameValue=function(D){this.currentRawFrame=D,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(D){this.playSpeed=D,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(D){this.playDirection=D<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setVolume=function(D,O){O&&this.name!==O||this.audioController.setVolume(D)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(D){D&&this.name!==D||this.audioController.mute()},AnimationItem.prototype.unmute=function(D){D&&this.name!==D||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(D){var O="";if(D.e)O=D.p;else if(this.assetsPath){var F=D.p;F.indexOf("images/")!==-1&&(F=F.split("/")[1]),O=this.assetsPath+F}else O=this.path,O+=D.u?D.u:"",O+=D.p;return O},AnimationItem.prototype.getAssetData=function(D){for(var O=0,F=this.assets.length;O<F;){if(D===this.assets[O].id)return this.assets[O];O+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(D){return D?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(D,O,F){try{this.renderer.getElementByPath(D).updateDocumentData(O,F)}catch(B){}},AnimationItem.prototype.trigger=function(D){if(this._cbs&&this._cbs[D])switch(D){case"enterFrame":this.triggerEvent(D,new BMEnterFrameEvent(D,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(D,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(D,new BMCompleteLoopEvent(D,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(D,new BMCompleteEvent(D,this.frameMult));break;case"segmentStart":this.triggerEvent(D,new BMSegmentStartEvent(D,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(D,new BMDestroyEvent(D,this));break;default:this.triggerEvent(D)}D==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(D,this.currentFrame,this.totalFrames,this.frameMult)),D==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(D,this.loop,this.playCount,this.frameMult)),D==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(D,this.frameMult)),D==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(D,this.firstFrame,this.totalFrames)),D==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(D,this))},AnimationItem.prototype.triggerRenderFrameError=function(D){var O=new BMRenderFrameErrorEvent(D,this.currentFrame);this.triggerEvent("error",O),this.onError&&this.onError.call(this,O)},AnimationItem.prototype.triggerConfigError=function(D){var O=new BMConfigErrorEvent(D,this.currentFrame);this.triggerEvent("error",O),this.onError&&this.onError.call(this,O)};var animationManager=(function(){var D={},O=[],F=0,B=0,G=0,U=!0,K=!1;function X(at){for(var Y=0,it=at.target;Y<B;)O[Y].animation===it&&(O.splice(Y,1),Y-=1,B-=1,it.isPaused||W()),Y+=1}function q(at,Y){if(!at)return null;for(var it=0;
vendor: 5,996 bytes, line 150
150it<B;){if(O[it].elem===at&&O[it].elem!==null)return O[it].animation;it+=1}var ot=new AnimationItem;return Q(ot,at),ot.setData(at,Y),ot}function nt(){G+=1,tt()}function W(){G-=1}function Q(at,Y){at.addEventListener("destroy",X),at.addEventListener("_active",nt),at.addEventListener("_idle",W),O.push({elem:Y,animation:at}),B+=1}function rt(at){var Y,it=at-F;for(Y=0;Y<B;Y+=1)O[Y].animation.advanceTime(it);F=at,G&&!K?window.requestAnimationFrame(rt):U=!0}function J(at){F=at,window.requestAnimationFrame(rt)}function tt(){!K&&G&&U&&(window.requestAnimationFrame(J),U=!1)}return D.registerAnimation=q,D.loadAnimation=function(at){var Y=new AnimationItem;return Q(Y,null),Y.setParams(at),Y},D.setSpeed=function(at,Y){var it;for(it=0;it<B;it+=1)O[it].animation.setSpeed(at,Y)},D.setDirection=function(at,Y){var it;for(it=0;it<B;it+=1)O[it].animation.setDirection(at,Y)},D.play=function(at){var Y;for(Y=0;Y<B;Y+=1)O[Y].animation.play(at)},D.pause=function(at){var Y;for(Y=0;Y<B;Y+=1)O[Y].animation.pause(at)},D.stop=function(at){var Y;for(Y=0;Y<B;Y+=1)O[Y].animation.stop(at)},D.togglePause=function(at){var Y;for(Y=0;Y<B;Y+=1)O[Y].animation.togglePause(at)},D.searchAnimations=function(at,Y,it){var ot,ft=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),gt=ft.length;for(ot=0;ot<gt;ot+=1)it&&ft[ot].setAttribute("data-bm-type",it),q(ft[ot],at);if(Y&>===0){it||(it="svg");var pt=document.getElementsByTagName("body")[0];pt.innerText="";var vt=createTag("div");vt.style.width="100%",vt.style.height="100%",vt.setAttribute("data-bm-type",it),pt.appendChild(vt),q(vt,at)}},D.resize=function(){var at;for(at=0;at<B;at+=1)O[at].animation.resize()},D.goToAndStop=function(at,Y,it){var ot;for(ot=0;ot<B;ot+=1)O[ot].animation.goToAndStop(at,Y,it)},D.destroy=function(at){var Y;for(Y=B-1;Y>=0;Y-=1)O[Y].animation.destroy(at)},D.freeze=function(){K=!0},D.unfreeze=function(){K=!1,tt()},D.setVolume=function(at,Y){var it;for(it=0;it<B;it+=1)O[it].animation.setVolume(at,Y)},D.mute=function(at){var Y;for(Y=0;Y<B;Y+=1)O[Y].animation.mute(at)},D.unmute=function(at){var Y;for(Y=0;Y<B;Y+=1)O[Y].animation.unmute(at)},D.getRegisteredAnimations=function(){var at,Y=O.length,it=[];for(at=0;at<Y;at+=1)it.push(O[at].animation);return it},D})(),BezierFactory=(function(){var D={getBezierEasing:function(nt,W,Q,rt,J){var tt=J||("bez_"+nt+"_"+W+"_"+Q+"_"+rt).replace(/\./g,"p");if(O[tt])return O[tt];var at=new q([nt,W,Q,rt]);return O[tt]=at,at}},O={},F=typeof Float32Array=="function";function B(nt,W){return 1-3*W+3*nt}function G(nt,W){return 3*W-6*nt}function U(nt){return 3*nt}function K(nt,W,Q){return((B(W,Q)*nt+G(W,Q))*nt+U(W))*nt}function X(nt,W,Q){return 3*B(W,Q)*nt*nt+2*G(W,Q)*nt+U(W)}function q(nt){this._p=nt,this._mSampleValues=F?new Float32Array(11):new Array(11),this._precomputed=!1,this.get=this.get.bind(this)}return q.prototype={get:function(nt){var W=this._p[0],Q=this._p[1],rt=this._p[2],J=this._p[3];return this._precomputed||this._precompute(),W===Q&&rt===J?nt:nt===0?0:nt===1?1:K(this._getTForX(nt),Q,J)},_precompute:function(){var nt=this._p[0],W=this._p[1],Q=this._p[2],rt=this._p[3];this._precomputed=!0,nt===W&&Q===rt||this._calcSampleValues()},_calcSampleValues:function(){for(var nt=this._p[0],W=this._p[2],Q=0;Q<11;++Q)this._mSampleValues[Q]=K(.1*Q,nt,W)},_getTForX:function(nt){for(var W=this._p[0],Q=this._p[2],rt=this._mSampleValues,J=0,tt=1;tt!==10&&rt[tt]<=nt;++tt)J+=.1;var at=J+.1*((nt-rt[--tt])/(rt[tt+1]-rt[tt])),Y=X(at,W,Q);return Y>=.001?(function(it,ot,ft,gt){for(var pt=0;pt<4;++pt){var vt=X(ot,ft,gt);if(vt===0)return ot;ot-=(K(ot,ft,gt)-it)/vt}return ot})(nt,at,W,Q):Y===0?at:(function(it,ot,ft,gt,pt){var vt,ct,dt=0;do(vt=K(ct=ot+(ft-ot)/2,gt,pt)-it)>0?ft=ct:ot=ct;while(Math.abs(vt)>1e-7&&++dt<10);return ct})(nt,J,J+.1,W,Q)}},D})(),pooling={double:function(D){return D.concat(createSizedArray(D.length))}},poolFactory=function(D,O,F){var B=0,G=D,U=createSizedArray(G);return{newElement:function(){return B?U[B-=1]:O()},release:function(K){B===G&&(U=pooling.double(U),G*=2),F&&F(K),U[B]=K,B+=1}}},bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}})),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(D){var O,F=D.lengths.length;for(O=0;O<F;O+=1)bezierLengthPool.release(D.lengths[O]);D.lengths.length=0}));function bezFunction(){var D=Math;function O(nt,W,Q,rt,J,tt){var at=nt*rt+W*J+Q*tt-J*rt-tt*nt-Q*W;return at>-.001&&at<.001}var F=function(nt,W,Q,rt){var J,tt,at,Y,it,ot,ft=getDefaultCurveSegments(),gt=0,pt=[],vt=[],ct=bezierLengthPool.newElement();for(at=Q.length,J=0;J<ft;J+=1){for(it=J/(ft-1),ot=0,tt=0;tt<at;tt+=1)Y=bmPow(1-it,3)*nt[tt]+3*bmPow(1-it,2)*it*Q[tt]+3*(1-it)*bmPow(it,2)*rt[tt]+bmPow(it,3)*W[tt],pt[tt]=Y,vt[tt]!==null&&(ot+=bmPow(pt[tt]-vt[tt],2)),vt[tt]=pt[tt];ot&&(gt+=ot=bmSqrt(ot)),ct.percents[J]=it,ct.lengths[J]=gt}return ct.addedLength=gt,ct};function B(nt){this.segmentLength=0,this.points=new Array(nt)}function G(nt,W){this.partialLength=nt,this.point=W}var U,K=(U={},function(nt,W,Q,rt){var J=(nt[0]+"_"+nt[1]+"_"+W[0]+"_"+W[1]+"_"+Q[0]+"_"+Q[1]+"_"+rt[0]+"_"+rt[1]).replace(/\./g,"p");if(!U[J]){var tt,at,Y,it,ot,ft,gt,pt=getDefaultCurveSegments(),vt=0,ct=null;nt.length===2&&(nt[0]!==W[0]||nt[1]!==W[1])&&O(nt[0],nt[1],W[0],W[1],nt[0]+Q[0],nt[1]+Q[1])&&O(nt[0],nt[1],W[0],W[1],W[0]+rt[0],W[1]+rt[1])&&(pt=2);var dt=new B(pt);for(Y=Q.length,tt=0;tt<pt;tt+=1){for(gt=createSizedArray(Y),ot=tt/(pt-1),ft=0,at=0;at<Y;at+=1)it=bmPow(1-ot,3)*nt[at]+3*bmPow(1-ot,2)*ot*(nt[at]+Q[at])+3*(1-ot)*bmPow(ot,2)*(W[at]+rt[at])+bmPow(ot,3)*W[at],gt[at]=it,ct!==null&&(ft+=bmPow(gt[at]-ct[at],2));vt+=ft=bmSqrt(ft),dt.points[tt]=new G(ft,gt),ct=gt}dt.segmentLength=vt,U[J]=dt}return U[J]});function X(nt,W){var Q=W.percents,rt=W.lengths,J=Q.length,tt=bmFloor((J-1)*nt),at=nt*W.addedLength,Y=0;
vendor: 4,368 bytes, line 150
150if(tt===J-1||tt===0||at===rt[tt])return Q[tt];for(var it=rt[tt]>at?-1:1,ot=!0;ot;)if(rt[tt]<=at&&rt[tt+1]>at?(Y=(at-rt[tt])/(rt[tt+1]-rt[tt]),ot=!1):tt+=it,tt<0||tt>=J-1){if(tt===J-1)return Q[tt];ot=!1}return Q[tt]+(Q[tt+1]-Q[tt])*Y}var q=createTypedArray("float32",8);return{getSegmentsLength:function(nt){var W,Q=segmentsLengthPool.newElement(),rt=nt.c,J=nt.v,tt=nt.o,at=nt.i,Y=nt._length,it=Q.lengths,ot=0;for(W=0;W<Y-1;W+=1)it[W]=F(J[W],J[W+1],tt[W],at[W+1]),ot+=it[W].addedLength;return rt&&Y&&(it[W]=F(J[W],J[0],tt[W],at[0]),ot+=it[W].addedLength),Q.totalLength=ot,Q},getNewSegment:function(nt,W,Q,rt,J,tt,at){J<0?J=0:J>1&&(J=1);var Y,it=X(J,at),ot=X(tt=tt>1?1:tt,at),ft=nt.length,gt=1-it,pt=1-ot,vt=gt*gt*gt,ct=it*gt*gt*3,dt=it*it*gt*3,bt=it*it*it,wt=gt*gt*pt,St=it*gt*pt+gt*it*pt+gt*gt*ot,_t=it*it*pt+gt*it*ot+it*gt*ot,xt=it*it*ot,Dt=gt*pt*pt,Ft=it*pt*pt+gt*ot*pt+gt*pt*ot,jt=it*ot*pt+gt*ot*ot+it*pt*ot,Ht=it*ot*ot,Pt=pt*pt*pt,Wt=ot*pt*pt+pt*ot*pt+pt*pt*ot,At=ot*ot*pt+pt*ot*ot+ot*pt*ot,ue=ot*ot*ot;for(Y=0;Y<ft;Y+=1)q[4*Y]=D.round(1e3*(vt*nt[Y]+ct*Q[Y]+dt*rt[Y]+bt*W[Y]))/1e3,q[4*Y+1]=D.round(1e3*(wt*nt[Y]+St*Q[Y]+_t*rt[Y]+xt*W[Y]))/1e3,q[4*Y+2]=D.round(1e3*(Dt*nt[Y]+Ft*Q[Y]+jt*rt[Y]+Ht*W[Y]))/1e3,q[4*Y+3]=D.round(1e3*(Pt*nt[Y]+Wt*Q[Y]+At*rt[Y]+ue*W[Y]))/1e3;return q},getPointInSegment:function(nt,W,Q,rt,J,tt){var at=X(J,tt),Y=1-at;return[D.round(1e3*(Y*Y*Y*nt[0]+(at*Y*Y+Y*at*Y+Y*Y*at)*Q[0]+(at*at*Y+Y*at*at+at*Y*at)*rt[0]+at*at*at*W[0]))/1e3,D.round(1e3*(Y*Y*Y*nt[1]+(at*Y*Y+Y*at*Y+Y*Y*at)*Q[1]+(at*at*Y+Y*at*at+at*Y*at)*rt[1]+at*at*at*W[1]))/1e3]},buildBezierData:K,pointOnLine2D:O,pointOnLine3D:function(nt,W,Q,rt,J,tt,at,Y,it){if(Q===0&&tt===0&&it===0)return O(nt,W,rt,J,at,Y);var ot,ft=D.sqrt(D.pow(rt-nt,2)+D.pow(J-W,2)+D.pow(tt-Q,2)),gt=D.sqrt(D.pow(at-nt,2)+D.pow(Y-W,2)+D.pow(it-Q,2)),pt=D.sqrt(D.pow(at-rt,2)+D.pow(Y-J,2)+D.pow(it-tt,2));return(ot=ft>gt?ft>pt?ft-gt-pt:pt-gt-ft:pt>gt?pt-gt-ft:gt-ft-pt)>-1e-4&&ot<1e-4}}}var bez=bezFunction(),PropertyFactory=(function(){var D=initialDefaultFrame,O=Math.abs;function F(rt,J){var tt,at=this.offsetTime;this.propType==="multidimensional"&&(tt=createTypedArray("float32",this.pv.length));for(var Y,it,ot,ft,gt,pt,vt,ct,dt,bt=J.lastIndex,wt=bt,St=this.keyframes.length-1,_t=!0;_t;){if(Y=this.keyframes[wt],it=this.keyframes[wt+1],wt===St-1&&rt>=it.t-at){Y.h&&(Y=it),bt=0;break}if(it.t-at>rt){bt=wt;break}wt<St-1?wt+=1:(bt=0,_t=!1)}ot=this.keyframesMetadata[wt]||{};var xt,Dt=it.t-at,Ft=Y.t-at;if(Y.to){ot.bezierData||(ot.bezierData=bez.buildBezierData(Y.s,it.s||Y.e,Y.to,Y.ti));var jt=ot.bezierData;if(rt>=Dt||rt<Ft){var Ht=rt>=Dt?jt.points.length-1:0;for(gt=jt.points[Ht].point.length,ft=0;ft<gt;ft+=1)tt[ft]=jt.points[Ht].point[ft]}else{ot.__fnct?dt=ot.__fnct:(dt=BezierFactory.getBezierEasing(Y.o.x,Y.o.y,Y.i.x,Y.i.y,Y.n).get,ot.__fnct=dt),pt=dt((rt-Ft)/(Dt-Ft));var Pt,Wt=jt.segmentLength*pt,At=J.lastFrame<rt&&J._lastKeyframeIndex===wt?J._lastAddedLength:0;for(ct=J.lastFrame<rt&&J._lastKeyframeIndex===wt?J._lastPoint:0,_t=!0,vt=jt.points.length;_t;){if(At+=jt.points[ct].partialLength,Wt===0||pt===0||ct===jt.points.length-1){for(gt=jt.points[ct].point.length,ft=0;ft<gt;ft+=1)tt[ft]=jt.points[ct].point[ft];break}if(Wt>=At&&Wt<At+jt.points[ct+1].partialLength){for(Pt=(Wt-At)/jt.points[ct+1].partialLength,gt=jt.points[ct].point.length,ft=0;ft<gt;ft+=1)tt[ft]=jt.points[ct].point[ft]+(jt.points[ct+1].point[ft]-jt.points[ct].point[ft])*Pt;break}ct<vt-1?ct+=1:_t=!1}J._lastPoint=ct,J._lastAddedLength=At-jt.points[ct].partialLength,J._lastKeyframeIndex=wt}}else{var ue,Qt,se,de,oe;if(St=Y.s.length,xt=it.s||Y.e,this.sh&&Y.h!==1)rt>=Dt?(tt[0]=xt[0],tt[1]=xt[1],tt[2]=xt[2]):rt<=Ft?(tt[0]=Y.s[0],tt[1]=Y.s[1],tt[2]=Y.s[2]):(function(xe,re){var Xt=re[0],Se=re[1],_e=re[2],Ee=re[3],Ue=Math.atan2(2*Se*Ee-2*Xt*_e,1-2*Se*Se-2*_e*_e),Oe=Math.asin(2*Xt*Se+2*_e*Ee),ze=Math.atan2(2*Xt*Ee-2*Se*_e,1-2*Xt*Xt-2*_e*_e);xe[0]=Ue/degToRads,xe[1]=Oe/degToRads,xe[2]=ze/degToRads})(tt,(function(xe,re,Xt){var Se,_e,Ee,Ue,Oe,ze=[],Ne=xe[0],Ke=xe[1],Qe=xe[2],sn=xe[3],on=re[0],kt=re[1],Lt=re[2],yt=re[3];return(_e=Ne*on+Ke*kt+Qe*Lt+sn*yt)<0&&(_e=-_e,on=-on,kt=-kt,Lt=-Lt,yt=-yt),1-_e>1e-6?(Se=Math.acos(_e),Ee=Math.sin(Se),Ue=Math.sin((1-Xt)*Se)/Ee,Oe=Math.sin(Xt*Se)/Ee):(Ue=1-Xt,Oe=Xt),ze[0]=Ue*Ne+Oe*on,ze[1]=Ue*Ke+Oe*kt,ze[2]=Ue*Qe+Oe*Lt,ze[3]=Ue*sn+Oe*yt,ze})(B(Y.s),B(xt),(rt-Ft)/(Dt-Ft)));else for(wt=0;
vendor: 6,086 bytes, line 150
150wt<St;wt+=1)Y.h!==1&&(rt>=Dt?pt=1:rt<Ft?pt=0:(Y.o.x.constructor===Array?(ot.__fnct||(ot.__fnct=[]),ot.__fnct[wt]?dt=ot.__fnct[wt]:(ue=Y.o.x[wt]===void 0?Y.o.x[0]:Y.o.x[wt],Qt=Y.o.y[wt]===void 0?Y.o.y[0]:Y.o.y[wt],se=Y.i.x[wt]===void 0?Y.i.x[0]:Y.i.x[wt],de=Y.i.y[wt]===void 0?Y.i.y[0]:Y.i.y[wt],dt=BezierFactory.getBezierEasing(ue,Qt,se,de).get,ot.__fnct[wt]=dt)):ot.__fnct?dt=ot.__fnct:(ue=Y.o.x,Qt=Y.o.y,se=Y.i.x,de=Y.i.y,dt=BezierFactory.getBezierEasing(ue,Qt,se,de).get,Y.keyframeMetadata=dt),pt=dt((rt-Ft)/(Dt-Ft)))),xt=it.s||Y.e,oe=Y.h===1?Y.s[wt]:Y.s[wt]+(xt[wt]-Y.s[wt])*pt,this.propType==="multidimensional"?tt[wt]=oe:tt=oe}return J.lastIndex=bt,tt}function B(rt){var J=rt[0]*degToRads,tt=rt[1]*degToRads,at=rt[2]*degToRads,Y=Math.cos(J/2),it=Math.cos(tt/2),ot=Math.cos(at/2),ft=Math.sin(J/2),gt=Math.sin(tt/2),pt=Math.sin(at/2);return[ft*gt*ot+Y*it*pt,ft*it*ot+Y*gt*pt,Y*gt*ot-ft*it*pt,Y*it*ot-ft*gt*pt]}function G(){var rt=this.comp.renderedFrame-this.offsetTime,J=this.keyframes[0].t-this.offsetTime,tt=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(rt===this._caching.lastFrame||this._caching.lastFrame!==D&&(this._caching.lastFrame>=tt&&rt>=tt||this._caching.lastFrame<J&&rt<J))){this._caching.lastFrame>=rt&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var at=this.interpolateValue(rt,this._caching);this.pv=at}return this._caching.lastFrame=rt,this.pv}function U(rt){var J;if(this.propType==="unidimensional")J=rt*this.mult,O(this.v-J)>1e-5&&(this.v=J,this._mdf=!0);else for(var tt=0,at=this.v.length;tt<at;)J=rt[tt]*this.mult,O(this.v[tt]-J)>1e-5&&(this.v[tt]=J,this._mdf=!0),tt+=1}function K(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var rt;this.lock=!0,this._mdf=this._isFirstFrame;var J=this.effectsSequence.length,tt=this.kf?this.pv:this.data.k;for(rt=0;rt<J;rt+=1)tt=this.effectsSequence[rt](tt);this.setVValue(tt),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function X(rt){this.effectsSequence.push(rt),this.container.addDynamicProperty(this)}function q(rt,J,tt,at){this.propType="unidimensional",this.mult=tt||1,this.data=J,this.v=tt?J.k*tt:J.k,this.pv=J.k,this._mdf=!1,this.elem=rt,this.container=at,this.comp=rt.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=K,this.setVValue=U,this.addEffect=X}function nt(rt,J,tt,at){var Y;this.propType="multidimensional",this.mult=tt||1,this.data=J,this._mdf=!1,this.elem=rt,this.container=at,this.comp=rt.comp,this.k=!1,this.kf=!1,this.frameId=-1;var it=J.k.length;for(this.v=createTypedArray("float32",it),this.pv=createTypedArray("float32",it),this.vel=createTypedArray("float32",it),Y=0;Y<it;Y+=1)this.v[Y]=J.k[Y]*this.mult,this.pv[Y]=J.k[Y];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=K,this.setVValue=U,this.addEffect=X}function W(rt,J,tt,at){this.propType="unidimensional",this.keyframes=J.k,this.keyframesMetadata=[],this.offsetTime=rt.data.st,this.frameId=-1,this._caching={lastFrame:D,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=J,this.mult=tt||1,this.elem=rt,this.container=at,this.comp=rt.comp,this.v=D,this.pv=D,this._isFirstFrame=!0,this.getValue=K,this.setVValue=U,this.interpolateValue=F,this.effectsSequence=[G.bind(this)],this.addEffect=X}function Q(rt,J,tt,at){var Y;this.propType="multidimensional";var it,ot,ft,gt,pt=J.k.length;for(Y=0;Y<pt-1;Y+=1)J.k[Y].to&&J.k[Y].s&&J.k[Y+1]&&J.k[Y+1].s&&(it=J.k[Y].s,ot=J.k[Y+1].s,ft=J.k[Y].to,gt=J.k[Y].ti,(it.length===2&&(it[0]!==ot[0]||it[1]!==ot[1])&&bez.pointOnLine2D(it[0],it[1],ot[0],ot[1],it[0]+ft[0],it[1]+ft[1])&&bez.pointOnLine2D(it[0],it[1],ot[0],ot[1],ot[0]+gt[0],ot[1]+gt[1])||it.length===3&&(it[0]!==ot[0]||it[1]!==ot[1]||it[2]!==ot[2])&&bez.pointOnLine3D(it[0],it[1],it[2],ot[0],ot[1],ot[2],it[0]+ft[0],it[1]+ft[1],it[2]+ft[2])&&bez.pointOnLine3D(it[0],it[1],it[2],ot[0],ot[1],ot[2],ot[0]+gt[0],ot[1]+gt[1],ot[2]+gt[2]))&&(J.k[Y].to=null,J.k[Y].ti=null),it[0]===ot[0]&&it[1]===ot[1]&&ft[0]===0&&ft[1]===0&>[0]===0&>[1]===0&&(it.length===2||it[2]===ot[2]&&ft[2]===0&>[2]===0)&&(J.k[Y].to=null,J.k[Y].ti=null));this.effectsSequence=[G.bind(this)],this.data=J,this.keyframes=J.k,this.keyframesMetadata=[],this.offsetTime=rt.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=tt||1,this.elem=rt,this.container=at,this.comp=rt.comp,this.getValue=K,this.setVValue=U,this.interpolateValue=F,this.frameId=-1;var vt=J.k[0].s.length;for(this.v=createTypedArray("float32",vt),this.pv=createTypedArray("float32",vt),Y=0;Y<vt;Y+=1)this.v[Y]=D,this.pv[Y]=D;this._caching={lastFrame:D,lastIndex:0,value:createTypedArray("float32",vt)},this.addEffect=X}return{getProp:function(rt,J,tt,at,Y){var it;if(J.k.length)if(typeof J.k[0]=="number")it=new nt(rt,J,at,Y);else switch(tt){case 0:it=new W(rt,J,at,Y);break;case 1:it=new Q(rt,J,at,Y)}else it=new q(rt,J,at,Y);return it.effectsSequence.length&&Y.addDynamicProperty(it),it}}})();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(D){this.dynamicProperties.indexOf(D)===-1&&(this.dynamicProperties.push(D),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var D;this._mdf=!1;var O=this.dynamicProperties.length;for(D=0;D<O;D+=1)this.dynamicProperties[D].getValue(),this.dynamicProperties[D]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(D){this.container=D,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=poolFactory(8,(function(){return createTypedArray("float32",2)}));function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(D,O){this.c=D,this.setLength(O);for(var F=0;F<O;)this.v[F]=pointPool.newElement(),this.o[F]=pointPool.newElement(),this.i[F]=pointPool.newElement(),F+=1},ShapePath.prototype.setLength=function(D){for(;this._maxLength<D;
vendor: 19,482 bytes, line 150
150)this.doubleArrayLength();this._length=D},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(D,O,F,B,G){var U;switch(this._length=Math.max(this._length,B+1),this._length>=this._maxLength&&this.doubleArrayLength(),F){case"v":U=this.v;break;case"i":U=this.i;break;case"o":U=this.o;break;default:U=[]}(!U[B]||U[B]&&!G)&&(U[B]=pointPool.newElement()),U[B][0]=D,U[B][1]=O},ShapePath.prototype.setTripleAt=function(D,O,F,B,G,U,K,X){this.setXYAt(D,O,"v",K,X),this.setXYAt(F,B,"o",K,X),this.setXYAt(G,U,"i",K,X)},ShapePath.prototype.reverse=function(){var D=new ShapePath;D.setPathData(this.c,this._length);var O=this.v,F=this.o,B=this.i,G=0;this.c&&(D.setTripleAt(O[0][0],O[0][1],B[0][0],B[0][1],F[0][0],F[0][1],0,!1),G=1);var U,K=this._length-1,X=this._length;for(U=G;U<X;U+=1)D.setTripleAt(O[K][0],O[K][1],B[K][0],B[K][1],F[K][0],F[K][1],U,!1),K-=1;return D},ShapePath.prototype.length=function(){return this._length};var shapePool=(factory=poolFactory(4,(function(){return new ShapePath}),(function(D){var O,F=D._length;for(O=0;O<F;O+=1)pointPool.release(D.v[O]),pointPool.release(D.i[O]),pointPool.release(D.o[O]),D.v[O]=null,D.i[O]=null,D.o[O]=null;D._length=0,D.c=!1})),factory.clone=function(D){var O,F=factory.newElement(),B=D._length===void 0?D.v.length:D._length;for(F.setLength(B),F.c=D.c,O=0;O<B;O+=1)F.setTripleAt(D.v[O][0],D.v[O][1],D.o[O][0],D.o[O][1],D.i[O][0],D.i[O][1],O);return F},factory),factory;function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(D){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=D,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var D;for(D=0;D<this._length;D+=1)shapePool.release(this.shapes[D]);this._length=0};var shapeCollectionPool=(ob={newShapeCollection:function(){return _length?pool[_length-=1]:new ShapeCollection},release:function(D){var O,F=D._length;for(O=0;O<F;O+=1)shapePool.release(D.shapes[O]);D._length=0,_length===_maxLength&&(pool=pooling.double(pool),_maxLength*=2),pool[_length]=D,_length+=1}},_length=0,_maxLength=4,pool=createSizedArray(_maxLength),ob),ob,_length,_maxLength,pool,ShapePropertyFactory=(function(){function D(rt,J,tt){var at,Y,it,ot,ft,gt,pt,vt,ct,dt=tt.lastIndex,bt=this.keyframes;if(rt<bt[0].t-this.offsetTime)at=bt[0].s[0],it=!0,dt=0;else if(rt>=bt[bt.length-1].t-this.offsetTime)at=bt[bt.length-1].s?bt[bt.length-1].s[0]:bt[bt.length-2].e[0],it=!0;else{for(var wt,St,_t,xt=dt,Dt=bt.length-1,Ft=!0;Ft&&(wt=bt[xt],!((St=bt[xt+1]).t-this.offsetTime>rt));)xt<Dt-1?xt+=1:Ft=!1;if(_t=this.keyframesMetadata[xt]||{},dt=xt,!(it=wt.h===1)){if(rt>=St.t-this.offsetTime)vt=1;else if(rt<wt.t-this.offsetTime)vt=0;else{var jt;_t.__fnct?jt=_t.__fnct:(jt=BezierFactory.getBezierEasing(wt.o.x,wt.o.y,wt.i.x,wt.i.y).get,_t.__fnct=jt),vt=jt((rt-(wt.t-this.offsetTime))/(St.t-this.offsetTime-(wt.t-this.offsetTime)))}Y=St.s?St.s[0]:wt.e[0]}at=wt.s[0]}for(gt=J._length,pt=at.i[0].length,tt.lastIndex=dt,ot=0;ot<gt;ot+=1)for(ft=0;ft<pt;ft+=1)ct=it?at.i[ot][ft]:at.i[ot][ft]+(Y.i[ot][ft]-at.i[ot][ft])*vt,J.i[ot][ft]=ct,ct=it?at.o[ot][ft]:at.o[ot][ft]+(Y.o[ot][ft]-at.o[ot][ft])*vt,J.o[ot][ft]=ct,ct=it?at.v[ot][ft]:at.v[ot][ft]+(Y.v[ot][ft]-at.v[ot][ft])*vt,J.v[ot][ft]=ct}function O(){var rt=this.comp.renderedFrame-this.offsetTime,J=this.keyframes[0].t-this.offsetTime,tt=this.keyframes[this.keyframes.length-1].t-this.offsetTime,at=this._caching.lastFrame;return at!==-999999&&(at<J&&rt<J||at>tt&&rt>tt)||(this._caching.lastIndex=at<rt?this._caching.lastIndex:0,this.interpolateShape(rt,this.pv,this._caching)),this._caching.lastFrame=rt,this.pv}function F(){this.paths=this.localShapeCollection}function B(rt){(function(J,tt){if(J._length!==tt._length||J.c!==tt.c)return!1;var at,Y=J._length;for(at=0;at<Y;at+=1)if(J.v[at][0]!==tt.v[at][0]||J.v[at][1]!==tt.v[at][1]||J.o[at][0]!==tt.o[at][0]||J.o[at][1]!==tt.o[at][1]||J.i[at][0]!==tt.i[at][0]||J.i[at][1]!==tt.i[at][1])return!1;return!0})(this.v,rt)||(this.v=shapePool.clone(rt),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function G(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var rt,J;this.lock=!0,this._mdf=!1,rt=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var tt=this.effectsSequence.length;for(J=0;J<tt;J+=1)rt=this.effectsSequence[J](rt);this.setVValue(rt),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function U(rt,J,tt){this.propType="shape",this.comp=rt.comp,this.container=rt,this.elem=rt,this.data=J,this.k=!1,this.kf=!1,this._mdf=!1;var at=tt===3?J.pt.k:J.ks.k;this.v=shapePool.clone(at),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=F,this.effectsSequence=[]}function K(rt){this.effectsSequence.push(rt),this.container.addDynamicProperty(this)}function X(rt,J,tt){this.propType="shape",this.comp=rt.comp,this.elem=rt,this.container=rt,this.offsetTime=rt.data.st,this.keyframes=tt===3?J.pt.k:J.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var at=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,at),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=-999999,this.reset=F,this._caching={lastFrame:-999999,lastIndex:0},this.effectsSequence=[O.bind(this)]}U.prototype.interpolateShape=D,U.prototype.getValue=G,U.prototype.setVValue=B,U.prototype.addEffect=K,X.prototype.getValue=G,X.prototype.interpolateShape=D,X.prototype.setVValue=B,X.prototype.addEffect=K;var q=(function(){var rt=roundCorner;function J(tt,at){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=at.d,this.elem=tt,this.comp=tt.comp,this.frameId=-1,this.initDynamicPropertyContainer(tt),this.p=PropertyFactory.getProp(tt,at.p,1,0,this),this.s=PropertyFactory.getProp(tt,at.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return J.prototype={reset:F,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var tt=this.p.v[0],at=this.p.v[1],Y=this.s.v[0]/2,it=this.s.v[1]/2,ot=this.d!==3,ft=this.v;ft.v[0][0]=tt,ft.v[0][1]=at-it,ft.v[1][0]=ot?tt+Y:tt-Y,ft.v[1][1]=at,ft.v[2][0]=tt,ft.v[2][1]=at+it,ft.v[3][0]=ot?tt-Y:tt+Y,ft.v[3][1]=at,ft.i[0][0]=ot?tt-Y*rt:tt+Y*rt,ft.i[0][1]=at-it,ft.i[1][0]=ot?tt+Y:tt-Y,ft.i[1][1]=at-it*rt,ft.i[2][0]=ot?tt+Y*rt:tt-Y*rt,ft.i[2][1]=at+it,ft.i[3][0]=ot?tt-Y:tt+Y,ft.i[3][1]=at+it*rt,ft.o[0][0]=ot?tt+Y*rt:tt-Y*rt,ft.o[0][1]=at-it,ft.o[1][0]=ot?tt+Y:tt-Y,ft.o[1][1]=at+it*rt,ft.o[2][0]=ot?tt-Y*rt:tt+Y*rt,ft.o[2][1]=at+it,ft.o[3][0]=ot?tt-Y:tt+Y,ft.o[3][1]=at-it*rt}},extendPrototype([DynamicPropertyContainer],J),J})(),nt=(function(){function rt(J,tt){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=J,this.comp=J.comp,this.data=tt,this.frameId=-1,this.d=tt.d,this.initDynamicPropertyContainer(J),tt.sy===1?(this.ir=PropertyFactory.getProp(J,tt.ir,0,0,this),this.is=PropertyFactory.getProp(J,tt.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(J,tt.pt,0,0,this),this.p=PropertyFactory.getProp(J,tt.p,1,0,this),this.r=PropertyFactory.getProp(J,tt.r,0,degToRads,this),this.or=PropertyFactory.getProp(J,tt.or,0,0,this),this.os=PropertyFactory.getProp(J,tt.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return rt.prototype={reset:F,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var J,tt,at,Y,it=2*Math.floor(this.pt.v),ot=2*Math.PI/it,ft=!0,gt=this.or.v,pt=this.ir.v,vt=this.os.v,ct=this.is.v,dt=2*Math.PI*gt/(2*it),bt=2*Math.PI*pt/(2*it),wt=-Math.PI/2;wt+=this.r.v;var St=this.data.d===3?-1:1;for(this.v._length=0,J=0;J<it;J+=1){at=ft?vt:ct,Y=ft?dt:bt;var _t=(tt=ft?gt:pt)*Math.cos(wt),xt=tt*Math.sin(wt),Dt=_t===0&&xt===0?0:xt/Math.sqrt(_t*_t+xt*xt),Ft=_t===0&&xt===0?0:-_t/Math.sqrt(_t*_t+xt*xt);_t+=+this.p.v[0],xt+=+this.p.v[1],this.v.setTripleAt(_t,xt,_t-Dt*Y*at*St,xt-Ft*Y*at*St,_t+Dt*Y*at*St,xt+Ft*Y*at*St,J,!0),ft=!ft,wt+=ot*St}},convertPolygonToPath:function(){var J,tt=Math.floor(this.pt.v),at=2*Math.PI/tt,Y=this.or.v,it=this.os.v,ot=2*Math.PI*Y/(4*tt),ft=.5*-Math.PI,gt=this.data.d===3?-1:1;for(ft+=this.r.v,this.v._length=0,J=0;J<tt;J+=1){var pt=Y*Math.cos(ft),vt=Y*Math.sin(ft),ct=pt===0&&vt===0?0:vt/Math.sqrt(pt*pt+vt*vt),dt=pt===0&&vt===0?0:-pt/Math.sqrt(pt*pt+vt*vt);pt+=+this.p.v[0],vt+=+this.p.v[1],this.v.setTripleAt(pt,vt,pt-ct*ot*it*gt,vt-dt*ot*it*gt,pt+ct*ot*it*gt,vt+dt*ot*it*gt,J,!0),ft+=at*gt}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],rt),rt})(),W=(function(){function rt(J,tt){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=J,this.comp=J.comp,this.frameId=-1,this.d=tt.d,this.initDynamicPropertyContainer(J),this.p=PropertyFactory.getProp(J,tt.p,1,0,this),this.s=PropertyFactory.getProp(J,tt.s,1,0,this),this.r=PropertyFactory.getProp(J,tt.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return rt.prototype={convertRectToPath:function(){var J=this.p.v[0],tt=this.p.v[1],at=this.s.v[0]/2,Y=this.s.v[1]/2,it=bmMin(at,Y,this.r.v),ot=it*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(J+at,tt-Y+it,J+at,tt-Y+it,J+at,tt-Y+ot,0,!0),this.v.setTripleAt(J+at,tt+Y-it,J+at,tt+Y-ot,J+at,tt+Y-it,1,!0),it!==0?(this.v.setTripleAt(J+at-it,tt+Y,J+at-it,tt+Y,J+at-ot,tt+Y,2,!0),this.v.setTripleAt(J-at+it,tt+Y,J-at+ot,tt+Y,J-at+it,tt+Y,3,!0),this.v.setTripleAt(J-at,tt+Y-it,J-at,tt+Y-it,J-at,tt+Y-ot,4,!0),this.v.setTripleAt(J-at,tt-Y+it,J-at,tt-Y+ot,J-at,tt-Y+it,5,!0),this.v.setTripleAt(J-at+it,tt-Y,J-at+it,tt-Y,J-at+ot,tt-Y,6,!0),this.v.setTripleAt(J+at-it,tt-Y,J+at-ot,tt-Y,J+at-it,tt-Y,7,!0)):(this.v.setTripleAt(J-at,tt+Y,J-at+ot,tt+Y,J-at,tt+Y,2),this.v.setTripleAt(J-at,tt-Y,J-at,tt-Y+ot,J-at,tt-Y,3))):(this.v.setTripleAt(J+at,tt-Y+it,J+at,tt-Y+ot,J+at,tt-Y+it,0,!0),it!==0?(this.v.setTripleAt(J+at-it,tt-Y,J+at-it,tt-Y,J+at-ot,tt-Y,1,!0),this.v.setTripleAt(J-at+it,tt-Y,J-at+ot,tt-Y,J-at+it,tt-Y,2,!0),this.v.setTripleAt(J-at,tt-Y+it,J-at,tt-Y+it,J-at,tt-Y+ot,3,!0),this.v.setTripleAt(J-at,tt+Y-it,J-at,tt+Y-ot,J-at,tt+Y-it,4,!0),this.v.setTripleAt(J-at+it,tt+Y,J-at+it,tt+Y,J-at+ot,tt+Y,5,!0),this.v.setTripleAt(J+at-it,tt+Y,J+at-ot,tt+Y,J+at-it,tt+Y,6,!0),this.v.setTripleAt(J+at,tt+Y-it,J+at,tt+Y-it,J+at,tt+Y-ot,7,!0)):(this.v.setTripleAt(J-at,tt-Y,J-at+ot,tt-Y,J-at,tt-Y,1,!0),this.v.setTripleAt(J-at,tt+Y,J-at,tt+Y-ot,J-at,tt+Y,2,!0),this.v.setTripleAt(J+at,tt+Y,J+at-ot,tt+Y,J+at,tt+Y,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:F},extendPrototype([DynamicPropertyContainer],rt),rt})(),Q={getShapeProp:function(rt,J,tt){var at;return tt===3||tt===4?at=(tt===3?J.pt:J.ks).k.length?new X(rt,J,tt):new U(rt,J,tt):tt===5?at=new W(rt,J):tt===6?at=new q(rt,J):tt===7&&(at=new nt(rt,J)),at.k&&rt.addDynamicProperty(at),at},getConstructorFunction:function(){return U},getKeyframedConstructorFunction:function(){return X}};return Q})(),Matrix=(function(){var D=Math.cos,O=Math.sin,F=Math.tan,B=Math.round;function G(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function U(Ht){if(Ht===0)return this;var Pt=D(Ht),Wt=O(Ht);return this._t(Pt,-Wt,0,0,Wt,Pt,0,0,0,0,1,0,0,0,0,1)}function K(Ht){if(Ht===0)return this;var Pt=D(Ht),Wt=O(Ht);return this._t(1,0,0,0,0,Pt,-Wt,0,0,Wt,Pt,0,0,0,0,1)}function X(Ht){if(Ht===0)return this;var Pt=D(Ht),Wt=O(Ht);return this._t(Pt,0,Wt,0,0,1,0,0,-Wt,0,Pt,0,0,0,0,1)}function q(Ht){if(Ht===0)return this;var Pt=D(Ht),Wt=O(Ht);return this._t(Pt,-Wt,0,0,Wt,Pt,0,0,0,0,1,0,0,0,0,1)}function nt(Ht,Pt){return this._t(1,Pt,Ht,1,0,0)}function W(Ht,Pt){return this.shear(F(Ht),F(Pt))}function Q(Ht,Pt){var Wt=D(Pt),At=O(Pt);return this._t(Wt,At,0,0,-At,Wt,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,F(Ht),1,0,0,0,0,1,0,0,0,0,1)._t(Wt,-At,0,0,At,Wt,0,0,0,0,1,0,0,0,0,1)}function rt(Ht,Pt,Wt){return Wt||Wt===0||(Wt=1),Ht===1&&Pt===1&&Wt===1?this:this._t(Ht,0,0,0,0,Pt,0,0,0,0,Wt,0,0,0,0,1)}function J(Ht,Pt,Wt,At,ue,Qt,se,de,oe,xe,re,Xt,Se,_e,Ee,Ue){return this.props[0]=Ht,this.props[1]=Pt,this.props[2]=Wt,this.props[3]=At,this.props[4]=ue,this.props[5]=Qt,this.props[6]=se,this.props[7]=de,this.props[8]=oe,this.props[9]=xe,this.props[10]=re,this.props[11]=Xt,this.props[12]=Se,this.props[13]=_e,this.props[14]=Ee,this.props[15]=Ue,this}function tt(Ht,Pt,Wt){return Wt=Wt||0,Ht!==0||Pt!==0||Wt!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,Ht,Pt,Wt,1):this}function at(Ht,Pt,Wt,At,ue,Qt,se,de,oe,xe,re,Xt,Se,_e,Ee,Ue){var Oe=this.props;if(Ht===1&&Pt===0&&Wt===0&&At===0&&ue===0&&Qt===1&&se===0&&de===0&&oe===0&&xe===0&&re===1&&Xt===0)return Oe[12]=Oe[12]*Ht+Oe[15]*Se,Oe[13]=Oe[13]*Qt+Oe[15]*_e,Oe[14]=Oe[14]*re+Oe[15]*Ee,Oe[15]*=Ue,this._identityCalculated=!1,this;var ze=Oe[0],Ne=Oe[1],Ke=Oe[2],Qe=Oe[3],sn=Oe[4],on=Oe[5],kt=Oe[6],Lt=Oe[7],yt=Oe[8],ut=Oe[9],Tt=Oe[10],Rt=Oe[11],Zt=Oe[12],ie=Oe[13],le=Oe[14],be=Oe[15];return Oe[0]=ze*Ht+Ne*ue+Ke*oe+Qe*Se,Oe[1]=ze*Pt+Ne*Qt+Ke*xe+Qe*_e,Oe[2]=ze*Wt+Ne*se+Ke*re+Qe*Ee,Oe[3]=ze*At+Ne*de+Ke*Xt+Qe*Ue,Oe[4]=sn*Ht+on*ue+kt*oe+Lt*Se,Oe[5]=sn*Pt+on*Qt+kt*xe+Lt*_e,Oe[6]=sn*Wt+on*se+kt*re+Lt*Ee,Oe[7]=sn*At+on*de+kt*Xt+Lt*Ue,Oe[8]=yt*Ht+ut*ue+Tt*oe+Rt*Se,Oe[9]=yt*Pt+ut*Qt+Tt*xe+Rt*_e,Oe[10]=yt*Wt+ut*se+Tt*re+Rt*Ee,Oe[11]=yt*At+ut*de+Tt*Xt+Rt*Ue,Oe[12]=Zt*Ht+ie*ue+le*oe+be*Se,Oe[13]=Zt*Pt+ie*Qt+le*xe+be*_e,Oe[14]=Zt*Wt+ie*se+le*re+be*Ee,Oe[15]=Zt*At+ie*de+le*Xt+be*Ue,this._identityCalculated=!1,this}function Y(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function it(Ht){for(var Pt=0;Pt<16;){if(Ht.props[Pt]!==this.props[Pt])return!1;Pt+=1}return!0}function ot(Ht){var Pt;for(Pt=0;Pt<16;Pt+=1)Ht.props[Pt]=this.props[Pt];return Ht}function ft(Ht){var Pt;for(Pt=0;Pt<16;Pt+=1)this.props[Pt]=Ht[Pt]}function gt(Ht,Pt,Wt){return{x:Ht*this.props[0]+Pt*this.props[4]+Wt*this.props[8]+this.props[12],y:Ht*this.props[1]+Pt*this.props[5]+Wt*this.props[9]+this.props[13],z:Ht*this.props[2]+Pt*this.props[6]+Wt*this.props[10]+this.props[14]}}function pt(Ht,Pt,Wt){return Ht*this.props[0]+Pt*this.props[4]+Wt*this.props[8]+this.props[12]}function vt(Ht,Pt,Wt){return Ht*this.props[1]+Pt*this.props[5]+Wt*this.props[9]+this.props[13]}function ct(Ht,Pt,Wt){return Ht*this.props[2]+Pt*this.props[6]+Wt*this.props[10]+this.props[14]}function dt(){var Ht=this.props[0]*this.props[5]-this.props[1]*this.props[4],Pt=this.props[5]/Ht,Wt=-this.props[1]/Ht,At=-this.props[4]/Ht,ue=this.props[0]/Ht,Qt=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/Ht,se=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/Ht,de=new Matrix;return de.props[0]=Pt,de.props[1]=Wt,de.props[4]=At,de.props[5]=ue,de.props[12]=Qt,de.props[13]=se,de}function bt(Ht){return this.getInverseMatrix().applyToPointArray(Ht[0],Ht[1],Ht[2]||0)}function wt(Ht){var Pt,Wt=Ht.length,At=[];for(Pt=0;Pt<Wt;Pt+=1)At[Pt]=bt(Ht[Pt]);return At}function St(Ht,Pt,Wt){var At=createTypedArray("float32",6);if(this.isIdentity())At[0]=Ht[0],At[1]=Ht[1],At[2]=Pt[0],At[3]=Pt[1],At[4]=Wt[0],At[5]=Wt[1];else{var ue=this.props[0],Qt=this.props[1],se=this.props[4],de=this.props[5],oe=this.props[12],xe=this.props[13];At[0]=Ht[0]*ue+Ht[1]*se+oe,At[1]=Ht[0]*Qt+Ht[1]*de+xe,At[2]=Pt[0]*ue+Pt[1]*se+oe,At[3]=Pt[0]*Qt+Pt[1]*de+xe,At[4]=Wt[0]*ue+Wt[1]*se+oe,At[5]=Wt[0]*Qt+Wt[1]*de+xe}return At}function _t(Ht,Pt,Wt){return this.isIdentity()?[Ht,Pt,Wt]:[Ht*this.props[0]+Pt*this.props[4]+Wt*this.props[8]+this.props[12],Ht*this.props[1]+Pt*this.props[5]+Wt*this.props[9]+this.props[13],Ht*this.props[2]+Pt*this.props[6]+Wt*this.props[10]+this.props[14]]}function xt(Ht,Pt){if(this.isIdentity())return Ht+","+Pt;var Wt=this.props;return Math.round(100*(Ht*Wt[0]+Pt*Wt[4]+Wt[12]))/100+","+Math.round(100*(Ht*Wt[1]+Pt*Wt[5]+Wt[13]))/100}function Dt(){for(var Ht=0,Pt=this.props,Wt="matrix3d(";Ht<16;)Wt+=B(1e4*Pt[Ht])/1e4,Wt+=Ht===15?")":",",Ht+=1;return Wt}function Ft(Ht){return Ht<1e-6&&Ht>0||Ht>-1e-6&&Ht<0?B(1e4*Ht)/1e4:Ht}function jt(){var Ht=this.props;return"matrix("+Ft(Ht[0])+","+Ft(Ht[1])+","+Ft(Ht[4])+","+Ft(Ht[5])+","+Ft(Ht[12])+","+Ft(Ht[13])+")"}return function(){this.reset=G,this.rotate=U,this.rotateX=K,this.rotateY=X,this.rotateZ=q,this.skew=W,this.skewFromAxis=Q,this.shear=nt,this.scale=rt,this.setTransform=J,this.translate=tt,this.transform=at,this.applyToPoint=gt,this.applyToX=pt,this.applyToY=vt,this.applyToZ=ct,this.applyToPointArray=_t,this.applyToTriplePoints=St,this.applyToPointStringified=xt,this.toCSS=Dt,this.to2dCSS=jt,this.clone=ot,this.cloneFromProps=ft,this.equals=it,this.inversePoints=wt,this.inversePoint=bt,this.getInverseMatrix=dt,this._t=this.transform,this.isIdentity=Y,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}})();function _typeof$3(D){return(_typeof$3=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O})(D)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(D){setLocationHref(D)}function searchAnimations(){standalone===!0?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(D){setSubframeEnabled(D)}function setPrefix(D){setIdPrefix(D)}function loadAnimation(D){return standalone===!0&&(D.animationData=JSON.parse(animationData)),animationManager.loadAnimation(D)}
vendor: 11,226 bytes, line 150
150function setQuality(D){if(typeof D=="string")switch(D){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(D)&&D>1&&setDefaultCurveSegments(D);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return typeof navigator!="undefined"}function installPlugin(D,O){D==="expressions"&&setExpressionsPlugin(O)}function getFactory(D){switch(D){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(D){for(var O=queryString.split("&"),F=0;F<O.length;F+=1){var B=O[F].split("=");if(decodeURIComponent(B[0])==D)return decodeURIComponent(B[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.10.0";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{_typeof$3(exports)!=="object"&&(window.bodymovin=lottie)}catch(D){}var ShapeModifiers=(function(){var D={},O={};return D.registerModifier=function(F,B){O[F]||(O[F]=B)},D.getModifier=function(F,B,G){return new O[F](B,G)},D})();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(D){if(!this.closed){D.sh.container.addDynamicProperty(D.sh);var O={shape:D.sh,data:D,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(O),this.addShapeToModifier(O),this._isAnimated&&D.setAsAnimated()}},ShapeModifier.prototype.init=function(D,O){this.shapes=[],this.elem=D,this.initDynamicPropertyContainer(D),this.initModifierProperties(D,O),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(D,O){this.s=PropertyFactory.getProp(D,O.s,0,.01,this),this.e=PropertyFactory.getProp(D,O.e,0,.01,this),this.o=PropertyFactory.getProp(D,O.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=O.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(D){D.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(D,O,F,B,G){var U=[];O<=1?U.push({s:D,e:O}):D>=1?U.push({s:D-1,e:O-1}):(U.push({s:D,e:1}),U.push({s:0,e:O-1}));var K,X,q=[],nt=U.length;for(K=0;K<nt;K+=1){var W,Q;(X=U[K]).e*G<B||X.s*G>B+F||(W=X.s*G<=B?0:(X.s*G-B)/F,Q=X.e*G>=B+F?1:(X.e*G-B)/F,q.push([W,Q]))}return q.length||q.push([0,0]),q},TrimModifier.prototype.releasePathsData=function(D){var O,F=D.length;for(O=0;O<F;O+=1)segmentsLengthPool.release(D[O]);return D.length=0,D},TrimModifier.prototype.processShapes=function(D){var O,F,B,G;if(this._mdf||D){var U=this.o.v%360/360;if(U<0&&(U+=1),(O=this.s.v>1?1+U:this.s.v<0?0+U:this.s.v+U)>(F=this.e.v>1?1+U:this.e.v<0?0+U:this.e.v+U)){var K=O;O=F,F=K}O=1e-4*Math.round(1e4*O),F=1e-4*Math.round(1e4*F),this.sValue=O,this.eValue=F}else O=this.sValue,F=this.eValue;var X,q,nt,W,Q,rt=this.shapes.length,J=0;if(F===O)for(G=0;G<rt;G+=1)this.shapes[G].localShapeCollection.releaseShapes(),this.shapes[G].shape._mdf=!0,this.shapes[G].shape.paths=this.shapes[G].localShapeCollection,this._mdf&&(this.shapes[G].pathsData.length=0);else if(F===1&&O===0||F===0&&O===1){if(this._mdf)for(G=0;G<rt;G+=1)this.shapes[G].pathsData.length=0,this.shapes[G].shape._mdf=!0}else{var tt,at,Y=[];for(G=0;G<rt;G+=1)if((tt=this.shapes[G]).shape._mdf||this._mdf||D||this.m===2){if(q=(B=tt.shape.paths)._length,Q=0,!tt.shape._mdf&&tt.pathsData.length)Q=tt.totalShapeLength;else{for(nt=this.releasePathsData(tt.pathsData),X=0;X<q;X+=1)W=bez.getSegmentsLength(B.shapes[X]),nt.push(W),Q+=W.totalLength;tt.totalShapeLength=Q,tt.pathsData=nt}J+=Q,tt.shape._mdf=!0}else tt.shape.paths=tt.localShapeCollection;var it,ot=O,ft=F,gt=0;for(G=rt-1;G>=0;G-=1)if((tt=this.shapes[G]).shape._mdf){for((at=tt.localShapeCollection).releaseShapes(),this.m===2&&rt>1?(it=this.calculateShapeEdges(O,F,tt.totalShapeLength,gt,J),gt+=tt.totalShapeLength):it=[[ot,ft]],q=it.length,X=0;X<q;X+=1){ot=it[X][0],ft=it[X][1],Y.length=0,ft<=1?Y.push({s:tt.totalShapeLength*ot,e:tt.totalShapeLength*ft}):ot>=1?Y.push({s:tt.totalShapeLength*(ot-1),e:tt.totalShapeLength*(ft-1)}):(Y.push({s:tt.totalShapeLength*ot,e:tt.totalShapeLength}),Y.push({s:0,e:tt.totalShapeLength*(ft-1)}));var pt=this.addShapes(tt,Y[0]);if(Y[0].s!==Y[0].e){if(Y.length>1)if(tt.shape.paths.shapes[tt.shape.paths._length-1].c){var vt=pt.pop();this.addPaths(pt,at),pt=this.addShapes(tt,Y[1],vt)}else this.addPaths(pt,at),pt=this.addShapes(tt,Y[1]);this.addPaths(pt,at)}}tt.shape.paths=at}}},TrimModifier.prototype.addPaths=function(D,O){var F,B=D.length;for(F=0;F<B;F+=1)O.addShape(D[F])},TrimModifier.prototype.addSegment=function(D,O,F,B,G,U,K){G.setXYAt(O[0],O[1],"o",U),G.setXYAt(F[0],F[1],"i",U+1),K&&G.setXYAt(D[0],D[1],"v",U),G.setXYAt(B[0],B[1],"v",U+1)},TrimModifier.prototype.addSegmentFromArray=function(D,O,F,B){O.setXYAt(D[1],D[5],"o",F),O.setXYAt(D[2],D[6],"i",F+1),B&&O.setXYAt(D[0],D[4],"v",F),O.setXYAt(D[3],D[7],"v",F+1)},TrimModifier.prototype.addShapes=function(D,O,F){var B,G,U,K,X,q,nt,W,Q=D.pathsData,rt=D.shape.paths.shapes,J=D.shape.paths._length,tt=0,at=[],Y=!0;for(F?(X=F._length,W=F._length):(F=shapePool.newElement(),X=0,W=0),at.push(F),B=0;B<J;B+=1){for(q=Q[B].lengths,F.c=rt[B].c,U=rt[B].c?q.length:q.length+1,G=1;G<U;G+=1)if(tt+(K=q[G-1]).addedLength<O.s)tt+=K.addedLength,F.c=!1;else{if(tt>O.e){F.c=!1;break}O.s<=tt&&O.e>=tt+K.addedLength?(this.addSegment(rt[B].v[G-1],rt[B].o[G-1],rt[B].i[G],rt[B].v[G],F,X,Y),Y=!1):(nt=bez.getNewSegment(rt[B].v[G-1],rt[B].v[G],rt[B].o[G-1],rt[B].i[G],(O.s-tt)/K.addedLength,(O.e-tt)/K.addedLength,q[G-1]),this.addSegmentFromArray(nt,F,X,Y),Y=!1,F.c=!1),tt+=K.addedLength,X+=1}if(rt[B].c&&q.length){if(K=q[G-1],tt<=O.e){var it=q[G-1].addedLength;O.s<=tt&&O.e>=tt+it?(this.addSegment(rt[B].v[G-1],rt[B].o[G-1],rt[B].i[0],rt[B].v[0],F,X,Y),Y=!1):(nt=bez.getNewSegment(rt[B].v[G-1],rt[B].v[0],rt[B].o[G-1],rt[B].i[0],(O.s-tt)/it,(O.e-tt)/it,q[G-1]),this.addSegmentFromArray(nt,F,X,Y),Y=!1,F.c=!1)}else F.c=!1;tt+=K.addedLength,X+=1}if(F._length&&(F.setXYAt(F.v[W][0],F.v[W][1],"i",W),F.setXYAt(F.v[F._length-1][0],F.v[F._length-1][1],"o",F._length-1)),tt>O.e)break;B<J-1&&(F=shapePool.newElement(),Y=!0,at.push(F),X=0)}return at},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(D,O){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(D,O.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(D,O){var F=O/100,B=[0,0],G=D._length,U=0;for(U=0;U<G;U+=1)B[0]+=D.v[U][0],B[1]+=D.v[U][1];B[0]/=G,B[1]/=G;var K,X,q,nt,W,Q,rt=shapePool.newElement();for(rt.c=D.c,U=0;U<G;U+=1)K=D.v[U][0]+(B[0]-D.v[U][0])*F,X=D.v[U][1]+(B[1]-D.v[U][1])*F,q=D.o[U][0]+(B[0]-D.o[U][0])*-F,nt=D.o[U][1]+(B[1]-D.o[U][1])*-F,W=D.i[U][0]+(B[0]-D.i[U][0])*-F,Q=D.i[U][1]+(B[1]-D.i[U][1])*-F,rt.setTripleAt(K,X,q,nt,W,Q,U);return rt},PuckerAndBloatModifier.prototype.processShapes=function(D){var O,F,B,G,U,K,X=this.shapes.length,q=this.amount.v;if(q!==0)for(F=0;F<X;F+=1){if(K=(U=this.shapes[F]).localShapeCollection,U.shape._mdf||this._mdf||D)for(K.releaseShapes(),U.shape._mdf=!0,O=U.shape.paths.shapes,G=U.shape.paths._length,B=0;B<G;B+=1)K.addShape(this.processPath(O[B],q));U.shape.paths=U.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=(function(){var D=[0,0];function O(F,B,G){if(this.elem=F,this.frameId=-1,this.propType="transform",this.data=B,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(G||F),B.p&&B.p.s?(this.px=PropertyFactory.getProp(F,B.p.x,0,0,this),this.py=PropertyFactory.getProp(F,B.p.y,0,0,this),B.p.z&&(this.pz=PropertyFactory.getProp(F,B.p.z,0,0,this))):this.p=PropertyFactory.getProp(F,B.p||{k:[0,0,0]},1,0,this),B.rx){if(this.rx=PropertyFactory.getProp(F,B.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(F,B.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(F,B.rz,0,degToRads,this),B.or.k[0].ti){var U,K=B.or.k.length;for(U=0;U<K;U+=1)B.or.k[U].to=null,B.or.k[U].ti=null}this.or=PropertyFactory.getProp(F,B.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(F,B.r||{k:0},0,degToRads,this);B.sk&&(this.sk=PropertyFactory.getProp(F,B.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(F,B.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(F,B.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(F,B.s||{k:[100,100,100]},1,.01,this),B.o?this.o=PropertyFactory.getProp(F,B.o,0,.01,F):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return O.prototype={applyToMatrix:function(F){var B=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||B,this.a&&F.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&F.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&F.skewFromAxis(-this.sk.v,this.sa.v),this.r?F.rotate(-this.r.v):F.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?F.translate(this.px.v,this.py.v,-this.pz.v):F.translate(this.px.v,this.py.v,0):F.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(F){if(this.elem.globalData.frameId!==this.frameId){if
vendor: 5,511 bytes, line 150
150(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||F){var B;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var G,U;if(B=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(G=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/B,0),U=this.p.getValueAtTime(this.p.keyframes[0].t/B,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(G=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/B,0),U=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/B,0)):(G=this.p.pv,U=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/B,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){G=[],U=[];var K=this.px,X=this.py;K._caching.lastFrame+K.offsetTime<=K.keyframes[0].t?(G[0]=K.getValueAtTime((K.keyframes[0].t+.01)/B,0),G[1]=X.getValueAtTime((X.keyframes[0].t+.01)/B,0),U[0]=K.getValueAtTime(K.keyframes[0].t/B,0),U[1]=X.getValueAtTime(X.keyframes[0].t/B,0)):K._caching.lastFrame+K.offsetTime>=K.keyframes[K.keyframes.length-1].t?(G[0]=K.getValueAtTime(K.keyframes[K.keyframes.length-1].t/B,0),G[1]=X.getValueAtTime(X.keyframes[X.keyframes.length-1].t/B,0),U[0]=K.getValueAtTime((K.keyframes[K.keyframes.length-1].t-.01)/B,0),U[1]=X.getValueAtTime((X.keyframes[X.keyframes.length-1].t-.01)/B,0)):(G=[K.pv,X.pv],U[0]=K.getValueAtTime((K._caching.lastFrame+K.offsetTime-.01)/B,K.offsetTime),U[1]=X.getValueAtTime((X._caching.lastFrame+X.offsetTime-.01)/B,X.offsetTime))}else G=U=D;this.v.rotate(-Math.atan2(G[1]-U[1],G[0]-U[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],O),O.prototype.addDynamicProperty=function(F){this._addDynamicProperty(F),this.elem.addDynamicProperty(F),this._isDirty=!0},O.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(F,B,G){return new O(F,B,G)}}})();function RepeaterModifier(){}function RoundCornersModifier(){}function floatEqual(D,O){return 1e5*Math.abs(D-O)<=Math.min(Math.abs(D),Math.abs(O))}function floatZero(D){return Math.abs(D)<=1e-5}function lerp(D,O,F){return D*(1-F)+O*F}function lerpPoint(D,O,F){return[lerp(D[0],O[0],F),lerp(D[1],O[1],F)]}function quadRoots(D,O,F){if(D===0)return[];var B=O*O-4*D*F;if(B<0)return[];var G=-O/(2*D);if(B===0)return[G];var U=Math.sqrt(B)/(2*D);return[G-U,G+U]}function polynomialCoefficients(D,O,F,B){return[3*O-D-3*F+B,3*D-6*O+3*F,-3*D+3*O,D]}function singlePoint(D){return new PolynomialBezier(D,D,D,D,!1)}function PolynomialBezier(D,O,F,B,G){G&&pointEqual(D,O)&&(O=lerpPoint(D,B,1/3)),G&&pointEqual(F,B)&&(F=lerpPoint(D,B,2/3));var U=polynomialCoefficients(D[0],O[0],F[0],B[0]),K=polynomialCoefficients(D[1],O[1],F[1],B[1]);this.a=[U[0],K[0]],this.b=[U[1],K[1]],this.c=[U[2],K[2]],this.d=[U[3],K[3]],this.points=[D,O,F,B]}function extrema(D,O){var F=D.points[0][O],B=D.points[D.points.length-1][O];if(F>B){var G=B;B=F,F=G}for(var U=quadRoots(3*D.a[O],2*D.b[O],D.c[O]),K=0;K<U.length;K+=1)if(U[K]>0&&U[K]<1){var X=D.point(U[K])[O];X<F?F=X:X>B&&(B=X)}return{min:F,max:B}}function intersectData(D,O,F){var B=D.boundingBox();return{cx:B.cx,cy:B.cy,width:B.width,height:B.height,bez:D,t:(O+F)/2,t1:O,t2:F}}function splitData(D){var O=D.bez.split(.5);return[intersectData(O[0],D.t1,D.t),intersectData(O[1],D.t,D.t2)]}function boxIntersect(D,O){return 2*Math.abs(D.cx-O.cx)<D.width+O.width&&2*Math.abs(D.cy-O.cy)<D.height+O.height}function intersectsImpl(D,O,F,B,G,U){if(boxIntersect(D,O))if(F>=U||D.width<=B&&D.height<=B&&O.width<=B&&O.height<=B)G.push([D.t,O.t]);else{var K=splitData(D),X=splitData(O);intersectsImpl(K[0],X[0],F+1,B,G,U),intersectsImpl(K[0],X[1],F+1,B,G,U),intersectsImpl(K[1],X[0],F+1,B,G,U),intersectsImpl(K[1],X[1],F+1,B,G,U)}}function crossProduct(D,O){return[D[1]*O[2]-D[2]*O[1],D[2]*O[0]-D[0]
vendor: 8,172 bytes, line 150
150*O[2],D[0]*O[1]-D[1]*O[0]]}function lineIntersection(D,O,F,B){var G=[D[0],D[1],1],U=[O[0],O[1],1],K=[F[0],F[1],1],X=[B[0],B[1],1],q=crossProduct(crossProduct(G,U),crossProduct(K,X));return floatZero(q[2])?null:[q[0]/q[2],q[1]/q[2]]}function polarOffset(D,O,F){return[D[0]+Math.cos(O)*F,D[1]-Math.sin(O)*F]}function pointDistance(D,O){return Math.hypot(D[0]-O[0],D[1]-O[1])}function pointEqual(D,O){return floatEqual(D[0],O[0])&&floatEqual(D[1],O[1])}function ZigZagModifier(){}function setPoint(D,O,F,B,G,U,K){var X=F-Math.PI/2,q=F+Math.PI/2,nt=O[0]+Math.cos(F)*B*G,W=O[1]-Math.sin(F)*B*G;D.setTripleAt(nt,W,nt+Math.cos(X)*U,W-Math.sin(X)*U,nt+Math.cos(q)*K,W-Math.sin(q)*K,D.length())}function getPerpendicularVector(D,O){var F=[O[0]-D[0],O[1]-D[1]],B=.5*-Math.PI;return[Math.cos(B)*F[0]-Math.sin(B)*F[1],Math.sin(B)*F[0]+Math.cos(B)*F[1]]}function getProjectingAngle(D,O){var F=O===0?D.length()-1:O-1,B=(O+1)%D.length(),G=getPerpendicularVector(D.v[F],D.v[B]);return Math.atan2(0,1)-Math.atan2(G[1],G[0])}function zigZagCorner(D,O,F,B,G,U,K){var X=getProjectingAngle(O,F),q=O.v[F%O._length],nt=O.v[F===0?O._length-1:F-1],W=O.v[(F+1)%O._length],Q=U===2?Math.sqrt(Math.pow(q[0]-nt[0],2)+Math.pow(q[1]-nt[1],2)):0,rt=U===2?Math.sqrt(Math.pow(q[0]-W[0],2)+Math.pow(q[1]-W[1],2)):0;setPoint(D,O.v[F%O._length],X,K,B,rt/(2*(G+1)),Q/(2*(G+1)),U)}function zigZagSegment(D,O,F,B,G,U){for(var K=0;K<B;K+=1){var X=(K+1)/(B+1),q=G===2?Math.sqrt(Math.pow(O.points[3][0]-O.points[0][0],2)+Math.pow(O.points[3][1]-O.points[0][1],2)):0,nt=O.normalAngle(X);setPoint(D,O.point(X),nt,U,F,q/(2*(B+1)),q/(2*(B+1)),G),U=-U}return U}function linearOffset(D,O,F){var B=Math.atan2(O[0]-D[0],O[1]-D[1]);return[polarOffset(D,B,F),polarOffset(O,B,F)]}function offsetSegment(D,O){var F,B,G,U,K,X,q;F=(q=linearOffset(D.points[0],D.points[1],O))[0],B=q[1],G=(q=linearOffset(D.points[1],D.points[2],O))[0],U=q[1],K=(q=linearOffset(D.points[2],D.points[3],O))[0],X=q[1];var nt=lineIntersection(F,B,G,U);nt===null&&(nt=B);var W=lineIntersection(K,X,G,U);return W===null&&(W=K),new PolynomialBezier(F,nt,W,X)}function joinLines(D,O,F,B,G){var U=O.points[3],K=F.points[0];if(B===3||pointEqual(U,K))return U;if(B===2){var X=-O.tangentAngle(1),q=-F.tangentAngle(0)+Math.PI,nt=lineIntersection(U,polarOffset(U,X+Math.PI/2,100),K,polarOffset(K,X+Math.PI/2,100)),W=nt?pointDistance(nt,U):pointDistance(U,K)/2,Q=polarOffset(U,X,2*W*roundCorner);return D.setXYAt(Q[0],Q[1],"o",D.length()-1),Q=polarOffset(K,q,2*W*roundCorner),D.setTripleAt(K[0],K[1],K[0],K[1],Q[0],Q[1],D.length()),K}var rt=lineIntersection(pointEqual(U,O.points[2])?O.points[0]:O.points[2],U,K,pointEqual(K,F.points[1])?F.points[3]:F.points[1]);return rt&&pointDistance(rt,U)<G?(D.setTripleAt(rt[0],rt[1],rt[0],rt[1],rt[0],rt[1],D.length()),rt):U}function getIntersection(D,O){var F=D.intersections(O);return F.length&&floatEqual(F[0][0],1)&&F.shift(),F.length?F[0]:null}function pruneSegmentIntersection(D,O){var F=D.slice(),B=O.slice(),G=getIntersection(D[D.length-1],O[0]);return G&&(F[D.length-1]=D[D.length-1].split(G[0])[0],B[0]=O[0].split(G[1])[1]),D.length>1&&O.length>1&&(G=getIntersection(D[0],O[O.length-1]))?[[D[0].split(G[0])[0]],[O[O.length-1].split(G[1])[1]]]:[F,B]}function pruneIntersections(D){for(var O,F=1;F<D.length;F+=1)O=pruneSegmentIntersection(D[F-1],D[F]),D[F-1]=O[0],D[F]=O[1];return D.length>1&&(O=pruneSegmentIntersection(D[D.length-1],D[0]),D[D.length-1]=O[0],D[0]=O[1]),D}function offsetSegmentSplit(D,O){var F,B,G,U,K=D.inflectionPoints();if(K.length===0)return[offsetSegment(D,O)];if(K.length===1||floatEqual(K[1],1))return F=(G=D.split(K[0]))[0],B=G[1],[offsetSegment(F,O),offsetSegment(B,O)];F=(G=D.split(K[0]))[0];var X=(K[1]-K[0])/(1-K[0]);return U=(G=G[1].split(X))[0],B=G[1],[offsetSegment(F,O),offsetSegment(U,O),offsetSegment(B,O)]}function OffsetPathModifier(){}function getFontProperties(D){for(var O=D.fStyle?D.fStyle.split(" "):[],F="normal",B="normal",G=O.length,U=0;U<G;U+=1)switch(O[U].toLowerCase()){case"italic":B="italic";break;case"bold":F="700";break;case"black":F="900";break;case"medium":F="500";break;case"regular":case"normal":F="400";break;case"light":case"thin":F="200"}return{style:B,weight:D.fWeight||F}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(D,O){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(D,O.c,0,null,this),this.o=PropertyFactory.getProp(D,O.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(D,O.tr,this),this.so=PropertyFactory.getProp(D,O.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(D,O.tr.eo,0,.01,this),this.data=O,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(D,O,F,B,G,U){var K=U?-1:1,X=B.s.v[0]+(1-B.s.v[0])*(1-G),q=B.s.v[1]+(1-B.s.v[1])*(1-G);D.translate(B.p.v[0]*K*G,B.p.v[1]*K*G,B.p.v[2]),O.translate(-B.a.v[0],-B.a.v[1],B.a.v[2]),O.rotate(-B.r.v*K*G),O.translate(B.a.v[0],B.a.v[1],B.a.v[2]),F.translate(-B.a.v[0],-B.a.v[1],B.a.v[2]),F.scale(U?1/X:X,U?1/q:q),F.translate(B.a.v[0],B.a.v[1],B.a.v[2])},RepeaterModifier.prototype.init=function(D,O,F,B){for(this.elem=D,this.arr=O,this.pos=F,this.elemsData=B,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(D),this.initModifierProperties(D,O[F]);F>0;)F-=1,this._elements.unshift(O[F]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(D){var O,F=D.length;for(O=0;O<F;O+=1)D[O]._processed=!1,D[O].ty==="gr"&&this.resetElements(D[O].it)},RepeaterModifier.prototype.cloneElements=function(D){var O=JSON.parse(JSON.stringify(D));return this.resetElements(O),O},RepeaterModifier.prototype.changeGroupRender=function(D,O){var F,B=D.length;for(F=0;F<B;F+=1)D[F]._render=O,D[F].ty==="gr"&&this.changeGroupRender(D[F].it,O)},RepeaterModifier.prototype.processShapes=function(D){var O,F,B,G,U,K=!1;if(this._mdf||D){var X,q=Math.ceil(this.c.v);if(this._groups.length<q){for(;this._groups.length<q;){var nt={it:this.cloneElements(this._elements),ty:"gr"};nt.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,nt),this._groups.splice(0,0,nt),this._currentCopies+=1}this.elem.reloadShapes(),K=!0}for(U=0,B=0;B<=this._groups.length-1;B+=1){if(X=U<q,this._groups[B]._render=X,this.changeGroupRender(this._groups[B].it,X),!X){var W=this.elemsData[B].it,Q=W[W.length-1];Q.transform.op.v!==0?(Q.transform.op._mdf=!0,Q.transform.op.v=0):Q.transform.op._mdf=!1}U+=1}this._currentCopies=q;var rt=this.o.v,J=rt%1,tt=rt>0?Math.floor(rt):Math.ceil(rt),at=this.pMatrix.props,Y=this.rMatrix.props,it=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var ot,ft,gt=0;if(rt>0){for(;gt<tt;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),gt+=1;J&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,J,!1),gt+=J)}else if(rt<0){for(;gt>tt;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),gt-=1;J&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-J,!0),gt-=J)}for(B=this.data.m===1?0:this._currentCopies-1,G=this.data.m===1?1:-1,U=this._currentCopies;U;){if(ft=(F=(O=this.elemsData[B].it)[O.length-1].transform.mProps.v.props).length,O[O.length-1].transform.mProps._mdf=!0,O[O.length-1].transform.op._mdf=!0,O[O.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(B/(this._currentCopies-1)),gt!==0){for((B!==0&&G===1||B!==this._currentCopies-1&&G===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(Y[0],Y[1],Y[2],Y[3],Y[4],Y[5],Y[6],Y[7],Y[8],Y[9],Y[10],Y[11],Y[12],Y[13],Y[14],Y[15]),this.matrix.transform(it[0],it[1],it[2],it[3],it[4],it[5],it[6],it[7],it[8],it[9],it[10],it[11
vendor: 7,316 bytes, line 150
150],it[12],it[13],it[14],it[15]),this.matrix.transform(at[0],at[1],at[2],at[3],at[4],at[5],at[6],at[7],at[8],at[9],at[10],at[11],at[12],at[13],at[14],at[15]),ot=0;ot<ft;ot+=1)F[ot]=this.matrix.props[ot];this.matrix.reset()}else for(this.matrix.reset(),ot=0;ot<ft;ot+=1)F[ot]=this.matrix.props[ot];gt+=1,U-=1,B+=G}}else for(U=this._currentCopies,B=0,G=1;U;)F=(O=this.elemsData[B].it)[O.length-1].transform.mProps.v.props,O[O.length-1].transform.mProps._mdf=!1,O[O.length-1].transform.op._mdf=!1,U-=1,B+=G;return K},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(D,O){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(D,O.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(D,O){var F,B=shapePool.newElement();B.c=D.c;var G,U,K,X,q,nt,W,Q,rt,J,tt,at,Y=D._length,it=0;for(F=0;F<Y;F+=1)G=D.v[F],K=D.o[F],U=D.i[F],G[0]===K[0]&&G[1]===K[1]&&G[0]===U[0]&&G[1]===U[1]?F!==0&&F!==Y-1||D.c?(X=F===0?D.v[Y-1]:D.v[F-1],nt=(q=Math.sqrt(Math.pow(G[0]-X[0],2)+Math.pow(G[1]-X[1],2)))?Math.min(q/2,O)/q:0,W=tt=G[0]+(X[0]-G[0])*nt,Q=at=G[1]-(G[1]-X[1])*nt,rt=W-(W-G[0])*roundCorner,J=Q-(Q-G[1])*roundCorner,B.setTripleAt(W,Q,rt,J,tt,at,it),it+=1,X=F===Y-1?D.v[0]:D.v[F+1],nt=(q=Math.sqrt(Math.pow(G[0]-X[0],2)+Math.pow(G[1]-X[1],2)))?Math.min(q/2,O)/q:0,W=rt=G[0]+(X[0]-G[0])*nt,Q=J=G[1]+(X[1]-G[1])*nt,tt=W-(W-G[0])*roundCorner,at=Q-(Q-G[1])*roundCorner,B.setTripleAt(W,Q,rt,J,tt,at,it),it+=1):(B.setTripleAt(G[0],G[1],K[0],K[1],U[0],U[1],it),it+=1):(B.setTripleAt(D.v[F][0],D.v[F][1],D.o[F][0],D.o[F][1],D.i[F][0],D.i[F][1],it),it+=1);return B},RoundCornersModifier.prototype.processShapes=function(D){var O,F,B,G,U,K,X=this.shapes.length,q=this.rd.v;if(q!==0)for(F=0;F<X;F+=1){if(K=(U=this.shapes[F]).localShapeCollection,U.shape._mdf||this._mdf||D)for(K.releaseShapes(),U.shape._mdf=!0,O=U.shape.paths.shapes,G=U.shape.paths._length,B=0;B<G;B+=1)K.addShape(this.processPath(O[B],q));U.shape.paths=U.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},PolynomialBezier.prototype.point=function(D){return[((this.a[0]*D+this.b[0])*D+this.c[0])*D+this.d[0],((this.a[1]*D+this.b[1])*D+this.c[1])*D+this.d[1]]},PolynomialBezier.prototype.derivative=function(D){return[(3*D*this.a[0]+2*this.b[0])*D+this.c[0],(3*D*this.a[1]+2*this.b[1])*D+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(D){var O=this.derivative(D);return Math.atan2(O[1],O[0])},PolynomialBezier.prototype.normalAngle=function(D){var O=this.derivative(D);return Math.atan2(O[0],O[1])},PolynomialBezier.prototype.inflectionPoints=function(){var D=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(D))return[];var O=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/D,F=O*O-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/D;if(F<0)return[];var B=Math.sqrt(F);return floatZero(B)?B>0&&B<1?[O]:[]:[O-B,O+B].filter((function(G){return G>0&&G<1}))},PolynomialBezier.prototype.split=function(D){if(D<=0)return[singlePoint(this.points[0]),this];if(D>=1)return[this,singlePoint(this.points[this.points.length-1])];var O=lerpPoint(this.points[0],this.points[1],D),F=lerpPoint(this.points[1],this.points[2],D),B=lerpPoint(this.points[2],this.points[3],D),G=lerpPoint(O,F,D),U=lerpPoint(F,B,D),K=lerpPoint(G,U,D);return[new PolynomialBezier(this.points[0],O,G,K,!0),new PolynomialBezier(K,U,B,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var D=this.bounds();return{left:D.x.min,right:D.x.max,top:D.y.min,bottom:D.y.max,width:D.x.max-D.x.min,height:D.y.max-D.y.min,cx:(D.x.max+D.x.min)/2,cy:(D.y.max+D.y.min)/2}},PolynomialBezier.prototype.intersections=function(D,O,F){O===void 0&&(O=2),F===void 0&&(F=7);var B=[];return intersectsImpl(intersectData(this,0,1),intersectData(D,0,1),0,O,B,F),B},PolynomialBezier.shapeSegment=function(D,O){var F=(O+1)%D.length();return new PolynomialBezier(D.v[O],D.o[O],D.i[F],D.v[F],!0)},PolynomialBezier.shapeSegmentInverted=function(D,O){var F=(O+1)%D.length();return new PolynomialBezier(D.v[F],D.i[F],D.o[O],D.v[O],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(D,O){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(D,O.s,0,null,this),this.frequency=PropertyFactory.getProp(D,O.r,0,null,this),this.pointsType=PropertyFactory.getProp(D,O.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0},ZigZagModifier.prototype.processPath=function(D,O,F,B){var G=D._length,U=shapePool.newElement();if(U.c=D.c,D.c||(G-=1),G===0)return U;var K=-1,X=PolynomialBezier.shapeSegment(D,0);zigZagCorner(U,D,0,O,F,B,K);for(var q=0;q<G;q+=1)K=zigZagSegment(U,X,O,F,B,-K),X=q!==G-1||D.c?PolynomialBezier.shapeSegment(D,(q+1)%G):null,zigZagCorner(U,D,q+1,O,F,B,K);return U},ZigZagModifier.prototype.processShapes=function(D){var O,F,B,G,U,K,X=this.shapes.length,q=this.amplitude.v,nt=Math.max(0,Math.round(this.frequency.v)),W=this.pointsType.v;if(q!==0)for(F=0;F<X;F+=1){if(K=(U=this.shapes[F]).localShapeCollection,U.shape._mdf||this._mdf||D)for(K.releaseShapes(),U.shape._mdf=!0,O=U.shape.paths.shapes,G=U.shape.paths._length,B=0;B<G;B+=1)K.addShape(this.processPath(O[B],q,nt,W));U.shape.paths=U.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(D,O){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(D,O.a,0,null,this),this.miterLimit=PropertyFactory.getProp(D,O.ml,0,null,this),this.lineJoin=O.lj,this._isAnimated=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(D,O,F,B){var G=shapePool.newElement();G.c=D.c;var U,K,X,q=D.length();D.c||(q-=1);var nt=[];for(U=0;U<q;U+=1)X=PolynomialBezier.shapeSegment(D,U),nt.push(offsetSegmentSplit(X,O));if(!D.c)for(U=q-1;U>=0;U-=1)X=PolynomialBezier.shapeSegmentInverted(D,U),nt.push(offsetSegmentSplit(X,O));nt=pruneIntersections(nt);var W=null,Q=null;for(U=0;U<nt.length;U+=1){var rt=nt[U];for(Q&&(W=joinLines(G,Q,rt[0],F,B)),Q=rt[rt.length-1],K=0;K<rt.length;K+=1)X=rt[K],W&&pointEqual(X.points[0],W)?G.setXYAt(X.points[1][0],X.points[1][1],"o",G.length()-1):G.setTripleAt(X.points[0][0],X.points[0][1],X.points[1][0],X.points[1][1],X.points[0][0],X.points[0][1],G.length()),G.setTripleAt(X.points[3][0],X.points[3][1],X.points[3][0],X.points[3][1],X.points[2][0],X.points[2][1],G.length()),W=X.points[3]}return nt.length&&joinLines(G,Q,nt[0][0],F,B),G},OffsetPathModifier.prototype.processShapes=function(D){var O,F,B,G,U,K,X=this.shapes.length,q=this.amount.v,nt=this.miterLimit.v,W=this.lineJoin;if(q!==0)for(F=0;F<X;F+=1){if(K=(U=this.shapes[F]).localShapeCollection,U.shape._mdf||this._mdf||D)for(K.releaseShapes(),U.shape._mdf=!0,O=U.shape.paths.shapes,G=U.shape.paths._length,B=0;B<G;B+=1)K.addShape(this.processPath(O[B],q,W,nt));U.shape.paths=U.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=(function(){var D={w:0,size:0,shapes:[],data:{shapes:[]}},O=[];
150O=O.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var F=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],B=[65039,8205];function G(X,q){var nt=createTag("span");nt.setAttribute("aria-hidden",!0),nt.style.fontFamily=q;var W=createTag("span");W.innerText="giItT1WQy@!-/#",nt.style.position="absolute",nt.style.left="-10000px",nt.style.top="-10000px",nt.style.fontSize="300px",nt.style.fontVariant="normal",nt.style.fontStyle="normal",nt.style.fontWeight="normal",nt.style.letterSpacing="0",nt.appendChild(W),document.body.appendChild(nt);var Q=W.offsetWidth;return W.style.fontFamily=(function(rt){var J,tt=rt.split(","),at=tt.length,Y=[];for(J=0;J<at;J+=1)tt[J]!=="sans-serif"&&tt[J]!=="monospace"&&Y.push(tt[J]);return Y.join(",")})(X)+", "+q,{node:W,w:Q,parent:nt}}function U(X,q){var nt,W=document.body&&q?"svg":"canvas",Q=getFontProperties(X);if(W==="svg"){var rt=createNS("text");rt.style.fontSize="100px",rt.setAttribute("font-family",X.fFamily),rt.setAttribute("font-style",Q.style),rt.setAttribute("font-weight",Q.weight),rt.textContent="1",X.fClass?(rt.style.fontFamily="inherit",rt.setAttribute("class",X.fClass)):rt.style.fontFamily=X.fFamily,q.appendChild(rt),nt=rt}else{var J=new OffscreenCanvas(500,500).getContext("2d");J.font=Q.style+" "+Q.weight+" 100px "+X.fFamily,nt=J}return{measureText:function(tt){return W==="svg"?(nt.textContent=tt,nt.getComputedTextLength()):nt.measureText(tt).width}}}var K=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};return K.isModifier=function(X,q){var nt=X.toString(16)+q.toString(16);return F.indexOf(nt)!==-1},K.isZeroWidthJoiner=function(X,q){return q?X===B[0]&&q===B[1]:X===B[1]},K.isCombinedCharacter=function(X){return O.indexOf(X)!==-1},K.prototype={addChars:function(X){if(X){var q;this.chars||(this.chars=[]);var nt,W,Q=X.length,rt=this.chars.length;for(q=0;q<Q;q+=1){for(nt=0,W=!1;nt<rt;)this.chars[nt].style===X[q].style&&this.chars[nt].fFamily===X[q].fFamily&&this.chars[nt].ch===X[q].ch&&(W=!0),nt+=1;W||(this.chars.push(X[q]),rt+=1)}}},addFonts:function(X,q){if(X){if(this.chars)return this.isLoaded=!0,void(this.fonts=X.list);if(!document.body)return this.isLoaded=!0,X.list.forEach((function(ft){ft.helper=U(ft),ft.cache={}})),void(this.fonts=X.list);var nt,W=X.list,Q=W.length,rt=Q;for(nt=0;nt<Q;nt+=1){var J,tt,at=!0;if(W[nt].loaded=!1,W[nt].monoCase=G(W[nt].fFamily,"monospace"),W[nt].sansCase=G(W[nt].fFamily,"sans-serif"),W[nt].fPath){if(W[nt].fOrigin==="p"||W[nt].origin===3){if((J=document.querySelectorAll('style[f-forigin="p"][f-family="'+W[nt].fFamily+'"], style[f-origin="3"][f-family="'+W[nt].fFamily+'"]')).length>0&&(at=!1),at){var Y=createTag("style");Y.setAttribute("f-forigin",W[nt].fOrigin),Y.setAttribute("f-origin",W[nt].origin),Y.
vendor: 6,357 bytes, line 150
150setAttribute("f-family",W[nt].fFamily),Y.type="text/css",Y.innerText="@font-face {font-family: "+W[nt].fFamily+"; font-style: normal; src: url('"+W[nt].fPath+"');}",q.appendChild(Y)}}else if(W[nt].fOrigin==="g"||W[nt].origin===1){for(J=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),tt=0;tt<J.length;tt+=1)J[tt].href.indexOf(W[nt].fPath)!==-1&&(at=!1);if(at){var it=createTag("link");it.setAttribute("f-forigin",W[nt].fOrigin),it.setAttribute("f-origin",W[nt].origin),it.type="text/css",it.rel="stylesheet",it.href=W[nt].fPath,document.body.appendChild(it)}}else if(W[nt].fOrigin==="t"||W[nt].origin===2){for(J=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),tt=0;tt<J.length;tt+=1)W[nt].fPath===J[tt].src&&(at=!1);if(at){var ot=createTag("link");ot.setAttribute("f-forigin",W[nt].fOrigin),ot.setAttribute("f-origin",W[nt].origin),ot.setAttribute("rel","stylesheet"),ot.setAttribute("href",W[nt].fPath),q.appendChild(ot)}}}else W[nt].loaded=!0,rt-=1;W[nt].helper=U(W[nt],q),W[nt].cache={},this.fonts.push(W[nt])}rt===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(X,q,nt){for(var W=0,Q=this.chars.length;W<Q;){if(this.chars[W].ch===X&&this.chars[W].style===q&&this.chars[W].fFamily===nt)return this.chars[W];W+=1}return(typeof X=="string"&&X.charCodeAt(0)!==13||!X)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",X,q,nt)),D},getFontByName:function(X){for(var q=0,nt=this.fonts.length;q<nt;){if(this.fonts[q].fName===X)return this.fonts[q];q+=1}return this.fonts[0]},measureText:function(X,q,nt){var W=this.getFontByName(q),Q=X.charCodeAt(0);if(!W.cache[Q+1]){var rt=W.helper;if(X===" "){var J=rt.measureText("|"+X+"|"),tt=rt.measureText("||");W.cache[Q+1]=(J-tt)/100}else W.cache[Q+1]=rt.measureText(X)/100}return W.cache[Q+1]*nt},checkLoadedFonts:function(){var X,q,nt,W=this.fonts.length,Q=W;for(X=0;X<W;X+=1)this.fonts[X].loaded?Q-=1:this.fonts[X].fOrigin==="n"||this.fonts[X].origin===0?this.fonts[X].loaded=!0:(q=this.fonts[X].monoCase.node,nt=this.fonts[X].monoCase.w,q.offsetWidth!==nt?(Q-=1,this.fonts[X].loaded=!0):(q=this.fonts[X].sansCase.node,nt=this.fonts[X].sansCase.w,q.offsetWidth!==nt&&(Q-=1,this.fonts[X].loaded=!0)),this.fonts[X].loaded&&(this.fonts[X].sansCase.parent.parentNode.removeChild(this.fonts[X].sansCase.parent),this.fonts[X].monoCase.parent.parentNode.removeChild(this.fonts[X].monoCase.parent)));Q!==0&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}},K})();function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(D){this.renderableComponents.indexOf(D)===-1&&this.renderableComponents.push(D)},removeRenderableComponent:function(D){this.renderableComponents.indexOf(D)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(D),1)},prepareRenderableFrame:function(D){this.checkLayerLimits(D)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(D){this.data.ip-this.data.st<=D&&this.data.op-this.data.st>D?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var D,O=this.renderableComponents.length;for(D=0;D<O;D+=1)this.renderableComponents[D].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=(blendModeEnums={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"},function(D){return blendModeEnums[D]||""}),blendModeEnums;function SliderEffect(D,O,F){this.p=PropertyFactory.getProp(O,D.v,0,0,F)}function AngleEffect(D,O,F){this.p=PropertyFactory.getProp(O,D.v,0,0,F)}function ColorEffect(D,O,F){this.p=PropertyFactory.getProp(O,D.v,1,0,F)}function PointEffect(D,O,F){this.p=PropertyFactory.getProp(O,D.v,1,0,F)}function LayerIndexEffect(D,O,F){this.p=PropertyFactory.getProp(O,D.v,0,0,F)}function MaskIndexEffect(D,O,F){this.p=PropertyFactory.getProp(O,D.v,0,0,F)}function CheckboxEffect(D,O,F){this.p=PropertyFactory.getProp(O,D.v,0,0,F)}function NoValueEffect(){this.p={}}function EffectsManager(D,O){var F,B=D.ef||[];this.effectElements=[];var G,U=B.length;for(F=0;F<U;F+=1)G=new GroupEffect(B[F],O),this.effectElements.push(G)}function GroupEffect(D,O){this.init(D,O)}function BaseElement(){}function FrameElement(){}function FootageElement(D,O,F){this.initFrame(),this.initRenderable(),this.assetData=O.getAssetData(D.refId),this.footageData=O.imageLoader.getAsset(this.assetData),this.initBaseData(D,O,F)}function AudioElement(D,O,F){this.initFrame(),this.initRenderable(),this.assetData=O.getAssetData(D.refId),this.initBaseData(D,O,F),this._isPlaying=!1,this._canPlay=!1;var B=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(B),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=D.tm?PropertyFactory.getProp(this,D.tm,0,O.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,D.au&&D.au.lv?D.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}function TransformElement(){}function MaskElement(D,O,F){this.data=D,this.element=O,this.globalData=F,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var B,G,U=this.globalData.defs,K=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(K),this.solidPath="";var X,q,nt,W,Q,rt,J=this.masksProperties,tt=0,at=[],Y=createElementID(),it="clipPath",ot="clip-path";
vendor: 4,818 bytes, line 150
150for(B=0;B<K;B+=1)if((J[B].mode!=="a"&&J[B].mode!=="n"||J[B].inv||J[B].o.k!==100||J[B].o.x)&&(it="mask",ot="mask"),J[B].mode!=="s"&&J[B].mode!=="i"||tt!==0?nt=null:((nt=createNS("rect")).setAttribute("fill","#ffffff"),nt.setAttribute("width",this.element.comp.data.w||0),nt.setAttribute("height",this.element.comp.data.h||0),at.push(nt)),G=createNS("path"),J[B].mode==="n")this.viewData[B]={op:PropertyFactory.getProp(this.element,J[B].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,J[B],3),elem:G,lastPath:""},U.appendChild(G);else{var ft;if(tt+=1,G.setAttribute("fill",J[B].mode==="s"?"#000000":"#ffffff"),G.setAttribute("clip-rule","nonzero"),J[B].x.k!==0?(it="mask",ot="mask",rt=PropertyFactory.getProp(this.element,J[B].x,0,null,this.element),ft=createElementID(),(W=createNS("filter")).setAttribute("id",ft),(Q=createNS("feMorphology")).setAttribute("operator","erode"),Q.setAttribute("in","SourceGraphic"),Q.setAttribute("radius","0"),W.appendChild(Q),U.appendChild(W),G.setAttribute("stroke",J[B].mode==="s"?"#000000":"#ffffff")):(Q=null,rt=null),this.storedData[B]={elem:G,x:rt,expan:Q,lastPath:"",lastOperator:"",filterId:ft,lastRadius:0},J[B].mode==="i"){q=at.length;var gt=createNS("g");for(X=0;X<q;X+=1)gt.appendChild(at[X]);var pt=createNS("mask");pt.setAttribute("mask-type","alpha"),pt.setAttribute("id",Y+"_"+tt),pt.appendChild(G),U.appendChild(pt),gt.setAttribute("mask","url("+getLocationHref()+"#"+Y+"_"+tt+")"),at.length=0,at.push(gt)}else at.push(G);J[B].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[B]={elem:G,lastPath:"",op:PropertyFactory.getProp(this.element,J[B].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,J[B],3),invRect:nt},this.viewData[B].prop.k||this.drawPath(J[B],this.viewData[B].prop.v,this.viewData[B])}for(this.maskElement=createNS(it),K=at.length,B=0;B<K;B+=1)this.maskElement.appendChild(at[B]);tt>0&&(this.maskElement.setAttribute("id",Y),this.element.maskedElement.setAttribute(ot,"url("+getLocationHref()+"#"+Y+")"),U.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(D,O){var F;this.data=D,this.effectElements=[],this.initDynamicPropertyContainer(O);var B,G=this.data.ef.length,U=this.data.ef;for(F=0;F<G;F+=1){switch(B=null,U[F].ty){case 0:B=new SliderEffect(U[F],O,this);break;case 1:B=new AngleEffect(U[F],O,this);break;case 2:B=new ColorEffect(U[F],O,this);break;case 3:B=new PointEffect(U[F],O,this);break;case 4:case 7:B=new CheckboxEffect(U[F],O,this);break;case 10:B=new LayerIndexEffect(U[F],O,this);break;case 11:B=new MaskIndexEffect(U[F],O,this);break;case 5:B=new EffectsManager(U[F],O,this);break;default:B=new NoValueEffect(U[F],O,this)}B&&this.effectElements.push(B)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var D=0,O=this.data.masksProperties.length;D<O;){if(this.data.masksProperties[D].mode!=="n"&&this.data.masksProperties[D].cl!==!1)return!0;D+=1}return!1},initExpressions:function(){var D=getExpressionInterfaces();if(D){var O=D("layer"),F=D("effects"),B=D("shape"),G=D("text"),U=D("comp");this.layerInterface=O(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var K=F.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(K),this.data.ty===0||this.data.xt?this.compInterface=U(this):this.data.ty===4?(this.layerInterface.shapeInterface=B(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=G(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var D=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=D},initBaseData:function(D,O,F){this.globalData=O,this.comp=F,this.data=D,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(D,O){var F,B=this.dynamicProperties.length;for(F=0;F<B;F+=1)(O||this._isParent&&this.dynamicProperties[F].propType==="transform")&&(this.dynamicProperties[F].getValue(),this.dynamicProperties[F]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(D){this.dynamicProperties.indexOf(D)===-1&&this.dynamicProperties.push(D)}},FootageElement.prototype.prepareFrame=function(){}
vendor: 9,817 bytes, line 150
150,extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var D=getExpressionInterfaces();if(D){var O=D("footage");this.layerInterface=O(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(D){if(this.prepareRenderableFrame(D,!0),this.prepareProperties(D,!0),this.tm._placeholder)this._currentTime=D/this.data.sr;else{var O=this.tm.v;this._currentTime=O}this._volume=this.lv.v[0];var F=this._volume*this._volumeMultiplier;this._previousVolume!==F&&(this._previousVolume=F,this.audio.volume(F))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(D){this.audio.rate(D)},AudioElement.prototype.volume=function(D){this._volumeMultiplier=D,this._previousVolume=D*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(D){var O,F,B=this.layers.length;for(this.completeLayers=!0,O=B-1;O>=0;O-=1)this.elements[O]||(F=this.layers[O]).ip-F.st<=D-this.layers[O].st&&F.op-F.st>D-this.layers[O].st&&this.buildItem(O),this.completeLayers=!!this.elements[O]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(D){switch(D.ty){case 2:return this.createImage(D);case 0:return this.createComp(D);case 1:return this.createSolid(D);case 3:return this.createNull(D);case 4:return this.createShape(D);case 5:return this.createText(D);case 6:return this.createAudio(D);case 13:return this.createCamera(D);case 15:return this.createFootage(D);default:return this.createNull(D)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(D){return new AudioElement(D,this.globalData,this)},BaseRenderer.prototype.createFootage=function(D){return new FootageElement(D,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var D,O=this.layers.length;for(D=0;D<O;D+=1)this.buildItem(D);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(D){var O;this.completeLayers=!1;var F,B=D.length,G=this.layers.length;for(O=0;O<B;O+=1)for(F=0;F<G;){if(this.layers[F].id===D[O].id){this.layers[F]=D[O];break}F+=1}},BaseRenderer.prototype.setProjectInterface=function(D){this.globalData.projectInterface=D},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(D,O,F){for(var B=this.elements,G=this.layers,U=0,K=G.length;U<K;)G[U].ind==O&&(B[U]&&B[U]!==!0?(F.push(B[U]),B[U].setAsParent(),G[U].parent!==void 0?this.buildElementParenting(D,G[U].parent,F):D.setHierarchy(F)):(this.buildItem(U),this.addPendingElement(D))),U+=1},BaseRenderer.prototype.addPendingElement=function(D){this.pendingElements.push(D)},BaseRenderer.prototype.searchExtraCompositions=function(D){var O,F=D.length;for(O=0;O<F;O+=1)if(D[O].xt){var B=this.createComp(D[O]);B.initExpressions(),this.globalData.projectInterface.registerComposition(B)}},BaseRenderer.prototype.getElementByPath=function(D){var O,F=D.shift();if(typeof F=="number")O=this.elements[F];else{var B,G=this.elements.length;for(B=0;B<G;B+=1)if(this.elements[B].data.nm===F){O=this.elements[B];break}}return D.length===0?O:O.getElementByPath(D)},BaseRenderer.prototype.setupGlobalData=function(D,O){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(D.chars),this.globalData.fontManager.addFonts(D.fonts,O),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=D.fr,this.globalData.nm=D.nm,this.globalData.compSize={w:D.w,h:D.h}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var D,O=this.finalTransform.mat,F=0,B=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;F<B;){if(this.hierarchy[F].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}F+=1}if(this.finalTransform._matMdf)for(D=this.finalTransform.mProp.v.props,O.cloneFromProps(D),F=0;F<B;F+=1)D=this.hierarchy[F].finalTransform.mProp.v.props,O.transform(D[0],D[1],D[2],D[3],D[4],D[5],D[6],D[7],D[8],D[9],D[10],D[11],D[12],D[13],D[14],D[15])}},globalToLocal:function(D){var O=[];O.push(this.finalTransform);for(var F,B=!0,G=this.comp;B;)G.finalTransform?(G.data.hasMask&&O.splice(0,0,G.finalTransform),G=G.comp):B=!1;var U,K=O.length;for(F=0;F<K;F+=1)U=O[F].mat.applyToPointArray(0,0,0),D=[D[0]-U[0],D[1]-U[1],0];return D},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(D){return this.viewData[D].prop},MaskElement.prototype.renderFrame=function(D){var O,F=this.element.finalTransform.mat,B=this.masksProperties.length;for(O=0;O<B;O+=1)if((this.viewData[O].prop._mdf||D)&&this.drawPath(this.masksProperties[O],this.viewData[O].prop.v,this.viewData[O]),(this.viewData[O].op._mdf||D)&&this.viewData[O].elem.setAttribute("fill-opacity",this.viewData[O].op.v),this.masksProperties[O].mode!=="n"&&(this.viewData[O].invRect&&(this.element.finalTransform.mProp._mdf||D)&&this.viewData[O].invRect.setAttribute("transform",F.getInverseMatrix().to2dCSS()),this.storedData[O].x&&(this.storedData[O].x._mdf||D))){var G=this.storedData[O].expan;this.storedData[O].x.v<0?(this.storedData[O].lastOperator!=="erode"&&(this.storedData[O].lastOperator="erode",this.storedData[O].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[O].filterId+")")),G.setAttribute("radius",-this.storedData[O].x.v)):(this.storedData[O].lastOperator!=="dilate"&&(this.storedData[O].lastOperator="dilate",this.storedData[O].elem.setAttribute("filter",null)),this.storedData[O].elem.setAttribute("stroke-width",2*this.storedData[O].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var D="M0,0 ";return D+=" h"+this.globalData.compSize.w,D+=" v"+this.globalData.compSize.h,D+=" h-"+this.globalData.compSize.w,D+=" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(D,O,F){var B,G,U=" M"+O.v[0][0]+","+O.v[0][1];for(G=O._length,B=1;B<G;B+=1)U+=" C"+O.o[B-1][0]+","+O.o[B-1][1]+" "+O.i[B][0]+","+O.i[B][1]+" "+O.v[B][0]+","+O.v[B][1];if(O.c&&G>1&&(U+=" C"+O.o[B-1][0]+","+O.o[B-1][1]+" "+O.i[0][0]+","+O.i[0][1]+" "+O.v[0][0]+","+O.v[0][1]),F.lastPath!==U){var K="";F.elem&&(O.c&&(K=D.inv?this.solidPath+U:U),F.elem.setAttribute("d",K)),F.lastPath=U}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=(function(){var D={};return D.createFilter=function(O,F){var B=createNS("filter");return B.setAttribute("id",O),F!==!0&&(B.setAttribute("filterUnits","objectBoundingBox"),B.setAttribute("x","0%"),B.setAttribute("y","0%"),B.setAttribute("width","100%"),B.setAttribute("height","100%")),B},D.createAlphaToLuminanceFilter=function(){var O=createNS("feColorMatrix");return O.setAttribute("type","matrix"),O.setAttribute("color-interpolation-filters","sRGB"),O.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),O},D})(),featureSupport=(function(){var D={maskType:!0};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(D.maskType=!1),D})(),registeredEffects={},idPrefix="filter_result_";function SVGEffects(D){var O,F,B="SourceGraphic",G=D.data.ef?D.data.ef.length:0,U=createElementID(),K=filtersFactory.createFilter(U,!0),X=0;for(this.filters=[],O=0;O<G;O+=1){F=null;var q=D.data.ef[O].ty;registeredEffects[q]&&(F=new registeredEffects[q].effect(K,D.effectsManager.effectElements[O],D,idPrefix+X,B),B=idPrefix+X,registeredEffects[q].countsAsEffect&&(X+=1)),F&&this.filters.push(F)}X&&(D.globalData.defs.appendChild(K),D.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+U+")")),this.filters.length&&D.addRenderableComponent(this)}function registerEffect(D,O,F){registeredEffects[D]={effect:O,countsAsEffect:F}}function SVGBaseElement(){}function HierarchyElement(){}
150function RenderableDOMElement(){}function IImageElement(D,O,F){this.assetData=O.getAssetData(D.refId),this.initElement(D,O,F),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(D,O){this.elem=D,this.pos=O}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(D){var O,F=this.filters.length;for(O=0;O<F;O+=1)this.filters[O].renderFrame(D)},SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var D=null;if(this.data.td){this.matteMasks={};var O=createNS("symbol");O.setAttribute("id",this.layerId);var F=createNS("g");F.appendChild(this.layerElement),O.appendChild(F),D=F,this.globalData.defs.appendChild(O)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),D=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var B=createNS("clipPath"),G=createNS("path");G.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var U=createElementID();if(B.setAttribute("id",U),B.appendChild(G),this.globalData.defs.appendChild(B),this.checkMasks()){var K=createNS("g");K.setAttribute("clip-path","url("+getLocationHref()+"#"+U+")"),K.appendChild(this.layerElement),this.transformedElement=K,D?D.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+U+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this)},getMatte:function(D){if(!this.matteMasks[D]){var O,F,B,G,U=this.layerId+"_"+D;if(D===1||D===3){var K=createNS("mask");K.setAttribute("id",U),K.setAttribute("mask-type",D===3?"luminance":"alpha"),(B=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),K.appendChild(B),this.globalData.defs.appendChild(K),featureSupport.maskType||D!==1||(K.setAttribute("mask-type","luminance"),O=createElementID(),F=filtersFactory.createFilter(O),this.globalData.defs.appendChild(F),F.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(G=createNS("g")).appendChild(B),K.appendChild(G),G.setAttribute("filter","url("+getLocationHref()+"#"+O+")"))}else if(D===2){var X=createNS("mask");X.setAttribute("id",U),X.setAttribute("mask-type","alpha");var q=createNS("g");X.appendChild(q),O=createElementID(),F=filtersFactory.createFilter(O);var nt=createNS("feComponentTransfer");nt.setAttribute("in","SourceGraphic"),F.appendChild(nt);var W=createNS("feFuncA");W.setAttribute("type","table"),W.setAttribute("tableValues","1.0 0.0"),nt.appendChild(W),this.globalData.defs.appendChild(F);var Q=createNS("rect");Q.setAttribute("width",this.comp.data.w),Q.setAttribute("height",this.comp.data.h),Q.setAttribute("x","0"),Q.setAttribute("y","0"),Q.setAttribute("fill","#ffffff"),Q.setAttribute("opacity","0"),q.setAttribute("filter","url("+getLocationHref()+"#"+O+")"),q.appendChild(Q),(B=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),q.appendChild(B),featureSupport.maskType||(X.setAttribute("mask-type","luminance"),F.appendChild(filtersFactory.createAlphaToLuminanceFilter()),G=createNS("g"),q.appendChild(Q),G.appendChild(this.layerElement),q.appendChild(G)),this.globalData.defs.appendChild(X)}this.matteMasks[D]=U}return this.matteMasks[D]},setMatte:function(D){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+D+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(D){this.hierarchy=D},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}}
vendor: 7,526 bytes, line 150
150,extendPrototype([RenderableElement,createProxyFunction({initElement:function(D,O,F){this.initFrame(),this.initBaseData(D,O,F),this.initTransform(D,O,F),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(D){this._mdf=!1,this.prepareRenderableFrame(D),this.prepareProperties(D,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var D=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",D),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(D){var O,F=this.shapeModifiers.length;for(O=0;O<F;O+=1)this.shapeModifiers[O].addShape(D)},isShapeInAnimatedModifiers:function(D){for(var O=this.shapeModifiers.length;0<O;)if(this.shapeModifiers[0].isAnimatedWithShape(D))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var D,O=this.shapes.length;for(D=0;D<O;D+=1)this.shapes[D].sh.reset();for(D=(O=this.shapeModifiers.length)-1;D>=0&&!this.shapeModifiers[D].processShapes(this._isFirstFrame);D-=1);}},searchProcessedElement:function(D){for(var O=this.processedElements,F=0,B=O.length;F<B;){if(O[F].elem===D)return O[F].pos;F+=1}return 0},addProcessedElement:function(D,O){for(var F=this.processedElements,B=F.length;B;)if(F[B-=1].elem===D)return void(F[B].pos=O);F.push(new ProcessedElement(D,O))},prepareFrame:function(D){this.prepareRenderableFrame(D),this.prepareProperties(D,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(D,O,F){this.caches=[],this.styles=[],this.transformers=D,this.lStr="",this.sh=F,this.lvl=O,this._isAnimated=!!F.k;for(var B=0,G=D.length;B<G;){if(D[B].mProps.dynamicProperties.length){this._isAnimated=!0;break}B+=1}}function SVGStyleData(D,O){this.data=D,this.type=D.ty,this.d="",this.lvl=O,this._mdf=!1,this.closed=D.hd===!0,this.pElem=createNS("path"),this.msElem=null}function DashProperty(D,O,F,B){var G;this.elem=D,this.frameId=-1,this.dataProps=createSizedArray(O.length),this.renderer=F,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",O.length?O.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(B);var U,K=O.length||0;for(G=0;G<K;G+=1)U=PropertyFactory.getProp(D,O[G].v,0,0,this),this.k=U.k||this.k,this.dataProps[G]={n:O[G].n,p:U};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(D,O,F){this.initDynamicPropertyContainer(D),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(D,O.o,0,.01,this),this.w=PropertyFactory.getProp(D,O.w,0,null,this),this.d=new DashProperty(D,O.d||{},"svg",this),this.c=PropertyFactory.getProp(D,O.c,1,255,this),this.style=F,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(D,O,F){this.initDynamicPropertyContainer(D),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(D,O.o,0,.01,this),this.c=PropertyFactory.getProp(D,O.c,1,255,this),this.style=F}function SVGNoStyleData(D,O,F){this.initDynamicPropertyContainer(D),this.getValue=this.iterateDynamicProperties,this.style=F}function GradientProperty(D,O,F){this.data=O,this.c=createTypedArray("uint8c",4*O.p);var B=O.k.k[0].s?O.k.k[0].s.length-4*O.p:O.k.k.length-4*O.p;this.o=createTypedArray("float32",B),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=B,this.initDynamicPropertyContainer(F),this.prop=PropertyFactory.getProp(D,O.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(D,O,F){this.initDynamicPropertyContainer(D),this.getValue=this.iterateDynamicProperties,this.initGradientData(D,O,F)}function SVGGradientStrokeStyleData(D,O,F){this.initDynamicPropertyContainer(D),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(D,O.w,0,null,this),this.d=new DashProperty(D,O.d||{},"svg",this),this.initGradientData(D,O,F),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(D,O,F){this.transform={mProps:D,op:O,container:F},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(D){if((this.elem.globalData.frameId!==this.frameId||D)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||D,this._mdf)){var O=0,F=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),O=0;O<F;O+=1)this.dataProps[O].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[O].p.v:this.dashArray[O]=this.dataProps[O].p.v:this.dashoffset[0]=this.dataProps[O].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(D,O){for(var F=0,B=this.o.length/2;F<B;){if(Math.abs(D[4*F]-D[4*O+2*F])>.01)return!1;F+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var D=0,O=this.data.k.k.length;D<O;){if(!this.comparePoints(this.data.k.k[D].s,this.data.p))return!1;D+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(D){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||D){var O,F,B,G=4*this.data.p;for(O=0;O<G;O+=1)F=O%4==0?100:255,B=Math.round(this.prop.v[O]*F),this.c[O]!==B&&(this.c[O]=B,this._cmdf=!D);if(this.o.length)for(G=this.prop.v.length,O=4*this.data.p;O<G;O+=1)F=O%2==0?100:1,B=O%2==0?Math.round(100*this.prop.v[O]):this.prop.v[O],this.o[O-4*this.data.p]!==B&&(this.o[O-4*this.data.p]=B,this._omdf=!D);this._mdf=!D}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(D,O,F){this.o=PropertyFactory.getProp(D,O.o,0,.01,this),this.s=PropertyFactory.getProp(D,O.s,1,null,this),this.e=Pro
vendor: 19,945 bytes, line 150
150pertyFactory.getProp(D,O.e,1,null,this),this.h=PropertyFactory.getProp(D,O.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(D,O.a||{k:0},0,degToRads,this),this.g=new GradientProperty(D,O.g,this),this.style=F,this.stops=[],this.setGradientData(F.pElem,O),this.setGradientOpacity(O,F),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(D,O){var F=createElementID(),B=createNS(O.t===1?"linearGradient":"radialGradient");B.setAttribute("id",F),B.setAttribute("spreadMethod","pad"),B.setAttribute("gradientUnits","userSpaceOnUse");var G,U,K,X=[];for(K=4*O.g.p,U=0;U<K;U+=4)G=createNS("stop"),B.appendChild(G),X.push(G);D.setAttribute(O.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+F+")"),this.gf=B,this.cst=X},SVGGradientFillStyleData.prototype.setGradientOpacity=function(D,O){if(this.g._hasOpacity&&!this.g._collapsable){var F,B,G,U=createNS("mask"),K=createNS("path");U.appendChild(K);var X=createElementID(),q=createElementID();U.setAttribute("id",q);var nt=createNS(D.t===1?"linearGradient":"radialGradient");nt.setAttribute("id",X),nt.setAttribute("spreadMethod","pad"),nt.setAttribute("gradientUnits","userSpaceOnUse"),G=D.g.k.k[0].s?D.g.k.k[0].s.length:D.g.k.k.length;var W=this.stops;for(B=4*D.g.p;B<G;B+=2)(F=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),nt.appendChild(F),W.push(F);K.setAttribute(D.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+X+")"),D.ty==="gs"&&(K.setAttribute("stroke-linecap",lineCapEnum[D.lc||2]),K.setAttribute("stroke-linejoin",lineJoinEnum[D.lj||2]),D.lj===1&&K.setAttribute("stroke-miterlimit",D.ml)),this.of=nt,this.ms=U,this.ost=W,this.maskId=q,O.msElem=K}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(D,O,F,B){if(O===0)return"";var G,U=D.o,K=D.i,X=D.v,q=" M"+B.applyToPointStringified(X[0][0],X[0][1]);for(G=1;G<O;G+=1)q+=" C"+B.applyToPointStringified(U[G-1][0],U[G-1][1])+" "+B.applyToPointStringified(K[G][0],K[G][1])+" "+B.applyToPointStringified(X[G][0],X[G][1]);return F&&O&&(q+=" C"+B.applyToPointStringified(U[G-1][0],U[G-1][1])+" "+B.applyToPointStringified(K[0][0],K[0][1])+" "+B.applyToPointStringified(X[0][0],X[0][1]),q+="z"),q},SVGElementsRenderer=(function(){var D=new Matrix,O=new Matrix;function F(nt,W,Q){(Q||W.transform.op._mdf)&&W.transform.container.setAttribute("opacity",W.transform.op.v),(Q||W.transform.mProps._mdf)&&W.transform.container.setAttribute("transform",W.transform.mProps.v.to2dCSS())}function B(){}function G(nt,W,Q){var rt,J,tt,at,Y,it,ot,ft,gt,pt,vt,ct=W.styles.length,dt=W.lvl;for(it=0;it<ct;it+=1){if(at=W.sh._mdf||Q,W.styles[it].lvl<dt){for(ft=O.reset(),pt=dt-W.styles[it].lvl,vt=W.transformers.length-1;!at&&pt>0;)at=W.transformers[vt].mProps._mdf||at,pt-=1,vt-=1;if(at)for(pt=dt-W.styles[it].lvl,vt=W.transformers.length-1;pt>0;)gt=W.transformers[vt].mProps.v.props,ft.transform(gt[0],gt[1],gt[2],gt[3],gt[4],gt[5],gt[6],gt[7],gt[8],gt[9],gt[10],gt[11],gt[12],gt[13],gt[14],gt[15]),pt-=1,vt-=1}else ft=D;if(J=(ot=W.sh.paths)._length,at){for(tt="",rt=0;rt<J;rt+=1)(Y=ot.shapes[rt])&&Y._length&&(tt+=buildShapeString(Y,Y._length,Y.c,ft));W.caches[it]=tt}else tt=W.caches[it];W.styles[it].d+=nt.hd===!0?"":tt,W.styles[it]._mdf=at||W.styles[it]._mdf}}function U(nt,W,Q){var rt=W.style;(W.c._mdf||Q)&&rt.pElem.setAttribute("fill","rgb("+bmFloor(W.c.v[0])+","+bmFloor(W.c.v[1])+","+bmFloor(W.c.v[2])+")"),(W.o._mdf||Q)&&rt.pElem.setAttribute("fill-opacity",W.o.v)}function K(nt,W,Q){X(nt,W,Q),q(nt,W,Q)}function X(nt,W,Q){var rt,J,tt,at,Y,it=W.gf,ot=W.g._hasOpacity,ft=W.s.v,gt=W.e.v;if(W.o._mdf||Q){var pt=nt.ty==="gf"?"fill-opacity":"stroke-opacity";W.style.pElem.setAttribute(pt,W.o.v)}if(W.s._mdf||Q){var vt=nt.t===1?"x1":"cx",ct=vt==="x1"?"y1":"cy";it.setAttribute(vt,ft[0]),it.setAttribute(ct,ft[1]),ot&&!W.g._collapsable&&(W.of.setAttribute(vt,ft[0]),W.of.setAttribute(ct,ft[1]))}if(W.g._cmdf||Q){rt=W.cst;var dt=W.g.c;for(tt=rt.length,J=0;J<tt;J+=1)(at=rt[J]).setAttribute("offset",dt[4*J]+"%"),at.setAttribute("stop-color","rgb("+dt[4*J+1]+","+dt[4*J+2]+","+dt[4*J+3]+")")}if(ot&&(W.g._omdf||Q)){var bt=W.g.o;for(tt=(rt=W.g._collapsable?W.cst:W.ost).length,J=0;J<tt;J+=1)at=rt[J],W.g._collapsable||at.setAttribute("offset",bt[2*J]+"%"),at.setAttribute("stop-opacity",bt[2*J+1])}if(nt.t===1)(W.e._mdf||Q)&&(it.setAttribute("x2",gt[0]),it.setAttribute("y2",gt[1]),ot&&!W.g._collapsable&&(W.of.setAttribute("x2",gt[0]),W.of.setAttribute("y2",gt[1])));else if((W.s._mdf||W.e._mdf||Q)&&(Y=Math.sqrt(Math.pow(ft[0]-gt[0],2)+Math.pow(ft[1]-gt[1],2)),it.setAttribute("r",Y),ot&&!W.g._collapsable&&W.of.setAttribute("r",Y)),W.e._mdf||W.h._mdf||W.a._mdf||Q){Y||(Y=Math.sqrt(Math.pow(ft[0]-gt[0],2)+Math.pow(ft[1]-gt[1],2)));var wt=Math.atan2(gt[1]-ft[1],gt[0]-ft[0]),St=W.h.v;St>=1?St=.99:St<=-1&&(St=-.99);var _t=Y*St,xt=Math.cos(wt+W.a.v)*_t+ft[0],Dt=Math.sin(wt+W.a.v)*_t+ft[1];it.setAttribute("fx",xt),it.setAttribute("fy",Dt),ot&&!W.g._collapsable&&(W.of.setAttribute("fx",xt),W.of.setAttribute("fy",Dt))}}function q(nt,W,Q){var rt=W.style,J=W.d;J&&(J._mdf||Q)&&J.dashStr&&(rt.pElem.setAttribute("stroke-dasharray",J.dashStr),rt.pElem.setAttribute("stroke-dashoffset",J.dashoffset[0])),W.c&&(W.c._mdf||Q)&&rt.pElem.setAttribute("stroke","rgb("+bmFloor(W.c.v[0])+","+bmFloor(W.c.v[1])+","+bmFloor(W.c.v[2])+")"),(W.o._mdf||Q)&&rt.pElem.setAttribute("stroke-opacity",W.o.v),(W.w._mdf||Q)&&(rt.pElem.setAttribute("stroke-width",W.w.v),rt.msElem&&rt.msElem.setAttribute("stroke-width",W.w.v))}return{createRenderFunction:function(nt){switch(nt.ty){case"fl":return U;case"gf":return X;case"gs":return K;case"st":return q;case"sh":case"el":case"rc":case"sr":return G;case"tr":return F;case"no":return B;default:return null}}}})();function SVGShapeElement(D,O,F){this.shapes=[],this.shapesData=D.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(D,O,F),this.prevViewData=[]}function LetterProps(D,O,F,B,G,U){this.o=D,this.sw=O,this.sc=F,this.fc=B,this.m=G,this.p=U,this._mdf={o:!0,sw:!!O,sc:!!F,fc:!!B,m:!0,p:!0}}function TextProperty(D,O){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=O,this.elem=D,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var D,O,F,B,G=this.shapes.length,U=this.stylesList.length,K=[],X=!1;for(F=0;F<U;F+=1){for(B=this.stylesList[F],X=!1,K.length=0,D=0;D<G;D+=1)(O=this.shapes[D]).styles.indexOf(B)!==-1&&(K.push(O),X=O._isAnimated||X);K.length>1&&X&&this.setShapesAsAnimated(K)}},SVGShapeElement.prototype.setShapesAsAnimated=function(D){var O,F=D.length;for(O=0;O<F;O+=1)D[O].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(D,O){var F,B=new SVGStyleData(D,O),G=B.pElem;return D.ty==="st"?F=new SVGStrokeStyleData(this,D,B):D.ty==="fl"?F=new SVGFillStyleData(this,D,B):D.ty==="gf"||D.ty==="gs"?(F=new(D.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,D,B),this.globalData.defs.appendChild(F.gf),F.maskId&&(this.globalData.defs.appendChild(F.ms),this.globalData.defs.appendChild(F.of),G.setAttribute("mask","url("+getLocationHref()+"#"+F.maskId+")"))):D.ty==="no"&&(F=new SVGNoStyleData(this,D,B)),D.ty!=="st"&&D.ty!=="gs"||(G.setAttribute("stroke-linecap",lineCapEnum[D.lc||2]),G.setAttribute("stroke-linejoin",lineJoinEnum[D.lj||2]),G.setAttribute("fill-opacity","0"),D.lj===1&&G.setAttribute("stroke-miterlimit",D.ml)),D.r===2&&G.setAttribute("fill-rule","evenodd"),D.ln&&G.setAttribute("id",D.ln),D.cl&&G.setAttribute("class",D.cl),D.bm&&(G.style["mix-blend-mode"]=getBlendMode(D.bm)),this.stylesList.push(B),this.addToAnimatedContents(D,F),F},SVGShapeElement.prototype.createGroupElement=function(D){var O=new ShapeGroupData;return D.ln&&O.gr.setAttribute("id",D.ln),D.cl&&O.gr.setAttribute("class",D.cl),D.bm&&(O.gr.style["mix-blend-mode"]=getBlendMode(D.bm)),O},SVGShapeElement.prototype.createTransformElement=function(D,O){var F=TransformPropertyFactory.getTransformProperty(this,D,this),B=new SVGTransformData(F,F.o,O);return this.addToAnimatedContents(D,B),B},SVGShapeElement.prototype.createShapeElement=function(D,O,F){var B=4;D.ty==="rc"?B=5:D.ty==="el"?B=6:D.ty==="sr"&&(B=7);var G=new SVGShapeData(O,F,ShapePropertyFactory.getShapeProp(this,D,B,this));return this.shapes.push(G),this.addShapeToModifiers(G),this.addToAnimatedContents(D,G),G},SVGShapeElement.prototype.addToAnimatedContents=function(D,O){for(var F=0,B=this.animatedContents.length;F<B;){if(this.animatedContents[F].element===O)return;F+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(D),element:O,data:D})},SVGShapeElement.prototype.setElementStyles=function(D){var O,F=D.styles,B=this.stylesList.length;for(O=0;O<B;O+=1)this.stylesList[O].closed||F.push(this.stylesList[O])},SVGShapeElement.prototype.reloadShapes=function(){var D;this._isFirstFrame=!0;var O=this.itemsData.length;for(D=0;D<O;D+=1)this.prevViewData[D]=this.itemsData[D];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),O=this.dynamicProperties.length,D=0;D<O;D+=1)this.dynamicProperties[D].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(D,O,F,B,G,U,K){var X,q,nt,W,Q,rt,J=[].concat(U),tt=D.length-1,at=[],Y=[];for(X=tt;X>=0;X-=1){if((rt=this.searchProcessedElement(D[X]))?O[X]=F[rt-1]:D[X]._render=K,D[X].ty==="fl"||D[X].ty==="st"||D[X].ty==="gf"||D[X].ty==="gs"||D[X].ty==="no")rt?O[X].style.closed=!1:O[X]=this.createStyleElement(D[X],G),D[X]._render&&O[X].style.pElem.parentNode!==B&&B.appendChild(O[X].style.pElem),at.push(O[X].style);else if(D[X].ty==="gr"){if(rt)for(nt=O[X].it.length,q=0;q<nt;q+=1)O[X].prevViewData[q]=O[X].it[q];else O[X]=this.createGroupElement(D[X]);this.searchShapes(D[X].it,O[X].it,O[X].prevViewData,O[X].gr,G+1,J,K),D[X]._render&&O[X].gr.parentNode!==B&&B.appendChild(O[X].gr)}else D[X].ty==="tr"?(rt||(O[X]=this.createTransformElement(D[X],B)),W=O[X].transform,J.push(W)):D[X].ty==="sh"||D[X].ty==="rc"||D[X].ty==="el"||D[X].ty==="sr"?(rt||(O[X]=this.createShapeElement(D[X],J,G)),this.setElementStyles(O[X])):D[X].ty==="tm"||D[X].ty==="rd"||D[X].ty==="ms"||D[X].ty==="pb"||D[X].ty==="zz"||D[X].ty==="op"?(rt?(Q=O[X]).closed=!1:((Q=ShapeModifiers.getModifier(D[X].ty)).init(this,D[X]),O[X]=Q,this.shapeModifiers.push(Q)),Y.push(Q)):D[X].ty==="rp"&&(rt?(Q=O[X]).closed=!0:(Q=ShapeModifiers.getModifier(D[X].ty),O[X]=Q,Q.init(this,D,X,O),this.shapeModifiers.push(Q),K=!1),Y.push(Q));this.addProcessedElement(D[X],X+1)}for(tt=at.length,X=0;X<tt;X+=1)at[X].closed=!0;for(tt=Y.length,X=0;X<tt;X+=1)Y[X].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var D;this.renderModifiers();var O=this.stylesList.length;for(D=0;D<O;D+=1)this.stylesList[D].reset();for(this.renderShape(),D=0;D<O;D+=1)(this.stylesList[D]._mdf||this._isFirstFrame)&&(this.stylesList[D].msElem&&(this.stylesList[D].msElem.setAttribute("d",this.stylesList[D].d),this.stylesList[D].d="M0 0"+this.stylesList[D].d),this.stylesList[D].pElem.setAttribute("d",this.stylesList[D].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var D,O,F=this.animatedContents.length;for(D=0;D<F;D+=1)O=this.animatedContents[D],(this._isFirstFrame||O.element._isAnimated)&&O.data!==!0&&O.fn(O.data,O.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(D,O,F,B,G,U){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var K=!1;return this.o!==D&&(this.o=D,this._mdf.o=!0,K=!0),this.sw!==O&&(this.sw=O,this._mdf.sw=!0,K=!0),this.sc!==F&&(this.sc=F,this._mdf.sc=!0,K=!0),this.fc!==B&&(this.fc=B,this._mdf.fc=!0,K=!0),this.m!==G&&(this.m=G,this._mdf.m=!0,K=!0),!U.length||this.p[0]===U[0]&&this.p[1]===U[1]&&this.p[4]===U[4]&&this.p[5]===U[5]&&this.p[12]===U[12]&&this.p[13]===U[13]||(this.p=U,this._mdf.p=!0,K=!0),K},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(D,O){for(var F in O)Object.prototype.hasOwnProperty.call(O,F)&&(D[F]=O[F]);return D},TextProperty.prototype.setCurrentData=function(D){D.__complete||this.completeTextData(D),this.currentData=D,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(D){this.effectsSequence.push(D),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(D){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||D){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var O=this.currentData,F=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var B;this.lock=!0,this._mdf=!1;var G=this.effectsSequence.length,U=D||this.data.d.k[this.keysIndex].s;for(B=0;B<G;B+=1)U=F!==this.keysIndex?this.effectsSequence[B](U,U.t):this.effectsSequence[B](this.currentData,U.t);O!==U&&this.setCurrentData(U),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var D=this.data.d.k,O=this.elem.comp.renderedFrame,F=0,B=D.length;F<=B-1&&!(F===B-1||D[F+1].t>O);)F+=1;return this.keysIndex!==F&&(this.keysIndex=F),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(D){for(var O,F,B=[],G=0,U=D.length,K=!1;G<U;)O=D.charCodeAt(G),FontManager.isCombinedCharacter(O)?B[B.length-1]+=D.charAt(G):O>=55296&&O<=56319?(F=D.charCodeAt(G+1))>=56320&&F<=57343?(K||FontManager.isModifier(O,F)?(B[B.length-1]+=D.substr(G,2),K=!1):B.push(D.substr(G,2)),G+=1):B.push(D.charAt(G)):O>56319?(F=D.charCodeAt(G+1),FontManager.isZeroWidthJoiner(O,F)?(K=!0,B[B.length-1]+=D.substr(G,2),G+=1):B.push(D.charAt(G))):FontManager.isZeroWidthJoiner(O)?(B[B.length-1]+=D.charAt(G),K=!0):B.push(D.charAt(G)),G+=1;return B},TextProperty.prototype.completeTextData=function(D){D.__complete=!0;var O,F,B,G,U,K,X,q=this.elem.globalData.fontManager,nt=this.data,W=[],Q=0,rt=nt.m.g,J=0,tt=0,at=0,Y=[],it=0,ot=0,ft=q.getFontByName(D.f),gt=0,pt=getFontProperties(ft);D.fWeight=pt.weight,D.fStyle=pt.style,D.finalSize=D.s,D.finalText=this.buildFinalText(D.t),F=D.finalText.length,D.finalLineHeight=D.lh;var vt,ct=D.tr/1e3*D.finalSize;if(D.sz)for(var dt,bt,wt=!0,St=D.sz[0],_t=D.sz[1];wt;){dt=0,it=0,F=(bt=this.buildFinalText(D.t)).length,ct=D.tr/1e3*D.finalSize;var xt=-1;for(O=0;O<F;O+=1)vt=bt[O].charCodeAt(0),B=!1,bt[O]===" "?xt=O:vt!==13&&vt!==3||(it=0,B=!0,dt+=D.finalLineHeight||1.2*D.finalSize),q.chars?(X=q.getCharData(bt[O],ft.fStyle,ft.fFamily),gt=B?0:X.w*D.finalSize/100):gt=q.measureText(bt[O],D.f,D.finalSize),it+gt>St&&bt[O]!==" "?(xt===-1?F+=1:O=xt,dt+=D.finalLineHeight||1.2*D.finalSize,bt.splice(O,xt===O?1:0,"\r"),xt=-1,it=0):(it+=gt,it+=ct);dt+=ft.ascent*D.finalSize/100,this.canResize&&D.finalSize>this.minimumFontSize&&_t<dt?(D.finalSize-=1,D.finalLineHeight=D.finalSize*D.lh/D.s):(D.finalText=bt,F=D.finalText.length,wt=!1)}it=-ct,gt=0;var Dt,Ft=0;for(O=0;O<F;O+=1)if(B=!1,(vt=(Dt=D.finalText[O]).charCodeAt(0))===13||vt===3?(Ft=0,Y.push(it),ot=it>ot?it:ot,it=-2*ct,G="",B=!0,at+=1):G=Dt,q.chars?(X=q.getCharData(Dt,ft.fStyle,q.getFontByName(D.f).fFamily),gt=B?0:X.w*D.finalSize/100):gt=q.measureText(G,D.f,D.finalSize),Dt===" "?Ft+=gt+ct:(it+=gt+ct+Ft,Ft=0),W.push({l:gt,an:gt,add:J,n:B,anIndexes:[],val:G,line:at,animatorJustifyOffset:0}),rt==2){if(J+=gt,G===""||G===" "||O===F-1){for(G!==""&&G!==" "||(J-=gt);tt<=O;)W[tt].an=J,W[tt].ind=Q,W[tt].extra=gt,tt+=1;Q+=1,J=0}}else if(rt==3){if(J+=gt,G===""||O===F-1){for(G===""&&(J-=gt);tt<=O;)W[tt].an=J,W[tt].ind=Q,W[tt].extra=gt,tt+=1;J=0,Q+=1}}else W[Q].ind=Q,W[Q].extra=0,Q+=1;if(D.l=W,ot=it>ot?it:ot,Y.push(it),D.sz)D.boxWidth=D.sz[0],D.justifyOffset=0;else switch(D.boxWidth=ot,D.j){case 1:D.justifyOffset=-D.boxWidth;break;case 2:D.justifyOffset=-D.boxWidth/2;break;default:D.justifyOffset=0}D.lineWidths=Y;var jt,Ht,Pt,Wt,At=nt.a;K=At.length;var ue=[];for(U=0;U<K;U+=1){for((jt=At[U]).a.sc&&(D.strokeColorAnim=!0),jt.a.sw&&(D.strokeWidthAnim=!0),(jt.a.fc||jt.a.fh||jt.a.fs||jt.a.fb)&&(D.fillColorAnim=!0),Wt=0,Pt=jt.s.b,O=0;O<F;O+=1)(Ht=W[O]).anIndexes[U]=Wt,(Pt==1&&Ht.val!==""||Pt==2&&Ht.val!==""&&Ht.val!==" "||Pt==3&&(Ht.n||Ht.val==" "||O==F-1)||Pt==4&&(Ht.n||O==F-1))&&(jt.s.rn===1&&ue.push(Wt),Wt+=1);nt.a[U].s.totalChars=Wt;var Qt,se=-1;if(jt.s.rn===1)for(O=0;O<F;O+=1)se!=(Ht=W[O]).anIndexes[U]&&(se=Ht.anIndexes[U],Qt=ue.splice(Math.floor(Math.random()*ue.length),1)[0]),Ht.anIndexes[U]=Qt}D.yOffset=D.finalLineHeight||1.2*D.finalSize,D.ls=D.ls||0,D.ascent=ft.ascent*D.finalSize/100},TextProperty.prototype.updateDocumentData=function(D,O){O=O===void 0?this.keysIndex:O;var F=this.copyData({},this.data.d.k[O].s);F=this.copyData(F,D),this.data.d.k[O].s=F,this.recalculate(O),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(D){var O=this.data.d.k[D].s;O.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(O)},TextProperty.prototype.canResizeFont=function(D){this.canResize=D,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(D){this.minimumFontSize=Math.floor(D)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=(function(){var D=Math.max,O=Math.min,F=Math.floor;function B(G,U){this._currentTextLength=-1,this.k=!1,this.data=U,this.elem=G,this.comp=G.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(G),this.s=PropertyFactory.getProp(G,U.s||{k:0},0,0,this),this.e="e"in U?PropertyFactory.getProp(G,U.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(G,U.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(G,U.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(G,U.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(G,U.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(G,U.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return B.prototype={getMult:function(G){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var U=0,K=0,X=1,q=1;this.ne.v>0?U=this.ne.v/100:K=-this.ne.v/100,this.xe.v>0?X=1-this.xe.v/100:q=1+this.xe.v/100;var nt=BezierFactory.getBezierEasing(U,K,X,q).get,W=0,Q=this.finalS,rt=this.finalE,J=this.data.sh;if(J===2)W=nt(W=rt===Q?G>=rt?1:0:D(0,O(.5/(rt-Q)+(G-Q)/(rt-Q),1)));else if(J===3)W=nt(W=rt===Q?G>=rt?0:1:1-D(0,O(.5/(rt-Q)+(G-Q)/(rt-Q),1)));else if(J===4)rt===Q?W=0:(W=D(0,O(.5/(rt-Q)+(G-Q)/(rt-Q),1)))<.5?W*=2:W=1-2*(W-.5),W=nt(W);else if(J===5){if(rt===Q)W=0;
vendor: 11,902 bytes, line 150
150else{var tt=rt-Q,at=-tt/2+(G=O(D(0,G+.5-Q),rt-Q)),Y=tt/2;W=Math.sqrt(1-at*at/(Y*Y))}W=nt(W)}else J===6?(rt===Q?W=0:(G=O(D(0,G+.5-Q),rt-Q),W=(1+Math.cos(Math.PI+2*Math.PI*G/(rt-Q)))/2),W=nt(W)):(G>=F(Q)&&(W=D(0,O(G-Q<0?O(rt,1)-(Q-G):rt-G,1))),W=nt(W));if(this.sm.v!==100){var it=.01*this.sm.v;it===0&&(it=1e-8);var ot=.5-.5*it;W<ot?W=0:(W=(W-ot)/it)>1&&(W=1)}return W*this.a.v},getValue:function(G){this.iterateDynamicProperties(),this._mdf=G||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,G&&this.data.r===2&&(this.e.v=this._currentTextLength);var U=this.data.r===2?1:100/this.data.totalChars,K=this.o.v/U,X=this.s.v/U+K,q=this.e.v/U+K;if(X>q){var nt=X;X=q,q=nt}this.finalS=X,this.finalE=q}},extendPrototype([DynamicPropertyContainer],B),{getTextSelectorProp:function(G,U,K){return new B(G,U,K)}}})();function TextAnimatorDataProperty(D,O,F){var B={propType:!1},G=PropertyFactory.getProp,U=O.a;this.a={r:U.r?G(D,U.r,0,degToRads,F):B,rx:U.rx?G(D,U.rx,0,degToRads,F):B,ry:U.ry?G(D,U.ry,0,degToRads,F):B,sk:U.sk?G(D,U.sk,0,degToRads,F):B,sa:U.sa?G(D,U.sa,0,degToRads,F):B,s:U.s?G(D,U.s,1,.01,F):B,a:U.a?G(D,U.a,1,0,F):B,o:U.o?G(D,U.o,0,.01,F):B,p:U.p?G(D,U.p,1,0,F):B,sw:U.sw?G(D,U.sw,0,0,F):B,sc:U.sc?G(D,U.sc,1,0,F):B,fc:U.fc?G(D,U.fc,1,0,F):B,fh:U.fh?G(D,U.fh,0,0,F):B,fs:U.fs?G(D,U.fs,0,.01,F):B,fb:U.fb?G(D,U.fb,0,.01,F):B,t:U.t?G(D,U.t,0,0,F):B},this.s=TextSelectorProp.getTextSelectorProp(D,O.s,F),this.s.t=O.s.t}function TextAnimatorProperty(D,O,F){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=D,this._renderType=O,this._elem=F,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(F)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var D,O,F=this._textData.a.length,B=PropertyFactory.getProp;for(D=0;D<F;D+=1)O=this._textData.a[D],this._animatorsData[D]=new TextAnimatorDataProperty(this._elem,O,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:B(this._elem,this._textData.p.a,0,0,this),f:B(this._elem,this._textData.p.f,0,0,this),l:B(this._elem,this._textData.p.l,0,0,this),r:B(this._elem,this._textData.p.r,0,0,this),p:B(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=B(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(D,O){if(this.lettersChangedFlag=O,this._mdf||this._isFirstFrame||O||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var F,B,G,U,K,X,q,nt,W,Q,rt,J,tt,at,Y,it,ot,ft,gt,pt=this._moreOptions.alignment.v,vt=this._animatorsData,ct=this._textData,dt=this.mHelper,bt=this._renderType,wt=this.renderedLetters.length,St=D.l;if(this._hasMaskedPath){if(gt=this._pathData.m,!this._pathData.n||this._pathData._mdf){var _t,xt=gt.v;for(this._pathData.r.v&&(xt=xt.reverse()),K={tLength:0,segments:[]},U=xt._length-1,it=0,G=0;G<U;G+=1)_t=bez.buildBezierData(xt.v[G],xt.v[G+1],[xt.o[G][0]-xt.v[G][0],xt.o[G][1]-xt.v[G][1]],[xt.i[G+1][0]-xt.v[G+1][0],xt.i[G+1][1]-xt.v[G+1][1]]),K.tLength+=_t.segmentLength,K.segments.push(_t),it+=_t.segmentLength;G=U,gt.v.c&&(_t=bez.buildBezierData(xt.v[G],xt.v[0],[xt.o[G][0]-xt.v[G][0],xt.o[G][1]-xt.v[G][1]],[xt.i[0][0]-xt.v[0][0],xt.i[0][1]-xt.v[0][1]]),K.tLength+=_t.segmentLength,K.segments.push(_t),it+=_t.segmentLength),this._pathData.pi=K}if(K=this._pathData.pi,X=this._pathData.f.v,rt=0,Q=1,nt=0,W=!0,at=K.segments,X<0&>.v.c)for(K.tLength<Math.abs(X)&&(X=-Math.abs(X)%K.tLength),Q=(tt=at[rt=at.length-1].points).length-1;X<0;)X+=tt[Q].partialLength,(Q-=1)<0&&(Q=(tt=at[rt-=1].points).length-1);J=(tt=at[rt].points)[Q-1],Y=(q=tt[Q]).partialLength}U=St.length,F=0,B=0;var Dt,Ft,jt,Ht,Pt,Wt=1.2*D.finalSize*.714,At=!0;jt=vt.length;var ue,Qt,se,de,oe,xe,re,Xt,Se,_e,Ee,Ue,Oe=-1,ze=X,Ne=rt,Ke=Q,Qe=-1,sn="",on=this.defaultPropsArray;if(D.j===2||D.j===1){var kt=0,Lt=0,yt=D.j===2?-.5:-1,ut=0,Tt=!0;for(G=0;G<U;G+=1)if(St[G].n){for(kt&&(kt+=Lt);ut<G;)St[ut].animatorJustifyOffset=kt,ut+=1;kt=0,Tt=!0}else{for(Ft=0;Ft<jt;Ft+=1)(Dt=vt[Ft].a).t.propType&&(Tt&&D.j===2&&(Lt+=Dt.t.v*yt),(Pt=vt[Ft].s.getMult(St[G].anIndexes[Ft],ct.a[Ft].s.totalChars)).length?kt+=Dt.t.v*Pt[0]*yt:kt+=Dt.t.v*Pt*yt);Tt=!1}for(kt&&(kt+=Lt);ut<G;)St[ut].animatorJustifyOffset=kt,ut+=1}for(G=0;G<U;G+=1){if(dt.reset(),de=1,St[G].n)F=0,B+=D.yOffset,B+=At?1:0,X=ze,At=!1,this._hasMaskedPath&&(Q=Ke,J=(tt=at[rt=Ne].points)[Q-1],Y=(q=tt[Q]).partialLength,nt=0),sn="",Ee="",Se="",Ue="",on=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Qe!==St[G].line){switch(D.j){case 1:X+=it-D.lineWidths[St[G].line];break;case 2:X+=(it-D.lineWidths[St[G].line])/2}Qe=St[G].line}Oe!==St[G].ind&&(St[Oe]&&(X+=St[Oe].extra),X+=St[G].an/2,Oe=St[G].ind),X+=pt[0]*St[G].an*.005;var Rt=0;for(Ft=0;Ft<jt;Ft+=1)(Dt=vt[Ft].a).p.propType&&((Pt=vt[Ft].s.getMult(St[G].anIndexes[Ft],ct.a[Ft].s.totalChars)).length?Rt+=Dt.p.v[0]*Pt[0]:Rt+=Dt.p.v[0]*Pt),Dt.a.propType&&((Pt=vt[Ft].s.getMult(St[G].anIndexes[Ft],ct.a[Ft].s.totalChars)).length?Rt+=Dt.a.v[0]*Pt[0]:Rt+=Dt.a.v[0]*Pt);for(W=!0,this._pathData.a.v&&(X=.5*St[0].an+(it-this._pathData.f.v-.5*St[0].an-.5*St[St.length-1].an)*Oe/(U-1),X+=this._pathData.f.v);W;)nt+Y>=X+Rt||!tt?(ot=(X+Rt-nt)/q.partialLength,Qt=J.point[0]+(q.point[0]-J.point[0])*ot,se=J.point[1]+(q.point[1]-J.point[1])*ot,dt.translate(-pt[0]*St[G].an*.005,-pt[1]*Wt*.01),W=!1):tt&&(nt+=q.partialLength,(Q+=1)>=tt.length&&(Q=0,at[rt+=1]?tt=at[rt].points:gt.v.c?(Q=0,tt=at[rt=0].points):(nt-=q.partialLength,tt=null)),tt&&(J=q,Y=(q=tt[Q]).partialLength));ue=St[G].an/2-St[G].add,dt.translate(-ue,0,0)}else ue=St[G].an/2-St[G].add,dt.translate(-ue,0,0),dt.translate(-pt[0]*St[G].an*.005,-pt[1]*Wt*.01,0);for(Ft=0;Ft<jt;Ft+=1)(Dt=vt[Ft].a).t.propType&&(Pt=vt[Ft].s.getMult(St[G].anIndexes[Ft],ct.a[Ft].s.totalChars),F===0&&D.j===0||(this._hasMaskedPath?Pt.length?X+=Dt.t.v*Pt[0]:X+=Dt.t.v*Pt:Pt.length?F+=Dt.t.v*Pt[0]:F+=Dt.t.v*Pt));for(D.strokeWidthAnim&&(xe=D.sw||0),D.strokeColorAnim&&(oe=D.sc?[D.sc[0],D.sc[1],D.sc[2]]:[0,0,0]),D.fillColorAnim&&D.fc&&(re=[D.fc[0],D.fc[1],D.fc[2]]),Ft=0;Ft<jt;Ft+=1)(Dt=vt[Ft].a).a.propType&&((Pt=vt[Ft].s.getMult(St[G].anIndexes[Ft],ct.a[Ft].s.totalChars)).length?dt.translate(-Dt.a.v[0]*Pt[0],-Dt.a.v[1]*Pt[1],Dt.a.v[2]*Pt[2]):dt.translate(-Dt.a.v[0]*Pt,-Dt.a.v[1]*Pt,Dt.a.v[2]*Pt));for(Ft=0;Ft<jt;Ft+=1)(Dt=vt[Ft].a).s.propType&&((Pt=vt[Ft].s.getMult(St[G].anIndexes[Ft],ct.a[Ft].s.totalChars)).length?dt.scale(1+(Dt.s.v[0]-1)*Pt[0],1+(Dt.s.v[1]-1)*Pt[1],1):dt.scale(1+(Dt.s.v[0]-1)*Pt,1+(Dt.s.v[1]-1)*Pt,1));for(Ft=0;Ft<jt;Ft+=1){if(Dt=vt[Ft].a,Pt=vt[Ft].s.getMult(St[G].anIndexes[Ft],ct.a[Ft].s.totalChars),Dt.sk.propType&&(Pt.length?dt.skewFromAxis(-Dt.sk.v*Pt[0],Dt.sa.v*Pt[1]):dt.skewFromAxis(-Dt.sk.v*Pt,Dt.sa.v*Pt)),Dt.r.propType&&(Pt.length?dt.rotateZ(-Dt.r.v*Pt[2]):dt.rotateZ(-Dt.r.v*Pt)),Dt.ry.propType&&(Pt.length?dt.rotateY(Dt.ry.v*Pt[1]):dt.rotateY(Dt.ry.v*Pt)),Dt.rx.propType&&(Pt.length?dt.rotateX(Dt.rx.v*Pt[0]):dt.rotateX(Dt.rx.v*Pt)),Dt.o.propType&&(Pt.length?de+=(Dt.o.v*Pt[0]-de)*Pt[0]:de+=(Dt.o.v*Pt-de)*Pt),D.strokeWidthAnim&&Dt.sw.propType&&(Pt.length?xe+=Dt.sw.v*Pt[0]:xe+=Dt.sw.v*Pt),D.strokeColorAnim&&Dt.sc.propType)for(Xt=0;Xt<3;Xt+=1)Pt.length?oe[Xt]+=(Dt.sc.v[Xt]-oe[Xt])*Pt[0]:oe[Xt]+=(Dt.sc.v[Xt]-oe[Xt])*Pt;if(D.fillColorAnim&&D.fc){if(Dt.fc.propType)for(Xt=0;Xt<3;Xt+=1)Pt.length?re[Xt]+=(Dt.fc.v[Xt]-re[Xt])*Pt[0]:re[Xt]+=(Dt.fc.v[Xt]-re[Xt])*Pt;Dt.fh.propType&&(re=Pt.length?addHueToRGB(re,Dt.fh.v*Pt[0]):addHueToRGB(re,Dt.fh.v*Pt)),Dt.fs.propType&&(re=Pt.length?addSaturationToRGB(re,Dt.fs.v*Pt[0]):addSaturationToRGB(re,Dt.fs.v*Pt)),Dt.fb.propType&&(re=Pt.length?addBrightnessToRGB(re,Dt.fb.v*Pt[0]):addBrightnessToRGB(re,Dt.fb.v*Pt))}}for(Ft=0;Ft<jt;Ft+=1)(Dt=vt[Ft].a).p.propType&&(Pt=vt[Ft].s.getMult(St[G].anIndexes[Ft],ct.a[Ft].s.totalChars),this._hasMaskedPath?Pt.length?dt.translate(0,Dt.p.v[1]*Pt[0],-Dt.p.v[2]*Pt[1]):dt.translate(0,Dt.p.v[1]*Pt,-Dt.p.v[2]*Pt):Pt.length?dt.translate(Dt.p.v[0]*Pt[0],Dt.p.v[1]*Pt[1],-Dt.p.v[2]*Pt[2]):dt.translate(Dt.p.v[0]*Pt,Dt.p.v[1]*Pt,-Dt.p.v[2]*Pt));if(D.strokeWidthAnim&&(Se=xe<0?0:xe),D.strokeColorAnim&&(_e="rgb("+Math.round(255*oe[0])+","+Math.round(255*oe[1])+","+Math.round(255*oe[2])+")"),D.fillColorAnim&&D.fc&&(Ee="rgb("+Math.round(255*re[0])+","+Math.round(255*re[1])+","+Math.round(255*re[2])+")"),this._hasMaskedPath){if(dt.translate(0,-D.ls),dt.translate(0,pt[1]*Wt*.01+B,0),this._pathData.p.v){ft=(q.point[1]-J.point[1])/(q.point[0]-J.point[0]);var Zt=180*Math.atan(ft)/Math.PI;q.point[0]<J.point[0]&&(Zt+=180),dt.rotate(-Zt*Math.PI/180)}dt.translate(Qt,se,0),X-=pt[0]*St[G].an*.005,St[G+1]&&Oe!==St[G+1].ind&&(X+=St[G].an/2,X+=.001*D.tr*D.finalSize)}else{switch(dt.translate(F,B,0),D.ps&&dt.translate(D.ps[0],D.ps[1]+D.ascent,0),D.j){case 1:dt.translate(St[G].animatorJustifyOffset+D.justifyOffset+(D.boxWidth-D.lineWidths[St[G].line]),0,0);break;case 2:dt.translate(St[G].animatorJustifyOffset+D.justifyOffset+(D.boxWidth-D.lineWidths[St[G].line])/2,0,0)}dt.translate(0,-D.ls),dt.translate(ue,0,0),dt.translate(pt[0]*St[G].an*.005,pt[1]*Wt*.01,0),F+=St[G].l+.001*D.tr*D.finalSize}bt==="html"?sn=dt.toCSS():bt==="svg"?sn=dt.to2dCSS():on=[dt.props[0],dt.props[1],dt.props[2],dt.props[3],dt.props[4],dt.props[5],dt.props[6],dt.props[7],dt.props[8],dt.props[9],dt.props[10],dt.props[11],dt.props[12],dt.props[13],dt.props[14],dt.props[15]],Ue=de}wt<=G?(Ht=new LetterProps(Ue,Se,_e,Ee,sn,on),this.renderedLetters.push(Ht),wt+=1,this.lettersChangedFlag=!0):(Ht=this.renderedLetters[G],this.lettersChangedFlag=Ht.update(Ue,Se,_e,Ee,sn,on)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),ITextElement.prototype.initElement=function(D,O,F){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(D,O,F),this.textProperty=new TextProperty(this,D.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(D.t,this.renderType,this),this.initTransform(D,O,F),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(D){this._mdf=!1,this.prepareRenderableFrame(D),this.prepareProperties(D,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(D,O){var F,B,G=O.length,U="";for(F=0;F<G;F+=1)O[F].ty==="sh"&&(B=O[F].ks.k,U+=buildShapeString(B,B.i.length,!0,D));return U},ITextElement.prototype.updateDocumentData=function(D,O){this.textProperty.updateDocumentData(D,O)},ITextElement.prototype.canResizeFont=function(D){this.textProperty.canResizeFont(D)},ITextElement.prototype.setMinimumFontSize=function(D){this.textProperty.setMinimumFontSize(D)},ITextElement.prototype.applyTextPropertiesToMatrix=function(D,O,F,B,G){switch(D.ps&&O.translate(D.ps[0],D.ps[1]+D.ascent,0),O.translate(0,-D.ls,0),D.j){case 1:O.translate(D.justifyOffset+(D.boxWidth-D.lineWidths[F]),0,0);break;case 2:O.translate(D.justifyOffset+(D.boxWidth-D.lineWidths[F])/2,0,0)}O.translate(B,G,0)},ITextElement.prototype.buildColor=function(D){return"rgb("+Math.round(255*D[0])+","+Math.round(255*D[1])+","+Math.round(255*D[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){};
vendor: 5,956 bytes, line 150
150var emptyShapeData={shapes:[]};function SVGTextLottieElement(D,O,F){this.textSpans=[],this.renderType="svg",this.initElement(D,O,F)}function ISolidElement(D,O,F){this.initElement(D,O,F)}function NullElement(D,O,F){this.initFrame(),this.initBaseData(D,O,F),this.initFrame(),this.initTransform(D,O,F),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(D,O,F){this.layers=D.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(D,O,F),this.tm=D.tm?PropertyFactory.getProp(this,D.tm,0,O.frameRate,this):{_placeholder:!0}}function SVGRenderer(D,O){this.animationItem=D,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var F="";if(O&&O.title){var B=createNS("title"),G=createElementID();B.setAttribute("id",G),B.textContent=O.title,this.svgElement.appendChild(B),F+=G}if(O&&O.description){var U=createNS("desc"),K=createElementID();U.setAttribute("id",K),U.textContent=O.description,this.svgElement.appendChild(U),F+=" "+K}F&&this.svgElement.setAttribute("aria-labelledby",F);var X=createNS("defs");this.svgElement.appendChild(X);var q=createNS("g");this.svgElement.appendChild(q),this.layerElement=q,this.renderConfig={preserveAspectRatio:O&&O.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:O&&O.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:O&&O.contentVisibility||"visible",progressiveLoad:O&&O.progressiveLoad||!1,hideOnTransparent:!(O&&O.hideOnTransparent===!1),viewBoxOnly:O&&O.viewBoxOnly||!1,viewBoxSize:O&&O.viewBoxSize||!1,className:O&&O.className||"",id:O&&O.id||"",focusable:O&&O.focusable,filterSize:{width:O&&O.filterSize&&O.filterSize.width||"100%",height:O&&O.filterSize&&O.filterSize.height||"100%",x:O&&O.filterSize&&O.filterSize.x||"0%",y:O&&O.filterSize&&O.filterSize.y||"0%"},width:O&&O.width,height:O&&O.height,runExpressions:!O||O.runExpressions===void 0||O.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:X,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CVContextData(){var D;for(this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1,this.savedOp=createTypedArray("float32",15),D=0;D<15;D+=1)this.saved[D]=createTypedArray("float32",16);this._length=15}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}function CVEffects(){}function CVMaskElement(D,O){var F;this.data=D,this.element=O,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var B=this.masksProperties.length,G=!1;for(F=0;F<B;F+=1)this.masksProperties[F].mode!=="n"&&(G=!0),this.viewData[F]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[F],3);this.hasMasks=G,G&&this.element.addRenderableComponent(this)}function CVBaseElement(){}function CVShapeData(D,O,F,B){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var G,U=4;O.ty==="rc"?U=5:O.ty==="el"?U=6:O.ty==="sr"&&(U=7),this.sh=ShapePropertyFactory.getShapeProp(D,O,U,D);var K,X=F.length;for(G=0;G<X;G+=1)F[G].closed||(K={transforms:B.addTransformSequence(F[G].transforms),trNodes:[]},this.styledShapes.push(K),F[G].elements.push(K))}function CVShapeElement(D,O,F){this.shapes=[],this.shapesData=D.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(D,O,F)}function CVTextElement(D,O,F){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(D,O,F)}function CVImageElement(D,O,F){this.assetData=O.getAssetData(D.refId),this.img=O.imageLoader.getAsset(this.assetData),this.initElement(D,O,F)}function CVSolidElement(D,O,F){this.initElement(D,O,F)}function CanvasRendererBase(D,O){this.animationItem=D,this.renderConfig={clearCanvas:!O||O.clearCanvas===void 0||O.clearCanvas,context:O&&O.context||null,progressiveLoad:O&&O.progressiveLoad||!1,preserveAspectRatio:O&&O.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:O&&O.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:O&&O.contentVisibility||"visible",className:O&&O.className||"",id:O&&O.id||""},this.renderConfig.dpr=O&&O.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=O&&O.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}function CVCompElement(D,O,F){this.completeLayers=!1,this.layers=D.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(D,O,F),this.tm=D.tm?PropertyFactory.getProp(this,D.tm,0,O.frameRate,this):{_placeholder:!0}}function CanvasRenderer(D,O){this.animationItem=D,this.renderConfig={clearCanvas:!O||O.clearCanvas===void 0||O.clearCanvas,context:O&&O.context||null,progressiveLoad:O&&O.progressiveLoad||!1,preserveAspectRatio:O&&O.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:O&&O.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:O&&O.contentVisibility||"visible",className:O&&O.className||"",id:O&&O.id||"",runExpressions:!O||O.runExpressions===void 0||O.runExpressions},this.renderConfig.dpr=O&&O.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=O&&O.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=ne
vendor: 8,172 bytes, line 150
150w Matrix,this.completeLayers=!1,this.rendererType="canvas"}function HBaseElement(){}function HSolidElement(D,O,F){this.initElement(D,O,F)}function HShapeElement(D,O,F){this.shapes=[],this.shapesData=D.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(D,O,F),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(D,O,F){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(D,O,F)}function HCameraElement(D,O,F){this.initFrame(),this.initBaseData(D,O,F),this.initHierarchy();var B=PropertyFactory.getProp;if(this.pe=B(this,D.pe,0,0,this),D.ks.p.s?(this.px=B(this,D.ks.p.x,1,0,this),this.py=B(this,D.ks.p.y,1,0,this),this.pz=B(this,D.ks.p.z,1,0,this)):this.p=B(this,D.ks.p,1,0,this),D.ks.a&&(this.a=B(this,D.ks.a,1,0,this)),D.ks.or.k.length&&D.ks.or.k[0].to){var G,U=D.ks.or.k.length;for(G=0;G<U;G+=1)D.ks.or.k[G].to=null,D.ks.or.k[G].ti=null}this.or=B(this,D.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=B(this,D.ks.rx,0,degToRads,this),this.ry=B(this,D.ks.ry,0,degToRads,this),this.rz=B(this,D.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(D,O,F){this.assetData=O.getAssetData(D.refId),this.initElement(D,O,F)}function HybridRendererBase(D,O){this.animationItem=D,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:O&&O.className||"",imagePreserveAspectRatio:O&&O.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(O&&O.hideOnTransparent===!1),filterSize:{width:O&&O.filterSize&&O.filterSize.width||"400%",height:O&&O.filterSize&&O.filterSize.height||"400%",x:O&&O.filterSize&&O.filterSize.x||"-100%",y:O&&O.filterSize&&O.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function HCompElement(D,O,F){this.layers=D.layers,this.supports3d=!D.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(D,O,F),this.tm=D.tm?PropertyFactory.getProp(this,D.tm,0,O.frameRate,this):{_placeholder:!0}}function HybridRenderer(D,O){this.animationItem=D,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:O&&O.className||"",imagePreserveAspectRatio:O&&O.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(O&&O.hideOnTransparent===!1),filterSize:{width:O&&O.filterSize&&O.filterSize.width||"400%",height:O&&O.filterSize&&O.filterSize.height||"400%",x:O&&O.filterSize&&O.filterSize.x||"-100%",y:O&&O.filterSize&&O.filterSize.y||"-100%"},runExpressions:!O||O.runExpressions===void 0||O.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(D){for(var O=0,F=D.length,B=[],G="";O<F;)D[O]==="\r"||D[O]==="�"?(B.push(G),G=""):G+=D[O],O+=1;return B.push(G),B},SVGTextLottieElement.prototype.buildShapeData=function(D,O){if(D.shapes&&D.shapes.length){var F=D.shapes[0];if(F.it){var B=F.it[F.it.length-1];B.s&&(B.s.k[0]=O,B.s.k[1]=O)}}return D},SVGTextLottieElement.prototype.buildNewText=function(){var D,O;this.addDynamicProperty(this);var F=this.textProperty.currentData;this.renderedLetters=createSizedArray(F?F.l.length:0),F.fc?this.layerElement.setAttribute("fill",this.buildColor(F.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),F.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(F.sc)),this.layerElement.setAttribute("stroke-width",F.sw)),this.layerElement.setAttribute("font-size",F.finalSize);var B=this.globalData.fontManager.getFontByName(F.f);if(B.fClass)this.layerElement.setAttribute("class",B.fClass);else{this.layerElement.setAttribute("font-family",B.fFamily);var G=F.fWeight,U=F.fStyle;this.layerElement.setAttribute("font-style",U),this.layerElement.setAttribute("font-weight",G)}this.layerElement.setAttribute("aria-label",F.t);var K,X=F.l||[],q=!!this.globalData.fontManager.chars;O=X.length;var nt=this.mHelper,W=this.data.singleShape,Q=0,rt=0,J=!0,tt=.001*F.tr*F.finalSize;if(!W||q||F.sz){var at,Y=this.textSpans.length;for(D=0;D<O;D+=1){if(this.textSpans[D]||(this.textSpans[D]={span:null,childSpan:null,glyph:null}),!q||!W||D===0){if(K=Y>D?this.textSpans[D].span:createNS(q?"g":"text"),Y<=D){if(K.setAttribute("stroke-linecap","butt"),K.setAttribute("stroke-linejoin","round"),K.setAttribute("stroke-miterlimit","4"),this.textSpans[D].span=K,q){var it=createNS("g");K.appendChild(it),this.textSpans[D].childSpan=it}this.textSpans[D].span=K,this.layerElement.appendChild(K)}K.style.display="inherit"}if(nt.reset(),W&&(X[D].n&&(Q=-tt,rt+=F.yOffset,rt+=J?1:0,J=!1),this.applyTextPropertiesToMatrix(F,nt,X[D].line,Q,rt),Q+=X[D].l||0,Q+=tt),q){var ot;if((at=this.globalData.fontManager.getCharData(F.finalText[D],B.fStyle,this.globalData.fontManager.getFontByName(F.f).fFamily)).t===1)ot=new SVGCompElement(at.data,this.globalData,this);else{var ft=emptyShapeData;at.data&&at.data.shapes&&(ft=this.buildShapeData(at.data,F.finalSize)),ot=new SVGShapeElement(ft,this.globalData,this)}if(this.textSpans[D].glyph){var gt=this.textSpans[D].glyph;this.textSpans[D].childSpan.removeChild(gt.layerElement),gt.destroy()}this.textSpans[D].glyph=ot,ot._debug=!0,ot.prepareFrame(0),ot.renderFrame(),this.textSpans[D].childSpan.appendChild(ot.layerElement),at.t===1&&this.textSpans[D].childSpan.setAttribute("transform","scale("+F.finalSize/100+","+F.finalSize/100+")")}else W&&K.setAttribute("transform","translate("+nt.props[12]+","+nt.props[13]+")"),K.textContent=X[D].val,K.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}W&&K&&K.setAttribute("d","")}else{var pt=this.textContainer,vt="start";switch(F.j){case 1:vt="end";break;case 2:vt="middle";break;default:vt="start"}pt.setAttribute("text-anchor",vt),pt.setAttribute("letter-spacing",tt);var ct=this.buildTextContents(F.finalText);for(O=ct.length,rt=F.ps?F.ps[1]+F.ascent:0,D=0;D<O;D+=1)(K=this.textSpans[D].span||createNS("tspan")).textContent=ct[D],K.setAttribute("x",0),K.setAttribute("y",rt),K.style.display="inherit",pt.appendChild(K),this.textSpans[D]||(this.textSpans[D]={span:null,glyph:null}),this.textSpans[D].span=K,rt+=F.finalLineHeight;this.layerElement.appendChild(pt)}for(;D<this.textSpans.length;)this.textSpans[D].span.style.display="none",D+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var D=this.layerElement.getBBox();this.bbox={top:D.y,left:D.x,width:D.width,height:D.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var D,O,F=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,D=0;D<F;D+=1)(O=this.textSpans[D].glyph)&&(O.prepareFrame(this.comp.renderedFrame-this.data.st),O._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if((!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var D,O;this._sizeChanged=!0;var F,B,G,U=this.textAnimator.renderedLetters,K=this.textProperty.currentData.l;for(O=K.length,D=0;D<O;D+=1)K[D].n||(F=U[D],B=this.textSpans[D].span,(G=this.textSpans[D].glyph)&&G.renderFrame(),F._mdf.m&&B.setAttribute("transform",F.m),F._mdf.o&&B.setAttribute("op
150acity",F.o),F._mdf.sw&&B.setAttribute("stroke-width",F.sw),F._mdf.sc&&B.setAttribute("stroke",F.sc),F._mdf.fc&&B.setAttribute("fill",F.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var D=createNS("rect");D.setAttribute("width",this.data.sw),D.setAttribute("height",this.data.sh),D.setAttribute("fill",this.data.sc),this.layerElement.appendChild(D)},NullElement.prototype.prepareFrame=function(D){this.prepareProperties(D,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(D){return new NullElement(D,this.globalData,this)},SVGRendererBase.prototype.createShape=function(D){return new SVGShapeElement(D,this.globalData,this)},SVGRendererBase.prototype.createText=function(D){return new SVGTextLottieElement(D,this.globalData,this)},SVGRendererBase.prototype.createImage=function(D){return new IImageElement(D,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(D){return new ISolidElement(D,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(D){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+D.w+" "+D.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",D.w),this.svgElement.setAttribute("height",D.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var O=this.globalData.defs;this.setupGlobalData(D,O),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=D;var F=createNS("clipPath"),B=createNS("rect");B.setAttribute("width",D.w),B.setAttribute("height",D.h),B.setAttribute("x",0),B.setAttribute("y",0);var G=createElementID();F.setAttribute("id",G),F.appendChild(B),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+G+")"),O.appendChild(F),this.layers=D.layers,this.elements=createSizedArray(D.layers.length)},SVGRendererBase.prototype.destroy=function(){var D;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var O=this.layers?this.layers.length:0;for(D=0;D<O;D+=1)this.elements[D]&&this.elements[D].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(D){var O=0,F=this.layers.length;for(O=0;O<F;O+=1)if(this.layers[O].ind===D)return O;return-1},SVGRendererBase.prototype.buildItem=function(D){var O=this.elements;if(!O[D]&&this.layers[D].ty!==99){O[D]=!0;var F=this.createItem(this.layers[D]);if(O[D]=F,getExpressionsPlugin()&&(this.layers[D].ty===0&&this.globalData.projectInterface.registerComposition(F),F.initExpressions()),this.appendElementInPos(F,D),this.layers[D].tt){var B="tp"in this.layers[D]?this.findIndexByInd(this.layers[D].tp):D-1;if(B===-1)return;if(this.elements[B]&&this.elements[B]!==!0){var G=O[B].getMatte(this.layers[D].tt);F.setMatte(G)}else this.buildItem(B),this.addPendingElement(F)}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var D=this.pendingElements.pop();if(D.checkParenting(),D.data.tt)for(var O=0,F=this.elements.length;O<F;){if(this.elements[O]===D){var B="tp"in D.data?this.findIndexByInd(D.data.tp):O-1,G=this.elements[B].getMatte(this.layers[O].tt);D.setMatte(G);break}O+=1}}},SVGRendererBase.prototype.renderFrame=function(D){if(this.renderedFrame!==D&&!this.destroyed){var O;D===null?D=this.renderedFrame:this.renderedFrame=D,this.globalData.frameNum=D,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=D,this.globalData._mdf=!1;var F=this.layers.length;for(this.completeLayers||this.checkLayers(D),O=F-1;O>=0;O-=1)(this.completeLayers||this.elements[O])&&this.elements[O].prepareFrame(D-this.layers[O].st);if(this.globalData._mdf)for(O=0;O<F;O+=1)(this.completeLayers||this.elements[O])&&this.elements[O].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(D,O){var F=D.getBaseElement();if(F){for(var B,G=0;G<O;)this.elements[G]&&this.elements[G]!==!0&&this.elements[G].getBaseElement()&&
vendor: 8,875 bytes, line 150
150(B=this.elements[G].getBaseElement()),G+=1;B?this.layerElement.insertBefore(F,B):this.layerElement.appendChild(F)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(D,O,F){this.initFrame(),this.initBaseData(D,O,F),this.initTransform(D,O,F),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&O.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(D){if(this._mdf=!1,this.prepareRenderableFrame(D),this.prepareProperties(D,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=D/this.data.sr;else{var O=this.tm.v;O===this.data.op&&(O=this.data.op-1),this.renderedFrame=O}var F,B=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),F=B-1;F>=0;F-=1)(this.completeLayers||this.elements[F])&&(this.elements[F].prepareFrame(this.renderedFrame-this.layers[F].st),this.elements[F]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var D,O=this.layers.length;for(D=0;D<O;D+=1)(this.completeLayers||this.elements[D])&&this.elements[D].renderFrame()},ICompElement.prototype.setElements=function(D){this.elements=D},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var D,O=this.layers.length;for(D=0;D<O;D+=1)this.elements[D]&&this.elements[D].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(D){return new SVGCompElement(D,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(D){return new SVGCompElement(D,this.globalData,this)},CVContextData.prototype.duplicate=function(){var D=2*this._length,O=this.savedOp;this.savedOp=createTypedArray("float32",D),this.savedOp.set(O);var F=0;for(F=this._length;F<D;F+=1)this.saved[F]=createTypedArray("float32",16);this._length=D},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},ShapeTransformManager.prototype={addTransformSequence:function(D){var O,F=D.length,B="_";for(O=0;O<F;O+=1)B+=D[O].transform.key+"_";var G=this.sequences[B];return G||(G={transforms:[].concat(D),finalTransform:new Matrix,_mdf:!1},this.sequences[B]=G,this.sequenceList.push(G)),G},processSequence:function(D,O){for(var F,B=0,G=D.transforms.length,U=O;B<G&&!O;){if(D.transforms[B].transform.mProps._mdf){U=!0;break}B+=1}if(U)for(D.finalTransform.reset(),B=G-1;B>=0;B-=1)F=D.transforms[B].transform.mProps.v.props,D.finalTransform.transform(F[0],F[1],F[2],F[3],F[4],F[5],F[6],F[7],F[8],F[9],F[10],F[11],F[12],F[13],F[14],F[15]);D._mdf=U},processSequences:function(D){var O,F=this.sequenceList.length;for(O=0;O<F;O+=1)this.processSequence(this.sequenceList[O],D)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}},CVEffects.prototype.renderFrame=function(){},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var D,O,F,B,G=this.element.finalTransform.mat,U=this.element.canvasContext,K=this.masksProperties.length;for(U.beginPath(),D=0;D<K;D+=1)if(this.masksProperties[D].mode!=="n"){var X;this.masksProperties[D].inv&&(U.moveTo(0,0),U.lineTo(this.element.globalData.compSize.w,0),U.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),U.lineTo(0,this.element.globalData.compSize.h),U.lineTo(0,0)),B=this.viewData[D].v,O=G.applyToPointArray(B.v[0][0],B.v[0][1],0),U.moveTo(O[0],O[1]);var q=B._length;for(X=1;X<q;X+=1)F=G.applyToTriplePoints(B.o[X-1],B.i[X],B.v[X]),U.bezierCurveTo(F[0],F[1],F[2],F[3],F[4],F[5]);F=G.applyToTriplePoints(B.o[X-1],B.i[0],B.v[0]),U.bezierCurveTo(F[0],F[1],F[2],F[3],F[4],F[5])}this.element.globalData.renderer.save(!0),U.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null},CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){this.canvasContext=this.globalData.canvasContext,this.renderableEffectsManager=new CVEffects(this)},createContent:function(){},setBlendMode:function(){var D=this.globalData;if(D.blendMode!==this.data.bm){D.blendMode=this.data.bm;var O=getBlendMode(this.data.bm);D.canvasContext.globalCompositeOperation=O}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},renderFrame:function(){if(!this.hidden&&!this.data.hd){this.renderTransform(),this.renderRenderable(),this.setBlendMode();var D=this.data.ty===0;this.globalData.renderer.save(D),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(D),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(D,O){var F={data:D,type:D.ty,preTransforms:this.transformsManager.addTransformSequence(O),transforms:[],elements:[],closed:D.hd===!0},B={};if(D.ty==="fl"||D.ty==="st"?(B.c=PropertyFactory.getProp(this,D.c,1,255,this),B.c.k||(F.co="rgb("+bmFloor(B.c.v[0])+","+bmFloor(B.c.v[1])+","+bmFloor(B.c.v[2])+")")):D.ty!=="gf"&&D.ty!=="gs"||(B.s=PropertyFactory.getProp(this,D.s,1,null,this),B.e=PropertyFactory.getProp(this,D.e,1,null,this),B.h=PropertyFactory.getProp(this,D.h||{k:0},0,.01,this),B.a=PropertyFactory.getProp(this,D.a||{k:0},0,degToRads,this),B.g=new GradientProperty(this,D.g,this)),B.o=PropertyFactory.getProp(this,D.o,0,.01,this),D.ty==="st"||D.ty==="gs"){if(F.lc=lineCapEnum[D.lc||2],F.lj=lineJoinEnum[D.lj||2],D.lj==1&&(F.ml=D.ml),B.w=PropertyFactory.getProp(this,D.w,0,null,this),B.w.k||(F.wi=B.w.v),D.d){var G=new DashProperty(this,D.d,"canvas",this);B.d=G,B.d.k||(F.da=B.d.dashArray,F.do=B.d.dashoffset[0])}}else F.r=D.r===2?"evenodd":"nonzero";return this.stylesList.push(F),B.style=F,B},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(D){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,D.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,D,this)}}},CVShapeElement.prototype.createShapeElement=function(D){var O=new CVShapeData(this,D,this.stylesList,this.transformsManager);return this.shapes.push(O),this.addShapeToModifiers(O),O},CVShapeElement.prototype.reloadShapes=function(){var D;this._isFirstFrame=!0;var O=this.itemsData.length;for(D=0;D<O;D+=1)this.prevViewData[D]=this.itemsData[D];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),O=this.dynamicProperties.length,D=0;D<O;D+=1)this.dynamicProperties[D].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(D){var O,F=this.stylesList.length;for(O=0;O<F;O+=1)this.stylesList[O].closed||this.stylesList[O].transforms.push(D)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var D,O=this.stylesList.length;for(D=0;D<O;D+=1)this.stylesList[D].closed||this.stylesList[D].transforms.pop()},CVShapeElement.prototype.closeStyles=function(D){var O,F=D.length;for(O=0;O<F;O+=1)D[O].closed=!0},CVShapeElement.prototype.searchShapes=function(D,O,F,B,G){var U,K,X,q,nt,W,Q=D.length-1,rt=[],J=[],tt=[].
vendor: 4,757 bytes, line 150
150concat(G);for(U=Q;U>=0;U-=1){if((q=this.searchProcessedElement(D[U]))?O[U]=F[q-1]:D[U]._shouldRender=B,D[U].ty==="fl"||D[U].ty==="st"||D[U].ty==="gf"||D[U].ty==="gs")q?O[U].style.closed=!1:O[U]=this.createStyleElement(D[U],tt),rt.push(O[U].style);else if(D[U].ty==="gr"){if(q)for(X=O[U].it.length,K=0;K<X;K+=1)O[U].prevViewData[K]=O[U].it[K];else O[U]=this.createGroupElement(D[U]);this.searchShapes(D[U].it,O[U].it,O[U].prevViewData,B,tt)}else D[U].ty==="tr"?(q||(W=this.createTransformElement(D[U]),O[U]=W),tt.push(O[U]),this.addTransformToStyleList(O[U])):D[U].ty==="sh"||D[U].ty==="rc"||D[U].ty==="el"||D[U].ty==="sr"?q||(O[U]=this.createShapeElement(D[U])):D[U].ty==="tm"||D[U].ty==="rd"||D[U].ty==="pb"||D[U].ty==="zz"||D[U].ty==="op"?(q?(nt=O[U]).closed=!1:((nt=ShapeModifiers.getModifier(D[U].ty)).init(this,D[U]),O[U]=nt,this.shapeModifiers.push(nt)),J.push(nt)):D[U].ty==="rp"&&(q?(nt=O[U]).closed=!0:(nt=ShapeModifiers.getModifier(D[U].ty),O[U]=nt,nt.init(this,D,U,O),this.shapeModifiers.push(nt),B=!1),J.push(nt));this.addProcessedElement(D[U],U+1)}for(this.removeTransformFromStyleList(),this.closeStyles(rt),Q=J.length,U=0;U<Q;U+=1)J[U].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(D,O){(D._opMdf||O.op._mdf||this._isFirstFrame)&&(O.opacity=D.opacity,O.opacity*=O.op.v,O._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var D,O,F,B,G,U,K,X,q,nt=this.stylesList.length,W=this.globalData.renderer,Q=this.globalData.canvasContext;for(D=0;D<nt;D+=1)if(((X=(q=this.stylesList[D]).type)!=="st"&&X!=="gs"||q.wi!==0)&&q.data._shouldRender&&q.coOp!==0&&this.globalData.currentGlobalAlpha!==0){for(W.save(),U=q.elements,X==="st"||X==="gs"?(Q.strokeStyle=X==="st"?q.co:q.grd,Q.lineWidth=q.wi,Q.lineCap=q.lc,Q.lineJoin=q.lj,Q.miterLimit=q.ml||0):Q.fillStyle=X==="fl"?q.co:q.grd,W.ctxOpacity(q.coOp),X!=="st"&&X!=="gs"&&Q.beginPath(),W.ctxTransform(q.preTransforms.finalTransform.props),F=U.length,O=0;O<F;O+=1){for(X!=="st"&&X!=="gs"||(Q.beginPath(),q.da&&(Q.setLineDash(q.da),Q.lineDashOffset=q.do)),G=(K=U[O].trNodes).length,B=0;B<G;B+=1)K[B].t==="m"?Q.moveTo(K[B].p[0],K[B].p[1]):K[B].t==="c"?Q.bezierCurveTo(K[B].pts[0],K[B].pts[1],K[B].pts[2],K[B].pts[3],K[B].pts[4],K[B].pts[5]):Q.closePath();X!=="st"&&X!=="gs"||(Q.stroke(),q.da&&Q.setLineDash(this.dashResetter))}X!=="st"&&X!=="gs"&&Q.fill(q.r),W.restore()}},CVShapeElement.prototype.renderShape=function(D,O,F,B){var G,U;for(U=D,G=O.length-1;G>=0;G-=1)O[G].ty==="tr"?(U=F[G].transform,this.renderShapeTransform(D,U)):O[G].ty==="sh"||O[G].ty==="el"||O[G].ty==="rc"||O[G].ty==="sr"?this.renderPath(O[G],F[G]):O[G].ty==="fl"?this.renderFill(O[G],F[G],U):O[G].ty==="st"?this.renderStroke(O[G],F[G],U):O[G].ty==="gf"||O[G].ty==="gs"?this.renderGradientFill(O[G],F[G],U):O[G].ty==="gr"?this.renderShape(U,O[G].it,F[G].it):O[G].ty;B&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(D,O){if(this._isFirstFrame||O._mdf||D.transforms._mdf){var F,B,G,U=D.trNodes,K=O.paths,X=K._length;U.length=0;var q=D.transforms.finalTransform;for(G=0;G<X;G+=1){var nt=K.shapes[G];if(nt&&nt.v){for(B=nt._length,F=1;F<B;F+=1)F===1&&U.push({t:"m",p:q.applyToPointArray(nt.v[0][0],nt.v[0][1],0)}),U.push({t:"c",pts:q.applyToTriplePoints(nt.o[F-1],nt.i[F],nt.v[F])});B===1&&U.push({t:"m",p:q.applyToPointArray(nt.v[0][0],nt.v[0][1],0)}),nt.c&&B&&(U.push({t:"c",pts:q.applyToTriplePoints(nt.o[F-1],nt.i[0],nt.v[0])}),U.push({t:"z"}))}}D.trNodes=U}},CVShapeElement.prototype.renderPath=function(D,O){if(D.hd!==!0&&D._shouldRender){var F,B=O.styledShapes.length;for(F=0;F<B;F+=1)this.renderStyledShape(O.styledShapes[F],O.sh)}},CVShapeElement.prototype.renderFill=function(D,O,F){var B=O.style;(O.c._mdf||this._isFirstFrame)&&(B.co="rgb("+bmFloor(O.c.v[0])+","+bmFloor(O.c.v[1])+","+bmFloor(O.c.v[2])+")"),(O.o._mdf||F._opMdf||this._isFirstFrame)&&(B.coOp=O.o.v*F.opacity)},CVShapeElement.prototype.renderGradientFill=function(D,O,F){var B,G=O.style;if(!G.grd||O.g._mdf||O.s._mdf||O.e._mdf||D.t!==1&&(O.h._mdf||O.a._mdf)){var U,K=this.globalData.canvasContext,X=O.s.v,q=O.e.v;if(D.t===1)B=K.createLinearGradient(X[0],X[1],q[0],q[1]);else{var nt=Math.sqrt(Math.pow(X[0]-q[0],2)+Math.pow(X[1]-q[1],2)),W=Math.atan2(q[1]-X[1],q[0]-X[0]),Q=O.h.v;Q>=1?Q=.99:Q<=-1&&(Q=-.99);var rt=nt*Q,J=Math.cos(W+O.a.v)*rt+X[0],tt=Math.sin(W+O.a.v)*rt+X[1];B=K.createRadialGradient(J,tt,0,X[0],X[1],nt)}var at=D.g.p,Y=O.g.c,it=1;for(U=0;U<at;U+=1)O.g._hasOpacity&&O.g._collapsable&&(it=O.g.o[2*U+1]),B.addColorStop(Y[4*U]
vendor: 4,288 bytes, line 150
150/100,"rgba("+Y[4*U+1]+","+Y[4*U+2]+","+Y[4*U+3]+","+it+")");G.grd=B}G.coOp=O.o.v*F.opacity},CVShapeElement.prototype.renderStroke=function(D,O,F){var B=O.style,G=O.d;G&&(G._mdf||this._isFirstFrame)&&(B.da=G.dashArray,B.do=G.dashoffset[0]),(O.c._mdf||this._isFirstFrame)&&(B.co="rgb("+bmFloor(O.c.v[0])+","+bmFloor(O.c.v[1])+","+bmFloor(O.c.v[2])+")"),(O.o._mdf||F._opMdf||this._isFirstFrame)&&(B.coOp=O.o.v*F.opacity),(O.w._mdf||this._isFirstFrame)&&(B.wi=O.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var D=this.textProperty.currentData;this.renderedLetters=createSizedArray(D.l?D.l.length:0);var O=!1;D.fc?(O=!0,this.values.fill=this.buildColor(D.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=O;var F=!1;D.sc&&(F=!0,this.values.stroke=this.buildColor(D.sc),this.values.sWidth=D.sw);var B,G,U,K,X,q,nt,W,Q,rt,J,tt,at=this.globalData.fontManager.getFontByName(D.f),Y=D.l,it=this.mHelper;this.stroke=F,this.values.fValue=D.finalSize+"px "+this.globalData.fontManager.getFontByName(D.f).fFamily,G=D.finalText.length;var ot=this.data.singleShape,ft=.001*D.tr*D.finalSize,gt=0,pt=0,vt=!0,ct=0;for(B=0;B<G;B+=1){K=(U=this.globalData.fontManager.getCharData(D.finalText[B],at.fStyle,this.globalData.fontManager.getFontByName(D.f).fFamily))&&U.data||{},it.reset(),ot&&Y[B].n&&(gt=-ft,pt+=D.yOffset,pt+=vt?1:0,vt=!1),Q=(nt=K.shapes?K.shapes[0].it:[]).length,it.scale(D.finalSize/100,D.finalSize/100),ot&&this.applyTextPropertiesToMatrix(D,it,Y[B].line,gt,pt),J=createSizedArray(Q-1);var dt=0;for(W=0;W<Q;W+=1)if(nt[W].ty==="sh"){for(q=nt[W].ks.k.i.length,rt=nt[W].ks.k,tt=[],X=1;X<q;X+=1)X===1&&tt.push(it.applyToX(rt.v[0][0],rt.v[0][1],0),it.applyToY(rt.v[0][0],rt.v[0][1],0)),tt.push(it.applyToX(rt.o[X-1][0],rt.o[X-1][1],0),it.applyToY(rt.o[X-1][0],rt.o[X-1][1],0),it.applyToX(rt.i[X][0],rt.i[X][1],0),it.applyToY(rt.i[X][0],rt.i[X][1],0),it.applyToX(rt.v[X][0],rt.v[X][1],0),it.applyToY(rt.v[X][0],rt.v[X][1],0));tt.push(it.applyToX(rt.o[X-1][0],rt.o[X-1][1],0),it.applyToY(rt.o[X-1][0],rt.o[X-1][1],0),it.applyToX(rt.i[0][0],rt.i[0][1],0),it.applyToY(rt.i[0][0],rt.i[0][1],0),it.applyToX(rt.v[0][0],rt.v[0][1],0),it.applyToY(rt.v[0][0],rt.v[0][1],0)),J[dt]=tt,dt+=1}ot&&(gt+=Y[B].l,gt+=ft),this.textSpans[ct]?this.textSpans[ct].elem=J:this.textSpans[ct]={elem:J},ct+=1}},CVTextElement.prototype.renderInnerContent=function(){var D,O,F,B,G,U,K=this.canvasContext;K.font=this.values.fValue,K.lineCap="butt",K.lineJoin="miter",K.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var X,q=this.textAnimator.renderedLetters,nt=this.textProperty.currentData.l;O=nt.length;var W,Q,rt=null,J=null,tt=null;for(D=0;D<O;D+=1)if(!nt[D].n){if((X=q[D])&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(X.p),this.globalData.renderer.ctxOpacity(X.o)),this.fill){for(X&&X.fc?rt!==X.fc&&(rt=X.fc,K.fillStyle=X.fc):rt!==this.values.fill&&(rt=this.values.fill,K.fillStyle=this.values.fill),B=(W=this.textSpans[D].elem).length,this.globalData.canvasContext.beginPath(),F=0;F<B;F+=1)for(U=(Q=W[F]).length,this.globalData.canvasContext.moveTo(Q[0],Q[1]),G=2;G<U;G+=6)this.globalData.canvasContext.bezierCurveTo(Q[G],Q[G+1],Q[G+2],Q[G+3],Q[G+4],Q[G+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(X&&X.sw?tt!==X.sw&&(tt=X.sw,K.lineWidth=X.sw):tt!==this.values.sWidth&&(tt=this.values.sWidth,K.lineWidth=this.values.sWidth),X&&X.sc?J!==X.sc&&(J=X.sc,K.strokeStyle=X.sc):J!==this.values.stroke&&(J=this.values.stroke,K.strokeStyle=this.values.stroke),B=(W=this.textSpans[D].elem).length,this.globalData.canvasContext.beginPath(),F=0;F<B;F+=1)for(U=(Q=W[F]).length,this.globalData.canvasContext.moveTo(Q[0],Q[1]),G=2;G<U;G+=6)this.globalData.canvasContext.bezierCurveTo(Q[G],Q[G+1],Q[G+2],Q[G+3],Q[G+4],Q[G+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}
150X&&this.globalData.renderer.restore()}},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var D=createTag("canvas");D.width=this.assetData.w,D.height=this.assetData.h;var O,F,B=D.getContext("2d"),G=this.img.width,U=this.img.height,K=G/U,X=this.assetData.w/this.assetData.h,q=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;K>X&&q==="xMidYMid slice"||K<X&&q!=="xMidYMid slice"?O=(F=U)*X:F=(O=G)/X,B.drawImage(this.img,(G-O)/2,(U-F)/2,O,F,0,0,this.assetData.w,this.assetData.h),this.img=D}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){var D=this.canvasContext;D.fillStyle=this.data.sc,D.fillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(D){return new CVShapeElement(D,this.globalData,this)},CanvasRendererBase.prototype.createText=function(D){return new CVTextElement(D,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(D){return new CVImageElement(D,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(D){return new CVSolidElement(D,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(D){if(D[0]!==1||D[1]!==0||D[4]!==0||D[5]!==1||D[12]!==0||D[13]!==0)if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(D);var O=this.contextData.cTr.props;this.transformMat.transform(O[0],O[1],O[2],O[3],O[4],O[5],O[6],O[7],O[8],O[9],O[10],O[11],O[12],O[13],O[14],O[15]),this.contextData.cTr.cloneFromProps(this.transformMat.props);var F=this.contextData.cTr.props;this.canvasContext.setTransform(F[0],F[1],F[4],F[5],F[12],F[13])}else this.canvasContext.transform(D[0],D[1],D[4],D[5],D[12],D[13])},CanvasRendererBase.prototype.ctxOpacity=function(D){if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=D<0?0:D,void(this.globalData.currentGlobalAlpha=this.contextData.cO);this.contextData.cO*=D<0?0:D,this.globalData.currentGlobalAlpha!==this.contextData.cO&&(this.canvasContext.globalAlpha=this.contextData.cO,this.globalData.currentGlobalAlpha=this.contextData.cO)},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(D){if(this.renderConfig.clearCanvas){D&&this.canvasContext.save();var O,F=this.contextData.cTr.props;this.contextData._length<=this.contextData.cArrPos&&this.contextData.duplicate();var B=this.contextData.saved[this.contextData.cArrPos];for(O=0;O<16;O+=1)B[O]=F[O];this.contextData.savedOp[this.contextData.cArrPos]=this.contextData.cO,this.contextData.cArrPos+=1}else this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(D){if(this.renderConfig.clearCanvas){D&&(this.canvasContext.restore(),this.globalData.blendMode="source-over"),this.contextData.cArrPos-=1;var O,F=this.contextData.saved[this.contextData.cArrPos],B=this.contextData.cTr.props;for(O=0;O<16;O+=1)B[O]=F[O];this.canvasContext.setTransform(F[0],F[1],F[4],F[5],F[12],F[13]),F=this.contextData.savedOp[this.contextData.cArrPos],this.contextData.cO=F,this.globalData.currentGlobalAlpha!==F&&(this.canvasContext.globalAlpha=F,this.globalData.currentGlobalAlpha=F)}
vendor: 4,849 bytes, line 150
150else this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(D){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var O=this.animationItem.container.style;O.width="100%",O.height="100%";var F="0px 0px 0px";O.transformOrigin=F,O.mozTransformOrigin=F,O.webkitTransformOrigin=F,O["-webkit-transform"]=F,O.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.data=D,this.layers=D.layers,this.transformCanvas={w:D.w,h:D.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(D,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(D.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(D,O){var F,B,G,U;if(this.reset(),D?(F=D,B=O,this.canvasContext.canvas.width=F,this.canvasContext.canvas.height=B):(this.animationItem.wrapper&&this.animationItem.container?(F=this.animationItem.wrapper.offsetWidth,B=this.animationItem.wrapper.offsetHeight):(F=this.canvasContext.canvas.width,B=this.canvasContext.canvas.height),this.canvasContext.canvas.width=F*this.renderConfig.dpr,this.canvasContext.canvas.height=B*this.renderConfig.dpr),this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var K=this.renderConfig.preserveAspectRatio.split(" "),X=K[1]||"meet",q=K[0]||"xMidYMid",nt=q.substr(0,4),W=q.substr(4);G=F/B,(U=this.transformCanvas.w/this.transformCanvas.h)>G&&X==="meet"||U<G&&X==="slice"?(this.transformCanvas.sx=F/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=F/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=B/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=B/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx=nt==="xMid"&&(U<G&&X==="meet"||U>G&&X==="slice")?(F-this.transformCanvas.w*(B/this.transformCanvas.h))/2*this.renderConfig.dpr:nt==="xMax"&&(U<G&&X==="meet"||U>G&&X==="slice")?(F-this.transformCanvas.w*(B/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty=W==="YMid"&&(U>G&&X==="meet"||U<G&&X==="slice")?(B-this.transformCanvas.h*(F/this.transformCanvas.w))/2*this.renderConfig.dpr:W==="YMax"&&(U>G&&X==="meet"||U<G&&X==="slice")?(B-this.transformCanvas.h*(F/this.transformCanvas.w))*this.renderConfig.dpr:0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=F/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=B/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){var D;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),D=(this.layers?this.layers.length:0)-1;D>=0;D-=1)this.elements[D]&&this.elements[D].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(D,O){if((this.renderedFrame!==D||this.renderConfig.clearCanvas!==!0||O)&&!this.destroyed&&D!==-1){var F;this.renderedFrame=D,this.globalData.frameNum=D-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||O,this.globalData.projectInterface.currentFrame=D;var B=this.layers.length;for(this.completeLayers||this.checkLayers(D),F=0;F<B;F+=1)(this.completeLayers||this.elements[F])&&this.elements[F].prepareFrame(D-this.layers[F].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),F=B-1;F>=0;F-=1)(this.completeLayers||this.elements[F])&&this.elements[F].renderFrame();
vendor: 31,480 bytes, line 150
150this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(D){var O=this.elements;if(!O[D]&&this.layers[D].ty!==99){var F=this.createItem(this.layers[D],this,this.globalData);O[D]=F,F.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var D,O=this.canvasContext;for(O.beginPath(),O.moveTo(0,0),O.lineTo(this.data.w,0),O.lineTo(this.data.w,this.data.h),O.lineTo(0,this.data.h),O.lineTo(0,0),O.clip(),D=this.layers.length-1;D>=0;D-=1)(this.completeLayers||this.elements[D])&&this.elements[D].renderFrame()},CVCompElement.prototype.destroy=function(){var D;for(D=this.layers.length-1;D>=0;D-=1)this.elements[D]&&this.elements[D].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(D){return new CVCompElement(D,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(D){return new CVCompElement(D,this.globalData,this)},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.bm!==0&&this.setBlendMode()},renderElement:function(){var D=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var O=this.finalTransform.mat.toCSS();D.transform=O,D.webkitTransform=O}this.finalTransform._opMdf&&(D.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var D;this.data.hasMask?((D=createNS("rect")).setAttribute("width",this.data.sw),D.setAttribute("height",this.data.sh),D.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((D=createTag("div")).style.width=this.data.sw+"px",D.style.height=this.data.sh+"px",D.style.backgroundColor=this.data.sc),this.layerElement.appendChild(D)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var D;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),D=this.svgElement;else{D=createNS("svg");var O=this.comp.data?this.comp.data:this.globalData.compSize;D.setAttribute("width",O.w),D.setAttribute("height",O.h),D.appendChild(this.shapesContainer),this.layerElement.appendChild(D)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=D},HShapeElement.prototype.getTransformedPoint=function(D,O){var F,B=D.length;for(F=0;F<B;F+=1)O=D[F].mProps.v.applyToPointArray(O[0],O[1],0);return O},HShapeElement.prototype.calculateShapeBoundingBox=function(D,O){var F,B,G,U,K,X=D.sh.v,q=D.transformers,nt=X._length;if(!(nt<=1)){for(F=0;F<nt-1;F+=1)B=this.getTransformedPoint(q,X.v[F]),G=this.getTransformedPoint(q,X.o[F]),U=this.getTransformedPoint(q,X.i[F+1]),K=this.getTransformedPoint(q,X.v[F+1]),this.checkBounds(B,G,U,K,O);X.c&&(B=this.getTransformedPoint(q,X.v[F]),G=this.getTransformedPoint(q,X.o[F]),U=this.getTransformedPoint(q,X.i[0]),K=this.getTransformedPoint(q,X.v[0]),this.checkBounds(B,G,U,K,O))}},HShapeElement.prototype.checkBounds=function(D,O,F,B,G){this.getBoundsOfCurve(D,O,F,B);var U=this.shapeBoundingBox;G.x=bmMin(U.left,G.x),G.xMax=bmMax(U.right,G.xMax),G.y=bmMin(U.top,G.y),G.yMax=bmMax(U.bottom,G.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(D,O,F,B){for(var G,U,K,X,q,nt,W,Q=[[D[0],B[0]],[D[1],B[1]]],rt=0;rt<2;++rt)U=6*D[rt]-12*O[rt]+6*F[rt],G=-3*D[rt]+9*O[rt]-9*F[rt]+3*B[rt],K=3*O[rt]-3*D[rt],U|=0,K|=0,(G|=0)===0&&U===0||(G===0?(X=-K/U)>0&&X<1&&Q[rt].push(this.calculateF(X,D,O,F,B,rt)):(q=U*U-4*K*G)>=0&&((nt=(-U+bmSqrt(q))/(2*G))>0&&nt<1&&Q[rt].push(this.calculateF(nt,D,O,F,B,rt)),(W=(-U-bmSqrt(q))/(2*G))>0&&W<1&&Q[rt].push(this.calculateF(W,D,O,F,B,rt))));this.shapeBoundingBox.left=bmMin.apply(null,Q[0]),this.shapeBoundingBox.top=bmMin.apply(null,Q[1]),this.shapeBoundingBox.right=bmMax.apply(null,Q[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,Q[1])},HShapeElement.prototype.calculateF=function(D,O,F,B,G,U){return bmPow(1-D,3)*O[U]+3*bmPow(1-D,2)*D*F[U]+3*(1-D)*bmPow(D,2)*B[U]+bmPow(D,3)*G[U]},HShapeElement.prototype.calculateBoundingBox=function(D,O){var F,B=D.length;for(F=0;F<B;F+=1)D[F]&&D[F].sh?this.calculateShapeBoundingBox(D[F],O):D[F]&&D[F].it?this.calculateBoundingBox(D[F].it,O):D[F]&&D[F].style&&D[F].w&&this.expandStrokeBoundingBox(D[F].w,O)},HShapeElement.prototype.expandStrokeBoundingBox=function(D,O){var F=0;if(D.keyframes){for(var B=0;B<D.keyframes.length;B+=1){var G=D.keyframes[B].s;G>F&&(F=G)}F*=D.mult}else F=D.v*D.mult;O.x-=F,O.xMax+=F,O.y-=F,O.yMax+=F},HShapeElement.prototype.currentBoxContains=function(D){return this.currentBBox.x<=D.x&&this.currentBBox.y<=D.y&&this.currentBBox.width+this.currentBBox.x>=D.x+D.width&&this.currentBBox.height+this.currentBBox.y>=D.y+D.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var D=this.tempBoundingBox,O=999999;if(D.x=O,D.xMax=-O,D.y=O,D.yMax=-O,this.calculateBoundingBox(this.itemsData,D),D.width=D.xMax<D.x?0:D.xMax-D.x,D.height=D.yMax<D.y?0:D.yMax-D.y,this.currentBoxContains(D))return;var F=!1;if(this.currentBBox.w!==D.width&&(this.currentBBox.w=D.width,this.shapeCont.setAttribute("width",D.width),F=!0),this.currentBBox.h!==D.height&&(this.currentBBox.h=D.height,this.shapeCont.setAttribute("height",D.height),F=!0),F||this.currentBBox.x!==D.x||this.currentBBox.y!==D.y){this.currentBBox.w=D.width,this.currentBBox.h=D.height,this.currentBBox.x=D.x,this.currentBBox.y=D.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var B=this.shapeCont.style,G="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";B.transform=G,B.webkitTransform=G}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var D=createNS("g");this.maskedElement.appendChild(D),this.innerElem=D}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var D=this.textProperty.currentData;this.renderedLetters=createSizedArray(D.l?D.l.length:0);var O=this.innerElem.style,F=D.fc?this.buildColor(D.fc):"rgba(0,0,0,0)";O.fill=F,O.color=F,D.sc&&(O.stroke=this.buildColor(D.sc),O.strokeWidth=D.sw+"px");var B,G,U=this.globalData.fontManager.getFontByName(D.f);if(!this.globalData.fontManager.chars)if(O.fontSize=D.finalSize+"px",O.lineHeight=D.finalSize+"px",U.fClass)this.innerElem.className=U.fClass;else{O.fontFamily=U.fFamily;var K=D.fWeight,X=D.fStyle;O.fontStyle=X,O.fontWeight=K}var q,nt,W,Q=D.l;G=Q.length;var rt,J=this.mHelper,tt="",at=0;for(B=0;B<G;B+=1){if(this.globalData.fontManager.chars?(this.textPaths[at]?q=this.textPaths[at]:((q=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),q.setAttribute("stroke-linejoin",lineJoinEnum[2]),q.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[at]?W=(nt=this.textSpans[at]).children[0]:((nt=createTag("div")).style.lineHeight=0,(W=createNS("svg")).appendChild(q),styleDiv(nt)))):this.isMasked?q=this.textPaths[at]?this.textPaths[at]:createNS("text"):this.textSpans[at]?(nt=this.textSpans[at],q=this.textPaths[at]):(styleDiv(nt=createTag("span")),styleDiv(q=createTag("span")),nt.appendChild(q)),this.globalData.fontManager.chars){var Y,it=this.globalData.fontManager.getCharData(D.finalText[B],U.fStyle,this.globalData.fontManager.getFontByName(D.f).fFamily);if(Y=it?it.data:null,J.reset(),Y&&Y.shapes&&Y.shapes.length&&(rt=Y.shapes[0].it,J.scale(D.finalSize/100,D.finalSize/100),tt=this.createPathShape(J,rt),q.setAttribute("d",tt)),this.isMasked)this.innerElem.appendChild(q);else{if(this.innerElem.appendChild(nt),Y&&Y.shapes){document.body.appendChild(W);var ot=W.getBBox();W.setAttribute("width",ot.width+2),W.setAttribute("height",ot.height+2),W.setAttribute("viewBox",ot.x-1+" "+(ot.y-1)+" "+(ot.width+2)+" "+(ot.height+2));var ft=W.style,gt="translate("+(ot.x-1)+"px,"+(ot.y-1)+"px)";ft.transform=gt,ft.webkitTransform=gt,Q[B].yOffset=ot.y-1}else W.setAttribute("width",1),W.setAttribute("height",1);nt.appendChild(W)}}else if(q.textContent=Q[B].val,q.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(q);else{this.innerElem.appendChild(nt);var pt=q.style,vt="translate3d(0,"+-D.finalSize/1.2+"px,0)";pt.transform=vt,pt.webkitTransform=vt}this.isMasked?this.textSpans[at]=q:this.textSpans[at]=nt,this.textSpans[at].style.display="block",this.textPaths[at]=q,at+=1}for(;at<this.textSpans.length;)this.textSpans[at].style.display="none",at+=1},HTextElement.prototype.renderInnerContent=function(){var D;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),D=this.svgElement.style;var O="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";D.transform=O,D.webkitTransform=O}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var F,B,G,U,K,X=0,q=this.textAnimator.renderedLetters,nt=this.textProperty.currentData.l;for(B=nt.length,F=0;F<B;F+=1)nt[F].n?X+=1:(U=this.textSpans[F],K=this.textPaths[F],G=q[X],X+=1,G._mdf.m&&(this.isMasked?U.setAttribute("transform",G.m):(U.style.webkitTransform=G.m,U.style.transform=G.m)),U.style.opacity=G.o,G.sw&&G._mdf.sw&&K.setAttribute("stroke-width",G.sw),G.sc&&G._mdf.sc&&K.setAttribute("stroke",G.sc),G.fc&&G._mdf.fc&&(K.setAttribute("fill",G.fc),K.style.color=G.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var W=this.innerElem.getBBox();if(this.currentBBox.w!==W.width&&(this.currentBBox.w=W.width,this.svgElement.setAttribute("width",W.width)),this.currentBBox.h!==W.height&&(this.currentBBox.h=W.height,this.svgElement.setAttribute("height",W.height)),this.currentBBox.w!==W.width+2||this.currentBBox.h!==W.height+2||this.currentBBox.x!==W.x-1||this.currentBBox.y!==W.y-1){this.currentBBox.w=W.width+2,this.currentBBox.h=W.height+2,this.currentBBox.x=W.x-1,this.currentBBox.y=W.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),D=this.svgElement.style;var Q="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";D.transform=Q,D.webkitTransform=Q}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var D,O,F,B,G=this.comp.threeDElements.length;for(D=0;D<G;D+=1)if((O=this.comp.threeDElements[D]).type==="3d"){F=O.perspectiveElem.style,B=O.container.style;var U=this.pe.v+"px",K="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";F.perspective=U,F.webkitPerspective=U,B.transformOrigin="0px 0px 0px",B.mozTransformOrigin="0px 0px 0px",B.webkitTransformOrigin="0px 0px 0px",F.transform=K,F.webkitTransform=K}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var D,O,F=this._isFirstFrame;if(this.hierarchy)for(O=this.hierarchy.length,D=0;D<O;D+=1)F=this.hierarchy[D].finalTransform.mProp._mdf||F;if(F||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(D=O=this.hierarchy.length-1;D>=0;D-=1){var B=this.hierarchy[D].finalTransform.mProp;this.mat.translate(-B.p.v[0],-B.p.v[1],B.p.v[2]),this.mat.rotateX(-B.or.v[0]).rotateY(-B.or.v[1]).rotateZ(B.or.v[2]),this.mat.rotateX(-B.rx.v).rotateY(-B.ry.v).rotateZ(B.rz.v),this.mat.scale(1/B.s.v[0],1/B.s.v[1],1/B.s.v[2]),this.mat.translate(B.a.v[0],B.a.v[1],B.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var G;G=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var U=Math.sqrt(Math.pow(G[0],2)+Math.pow(G[1],2)+Math.pow(G[2],2)),K=[G[0]/U,G[1]/U,G[2]/U],X=Math.sqrt(K[2]*K[2]+K[0]*K[0]),q=Math.atan2(K[1],X),nt=Math.atan2(K[0],-K[2]);this.mat.rotateY(nt).rotateX(-q)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var W=!this._prevMat.equals(this.mat);if((W||this.pe._mdf)&&this.comp.threeDElements){var Q,rt,J;for(O=this.comp.threeDElements.length,D=0;D<O;D+=1)if((Q=this.comp.threeDElements[D]).type==="3d"){if(W){var tt=this.mat.toCSS();(J=Q.container.style).transform=tt,J.webkitTransform=tt}this.pe._mdf&&((rt=Q.perspectiveElem.style).perspective=this.pe.v+"px",rt.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(D){this.prepareProperties(D,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var D=this.globalData.getAssetsPath(this.assetData),O=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",D),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(O),O.crossOrigin="anonymous",O.src=D,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRendererBase.prototype.appendElementInPos=function(D,O){var F=D.getBaseElement();if(F){var B=this.layers[O];if(B.ddd&&this.supports3d)this.addTo3dContainer(F,O);else if(this.threeDElements)this.addTo3dContainer(F,O);else{for(var G,U,K=0;K<O;)this.elements[K]&&this.elements[K]!==!0&&this.elements[K].getBaseElement&&(U=this.elements[K],G=(this.layers[K].ddd?this.getThreeDContainerByPos(K):U.getBaseElement())||G),K+=1;G?B.ddd&&this.supports3d||this.layerElement.insertBefore(F,G):B.ddd&&this.supports3d||this.layerElement.appendChild(F)}}},HybridRendererBase.prototype.createShape=function(D){return this.supports3d?new HShapeElement(D,this.globalData,this):new SVGShapeElement(D,this.globalData,this)},HybridRendererBase.prototype.createText=function(D){return this.supports3d?new HTextElement(D,this.globalData,this):new SVGTextLottieElement(D,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(D){return this.camera=new HCameraElement(D,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(D){return this.supports3d?new HImageElement(D,this.globalData,this):new IImageElement(D,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(D){return this.supports3d?new HSolidElement(D,this.globalData,this):new ISolidElement(D,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(D){for(var O=0,F=this.threeDElements.length;O<F;){if(this.threeDElements[O].startPos<=D&&this.threeDElements[O].endPos>=D)return this.threeDElements[O].perspectiveElem;O+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(D,O){var F,B,G=createTag("div");styleDiv(G);var U=createTag("div");if(styleDiv(U),O==="3d"){(F=G.style).width=this.globalData.compSize.w+"px",F.height=this.globalData.compSize.h+"px",F.webkitTransformOrigin="50% 50%",F.mozTransformOrigin="50% 50%",F.transformOrigin="50% 50%";var K="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(B=U.style).transform=K,B.webkitTransform=K}G.appendChild(U);var X={container:U,perspectiveElem:G,startPos:D,endPos:D,type:O};return this.threeDElements.push(X),X},HybridRendererBase.prototype.build3dContainers=function(){var D,O,F=this.layers.length,B="";for(D=0;D<F;D+=1)this.layers[D].ddd&&this.layers[D].ty!==3?(B!=="3d"&&(B="3d",O=this.createThreeDContainer(D,"3d")),O.endPos=Math.max(O.endPos,D)):(B!=="2d"&&(B="2d",O=this.createThreeDContainer(D,"2d")),O.endPos=Math.max(O.endPos,D));for(D=(F=this.threeDElements.length)-1;D>=0;D-=1)this.resizerElem.appendChild(this.threeDElements[D].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(D,O){for(var F=0,B=this.threeDElements.length;F<B;){if(O<=this.threeDElements[F].endPos){for(var G,U=this.threeDElements[F].startPos;U<O;)this.elements[U]&&this.elements[U].getBaseElement&&(G=this.elements[U].getBaseElement()),U+=1;G?this.threeDElements[F].container.insertBefore(D,G):this.threeDElements[F].container.appendChild(D);break}F+=1}},HybridRendererBase.prototype.configAnimation=function(D){var O=createTag("div"),F=this.animationItem.wrapper,B=O.style;B.width=D.w+"px",B.height=D.h+"px",this.resizerElem=O,styleDiv(O),B.transformStyle="flat",B.mozTransformStyle="flat",B.webkitTransformStyle="flat",this.renderConfig.className&&O.setAttribute("class",this.renderConfig.className),F.appendChild(O),B.overflow="hidden";var G=createNS("svg");G.setAttribute("width","1"),G.setAttribute("height","1"),styleDiv(G),this.resizerElem.appendChild(G);var U=createNS("defs");G.appendChild(U),this.data=D,this.setupGlobalData(D,G),this.globalData.defs=U,this.layers=D.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){var D;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var O=this.layers?this.layers.length:0;for(D=0;D<O;D+=1)this.elements[D].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var D,O,F,B,G=this.animationItem.wrapper.offsetWidth,U=this.animationItem.wrapper.offsetHeight,K=G/U;this.globalData.compSize.w/this.globalData.compSize.h>K?(D=G/this.globalData.compSize.w,O=G/this.globalData.compSize.w,F=0,B=(U-this.globalData.compSize.h*(G/this.globalData.compSize.w))/2):(D=U/this.globalData.compSize.h,O=U/this.globalData.compSize.h,F=(G-this.globalData.compSize.w*(U/this.globalData.compSize.h))/2,B=0);var X=this.resizerElem.style;X.webkitTransform="matrix3d("+D+",0,0,0,0,"+O+",0,0,0,0,1,0,"+F+","+B+",0,1)",X.transform=X.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var D,O=this.globalData.compSize.w,F=this.globalData.compSize.h,B=this.threeDElements.length;for(D=0;D<B;D+=1){var G=this.threeDElements[D].perspectiveElem.style;G.webkitPerspective=Math.sqrt(Math.pow(O,2)+Math.pow(F,2))+"px",G.perspective=G.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(D){var O,F=D.length,B=createTag("div");for(O=0;O<F;O+=1)if(D[O].xt){var G=this.createComp(D[O],B,this.globalData.comp,null);G.initExpressions(),this.globalData.projectInterface.registerComposition(G)}},extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(D,O){for(var F,B=0;B<O;)this.elements[B]&&this.elements[B].getBaseElement&&(F=this.elements[B].getBaseElement()),B+=1;F?this.layerElement.insertBefore(D,F):this.layerElement.appendChild(D)},HCompElement.prototype.createComp=function(D){return this.supports3d?new HCompElement(D,this.globalData,this):new SVGCompElement(D,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(D){return this.supports3d?new HCompElement(D,this.globalData,this):new SVGCompElement(D,this.globalData,this)};var CompExpressionInterface=function(D){function O(F){for(var B=0,G=D.layers.length;B<G;){if(D.layers[B].nm===F||D.layers[B].ind===F)return D.elements[B].layerInterface;B+=1}return null}return Object.defineProperty(O,"_name",{value:D.data.nm}),O.layer=O,O.pixelAspect=1,O.height=D.data.h||D.globalData.compSize.h,O.width=D.data.w||D.globalData.compSize.w,O.pixelAspect=1,O.frameDuration=1/D.globalData.frameRate,O.displayStartTime=0,O.numLayers=D.layers.length,O},Expressions=(function(){var D={};return D.initExpressions=function(O){var F=0,B=[];O.renderer.compInterface=CompExpressionInterface(O.renderer),O.renderer.globalData.projectInterface.registerComposition(O.renderer),O.renderer.globalData.pushExpression=function(){F+=1},O.renderer.globalData.popExpression=function(){(F-=1)===0&&(function(){var G,U=B.length;for(G=0;G<U;G+=1)B[G].release();B.length=0})()},O.renderer.globalData.registerExpressionProperty=function(G){B.indexOf(G)===-1&&B.push(G)}},D})(),MaskManagerInterface=(function(){function D(O,F){this._mask=O,this._data=F}return Object.defineProperty(D.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(D.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(O){var F,B=createSizedArray(O.viewData.length),G=O.viewData.length;for(F=0;F<G;F+=1)B[F]=new D(O.viewData[F],O.masksProperties[F]);return function(U){for(F=0;F<G;){if(O.masksProperties[F].nm===U)return B[F];F+=1}return null}}})(),ExpressionPropertyInterface=(function(){var D={pv:0,v:0,mult:1},O={pv:[0,0,0],v:[0,0,0],mult:1};function F(G,U,K){Object.defineProperty(G,"velocity",{get:function(){return U.getVelocityAtTime(U.comp.currentFrame)}}),G.numKeys=U.keyframes?U.keyframes.length:0,G.key=function(X){if(!G.numKeys)return 0;var q="";q="s"in U.keyframes[X-1]?U.keyframes[X-1].s:"e"in U.keyframes[X-2]?U.keyframes[X-2].e:U.keyframes[X-2].s;var nt=K==="unidimensional"?new Number(q):Object.assign({},q);return nt.time=U.keyframes[X-1].t/U.elem.comp.globalData.frameRate,nt.value=K==="unidimensional"?q[0]:q,nt},G.valueAtTime=U.getValueAtTime,G.speedAtTime=U.getSpeedAtTime,G.velocityAtTime=U.getVelocityAtTime,G.propertyGroup=U.propertyGroup}function B(){return D}return function(G){return G?G.propType==="unidimensional"?(function(U){U&&"pv"in U||(U=D);var K=1/U.mult,X=U.pv*K,q=new Number(X);return q.value=X,F(q,U,"unidimensional"),function(){return U.k&&U.getValue(),X=U.v*K,q.value!==X&&((q=new Number(X)).value=X,F(q,U,"unidimensional")),q}})(G):(function(U){U&&"pv"in U||(U=O);var K=1/U.mult,X=U.data&&U.data.l||U.pv.length,q=createTypedArray("float32",X),nt=createTypedArray("float32",X);return q.value=nt,F(q,U,"multidimensional"),function(){U.k&&U.getValue();for(var W=0;W<X;W+=1)nt[W]=U.v[W]*K,q[W]=nt[W];return q}})(G):B}})(),TransformExpressionInterface=function(D){function O(K){switch(K){case"scale":case"Scale":case"ADBE Scale":case 6:return O.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return O.rotation;case"ADBE Rotate X":return O.xRotation;case"ADBE Rotate Y":return O.yRotation;case"position":case"Position":case"ADBE Position":case 2:return O.position;case"ADBE Position_0":return O.xPosition;case"ADBE Position_1":return O.yPosition;case"ADBE Position_2":return O.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return O.anchorPoint;case"opacity":case"Opacity":case 11:return O.opacity;default:return null}}var F,B,G,U;return Object.defineProperty(O,"rotation",{get:ExpressionPropertyInterface(D.r||D.rz)}),Object.defineProperty(O,"zRotation",{get:ExpressionPropertyInterface(D.rz||D.r)}),Object.defineProperty(O,"xRotation",{get:ExpressionPropertyInterface(D.rx)}),Object.defineProperty(O,"yRotation",{get:ExpressionPropertyInterface(D.ry)}),Object.defineProperty(O,"scale",{get:ExpressionPropertyInterface(D.s)}),D.p?U=ExpressionPropertyInterface(D.p):(F=ExpressionPropertyInterface(D.px),B=ExpressionPropertyInterface(D.py),D.pz&&(G=ExpressionPropertyInterface(D.pz))),Object.defineProperty(O,"position",{get:function(){return D.p?U():[F(),B(),G?G():0]}}),Object.defineProperty(O,"xPosition",{get:ExpressionPropertyInterface(D.px)}),Object.defineProperty(O,"yPosition",{get:ExpressionPropertyInterface(D.py)}),Object.defineProperty(O,"zPosition",{get:ExpressionPropertyInterface(D.pz)}),Object.defineProperty(O,"anchorPoint",{get:ExpressionPropertyInterface(D.a)}),Object.defineProperty(O,"opacity",{get:ExpressionPropertyInterface(D.o)}),Object.defineProperty(O,"skew",{get:ExpressionPropertyInterface(D.sk)}),Object.defineProperty(O,"skewAxis",{get:ExpressionPropertyInterface(D.sa)}),Object.defineProperty(O,"orientation",{get:ExpressionPropertyInterface(D.or)}),O},LayerExpressionInterface=(function(){function D(nt){var W=new Matrix;return nt!==void 0?this._elem.finalTransform.mProp.getValueAtTime(nt).clone(W):this._elem.finalTransform.mProp.applyToMatrix(W),W}function O(nt,W){var Q=this.getMatrix(W);return Q.props[12]=0,Q.props[13]=0,Q.props[14]=0,this.applyPoint(Q,nt)}function F(nt,W){var Q=this.getMatrix(W);return this.applyPoint(Q,nt)}function B(nt,W){var Q=this.getMatrix(W);return Q.props[12]=0,Q.props[13]=0,Q.props[14]=0,this.invertPoint(Q,nt)}function G(nt,W){var Q=this.getMatrix(W);return this.invertPoint(Q,nt)}function U(nt,W){if(this._elem.hierarchy&&this._elem.hierarchy.length){var Q,rt=this._elem.hierarchy.length;for(Q=0;Q<rt;Q+=1)this._elem.hierarchy[Q].finalTransform.mProp.applyToMatrix(nt)}return nt.applyToPointArray(W[0],W[1],W[2]||0)}function K(nt,W){if(this._elem.hierarchy&&this._elem.hierarchy.length){var Q,rt=this._elem.hierarchy.length;for(Q=0;Q<rt;Q+=1)this._elem.hierarchy[Q].finalTransform.mProp.applyToMatrix(nt)}return nt.inversePoint(W)}function X(nt){var W=new Matrix;if(W.reset(),this._elem.finalTransform.mProp.applyToMatrix(W),this._elem.hierarchy&&this._elem.hierarchy.length){var Q,rt=this._elem.hierarchy.length;for(Q=0;Q<rt;Q+=1)this._elem.hierarchy[Q].finalTransform.mProp.applyToMatrix(W);return W.inversePoint(nt)}return W.inversePoint(nt)}function q(){return[1,1,1,1]}return function(nt){var W;function Q(J){switch(J){case"ADBE Root Vectors Group":case"Contents":case 2:return Q.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return W;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return Q.effect;case"ADBE Text Properties":return Q.textInterface;default:return null}}Q.getMatrix=D,Q.invertPoint=K,Q.applyPoint=U,Q.toWorld=F,Q.toWorldVec=O,Q.fromWorld=G,Q.fromWorldVec=B,Q.toComp=F,Q.fromComp=X,Q.sampleImage=q,Q.sourceRectAtTime=nt.sourceRectAtTime.bind(nt),Q._elem=nt;var rt=getDescriptor(W=TransformExpressionInterface(nt.finalTransform.mProp),"anchorPoint");return Object.defineProperties(Q,{hasParent:{get:function(){return nt.hierarchy.length}},parent:{get:function(){return nt.hierarchy[0].layerInterface}},rotation:getDescriptor(W,"rotation"),scale:getDescriptor(W,"scale"),position:getDescriptor(W,"position"),opacity:getDescriptor(W,"opacity"),anchorPoint:rt,anchor_point:rt,transform:{get:function(){return W}},active:{get:function(){return nt.isInRange}}}),Q.startTime=nt.data.st,Q.index=nt.data.ind,Q.source=nt.data.refId,Q.height=nt.data.ty===0?nt.data.h:100,Q.width=nt.data.ty===0?nt.data.w:100,Q.inPoint=nt.data.ip/nt.comp.globalData.frameRate,Q.outPoint=nt.data.op/nt.comp.globalData.frameRate,Q._name=nt.data.nm,Q.registerMaskInterface=function(J){Q.mask=new MaskManagerInterface(J,nt)},Q.registerEffectsInterface=function(J){Q.effect=J},Q}})(),propertyGroupFactory=function(D,O){return function(F){return(F=F===void 0?1:F)<=0?D:O(F-1)}},PropertyInterface=function(D,O){var F={_name:D};return function(B){return(B=B===void 0?1:B)<=0?F:O(B-1)}}
vendor: 6,200 bytes, line 150
150,EffectsExpressionInterface=(function(){function D(F,B,G,U){function K(Q){for(var rt=F.ef,J=0,tt=rt.length;J<tt;){if(Q===rt[J].nm||Q===rt[J].mn||Q===rt[J].ix)return rt[J].ty===5?nt[J]:nt[J]();J+=1}throw new Error}var X,q=propertyGroupFactory(K,G),nt=[],W=F.ef.length;for(X=0;X<W;X+=1)F.ef[X].ty===5?nt.push(D(F.ef[X],B.effectElements[X],B.effectElements[X].propertyGroup,U)):nt.push(O(B.effectElements[X],F.ef[X].ty,U,q));return F.mn==="ADBE Color Control"&&Object.defineProperty(K,"color",{get:function(){return nt[0]()}}),Object.defineProperties(K,{numProperties:{get:function(){return F.np}},_name:{value:F.nm},propertyGroup:{value:q}}),K.enabled=F.en!==0,K.active=K.enabled,K}function O(F,B,G,U){var K=ExpressionPropertyInterface(F.p);return F.p.setGroupProperty&&F.p.setGroupProperty(PropertyInterface("",U)),function(){return B===10?G.comp.compInterface(F.p.v):K()}}return{createEffectsInterface:function(F,B){if(F.effectsManager){var G,U=[],K=F.data.ef,X=F.effectsManager.effectElements.length;for(G=0;G<X;G+=1)U.push(D(K[G],F.effectsManager.effectElements[G],B,F));var q=F.data.ef||[],nt=function(W){for(G=0,X=q.length;G<X;){if(W===q[G].nm||W===q[G].mn||W===q[G].ix)return U[G];G+=1}return null};return Object.defineProperty(nt,"numProperties",{get:function(){return q.length}}),nt}return null}}})(),ShapePathInterface=function(D,O,F){var B=O.sh;function G(K){return K==="Shape"||K==="shape"||K==="Path"||K==="path"||K==="ADBE Vector Shape"||K===2?G.path:null}var U=propertyGroupFactory(G,F);return B.setGroupProperty(PropertyInterface("Path",U)),Object.defineProperties(G,{path:{get:function(){return B.k&&B.getValue(),B}},shape:{get:function(){return B.k&&B.getValue(),B}},_name:{value:D.nm},ix:{value:D.ix},propertyIndex:{value:D.ix},mn:{value:D.mn},propertyGroup:{value:F}}),G},ShapeExpressionInterface=(function(){function D(J,tt,at){var Y,it=[],ot=J?J.length:0;for(Y=0;Y<ot;Y+=1)J[Y].ty==="gr"?it.push(O(J[Y],tt[Y],at)):J[Y].ty==="fl"?it.push(F(J[Y],tt[Y],at)):J[Y].ty==="st"?it.push(U(J[Y],tt[Y],at)):J[Y].ty==="tm"?it.push(K(J[Y],tt[Y],at)):J[Y].ty==="tr"||(J[Y].ty==="el"?it.push(q(J[Y],tt[Y],at)):J[Y].ty==="sr"?it.push(nt(J[Y],tt[Y],at)):J[Y].ty==="sh"?it.push(ShapePathInterface(J[Y],tt[Y],at)):J[Y].ty==="rc"?it.push(W(J[Y],tt[Y],at)):J[Y].ty==="rd"?it.push(Q(J[Y],tt[Y],at)):J[Y].ty==="rp"?it.push(rt(J[Y],tt[Y],at)):J[Y].ty==="gf"?it.push(B(J[Y],tt[Y],at)):it.push(G(J[Y],tt[Y])));return it}function O(J,tt,at){var Y=function(ft){switch(ft){case"ADBE Vectors Group":case"Contents":case 2:return Y.content;default:return Y.transform}};Y.propertyGroup=propertyGroupFactory(Y,at);var it=(function(ft,gt,pt){var vt,ct=function(bt){for(var wt=0,St=vt.length;wt<St;){if(vt[wt]._name===bt||vt[wt].mn===bt||vt[wt].propertyIndex===bt||vt[wt].ix===bt||vt[wt].ind===bt)return vt[wt];wt+=1}return typeof bt=="number"?vt[bt-1]:null};ct.propertyGroup=propertyGroupFactory(ct,pt),vt=D(ft.it,gt.it,ct.propertyGroup),ct.numProperties=vt.length;var dt=X(ft.it[ft.it.length-1],gt.it[gt.it.length-1],ct.propertyGroup);return ct.transform=dt,ct.propertyIndex=ft.cix,ct._name=ft.nm,ct})(J,tt,Y.propertyGroup),ot=X(J.it[J.it.length-1],tt.it[tt.it.length-1],Y.propertyGroup);return Y.content=it,Y.transform=ot,Object.defineProperty(Y,"_name",{get:function(){return J.nm}}),Y.numProperties=J.np,Y.propertyIndex=J.ix,Y.nm=J.nm,Y.mn=J.mn,Y}function F(J,tt,at){function Y(it){return it==="Color"||it==="color"?Y.color:it==="Opacity"||it==="opacity"?Y.opacity:null}return Object.defineProperties(Y,{color:{get:ExpressionPropertyInterface(tt.c)},opacity:{get:ExpressionPropertyInterface(tt.o)},_name:{value:J.nm},mn:{value:J.mn}}),tt.c.setGroupProperty(PropertyInterface("Color",at)),tt.o.setGroupProperty(PropertyInterface("Opacity",at)),Y}function B(J,tt,at){function Y(it){return it==="Start Point"||it==="start point"?Y.startPoint:it==="End Point"||it==="end point"?Y.endPoint:it==="Opacity"||it==="opacity"?Y.opacity:null}return Object.defineProperties(Y,{startPoint:{get:ExpressionPropertyInterface(tt.s)},endPoint:{get:ExpressionPropertyInterface(tt.e)},opacity:{get:ExpressionPropertyInterface(tt.o)},type:{get:function(){return"a"}},_name:{value:J.nm},mn:{value:J.mn}}),tt.s.setGroupProperty(PropertyInterface("Start Point",at)),tt.e.setGroupProperty(PropertyInterface("End Point",at)),tt.o.setGroupProperty(PropertyInterface("Opacity",at)),Y}function G(){return function(){return null}}function U(J,tt,at){var Y,it=propertyGroupFactory(vt,at),ot=propertyGroupFactory(pt,it);function ft(ct){Object.defineProperty(pt,J.d[ct].nm,{get:ExpressionPropertyInterface(tt.d.dataProps[ct].p)})}var gt=J.d?J.d.length:0,pt={};for(Y=0;Y<gt;Y+=1)ft(Y),tt.d.dataProps[Y].p.setGroupProperty(ot);function vt(ct){return ct==="Color"||ct==="color"?vt.color:ct==="Opacity"||ct==="opacity"?vt.opacity:ct==="Stroke Width"||ct==="stroke width"?vt.strokeWidth:null}return Object.defineProperties(vt,{color:{get:ExpressionPropertyInterface(tt.c)},opacity:{get:ExpressionPropertyInterface(tt.o)},strokeWidth:{get:ExpressionPropertyInterface(tt.w)},dash:{get:function(){return pt}},_name:{value:J.nm},mn:{value:J.mn}}),tt.c.setGroupProperty(PropertyInterface("Color",it)),tt.o.setGroupProperty(PropertyInterface("Opacity",it)),tt.w.setGroupProperty(PropertyInterface("Stroke Width",it)),vt}function K(J,tt,at){function Y(ot){return ot===J.e.ix||ot==="End"||ot==="end"?Y.end:ot===J.s.ix?Y.start:ot===J.o.ix?Y.offset:null}var it=propertyGroupFactory(Y,at);return Y.propertyIndex=J.ix,tt.s.setGroupProperty(PropertyInterface("Start",it)),tt.e.setGroupProperty(PropertyInterface("End",it)),tt.o.setGroupProperty(PropertyInterface("Offset",it)),Y.propertyIndex=J.ix,Y.propertyGroup=at,Object.defineProperties(Y,{start:{get:ExpressionPropertyInterface(tt.s)},end:{get:ExpressionPropertyInterface(tt.e)},offset:{get:ExpressionPropertyInterface(tt.o)},_name:{value:J.nm}}),Y.mn=J.mn,Y}function X(J,tt,at){function Y(ot){return J.a.ix===ot||ot==="Anchor Point"?Y.anchorPoint:J.o.ix===ot||ot==="Opacity"?Y.opacity:J.p.ix===ot||ot==="Position"?Y.position:J.r.ix===ot||ot==="Rotation"||ot==="ADBE Vector Rotation"?Y.rotation:J.s.ix===ot||ot==="Scale"?Y.scale:J.sk&&J.sk.ix===ot||ot==="Skew"?Y.skew:J.sa&&J.sa.ix===ot||ot==="Skew Axis"?Y.
150skewAxis:null}var it=propertyGroupFactory(Y,at);return tt.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",it)),tt.transform.mProps.p.setGroupProperty(PropertyInterface("Position",it)),tt.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",it)),tt.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",it)),tt.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",it)),tt.transform.mProps.sk&&(tt.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",it)),tt.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",it))),tt.transform.op.setGroupProperty(PropertyInterface("Opacity",it)),Object.defineProperties(Y,{opacity:{get:ExpressionPropertyInterface(tt.transform.mProps.o)},position:{get:ExpressionPropertyInterface(tt.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(tt.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(tt.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(tt.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(tt.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(tt.transform.mProps.sa)},_name:{value:J.nm}}),Y.ty="tr",Y.mn=J.mn,Y.propertyGroup=at,Y}function q(J,tt,at){function Y(ft){return J.p.ix===ft?Y.position:J.s.ix===ft?Y.size:null}var it=propertyGroupFactory(Y,at);Y.propertyIndex=J.ix;var ot=tt.sh.ty==="tm"?tt.sh.prop:tt.sh;return ot.s.setGroupProperty(PropertyInterface("Size",it)),ot.p.setGroupProperty(PropertyInterface("Position",it)),Object.defineProperties(Y,{size:{get:ExpressionPropertyInterface(ot.s)},position:{get:ExpressionPropertyInterface(ot.p)},_name:{value:J.nm}}),Y.mn=J.mn,Y}function nt(J,tt,at){function Y(ft){return J.p.ix===ft?Y.position:J.r.ix===ft?Y.rotation:J.pt.ix===ft?Y.points:J.or.ix===ft||ft==="ADBE Vector Star Outer Radius"?Y.outerRadius:J.os.ix===ft?Y.outerRoundness:!J.ir||J.ir.ix!==ft&&ft!=="ADBE Vector Star Inner Radius"?J.is&&J.is.ix===ft?Y.innerRoundness:null:Y.innerRadius}var it=propertyGroupFactory(Y,at),ot=tt.sh.ty==="tm"?tt.sh.prop:tt.sh;return Y.propertyIndex=J.ix,ot.or.setGroupProperty(PropertyInterface("Outer Radius",it)),ot.os.setGroupProperty(PropertyInterface("Outer Roundness",it)),ot.pt.setGroupProperty(PropertyInterface("Points",it)),ot.p.setGroupProperty(PropertyInterface("Position",it)),ot.r.setGroupProperty(PropertyInterface("Rotation",it)),J.ir&&(ot.ir.setGroupProperty(PropertyInterface("Inner Radius",it)),ot.is.setGroupProperty(PropertyInterface("Inner Roundness",it))),Object.defineProperties(Y,{position:{get:ExpressionPropertyInterface(ot.p)},rotation:{get:ExpressionPropertyInterface(ot.r)},points:{get:ExpressionPropertyInterface(ot.pt)},outerRadius:{get:ExpressionPropertyInterface(ot.or)},outerRoundness:{get:ExpressionPropertyInterface(ot.os)},innerRadius:{get:ExpressionPropertyInterface(ot.ir)},innerRoundness:{get:ExpressionPropertyInterface(ot.is)},_name:{value:J.nm}}),Y.mn=J.mn,Y}function W(J,tt,at){function Y(ft){return J.p.ix===ft?Y.position:J.r.ix===ft?Y.roundness:J.s.ix===ft||ft==="Size"||ft==="ADBE Vector Rect Size"?Y.size:null}var it=propertyGroupFactory(Y,at),ot=tt.sh.ty==="tm"?tt.sh.prop:tt.sh;return Y.propertyIndex=J.ix,ot.p.setGroupProperty(PropertyInterface("Position",it)),ot.s.setGroupProperty(PropertyInterface("Size",it)),ot.r.setGroupProperty(PropertyInterface("Rotation",it)),Object.defineProperties(Y,{position:{get:ExpressionPropertyInterface(ot.p)},roundness:{get:ExpressionPropertyInterface(ot.r)},size:{get:ExpressionPropertyInterface(ot.s)},_name:{value:J.nm}}),Y.mn=J.mn,Y}function Q(J,tt,at){function Y(ft){return J.r.ix===ft||ft==="Round Corners 1"?Y.radius:null}var it=propertyGroupFactory(Y,at),ot=tt;return Y.propertyIndex=J.ix,ot.rd.setGroupProperty(PropertyInterface("Radius",it)),Object.defineProperties(Y,{radius:{get:ExpressionPropertyInterface(ot.rd)},_name:{value:J.nm}}),Y.mn=J.mn,Y}function rt(J,tt,at){function Y(ft){return J.c.ix===ft||ft==="Copies"?Y.copies:J.o.ix===ft||ft==="Offset"?Y.offset:null}var it=propertyGroupFactory(Y,at),ot=tt;return Y.propertyIndex=J.ix,ot.c.setGroupProperty(PropertyInterface("Copies",it)),ot.o.setGroupProperty(PropertyInterface("Offset",it)),Object.defineProperties(Y,{copies:{get:ExpressionPropertyInterface(ot.c)},offset:{get:ExpressionPropertyInterface(ot.o)},_name:{value:J.nm}}),Y.mn=J.mn,Y}return function(J,tt,at){var Y;function it(ot){if(typeof ot=="number")return(ot=ot===void 0?1:ot)===0?at:Y[ot-1];for(var ft=0,gt=Y.length;ft<gt;){if(Y[ft]._name===ot)return Y[ft];ft+=1}return null}return it.propertyGroup=propertyGroupFactory(it,(function(){return at})),Y=D(J,tt,it.propertyGroup),it.numProperties=Y.length,it._name="Contents",it}})(),TextExpressionInterface=function(D){var O;function F(B){return B==="ADBE Text Document"?F.sourceText:null}return Object.defineProperty(F,"sourceText",{get:function(){D.textProperty.getValue();var B=D.textProperty.currentData.t;return B!==void 0&&(D.textProperty.currentData.t=void 0,(O=new String(B)).value=
150B||new String(B)),O}}),F};function _typeof$2(D){return(_typeof$2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O})(D)}var FootageInterface=(dataInterfaceFactory=function(D){function O(F){return F==="Outline"?O.outlineInterface():null}return O._name="Outline",O.outlineInterface=(function(F){var B="",G=F.getFootageData();function U(K){if(G[K])return B=K,_typeof$2(G=G[K])==="object"?U:G;var X=K.indexOf(B);if(X!==-1){var q=parseInt(K.substr(X+B.length),10);return _typeof$2(G=G[q])==="object"?U:G}return""}return function(){return B="",G=F.getFootageData(),U}})(D),O},function(D){function O(F){return F==="Data"?O.dataInterface:null}return O._name="Data",O.dataInterface=dataInterfaceFactory(D),O}),dataInterfaceFactory,interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(D){return interfaces[D]||null}function _typeof$1(D){return(_typeof$1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O})(D)}function seedRandom(D,O){var F=this,B=O.pow(256,6),G=O.pow(2,52),U=2*G;function K(W){var Q,rt=W.length,J=this,tt=0,at=J.i=J.j=0,Y=J.S=[];for(rt||(W=[rt++]);tt<256;)Y[tt]=tt++;for(tt=0;tt<256;tt++)Y[tt]=Y[at=255&at+W[tt%rt]+(Q=Y[tt])],Y[at]=Q;J.g=function(it){for(var ot,ft=0,gt=J.i,pt=J.j,vt=J.S;it--;)ot=vt[gt=255>+1],ft=256*ft+vt[255&(vt[gt]=vt[pt=255&pt+ot])+(vt[pt]=ot)];return J.i=gt,J.j=pt,ft}}function X(W,Q){return Q.i=W.i,Q.j=W.j,Q.S=W.S.slice(),Q}function q(W,Q){for(var rt,J=W+"",tt=0;tt<J.length;)Q[255&tt]=255&(rt^=19*Q[255&tt])+J.charCodeAt(tt++);return nt(Q)}function nt(W){return String.fromCharCode.apply(0,W)}O.seedrandom=function(W,Q,rt){var J=[],tt=q((function it(ot,ft){var gt,pt=[],vt=_typeof$1(ot);if(ft&&vt=="object")for(gt in ot)try{pt.push(it(ot[gt],ft-1))}catch(ct){}return pt.length?pt:vt=="string"?ot:ot+"\0"})((Q=Q===!0?{entropy:!0}:Q||{}).entropy?[W,nt(D)]:W===null?(function(){try{var it=new Uint8Array(256);return(F.crypto||F.msCrypto).getRandomValues(it),nt(it)}catch(gt){var ot=F.navigator,ft=ot&&ot.plugins;return[+new Date,F,ft,F.screen,nt(D)]}})():W,3),J),at=new K(J),Y=function(){for(var it=at.g(6),ot=B,ft=0;it<G;)it=256*(it+ft),ot*=256,ft=at.g(1);for(;it>=U;)it/=2,ot/=2,ft>>>=1;return(it+ft)/ot};return Y.int32=function(){return 0|at.g(4)},Y.quick=function(){return at.g(4)/4294967296},Y.double=Y,q(nt(at.S),D),(Q.pass||rt||function(it,ot,ft,gt){return gt&&(gt.S&&X(gt,at),it.state=function(){return X(at,{})}),ft?(O.random=it,ot):it})(Y,tt,"global"in Q?Q.global:this==O,Q.state)},q(O.random(),D)}function initialize$2(D){seedRandom([],D)}var propTypes={SHAPE:"shape"};function _typeof(D){return(_typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O})(D)}var ExpressionManager=(function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;function $bm_isInstanceOfArray(D){return D.constructor===Array||D.constructor===Float32Array}function isNumerable(D,O){return D==="number"||D==="boolean"||D==="string"||O instanceof Number}function $bm_neg(D){var O=_typeof(D);if(O==="number"||O==="boolean"||D instanceof Number)return-D;if($bm_isInstanceOfArray(D)){var F,B=D.length,G=[];for(F=0;F<B;F+=1)G[F]=-D[F];return G}return D.propType?D.v:-D}initialize$2(BMMath);var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(D,O){var F=_typeof(D),B=_typeof(O);if(F==="string"||B==="string"||isNumerable(F,D)&&isNumerable(B,O))return D+O;if($bm_isInstanceOfArray(D)&&isNumerable(B,O))return(D=D.slice(0))[0]+=O,D;if(isNumerable(F,D)&&$bm_isInstanceOfArray(O))return(O=O.slice(0))[0]=D+O[0],O;if($bm_isInstanceOfArray(D)&&$bm_isInstanceOfArray(O)){for(var G=0,U=D.length,K=O.length,X=[];G<U||G<K;)(typeof D[G]=="number"||D[G]instanceof Number)&&(typeof O[G]=="number"||O[G]instanceof Number)?X[G]=D[G]+O[G]:X[G]=O[G]===void 0?D[G]:D[G]||O[G],G+=1;return X}return 0}var add=sum;function sub(D,O){var F=_typeof(D),B=_typeof(O);if(isNumerable(F,D)&&isNumerable(B,O))return F==="string"&&(D=parseInt(D,10)),B==="string"&&(O=parseInt(O,10)),D-O;if($bm_isInstanceOfArray(D)&&isNumerable(B,O))return(D=D.slice(0))[0]-=O,D;if(isNumerable(F,D)&&$bm_isInstanceOfArray(O))return(O=O.slice(0))[0]=D-O[0],O;if($bm_isInstanceOfArray(D)&&$bm_isInstanceOfArray(O)){for(var G=0,U=D.length,K=O.length,X=[];G<U||G<K;)(typeof D[G]=="number"||D[G]instanceof Number)&&(typeof O[G]=="number"||O[G]instanceof Number)?X[G]=D[G]-O[G]:X[G]=O[G]===void 0?D[G]:D[G]||O[G],G+=1;return X}return 0}function mul(D,O){var F,B,G,U=_typeof(D),K=_typeof(O);if(isNumerable(U,D)&&isNumerable(K,O))return D*O;if($bm_isInstanceOfArray(D)&&isNumerable(K,O)){for(G=D.length,F=createTypedArray("float32",G),B=0;B<G;B+=1)F[B]=D[B]*O;return F}if(isNumerable(U,D)&&$bm_isInstanceOfArray(O)){for(G=O.length,F=createTypedArray("float32",G),B=0;B<G;B+=1)F[B]=D*O[B];return F}return 0}function div(D,O){var F,B,G,U=_typeof(D),K=_typeof(O);if(isNumerable(U,D)&&isNumerable(K,O))return D/O;if($bm_isInstanceOfArray(D)&&isNumerable(K,O)){for(G=D.length,F=createTypedArray("float32",G),B=0;B<G;B+=1)F[B]=D[B]/O;return F}if(isNumerable(U,D)&&$bm_isInstanceOfArray(O)){for(G=O.length,F=createTypedArray("float32",G),B=0;B<G;B+=1)F[B]=D/O[B];return F}return 0}
vendor: 4,102 bytes, line 150
150function mod(D,O){return typeof D=="string"&&(D=parseInt(D,10)),typeof O=="string"&&(O=parseInt(O,10)),D%O}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(D,O,F){if(O>F){var B=F;F=O,O=B}return Math.min(Math.max(D,O),F)}function radiansToDegrees(D){return D/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(D){return D*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(D,O){if(typeof D=="number"||D instanceof Number)return O=O||0,Math.abs(D-O);var F;O||(O=helperLengthArray);var B=Math.min(D.length,O.length),G=0;for(F=0;F<B;F+=1)G+=Math.pow(O[F]-D[F],2);return Math.sqrt(G)}function normalize(D){return div(D,length(D))}function rgbToHsl(D){var O,F,B=D[0],G=D[1],U=D[2],K=Math.max(B,G,U),X=Math.min(B,G,U),q=(K+X)/2;if(K===X)O=0,F=0;else{var nt=K-X;switch(F=q>.5?nt/(2-K-X):nt/(K+X),K){case B:O=(G-U)/nt+(G<U?6:0);break;case G:O=(U-B)/nt+2;break;case U:O=(B-G)/nt+4}O/=6}return[O,F,q,D[3]]}function hue2rgb(D,O,F){return F<0&&(F+=1),F>1&&(F-=1),F<1/6?D+6*(O-D)*F:F<.5?O:F<2/3?D+(O-D)*(2/3-F)*6:D}function hslToRgb(D){var O,F,B,G=D[0],U=D[1],K=D[2];if(U===0)O=K,B=K,F=K;else{var X=K<.5?K*(1+U):K+U-K*U,q=2*K-X;O=hue2rgb(q,X,G+1/3),F=hue2rgb(q,X,G),B=hue2rgb(q,X,G-1/3)}return[O,F,B,D[3]]}function linear(D,O,F,B,G){if(B!==void 0&&G!==void 0||(B=O,G=F,O=0,F=1),F<O){var U=F;F=O,O=U}if(D<=O)return B;if(D>=F)return G;var K,X=F===O?0:(D-O)/(F-O);if(!B.length)return B+(G-B)*X;var q=B.length,nt=createTypedArray("float32",q);for(K=0;K<q;K+=1)nt[K]=B[K]+(G[K]-B[K])*X;return nt}function random(D,O){if(O===void 0&&(D===void 0?(D=0,O=1):(O=D,D=void 0)),O.length){var F,B=O.length;D||(D=createTypedArray("float32",B));var G=createTypedArray("float32",B),U=BMMath.random();for(F=0;F<B;F+=1)G[F]=D[F]+U*(O[F]-D[F]);return G}return D===void 0&&(D=0),D+BMMath.random()*(O-D)}function createPath(D,O,F,B){var G,U=D.length,K=shapePool.newElement();K.setPathData(!!B,U);var X,q,nt=[0,0];for(G=0;G<U;G+=1)X=O&&O[G]?O[G]:nt,q=F&&F[G]?F[G]:nt,K.setTripleAt(D[G][0],D[G][1],q[0]+D[G][0],q[1]+D[G][1],X[0]+D[G][0],X[1]+D[G][1],G,!0);return K}function initiateExpression(elem,data,property){function noOp(D){return D}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=val.indexOf("random")!==-1,elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||this.data.hd!==!0,wiggle=function(D,O){var F,B,G=this.pv.length?this.pv.length:1,U=createTypedArray("float32",G),K=Math.floor(5*time);for(F=0,B=0;F<K;){for(B=0;B<G;B+=1)U[B]+=-O+2*O*BMMath.random();F+=1}var X=5*time,q=X-Math.floor(X),nt=createTypedArray("float32",G);if(G>1){for(B=0;B<G;B+=1)nt[B]=this.pv[B]+U[B]+(-O+2*O*BMMath.random())*q;return nt}return this.pv+U[0]+(-O+2*O*BMMath.random())*q}.bind(this);function loopInDuration(D,O){return loopIn(D,O,!0)}function loopOutDuration(D,O){return loopOut(D,O,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));
vendor: 8,520 bytes, line 150
150var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(D,O){var F=[O[0]-D[0],O[1]-D[1],O[2]-D[2]],B=Math.atan2(F[0],Math.sqrt(F[1]*F[1]+F[2]*F[2]))/degToRads;return[-Math.atan2(F[1],F[2])/degToRads,B,0]}function easeOut(D,O,F,B,G){return applyEase(easeOutBez,D,O,F,B,G)}function easeIn(D,O,F,B,G){return applyEase(easeInBez,D,O,F,B,G)}function ease(D,O,F,B,G){return applyEase(easeInOutBez,D,O,F,B,G)}function applyEase(D,O,F,B,G,U){G===void 0?(G=F,U=B):O=(O-F)/(B-F),O>1?O=1:O<0&&(O=0);var K=D(O);if($bm_isInstanceOfArray(G)){var X,q=G.length,nt=createTypedArray("float32",q);for(X=0;X<q;X+=1)nt[X]=(U[X]-G[X])*K+G[X];return nt}return(U-G)*K+G}function nearestKey(D){var O,F,B,G=data.k.length;if(data.k.length&&typeof data.k[0]!="number")if(F=-1,(D*=elem.comp.globalData.frameRate)<data.k[0].t)F=1,B=data.k[0].t;else{for(O=0;O<G-1;O+=1){if(D===data.k[O].t){F=O+1,B=data.k[O].t;break}if(D>data.k[O].t&&D<data.k[O+1].t){D-data.k[O].t>data.k[O+1].t-D?(F=O+2,B=data.k[O+1].t):(F=O+1,B=data.k[O].t);break}}F===-1&&(F=O+1,B=data.k[O].t)}else F=0,B=0;var U={};return U.index=F,U.time=B/elem.comp.globalData.frameRate,U}function key(D){var O,F,B;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+D);D-=1,O={time:data.k[D].t/elem.comp.globalData.frameRate,value:[]};var G=Object.prototype.hasOwnProperty.call(data.k[D],"s")?data.k[D].s:data.k[D-1].e;for(B=G.length,F=0;F<B;F+=1)O[F]=G[F],O.value[F]=G[F];return O}function framesToTime(D,O){return O||(O=elem.comp.globalData.frameRate),D/O}function timeToFrames(D,O){return D||D===0||(D=time),O||(O=elem.comp.globalData.frameRate),D*O}function seedRandom(D){BMMath.seedrandom(randSeed+D)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(D,O){return typeof value=="string"?O===void 0?value.substring(D):value.substring(D,O):""}function substr(D,O){return typeof value=="string"?O===void 0?value.substr(D):value.substr(D,O):""}function posterizeTime(D){time=D===0?0:Math.floor(time*D)/D,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(D){return value=D,this.frameExpressionId===elem.globalData.frameId&&this.propType!=="textSelector"?value:(this.propType==="textSelector"&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),elemType!==4||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath],ob})(),expressionHelpers={searchExpressions:function(D,O,F){O.x&&(F.k=!0,F.x=!0,F.initiateExpression=ExpressionManager.initiateExpression,F.effectsSequence.push(F.initiateExpression(D,O,F).bind(F)))},getSpeedAtTime:function(D){var O=this.getValueAtTime(D),F=this.getValueAtTime(D+-.01),B=0;if(O.length){var G;for(G=0;G<O.length;G+=1)B+=Math.pow(F[G]-O[G],2);B=100*Math.sqrt(B)}else B=0;return B},getVelocityAtTime:function(D){if(this.vel!==void 0)return this.vel;var O,F,B=this.getValueAtTime(D),G=this.getValueAtTime(D+-.001);if(B.length)for(O=createTypedArray("float32",B.length),F=0;F<B.length;F+=1)O[F]=(G[F]-B[F])/-.001;else O=(G-B)/-.001;return O},getValueAtTime:function(D){return D*=this.elem.globalData.frameRate,(D-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<D?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(D,this._cachingAtTime),this._cachingAtTime.lastFrame=D),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(D){this.propertyGroup=D}};function addPropertyDecorator(){function D(Q,rt,J){if(!this.k||!this.keyframes)return this.pv;Q=Q?Q.toLowerCase():"";var tt,at,Y,it,ot,ft=this.comp.renderedFrame,gt=this.keyframes,pt=gt[gt.length-1].t;if(ft<=pt)return this.pv;if(J?at=pt-(tt=rt?Math.abs(pt-this.elem.comp.globalData.frameRate*rt):Math.max(0,pt-this.elem.data.ip)):((!rt||rt>gt.length-1)&&(rt=gt.length-1),tt=pt-(at=gt[gt.length-1-rt].t)),Q==="pingpong"){if(Math.floor((ft-at)/tt)%2!=0)return this.getValueAtTime((tt-(ft-at)%tt+at)/this.comp.globalData.frameRate,0)}else{if(Q==="offset"){var vt=this.getValueAtTime(at/this.comp.globalData.frameRate,0),ct=this.getValueAtTime(pt/this.comp.globalData.frameRate,0),dt=this.getValueAtTime(((ft-at)%tt+at)/this.comp.globalData.frameRate,0),bt=Math.floor((ft-at)/tt);if(this.pv.length){for(it=(ot=new Array(vt.length)).length,Y=0;Y<it;Y+=1)ot[Y]=(ct[Y]-vt[Y])*bt+dt[Y];return ot}return(ct-vt)*bt+dt}if(Q==="continue"){var wt=this.getValueAtTime(pt/this.comp.globalData.frameRate,0),St=this.getValueAtTime((pt-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(it=(ot=new Array(wt.length)).length,Y=0;Y<it;Y+=1)ot[Y]=wt[Y]+(wt[Y]-St[Y])*((ft-pt)/this.comp.globalData.frameRate)/5e-4;return ot}return wt+(ft-pt)/.001*(wt-St)}}return this.getValueAtTime(((ft-at)%tt+at)/this.comp.globalData.frameRate,0)}function O(Q,rt,J){if(!this.k)return this.pv;Q=Q?Q.toLowerCase():"";var tt,at,Y,it,ot,ft=this.comp.renderedFrame,gt=this.keyframes,pt=gt[0].t;if(ft>=pt)return this.pv;if(J?at=pt+(tt=rt?Math.abs(this.elem.comp.globalData.frameRate*rt):Math.max(0,this.elem.data.op-pt)):((!rt||rt>gt.length-1)&&(rt=gt.length-1),tt=(at=gt[rt].t)-pt),Q==="pingpong"){if(Math.floor((pt-ft)/tt)%2==0)return this.getValueAtTime(((pt-ft)%tt+pt)/this.comp.globalData.frameRate,0)}else{if(Q==="offset"){var vt=this.getValueAtTime(pt/this.comp.globalData.frameRate,0),ct=this.getValueAtTime(at/this.comp.globalData.frameRate,0),dt=this.getValueAtTime((tt-(pt-ft)%tt+pt)/this.comp.globalData.frameRate,0),bt=Math.floor((pt-ft)/tt)+1;if(this.pv.length){for(it=(ot=new Array(vt.length)).length,Y=0;Y<it;Y+=1)ot[Y]=dt[Y]-(ct[Y]-vt[Y])*bt;return ot}return dt-(ct-vt)*bt}if(Q==="continue"){var wt=this.getValueAtTime(pt/this.comp.globalData.frameRate,0),St=this.getValueAtTime((pt+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(it=(ot=new Array(wt.length)).length,Y=0;Y<it;Y+=1)ot[Y]=wt[Y]+(wt[Y]-St[Y])*(pt-ft)/.001;return ot}return wt+(wt-St)*(pt-ft)/.001}}return this.getValueAtTime((tt-((pt-ft)%tt+pt))/this.comp.globalData.frameRate,0)}function F(Q,rt){if(!this.k)return this.pv;if(Q=.5*(Q||.4),(rt=Math.floor(rt||5))<=1)return this.pv;var J,tt,at=this.comp.renderedFrame/this.comp.globalData.frameRate,Y=at-Q,it=rt>1?(at+Q-Y)/(rt-1):1,ot=0,ft=0;for(J=this.pv.length?createTypedArray("float32",this.pv.length):0;ot<rt;){if(tt=this.getValueAtTime(Y+ot*it),this.pv.length)for(ft=0;ft<this.pv.length;ft+=1)J[ft]+=tt[ft];else J+=tt;ot+=1}if(this.pv.length)for(ft=0;ft<this.pv.length;ft+=1)J[ft]/=rt;else J/=rt;return J}function B(Q){this._transformCachingAtTime||(this._transformCachingAtTime={v:ne
vendor: 9,407 bytes, line 150
150w Matrix});var rt=this._transformCachingAtTime.v;if(rt.cloneFromProps(this.pre.props),this.appliedTransformations<1){var J=this.a.getValueAtTime(Q);rt.translate(-J[0]*this.a.mult,-J[1]*this.a.mult,J[2]*this.a.mult)}if(this.appliedTransformations<2){var tt=this.s.getValueAtTime(Q);rt.scale(tt[0]*this.s.mult,tt[1]*this.s.mult,tt[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var at=this.sk.getValueAtTime(Q),Y=this.sa.getValueAtTime(Q);rt.skewFromAxis(-at*this.sk.mult,Y*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var it=this.r.getValueAtTime(Q);rt.rotate(-it*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var ot=this.rz.getValueAtTime(Q),ft=this.ry.getValueAtTime(Q),gt=this.rx.getValueAtTime(Q),pt=this.or.getValueAtTime(Q);rt.rotateZ(-ot*this.rz.mult).rotateY(ft*this.ry.mult).rotateX(gt*this.rx.mult).rotateZ(-pt[2]*this.or.mult).rotateY(pt[1]*this.or.mult).rotateX(pt[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var vt=this.px.getValueAtTime(Q),ct=this.py.getValueAtTime(Q);if(this.data.p.z){var dt=this.pz.getValueAtTime(Q);rt.translate(vt*this.px.mult,ct*this.py.mult,-dt*this.pz.mult)}else rt.translate(vt*this.px.mult,ct*this.py.mult,0)}else{var bt=this.p.getValueAtTime(Q);rt.translate(bt[0]*this.p.mult,bt[1]*this.p.mult,-bt[2]*this.p.mult)}return rt}function G(){return this.v.clone(new Matrix)}var U=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(Q,rt,J){var tt=U(Q,rt,J);return tt.dynamicProperties.length?tt.getValueAtTime=B.bind(tt):tt.getValueAtTime=G.bind(tt),tt.setGroupProperty=expressionHelpers.setGroupProperty,tt};var K=PropertyFactory.getProp;PropertyFactory.getProp=function(Q,rt,J,tt,at){var Y=K(Q,rt,J,tt,at);Y.kf?Y.getValueAtTime=expressionHelpers.getValueAtTime.bind(Y):Y.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(Y),Y.setGroupProperty=expressionHelpers.setGroupProperty,Y.loopOut=D,Y.loopIn=O,Y.smooth=F,Y.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(Y),Y.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(Y),Y.numKeys=rt.a===1?rt.k.length:0,Y.propertyIndex=rt.ix;var it=0;return J!==0&&(it=createTypedArray("float32",rt.a===1?rt.k[0].s.length:rt.k.length)),Y._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:it},expressionHelpers.searchExpressions(Q,rt,Y),Y.k&&at.addDynamicProperty(Y),Y};var X=ShapePropertyFactory.getConstructorFunction(),q=ShapePropertyFactory.getKeyframedConstructorFunction();function nt(){}nt.prototype={vertices:function(Q,rt){this.k&&this.getValue();var J,tt=this.v;rt!==void 0&&(tt=this.getValueAtTime(rt,0));var at=tt._length,Y=tt[Q],it=tt.v,ot=createSizedArray(at);for(J=0;J<at;J+=1)ot[J]=Q==="i"||Q==="o"?[Y[J][0]-it[J][0],Y[J][1]-it[J][1]]:[Y[J][0],Y[J][1]];return ot},points:function(Q){return this.vertices("v",Q)},inTangents:function(Q){return this.vertices("i",Q)},outTangents:function(Q){return this.vertices("o",Q)},isClosed:function(){return this.v.c},pointOnPath:function(Q,rt){var J=this.v;rt!==void 0&&(J=this.getValueAtTime(rt,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(J));for(var tt,at=this._segmentsLength,Y=at.lengths,it=at.totalLength*Q,ot=0,ft=Y.length,gt=0;ot<ft;){if(gt+Y[ot].addedLength>it){var pt=ot,vt=J.c&&ot===ft-1?0:ot+1,ct=(it-gt)/Y[ot].addedLength;tt=bez.getPointInSegment(J.v[pt],J.v[vt],J.o[pt],J.i[vt],ct,Y[ot]);break}gt+=Y[ot].addedLength,ot+=1}return tt||(tt=J.c?[J.v[0][0],J.v[0][1]]:[J.v[J._length-1][0],J.v[J._length-1][1]]),tt},vectorOnPath:function(Q,rt,J){Q==1?Q=this.v.c:Q==0&&(Q=.999);var tt=this.pointOnPath(Q,rt),at=this.pointOnPath(Q+.001,rt),Y=at[0]-tt[0],it=at[1]-tt[1],ot=Math.sqrt(Math.pow(Y,2)+Math.pow(it,2));return ot===0?[0,0]:J==="tangent"?[Y/ot,it/ot]:[-it/ot,Y/ot]},tangentOnPath:function(Q,rt){return this.vectorOnPath(Q,rt,"tangent")},normalOnPath:function(Q,rt){return this.vectorOnPath(Q,rt,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([nt],X),extendPrototype([nt],q),q.prototype.getValueAtTime=function(Q){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),Q*=this.elem.globalData.frameRate,(Q-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<Q?this._caching.lastIndex:0,this._cachingAtTime.lastTime=Q,this.interpolateShape(Q,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},q.prototype.initiateExpression=ExpressionManager.initiateExpression;var W=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(Q,rt,J,tt,at){var Y=W(Q,rt,J,tt,at);return Y.propertyIndex=rt.ix,Y.lock=!1,J===3?expressionHelpers.searchExpressions(Q,rt.pt,Y):J===4&&expressionHelpers.searchExpressions(Q,rt.ks,Y),Y.k&&Q.addDynamicProperty(Y),Y}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(D,O){var F=this.calculateExpression(O);if(D.t!==F){var B={};return this.copyData(B,D),B.t=F.toString(),B.__complete=!1,B}return D},TextProperty.prototype.searchProperty=function(){var D=this.searchKeyframes(),O=this.searchExpressions();return this.kf=D||O,this.kf},TextProperty.prototype.searchExpressions=function(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}}function initialize(){addDecorator()}function SVGComposableEffect(){}function SVGTintFilter(D,O,F,B,G){this.filterManager=O;var U=createNS("feColorMatrix");U.setAttribute("type","matrix"),U.setAttribute("color-interpolation-filters","linearRGB"),U.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),U.setAttribute("result",B+"_tint_1"),D.appendChild(U),(U=createNS("feColorMatrix")).setAttribute("type","matrix"),U.setAttribute("color-interpolation-filters","sRGB"),U.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),U.setAttribute("result",B+"_tint_2"),D.appendChild(U),this.matrixFilter=U;var K=this.createMergeNode(B,[G,B+"_tint_1",B+"_tint_2"]);D.appendChild(K)}function SVGFillFilter(D,O,F,B){this.filterManager=O;var G=createNS("feColorMatrix");G.setAttribute("type","matrix"),G.setAttribute("color-interpolation-filters","sRGB"),G.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),G.setAttribute("result",B),D.appendChild(G),this.matrixFilter=G}function SVGStrokeEffect(D,O,F){this.initialized=!1,this.filterManager=O,this.elem=F,this.paths=[]}function SVGTritoneFilter(D,O,F,B){this.filterManager=O;var G=createNS("feColorMatrix");G.setAttribute("type","matrix"),G.setAttribute("color-interpolation-filters","linearRGB"),G.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),D.appendChild(G);var U=createNS("feComponentTransfer");U.setAttribute("color-interpolation-filters","sRGB"),U.setAttribute("result",B),this.matrixFilter=U;var K=createNS("feFuncR");K.setAttribute("type","table"),U.appendChild(K),this.feFuncR=K;var X=createNS("feFuncG");X.setAttribute("type","table"),U.appendChild(X),this.feFuncG=X;var q=createNS("feFuncB");q.setAttribute("type","table"),U.appendChild(q),this.feFuncB=q,D.appendChild(U)}function SVGProLevelsFilter(D,O,F,B){this.filterManager=O;var G=this.filterManager.effectElements,U=createNS("feComponentTransfer");(G[10].p.k||G[10].p.v!==0||G[11].p.k||G[11].p.v!==1||G[12].p.k||G[12].p.v!==1||G[13].p.k||G[13].p.v!==0||G[14].p.k||G[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",U)),(G[17].p.k||G[17].p.v!==0||G[18].p.k||G[18].p.v!==1||G[19].p.k||G[19].p.v!==1||G[20].p.k||G[20].p.v!==0||G[21].p.k||G[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",U)),(G[24].p.k||G[24].p.v!==0||G[25].p.k||G[25].p.v!==1||G[26].p.k||G[26].p.v!==1||G[27].p.k||G[27].p.v!==0||G[28].p.k||G[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",U)),(G[31].p.k||G[31].p.v!==0||G[32].p.k||G[32].p.v!==1||G[33].p.k||G[33].p.v!==1||G[34].p.k||G[34].p.v!==0||G[35].p.k||G[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",U)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(U.setAttribute("color-interpolation-filters","sRGB"),D.appendChild(U)),(G[3].p.k||G[3].p.v!==0||G[4].p.k||G[4].p.v!==1||G[5].p.k||G[5].p.v!==1||G[6].p.k||G[6].p.v!==0||G[7].p.k||G[7].p.v!==1)&&((U=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),U.setAttribute("result",B),D.appendChild(U),this.feFuncRComposed=this.createFeFunc("feFuncR",U),this.feFuncGComposed=this.createFeFunc("feFuncG",U),this.feFuncBComposed=this.createFeFunc("feFuncB",U))}function SVGDropShadowEffect(D,O,F,B,G){var U=O.container.globalData.renderConfig.filterSize,K=O.data.fs||U;D.setAttribute("x",K.x||U.x),D.setAttribute("y",K.y||U.y),D.setAttribute("width",K.width||U.width),D.setAttribute("height",K.height||U.height),this.filterManager=O;var X=createNS("feGaussianBlur");X.setAttribute("in","SourceAlpha"),X.setAttribute("result",B+"_drop_shadow_1"),X.setAttribute("stdDeviation","0"),this.feGaussianBlur=X,D.appendChild(X);var q=createNS("feOffset");q.setAttribute("dx","25"),q.setAttribute("dy","0"),q.setAttribute("in",B+"_drop_shadow_1"),q.setAttribute("result",B+"_drop_shadow_2"),this.feOff
vendor: 4,201 bytes, line 150
150set=q,D.appendChild(q);var nt=createNS("feFlood");nt.setAttribute("flood-color","#00ff00"),nt.setAttribute("flood-opacity","1"),nt.setAttribute("result",B+"_drop_shadow_3"),this.feFlood=nt,D.appendChild(nt);var W=createNS("feComposite");W.setAttribute("in",B+"_drop_shadow_3"),W.setAttribute("in2",B+"_drop_shadow_2"),W.setAttribute("operator","in"),W.setAttribute("result",B+"_drop_shadow_4"),D.appendChild(W);var Q=this.createMergeNode(B,[B+"_drop_shadow_4",G]);D.appendChild(Q)}SVGComposableEffect.prototype={createMergeNode:function(D,O){var F,B,G=createNS("feMerge");for(G.setAttribute("result",D),B=0;B<O.length;B+=1)(F=createNS("feMergeNode")).setAttribute("in",O[B]),G.appendChild(F),G.appendChild(F);return G}},extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(D){if(D||this.filterManager._mdf){var O=this.filterManager.effectElements[0].p.v,F=this.filterManager.effectElements[1].p.v,B=this.filterManager.effectElements[2].p.v/100;this.matrixFilter.setAttribute("values",F[0]-O[0]+" 0 0 0 "+O[0]+" "+(F[1]-O[1])+" 0 0 0 "+O[1]+" "+(F[2]-O[2])+" 0 0 0 "+O[2]+" 0 0 0 "+B+" 0")}},SVGFillFilter.prototype.renderFrame=function(D){if(D||this.filterManager._mdf){var O=this.filterManager.effectElements[2].p.v,F=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+O[0]+" 0 0 0 0 "+O[1]+" 0 0 0 0 "+O[2]+" 0 0 0 "+F+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var D,O,F,B,G=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(this.filterManager.effectElements[1].p.v===1?(B=this.elem.maskManager.masksProperties.length,F=0):B=(F=this.filterManager.effectElements[0].p.v-1)+1,(O=createNS("g")).setAttribute("fill","none"),O.setAttribute("stroke-linecap","round"),O.setAttribute("stroke-dashoffset",1);F<B;F+=1)D=createNS("path"),O.appendChild(D),this.paths.push({p:D,m:F});if(this.filterManager.effectElements[10].p.v===3){var U=createNS("mask"),K=createElementID();U.setAttribute("id",K),U.setAttribute("mask-type","alpha"),U.appendChild(O),this.elem.globalData.defs.appendChild(U);var X=createNS("g");for(X.setAttribute("mask","url("+getLocationHref()+"#"+K+")");G[0];)X.appendChild(G[0]);this.elem.layerElement.appendChild(X),this.masker=U,O.setAttribute("stroke","#fff")}else if(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2){if(this.filterManager.effectElements[10].p.v===2)for(G=this.elem.layerElement.children||this.elem.layerElement.childNodes;G.length;)this.elem.layerElement.removeChild(G[0]);this.elem.layerElement.appendChild(O),this.elem.layerElement.removeAttribute("mask"),O.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=O},SVGStrokeEffect.prototype.renderFrame=function(D){var O;this.initialized||this.initialize();var F,B,G=this.paths.length;for(O=0;O<G;O+=1)if(this.paths[O].m!==-1&&(F=this.elem.maskManager.viewData[this.paths[O].m],B=this.paths[O].p,(D||this.filterManager._mdf||F.prop._mdf)&&B.setAttribute("d",F.lastPath),D||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||F.prop._mdf)){var U;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var K=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),X=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),q=B.getTotalLength();U="0 0 0 "+q*K+" ";var nt,W=q*(X-K),Q=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,rt=Math.floor(W/Q);for(nt=0;nt<rt;nt+=1)U+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";U+="0 "+10*q+" 0 0"}else U="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;B.setAttribute("stroke-dasharray",U)}if((D||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(D||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("op
150acity",this.filterManager.effectElements[6].p.v),(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2)&&(D||this.filterManager.effectElements[3].p._mdf)){var J=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*J[0])+","+bmFloor(255*J[1])+","+bmFloor(255*J[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(D){if(D||this.filterManager._mdf){var O=this.filterManager.effectElements[0].p.v,F=this.filterManager.effectElements[1].p.v,B=this.filterManager.effectElements[2].p.v,G=B[0]+" "+F[0]+" "+O[0],U=B[1]+" "+F[1]+" "+O[1],K=B[2]+" "+F[2]+" "+O[2];this.feFuncR.setAttribute("tableValues",G),this.feFuncG.setAttribute("tableValues",U),this.feFuncB.setAttribute("tableValues",K)}},SVGProLevelsFilter.prototype.createFeFunc=function(D,O){var F=createNS(D);return F.setAttribute("type","table"),O.appendChild(F),F},SVGProLevelsFilter.prototype.getTableValue=function(D,O,F,B,G){for(var U,K,X=0,q=Math.min(D,O),nt=Math.max(D,O),W=Array.call(null,{length:256}),Q=0,rt=G-B,J=O-D;X<=256;)K=(U=X/256)<=q?J<0?G:B:U>=nt?J<0?B:G:B+rt*Math.pow((U-D)/J,1/F),W[Q]=K,Q+=1,X+=256/255;return W.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(D){if(D||this.filterManager._mdf){var O,F=this.filterManager.effectElements;this.feFuncRComposed&&(D||F[3].p._mdf||F[4].p._mdf||F[5].p._mdf||F[6].p._mdf||F[7].p._mdf)&&(O=this.getTableValue(F[3].p.v,F[4].p.v,F[5].p.v,F[6].p.v,F[7].p.v),this.feFuncRComposed.setAttribute("tableValues",O),this.feFuncGComposed.setAttribute("tableValues",O),this.feFuncBComposed.setAttribute("tableValues",O)),this.feFuncR&&(D||F[10].p._mdf||F[11].p._mdf||F[12].p._mdf||F[13].p._mdf||F[14].p._mdf)&&(O=this.getTableValue(F[10].p.v,F[11].p.v,F[12].p.v,F[13].p.v,F[14].p.v),this.feFuncR.setAttribute("tableValues",O)),this.feFuncG&&(D||F[17].p._mdf||F[18].p._mdf||F[19].p._mdf||F[20].p._mdf||F[21].p._mdf)&&(O=this.getTableValue(F[17].p.v,F[18].p.v,F[19].p.v,F[20].p.v,F[21].p.v),this.feFuncG.setAttribute("tableValues",O)),this.feFuncB&&(D||F[24].p._mdf||F[25].p._mdf||F[26].p._mdf||F[27].p._mdf||F[28].p._mdf)&&(O=this.getTableValue(F[24].p.v,F[25].p.v,F[26].p.v,F[27].p.v,F[28].p.v),this.feFuncB.setAttribute("tableValues",O)),this.feFuncA&&(D||F[31].p._mdf||F[32].p._mdf||F[33].p._mdf||F[34].p._mdf||F[35].p._mdf)&&(O=this.getTableValue(F[31].p.v,F[32].p.v,F[33].p.v,F[34].p.v,F[35].p.v),this.feFuncA.setAttribute("tableValues",O))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(D){if(D||this.filterManager._mdf){if((D||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),D||this.filterManager.effectElements[0].p._mdf){var O=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*O[0]),Math.round(255*O[1]),Math.round(255*O[2])))}if((D||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),D||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var F=this.filterManager.effectElements[3].p.v,B=(this.filterManager.effectElements[2].p.v-90)*degToRads,G=F*Math.cos(B),U=F*Math.sin(B);this.feOffset.setAttribute("dx",G),this.feOffset.setAttribute("dy",U)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(D,O,F){this.initialized=!1,this.filterManager=O,this.filterElem=D,this.elem=F,F.matteElement=createNS("g"),F.matteElement.appendChild(F.layerElement),F.matteElement.appendChild(F.transformedElement),F.baseElement=F.matteElement}function SVGGaussianBlurEffect(D,O,F,B){D.setAttribute("x","-100%"),D.setAttribute("y","-100%"),D.setAttribute("width","300%"),D.setAttribute("height","300%"),this.filterManager=O;var G=createNS("feGaussianBlur");G.setAttribute("result",B),D.appendChild(G),this.feGaussianBlur=G}return SVGMatte3Effect.prototype.findSymbol=function(D){for(var O=0,F=_svgMatteSymbols.length;O<F;){if(_svgMatteSymbols[O]===D)return _svgMatteSymbols[O];O+=1}
vendor: 6,487 bytes, lines 150-308
150return null},SVGMatte3Effect.prototype.replaceInParent=function(D,O){var F=D.layerElement.parentNode;if(F){for(var B,G=F.children,U=0,K=G.length;U<K&&G[U]!==D.layerElement;)U+=1;U<=K-2&&(B=G[U+1]);var X=createNS("use");X.setAttribute("href","#"+O),B?F.insertBefore(X,B):F.appendChild(X)}},SVGMatte3Effect.prototype.setElementAsMask=function(D,O){if(!this.findSymbol(O)){var F=createElementID(),B=createNS("mask");B.setAttribute("id",O.layerId),B.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(O);var G=D.globalData.defs;G.appendChild(B);var U=createNS("symbol");U.setAttribute("id",F),this.replaceInParent(O,F),U.appendChild(O.layerElement),G.appendChild(U);var K=createNS("use");K.setAttribute("href","#"+F),B.appendChild(K),O.data.hd=!1,O.show()}D.setMatte(O.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var D=this.filterManager.effectElements[0].p.v,O=this.elem.comp.elements,F=0,B=O.length;F<B;)O[F]&&O[F].data.ind===D&&this.setElementAsMask(this.elem,O[F]),F+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(D){if(D||this.filterManager._mdf){var O=.3*this.filterManager.effectElements[0].p.v,F=this.filterManager.effectElements[1].p.v,B=F==3?0:O,G=F==2?0:O;this.feGaussianBlur.setAttribute("stdDeviation",B+" "+G);var U=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",U)}},registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect(20,SVGTintFilter,!0),registerEffect(21,SVGFillFilter,!0),registerEffect(22,SVGStrokeEffect,!1),registerEffect(23,SVGTritoneFilter,!0),registerEffect(24,SVGProLevelsFilter,!0),registerEffect(25,SVGDropShadowEffect,!0),registerEffect(28,SVGMatte3Effect,!1),registerEffect(29,SVGGaussianBlurEffect,!0),lottie}))})),_templateObject$1,styles=i$4(_templateObject$1||(_templateObject$1=_taggedTemplateLiteral([` 151 * { 152 box-sizing: border-box; 153 } 154 155 :host { 156 --lottie-player-toolbar-height: 35px; 157 --lottie-player-toolbar-background-color: transparent; 158 --lottie-player-toolbar-icon-color: #999; 159 --lottie-player-toolbar-icon-hover-color: #222; 160 --lottie-player-toolbar-icon-active-color: #555; 161 --lottie-player-seeker-track-color: #ccc; 162 --lottie-player-seeker-thumb-color: rgba(0, 107, 120, 0.8); 163 --lottie-player-seeker-display: block; 164 165 display: block; 166 width: 100%; 167 height: 100%; 168 } 169 170 .main { 171 display: flex; 172 flex-direction: column; 173 height: 100%; 174 width: 100%; 175 } 176 177 .animation { 178 width: 100%; 179 height: 100%; 180 display: flex; 181 } 182 .animation.controls { 183 height: calc(100% - 35px); 184 } 185 186 .toolbar { 187 display: flex; 188 align-items: center; 189 justify-items: center; 190 background-color: var(--lottie-player-toolbar-background-color); 191 margin: 0 5px; 192 height: 35px; 193 } 194 195 .toolbar button { 196 cursor: pointer; 197 fill: var(--lottie-player-toolbar-icon-color); 198 display: flex; 199 background: none; 200 border: 0; 201 padding: 0; 202 outline: none; 203 height: 100%; 204 } 205 206 .toolbar button:hover { 207 fill: var(--lottie-player-toolbar-icon-hover-color); 208 } 209 210 .toolbar button.active { 211 fill: var(--lottie-player-toolbar-icon-active-color); 212 } 213 214 .toolbar button.active:hover { 215 fill: var(--lottie-player-toolbar-icon-hover-color); 216 } 217 218 .toolbar button:focus { 219 outline: 1px dotted var(--lottie-player-toolbar-icon-active-color); 220 } 221 222 .toolbar button svg { 223 } 224 225 .toolbar button.disabled svg { 226 display: none; 227 } 228 229 .seeker { 230 -webkit-appearance: none; 231 width: 95%; 232 outline: none; 233 background-color: var(--lottie-player-toolbar-background-color); 234 display: var(--lottie-player-seeker-display); 235 } 236 237 .seeker::-webkit-slider-runnable-track { 238 width: 100%; 239 height: 5px; 240 cursor: pointer; 241 background: var(--lottie-player-seeker-track-color); 242 border-radius: 3px; 243 } 244 .seeker::-webkit-slider-thumb { 245 height: 15px; 246 width: 15px; 247 border-radius: 50%; 248 background: var(--lottie-player-seeker-thumb-color); 249 cursor: pointer; 250 -webkit-appearance: none; 251 margin-top: -5px; 252 } 253 .seeker:focus::-webkit-slider-runnable-track { 254 background: #999; 255 } 256 .seeker::-moz-range-track { 257 width: 100%; 258 height: 5px; 259 cursor: pointer; 260 background: var(--lottie-player-seeker-track-color); 261 border-radius: 3px; 262 } 263 .seeker::-moz-range-thumb { 264 height: 15px; 265 width: 15px; 266 border-radius: 50%; 267 background: var(--lottie-player-seeker-thumb-color); 268 cursor: pointer; 269 } 270 .seeker::-ms-track { 271 width: 100%; 272 height: 5px; 273 cursor: pointer; 274 background: transparent; 275 border-color: transparent; 276 color: transparent; 277 } 278 .seeker::-ms-fill-lower { 279 background: var(--lottie-player-seeker-track-color); 280 border-radius: 3px; 281 } 282 .seeker::-ms-fill-upper { 283 background: var(--lottie-player-seeker-track-color); 284 border-radius: 3px; 285 } 286 .seeker::-ms-thumb { 287 border: 0; 288 height: 15px; 289 width: 15px; 290 border-radius: 50%; 291 background: var(--lottie-player-seeker-thumb-color); 292 cursor: pointer; 293 } 294 .seeker:focus::-ms-fill-lower { 295 background: var(--lottie-player-seeker-track-color); 296 } 297 .seeker:focus::-ms-fill-upper { 298 background: var(--lottie-player-seeker-track-color); 299 } 300 301 .error { 302 display: flex; 303 justify-content: center; 304 margin: auto; 305 height: 100%; 306 align-items: center; 307 } 308`]))),ch2={},wk=function(D,O,F,B,G){var U=new Worker(ch2[O]||(ch2[O]=URL.createObjectURL(new Blob([D+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return U.onmessage=function(K){var X=K.data,q=X.$e$;if(q){var nt=new Error(q[0]);nt.code=q[1],nt.stack=q[2],G(nt,null)}else G(null,X)},U.postMessage(F,B),U},u8=Uint8Array,u16=Uint16Array,u32=Uint32Array,fleb=new u8([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),fdeb
308=new u8([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),clim=new u8([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),freb=function(D,O){for(var F=new u16(31),B=0;B<31;++B)F[B]=O+=1<<D[B-1];var G=new u32(F[30]);for(B=1;B<30;++B)for(var U=F[B];U<F[B+1];++U)G[U]=U-F[B]<<5|B;return[F,G]},_a=freb(fleb,2),fl=_a[0],revfl=_a[1];fl[28]=258,revfl[258]=28;for(var _b=freb(fdeb,0),fd=_b[0],revfd=_b[1],rev=new u16(32768),i=0;i<32768;++i){var x=(43690&i)>>>1|(21845&i)<<1;x=(52428&x)>>>2|(13107&x)<<2,x=(61680&x)>>>4|(3855&x)<<4,rev[i]=((65280&x)>>>8|(255&x)<<8)>>>1}for(var hMap=function(O,F,B){for(var G=O.length,U=0,K=new u16(F);U<G;++U)O[U]&&++K[O[U]-1];var X,q=new u16(F);for(U=0;U<F;++U)q[U]=q[U-1]+K[U-1]<<1;if(B){X=new u16(1<<F);var nt=15-F;for(U=0;U<G;++U)if(O[U])for(var W=U<<4|O[U],Q=F-O[U],rt=q[O[U]-1]++<<Q,J=rt|(1<<Q)-1;rt<=J;++rt)X[rev[rt]>>>nt]=W}else for(X=new u16(G),U=0;U<G;++U)O[U]&&(X[U]=rev[q[O[U]-1]++]>>>15-O[U]);return X},flt=new u8(288),i=0;i<144;++i)flt[i]=8;for(var i=144;i<256;++i)flt[i]=9;for(var i=256;i<280;++i)flt[i]=7;for(var i=280;i<288;++i)flt[i]=8;for(var fdt=new u8(32),i=0;i<32;++i)fdt[i]=5;var flm=hMap(flt,9,0),flrm=hMap(flt,9,1),fdm=hMap(fdt,5,0),fdrm=hMap(fdt,5,1),max=function(D){for(var O=D[0],F=1;F<D.length;++F)D[F]>O&&(O=D[F]);return O},bits=function(D,O,F){var B=O/8|0;return(D[B]|D[B+1]<<8)>>(7&O)&F},bits16=function(D,O){var F=O/8|0;return(D[F]|D[F+1]<<8|D[F+2]<<16)>>(7&O)},shft=function(D){return(D+7)/8|0},slc=function(D,O,F){(O==null||O<0)&&(O=0),(F==null||F>D.length)&&(F=D.length);var B=new(D.BYTES_PER_ELEMENT==2?u16:D.BYTES_PER_ELEMENT==4?u32:u8)(F-O);return B.set(D.subarray(O,F)),B},FlateErrorCode={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14}
vendor: 4,702 bytes, line 308
308,ec=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],err=function(D,O,F){var B=new Error(O||ec[D]);if(B.code=D,Error.captureStackTrace&&Error.captureStackTrace(B,err),!F)throw B;return B},inflt=function(D,O,F){var B=D.length;if(!B||F&&F.f&&!F.l)return O||new u8(0);var G=!O||F,U=!F||F.i;F||(F={}),O||(O=new u8(3*B));var K=function(xe){var re=O.length;if(xe>re){var Xt=new u8(Math.max(2*re,xe));Xt.set(O),O=Xt}},X=F.f||0,q=F.p||0,nt=F.b||0,W=F.l,Q=F.d,rt=F.m,J=F.n,tt=8*B;do{if(!W){X=bits(D,q,1);var at=bits(D,q+1,3);if(q+=3,!at){var Y=D[(St=shft(q)+4)-4]|D[St-3]<<8,it=St+Y;if(it>B){U&&err(0);break}G&&K(nt+Y),O.set(D.subarray(St,it),nt),F.b=nt+=Y,F.p=q=8*it,F.f=X;continue}if(at==1)W=flrm,Q=fdrm,rt=9,J=5;else if(at==2){var ot=bits(D,q,31)+257,ft=bits(D,q+10,15)+4,gt=ot+bits(D,q+5,31)+1;q+=14;for(var pt=new u8(gt),vt=new u8(19),ct=0;ct<ft;++ct)vt[clim[ct]]=bits(D,q+3*ct,7);q+=3*ft;var dt=max(vt),bt=(1<<dt)-1,wt=hMap(vt,dt,1);for(ct=0;ct<gt;){var St,_t=wt[bits(D,q,bt)];if(q+=15&_t,(St=_t>>>4)<16)pt[ct++]=St;else{var xt=0,Dt=0;for(St==16?(Dt=3+bits(D,q,3),q+=2,xt=pt[ct-1]):St==17?(Dt=3+bits(D,q,7),q+=3):St==18&&(Dt=11+bits(D,q,127),q+=7);Dt--;)pt[ct++]=xt}}var Ft=pt.subarray(0,ot),jt=pt.subarray(ot);rt=max(Ft),J=max(jt),W=hMap(Ft,rt,1),Q=hMap(jt,J,1)}else err(1);if(q>tt){U&&err(0);break}}G&&K(nt+131072);for(var Ht=(1<<rt)-1,Pt=(1<<J)-1,Wt=q;;Wt=q){var At=(xt=W[bits16(D,q)&Ht])>>>4;if((q+=15&xt)>tt){U&&err(0);break}if(xt||err(2),At<256)O[nt++]=At;else{if(At==256){Wt=q,W=null;break}var ue=At-254;if(At>264){var Qt=fleb[ct=At-257];ue=bits(D,q,(1<<Qt)-1)+fl[ct],q+=Qt}var se=Q[bits16(D,q)&Pt],de=se>>>4;if(se||err(3),q+=15&se,jt=fd[de],de>3&&(Qt=fdeb[de],jt+=bits16(D,q)&(1<<Qt)-1,q+=Qt),q>tt){U&&err(0);break}G&&K(nt+131072);for(var oe=nt+ue;nt<oe;nt+=4)O[nt]=O[nt-jt],O[nt+1]=O[nt+1-jt],O[nt+2]=O[nt+2-jt],O[nt+3]=O[nt+3-jt];nt=oe}}F.l=W,F.p=Wt,F.b=nt,F.f=X,W&&(X=1,F.m=rt,F.d=Q,F.n=J)}while(!X);return nt==O.length?O:slc(O,0,nt)},wbits=function(D,O,F){F<<=7&O;var B=O/8|0;D[B]|=F,D[B+1]|=F>>>8},wbits16=function(D,O,F){F<<=7&O;var B=O/8|0;D[B]|=F,D[B+1]|=F>>>8,D[B+2]|=F>>>16},hTree=function(D,O){for(var F=[],B=0;B<D.length;++B)D[B]&&F.push({s:B,f:D[B]});var G=F.length,U=F.slice();if(!G)return[et,0];if(G==1){var K=new u8(F[0].s+1);return K[F[0].s]=1,[K,1]}F.sort((function(pt,vt){return pt.f-vt.f})),F.push({s:-1,f:25001});var X=F[0],q=F[1],nt=0,W=1,Q=2;for(F[0]={s:-1,f:X.f+q.f,l:X,r:q};W!=G-1;)X=F[F[nt].f<F[Q].f?nt++:Q++],q=F[nt!=W&&F[nt].f<F[Q].f?nt++:Q++],F[W++]={s:-1,f:X.f+q.f,l:X,r:q};var rt=U[0].s;for(B=1;B<G;++B)U[B].s>rt&&(rt=U[B].s);var J=new u16(rt+1),tt=ln(F[W-1],J,0);if(tt>O){B=0;var at=0,Y=tt-O,it=1<<Y;for(U.sort((function(pt,vt){return J[vt.s]-J[pt.s]||pt.f-vt.f}));B<G;++B){var ot=U[B].s;if(!(J[ot]>O))break;at+=it-(1<<tt-J[ot]),J[ot]=O}for(at>>>=Y;at>0;){var ft=U[B].s;J[ft]<O?at-=1<<O-J[ft]++-1:++B}for(;B>=0&&at;--B){var gt=U[B].s;J[gt]==O&&(--J[gt],++at)}tt=O}return[new u8(J),tt]},ln=function(D,O,F){return D.s==-1?Math.max(ln(D.l,O,F+1),ln(D.r,O,F+1)):O[D.s]=F},lc=function(D){for(var O=D.length;O&&!D[--O];);for(var F=new u16(++O),B=0,G=D[0],U=1,K=function(q){F[B++]=q},X=1;X<=O;++X)if(D[X]==G&&X!=O)++U;else{if(!G&&U>2){for(;U>138;U-=138)K(32754);U>2&&(K(U>10?U-11<<5|28690:U-3<<5|12305),U=0)}else if(U>3){for(K(G),--U;U>6;U-=6)K(8304);U>2&&(K(U-3<<5|8208),U=0)}for(;U--;)K(G);U=1,G=D[X]}return[F.subarray(0,B),O]},clen=function(D,O){for(var F=0,B=0;B<O.length;++B)F+=D[B]*O[B];return F},wfblk=function(D,O,F){var B=F.length,G=shft(O+2);D[G]=255&B,D[G+1]=B>>>8,D[G+2]=255^D[G],D[G+3]=255^D[G+1];for(var U=0;U<B;++U)D[G+U+4]=F[U];return 8*(G+4+B)},wblk=function(D,O,F,B,G,U,K,X,q,nt,W){wbits(O,W++,F),++G[256];for(var Q=hTree(G,15),rt=Q[0],J=Q[1],tt=hTree(U,15),at=tt[0],Y=tt[1],it=lc(rt),ot=it[0],ft=it[1],gt=lc(at),pt=gt[0],vt=gt[1],ct=new u16(19),dt=0;dt<ot.length;++dt)ct[31&ot[dt]]++;for(dt=0;dt<pt.length;++dt)ct[31&pt[dt]]++;for(var bt=hTree(ct,7),wt=bt[0],St=bt[1],_t=19;_t>4&&!wt[clim[_t-1]];--_t);var xt,Dt,Ft,jt,Ht=nt+5<<3,Pt=clen(G,flt)+clen(U,fdt)+K,Wt=clen(G,rt)+clen(U,at)+K+14+3*_t+clen(ct,wt)+(2*ct[16]+3*ct[17]+7*ct[18]);if(Ht<=Pt&&Ht<=Wt)return wfblk(O,W,D.subarray(q,q+nt));if(wbits(O,W,1+(Wt<Pt)),W+=2,Wt<Pt){xt=hMap(rt,J,0),Dt=rt,Ft=hMap(at,Y,0),jt=at;var At=hMap(wt,St,0);for(wbits(O,W,ft-257),wbits(O,W+5,vt-1),wbits(O,W+10,_t-4),W+=14,dt=0;dt<_t;++dt)wbits(O,W+3*dt,wt[clim[dt]]);W+=3*_t;for(var ue=[ot,pt],Qt=0;Qt<2;++Qt){var se=ue[Qt];for(dt=0;dt<se.length;++dt){var de=31&se[dt];wbits(O,W,At[de]),W+=wt[de],de>
30815&&(wbits(O,W,se[dt]>>>5&127),W+=se[dt]>>>12)}}}else xt=flm,Dt=flt,Ft=fdm,jt=fdt;for(dt=0;dt<X;++dt)if(B[dt]>255){de=B[dt]>>>18&31,wbits16(O,W,xt[de+257]),W+=Dt[de+257],de>7&&(wbits(O,W,B[dt]>>>23&31),W+=fleb[de]);var oe=31&B[dt];wbits16(O,W,Ft[oe]),W+=jt[oe],oe>3&&(wbits16(O,W,B[dt]>>>5&8191),W+=fdeb[oe])}else wbits16(O,W,xt[B[dt]]),W+=Dt[B[dt]];return wbits16(O,W,xt[256]),W+Dt[256]},deo=new u32([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),et=new u8(0),dflt=function(D,O,F,B,G,U){var K=D.length,X=new u8(B+K+5*(1+Math.ceil(K/7e3))+G),q=X.subarray(B,X.length-G),nt=0;if(!O||K<8)for(var W=0;W<=K;W+=65535){var Q=W+65535;Q>=K&&(q[nt>>3]=U),nt=wfblk(q,nt+1,D.subarray(W,Q))}else{for(var rt=deo[O-1],J=rt>>>13,tt=8191&rt,at=(1<<F)-1,Y=new u16(32768),it=new u16(at+1),ot=Math.ceil(F/3),ft=2*ot,gt=function(Ue){return(D[Ue]^D[Ue+1]<<ot^D[Ue+2]<<ft)&at},pt=new u32(25e3),vt=new u16(288),ct=new u16(32),dt=0,bt=0,wt=(W=0,0),St=0,_t=0;W<K;++W){var xt=gt(W),Dt=32767&W,Ft=it[xt];if(Y[Dt]=Ft,it[xt]=Dt,St<=W){var jt=K-W;if((dt>7e3||wt>24576)&&jt>423){nt=wblk(D,q,0,pt,vt,ct,bt,wt,_t,W-_t,nt),wt=dt=bt=0,_t=W;for(var Ht=0;Ht<286;++Ht)vt[Ht]=0;for(Ht=0;Ht<30;++Ht)ct[Ht]=0}var Pt=2,Wt=0,At=tt,ue=Dt-Ft&32767;if(jt>2&&xt==gt(W-ue))for(var Qt=Math.min(J,jt)-1,se=Math.min(32767,W),de=Math.min(258,jt);ue<=se&&--At&&Dt!=Ft;){if(D[W+Pt]==D[W+Pt-ue]){for(var oe=0;oe<de&&D[W+oe]==D[W+oe-ue];++oe);if(oe>Pt){if(Pt=oe,Wt=ue,oe>Qt)break;var xe=Math.min(ue,oe-2),re=0;for(Ht=0;Ht<xe;++Ht){var Xt=W-ue+Ht+32768&32767,Se=Xt-Y[Xt]+32768&32767;Se>re&&(re=Se,Ft=Xt)}}}ue+=(Dt=Ft)-(Ft=Y[Dt])+32768&32767}if(Wt){pt[wt++]=268435456|revfl[Pt]<<18|revfd[Wt];var _e=31&revfl[Pt],Ee=31&revfd[Wt];bt+=fleb[_e]+fdeb[Ee],++vt[257+_e],++ct[Ee],St=W+Pt,++dt}else pt[wt++]=D[W],++vt[D[W]]}}nt=wblk(D,q,U,pt,vt,ct,bt,wt,_t,W-_t,nt),!U&&7&nt&&(nt=wfblk(q,nt+1,et))}return slc(X,0,B+shft(nt)+G)},crct=(function(){for(var D=new Int32Array(256),O=0;O<256;++O){for(var F=O,B=9;--B;)F=(1&F&&-306674912)^F>>>1;D[O]=F}return D})(),crc=function(){var D=-1;return{p:function(O){for(var F=D,B=0;B<O.length;++B)F=crct[255&F^O[B]]^F>>>8;D=F},d:function(){return~D}}},adler=function(){var D=1,O=0;return{p:function(F){for(var B=D,G=O,U=0|F.length,K=0;K!=U;){for(var X=Math.min(K+2655,U);K<X;++K)G+=B+=F[K];B=(65535&B)+15*(B>>16),G=(65535&G)+15*(G>>16)}D=B,O=G},d:function(){return(255&(D%=65521))<<24|D>>>8<<16|(255&(O%=65521))<<8|O>>>8}}},dopt=function(D,O,F,B,G){return dflt(D,O.level==null?6:O.level,O.mem==null?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(D.length)))):12+O.mem,F,B,!G)},mrg=function(D,O){var F={};for(var B in D)F[B]=D[B];for(var B in O)F[B]=O[B];return F},wcln=function(D,O,F){for(var B=D(),G=D.toString(),U=G.slice(G.indexOf("[")+1,G.lastIndexOf("]")).replace(/\s+/g,"").split(","),K=0;K<B.length;++K){var X=B[K],q=U[K];if(typeof X=="function"){O+=";"+q+"=";var nt=X.toString();if(X.prototype)if(nt.indexOf("[native code]")!=-1){var W=nt.indexOf(" ",8)+1;O+=nt.slice(W,nt.indexOf("(",W))}else for(var Q in O+=nt,X.prototype)O+=";"+q+".prototype."+Q+"="+X.prototype[Q].toString();else O+=nt}else F[q]=X}return[O,F]},ch=[],cbfs=function(D){var O=[];for(var F in D)D[F].buffer&&O.push((D[F]=new D[F].constructor(D[F])).buffer);return O},wrkr=function(D,O,F,B){var G;if(!ch[F]){for(var U="",K={},X=D.length-1,q=0;q<X;++q)U=(G=wcln(D[q],U,K))[0],K=G[1];ch[F]=wcln(D[X],U,K)}var nt=mrg({},ch[F][1]);return wk(ch[F][0]+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+O.toString()+"}",F,nt,cbfs(nt),B)},bInflt=function(){return[u8,u16,u32,fleb,fdeb,clim,fl,fd,flrm,fdrm,rev,ec,hMap,max,bits,bits16,shft,slc,err,inflt,inflateSync,pbf,gu8]},bDflt=function(){return[u8,u16,u32,fleb,fdeb,clim,revfl,revfd,flm,flt,fdm,fdt,rev,deo,et,hMap,wbits,wbits16,hTree,ln,lc,clen,wfblk,wblk,shft,slc,dflt,dopt,deflateSync,pbf]},gze=function(){return[gzh,gzhl,wbytes,crc,crct]},guze=function(){return[gzs,gzl]},zle=function(){return[zlh,wbytes,adler]},zule=function(){return[zlv]},pbf=function(D){return postMessage(D,[D.buffer])},gu8=function(D){return D&&D.size&&new u8(D.size)},cbify=function(D,O,F,B,G,U){var K=wrkr(F,B,G,(function(X,q){K.terminate(),U(X,q)}));return K.postMessage([D,O],O.consume?[D.buffer]:[]),function(){K.terminate()}},astrm=function(D){return D.ondata=function(O,F){return postMessage([O,F],[O.buffer])},function(O){return D.push(O.data[0],O.data[1])}},astrmify=function(D,O,F,B,G){var U,K=wrkr(D,B,G,(function(X,q){X?(K.terminate(),O.ondata.call(O,X)):(q[1]&&K.terminate(),O.ondata.call(O,X,q[0],q[1]))}));K.postMessage(F),O.push=function(X,q){O.ondata||err(5),U&&O.ondata(err(4,0,1),null,!!q),K.postMessage([X,U=q],[X.buffer])},O.terminate=function(){K.terminate()}}
308,b2=function(D,O){return D[O]|D[O+1]<<8},b4=function(D,O){return(D[O]|D[O+1]<<8|D[O+2]<<16|D[O+3]<<24)>>>0},b8=function(D,O){return b4(D,O)+4294967296*b4(D,O+4)},wbytes=function(D,O,F){for(;F;++O)D[O]=F,F>>>=8},gzh=function(D,O){var F=O.filename;if(D[0]=31,D[1]=139,D[2]=8,D[8]=O.level<2?4:O.level==9?2:0,D[9]=3,O.mtime!=0&&wbytes(D,4,Math.floor(new Date(O.mtime||Date.now())/1e3)),F){D[3]=8;for(var B=0;B<=F.length;++B)D[B+10]=F.charCodeAt(B)}},gzs=function(D){D[0]==31&&D[1]==139&&D[2]==8||err(6,"invalid gzip data");var O=D[3],F=10;4&O&&(F+=D[10]|2+(D[11]<<8));for(var B=(O>>3&1)+(O>>4&1);B>0;B-=!D[F++]);return F+(2&O)},gzl=function(D){var O=D.length;return(D[O-4]|D[O-3]<<8|D[O-2]<<16|D[O-1]<<24)>>>0},gzhl=function(D){return 10+(D.filename&&D.filename.length+1||0)},zlh=function(D,O){var F=O.level,B=F==0?0:F<6?1:F==9?3:2;D[0]=120,D[1]=B<<6|(B?32-2*B:1)},zlv=function(D){((15&D[0])!=8||D[0]>>>4>7||(D[0]<<8|D[1])%31)&&err(6,"invalid zlib data"),32&D[1]&&err(6,"invalid zlib data: preset dictionaries not supported")};function AsyncCmpStrm(D,O){return O||typeof D!="function"||(O=D,D={}),this.ondata=O,D}var Deflate=(function(){function D(O,F){F||typeof O!="function"||(F=O,O={}),this.ondata=F,this.o=O||{}}return D.prototype.p=function(O,F){this.ondata(dopt(O,this.o,0,0,!F),F)},D.prototype.push=function(O,F){this.ondata||err(5),this.d&&err(4),this.d=F,this.p(O,F||!1)},D})(),AsyncDeflate=(function(){return function(D,O){astrmify([bDflt,function(){return[astrm,Deflate]}],this,AsyncCmpStrm.call(this,D,O),(function(F){var B=new Deflate(F.data);onmessage=astrm(B)}),6)}})();function deflate(D,O,F){return F||(F=O,O={}),typeof F!="function"&&err(7),cbify(D,O,[bDflt],(function(B){return pbf(deflateSync(B.data[0],B.data[1]))}),0,F)}function deflateSync(D,O){return dopt(D,O||{},0,0)}var Inflate=(function(){function D(O){this.s={},this.p=new u8(0),this.ondata=O}return D.prototype.e=function(O){this.ondata||err(5),this.d&&err(4);var F=this.p.length,B=new u8(F+O.length);B.set(this.p),B.set(O,F),this.p=B},D.prototype.c=function(O){this.d=this.s.i=O||!1;var F=this.s.b,B=inflt(this.p,this.o,this.s);this.ondata(slc(B,F,this.s.b),this.d),this.o=slc(B,this.s.b-32768),this.s.b=this.o.length,this.p=slc(this.p,this.s.p/8|0),this.s.p&=7},D.prototype.push=function(O,F){this.e(O),this.c(F)},D})(),AsyncInflate=(function(){return function(D){this.ondata=D,astrmify([bInflt,function(){return[astrm,Inflate]}],this,0,(function(){var O=new Inflate;onmessage=astrm(O)}),7)}})();function inflate(D,O,F){return F||(F=O,O={}),typeof F!="function"&&err(7),cbify(D,O,[bInflt],(function(B){return pbf(inflateSync(B.data[0],gu8(B.data[1])))}),1,F)}function inflateSync(D,O){return inflt(D,O)}var Gzip=(function(){function D(O,F){this.c=crc(),this.l=0,this.v=1,Deflate.call(this,O,F)}return D.prototype.push=function(O,F){Deflate.prototype.push.call(this,O,F)},D.prototype.p=function(O,F){this.c.p(O),this.l+=O.length;var B=dopt(O,this.o,this.v&&gzhl(this.o),F&&8,!F);this.v&&(gzh(B,this.o),this.v=0),F&&(wbytes(B,B.length-8,this.c.d()),wbytes(B,B.length-4,this.l)),this.ondata(B,F)},D})(),AsyncGzip=(function(){return function(D,O){astrmify([bDflt,gze,function(){return[astrm,Deflate,Gzip]}],this,AsyncCmpStrm.call(this,D,O),(function(F){var B=new Gzip(F.data);onmessage=astrm(B)}),8)}})();function gzip(D,O,F){return F||(F=O,O={}),typeof F!="function"&&err(7),cbify(D,O,[bDflt,gze,function(){return[gzipSync]}],(function(B){return pbf(gzipSync(B.data[0],B.data[1]))}),2,F)}function gzipSync(D,O){O||(O={});var F=crc(),B=D.length;F.p(D);var G=dopt(D,O,gzhl(O),8),U=G.length;return gzh(G,O),wbytes(G,U-8,F.d()),wbytes(G,U-4,B),G}var Gunzip=(function(){function D(O){this.v=1,Inflate.call(this,O)}return D.prototype.push=function(O,F){if(Inflate.prototype.e.call(this,O),this.v){var B=this.p.length>3?gzs(this.p):4;if(B>=this.p.length&&!F)return;this.p=this.p.subarray(B),this.v=0}F&&(this.p.length<8&&err(6,"invalid gzip data"),this.p=this.p.subarray(0,-8)),Inflate.prototype.c.call(this,F)},D})(),AsyncGunzip=(function(){return function(D){this.ondata=D,astrmify([bInflt,guze,function(){return[astrm,Inflate,Gunzip]}],this,0,(function(){var O=new Gunzip;onmessage=astrm(O)}),9)}})();function gunzip(D,O,F){return F||(F=O,O={}),typeof F!="function"&&err(7),cbify(D,O,[bInflt,guze,function(){return[gunzipSync]}],(function(B){return pbf(gunzipSync(B.data[0]))}),3,F)}function gunzipSync(D,O){return inflt(D.subarray(gzs(D),-8),O||new u8(gzl(D)))}var Zlib=(function(){function D(O,F){this.c=adler(),this.v=1,Deflate.call(this,O,F)}return D.prototype.push=function(O,F){Deflate.prototype.push.call(this,O,F)},D.prototype.p=function(O,F){this.c.p(O);var B=dopt(O,this.o,this.v&&2,F&&4,!F);this.v&&(zlh(B,this.o),this.v=0),F&&wbytes(B,B.length-4,this.c.d()),this.ondata(B,F)},D})(),AsyncZlib=(function(){return function(D,O){astrmify([bDflt,zle,function(){return[astrm,Deflate,Zlib]}
308],this,AsyncCmpStrm.call(this,D,O),(function(F){var B=new Zlib(F.data);onmessage=astrm(B)}),10)}})();function zlib(D,O,F){return F||(F=O,O={}),typeof F!="function"&&err(7),cbify(D,O,[bDflt,zle,function(){return[zlibSync]}],(function(B){return pbf(zlibSync(B.data[0],B.data[1]))}),4,F)}function zlibSync(D,O){O||(O={});var F=adler();F.p(D);var B=dopt(D,O,2,4);return zlh(B,O),wbytes(B,B.length-4,F.d()),B}var Unzlib=(function(){function D(O){this.v=1,Inflate.call(this,O)}return D.prototype.push=function(O,F){if(Inflate.prototype.e.call(this,O),this.v){if(this.p.length<2&&!F)return;this.p=this.p.subarray(2),this.v=0}F&&(this.p.length<4&&err(6,"invalid zlib data"),this.p=this.p.subarray(0,-4)),Inflate.prototype.c.call(this,F)},D})(),AsyncUnzlib=(function(){return function(D){this.ondata=D,astrmify([bInflt,zule,function(){return[astrm,Inflate,Unzlib]}],this,0,(function(){var O=new Unzlib;onmessage=astrm(O)}),11)}})();function unzlib(D,O,F){return F||(F=O,O={}),typeof F!="function"&&err(7),cbify(D,O,[bInflt,zule,function(){return[unzlibSync]}],(function(B){return pbf(unzlibSync(B.data[0],gu8(B.data[1])))}),5,F)}function unzlibSync(D,O){return inflt((zlv(D),D.subarray(2,-4)),O)}var Decompress=(function(){function D(O){this.G=Gunzip,this.I=Inflate,this.Z=Unzlib,this.ondata=O}return D.prototype.push=function(O,F){if(this.ondata||err(5),this.s)this.s.push(O,F);else{if(this.p&&this.p.length){var B=new u8(this.p.length+O.length);B.set(this.p),B.set(O,this.p.length)}else this.p=O;if(this.p.length>2){var G=this,U=function(){G.ondata.apply(G,arguments)};this.s=this.p[0]==31&&this.p[1]==139&&this.p[2]==8?new this.G(U):(15&this.p[0])!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(U):new this.Z(U),this.s.push(this.p,F),this.p=null}}},D})(),AsyncDecompress=(function(){function D(O){this.G=AsyncGunzip,this.I=AsyncInflate,this.Z=AsyncUnzlib,this.ondata=O}return D.prototype.push=function(O,F){Decompress.prototype.push.call(this,O,F)},D})();function decompress(D,O,F){return F||(F=O,O={}),typeof F!="function"&&err(7),D[0]==31&&D[1]==139&&D[2]==8?gunzip(D,O,F):(15&D[0])!=8||D[0]>>4>7||(D[0]<<8|D[1])%31?inflate(D,O,F):unzlib(D,O,F)}function decompressSync(D,O){return D[0]==31&&D[1]==139&&D[2]==8?gunzipSync(D,O):(15&D[0])!=8||D[0]>>4>7||(D[0]<<8|D[1])%31?inflateSync(D,O):unzlibSync(D,O)}var fltn=function(D,O,F,B){for(var G in D){var U=D[G],K=O+G,X=B;Array.isArray(U)&&(X=mrg(B,U[1]),U=U[0]),U instanceof u8?F[K]=[U,X]:(F[K+="/"]=[new u8(0),X],fltn(U,K,F,B))}},te=typeof TextEncoder!="undefined"&&new TextEncoder,td=typeof TextDecoder!="undefined"&&new TextDecoder,tds=0;try{td.decode(et,{stream:!0}),tds=1}catch(D){}var dutf8=function(D){for(var O="",F=0;;){var B=D[F++],G=(B>127)+(B>223)+(B>239);if(F+G>D.length)return[O,slc(D,F-1)];G?G==3?(B=((15&B)<<18|(63&D[F++])<<12|(63&D[F++])<<6|63&D[F++])-65536,O+=String.fromCharCode(55296|B>>10,56320|1023&B)):O+=1&G?String.fromCharCode((31&B)<<6|63&D[F++]):String.fromCharCode((15&B)<<12|(63&D[F++])<<6|63&D[F++]):O+=String.fromCharCode(B)}},DecodeUTF8=(function(){function D(O){this.ondata=O,tds?this.t=new TextDecoder:this.p=et}return D.prototype.push=function(O,F){if(this.ondata||err(5),F=!!F,this.t)return this.ondata(this.t.decode(O,{stream:!0}),F),void(F&&(this.t.decode().length&&err(8),this.t=null));this.p||err(4);var B=new u8(this.p.length+O.length);B.set(this.p),B.set(O,this.p.length);var G=dutf8(B),U=G[0],K=G[1];F?(K.length&&err(8),this.p=null):this.p=K,this.ondata(U,F)},D})(),EncodeUTF8=(function(){function D(O){this.ondata=O}return D.prototype.push=function(O,F){this.ondata||err(5),this.d&&err(4),this.ondata(strToU8(O),this.d=F||!1)},D})();function strToU8(D,O){if(O){for(var F=new u8(D.length),B=0;B<D.length;++B)F[B]=D.charCodeAt(B);return F}if(te)return te.encode(D);var G=D.length,U=new u8(D.length+(D.length>>1)),K=0,X=function(W){U[K++]=W};for(B=0;B<G;++B){if(K+5>U.length){var q=new u8(K+8+(G-B<<1));q.set(U),U=q}var nt=D.charCodeAt(B);nt<128||O?X(nt):nt<2048?(X(192|nt>>6),X(128|63&nt)):nt>55295&&nt<57344?(X(240|(nt=65536+(1047552&nt)|1023&D.charCodeAt(++B))>>18),X(128|nt>>12&63),X(128|nt>>6&63),X(128|63&nt)):(X(224|nt>>12),X(128|nt>>6&63),X(128|63&nt))}return slc(U,0,K)}function strFromU8(D,O){if(O){for(var F="",B=0;B<D.length;B+=16384)F+=String.fromCharCode.apply(null,D.subarray(B,B+16384));return F}if(td)return td.decode(D);var G=dutf8(D),U=G[0];return G[1].length&&err(8),U}var dbf=function(D){return D==1?3:D<6?2:D==9?1:0},slzh=function(D,O){return O+30+b2(D,O+26)+b2(D,O+28)},zh=function(D,O,F){var B=b2(D,O+28),G=strFromU8(D.subarray(O+46,O+46+B),!(2048&b2(D,O+8))),U=O+46+B,K=b4(D,O+20),X=F&&K==4294967295?z64e(D,U):[K,b4(D,O+24),b4(D,O+42)
vendor: 3,928 bytes, line 308
308],q=X[0],nt=X[1],W=X[2];return[b2(D,O+10),q,nt,G,U+b2(D,O+30)+b2(D,O+32),W]},z64e=function(D,O){for(;b2(D,O)!=1;O+=4+b2(D,O+2));return[b8(D,O+12),b8(D,O+4),b8(D,O+20)]},exfl=function(D){var O=0;if(D)for(var F in D){var B=D[F].length;B>65535&&err(9),O+=B+4}return O},wzh=function(D,O,F,B,G,U,K,X){var q=B.length,nt=F.extra,W=X&&X.length,Q=exfl(nt);wbytes(D,O,K!=null?33639248:67324752),O+=4,K!=null&&(D[O++]=20,D[O++]=F.os),D[O]=20,O+=2,D[O++]=F.flag<<1|(U<0&&8),D[O++]=G&&8,D[O++]=255&F.compression,D[O++]=F.compression>>8;var rt=new Date(F.mtime==null?Date.now():F.mtime),J=rt.getFullYear()-1980;if((J<0||J>119)&&err(10),wbytes(D,O,J<<25|rt.getMonth()+1<<21|rt.getDate()<<16|rt.getHours()<<11|rt.getMinutes()<<5|rt.getSeconds()>>>1),O+=4,U!=-1&&(wbytes(D,O,F.crc),wbytes(D,O+4,U<0?-U-2:U),wbytes(D,O+8,F.size)),wbytes(D,O+12,q),wbytes(D,O+14,Q),O+=16,K!=null&&(wbytes(D,O,W),wbytes(D,O+6,F.attrs),wbytes(D,O+10,K),O+=14),D.set(B,O),O+=q,Q)for(var tt in nt){var at=nt[tt],Y=at.length;wbytes(D,O,+tt),wbytes(D,O+2,Y),D.set(at,O+4),O+=4+Y}return W&&(D.set(X,O),O+=W),O},wzf=function(D,O,F,B,G){wbytes(D,O,101010256),wbytes(D,O+8,F),wbytes(D,O+10,F),wbytes(D,O+12,B),wbytes(D,O+16,G)},ZipPassThrough=(function(){function D(O){this.filename=O,this.c=crc(),this.size=0,this.compression=0}return D.prototype.process=function(O,F){this.ondata(null,O,F)},D.prototype.push=function(O,F){this.ondata||err(5),this.c.p(O),this.size+=O.length,F&&(this.crc=this.c.d()),this.process(O,F||!1)},D})(),ZipDeflate=(function(){function D(O,F){var B=this;F||(F={}),ZipPassThrough.call(this,O),this.d=new Deflate(F,(function(G,U){B.ondata(null,G,U)})),this.compression=8,this.flag=dbf(F.level)}return D.prototype.process=function(O,F){try{this.d.push(O,F)}catch(B){this.ondata(B,null,F)}},D.prototype.push=function(O,F){ZipPassThrough.prototype.push.call(this,O,F)},D})(),AsyncZipDeflate=(function(){function D(O,F){var B=this;F||(F={}),ZipPassThrough.call(this,O),this.d=new AsyncDeflate(F,(function(G,U,K){B.ondata(G,U,K)})),this.compression=8,this.flag=dbf(F.level),this.terminate=this.d.terminate}return D.prototype.process=function(O,F){this.d.push(O,F)},D.prototype.push=function(O,F){ZipPassThrough.prototype.push.call(this,O,F)},D})(),Zip=(function(){function D(O){this.ondata=O,this.u=[],this.d=1}return D.prototype.add=function(O){var F=this;if(this.ondata||err(5),2&this.d)this.ondata(err(4+8*(1&this.d),0,1),null,!1);else{var B=strToU8(O.filename),G=B.length,U=O.comment,K=U&&strToU8(U),X=G!=O.filename.length||K&&U.length!=K.length,q=G+exfl(O.extra)+30;G>65535&&this.ondata(err(11,0,1),null,!1);var nt=new u8(q);wzh(nt,0,O,B,X,-1);var W=[nt],Q=function(){for(var Y=0,it=W;Y<it.length;Y++){var ot=it[Y];F.ondata(null,ot,!1)}W=[]},rt=this.d;this.d=0;var J=this.u.length,tt=mrg(O,{f:B,u:X,o:K,t:function(){O.terminate&&O.terminate()},r:function(){if(Q(),rt){var Y=F.u[J+1];Y?Y.r():F.d=1}rt=1}}),at=0;O.ondata=function(Y,it,ot){if(Y)F.ondata(Y,it,ot),F.terminate();else if(at+=it.length,W.push(it),ot){var ft=new u8(16);wbytes(ft,0,134695760),wbytes(ft,4,O.crc),wbytes(ft,8,at),wbytes(ft,12,O.size),W.push(ft),tt.c=at,tt.b=q+at+16,tt.crc=O.crc,tt.size=O.size,rt&&tt.r(),rt=1}else rt&&Q()},this.u.push(tt)}},D.prototype.end=function(){var O=this;2&this.d?this.ondata(err(4+8*(1&this.d),0,1),null,!0):(this.d?this.e():this.u.push({r:function(){1&O.d&&(O.u.splice(-1,1),O.e())},t:function(){}}),this.d=3)},D.prototype.e=function(){for(var O=0,F=0,B=0,G=0,U=this.u;G<U.length;G++)B+=46+(nt=U[G]).f.length+exfl(nt.extra)+(nt.o?nt.o.length:0);for(var K=new u8(B+22),X=0,q=this.u;X<q.length;X++){var nt=q[X];wzh(K,O,nt,nt.f,nt.u,-nt.c-2,F,nt.o),O+=46+nt.f.length+exfl(nt.extra)+(nt.o?nt.o.length:0),F+=nt.b}wzf(K,O,this.u.length,B,F),this.ondata(null,K,!0),this.d=2},D.prototype.terminate=function(){for(var O=0,F=this.u;O<F.length;O++)F[O].t();this.d=2},D})();function zip(D,O,F){F||(F=O,O={}),typeof F!="function"&&err(7);var B={};fltn(D,"",B,O);
vendor: 5,065 bytes, line 308
308var G=Object.keys(B),U=G.length,K=0,X=0,q=U,nt=new Array(U),W=[],Q=function(){for(var Y=0;Y<W.length;++Y)W[Y]()},rt=function(Y,it){mt((function(){F(Y,it)}))};mt((function(){rt=F}));var J=function(){var Y=new u8(X+22),it=K,ot=X-K;X=0;for(var ft=0;ft<q;++ft){var gt=nt[ft];try{var pt=gt.c.length;wzh(Y,X,gt,gt.f,gt.u,pt);var vt=30+gt.f.length+exfl(gt.extra),ct=X+vt;Y.set(gt.c,ct),wzh(Y,K,gt,gt.f,gt.u,pt,X,gt.m),K+=16+vt+(gt.m?gt.m.length:0),X=ct+pt}catch(dt){return rt(dt,null)}}wzf(Y,K,nt.length,ot,it),rt(null,Y)};U||J();for(var tt=function(Y){var it=G[Y],ot=B[it],ft=ot[0],gt=ot[1],pt=crc(),vt=ft.length;pt.p(ft);var ct=strToU8(it),dt=ct.length,bt=gt.comment,wt=bt&&strToU8(bt),St=wt&&wt.length,_t=exfl(gt.extra),xt=gt.level==0?0:8,Dt=function(Ft,jt){if(Ft)Q(),rt(Ft,null);else{var Ht=jt.length;nt[Y]=mrg(gt,{size:vt,crc:pt.d(),c:jt,f:ct,m:wt,u:dt!=it.length||wt&&bt.length!=St,compression:xt}),K+=30+dt+_t+Ht,X+=76+2*(dt+_t)+(St||0)+Ht,--U||J()}};if(dt>65535&&Dt(err(11,0,1),null),xt)if(vt<16e4)try{Dt(null,deflateSync(ft,gt))}catch(Ft){Dt(Ft,null)}else W.push(deflate(ft,gt,Dt));else Dt(null,ft)},at=0;at<q;++at)tt(at);return Q}function zipSync(D,O){O||(O={});var F={},B=[];fltn(D,"",F,O);var G=0,U=0;for(var K in F){var X=F[K],q=X[0],nt=X[1],W=nt.level==0?0:8,Q=(ct=strToU8(K)).length,rt=nt.comment,J=rt&&strToU8(rt),tt=J&&J.length,at=exfl(nt.extra);Q>65535&&err(11);var Y=W?deflateSync(q,nt):q,it=Y.length,ot=crc();ot.p(q),B.push(mrg(nt,{size:q.length,crc:ot.d(),c:Y,f:ct,m:J,u:Q!=K.length||J&&rt.length!=tt,o:G,compression:W})),G+=30+Q+at+it,U+=76+2*(Q+at)+(tt||0)+it}for(var ft=new u8(U+22),gt=G,pt=U-G,vt=0;vt<B.length;++vt){var ct=B[vt];wzh(ft,ct.o,ct,ct.f,ct.u,ct.c.length);var dt=30+ct.f.length+exfl(ct.extra);ft.set(ct.c,ct.o+dt),wzh(ft,G,ct,ct.f,ct.u,ct.c.length,ct.o,ct.m),G+=16+dt+(ct.m?ct.m.length:0)}return wzf(ft,G,B.length,pt,gt),ft}var UnzipPassThrough=(function(){function D(){}return D.prototype.push=function(O,F){this.ondata(null,O,F)},D.compression=0,D})(),UnzipInflate=(function(){function D(){var O=this;this.i=new Inflate((function(F,B){O.ondata(null,F,B)}))}return D.prototype.push=function(O,F){try{this.i.push(O,F)}catch(B){this.ondata(B,null,F)}},D.compression=8,D})(),AsyncUnzipInflate=(function(){function D(O,F){var B=this;F<32e4?this.i=new Inflate((function(G,U){B.ondata(null,G,U)})):(this.i=new AsyncInflate((function(G,U,K){B.ondata(G,U,K)})),this.terminate=this.i.terminate)}return D.prototype.push=function(O,F){this.i.terminate&&(O=slc(O,0)),this.i.push(O,F)},D.compression=8,D})(),Unzip=(function(){function D(O){this.onfile=O,this.k=[],this.o={0:UnzipPassThrough},this.p=et}return D.prototype.push=function(O,F){var B=this;if(this.onfile||err(5),this.p||err(4),this.c>0){var G=Math.min(this.c,O.length),U=O.subarray(0,G);if(this.c-=G,this.d?this.d.push(U,!this.c):this.k[0].push(U),(O=O.subarray(G)).length)return this.push(O,F)}else{var K=0,X=0,q=void 0,nt=void 0;this.p.length?O.length?((nt=new u8(this.p.length+O.length)).set(this.p),nt.set(O,this.p.length)):nt=this.p:nt=O;for(var W=nt.length,Q=this.c,rt=Q&&this.d,J=function(){var Y,it=b4(nt,X);if(it==67324752){K=1,q=X,tt.d=null,tt.c=0;var ot=b2(nt,X+6),ft=b2(nt,X+8),gt=2048&ot,pt=8&ot,vt=b2(nt,X+26),ct=b2(nt,X+28);if(W>X+30+vt+ct){var dt=[];tt.k.unshift(dt),K=2;var bt,wt=b4(nt,X+18),St=b4(nt,X+22),_t=strFromU8(nt.subarray(X+30,X+=30+vt),!gt);wt==4294967295?(Y=pt?[-2]:z64e(nt,X),wt=Y[0],St=Y[1]):pt&&(wt=-1),X+=ct,tt.c=wt;var xt={name:_t,compression:ft,start:function(){if(xt.ondata||err(5),wt){var Dt=B.o[ft];Dt||xt.ondata(err(14,"unknown compression type "+ft,1),null,!1),(bt=wt<0?new Dt(_t):new Dt(_t,wt,St)).ondata=function(Pt,Wt,At){xt.ondata(Pt,Wt,At)};for(var Ft=0,jt=dt;Ft<jt.length;Ft++){var Ht=jt[Ft];bt.push(Ht,!1)}B.k[0]==dt&&B.c?B.d=bt:bt.push(et,!0)}else xt.ondata(null,et,!0)},terminate:function(){bt&&bt.terminate&&bt.terminate()}};wt>=0&&(xt.size=wt,xt.originalSize=St),tt.onfile(xt)}return"break"}if(Q){if(it==134695760)return q=X+=12+(Q==-2&&8),K=3,tt.c=0,"break";if(it==33639248)return q=X-=4,K=3,tt.c=0,"break"}},tt=this;X<W-4&&J()!=="break";++X);if(this.p=et,Q<0){var at=K?nt.subarray(0,q-12-(Q==-2&&8)-(b4(nt,q-16)==134695760&&4)):nt.subarray(0,X);rt?rt.push(at,!!K):this.k[+(K==2)].push(at)}if(2&K)return this.push(nt.subarray(X),F);this.p=nt.subarray(X)}F&&(this.c&&err(13),this.p=null)},D.prototype.register=function(O){this.o[O.compression]=O},D})(),mt=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(D){D()};function unzip(D,O,F){F||(F=O,O={}),typeof F!="function"&&err(7);var B=[],G=function(){for(var Y=0;Y<B.length;++Y)B[Y]()},U={},K=function(Y,it){mt((function(){F(Y,it)}))};mt((function(){K=F}));for(var X=D.length-22;b4(D,X)!=101010256;--X)if(!X||D.length-X>65558)return K(err(13,0,1),null),G;var q=b2(D,X+8);if(q){var nt=q,W=b4(D,X+16),Q=W==4294967295||nt==65535;if(Q){var rt=b4(D,X-12);(Q=b4(D,rt)==101075792)&&(nt=q=b4(D,rt+32),W=b4(D,rt+48))}for(var J=O&&O.filter,tt=function(Y){var it=zh(D,W,Q),ot=it[0],ft=it[1],gt=it[2],pt=it[3],vt=it[4],ct=it[5],dt=slzh(D,ct);W=vt;
308var bt=function(St,_t){St?(G(),K(St,null)):(_t&&(U[pt]=_t),--q||K(null,U))};if(!J||J({name:pt,size:ft,originalSize:gt,compression:ot}))if(ot)if(ot==8){var wt=D.subarray(dt,dt+ft);if(ft<32e4)try{bt(null,inflateSync(wt,new u8(gt)))}catch(St){bt(St,null)}else B.push(inflate(wt,{size:gt},bt))}else bt(err(14,"unknown compression type "+ot,1),null);else bt(null,slc(D,dt,dt+ft));else bt(null,null)},at=0;at<nt;++at)tt()}else K(null,{});return G}function unzipSync(D,O){for(var F={},B=D.length-22;b4(D,B)!=101010256;--B)(!B||D.length-B>65558)&&err(13);var G=b2(D,B+8);if(!G)return{};var U=b4(D,B+16),K=U==4294967295||G==65535;if(K){var X=b4(D,B-12);(K=b4(D,X)==101075792)&&(G=b4(D,X+32),U=b4(D,X+48))}for(var q=O&&O.filter,nt=0;nt<G;++nt){var W=zh(D,U,K),Q=W[0],rt=W[1],J=W[2],tt=W[3],at=W[4],Y=W[5],it=slzh(D,Y);U=at,q&&!q({name:tt,size:rt,originalSize:J,compression:Q})||(Q?Q==8?F[tt]=inflateSync(D.subarray(it,it+rt),new u8(J)):err(14,"unknown compression type "+Q):F[tt]=slc(D,it,it+rt))}return F}var name="@dotlottie/player-component",version="1.4.2",description="dotlottie animation player web component.",main="dist/dotlottie-player.js",module="dist/dotlottie-player.esm.js",types="dist/dotlottie-player.esm.d.ts",homepage="https://dotlottie.com/players",repository="https://github.com/dotlottie/player-component.git",bugs="https://github.com/dotlottie/player-component/issues",author="Jawish Hameed <[email protected]>",license="MIT",scripts={build:"yarn build-dotlottie",buildtsup:"tsup","build-with-coverage":"CODE_COVERAGE=true yarn build-dotlottie","build-dotlottie":"yarn cleanup && rollup -c","build:types":"tsc --declaration",dev:"yarn cleanup && rollup -c --watch",lint:"eslint","lint:fix":"eslint --fix",cleanup:"shx rm -rf dist && shx mkdir dist",serve:"node ./cypress/pages/server.js -p 8000 &","start-cypress":"npx cypress run && npx nyc report --reporter=text-summary","run-tests":"yarn build-with-coverage && yarn serve && yarn start-cypress","postrun-tests":"kill $(lsof -t -i:8000)"},dependencies={"@rollup/plugin-json":"^6.0.0",fflate:"^0.7.3",lit:"^2.4.1","lottie-web":"^5.10.0",tsup:"^6.1.3"},devDependencies={"@babel/core":"^7.11.0","@babel/plugin-proposal-class-properties":"^7.10.4","@babel/plugin-proposal-decorators":"^7.10.5","@babel/preset-env":"^7.11.0","@babel/preset-typescript":"^7.10.4","@changesets/cli":"^2.24.4","@cypress/code-coverage":"^3.9.12","@istanbuljs/nyc-config-typescript":"^1.0.2","@rollup/plugin-babel":"^5.1.0","@rollup/plugin-commonjs":"^14.0.0","@rollup/plugin-node-resolve":"^8.4.0","@typescript-eslint/eslint-plugin":"^2.6.1","@typescript-eslint/parser":"^2.6.1","babel-plugin-istanbul":"^6.1.1",changesets:"^1.0.2",cypress:"^9.4.1",eslint:"^6.6.0","eslint-config-prettier":"^6.5.0","eslint-plugin-prettier":"^3.1.1",fastify:"^3.27.1","fastify-static":"^4.5.0",lerna:"^4.0.0","parcel-bundler":"^1.12.4",prettier:"1.18.2",rollup:"^2.23.0","rollup-plugin-alias":"^2.2.0","rollup-plugin-copy":"^3.3.0","rollup-plugin-filesize":"^9.0.2","rollup-plugin-node-globals":"^1.4.0","rollup-plugin-serve":"^1.0.3","rollup-plugin-terser":"^6.1.0","rollup-plugin-typescript2":"^0.27.1","rollup-plugin-visualizer":"^4.0.4",shx:"^0.3.3","source-map-support":"^0.5.21","ts-node":"^10.5.0",typescript:"^3.7.5"},files=["dist"],keywords=["dotlottie","animation","web component","component","lit-element","player"],browserslist=["> 3%"],publishConfig={access:"public"},nyc={extends:"@istanbuljs/nyc-config-typescript",all:!0},pkg={name,version,description,main,module,types,homepage,repository,bugs,author,license,scripts,dependencies,devDependencies,files,keywords,browserslist,publishConfig,nyc};const createError=D=>new Error("[dotLottie-player-component] ".concat(D)),error=D=>{const O="[dotLottie-player-component] ".concat(D);console.error(O)},warn=D=>{const O="[dotLottie-player-component] ".concat(D);console.warn(O)};var _templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,PlayerState,PlayMode,PlayerEvents;(function(D){D.Loading="loading",D.Playing="playing",D.Paused="paused",D.Stopped="stopped",D.Frozen="frozen",D.Error="error"})(PlayerState||(PlayerState={})),(function(D){D.Normal="normal",D.Bounce="bounce"})(PlayMode||(PlayMode={})),(function(D){D.Load="load",D.Error="error",D.Ready="ready",D.Play="play",D.Pause="pause",D.Stop="stop",D.Freeze="freeze",D.Loop="loop",D.Complete="complete",D.Rendered="rendered",D.Frame="frame"})(PlayerEvents||(PlayerEvents={}));const ELEMENT_NAME="dotlottie-player";class DotLottiePlayer extends s{constructor(){super(),this.mode=PlayMode.Normal,this.autoplay=!1,this.background="transparent",this.controls=!1,this.direction=1,this.hover=!1,this.renderer="svg",this.speed=1,this.currentState=PlayerState.Loading,this.intermission=1,this.activeAnimationId=null,this._counter=1,this._activeAnimationIndex=0,this._manifest={animations:[]}}static get properties(){return{mode:{type:String},autoplay:{type:Boolean},background:{type:String},controls:{type:Boolean},direction:{type:Number},hover:{type:Boolean},loop:{type:String},renderer:{type:String},speed:{type:Number},src:{type:String},currentState:{type:String},seeker:{type:Object},intermission:{type:Number},activeAnimationId:{type:String}}}_parseLoop(O){const F=parseInt(O,10);return Number.isInteger(F)&&F>0?(this._count=F,this._loop=!0,!0):typeof O=="string"&&["true","false"].includes(O)?(this._loop=O==="true",this._loop):(warn("loop must be a positive integer or a boolean"),!1)}_onVisibilityChange(){document.hidden&&this.currentState===PlayerState.Playing?this.freeze():this.currentState===PlayerState.Frozen&&this.play()}_handleSeekChange(O){if(!this._lottie||isNaN(O.target.value))return;const F=O.target.value/100*this._lottie.totalFrames;this.seek(F)}isLottie(O){let F=!1;return O.animations&&O.animations.length?(O.animations.forEach(B=>{this.isLottie(B)||(F=!0)}
308),F):["v","ip","op","layers","fr","w","h"].every(B=>Object.prototype.hasOwnProperty.call(O,B))}parseSrc(O){if(typeof O=="object")return O;try{return JSON.parse(O)}catch(F){return new URL(O,window.location.href).toString()}}async _fetchDotLottie(O){return await fetch(O,{method:"GET",mode:"cors",headers:{"Response-Type":"arraybuffer"}}).then(F=>F.arrayBuffer()).then(async F=>{const B=[],G={animations:[],manifest:void 0},U=await new Promise((X,q)=>{unzip(new Uint8Array(F),(nt,W)=>{nt&&q(nt),X(W)})});let K;if(U["manifest.json"]){const X=strFromU8(U["manifest.json"]),q=JSON.parse(X);if(!("animations"in q))throw createError("Manifest not found");if(q.animations.length===0)throw createError("No animations listed in the manifest");G.manifest=q;for(const nt of q.animations)K=JSON.parse(strFromU8(U["animations/".concat(nt.id,".json")])),"assets"in K&&K.assets.map(W=>{if(!W.p||!U["images/".concat(W.p)])return;const Q=btoa(strFromU8(U["images/".concat(W.p)],!0));W.p="data:;base64,"+Q,W.e=1}),B.push(K);return G.manifest=q,G.animations=B,G}throw createError("No manifest found in file.")}).catch(F=>{throw createError(F)})}async _fetchJsonFile(O){return await fetch(O,{method:"GET",mode:"cors",headers:{"Response-Type":"json"}}).then(F=>F.json()).then(F=>{const B=[],G={animations:[{id:O.substring(O.lastIndexOf("/")+1,O.lastIndexOf(".")),speed:1,loop:"true",direction:1}],description:"",author:"",generator:"dotLottie-player-component",revision:1,version:"1.0.0"},U={animations:[],manifest:void 0};return B.push(F),U.animations=B,U.manifest=G,U}).catch(F=>{throw createError(F)})}async _fetchFileAndLoad(O){var F;let B={animations:[],manifest:void 0};if(B=((F=O.split(/[#?]/)[0].split(".").pop())===null||F===void 0?void 0:F.toLowerCase())==="json"?await this._fetchJsonFile(O):await this._fetchDotLottie(O),!B.animations||!B.manifest||B.animations.length===0)throw this.currentState=PlayerState.Error,this.dispatchEvent(new CustomEvent(PlayerEvents.Error)),createError(B.animations&&B.animations.length?"Manifest not found":"Animations are empty");if(this._animations=B.animations,this._manifest=B.manifest,this.activeAnimationId){const U=this._manifest.animations.findIndex(K=>K.id===this.activeAnimationId);U!==-1?this._activeAnimationIndex=U:warn("Active animation not found in manifest")}else if(this._manifest&&this._manifest.activeAnimationId){const U=this._manifest.animations.findIndex(K=>K.id===this._manifest.activeAnimationId);U!==-1?this._activeAnimationIndex=U:warn("Active animation not found in manifest")}const G=this._animations[this._activeAnimationIndex];if(G===void 0)throw createError("No animation to load!");return G}_loadManifestOptions(O){if(this._requireAnimationsInTheManifest(),this._manifest.animations[O]===void 0)throw createError("Animation not found in manifest");const{autoplay:F,direction:B,loop:G,playMode:U,speed:K,hover:X,intermission:q}=this._manifest.animations[O];F!==void 0&&(this.autoplay=F),B!==void 0&&(this.direction=B),G!==void 0&&(this.loop=G),U!==void 0&&(this.mode=U),K!==void 0&&(this.speed=K),X!==void 0&&(this.hover=X),q!==void 0&&(this.intermission=q)}_initListeners(){this.dispatchEvent(new CustomEvent(PlayerEvents.Load)),this._lottie.addEventListener("enterFrame",()=>{this.seeker=this._lottie.currentFrame/this._lottie.totalFrames*100,this.dispatchEvent(new CustomEvent(PlayerEvents.Frame,{detail:{frame:this._lottie.currentFrame,seeker:this.seeker}}))}),this._lottie.addEventListener("complete",()=>{if(this.currentState===PlayerState.Playing){if((!this._loop||this._count&&this._counter>=this._count)&&(this.dispatchEvent(new CustomEvent(PlayerEvents.Complete)),this.mode!==PlayMode.Bounce||this._lottie.currentFrame===0))return;this.mode===PlayMode.Bounce?(this._count&&(this._counter+=.5),setTimeout(()=>{this.dispatchEvent(new CustomEvent(PlayerEvents.Loop)),this.currentState===PlayerState.Playing&&(this._lottie.setDirection(-1*this._lottie.playDirection),this._lottie.play())},this.intermission)):(this._count&&(this._counter+=1),window.setTimeout(()=>{this.dispatchEvent(new CustomEvent(PlayerEvents.Loop)),this.currentState===PlayerState.Playing&&(this.direction===-1?(this.seek("99%"),this.play()):(this._lottie.stop(),this.play()))},this.intermission))}else this.dispatchEvent(new CustomEvent(PlayerEvents.Complete))}),this._lottie.addEventListener("DOMLoaded",()=>{this.dispatchEvent(new CustomEvent(PlayerEvents.Ready))}),this._lottie.addEventListener("data_ready",()=>{this.dispatchEvent(new CustomEvent(PlayerEvents.Load))}),this._lottie.addEventListener("data_failed",()=>{this.currentState=PlayerState.Error,this.dispatchEvent(new CustomEvent(PlayerEvents.Error))}),this.container.addEventListener("mouseenter",()=>{this.hover&&this.currentState!==PlayerState.Playing&&this.play()}),this.container.addEventListener("mouseleave",()=>{this.hover&&this.currentState===PlayerState.Playing&&this.stop()})}async load(O,F,B){if(!this.shadowRoot)return;const G={container:this.container,loop:!1,autoplay:!1,renderer:this.renderer,rendererSettings:F||{scaleMode:"noScale",clearCanvas:!1,progressiveLoad:!0,hideOnTransparent:!0}};try{const U=this.parseSrc(O);let K=null;if(typeof U=="string")K=await this._fetchFileAndLoad(U);else if(typeof U=="object"&&!this.isLottie(U))throw createError("Load method failing. Object is not a valid Lottie.");if(this._lottie&&this._lottie.destroy(),B!==void 0)for(const[X,q]of Object.entries(B))X==="playMode"?this.mode=q==="normal"?PlayMode.Normal:PlayMode.Bounce:q!==void 0&&(this[X]=q);else if(this._activeAnimationIndex===0||this._manifest.animations[this._activeAnimationIndex].id===this.activeAnimationId||this._manifest.animations[this._activeAnimationIndex].id===this._manifest.activeAnimationId){const X=this._manifest.animations[this._activeAnimationIndex],q=Object.keys(DotLottiePlayer.properties),nt=Array.from(this.getAttributeNames());for(const Q of nt){const rt=this.getAttribute(Q);rt&&(this[Q]=rt)}const W=q.filter(Q=>!nt.includes(Q.toLowerCase())&&this._manifest.animations[this._activeAnimationIndex].hasOwnProperty(Q));for(const Q of W){const rt=X[Q];rt!==void 0&&(Q==="playMode"?this.mode=rt==="normal"?PlayMode.Normal:PlayMode.Bounce:this[Q]=rt)}}else this._loadManifestOptions(this._activeAnimationIndex);this._lottie=lottie.loadAnimation(Object.assign(Object.assign({},G),{animationData:K!==null?K:U}))}catch(U){return this.currentState=PlayerState.Error,this.dispatchEvent(new CustomEvent(PlayerEvents.Error)),void console.error(U)}if(!this._lottie)throw this.currentState=PlayerState.Error,this.dispatchEvent(new CustomEvent(PlayerEvents.Error)),createError("Player failed to initialize.");this._initListeners(),this.setSpeed(this.speed),this.setDirection(this.direction),this.autoplay&&(this.direction===-1&&this.seek("99%"),this.play())}getActiveId(){return this._manifest.animations?this._manifest.animations[this._activeAnimationIndex].id:null}getActiveAnimationIndex(){return this._activeAnimationIndex}animationCount(){return this._animations?this._animations.length:0}getManifest(){return this._manifest}getLottie(){return this._lottie}getVersions(){return{lottieWebVersion:"".concat(pkg.dependencies["lottie-web"]),dotLottiePlayerVersion:"".concat(pkg.ver
308sion)}}_requireAnimationsInTheManifest(){if(!this._manifest.animations.length)throw createError("No animations found in manifest.")}_requireAnimationsToBeLoaded(){var O;if(!(!((O=this._animations)===null||O===void 0)&&O.length))throw createError("No animations have been loaded.")}previous(O){this._activeAnimationIndex=(this._activeAnimationIndex-1+this._manifest.animations.length)%this._manifest.animations.length,this.play(this._activeAnimationIndex,O)}next(O){this._activeAnimationIndex=(this._activeAnimationIndex+1)%this._manifest.animations.length,this.play(this._activeAnimationIndex,O)}reset(){this._manifest&&this._manifest.activeAnimationId?this.play(this._manifest.activeAnimationId):this.activeAnimationId?this.play(this.activeAnimationId):this.play(0)}_validateAnimationIndex(O){if(isNaN(O)||O<0||O>=this._manifest.animations.length)throw createError("Animation index ".concat(O," is out of bounds."))}play(O,F){if(this._lottie){if(this._requireAnimationsInTheManifest(),this._requireAnimationsToBeLoaded(),O===void 0)return this._lottie.play(),this.currentState=PlayerState.Playing,void this.dispatchEvent(new CustomEvent(PlayerEvents.Play));if(this._requireAnimationsToBeLoaded(),this._requireAnimationsInTheManifest(),O!==void 0){if(!this._animations)throw createError("No animations have been loaded.");if(this._requireAnimationsInTheManifest(),typeof O=="string"){const B=this._manifest.animations.findIndex(G=>G.id===O);B!==-1?(this._activeAnimationIndex=B,this.load(this._animations[this._activeAnimationIndex],{playbackOptions:F})):error("No animation with the id '".concat(O,"' was found."))}else typeof O=="number"&&(this._validateAnimationIndex(O),this._manifest.animations&&this._manifest.animations[O]?(this._activeAnimationIndex=O,this.load(this._animations[this._activeAnimationIndex],{playbackOptions:F})):error("Animation not found at index: ".concat(O)))}}}pause(){this._lottie&&(this._lottie.pause(),this.currentState=PlayerState.Paused,this.dispatchEvent(new CustomEvent(PlayerEvents.Pause)))}stop(){this._lottie&&(this._counter=0,this._lottie.stop(),this.direction===-1&&this._lottie.goToAndStop(this._lottie.totalFrames,!0),this.currentState=PlayerState.Stopped,this.dispatchEvent(new CustomEvent(PlayerEvents.Stop)))}seek(O){if(!this._lottie)return;typeof O=="number"&&(O=Math.round(O));const F=/^(\d+)(%?)$/.exec(O.toString());if(!F)return;const B=F[2]==="%"?this._lottie.totalFrames*Number(F[1])/100:Number(F[1]);this.seeker=B,this.currentState===PlayerState.Playing?this._lottie.goToAndPlay(B,!0):(this._lottie.goToAndStop(B,!0),this._lottie.pause())}snapshot(){let O=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];if(!this.shadowRoot)return;const F=this.shadowRoot.querySelector(".animation svg"),B=new XMLSerializer().serializeToString(F);if(O){const G=document.createElement("a");G.href="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(B),G.download="download_"+this.seeker+".svg",document.body.appendChild(G),G.click(),document.body.removeChild(G)}return B}freeze(){this._lottie&&(this._lottie.pause(),this.currentState=PlayerState.Frozen,this.dispatchEvent(new CustomEvent(PlayerEvents.Freeze)))}setSpeed(){let O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;this._lottie&&this._lottie.setSpeed(O)}setDirection(O){this._lottie&&this._lottie.setDirection(O)}setLooping(O){this._lottie&&(this._lottie.loop=this._parseLoop(O))}isLooping(){return!!this._loop&&this._loop}togglePlay(){return this.currentState===PlayerState.Playing?this.pause():this.play()}toggleLooping(){const O=!this._loop;this.setLooping(O.toString())}static get styles(){return styles}async firstUpdated(){"IntersectionObserver"in window&&(this._io=new IntersectionObserver(O=>{O[0].isIntersecting?this.currentState===PlayerState.Frozen&&this.play():this.currentState===PlayerState.Playing&&this.freeze()}),this._io.observe(this.container)),document.hidden!==void 0&&document.addEventListener("visibilitychange",()=>this._onVisibilityChange()),this.loop?this._parseLoop(this.loop):this.hasAttribute("loop")&&this._parseLoop("true"),this.src&&await this.load(this.src),this.dispatchEvent(new CustomEvent(PlayerEvents.Rendered))}disconnectedCallback(){this._io&&(this._io.disconnect(),this._io=void 0),this._lottie&&this._lottie.destroy(),document.removeEventListener("visibilitychange",()=>this._onVisibilityChange())}renderControls(){const O=this.currentState===PlayerState.Playing,F=this.currentState===PlayerState.Paused,B=this.currentState===PlayerState.Stopped;
vendor: 25,787 bytes, lines 308-385
308return y(_templateObject||(_templateObject=_taggedTemplateLiteral([` 309 <div id="lottie-controls" aria-label="lottie-animation-controls" class="toolbar"> 310 <button 311 id="lottie-play-button" 312 @click=`,` 313 class=`,` 314 style="align-items:center;" 315 tabindex="0" 316 aria-label="play-pause" 317 > 318 `,` 319 </button> 320 <button 321 id="lottie-stop-button" 322 @click=`,` 323 class=`,` 324 style="align-items:center;" 325 tabindex="0" 326 aria-label="stop" 327 > 328 <svg width="24" height="24" aria-hidden="true" focusable="false"> 329 <path d="M6 6h12v12H6V6z" /> 330 </svg> 331 </button> 332 <input 333 id="lottie-seeker-input" 334 class="seeker" 335 type="range" 336 min="0" 337 step="1" 338 max="100" 339 .value=`,` 340 @input=`,` 341 @mousedown=`,` 342 @mouseup=`,` 343 aria-valuemin="1" 344 aria-valuemax="100" 345 role="slider" 346 aria-valuenow=`,` 347 tabindex="0" 348 aria-label="lottie-seek-input" 349 /> 350 <button 351 id="lottie-loop-toggle" 352 @click=`,` 353 class=`,` 354 style="align-items:center;" 355 tabindex="0" 356 aria-label="loop-toggle" 357 > 358 <svg width="24" height="24" aria-hidden="true" focusable="false"> 359 <path 360 d="M17.016 17.016v-4.031h1.969v6h-12v3l-3.984-3.984 3.984-3.984v3h10.031zM6.984 6.984v4.031H5.015v-6h12v-3l3.984 3.984-3.984 3.984v-3H6.984z" 361 /> 362 </svg> 363 </button> 364 </div> 365 `])),this.togglePlay,O||F?"active":"",y(O?_templateObject2||(_templateObject2=_taggedTemplateLiteral([` 366 <svg width="24" height="24" aria-hidden="true" focusable="false"> 367 <path d="M14.016 5.016H18v13.969h-3.984V5.016zM6 18.984V5.015h3.984v13.969H6z" /> 368 </svg> 369 `])):_templateObject3||(_templateObject3=_taggedTemplateLiteral([` 370 <svg width="24" height="24" aria-hidden="true" focusable="false"> 371 <path d="M8.016 5.016L18.985 12 8.016 18.984V5.015z" /> 372 </svg> 373 `]))),this.stop,B?"active":"",this.seeker,this._handleSeekChange,()=>{this._prevState=this.currentState,this.freeze()},()=>{this._prevState===PlayerState.Playing&&this.play(),this.seek(this._lottie.currentFrame)},this.seeker,this.toggleLooping,this._loop?"active":"")}render(){const O=this.controls?"main controls":"main",F=this.controls?"animation controls":"animation";return y(_templateObject4||(_templateObject4=_taggedTemplateLiteral([` 374 <div id="animation-container" class=`,` lang="en" role="img"> 375 <div id="animation" class=`,' style="background:',`;"> 376 `,` 377 </div> 378 `,` 379 </div> 380 `])),O,F,this.background,this.currentState===PlayerState.Error?y(_templateObject5||(_templateObject5=_taggedTemplateLiteral([' <div class="error">\u26A0\uFE0F</div> ']))):void 0,this.controls?this.renderControls():void 0)}}__decorate([i$1(".animation")],DotLottiePlayer.prototype,"container",void 0),__decorate([e$5()],DotLottiePlayer.prototype,"mode",void 0),__decorate([e$5({type:Boolean})],DotLottiePlayer.prototype,"autoplay",void 0),__decorate([e$5({type:String})],DotLottiePlayer.prototype,"background",void 0),__decorate([e$5({type:Boolean})],DotLottiePlayer.prototype,"controls",void 0),__decorate([e$5({type:Number})],DotLottiePlayer.prototype,"direction",void 0),__decorate([e$5({type:Boolean})],DotLottiePlayer.prototype,"hover",void 0),__decorate([e$5({type:String})],DotLottiePlayer.prototype,"loop",void 0),__decorate([e$5({type:String})],DotLottiePlayer.prototype,"renderer",void 0),__decorate([e$5({type:Number})],DotLottiePlayer.prototype,"speed",void 0),__decorate([e$5({type:String})],DotLottiePlayer.prototype,"src",void 0),__decorate([e$5({type:String})],DotLottiePlayer.prototype,"currentState",void 0),__decorate([e$5()],DotLottiePlayer.prototype,"seeker",void 0),__decorate([e$5()],DotLottiePlayer.prototype,"intermission",void 0),__decorate([e$5({type:String})],DotLottiePlayer.prototype,"activeAnimationId",void 0),customElements.get(ELEMENT_NAME)||e$6(ELEMENT_NAME)(DotLottiePlayer)}).call(this,__webpack_require__(3))}),(function(D,O,F){"use strict";(function(B){/*! 381* The buffer module from node.js, for the browser. 382* 383* @author Feross Aboukhadijeh <http://feross.org> 384* @license MIT 385*/var G=F(38),U=F(39),K=F(40);O.Buffer=W,O.SlowBuffer=gt,O.INSPECT_MAX_BYTES=50,W.TYPED_ARRAY_SUPPORT=B.TYPED_ARRAY_SUPPORT!==void 0?B.TYPED_ARRAY_SUPPORT:X(),O.kMaxLength=q();function X(){try{var Lt=new Uint8Array(1);return Lt.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Lt.foo()===42&&typeof Lt.subarray=="function"&&Lt.subarray(1,1).byteLength===0}catch(yt){return!1}}function q(){return W.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function nt(Lt,yt){if(q()<yt)throw new RangeError("Invalid typed array length");return W.TYPED_ARRAY_SUPPORT?(Lt=new Uint8Array(yt),Lt.__proto__=W.prototype):(Lt===null&&(Lt=new W(yt)),Lt.length=yt),Lt}function W(Lt,yt,ut){if(!W.TYPED_ARRAY_SUPPORT&&!(this instanceof W))return new W(Lt,yt,ut);if(typeof Lt=="number"){if(typeof yt=="string")throw new Error("If encoding is specified then the first argument must be a string");return tt(this,Lt)}return Q(this,Lt,yt,ut)}W.poolSize=8192,W._augment=function(Lt){return Lt.__proto__=W.prototype,Lt};function Q(Lt,yt,ut,Tt){if(typeof yt=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&yt instanceof ArrayBuffer?it(Lt,yt,ut,Tt):typeof yt=="string"?at(Lt,yt,ut):ot(Lt,yt)}W.from=function(Lt,yt,ut){return Q(null,Lt,yt,ut)},W.TYPED_ARRAY_SUPPORT&&(W.prototype.__proto__=Uint8Array.prototype,W.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&W[Symbol.species]===W&&Object.defineProperty(W,Symbol.species,{value:null,configurable:!0}));function rt(Lt){if(typeof Lt!="number")throw new TypeError('"size" argument must be a number');if(Lt<0)throw new RangeError('"size" argument must not be negative')}function J(Lt,yt,ut,Tt){return rt(yt),yt<=0?nt(Lt,yt):ut!==void 0?typeof Tt=="string"?nt(Lt,yt).fill(ut,Tt):nt(Lt,yt).fill(ut):nt(Lt,yt)}W.alloc=function(Lt,yt,ut){return J(null,Lt,yt,ut)};function tt(Lt,yt){if(rt(yt),Lt=nt(Lt,yt<0?0:ft(yt)|0),!W.TYPED_ARRAY_SUPPORT)for(var ut=0;ut<yt;++ut)Lt[ut]=0;return Lt}W.allocUnsafe=function(Lt){return tt(null,Lt)},W.allocUnsafeSlow=function(Lt){return tt(null,Lt)};function at(Lt,yt,ut){if((typeof ut!="string"||ut==="")&&(ut="utf8"),!W.isEncoding(ut))throw new TypeError('"encoding" must be a valid string encoding');var Tt=pt(yt,ut)|0;Lt=nt(Lt,Tt);var Rt=Lt.write(yt,ut);return Rt!==Tt&&(Lt=Lt.slice(0,Rt)),Lt}function Y(Lt,yt){var ut=yt.length<0?0:ft(yt.length)|0;Lt=nt(Lt,ut);for(var Tt=0;Tt<ut;Tt+=1)Lt[Tt]=yt[Tt]&255;return Lt}function it(Lt,yt,ut,Tt){if(yt.byteLength,ut<0||yt.byteLength<ut)throw new RangeError("'offset' is out of bounds");if(yt.byteLength<ut+(Tt||0))throw new RangeError("'length' is out of bounds");return ut===void 0&&Tt===void 0?yt=new Uint8Array(yt):Tt===void 0?yt=new Uint8Array(yt,ut):yt=new Uint8Array(yt,ut,Tt),W.TYPED_ARRAY_SUPPORT?(Lt=yt,Lt.__proto__=W.prototype):Lt=Y(Lt,yt),Lt}function ot(Lt,yt){if(W.isBuffer(yt)){var ut=ft(yt.length)|0;return Lt=nt(Lt,ut),Lt.length===0||yt.copy(Lt,0,0,ut),Lt}if(yt){if(typeof ArrayBuffer!="undefined"&&yt.buffer instanceof ArrayBuffer||"length"in yt)return typeof yt.length!="number"||kt(yt.length)?nt(Lt,0):Y(Lt,yt);if(yt.type==="Buffer"&&K(yt.data))return Y(Lt,yt.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function ft(Lt){if(Lt>=q())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q().toString(16)+" bytes");return Lt|0}function gt(Lt){return+Lt!=Lt&&(Lt=0),W.alloc(+Lt)}W.isBuffer=function(yt){return!!(yt!=null&&yt._isBuffer)},W.compare=function(yt,ut){if(!W.isBuffer(yt)||!W.isBuffer(ut))throw new TypeError("Arguments must be Buffers");if(yt===ut)return 0;for(var Tt=yt.length,Rt=ut.length,Zt=0,ie=Math.min(Tt,Rt);Zt<ie;++Zt)if(yt[Zt]!==ut[Zt]){Tt=yt[Zt],Rt=ut[Zt];break}return Tt<Rt?-1:Rt<Tt?1:0},W.isEncoding=function(yt){switch(String(yt).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},W.concat=function(yt,ut){if(!K(yt))throw new TypeError('"list" argument must be an Array of Buffers');if(yt.length===0)return W.alloc(0);var Tt;if(ut===void 0)for(ut=0,Tt=0;Tt<yt.length;++Tt)ut+=yt[Tt].length;var Rt=W.allocUnsafe(ut),Zt=0;for(Tt=0;Tt<yt.length;++Tt){var ie=yt[Tt];if(!W.isBuffer(ie))throw new TypeError('"list" argument must be an Array of Buffers');ie.copy(Rt,Zt),Zt+=ie.length}return Rt};function pt(Lt,yt){if(W.isBuffer(Lt))return Lt.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(Lt)||Lt instanceof ArrayBuffer))return Lt.byteLength;typeof Lt!="string"&&(Lt=""+Lt);var ut=Lt.length;if(ut===0)return 0;for(var Tt=!1;;)switch(yt){case"ascii":case"latin1":case"binary":return ut;case"utf8":case"utf-8":case void 0:return Ne(Lt).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ut*2;case"hex":return ut>>>1;case"base64":return sn(Lt).length;default:if(Tt)return Ne(Lt).length;yt=(""+yt).toLowerCase(),Tt=!0}}W.byteLength=pt;function vt(Lt,yt,ut){var Tt=!1;if((yt===void 0||yt<0)&&(yt=0),yt>this.length||((ut===void 0||ut>this.length)&&(ut=this.length),ut<=0)||(ut>>>=0,yt>>>=0,ut<=yt))return"";for(Lt||(Lt="utf8");;)switch(Lt){case"hex":return Qt(this,yt,ut);case"utf8":case"utf-8":return Ht(this,yt,ut);case"ascii":return At(this,yt,ut);case"latin1":case"binary":return ue(this,yt,ut);case"base64":return jt(this,yt,ut);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return se(this,yt,ut);default:if(Tt)throw new TypeError("Unknown encoding: "+Lt);Lt=(Lt+"").toLowerCase(),Tt=!0}}W.prototype._isBuffer=!0;function ct(Lt,yt,ut){var Tt=Lt[yt];Lt[yt]=Lt[ut],Lt[ut]=Tt}W.prototype.swap16=function(){var yt=this.length;if(yt%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var ut=0;ut<yt;ut+=2)ct(this,ut,ut+1);return this},W.prototype.swap32=function(){var yt=this.length;if(yt%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var ut=0;ut<yt;ut+=4)ct(this,ut,ut+3),ct(this,ut+1,ut+2);return this},W.prototype.swap64=function(){var yt=this.length;if(yt%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var ut=0;ut<yt;ut+=8)ct(this,ut,ut+7),ct(this,ut+1,ut+6),ct(this,ut+2,ut+5),ct(this,ut+3,ut+4);return this},W.prototype.toString=function(){var yt=this.length|0;return yt===0?"":arguments.length===0?Ht(this,0,yt):vt.apply(this,arguments)},W.prototype.equals=function(yt){if(!W.isBuffer(yt))throw new TypeError("Argument must be a Buffer");return this===yt?!0:W.compare(this,yt)===0},W.prototype.inspect=function(){var yt="",ut=O.INSPECT_MAX_BYTES;return this.length>0&&(yt=this.toString("hex",0,ut).match(/.{2}/g).join(" "),this.length>ut&&(yt+=" ... ")),"<Buffer "+yt+">"},W.prototype.compare=function(yt,ut,Tt,Rt,Zt){if(!W.isBuffer(yt))throw new TypeError("Argument must be a Buffer");if(ut===void 0&&(ut=0),Tt===void 0&&(Tt=yt?yt.length:0),Rt===void 0&&(Rt=0),Zt===void 0&&(Zt=this.length),ut<0||Tt>yt.length||Rt<0||Zt>this.length)throw new RangeError("out of range index");if(Rt>=Zt&&ut>=Tt)return 0;if(Rt>=Zt)return-1;if(ut>=Tt)return 1;if(ut>>>=0,Tt>>>=0,Rt>>>=0,Zt>>>=0,this===yt)return 0;for(var ie=Zt-Rt,le=Tt-ut,be=Math.min(ie,le),De=this.slice(Rt,Zt),Ae=yt.slice(ut,Tt),Fe=0;Fe<be;++Fe)if(De[Fe]!==Ae[Fe]){ie=De[Fe],le=Ae[Fe];break}return ie<le?-1:le<ie?1:0};function dt(Lt,yt,ut,Tt,Rt){if(Lt.length===0)return-1;if(typeof ut=="string"?(Tt=ut,ut=0):ut>2147483647?ut=2147483647:ut<-2147483648&&(ut=-2147483648),ut=+ut,isNaN(ut)&&(ut=Rt?0:Lt.length-1),ut<0&&(ut=Lt.length+ut),ut>=Lt.length){if(Rt)return-1;ut=Lt.length-1}else if(ut<0)if(Rt)ut=0;else return-1;if(typeof yt=="string"&&(yt=W.from(yt,Tt)),W.isBuffer(yt))return yt.length===0?-1:bt(Lt,yt,ut,Tt,Rt);if(typeof yt=="number")return yt=yt&255,W.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?Rt?Uint8Array.prototype.indexOf.call(Lt,yt,ut):Uint8Array.prototype.lastIndexOf.call(Lt,yt,ut):bt(Lt,[yt],ut,Tt,Rt);throw new TypeError("val must be string, number or Buffer")}function bt(Lt,yt,ut,Tt,Rt){var Zt=1,ie=Lt.length,le=yt.length;if(Tt!==void 0&&(Tt=String(Tt).toLowerCase(),Tt==="ucs2"||Tt==="ucs-2"||Tt==="utf16le"||Tt==="utf-16le")){if(Lt.length<2||yt.length<2)return-1;Zt=2,ie/=2,le/=2,ut/=2}function be(tn,rn){return Zt===1?tn[rn]:tn.readUInt16BE(rn*Zt)}var De;if(Rt){var Ae=-1;for(De=ut;De<ie;De++)if(be(Lt,De)===be(yt,Ae===-1?0:De-Ae)){if(Ae===-1&&(Ae=De),De-Ae+1===le)return Ae*Zt}else Ae!==-1&&(De-=De-Ae),Ae=-1}else for(ut+le>ie&&(ut=ie-le),De=ut;De>=0;De--){for(var Fe=!0,hn=0;hn<le;hn++)if(be(Lt,De+hn)!==be(yt,hn)){Fe=!1;break}if(Fe)return De}return-1}W.prototype.includes=function(yt,ut,Tt){return this.indexOf(yt,ut,Tt)!==-1},W.prototype.indexOf=function(yt,ut,Tt){return dt(this,yt,ut,Tt,!0)},W.prototype.lastIndexOf=function(yt,ut,Tt){return dt(this,yt,ut,Tt,!1)};function wt(Lt,yt,ut,Tt){ut=Number(ut)||0;var Rt=Lt.length-ut;Tt?(Tt=Number(Tt),Tt>Rt&&(Tt=Rt)):Tt=Rt;var Zt=yt.length;if(Zt%2!==0)throw new TypeError("Invalid hex string");Tt>Zt/2&&(Tt=Zt/2);for(var ie=0;ie<Tt;++ie){var le=parseInt(yt.substr(ie*2,2),16);if(isNaN(le))return ie;Lt[ut+ie]=le}return ie}function St(Lt,yt,ut,Tt){return on(Ne(yt,Lt.length-ut),Lt,ut,Tt)}function _t(Lt,yt,ut,Tt){return on(Ke(yt),Lt,ut,Tt)}function xt(Lt,yt,ut,Tt){return _t(Lt,yt,ut,Tt)}function Dt(Lt,yt,ut,Tt){return on(sn(yt),Lt,ut,Tt)}function Ft(Lt,yt,ut,Tt){return on(Qe(yt,Lt.length-ut),Lt,ut,Tt)}W.prototype.write=function(yt,ut,Tt,Rt){if(ut===void 0)Rt="utf8",Tt=this.length,ut=0;else if(Tt===void 0&&typeof ut=="string")Rt=ut,Tt=this.length,ut=0;else if(isFinite(ut))ut=ut|0,isFinite(Tt)?(Tt=Tt|0,Rt===void 0&&(Rt="utf8")):(Rt=Tt,Tt=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Zt=this.length-ut;if((Tt===void 0||Tt>Zt)&&(Tt=Zt),yt.length>0&&(Tt<0||ut<0)||ut>this.length)throw new RangeError("Attempt to write outside buffer bounds");Rt||(Rt="utf8");for(var ie=!1;;)switch(Rt){case"hex":return wt(this,yt,ut,Tt);case"utf8":case"utf-8":return St(this,yt,ut,Tt);case"ascii":return _t(this,yt,ut,Tt);case"latin1":case"binary":return xt(this,yt,ut,Tt);case"base64":return Dt(this,yt,ut,Tt);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ft(this,yt,ut,Tt);default:if(ie)throw new TypeError("Unknown encoding: "+Rt);Rt=(""+Rt).toLowerCase(),ie=!0}},W.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function jt(Lt,yt,ut){return yt===0&&ut===Lt.length?G.fromByteArray(Lt):G.fromByteArray(Lt.slice(yt,ut))}function Ht(Lt,yt,ut){ut=Math.min(Lt.length,ut);for(var Tt=[],Rt=yt;Rt<ut;){var Zt=Lt[Rt],ie=null,le=Zt>239?4:Zt>223?3:Zt>191?2:1;if(Rt+le<=ut){var be,De,Ae,Fe;switch(le){case 1:Zt<128&&(ie=Zt);break;case 2:be=Lt[Rt+1],(be&192)===128&&(Fe=(Zt&31)<<6|be&63,Fe>127&&(ie=Fe));break;case 3:be=Lt[Rt+1],De=Lt[Rt+2],(be&192)===128&&(De&192)===128&&(Fe=(Zt&15)<<12|(be&63)<<6|De&63,Fe>2047&&(Fe<55296||Fe>57343)&&(ie=Fe));break;case 4:be=Lt[Rt+1],De=Lt[Rt+2],Ae=Lt[Rt+3],(be&192)===128&&(De&192)===128&&(Ae&192)===128&&(Fe=(Zt&15)<<18|(be&63)<<12|(De&63)<<6|Ae&63,Fe>65535&&Fe<1114112&&(ie=Fe))}}ie===null?(ie=65533,le=1):ie>65535&&(ie-=65536,Tt.push(ie>>>10&1023|55296),ie=56320|ie&1023),Tt.push(ie),Rt+=le}return Wt(Tt)}var Pt=4096;function Wt(Lt){var yt=Lt.length;if(yt<=Pt)return String.fromCharCode.apply(String,Lt);for(var ut="",Tt=0;Tt<yt;)ut+=String.fromCharCode.apply(String,Lt.slice(Tt,Tt+=Pt));return ut}function At(Lt,yt,ut){var Tt="";ut=Math.min(Lt.length,ut);for(var Rt=yt;Rt<ut;++Rt)Tt+=String.fromCharCode(Lt[Rt]&127);return Tt}function ue(Lt,yt,ut){var Tt="";ut=Math.min(Lt.length,ut);for(var Rt=yt;Rt<ut;++Rt)Tt+=String.fromCharCode(Lt[Rt]);return Tt}function Qt(Lt,yt,ut){var Tt=Lt.length;(!yt||yt<0)&&(yt=0),(!ut||ut<0||ut>Tt)&&(ut=Tt);for(var Rt="",Zt=yt;Zt<ut;++Zt)Rt+=ze(Lt[Zt]);return Rt}function se(Lt,yt,ut){for(var Tt=Lt.slice(yt,ut),Rt="",Zt=0;Zt<Tt.length;Zt+=2)Rt+=String.fromCharCode(Tt[Zt]+Tt[Zt+1]*256);return Rt}W.prototype.slice=function(yt,ut){var Tt=this.length;yt=~~yt,ut=ut===void 0?Tt:~~ut,yt<0?(yt+=Tt,yt<0&&(yt=0)):yt>Tt&&(yt=Tt),ut<0?(ut+=Tt,ut<0&&(ut=0)):ut>Tt&&(ut=Tt),ut<yt&&(ut=yt);var Rt;if(W.TYPED_ARRAY_SUPPORT)Rt=this.subarray(yt,ut),Rt.__proto__=W.prototype;else{var Zt=ut-yt;Rt=new W(Zt,void 0);for(var ie=0;ie<Zt;++ie)Rt[ie]=this[ie+yt]}return Rt};function de(Lt,yt,ut){if(Lt%1!==0||Lt<0)throw new RangeError("offset is not uint");if(Lt+yt>ut)throw new RangeError("Trying to access beyond buffer length")}W.prototype.readUIntLE=function(yt,ut,Tt){yt=yt|0,ut=ut|0,Tt||de(yt,ut,this.length);for(var Rt=this[yt],Zt=1,ie=0;++ie<ut&&(Zt*=256);)Rt+=this[yt+ie]*Zt;return Rt},W.prototype.readUIntBE=function(yt,ut,Tt){yt=yt|0,ut=ut|0,Tt||de(yt,ut,this.length);for(var Rt=this[yt+--ut],Zt=1;ut>0&&(Zt*=256);)Rt+=this[yt+--ut]*Zt;return Rt},W.prototype.readUInt8=function(yt,ut){return ut||de(yt,1,this.length),this[yt]},W.prototype.readUInt16LE=function(yt,ut){return ut||de(yt,2,this.length),this[yt]|this[yt+1]<<8},W.prototype.readUInt16BE=function(yt,ut){return ut||de(yt,2,this.length),this[yt]<<8|this[yt+1]},W.prototype.readUInt32LE=function(yt,ut){return ut||de(yt,4,this.length),(this[yt]|this[yt+1]<<8|this[yt+2]<<16)+this[yt+3]*16777216},W.prototype.readUInt32BE=function(yt,ut){return ut||de(yt,4,this.length),this[yt]*16777216+(this[yt+1]<<16|this[yt+2]<<8|this[yt+3])},W.prototype.readIntLE=function(yt,ut,Tt){yt=yt|0,ut=ut|0,Tt||de(yt,ut,this.length);for(var Rt=this[yt],Zt=1,ie=0;++ie<ut&&(Zt*=256);)Rt+=this[yt+ie]*Zt;return Zt*=128,Rt>=Zt&&(Rt-=Math.pow(2,8*ut)),Rt},W.prototype.readIntBE=function(yt,ut,Tt){yt=yt|0,ut=ut|0,Tt||de(yt,ut,this.length);for(var Rt=ut,Zt=1,ie=this[yt+--Rt];Rt>0&&(Zt*=256);)ie+=this[yt+--Rt]*Zt;return Zt*=128,ie>=Zt&&(ie-=Math.pow(2,8*ut)),ie},W.prototype.readInt8=function(yt,ut){return ut||de(yt,1,this.length),this[yt]&128?(255-this[yt]+1)*-1:this[yt]},W.prototype.readInt16LE=function(yt,ut){ut||de(yt,2,this.length);var Tt=this[yt]|this[yt+1]<<8;return Tt&32768?Tt|4294901760:Tt},W.prototype.readInt16BE=function(yt,ut){ut||de(yt,2,this.length);var Tt=this[yt+1]|this[yt]<<8;return Tt&32768?Tt|4294901760:Tt},W.prototype.readInt32LE=function(yt,ut){return ut||de(yt,4,this.length),this[yt]|this[yt+1]<<8|this[yt+2]<<16|this[yt+3]<<24},W.prototype.readInt32BE=function(yt,ut){return ut||de(yt,4,this.length),this[yt]<<24|this[yt+1]<<16|this[yt+2]<<8|this[yt+3]},W.prototype.readFloatLE=function(yt,ut){return ut||de(yt,4,this.length),U.read(this,yt,!0,23,4)},W.prototype.readFloatBE=function(yt,ut){return ut||de(yt,4,this.length),U.read(this,yt,!1,23,4)},W.prototype.readDoubleLE=function(yt,ut){return ut||de(yt,8,this.length),U.read(this,yt,!0,52,8)},W.prototype.readDoubleBE=function(yt,ut){return ut||de(yt,8,this.length),U.read(this,yt,!1,52,8)};function oe(Lt,yt,ut,Tt,Rt,Zt){if(!W.isBuffer(Lt))throw new TypeError('"buffer" argument must be a Buffer instance');if(yt>Rt||yt<Zt)throw new RangeError('"value" argument is out of bounds');if(ut+Tt>Lt.length)throw new RangeError("Index out of range")}W.prototype.writeUIntLE=function(yt,ut,Tt,Rt){if(yt=+yt,ut=ut|0,Tt=Tt|0,!Rt){var Zt=Math.pow(2,8*Tt)-1;oe(this,yt,ut,Tt,Zt,0)}var ie=1,le=0;for(this[ut]=yt&255;++le<Tt&&(ie*=256);)this[ut+le]=yt/ie&255;return ut+Tt},W.prototype.writeUIntBE=function(yt,ut,Tt,Rt){if(yt=+yt,ut=ut|0,Tt=Tt|0,!Rt){var Zt=Math.pow(2,8*Tt)-1;oe(this,yt,ut,Tt,Zt,0)}var ie=Tt-1,le=1;for(this[ut+ie]=yt&255;--ie>=0&&(le*=256);)this[ut+ie]=yt/le&255;return ut+Tt},W.prototype.writeUInt8=function(yt,ut,Tt){return yt=+yt,ut=ut|0,Tt||oe(this,yt,ut,1,255,0),W.TYPED_ARRAY_SUPPORT||(yt=Math.floor(yt)),this[ut]=yt&255,ut+1};function xe(Lt,yt,ut,Tt){yt<0&&(yt=65535+yt+1);for(var Rt=0,Zt=Math.min(Lt.length-ut,2);Rt<Zt;++Rt)Lt[ut+Rt]=(yt&255<<8*(Tt?Rt:1-Rt))>>>(Tt?Rt:1-Rt)*8}W.prototype.writeUInt16LE=function(yt,ut,Tt){return yt=+yt,ut=ut|0,Tt||oe(this,yt,ut,2,65535,0),W.TYPED_ARRAY_SUPPORT?(this[ut]=yt&255,this[ut+1]=yt>>>8):xe(this,yt,ut,!0),ut+2},W.prototype.writeUInt16BE=function(yt,ut,Tt){return yt=+yt,ut=ut|0,Tt||oe(this,yt,ut,2,65535,0),W.TYPED_ARRAY_SUPPORT?(this[ut]=yt>>>8,this[ut+1]=yt&255):xe(this,yt,ut,!1),ut+2};function re(Lt,yt,ut,Tt){yt<0&&(yt=4294967295+yt+1);for(var Rt=0,Zt=Math.min(Lt.length-ut,4);Rt<Zt;++Rt)Lt[ut+Rt]=yt>>>(Tt?Rt:3-Rt)*8&255}W.prototype.writeUInt32LE=function(yt,ut,Tt){return yt=+yt,ut=ut|0,Tt||oe(this,yt,ut,4,4294967295,0),W.TYPED_ARRAY_SUPPORT?(this[ut+3]=yt>>>24,this[ut+2]=yt>>>16,this[ut+1]=yt>>>8,this[ut]=yt&255):re(this,yt,ut,!0),ut+4},W.prototype.writeUInt32BE=function(yt,ut,Tt){return yt=+yt,ut=ut|0,Tt||oe(this,yt,ut,4,4294967295,0),W.TYPED_ARRAY_SUPPORT?(this[ut]=yt>>>24,this[ut+1]=yt>>>16,this[ut+2]=yt>>>8,this[ut+3]=yt&255):re(this,yt,ut,!1),ut+4},W.prototype.writeIntLE=function(yt,ut,Tt,Rt){if(yt=+yt,ut=ut|0,!Rt){var Zt=Math.pow(2,8*Tt-1);oe(this,yt,ut,Tt,Zt-1,-Zt)}var ie=0,le=1,be=0;for(this[ut]=yt&255;++ie<Tt&&(le*=256);)yt<0&&be===0&&this[ut+ie-1]!==0&&(be=1),this[ut+ie]=(yt/le>>0)-be&255;return ut+Tt},W.prototype.writeIntBE=function(yt,ut,Tt,Rt){if(yt=+yt,ut=ut|0,!Rt){var Zt=Math.pow(2,8*Tt-1);oe(this,yt,ut,Tt,Zt-1,-Zt)}var ie=Tt-1,le=1,be=0;for(this[ut+ie]=yt&255;--ie>=0&&(le*=256);)yt<0&&be===0&&this[ut+ie+1]!==0&&(be=1),this[ut+ie]=(yt/le>>0)-be&255;return ut+Tt},W.prototype.writeInt8=function(yt,ut,Tt){return yt=+yt,ut=ut|0,Tt||oe(this,yt,ut,1,127,-128),W.TYPED_ARRAY_SUPPORT||(yt=Math.floor(yt)),yt<0&&(yt=255+yt+1),this[ut]=yt&255,ut+1},W.prototype.writeInt16LE=function(yt,ut,Tt){return yt=+yt,ut=ut|0,Tt||oe(this,yt,ut,2,32767,-32768),W.TYPED_ARRAY_SUPPORT?(this[ut]=yt&255,this[ut+1]=yt>>>8):xe(this,yt,ut,!0),ut+2},W.prototype.writeInt16BE=function(yt,ut,Tt){return yt=+yt,ut=ut|0,Tt||oe(this,yt,ut,2,32767,-32768),W.TYPED_ARRAY_SUPPORT?(this[ut]=yt>>>8,this[ut+1]=yt&255):xe(this,yt,ut,!1),ut+2},W.prototype.writeInt32LE=function(yt,ut,Tt){return yt=+yt,ut=ut|0,Tt||oe(this,yt,ut,4,2147483647,-2147483648),W.TYPED_ARRAY_SUPPORT?(this[ut]=yt&255,this[ut+1]=yt>>>8,this[ut+2]=yt>>>16,this[ut+3]=yt>>>24):re(this,yt,ut,!0),ut+4},W.prototype.writeInt32BE=function(yt,ut,Tt){return yt=+yt,ut=ut|0,Tt||oe(this,yt,ut,4,2147483647,-2147483648),yt<0&&(yt=4294967295+yt+1),W.TYPED_ARRAY_SUPPORT?(this[ut]=yt>>>24,this[ut+1]=yt>>>16,this[ut+2]=yt>>>8,this[ut+3]=yt&255):re(this,yt,ut,!1),ut+4};function Xt(Lt,yt,ut,Tt,Rt,Zt){if(ut+Tt>Lt.length)throw new RangeError("Index out of range");if(ut<0)throw new RangeError("Index out of range")}function Se(Lt,yt,ut,Tt,Rt){return Rt||Xt(Lt,yt,ut,4,34028234663852886e22,-34028234663852886e22),U.write(Lt,yt,ut,Tt,23,4),ut+4}W.prototype.writeFloatLE=function(yt,ut,Tt){return Se(this,yt,ut,!0,Tt)},W.prototype.writeFloatBE=function(yt,ut,Tt){return Se(this,yt,ut,!1,Tt)};function _e(Lt,yt,ut,Tt,Rt){return Rt||Xt(Lt,yt,ut,8,17976931348623157e292,-17976931348623157e292),U.write(Lt,yt,ut,Tt,52,8),ut+8}W.prototype.writeDoubleLE=function(yt,ut,Tt){return _e(this,yt,ut,!0,Tt)},W.prototype.writeDoubleBE=function(yt,ut,Tt){return _e(this,yt,ut,!1,Tt)},W.prototype.copy=function(yt,ut,Tt,Rt){if(Tt||(Tt=0),!Rt&&Rt!==0&&(Rt=this.length),ut>=yt.length&&(ut=yt.length),ut||(ut=0),Rt>0&&Rt<Tt&&(Rt=Tt),Rt===Tt||yt.length===0||this.length===0)return 0;if(ut<0)throw new RangeError("targetStart out of bounds");if(Tt<0||Tt>=this.length)throw new RangeError("sourceStart out of bounds");if(Rt<0)throw new RangeError("sourceEnd out of bounds");Rt>this.length&&(Rt=this.length),yt.length-ut<Rt-Tt&&(Rt=yt.length-ut+Tt);var Zt=Rt-Tt,ie;if(this===yt&&Tt<ut&&ut<Rt)for(ie=Zt-1;ie>=0;--ie)yt[ie+ut]=this[ie+Tt];else if(Zt<1e3||!W.TYPED_ARRAY_SUPPORT)for(ie=0;ie<Zt;++ie)yt[ie+ut]=this[ie+Tt];else Uint8Array.prototype.set.call(yt,this.subarray(Tt,Tt+Zt),ut);return Zt},W.prototype.fill=function(yt,ut,Tt,Rt){if(typeof yt=="string"){if(typeof ut=="string"?(Rt=ut,ut=0,Tt=this.length):typeof Tt=="string"&&(Rt=Tt,Tt=this.length),yt.length===1){var Zt=yt.charCodeAt(0);Zt<256&&(yt=Zt)}if(Rt!==void 0&&typeof Rt!="string")throw new TypeError("encoding must be a string");if(typeof Rt=="string"&&!W.isEncoding(Rt))throw new TypeError("Unknown encoding: "+Rt)}else typeof yt=="number"&&(yt=yt&255);if(ut<0||this.length<ut||this.length<Tt)throw new RangeError("Out of range index");if(Tt<=ut)return this;ut=ut>>>0,Tt=Tt===void 0?this.length:Tt>>>0,yt||(yt=0);var ie;if(typeof yt=="number")for(ie=ut;ie<Tt;++ie)this[ie]=yt;else{var le=W.isBuffer(yt)?yt:Ne(new W(yt,Rt).toString()),be=le.length;for(ie=0;ie<Tt-ut;++ie)this[ie+ut]=le[ie%be]}return this};var Ee=/[^+\/0-9A-Za-z-_]/g;function Ue(Lt){if(Lt=Oe(Lt).replace(Ee,""),Lt.length<2)return"";for(;Lt.length%4!==0;)Lt=Lt+"=";return Lt}function Oe(Lt){return Lt.trim?Lt.trim():Lt.replace(/^\s+|\s+$/g,"")}function ze(Lt){return Lt<16?"0"+Lt.toString(16):Lt.toString(16)}function Ne(Lt,yt){yt=yt||1/0;for(var ut,Tt=Lt.length,Rt=null,Zt=[],ie=0;ie<Tt;++ie){if(ut=Lt.charCodeAt(ie),ut>55295&&ut<57344){if(!Rt){if(ut>56319){(yt-=3)>-1&&Zt.push(239,191,189);continue}else if(ie+1===Tt){(yt-=3)>-1&&Zt.push(239,191,189);continue}Rt=ut;continue}if(ut<56320){(yt-=3)>-1&&Zt.push(239,191,189),Rt=ut;continue}ut=(Rt-55296<<10|ut-56320)+65536}else Rt&&(yt-=3)>-1&&Zt.push(239,191,189);if(Rt=null,ut<128){if((yt-=1)<0)break;Zt.push(ut)}else if(ut<2048){if((yt-=2)<0)break;Zt.push(ut>>6|192,ut&63|128)}
385else if(ut<65536){if((yt-=3)<0)break;Zt.push(ut>>12|224,ut>>6&63|128,ut&63|128)}else if(ut<1114112){if((yt-=4)<0)break;Zt.push(ut>>18|240,ut>>12&63|128,ut>>6&63|128,ut&63|128)}else throw new Error("Invalid code point")}return Zt}function Ke(Lt){for(var yt=[],ut=0;ut<Lt.length;++ut)yt.push(Lt.charCodeAt(ut)&255);return yt}function Qe(Lt,yt){for(var ut,Tt,Rt,Zt=[],ie=0;ie<Lt.length&&!((yt-=2)<0);++ie)ut=Lt.charCodeAt(ie),Tt=ut>>8,Rt=ut%256,Zt.push(Rt),Zt.push(Tt);return Zt}function sn(Lt){return G.toByteArray(Ue(Lt))}function on(Lt,yt,ut,Tt){for(var Rt=0;Rt<Tt&&!(Rt+ut>=yt.length||Rt>=Lt.length);++Rt)yt[Rt+ut]=Lt[Rt];return Rt}function kt(Lt){return Lt!==Lt}}).call(this,F(3))}),(function(D,O,F){"use strict";O.byteLength=W,O.toByteArray=rt,O.fromByteArray=at;for(var B=[],G=[],U=typeof Uint8Array!="undefined"?Uint8Array:Array,K="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",X=0,q=K.length;X<q;++X)B[X]=K[X],G[K.charCodeAt(X)]=X;G[45]=62,G[95]=63;function nt(Y){var it=Y.length;if(it%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var ot=Y.indexOf("=");ot===-1&&(ot=it);var ft=ot===it?0:4-ot%4;return[ot,ft]}function W(Y){var it=nt(Y),ot=it[0],ft=it[1];return(ot+ft)*3/4-ft}function Q(Y,it,ot){return(it+ot)*3/4-ot}function rt(Y){var it,ot=nt(Y),ft=ot[0],gt=ot[1],pt=new U(Q(Y,ft,gt)),vt=0,ct=gt>0?ft-4:ft,dt;for(dt=0;dt<ct;dt+=4)it=G[Y.charCodeAt(dt)]<<18|G[Y.charCodeAt(dt+1)]<<12|G[Y.charCodeAt(dt+2)]<<6|G[Y.charCodeAt(dt+3)],pt[vt++]=it>>16&255,pt[vt++]=it>>8&255,pt[vt++]=it&255;return gt===2&&(it=G[Y.charCodeAt(dt)]<<2|G[Y.charCodeAt(dt+1)]>>4,pt[vt++]=it&255),gt===1&&(it=G[Y.charCodeAt(dt)]<<10|G[Y.charCodeAt(dt+1)]<<4|G[Y.charCodeAt(dt+2)]>>2,pt[vt++]=it>>8&255,pt[vt++]=it&255),pt}function J(Y){return B[Y>>18&63]+B[Y>>12&63]+B[Y>>6&63]+B[Y&63]}function tt(Y,it,ot){for(var ft,gt=[],pt=it;pt<ot;pt+=3)ft=(Y[pt]<<16&16711680)+(Y[pt+1]<<8&65280)+(Y[pt+2]&255),gt.push(J(ft));return gt.join("")}function at(Y){for(var it,ot=Y.length,ft=ot%3,gt=[],pt=16383,vt=0,ct=ot-ft;vt<ct;vt+=pt)gt.push(tt(Y,vt,vt+pt>ct?ct:vt+pt));return ft===1?(it=Y[ot-1],gt.push(B[it>>2]+B[it<<4&63]+"==")):ft===2&&(it=(Y[ot-2]<<8)+Y[ot-1],gt.push(B[it>>10]+B[it>>4&63]+B[it<<2&63]+"=")),gt.join("")}}),(function(D,O){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */O.read=function(F,B,G,U,K){var X,q,nt=K*8-U-1,W=(1<<nt)-1,Q=W>>1,rt=-7,J=G?K-1:0,tt=G?-1:1,at=F[B+J];for(J+=tt,X=at&(1<<-rt)-1,at>>=-rt,rt+=nt;rt>0;X=X*256+F[B+J],J+=tt,rt-=8);for(q=X&(1<<-rt)-1,X>>=-rt,rt+=U;rt>0;q=q*256+F[B+J],J+=tt,rt-=8);if(X===0)X=1-Q;else{if(X===W)return q?NaN:(at?-1:1)*(1/0);q=q+Math.pow(2,U),X=X-Q}return(at?-1:1)*q*Math.pow(2,X-U)},O.write=function(F,B,G,U,K,X){var q,nt,W,Q=X*8-K-1,rt=(1<<Q)-1,J=rt>>1,tt=K===23?Math.pow(2,-24)-Math.pow(2,-77):0,at=U?0:X-1,Y=U?1:-1,it=B<0||B===0&&1/B<0?1:0;for(B=Math.abs(B),isNaN(B)||B===1/0?(nt=isNaN(B)?1:0,q=rt):(q=Math.floor(Math.log(B)/Math.LN2),B*(W=Math.pow(2,-q))<1&&(q--,W*=2),q+J>=1?B+=tt/W:B+=tt*Math.pow(2,1-J),B*W>=2&&(q++,W/=2),q+J>=rt?(nt=0,q=rt):q+J>=1?(nt=(B*W-1)*Math.pow(2,K),q=q+J):(nt=B*Math.pow(2,J-1)*Math.pow(2,K),q=0));K>=8;F[G+at]=nt&255,at+=Y,nt/=256,K-=8);for(q=q<<K|nt,Q+=K;Q>0;F[G+at]=q&255,at+=Y,q/=256,Q-=8);F[G+at-Y]|=it*128}}),(function(D,O){var F={}.toString;D.exports=Array.isArray||function(B){return F.call(B)=="[object Array]"}}),(function(D,O,F){(function(B){var G=typeof B!="undefined"&&B||typeof self!="undefined"&&self||window,U=Function.prototype.apply;O.setTimeout=function(){return new K(U.call(setTimeout,G,arguments),clearTimeout)},O.setInterval=function(){return new K(U.call(setInterval,G,arguments),clearInterval)},O.clearTimeout=O.clearInterval=function(X){X&&X.close()};function K(X,q){this._id=X,this._clearFn=q}K.prototype.unref=K.prototype.ref=function(){},K.prototype.close=function(){this._clearFn.call(G,this._id)},O.enroll=function(X,q){clearTimeout(X._idleTimeoutId),X._idleTimeout=q},O.unenroll=function(X){clearTimeout(X._idleTimeoutId),X._idleTimeout=-1},O._unrefActive=O.active=function(X){clearTimeout(X._idleTimeoutId);var q=X._idleTimeout;q>=0&&(X._idleTimeoutId=setTimeout(function(){X._onTimeout&&X._onTimeout()},q))},F(42),O.setImmediate=typeof self!="undefined"&&self.setImmediate||typeof B!="undefined"&&B.setImmediate||this&&this.setImmediate,O.clearImmediate=typeof self!="undefined"&&self.clearImmediate||typeof B!="undefined"&&B.clearImmediate||this&&this.clearImmediate}).call(this,F(3))}),(function(D,O,F){(function(B,G){(function(U,K){"use strict";if(U.setImmediate)return;var X=1,q={},nt=!1,W=U.document,Q;function rt(ct){typeof ct!="function"&&(ct=new Function(""+ct));for(var dt=new Array(arguments.length-1),bt=0;bt<dt.length;bt++)dt[bt]=arguments[bt+1];var wt={callback:ct,args:dt};return q[X]=wt,Q(X),X++}function J(ct){delete q[ct]}function tt(ct){var dt=ct.callback,bt=ct.args;switch(bt.length){case 0:dt();break;case 1:dt(bt[0]);break;case 2:dt(bt[0],bt[1]);break;case 3:dt(bt[0],bt[1],bt[2]);break;default:dt.apply(K,bt);break}}function at(ct){if(nt)setTimeout(at,0,ct);else{var dt=q[ct];if(dt){nt=!0;try{tt(dt)}finally{J(ct),nt=!1}}}}function Y(){Q=function(ct){G.nextTick(function(){at(ct)})}}function it(){if(U.postMessage&&!U.importScripts){var ct=!0,dt=U.onmessage;return U.onmessage=function(){ct=!1},U.postMessage("","*"),U.onmessage=dt,ct}}function ot(){var ct="setImmediate$"+Math.random()+"$",dt=function(bt){bt.source===U&&t
385ypeof bt.data=="string"&&bt.data.indexOf(ct)===0&&at(+bt.data.slice(ct.length))};U.addEventListener?U.addEventListener("message",dt,!1):U.attachEvent("onmessage",dt),Q=function(bt){U.postMessage(ct+bt,"*")}}function ft(){var ct=new MessageChannel;ct.port1.onmessage=function(dt){var bt=dt.data;at(bt)},Q=function(dt){ct.port2.postMessage(dt)}}function gt(){var ct=W.documentElement;Q=function(dt){var bt=W.createElement("script");bt.onreadystatechange=function(){at(dt),bt.onreadystatechange=null,ct.removeChild(bt),bt=null},ct.appendChild(bt)}}function pt(){Q=function(ct){setTimeout(at,0,ct)}}var vt=Object.getPrototypeOf&&Object.getPrototypeOf(U);vt=vt&&vt.setTimeout?vt:U,{}.toString.call(U.process)==="[object process]"?Y():it()?ot():U.MessageChannel?ft():W&&"onreadystatechange"in W.createElement("script")?gt():pt(),vt.setImmediate=rt,vt.clearImmediate=J})(typeof self=="undefined"?typeof B=="undefined"?this:B:self)}).call(this,F(3),F(20))})]);})(); 386 387//# sourceMappingURL=index.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.