PageSourceSearch

https://landshut77.de/js/main.js?id=d84136fb6fcb155369a5

js landshut77.de collected 2026-10-02 20:12:59 UTC 762,251 bytes, 2 lines download raw bytes

1/*! For license information please see main.js.LICENSE.txt */
2!function(){var t,e,n={5307:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assertIsGtmId=e.GTM_ID_PATTERN=void 0,e.GTM_ID_PATTERN=/^GTM-[0-9A-Z]+$/,e.assertIsGtmId=function(t){if("string"!=typeof t||!e.GTM_ID_PATTERN.test(t))throw new Error(`GTM-ID '${t}' is not valid`)}},4816:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GtmSupport=void 0;const r=n(5307),i=n(9252);e.GtmSupport=class{constructor(t){if(this.isInBrowserContext=()=>"undefined"!=typeof window,Array.isArray(t.id))for(const e of t.id)"string"==typeof e?r.assertIsGtmId(e):r.assertIsGtmId(e.id);else r.assertIsGtmId(t.id);this.id=t.id,this.options={enabled:!0,debug:!1,loadScript:!0,defer:!1,compatibility:!1,...t},delete this.options.id}enabled(){var t;return null===(t=this.options.enabled)||void 0===t||t}enable(t=!0){this.options.enabled=t,this.isInBrowserContext()&&t&&!i.hasScript()&&this.options.loadScript&&(Array.isArray(this.id)?this.id.forEach((t=>{"string"==typeof t?i.loadScript(t,{...this.options}):i.loadScript(t.id,{...this.options,queryParams:t.queryParams})})):i.loadScript(this.id,{...this.options}))}debugEnabled(){var t;return null!==(t=this.options.debug)&&void 0!==t&&t}debug(t){this.options.debug=t}dataLayer(){var t;return!(!this.isInBrowserContext()||!this.options.enabled)&&(window.dataLayer=null!==(t=window.dataLayer)&&void 0!==t?t:[])}trackView(t,e,n={}){var r;if(this.options.debug&&console.log("[GTM-Support]: Dispatching TrackView",{screenName:t,path:e}),this.isInBrowserContext()&&this.options.enabled){(window.dataLayer=null!==(r=window.dataLayer)&&void 0!==r?r:[]).push({...n,event:"content-view","content-name":e,"content-view-name":t})}}trackEvent({event:t,category:e=null,action:n=null,label:r=null,value:i=null,noninteraction:o=!1,...s}={}){var a;if(this.options.debug&&console.log("[GTM-Support]: Dispatching event",{event:t,category:e,action:n,label:r,value:i,...s}),this.isInBrowserContext()&&this.options.enabled){(window.dataLayer=null!==(a=window.dataLayer)&&void 0!==a?a:[]).push({event:null!=t?t:"interaction",target:e,action:n,"target-properties":r,value:i,"interaction-type":o,...s})}}}},6477:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.loadScript=e.hasScript=e.GtmSupport=e.GTM_ID_PATTERN=e.assertIsGtmId=void 0;var r=n(5307);Object.defineProperty(e,"assertIsGtmId",{enumerable:!0,get:function(){return r.assertIsGtmId}}),Object.defineProperty(e,"GTM_ID_PATTERN",{enumerable:!0,get:function(){return r.GTM_ID_PATTERN}});var i=n(4816);Object.defineProperty(e,"GtmSupport",{enumerable:!0,get:function(){return i.GtmSupport}});var o=n(9252);Object.defineProperty(e,"hasScript",{enumerable:!0,get:function(){return o.hasScript}}),Object.defineProperty(e,"loadScript",{enumerable:!0,get:function(){return o.loadScript}})},9252:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hasScript=e.loadScript=void 0,e.loadScript=function(t,e){var n,r,i;const o=document,s=o.createElement("script");if(window.dataLayer=null!==(n=window.dataLayer)&&void 0!==n?n:[],null===(r=window.dataLayer)||void 0===r||r.push({event:"gtm.js","gtm.start":(new Date).getTime()}),!t)return;s.async=!e.defer,s.defer=Boolean(e.defer||e.compatibility),e.nonce&&(s.nonce=e.nonce);const a=new URLSearchParams({id:t,...null!==(i=e.queryParams)&&void 0!==i?i:{}});s.src=`https://www.googletagmanager.com/gtm.js?${a}`,o.body.appendChild(s)},e.hasScript=function(){return Array.from(document.getElementsByTagName("script")).some((t=>t.src.includes("googletagmanager.com/gtm.js")))}},7147:function(t,e,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.useGtm=e.GtmPlugin=e.loadScript=e.hasScript=e.GtmSupport=e.assertIsGtmId=void 0;var i,o=n(6477);Object.defineProperty(e,"GtmPlugin",{enumerable:!0,get:function(){return o.GtmSupport}});var s={install:function(t,e){void 0===e&&(e={id:""}),e=r({trackOnNextTick:!1},e),i=new o.GtmSupport(e),t.prototype.$gtm=t.gtm=i,e.vueRouter&&function(t,e,n,r){void 0===n&&(n=[]);if(!e)return void console.warn("[VueGtm]: You tried to register 'vueRouter' for vue-gtm, but 'vue-router' was not found.");e.afterEach((function(o,s){var a,u,l;if(!("string"!=typeof o.name||Array.isArray(n)&&n.includes(o.name)||"function"==typeof n&&n(o,s))){var c=o.meta&&"string"==typeof o.meta.gtm&&o.meta.gtm?o.meta.gtm:o.name,h=null!==(u=null===(a=o.meta)||void 0===a?void 0:a.gtmAdditionalEventData)&&void 0!==u?u:{},f=null!==(l=e.options.base)&&void 0!==l?l:"";f.endsWith("/")||(f+="/"),f+=o.fullPath.startsWith("/")?o.fullPath.substr(1):o.fullPath,r?t.nextTick((function(){null==i||i.trackView(c,f,h)})):null==i||i.trackView(c,f,h)}}))}(t,e.vueRouter,e.ignoredViews,e.trackOnNextTick),i.options.enabled&&i.options.loadScript&&(Array.isArray(e.id)?e.id.forEac
2h((function(t){if("string"==typeof t)o.loadScript(t,e);else{var n=r({},e);null!=t.queryParams&&(n.queryParams=r(r({},n.queryParams),t.queryParams)),o.loadScript(t.id,n)}})):o.loadScript(e.id,e))}},a=n(6477);Object.defineProperty(e,"assertIsGtmId",{enumerable:!0,get:function(){return a.assertIsGtmId}}),Object.defineProperty(e,"GtmSupport",{enumerable:!0,get:function(){return a.GtmSupport}}),Object.defineProperty(e,"hasScript",{enumerable:!0,get:function(){return a.hasScript}}),Object.defineProperty(e,"loadScript",{enumerable:!0,get:function(){return a.loadScript}}),e.default=s,e.useGtm=function(){return i}},5808:function(t,e){"use strict";var n=new(window.AudioContext||window.webkitAudioContext);e.Z={loadSound:function(t,e=null){var r={volume:1,audioBuffer:null},i=new XMLHttpRequest;return i.open("GET",t,!0),i.responseType="arraybuffer",i.onload=()=>{n.decodeAudioData(i.response,(t=>r.audioBuffer=t)),e&&e()},i.send(),r},playSound:function(t,e=!1,r=null){if(!t.audioBuffer)return!1;var i=n.createBufferSource();if(!i)return!1;if(i.buffer=t.audioBuffer,i.start||(i.start=i.noteOn),i.loop=e,!i.start)return!1;var o=n.createGain();return o.gain.value=r||t.volume,i.connect(o),o.connect(n.destination),i.start(0),t.gainNode=o,!0},stopSound:function(t){t.gainNode&&(t.gainNode.gain.value=0)},setSoundVolume:function(t,e){t.volume=e,t.gainNode&&(t.gainNode.gain.value=e)},fadeOutTo:function(t,e){if(t&&t.gainNode&&t.gainNode.gain){var n=setInterval((function(){t.gainNode.gain.value>e?t.gainNode.gain.value=Math.round(100*(t.gainNode.gain.value-.1))/100:(clearInterval(n),window._fadingOut=!1)}),50);return n}},fadeInTo:function(t,e){if(t&&t.gainNode&&t.gainNode.gain){var n=setInterval((function(){t.gainNode.gain.value<=e?t.gainNode.gain.value=Math.round(100*(t.gainNode.gain.value+.1))/100:(clearInterval(n),window._fadingIn=!1)}),50);return n}}}},2042:function(t,e,n){"use strict";function r(t){const e=window.pageYOffset;let n,r=null;const i=function(o){r||(r=o);const s=o-r,a=Math.min(s/t,1);window.scrollTo(0,e+0*a),s<t?n=window.requestAnimationFrame(i):window.cancelAnimationFrame(n)};n=window.requestAnimationFrame(i)}function i(t){const e=window.location.pathname.split("/")[1];if(e&&t.includes(e))return e;const n=navigator.language.substring(0,2);return n&&t.includes(n)?n:t[0]}function o(t){let e=new Date(1e3*t).toISOString().substr(11,8);return 0===e.indexOf("00:")?e.substr(3):e}function s(t){var e=!1;try{var n=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassive",null,n),window.removeEventListener("testPassive",null,n)}catch(t){}var r="onwheel"in document.createElement("div")?"wheel":"mousewheel",i=!!e&&{passive:!1};document.addEventListener(r,t,i)}function a(t){document.removeEventListener("mousewheel",t,!1),document.removeEventListener("wheel",t,!1)}function u(t){document.addEventListener("touchstart",t),document.addEventListener("touchmove",t,{passive:!1})}function l(t){document.removeEventListener("touchstart",t,!1),document.removeEventListener("touchmove",t,!1)}function c(){for(var t="landshut77=",e=decodeURIComponent(document.cookie).split(";"),n=0;n<e.length;n++){for(var r=e[n];" "==r.charAt(0);)r=r.substring(1);if(0==r.indexOf(t))return r.substring(t.length,r.length)}return""}function h(t){var e,n=new Date,r="",i=window.location.hostname;n.setTime(n.getTime()+31536e6),e="expires="+n.toUTCString(),i&&(r="domain="+i),document.cookie="landshut77="+t+";"+e+";"+r+";path=/"}n.d(e,{qI:function(){return r},Jb:function(){return i},qq:function(){return o},n:function(){return s},VF:function(){return a},BW:function(){return u},Yn:function(){return l},ej:function(){return c},d8:function(){return h}})},4583:function(t,e,n){"use strict";var r={};n.r(r),n.d(r,{BaseTextureCache:function(){return pd},CanvasRenderTarget:function(){return gd},DATA_URI:function(){return bd},EventEmitter:function(){return Df()},ProgramCache:function(){return fd},TextureCache:function(){return dd},clearTextureCache:function(){return md},correctBlendMode:function(){return qf},createIndicesForQuads:function(){return Qf},decomposeDataUri:function(){return xd},deprecation:function(){return hd},destroyTextureCache:function(){return vd},determineCrossOrigin:function(){return Td},earcut:function(){return Nf()},getBufferType:function(){return td},getResolutionOfUrl:function(){return Ed},hex2rgb:function(){return zf},hex2string:function(){return Yf},interleaveTypedArrays:function(){return nd},isMobile:function(){return ff},isPow2:function(){return id},isWebGLSupported:function(){return jf},log2:function(){return od},nextPow2:function(){return rd},premultiplyBlendMode:function(){return Wf},premultiplyRgba:function(){return Zf},premultiplyTint:function(){return Kf},premultiplyTintToRgba:function(){return Jf},removeItems:function(){return sd},rgb2hex:function(){return $f},sayHello:function(){return Xf},sign:function(){return ad},skipHello:function(){return Gf},string2hex:function(){return Vf},trimCanvas:function(){return yd},uid:function(){return ld},url:function(){return Ff}});n(3948);var i=Object.freeze({});function o(t){return null==t}function s(t){return null!=t}function a(t){return!0===t}function u(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function l(t){return null!==t&&"object"==typeof t}var c=Object.prototype.toString;function h(t){return"[object Object]"===c.call(t)}function f(t){return"[object RegExp]"===c.call(t)}function d(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}
vendor: 8,422 bytes, line 2
2function p(t){return s(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function v(t){return null==t?"":Array.isArray(t)||h(t)&&t.toString===c?JSON.stringify(t,null,2):String(t)}function m(t){var e=parseFloat(t);return isNaN(e)?t:e}function g(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}var y=g("slot,component",!0),_=g("key,ref,slot,slot-scope,is");function b(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var x=Object.prototype.hasOwnProperty;function T(t,e){return x.call(t,e)}function E(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var w=/-(\w)/g,S=E((function(t){return t.replace(w,(function(t,e){return e?e.toUpperCase():""}))})),A=E((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),O=/\B([A-Z])/g,R=E((function(t){return t.replace(O,"-$1").toLowerCase()}));var P=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function C(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function I(t,e){for(var n in e)t[n]=e[n];return t}function M(t){for(var e={},n=0;n<t.length;n++)t[n]&&I(e,t[n]);return e}function D(t,e,n){}var L=function(t,e,n){return!1},N=function(t){return t};function k(t,e){if(t===e)return!0;var n=l(t),r=l(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var i=Array.isArray(t),o=Array.isArray(e);if(i&&o)return t.length===e.length&&t.every((function(t,n){return k(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(i||o)return!1;var s=Object.keys(t),a=Object.keys(e);return s.length===a.length&&s.every((function(n){return k(t[n],e[n])}))}catch(t){return!1}}function F(t,e){for(var n=0;n<t.length;n++)if(k(t[n],e))return n;return-1}function B(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var U="data-server-rendered",G=["component","directive","filter"],X=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],j={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:L,isReservedAttr:L,isUnknownElement:L,getTagNamespace:D,parsePlatformTagName:N,mustUseProp:L,async:!0,_lifecycleHooks:X},H=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function z(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function Y(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var V=new RegExp("[^"+H.source+".$_\\d]");var $,W="__proto__"in{},q="undefined"!=typeof window,Z="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,K=Z&&WXEnvironment.platform.toLowerCase(),J=q&&window.navigator.userAgent.toLowerCase(),Q=J&&/msie|trident/.test(J),tt=J&&J.indexOf("msie 9.0")>0,et=J&&J.indexOf("edge/")>0,nt=(J&&J.indexOf("android"),J&&/iphone|ipad|ipod|ios/.test(J)||"ios"===K),rt=(J&&/chrome\/\d+/.test(J),J&&/phantomjs/.test(J),J&&J.match(/firefox\/(\d+)/)),it={}.watch,ot=!1;if(q)try{var st={};Object.defineProperty(st,"passive",{get:function(){ot=!0}}),window.addEventListener("test-passive",null,st)}catch(nl){}var at=function(){return void 0===$&&($=!q&&!Z&&void 0!==n.g&&(n.g.process&&"server"===n.g.process.env.VUE_ENV)),$},ut=q&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function lt(t){return"function"==typeof t&&/native code/.test(t.toString())}var ct,ht="undefined"!=typeof Symbol&&lt(Symbol)&&"undefined"!=typeof Reflect&&lt(Reflect.ownKeys);ct="undefined"!=typeof Set&&lt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ft=D,dt=0,pt=function(){this.id=dt++,this.subs=[]};pt.prototype.addSub=function(t){this.subs.push(t)},pt.prototype.removeSub=function(t){b(this.subs,t)},pt.prototype.depend=function(){pt.target&&pt.target.addDep(this)},pt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e<n;e++)t[e].update()},pt.target=null;var vt=[];function mt(t){vt.push(t),pt.target=t}function gt(){vt.pop(),pt.target=vt[vt.length-1]}var yt=function(t,e,n,r,i,o,s,a){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=a,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},_t={child:{configurable:!0}};_t.child.get=function(){return this.componentInstance},Object.defineProperties(yt.prototype,_t);var bt=function(t){void 0===t&&(t="");var e=new yt;return e.text=t,e.isComment=!0,e};function xt(t){return new yt(void 0,void 0,void 0,String(t))}function Tt(t){var e=new yt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var Et=Array.prototype,wt=Object.create(Et);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(t){var e=Et[t];Y(wt,t,(function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i,o=e.apply(this,n),s=this.__ob__;switch(t){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&s.observeArray(i),s.dep.notify(),o}))}));var St=Object.getOwnPropertyNames(wt),At=!0;function Ot(t){At=t}var Rt=function(t){this.value=t,this.dep=new pt,this.vmCount=0,Y(t,"__ob__",this),Array.isArray(t)?(W?function(t,e){t.__proto__=e}(t,wt):function(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];Y(t,o,e[o])}}(t,wt,St),this.observeArray(t)):this.walk(t)};function Pt(t,e){var n;if(l(t)&&!(t instanceof yt))return T(t,"__ob__")&&t.__ob__ instanceof Rt?n=t.__ob__:At&&!at()&&(Array.isArray(t)||h(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Rt(t)),e&&n&&n.vmCount++,n}function Ct(t,e,n,r,i){var o=new pt,s=Object.getOwnPropertyDescriptor(t,e);if(!s||!1!==s.configurable){var a=s&&s.get,u=s&&s.set;a&&!u||2!==arguments.length||(n=t[e]);var l=!i&&Pt(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=a?a.call(t):n;return pt.target&&(o.depend(),l&&(l.dep.depend(),Array.isArray(e)&&Dt(e))),e},set:function(e){var r=a?a.call(t):n;e===r||e!=e&&r!=r||a&&!u||(u?u.call(t,e):n=e,l=!i&&Pt(e),o.notify())}})}}function It(t,e,n){if(Array.isArray(t)&&d(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(Ct(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function Mt(t,e){if(Array.isArray(t)&&d(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||T(t,e)&&(delete t[e],n&&n.dep.notify())}}function Dt(t){for(var e=void 0,n=0,r=t.length;n<r;n++)(e=t[n])&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&Dt(e)}Rt.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)Ct(t,e[n])},Rt.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Pt(t[e])};var Lt=j.optionMergeStrategies;function Nt(t,e){if(!e)return t;for(var n,r,i,o=ht?Reflect.ownKeys(e):Object.keys(e),s=0;s<o.length;s++)"__ob__"!==(n=o[s])&&(r=t[n],i=e[n],T(t,n)?r!==i&&h(r)&&h(i)&&Nt(r,i):It(t,n,i));return t}function kt(t,e,n){return n?function(){var r="function"==typeof e?e.call(n,n):e,i="function"==typeof t?t.call(n,n):t;return r?Nt(r,i):i}:e?t?function(){return Nt("function"==typeof e?e.call(this,this):e,"function"==typeof t?t.call(this,this):t)}:e:t}function Ft(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(n):n}function Bt(t,e,n,r){var i=Object.create(t||null);return e?I(i,e):i}Lt.data=function(t,e,n){return n?kt(t,e,n):e&&"function"!=typeof e?t:kt(t,e)}
vendor: 16,781 bytes, line 2
2,X.forEach((function(t){Lt[t]=Ft})),G.forEach((function(t){Lt[t+"s"]=Bt})),Lt.watch=function(t,e,n,r){if(t===it&&(t=void 0),e===it&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var i={};for(var o in I(i,t),e){var s=i[o],a=e[o];s&&!Array.isArray(s)&&(s=[s]),i[o]=s?s.concat(a):Array.isArray(a)?a:[a]}return i},Lt.props=Lt.methods=Lt.inject=Lt.computed=function(t,e,n,r){if(!t)return e;var i=Object.create(null);return I(i,t),e&&I(i,e),i},Lt.provide=kt;var Ut=function(t,e){return void 0===e?t:e};function Gt(t,e,n){if("function"==typeof e&&(e=e.options),function(t,e){var n=t.props;if(n){var r,i,o={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(i=n[r])&&(o[S(i)]={type:null});else if(h(n))for(var s in n)i=n[s],o[S(s)]=h(i)?i:{type:i};t.props=o}}(e),function(t,e){var n=t.inject;if(n){var r=t.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(h(n))for(var o in n){var s=n[o];r[o]=h(s)?I({from:o},s):{from:s}}}}(e),function(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"==typeof r&&(e[n]={bind:r,update:r})}}(e),!e._base&&(e.extends&&(t=Gt(t,e.extends,n)),e.mixins))for(var r=0,i=e.mixins.length;r<i;r++)t=Gt(t,e.mixins[r],n);var o,s={};for(o in t)a(o);for(o in e)T(t,o)||a(o);function a(r){var i=Lt[r]||Ut;s[r]=i(t[r],e[r],n,r)}return s}function Xt(t,e,n,r){if("string"==typeof n){var i=t[e];if(T(i,n))return i[n];var o=S(n);if(T(i,o))return i[o];var s=A(o);return T(i,s)?i[s]:i[n]||i[o]||i[s]}}function jt(t,e,n,r){var i=e[t],o=!T(n,t),s=n[t],a=Yt(Boolean,i.type);if(a>-1)if(o&&!T(i,"default"))s=!1;else if(""===s||s===R(t)){var u=Yt(String,i.type);(u<0||a<u)&&(s=!0)}if(void 0===s){s=function(t,e,n){if(!T(e,"default"))return;var r=e.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n])return t._props[n];return"function"==typeof r&&"Function"!==Ht(e.type)?r.call(t):r}(r,i,t);var l=At;Ot(!0),Pt(s),Ot(l)}return s}function Ht(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function zt(t,e){return Ht(t)===Ht(e)}function Yt(t,e){if(!Array.isArray(e))return zt(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(zt(e[n],t))return n;return-1}function Vt(t,e,n){mt();try{if(e)for(var r=e;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(r,t,e,n))return}catch(t){Wt(t,r,"errorCaptured hook")}}Wt(t,e,n)}finally{gt()}}function $t(t,e,n,r,i){var o;try{(o=n?t.apply(e,n):t.call(e))&&!o._isVue&&p(o)&&!o._handled&&(o.catch((function(t){return Vt(t,r,i+" (Promise/async)")})),o._handled=!0)}catch(t){Vt(t,r,i)}return o}function Wt(t,e,n){if(j.errorHandler)try{return j.errorHandler.call(null,t,e,n)}catch(e){e!==t&&qt(e,null,"config.errorHandler")}qt(t,e,n)}function qt(t,e,n){if(!q&&!Z||"undefined"==typeof console)throw t;console.error(t)}var Zt,Kt=!1,Jt=[],Qt=!1;function te(){Qt=!1;var t=Jt.slice(0);Jt.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&&lt(Promise)){var ee=Promise.resolve();Zt=function(){ee.then(te),nt&&setTimeout(D)},Kt=!0}else if(Q||"undefined"==typeof MutationObserver||!lt(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Zt="undefined"!=typeof setImmediate&&lt(setImmediate)?function(){setImmediate(te)}:function(){setTimeout(te,0)};else{var ne=1,re=new MutationObserver(te),ie=document.createTextNode(String(ne));re.observe(ie,{characterData:!0}),Zt=function(){ne=(ne+1)%2,ie.data=String(ne)},Kt=!0}function oe(t,e){var n;if(Jt.push((function(){if(t)try{t.call(e)}catch(t){Vt(t,e,"nextTick")}else n&&n(e)})),Qt||(Qt=!0,Zt()),!t&&"undefined"!=typeof Promise)return new Promise((function(t){n=t}))}var se=new ct;function ae(t){ue(t,se),se.clear()}function ue(t,e){var n,r,i=Array.isArray(t);if(!(!i&&!l(t)||Object.isFrozen(t)||t instanceof yt)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(i)for(n=t.length;n--;)ue(t[n],e);else for(n=(r=Object.keys(t)).length;n--;)ue(t[r[n]],e)}}var le=E((function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),r="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=r?t.slice(1):t,once:n,capture:r,passive:e}}));function ce(t,e){function n(){var t=arguments,r=n.fns;if(!Array.isArray(r))return $t(r,null,arguments,e,"v-on handler");for(var i=r.slice(),o=0;o<i.length;o++)$t(i[o],null,t,e,"v-on handler")}return n.fns=t,n}function he(t,e,n,r,i,s){var u,l,c,h;for(u in t)l=t[u],c=e[u],h=le(u),o(l)||(o(c)?(o(l.fns)&&(l=t[u]=ce(l,s)),a(h.once)&&(l=t[u]=i(h.name,l,h.capture)),n(h.name,l,h.capture,h.passive,h.params)):l!==c&&(c.fns=l,t[u]=c));for(u in e)o(t[u])&&r((h=le(u)).name,e[u],h.capture)}function fe(t,e,n){var r;t instanceof yt&&(t=t.data.hook||(t.data.hook={}));var i=t[e];function u(){n.apply(this,arguments),b(r.fns,u)}o(i)?r=ce([u]):s(i.fns)&&a(i.merged)?(r=i).fns.push(u):r=ce([i,u]),r.merged=!0,t[e]=r}function de(t,e,n,r,i){if(s(e)){if(T(e,n))return t[n]=e[n],i||delete e[n],!0;if(T(e,r))return t[n]=e[r],i||delete e[r],!0}return!1}function pe(t){return u(t)?[xt(t)]:Array.isArray(t)?me(t):void 0}function ve(t){return s(t)&&s(t.text)&&!1===t.isComment}function me(t,e){var n,r,i,l,c=[];for(n=0;n<t.length;n++)o(r=t[n])||"boolean"==typeof r||(l=c[i=c.length-1],Array.isArray(r)?r.length>0&&(ve((r=me(r,(e||"")+"_"+n))[0])&&ve(l)&&(c[i]=xt(l.text+r[0].text),r.shift()),c.push.apply(c,r)):u(r)?ve(l)?c[i]=xt(l.text+r):""!==r&&c.push(xt(r)):ve(r)&&ve(l)?c[i]=xt(l.text+r.text):(a(t._isVList)&&s(r.tag)&&o(r.key)&&s(e)&&(r.key="__vlist"+e+"_"+n+"__"),c.push(r)));return c}function ge(t,e){if(t){for(var n=Object.create(null),r=ht?Reflect.ownKeys(t):Object.keys(t),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){for(var s=t[o].from,a=e;a;){if(a._provided&&T(a._provided,s)){n[o]=a._provided[s];break}a=a.$parent}if(!a)if("default"in t[o]){var u=t[o].default;n[o]="function"==typeof u?u.call(e):u}else 0}}return n}}function ye(t,e){if(!t||!t.length)return{};for(var n={},r=0,i=t.length;r<i;r++){var o=t[r],s=o.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,o.context!==e&&o.fnContext!==e||!s||null==s.slot)(n.default||(n.default=[])).push(o);else{var a=s.slot,u=n[a]||(n[a]=[]);"template"===o.tag?u.push.apply(u,o.children||[]):u.push(o)}}for(var l in n)n[l].every(_e)&&delete n[l];return n}function _e(t){return t.isComment&&!t.asyncFactory||" "===t.text}function be(t,e,n){var r,o=Object.keys(e).length>0,s=t?!!t.$stable:!o,a=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(s&&n&&n!==i&&a===n.$key&&!o&&!n.$hasNormal)return n;for(var u in r={},t)t[u]&&"$"!==u[0]&&(r[u]=xe(e,u,t[u]))}else r={};for(var l in e)l in r||(r[l]=Te(e,l));return t&&Object.isExtensible(t)&&(t._normalized=r),Y(r,"$stable",s),Y(r,"$key",a),Y(r,"$hasNormal",o),r}function xe(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:pe(t))&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function Te(t,e){return function(){return t[e]}}function Ee(t,e){var n,r,i,o,a;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,i=t.length;r<i;r++)n[r]=e(t[r],r);else if("number"==typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(l(t))if(ht&&t[Symbol.iterator]){n=[];for(var u=t[Symbol.iterator](),c=u.next();!c.done;)n.push(e(c.value,n.length)),c=u.next()}else for(o=Object.keys(t),n=new Array(o.length),r=0,i=o.length;r<i;r++)a=o[r],n[r]=e(t[a],a,r);return s(n)||(n=[]),n._isVList=!0,n}function we(t,e,n,r){var i,o=this.$scopedSlots[t];o?(n=n||{},r&&(n=I(I({},r),n)),i=o(n)||e):i=this.$slots[t]||e;var s=n&&n.slot;return s?this.$createElement("template",{slot:s},i):i}function Se(t){return Xt(this.$options,"filters",t)||N}function Ae(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function Oe(t,e,n,r,i){var o=j.keyCodes[e]||n;return i&&r&&!j.keyCodes[e]?Ae(i,r):o?Ae(o,t):r?R(r)!==e:void 0}function Re(t,e,n,r,i){if(n)if(l(n)){var o;Array.isArray(n)&&(n=M(n));var s=function(s){if("class"===s||"style"===s||_(s))o=t;else{var a=t.attrs&&t.attrs.type;o=r||j.mustUseProp(e,a,s)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var u=S(s),l=R(s);u in o||l in o||(o[s]=n[s],i&&((t.on||(t.on={}))["update:"+s]=function(t){n[s]=t}))};for(var a in n)s(a)}else;return t}function Pe(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e||Ie(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),"__static__"+t,!1),r}function Ce(t,e,n){return Ie(t,"__once__"+e+(n?"_"+n:""),!0),t}function Ie(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&Me(t[r],e+"_"+r,n);else Me(t,e,n)}function Me(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function De(t,e){if(e)if(h(e)){var n=t.on=t.on?I({},t.on):{};for(var r in e){var i=n[r],o=e[r];n[r]=i?[].concat(i,o):o}}else;return t}function Le(t,e,n,r){e=e||{$stable:!n};for(var i=0;i<t.length;i++){var o=t[i];Array.isArray(o)?Le(o,e,n):o&&(o.proxy&&(o.fn.proxy=!0),e[o.key]=o.fn)}return r&&(e.$key=r),e}function Ne(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];"string"==typeof r&&r&&(t[e[n]]=e[n+1])}return t}function ke(t,e){return"string"==typeof t?e+t:t}function Fe(t){t._o=Ce,t._n=m,t._s=v,t._l=Ee,t._t=we,t._q=k,t._i=F,t._m=Pe,t._f=Se,t._k=Oe,t._b=Re,t._v=xt,t._e=bt,t._u=Le,t._g=De,t._d=Ne,t._p=ke}function Be(t,e,n,r,o){var s,u=this,l=o.options;T(r,"_uid")?(s=Object.create(r))._original=r:(s=r,r=r._original);var c=a(l._compiled),h=!c;this.data=t,this.props=e,this.children=n,this.parent=r,this.listeners=t.on||i,this.injections=ge(l.inject,r),this.slots=function(){return u.$slots||be(t.scopedSlots,u.$slots=ye(n,r)),u.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return be(t.scopedSlots,this.slots())}}),c&&(this.$options=l,this.$slots=this.slots(),this.$scopedSlots=be(t.scopedSlots,this.$slots)),l._scopeId?this._c=function(t,e,n,i){var o=Ye(s,t,e,n,i,h);return o&&!Array.isArray(o)&&(o.fnScopeId=l._scopeId,o.fnContext=r),o}:this._c=function(t,e,n,r){return Ye(s,t,e,n,r,h)}}function Ue(t,e,n,r,i){var o=Tt(t);return o.fnContext=n,o.fnOptions=r,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function Ge(t,e){for(var n in e)t[S(n)]=e[n]}Fe(Be.prototype);var Xe={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;Xe.prepatch(n,n)}else{(t.componentInstance=function(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;s(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns);return new t.componentOptions.Ctor(n)}(t,nn)).$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,r,o){0;var s=r.data.scopedSlots,a=t.$scopedSlots,u=!!(s&&!s.$stable||a!==i&&!a.$stable||s&&t.$scopedSlots.$key!==s.$key),l=!!(o||t.$options._renderChildren||u);t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r);if(t.$options._renderChildren=o,t.$attrs=r.data.attrs||i,t.$listeners=n||i,e&&t.$options.props){Ot(!1);for(var c=t._props,h=t.$options._propKeys||[],f=0;f<h.length;f++){var d=h[f],p=t.$options.props;c[d]=jt(d,p,e,t)}Ot(!0),t.$options.propsData=e}n=n||i;var v=t.$options._parentListeners;t.$options._parentListeners=n,en(t,n,v),l&&(t.$slots=ye(o,r.context),t.$forceUpdate());0}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e,n=t.context,r=t.componentInstance;r._isMounted||(r._isMounted=!0,un(r,"mounted")),t.data.keepAlive&&(n._isMounted?((e=r)._inactive=!1,cn.push(e)):sn(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?an(e,!0):e.$destroy())}},je=Object.keys(Xe);function He(t,e,n,r,u){if(!o(t)){var c=n.$options._base;if(l(t)&&(t=c.extend(t)),"function"==typeof t){var h;if(o(t.cid)&&void 0===(t=function(t,e){if(a(t.error)&&s(t.errorComp))return t.errorComp;if(s(t.resolved))return t.resolved;var n=We;n&&s(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n);if(a(t.loading)&&s(t.loadingComp))return t.loadingComp;if(n&&!s(t.owners)){var r=t.owners=[n],i=!0,u=null,c=null;n.$on("hook:destroyed",(function(){return b(r,n)}));var h=function(t){for(var e=0,n=r.length;e<n;e++)r[e].$forceUpdate();t&&(r.length=0,null!==u&&(clearTimeout(u),u=null),null!==c&&(clearTimeout(c),c=null))},f=B((function(n){t.resolved=qe(n,e),i?r.length=0:h(!0)})),d=B((function(e){s(t.errorComp)&&(t.error=!0,h(!0))})),v=t(f,d);return l(v)&&(p(v)?o(t.resolved)&&v.then(f,d):p(v.component)&&(v.component.then(f,d),s(v.error)&&(t.errorComp=qe(v.error,e)),s(v.loading)&&(t.loadingComp=qe(v.loading,e),0===v.delay?t.loading=!0:u=setTimeout((function(){u=null,o(t.resolved)&&o(t.error)&&(t.loading=!0,h(!1))}),v.delay||200)),s(v.timeout)&&(c=setTimeout((function(){c=null,o(t.resolved)&&d(null)}),v.timeout)))),i=!1,t.loading?t.loadingComp:t.resolved}}(h=t,c)))return function(t,e,n,r,i){var o=bt();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}(h,e,n,r,u);e=e||{},Cn(t),s(e.model)&&function(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var i=e.on||(e.on={}),o=i[r],a=e.model.callback;s(o)?(Array.isArray(o)?-1===o.indexOf(a):o!==a)&&(i[r]=[a].concat(o)):i[r]=a}(t.options,e);var f=function(t,e,n){var r=e.options.props;if(!o(r)){var i={},a=t.attrs,u=t.props;if(s(a)||s(u))for(var l in r){var c=R(l);de(i,u,l,c,!0)||de(i,a,l,c,!1)}return i}}(e,t);if(a(t.options.functional))return function(t,e,n,r,o){var a=t.options,u={},l=a.props;if(s(l))for(var c in l)u[c]=jt(c,l,e||i);else s(n.attrs)&&Ge(u,n.attrs),s(n.props)&&Ge(u,n.props);var h=new Be(n,u,o,r,t),f=a.render.call(null,h._c,h);if(f instanceof yt)return Ue(f,n,h.parent,a);if(Array.isArray(f)){for(var d=pe(f)||[],p=new Array(d.length),v=0;v<d.length;v++)p[v]=Ue(d[v],n,h.parent,a);return p}}(t,f,e,n,r);var d=e.on;if(e.on=e.nativeOn,a(t.options.abstract)){var v=e.slot;e={},v&&(e.slot=v)}!function(t){for(var e=t.hook||(t.hook={}),n=0;n<je.length;n++){var r=je[n],i=e[r],o=Xe[r];i===o||i&&i._merged||(e[r]=i?ze(o,i):o)}}(e);var m=t.options.name||u;return new yt("vue-component-"+t.cid+(m?"-"+m:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:f,listeners:d,tag:u,children:r},h)}}}function ze(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}function Ye(t,e,n,r,i,o){return(Array.isArray(n)||u(n))&&(i=r,r=n,n=void 0),a(o)&&(i=2),function(t,e,n,r,i){if(s(n)&&s(n.__ob__))return bt();s(n)&&s(n.is)&&(e=n.is);if(!e)return bt();0;Array.isArray(r)&&"function"==typeof r[0]&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);2===i?r=pe(r):1===i&&(r=function(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}(r));var o,a;if("string"==typeof e){var u;a=t.$vnode&&t.$vnode.ns||j.getTagNamespace(e),o=j.isReservedTag(e)?new yt(j.parsePlatformTagName(e),n,r,void 0,void 0,t):n&&n.pre||!s(u=Xt(t.$options,"components",e))?new yt(e,n,r,void 0,void 0,t):He(u,n,t,r,e)}else o=He(e,n,t,r);return Array.isArray(o)?o:s(o)?(s(a)&&Ve(o,a),s(n)&&function(t){l(t.style)&&ae(t.style);l(t.class)&&ae(t.class)}(n),o):bt()}(t,e,n,r,i)}function Ve(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),s(t.children))for(var r=0,i=t.children.length;r<i;r++){var u=t.children[r];s(u.tag)&&(o(u.ns)||a(n)&&"svg"!==u.tag)&&Ve(u,e,n)}}var $e,We=null;function qe(t,e){return(t.__esModule||ht&&"Module"===t[Symbol.toStringTag])&&(t=t.default),l(t)?e.extend(t):t}function Ze(t){return t.isComment&&t.asyncFactory}function Ke(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(s(n)&&(s(n.componentOptions)||Ze(n)))return n}}function Je(t,e){$e.$on(t,e)}function Qe(t,e){$e.$off(t,e)}function tn(t,e){var n=$e;return function r(){var i=e.apply(null,arguments);null!==i&&n.$off(t,r)}}function en(t,e,n){$e=t,he(e,n||{},Je,Qe,tn,t),$e=void 0}var nn=null;function rn(t){var e=nn;return nn=t,function(){nn=e}}function on(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function sn(t,e){if(e){if(t._directInactive=!1,on(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)sn(t.$children[n]);un(t,"activated")}}function an(t,e){if(!(e&&(t._directInactive=!0,on(t))||t._inactive)){t._inactive=!0;for(var n=0;n<t.$children.length;n++)an(t.$children[n]);un(t,"deactivated")}}function un(t,e){mt();var n=t.$options[e],r=e+" hook";if(n)for(var i=0,o=n.length;i<o;i++)$t(n[i],t,null,t,r);t._hasHookEvent&&t.$emit("hook:"+e),gt()}var ln=[],cn=[],hn={},fn=!1,dn=!1,pn=0;var vn=0,mn=Date.now;if(q&&!Q){var gn=window.performance;gn&&"function"==typeof gn.now&&mn()>document.createEvent("Event").timeStamp&&(mn=function(){return gn.now()})}function yn(){var t,e;for(vn=mn(),dn=!0,ln.sort((function(t,e){return t.id-e.id})),pn=0;pn<ln.length;
vendor: 6,671 bytes, line 2
2pn++)(t=ln[pn]).before&&t.before(),e=t.id,hn[e]=null,t.run();var n=cn.slice(),r=ln.slice();pn=ln.length=cn.length=0,hn={},fn=dn=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,sn(t[e],!0)}(n),function(t){var e=t.length;for(;e--;){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&un(r,"updated")}}(r),ut&&j.devtools&&ut.emit("flush")}var _n=0,bn=function(t,e,n,r,i){this.vm=t,i&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++_n,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ct,this.newDepIds=new ct,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!V.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=D)),this.value=this.lazy?void 0:this.get()};bn.prototype.get=function(){var t;mt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Vt(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ae(t),gt(),this.cleanupDeps()}return t},bn.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},bn.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},bn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(t){var e=t.id;if(null==hn[e]){if(hn[e]=!0,dn){for(var n=ln.length-1;n>pn&&ln[n].id>t.id;)n--;ln.splice(n+1,0,t)}else ln.push(t);fn||(fn=!0,oe(yn))}}(this)},bn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||l(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Vt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},bn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},bn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},bn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||b(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var xn={enumerable:!0,configurable:!0,get:D,set:D};function Tn(t,e,n){xn.get=function(){return this[e][n]},xn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,xn)}function En(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[];t.$parent&&Ot(!1);var o=function(o){i.push(o);var s=jt(o,e,n,t);Ct(r,o,s),o in t||Tn(t,"_props",o)};for(var s in e)o(s);Ot(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?D:P(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;h(e=t._data="function"==typeof e?function(t,e){mt();try{return t.call(e,e)}catch(t){return Vt(t,e,"data()"),{}}finally{gt()}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);for(;i--;){var o=n[i];0,r&&T(r,o)||z(o)||Tn(t,"_data",o)}Pt(e,!0)}(t):Pt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=at();for(var i in e){var o=e[i],s="function"==typeof o?o:o.get;0,r||(n[i]=new bn(t,s||D,D,wn)),i in t||Sn(t,i,o)}}(t,e.computed),e.watch&&e.watch!==it&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)Rn(t,n,r[i]);else Rn(t,n,r)}}(t,e.watch)}var wn={lazy:!0};function Sn(t,e,n){var r=!at();"function"==typeof n?(xn.get=r?An(e):On(n),xn.set=D):(xn.get=n.get?r&&!1!==n.cache?An(e):On(n.get):D,xn.set=n.set||D),Object.defineProperty(t,e,xn)}function An(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),pt.target&&e.depend(),e.value}}function On(t){return function(){return t.call(this,this)}}function Rn(t,e,n,r){return h(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}var Pn=0;function Cn(t){var e=t.options;if(t.super){var n=Cn(t.super);if(n!==t.superOptions){t.superOptions=n;var r=function(t){var e,n=t.options,r=t.sealedOptions;for(var i in n)n[i]!==r[i]&&(e||(e={}),e[i]=n[i]);return e}(t);r&&I(t.extendOptions,r),(e=t.options=Gt(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function In(t){this._init(t)}function Mn(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name;var s=function(t){this._init(t)};return(s.prototype=Object.create(n.prototype)).constructor=s,s.cid=e++,s.options=Gt(n.options,t),s.super=n,s.options.props&&function(t){var e=t.options.props;for(var n in e)Tn(t.prototype,"_props",n)}(s),s.options.computed&&function(t){var e=t.options.computed;for(var n in e)Sn(t.prototype,n,e[n])}(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,G.forEach((function(t){s[t]=n[t]})),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=t,s.sealedOptions=I({},s.options),i[r]=s,s}}function Dn(t){return t&&(t.Ctor.options.name||t.tag)}function Ln(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function Nn(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var s=n[o];if(s){var a=Dn(s.componentOptions);a&&!e(a)&&kn(n,o,r,i)}}}function kn(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,b(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=Pn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Gt(Cn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&en(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;
vendor: 4,568 bytes, line 2
2var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=ye(e._renderChildren,r),t.$scopedSlots=i,t._c=function(e,n,r,i){return Ye(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return Ye(t,e,n,r,i,!0)};var o=n&&n.data;Ct(t,"$attrs",o&&o.attrs||i,null,!0),Ct(t,"$listeners",e._parentListeners||i,null,!0)}(e),un(e,"beforeCreate"),function(t){var e=ge(t.$options.inject,t);e&&(Ot(!1),Object.keys(e).forEach((function(n){Ct(t,n,e[n])})),Ot(!0))}(e),En(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),un(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(In),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=It,t.prototype.$delete=Mt,t.prototype.$watch=function(t,e,n){var r=this;if(h(e))return Rn(r,t,e,n);(n=n||{}).user=!0;var i=new bn(r,t,e,n);if(n.immediate)try{e.call(r,i.value)}catch(t){Vt(t,r,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}(In),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var i=0,o=t.length;i<o;i++)r.$on(t[i],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var r=0,i=t.length;r<i;r++)n.$off(t[r],e);return n}var o,s=n._events[t];if(!s)return n;if(!e)return n._events[t]=null,n;for(var a=s.length;a--;)if((o=s[a])===e||o.fn===e){s.splice(a,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?C(n):n;for(var r=C(arguments,1),i='event handler for "'+t+'"',o=0,s=n.length;o<s;o++)$t(n[o],e,r,e,i)}return e}}(In),function(t){t.prototype._update=function(t,e){var n=this,r=n.$el,i=n._vnode,o=rn(n);n._vnode=t,n.$el=i?n.__patch__(i,t):n.__patch__(n.$el,t,e,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){un(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||b(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),un(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(In),function(t){Fe(t.prototype),t.prototype.$nextTick=function(t){return oe(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,r=n.render,i=n._parentVnode;i&&(e.$scopedSlots=be(i.data.scopedSlots,e.$slots,e.$scopedSlots)),e.$vnode=i;try{We=e,t=r.call(e._renderProxy,e.$createElement)}catch(n){Vt(n,e,"render"),t=e._vnode}finally{We=null}return Array.isArray(t)&&1===t.length&&(t=t[0]),t instanceof yt||(t=bt()),t.parent=i,t}}(In);var Fn=[String,RegExp,Array],Bn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Fn,exclude:Fn,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)kn(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",(function(e){Nn(t,(function(t){return Ln(e,t)}))})),this.$watch("exclude",(function(e){Nn(t,(function(t){return!Ln(e,t)}))}))},render:function(){var t=this.$slots.default,e=Ke(t),n=e&&e.componentOptions;if(n){var r=Dn(n),i=this.include,o=this.exclude;if(i&&(!r||!Ln(i,r))||o&&r&&Ln(o,r))return e;var s=this.cache,a=this.keys,u=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;s[u]?(e.componentInstance=s[u].componentInstance,b(a,u),a.push(u)):(s[u]=e,a.push(u),this.max&&a.length>parseInt(this.max)&&kn(s,a[0],a,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return j}};Object.defineProperty(t,"config",e),t.util={warn:ft,extend:I,mergeOptions:Gt,defineReactive:Ct},t.set=It,t.delete=Mt,t.nextTick=oe,t.observable=function(t){return Pt(t),t},t.options=Object.create(null),G.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,I(t.options.components,Bn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;
vendor: 9,779 bytes, line 2
2var n=C(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Gt(this.options,t),this}}(t),Mn(t),function(t){G.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&h(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(In),Object.defineProperty(In.prototype,"$isServer",{get:at}),Object.defineProperty(In.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(In,"FunctionalRenderContext",{value:Be}),In.version="2.6.12";var Un=g("style,class"),Gn=g("input,textarea,option,select,progress"),Xn=function(t,e,n){return"value"===n&&Gn(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},jn=g("contenteditable,draggable,spellcheck"),Hn=g("events,caret,typing,plaintext-only"),zn=g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Yn="http://www.w3.org/1999/xlink",Vn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},$n=function(t){return Vn(t)?t.slice(6,t.length):""},Wn=function(t){return null==t||!1===t};function qn(t){for(var e=t.data,n=t,r=t;s(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Zn(r.data,e));for(;s(n=n.parent);)n&&n.data&&(e=Zn(e,n.data));return function(t,e){if(s(t)||s(e))return Kn(t,Jn(e));return""}(e.staticClass,e.class)}function Zn(t,e){return{staticClass:Kn(t.staticClass,e.staticClass),class:s(t.class)?[t.class,e.class]:e.class}}function Kn(t,e){return t?e?t+" "+e:t:e||""}function Jn(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,i=t.length;r<i;r++)s(e=Jn(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):l(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var Qn={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},tr=g("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),er=g("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),nr=function(t){return tr(t)||er(t)};function rr(t){return er(t)?"svg":"math"===t?"math":void 0}var ir=Object.create(null);var or=g("text,number,password,search,email,tel,url");function sr(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}var ar=Object.freeze({createElement:function(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(t,e){return document.createElementNS(Qn[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),ur={create:function(t,e){lr(e)},update:function(t,e){t.data.ref!==e.data.ref&&(lr(t,!0),lr(e))},destroy:function(t){lr(t,!0)}};function lr(t,e){var n=t.data.ref;if(s(n)){var r=t.context,i=t.componentInstance||t.elm,o=r.$refs;e?Array.isArray(o[n])?b(o[n],i):o[n]===i&&(o[n]=void 0):t.data.refInFor?Array.isArray(o[n])?o[n].indexOf(i)<0&&o[n].push(i):o[n]=[i]:o[n]=i}}var cr=new yt("",{},[]),hr=["create","activate","update","remove","destroy"];function fr(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&s(t.data)===s(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,r=s(n=t.data)&&s(n=n.attrs)&&n.type,i=s(n=e.data)&&s(n=n.attrs)&&n.type;return r===i||or(r)&&or(i)}(t,e)||a(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&o(e.asyncFactory.error))}function dr(t,e,n){var r,i,o={};for(r=e;r<=n;++r)s(i=t[r].key)&&(o[i]=r);return o}var pr={create:vr,update:vr,destroy:function(t){vr(t,cr)}};function vr(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,r,i,o=t===cr,s=e===cr,a=gr(t.data.directives,t.context),u=gr(e.data.directives,e.context),l=[],c=[];for(n in u)r=a[n],i=u[n],r?(i.oldValue=r.value,i.oldArg=r.arg,_r(i,"update",e,t),i.def&&i.def.componentUpdated&&c.push(i)):(_r(i,"bind",e,t),i.def&&i.def.inserted&&l.push(i));if(l.length){var h=function(){for(var n=0;n<l.length;n++)_r(l[n],"inserted",e,t)};o?fe(e,"insert",h):h()}c.length&&fe(e,"postpatch",(function(){for(var n=0;n<c.length;n++)_r(c[n],"componentUpdated",e,t)}));if(!o)for(n in a)u[n]||_r(a[n],"unbind",t,t,s)}(t,e)}var mr=Object.create(null);function gr(t,e){var n,r,i=Object.create(null);if(!t)return i;for(n=0;n<t.length;n++)(r=t[n]).modifiers||(r.modifiers=mr),i[yr(r)]=r,r.def=Xt(e.$options,"directives",r.name);return i}function yr(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function _r(t,e,n,r,i){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,r,i)}catch(r){Vt(r,n.context,"directive "+t.name+" "+e+" hook")}}var br=[ur,pr];function xr(t,e){var n=e.componentOptions;if(!(s(n)&&!1===n.Ctor.options.inheritAttrs||o(t.data.attrs)&&o(e.data.attrs))){var r,i,a=e.elm,u=t.data.attrs||{},l=e.data.attrs||{};for(r in s(l.__ob__)&&(l=e.data.attrs=I({},l)),l)i=l[r],u[r]!==i&&Tr(a,r,i);for(r in(Q||et)&&l.value!==u.value&&Tr(a,"value",l.value),u)o(l[r])&&(Vn(r)?a.removeAttributeNS(Yn,$n(r)):jn(r)||a.removeAttribute(r))}}function Tr(t,e,n){t.tagName.indexOf("-")>-1?Er(t,e,n):zn(e)?Wn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):jn(e)?t.setAttribute(e,function(t,e){return Wn(e)||"false"===e?"false":"contenteditable"===t&&Hn(e)?e:"true"}(e,n)):Vn(e)?Wn(n)?t.removeAttributeNS(Yn,$n(e)):t.setAttributeNS(Yn,e,n):Er(t,e,n)}function Er(t,e,n){if(Wn(n))t.removeAttribute(e);else{if(Q&&!tt&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var wr={create:xr,update:xr};function Sr(t,e){var n=e.elm,r=e.data,i=t.data;if(!(o(r.staticClass)&&o(r.class)&&(o(i)||o(i.staticClass)&&o(i.class)))){var a=qn(e),u=n._transitionClasses;s(u)&&(a=Kn(a,Jn(u))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}}var Ar,Or,Rr,Pr,Cr,Ir,Mr={create:Sr,update:Sr},Dr=/[\w).+\-_$\]]/;function Lr(t){var e,n,r,i,o,s=!1,a=!1,u=!1,l=!1,c=0,h=0,f=0,d=0;for(r=0;r<t.length;r++)if(n=e,e=t.charCodeAt(r),s)39===e&&92!==n&&(s=!1);else if(a)34===e&&92!==n&&(a=!1);else if(u)96===e&&92!==n&&(u=!1);else if(l)47===e&&92!==n&&(l=!1);else if(124!==e||124===t.charCodeAt(r+1)||124===t.charCodeAt(r-1)||c||h||f){switch(e){case 34:a=!0;break;case 39:s=!0;break;case 96:u=!0;break;case 40:f++;break;case 41:f--;break;case 91:h++;break;case 93:h--;break;case 123:c++;break;case 125:c--}if(47===e){for(var p=r-1,v=void 0;p>=0&&" "===(v=t.charAt(p));p--);v&&Dr.test(v)||(l=!0)}}else void 0===i?(d=r+1,i=t.slice(0,r).trim()):m();function m(){(o||(o=[])).push(t.slice(d,r).trim()),d=r+1}if(void 0===i?i=t.slice(0,r).trim():0!==d&&m(),o)for(r=0;r<o.length;r++)i=Nr(i,o[r]);return i}function Nr(t,e){var n=e.indexOf("(");if(n<0)return'_f("'+e+'")('+t+")";var r=e.slice(0,n),i=e.slice(n+1);return'_f("'+r+'")('+t+(")"!==i?","+i:i)}function kr(t,e){console.error("[Vue compiler]: "+t)}function Fr(t,e){return t?t.map((function(t){return t[e]})).filter((function(t){return t})):[]}function Br(t,e,n,r,i){(t.props||(t.props=[])).push($r({name:e,value:n,dynamic:i},r)),t.plain=!1}function Ur(t,e,n,r,i){(i?t.dynamicAttrs||(t.dynamicAttrs=[]):t.attrs||(t.attrs=[])).push($r({name:e,value:n,dynamic:i},r)),t.plain=!1}function Gr(t,e,n,r){t.attrsMap[e]=n,t.attrsList.push($r({name:e,value:n},r))}function Xr(t,e,n,r,i,o,s,a){(t.directives||(t.directives=[])).push($r({name:e,rawName:n,value:r,arg:i,isDynamicArg:o,modifiers:s},a)),t.plain=!1}function jr(t,e,n){return n?"_p("+e+',"'+t+'")':t+e}function Hr(t,e,n,r,o,s,a,u){var l;(r=r||i).right?u?e="("+e+")==='click'?'contextmenu':("+e+")":"click"===e&&(e="contextmenu",delete r.right):r.middle&&(u?e="("+e+")==='click'?'mouseup':("+e+")":"click"===e&&(e="mouseup")),r.capture&&(delete r.capture,e=jr("!",e,u)),r.once&&(delete r.once,e=jr("~",e,u)),r.passive&&(delete r.passive,e=jr("&",e,u)),r.native?(delete r.native,l=t.nativeEvents||(t.nativeEvents={})):l=t.events||(t.events={});var c=$r({value:n.trim(),dynamic:u},a);r!==i&&(c.modifiers=r);var h=l[e];Array.isArray(h)?o?h.unshift(c):h.push(c):l[e]=h?o?[c,h]:[h,c]:c,t.plain=!1}
vendor: 7,460 bytes, line 2
2function zr(t,e,n){var r=Yr(t,":"+e)||Yr(t,"v-bind:"+e);if(null!=r)return Lr(r);if(!1!==n){var i=Yr(t,e);if(null!=i)return JSON.stringify(i)}}function Yr(t,e,n){var r;if(null!=(r=t.attrsMap[e]))for(var i=t.attrsList,o=0,s=i.length;o<s;o++)if(i[o].name===e){i.splice(o,1);break}return n&&delete t.attrsMap[e],r}function Vr(t,e){for(var n=t.attrsList,r=0,i=n.length;r<i;r++){var o=n[r];if(e.test(o.name))return n.splice(r,1),o}}function $r(t,e){return e&&(null!=e.start&&(t.start=e.start),null!=e.end&&(t.end=e.end)),t}function Wr(t,e,n){var r=n||{},i=r.number,o="$$v",s=o;r.trim&&(s="(typeof $$v === 'string'? $$v.trim(): $$v)"),i&&(s="_n("+s+")");var a=qr(e,s);t.model={value:"("+e+")",expression:JSON.stringify(e),callback:"function ($$v) {"+a+"}"}}function qr(t,e){var n=function(t){if(t=t.trim(),Ar=t.length,t.indexOf("[")<0||t.lastIndexOf("]")<Ar-1)return(Pr=t.lastIndexOf("."))>-1?{exp:t.slice(0,Pr),key:'"'+t.slice(Pr+1)+'"'}:{exp:t,key:null};Or=t,Pr=Cr=Ir=0;for(;!Kr();)Jr(Rr=Zr())?ti(Rr):91===Rr&&Qr(Rr);return{exp:t.slice(0,Cr),key:t.slice(Cr+1,Ir)}}(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function Zr(){return Or.charCodeAt(++Pr)}function Kr(){return Pr>=Ar}function Jr(t){return 34===t||39===t}function Qr(t){var e=1;for(Cr=Pr;!Kr();)if(Jr(t=Zr()))ti(t);else if(91===t&&e++,93===t&&e--,0===e){Ir=Pr;break}}function ti(t){for(var e=t;!Kr()&&(t=Zr())!==e;);}var ei,ni="__r";function ri(t,e,n){var r=ei;return function i(){var o=e.apply(null,arguments);null!==o&&si(t,i,n,r)}}var ii=Kt&&!(rt&&Number(rt[1])<=53);function oi(t,e,n,r){if(ii){var i=vn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}ei.addEventListener(t,e,ot?{capture:n,passive:r}:n)}function si(t,e,n,r){(r||ei).removeEventListener(t,e._wrapper||e,n)}function ai(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},r=t.data.on||{};ei=e.elm,function(t){if(s(t.__r)){var e=Q?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}s(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(n),he(n,r,oi,si,ri,e.context),ei=void 0}}var ui,li={create:ai,update:ai};function ci(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,r,i=e.elm,a=t.data.domProps||{},u=e.data.domProps||{};for(n in s(u.__ob__)&&(u=e.data.domProps=I({},u)),a)n in u||(i[n]="");for(n in u){if(r=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===a[n])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===n&&"PROGRESS"!==i.tagName){i._value=r;var l=o(r)?"":String(r);hi(i,l)&&(i.value=l)}else if("innerHTML"===n&&er(i.tagName)&&o(i.innerHTML)){(ui=ui||document.createElement("div")).innerHTML="<svg>"+r+"</svg>";for(var c=ui.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;c.firstChild;)i.appendChild(c.firstChild)}else if(r!==a[n])try{i[n]=r}catch(t){}}}}function hi(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(s(r)){if(r.number)return m(n)!==m(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var fi={create:ci,update:ci},di=E((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}})),e}));function pi(t){var e=vi(t.style);return t.staticStyle?I(t.staticStyle,e):e}function vi(t){return Array.isArray(t)?M(t):"string"==typeof t?di(t):t}var mi,gi=/^--/,yi=/\s*!important$/,_i=function(t,e,n){if(gi.test(e))t.style.setProperty(e,n);else if(yi.test(n))t.style.setProperty(R(e),n.replace(yi,""),"important");else{var r=xi(e);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)t.style[r]=n[i];else t.style[r]=n}},bi=["Webkit","Moz","ms"],xi=E((function(t){if(mi=mi||document.createElement("div").style,"filter"!==(t=S(t))&&t in mi)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<bi.length;n++){var r=bi[n]+e;if(r in mi)return r}}));function Ti(t,e){var n=e.data,r=t.data;if(!(o(n.staticStyle)&&o(n.style)&&o(r.staticStyle)&&o(r.style))){var i,a,u=e.elm,l=r.staticStyle,c=r.normalizedStyle||r.style||{},h=l||c,f=vi(e.data.style)||{};e.data.normalizedStyle=s(f.__ob__)?I({},f):f;var d=function(t,e){var n,r={};if(e)for(var i=t;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=pi(i.data))&&I(r,n);(n=pi(t.data))&&I(r,n);for(var o=t;o=o.parent;)o.data&&(n=pi(o.data))&&I(r,n);return r}(e,!0);for(a in h)o(d[a])&&_i(u,a,"");for(a in d)(i=d[a])!==h[a]&&_i(u,a,null==i?"":i)}}var Ei={create:Ti,update:Ti},wi=/\s+/;function Si(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(wi).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Ai(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(wi).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Oi(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&I(e,Ri(t.name||"v")),I(e,t),e}return"string"==typeof t?Ri(t):void 0}}var Ri=E((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Pi=q&&!tt,Ci="transition",Ii="animation",Mi="transition",Di="transitionend",Li="animation",Ni="animationend";Pi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Mi="WebkitTransition",Di="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Li="WebkitAnimation",Ni="webkitAnimationEnd"));var ki=q?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Fi(t){ki((function(){ki(t)}))}function Bi(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Si(t,e))}function Ui(t,e){t._transitionClasses&&b(t._transitionClasses,e),Ai(t,e)}function Gi(t,e,n){var r=ji(t,e),i=r.type,o=r.timeout,s=r.propCount;if(!i)return n();var a=i===Ci?Di:Ni,u=0,l=function(){t.removeEventListener(a,c),n()},c=function(e){e.target===t&&++u>=s&&l()};setTimeout((function(){u<s&&l()}),o+1),t.addEventListener(a,c)}var Xi=/\b(transform|all)(,|$)/;function ji(t,e){var n,r=window.getComputedStyle(t),i=(r[Mi+"Delay"]||"").split(", "),o=(r[Mi+"Duration"]||"").split(", "),s=Hi(i,o),a=(r[Li+"Delay"]||"").split(", "),u=(r[Li+"Duration"]||"").split(", "),l=Hi(a,u),c=0,h=0;return e===Ci?s>0&&(n=Ci,c=s,h=o.length):e===Ii?l>0&&(n=Ii,c=l,h=u.length):h=(n=(c=Math.max(s,l))>0?s>l?Ci:Ii:null)?n===Ci?o.length:u.length:0,{type:n,timeout:c,propCount:h,hasTransform:n===Ci&&Xi.test(r[Mi+"Property"])}}function Hi(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return zi(e)+zi(t[n])})))}function zi(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Yi(t,e){var n=t.elm;s(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=Oi(t.data.transition);if(!o(r)&&!s(n._enterCb)&&1===n.nodeType){for(var i=r.css,a=r.type,u=r.enterClass,c=r.enterToClass,h=r.enterA
vendor: 5,267 bytes, line 2
2ctiveClass,f=r.appearClass,d=r.appearToClass,p=r.appearActiveClass,v=r.beforeEnter,g=r.enter,y=r.afterEnter,_=r.enterCancelled,b=r.beforeAppear,x=r.appear,T=r.afterAppear,E=r.appearCancelled,w=r.duration,S=nn,A=nn.$vnode;A&&A.parent;)S=A.context,A=A.parent;var O=!S._isMounted||!t.isRootInsert;if(!O||x||""===x){var R=O&&f?f:u,P=O&&p?p:h,C=O&&d?d:c,I=O&&b||v,M=O&&"function"==typeof x?x:g,D=O&&T||y,L=O&&E||_,N=m(l(w)?w.enter:w);0;var k=!1!==i&&!tt,F=Wi(M),U=n._enterCb=B((function(){k&&(Ui(n,C),Ui(n,P)),U.cancelled?(k&&Ui(n,R),L&&L(n)):D&&D(n),n._enterCb=null}));t.data.show||fe(t,"insert",(function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),M&&M(n,U)})),I&&I(n),k&&(Bi(n,R),Bi(n,P),Fi((function(){Ui(n,R),U.cancelled||(Bi(n,C),F||($i(N)?setTimeout(U,N):Gi(n,a,U)))}))),t.data.show&&(e&&e(),M&&M(n,U)),k||F||U()}}}function Vi(t,e){var n=t.elm;s(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=Oi(t.data.transition);if(o(r)||1!==n.nodeType)return e();if(!s(n._leaveCb)){var i=r.css,a=r.type,u=r.leaveClass,c=r.leaveToClass,h=r.leaveActiveClass,f=r.beforeLeave,d=r.leave,p=r.afterLeave,v=r.leaveCancelled,g=r.delayLeave,y=r.duration,_=!1!==i&&!tt,b=Wi(d),x=m(l(y)?y.leave:y);0;var T=n._leaveCb=B((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),_&&(Ui(n,c),Ui(n,h)),T.cancelled?(_&&Ui(n,u),v&&v(n)):(e(),p&&p(n)),n._leaveCb=null}));g?g(E):E()}function E(){T.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),f&&f(n),_&&(Bi(n,u),Bi(n,h),Fi((function(){Ui(n,u),T.cancelled||(Bi(n,c),b||($i(x)?setTimeout(T,x):Gi(n,a,T)))}))),d&&d(n,T),_||b||T())}}function $i(t){return"number"==typeof t&&!isNaN(t)}function Wi(t){if(o(t))return!1;var e=t.fns;return s(e)?Wi(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function qi(t,e){!0!==e.data.show&&Yi(e)}var Zi=function(t){var e,n,r={},i=t.modules,l=t.nodeOps;for(e=0;e<hr.length;++e)for(r[hr[e]]=[],n=0;n<i.length;++n)s(i[n][hr[e]])&&r[hr[e]].push(i[n][hr[e]]);function c(t){var e=l.parentNode(t);s(e)&&l.removeChild(e,t)}function h(t,e,n,i,o,u,c){if(s(t.elm)&&s(u)&&(t=u[c]=Tt(t)),t.isRootInsert=!o,!function(t,e,n,i){var o=t.data;if(s(o)){var u=s(t.componentInstance)&&o.keepAlive;if(s(o=o.hook)&&s(o=o.init)&&o(t,!1),s(t.componentInstance))return f(t,e),d(n,t.elm,i),a(u)&&function(t,e,n,i){var o,a=t;for(;a.componentInstance;)if(s(o=(a=a.componentInstance._vnode).data)&&s(o=o.transition)){for(o=0;o<r.activate.length;++o)r.activate[o](cr,a);e.push(a);break}d(n,t.elm,i)}(t,e,n,i),!0}}(t,e,n,i)){var h=t.data,v=t.children,g=t.tag;s(g)?(t.elm=t.ns?l.createElementNS(t.ns,g):l.createElement(g,t),y(t),p(t,v,e),s(h)&&m(t,e),d(n,t.elm,i)):a(t.isComment)?(t.elm=l.createComment(t.text),d(n,t.elm,i)):(t.elm=l.createTextNode(t.text),d(n,t.elm,i))}}function f(t,e){s(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,v(t)?(m(t,e),y(t)):(lr(t),e.push(t))}function d(t,e,n){s(t)&&(s(n)?l.parentNode(n)===t&&l.insertBefore(t,e,n):l.appendChild(t,e))}function p(t,e,n){if(Array.isArray(e)){0;for(var r=0;r<e.length;++r)h(e[r],n,t.elm,null,!0,e,r)}else u(t.text)&&l.appendChild(t.elm,l.createTextNode(String(t.text)))}function v(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return s(t.tag)}function m(t,n){for(var i=0;i<r.create.length;++i)r.create[i](cr,t);s(e=t.data.hook)&&(s(e.create)&&e.create(cr,t),s(e.insert)&&n.push(t))}function y(t){var e;if(s(e=t.fnScopeId))l.setStyleScope(t.elm,e);else for(var n=t;n;)s(e=n.context)&&s(e=e.$options._scopeId)&&l.setStyleScope(t.elm,e),n=n.parent;s(e=nn)&&e!==t.context&&e!==t.fnContext&&s(e=e.$options._scopeId)&&l.setStyleScope(t.elm,e)}function _(t,e,n,r,i,o){for(;r<=i;++r)h(n[r],o,t,e,!1,n,r)}function b(t){var e,n,i=t.data;if(s(i))for(s(e=i.hook)&&s(e=e.destroy)&&e(t),e=0;e<r.destroy.length;++e)r.destroy[e](t);if(s(e=t.children))for(n=0;n<t.children.length;++n)b(t.children[n])}function x(t,e,n){for(;e<=n;++e){var r=t[e];s(r)&&(s(r.tag)?(T(r),b(r)):c(r.elm))}}function T(t,e){if(s(e)||s(t.data)){var n,i=r.remove.length+1;for(s(e)?e.listeners+=i:e=function(t,e){function n(){0==--n.listeners&&c(t)}return n.listeners=e,n}(t.elm,i),s(n=t.componentInstance)&&s(n=n._vnode)&&s(n.data)&&T(n,e),n=0;n<r.remove.length;++n)r.remove[n](t,e);s(n=t.data.hook)&&s(n=n.remove)?n(t,e):e()}else c(t.elm)}function E(t,e,n,r){for(var i=n;i<r;i++){var o=e[i];if(s(o)&&fr(t,o))return i}}function w(t,e,n,i,u,c){if(t!==e){s(e.elm)&&s(i)&&(e=i[u]=Tt(e));var f=e.elm=t.elm;if(a(t.isAsyncPlaceholder))s(e.asyncFactory.resolved)?O(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(a(e.isStatic)&&a(t.isStatic)&&e.key===t.key&&(a(e.isCloned)||a(e.isOnce)))e.componentInstance=t.componentInstance;else{var d,p=e.data;s(p)&&s(d=p.hook)&&s(d=d.prepatch)&&d(t,e);var m=t.children,g=e.children;if(s(p)&&v(e)){for(d=0;d<r.update.length;++d)r.update[d](t,e);s(d=p.hook)&&s(d=d.update)&&d(t,e)}o(e.text)?s(m)&&s(g)?m!==g&&function(t,e,n,r,i){var a,u,c,f=0,d=0,p=e.length-1,v=e[0],m=e[p],g=n.length-1,y=n[0],b=n[g],T=!i;for(;f<=p&&d<=g;)o(v)?v=e[++f]:o(m)?m=e[--p]:fr(v,y)?(w(v,y,r,n,d),v=e[++f],y=n[++d]):fr(m,b)?(w(m,b,r,n,g),m=e[--p],b=n[--g]):fr(v,b)?(w(v,b,r,n,g),T&&l.
vendor: 9,281 bytes, line 2
2insertBefore(t,v.elm,l.nextSibling(m.elm)),v=e[++f],b=n[--g]):fr(m,y)?(w(m,y,r,n,d),T&&l.insertBefore(t,m.elm,v.elm),m=e[--p],y=n[++d]):(o(a)&&(a=dr(e,f,p)),o(u=s(y.key)?a[y.key]:E(y,e,f,p))?h(y,r,t,v.elm,!1,n,d):fr(c=e[u],y)?(w(c,y,r,n,d),e[u]=void 0,T&&l.insertBefore(t,c.elm,v.elm)):h(y,r,t,v.elm,!1,n,d),y=n[++d]);f>p?_(t,o(n[g+1])?null:n[g+1].elm,n,d,g,r):d>g&&x(e,f,p)}(f,m,g,n,c):s(g)?(s(t.text)&&l.setTextContent(f,""),_(f,null,g,0,g.length-1,n)):s(m)?x(m,0,m.length-1):s(t.text)&&l.setTextContent(f,""):t.text!==e.text&&l.setTextContent(f,e.text),s(p)&&s(d=p.hook)&&s(d=d.postpatch)&&d(t,e)}}}function S(t,e,n){if(a(n)&&s(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var A=g("attrs,class,staticClass,staticStyle,key");function O(t,e,n,r){var i,o=e.tag,u=e.data,l=e.children;if(r=r||u&&u.pre,e.elm=t,a(e.isComment)&&s(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(s(u)&&(s(i=u.hook)&&s(i=i.init)&&i(e,!0),s(i=e.componentInstance)))return f(e,n),!0;if(s(o)){if(s(l))if(t.hasChildNodes())if(s(i=u)&&s(i=i.domProps)&&s(i=i.innerHTML)){if(i!==t.innerHTML)return!1}else{for(var c=!0,h=t.firstChild,d=0;d<l.length;d++){if(!h||!O(h,l[d],n,r)){c=!1;break}h=h.nextSibling}if(!c||h)return!1}else p(e,l,n);if(s(u)){var v=!1;for(var g in u)if(!A(g)){v=!0,m(e,n);break}!v&&u.class&&ae(u.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,i){if(!o(e)){var u,c=!1,f=[];if(o(t))c=!0,h(e,f);else{var d=s(t.nodeType);if(!d&&fr(t,e))w(t,e,f,null,null,i);else{if(d){if(1===t.nodeType&&t.hasAttribute(U)&&(t.removeAttribute(U),n=!0),a(n)&&O(t,e,f))return S(e,f,!0),t;u=t,t=new yt(l.tagName(u).toLowerCase(),{},[],void 0,u)}var p=t.elm,m=l.parentNode(p);if(h(e,f,p._leaveCb?null:m,l.nextSibling(p)),s(e.parent))for(var g=e.parent,y=v(e);g;){for(var _=0;_<r.destroy.length;++_)r.destroy[_](g);if(g.elm=e.elm,y){for(var T=0;T<r.create.length;++T)r.create[T](cr,g);var E=g.data.hook.insert;if(E.merged)for(var A=1;A<E.fns.length;A++)E.fns[A]()}else lr(g);g=g.parent}s(m)?x([t],0,0):s(t.tag)&&b(t)}}return S(e,f,c),e.elm}s(t)&&b(t)}}({nodeOps:ar,modules:[wr,Mr,li,fi,Ei,q?{create:qi,activate:qi,remove:function(t,e){!0!==t.data.show?Vi(t,e):e()}}:{}].concat(br)});tt&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&io(t,"input")}));var Ki={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?fe(n,"postpatch",(function(){Ki.componentUpdated(t,e,n)})):Ji(t,e,n.context),t._vOptions=[].map.call(t.options,eo)):("textarea"===n.tag||or(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",no),t.addEventListener("compositionend",ro),t.addEventListener("change",ro),tt&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Ji(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,eo);if(i.some((function(t,e){return!k(t,r[e])})))(t.multiple?e.value.some((function(t){return to(t,i)})):e.value!==e.oldValue&&to(e.value,i))&&io(t,"change")}}};function Ji(t,e,n){Qi(t,e,n),(Q||et)&&setTimeout((function(){Qi(t,e,n)}),0)}function Qi(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,s,a=0,u=t.options.length;a<u;a++)if(s=t.options[a],i)o=F(r,eo(s))>-1,s.selected!==o&&(s.selected=o);else if(k(eo(s),r))return void(t.selectedIndex!==a&&(t.selectedIndex=a));i||(t.selectedIndex=-1)}}function to(t,e){return e.every((function(e){return!k(e,t)}))}function eo(t){return"_value"in t?t._value:t.value}function no(t){t.target.composing=!0}function ro(t){t.target.composing&&(t.target.composing=!1,io(t.target,"input"))}function io(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function oo(t){return!t.componentInstance||t.data&&t.data.transition?t:oo(t.componentInstance._vnode)}var so={model:Ki,show:{bind:function(t,e,n){var r=e.value,i=(n=oo(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,Yi(n,(function(){t.style.display=o}))):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=oo(n)).data&&n.data.transition?(n.data.show=!0,r?Yi(n,(function(){t.style.display=t.__vOriginalDisplay})):Vi(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}}},ao={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function uo(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?uo(Ke(e.children)):t}function lo(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[S(o)]=i[o];return e}function co(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var ho=function(t){return t.tag||Ze(t)},fo=function(t){return"show"===t.name},po={name:"transition",props:ao,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(ho)).length){0;var r=this.mode;0;var i=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return i;var o=uo(i);if(!o)return i;if(this._leaving)return co(t,i);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:u(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var a=(o.data||(o.data={})).transition=lo(this),l=this._vnode,c=uo(l);if(o.data.directives&&o.data.directives.some(fo)&&(o.data.show=!0),c&&c.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,c)&&!Ze(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var h=c.data.transition=I({},a);if("out-in"===r)return this._leaving=!0,fe(h,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),co(t,i);if("in-out"===r){if(Ze(o))return l;var f,d=function(){f()};fe(a,"afterEnter",d),fe(a,"enterCancelled",d),fe(h,"delayLeave",(function(t){f=t}))}}return i}}},vo=I({tag:String,moveClass:String},ao);function mo(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function go(t){t.data.newPos=t.elm.getBoundingClientRect()}function yo(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete vo.mode;var _o={Transition:po,TransitionGroup:{props:vo,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=rn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],s=lo(this),a=0;a<i.length;a++){var u=i[a];if(u.tag)if(null!=u.key&&0!==String(u.key).indexOf("__vlist"))o.push(u),n[u.key]=u,(u.data||(u.data={})).transition=s;else;}if(r){for(var l=[],c=[],h=0;h<r.length;h++){var f=r[h];f.data.transition=s,f.data.pos=f.elm.getBoundingClientRect(),n[f.key]?l.push(f):c.push(f)}this.kept=t(e,null,l),this.removed=c}return t(e,null,o)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(mo),t.forEach(go),t.forEach(yo),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,r=n.style;Bi(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Di,n._moveCb=function t(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Di,t),n._moveCb=null,Ui(n,e))})}})))},methods:{hasMove:function(t,e){if(!Pi)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){Ai(n,t)})),Si(n,e),n.style.display="none",this.$el.appendChild(n);var r=ji(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}}};In.config.mustUseProp=Xn,In.config.isReservedTag=nr,In.config.isReservedAttr=Un,In.config.getTagNamespace=rr,In.config.isUnknownElement=function(t){if(!q)return!0;if(nr(t))return!1;if(t=t.toLowerCase(),null!=ir[t])return ir[t];var e=document.createElement(t);return t.indexOf("-")>-1?ir[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ir[t]=/HTMLUnknownElement/.test(e.toString())},I(In.options.directives,so),I(In.options.components,_o),In.prototype.__patch__=q?Zi:D,In.prototype.$mount=function(t,e){return function(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=bt),un(t,"beforeMount"),r=function(){t._update(t._render(),n)},new bn(t,r,D,{before:function(){t._isMounted&&!t._isDestroyed&&un(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,un(t,"mounted")),t}(this,t=t&&q?sr(t):void 0,e)},q&&setTimeout((function(){j.devtools&&ut&&ut.emit("init",In)}),0);var bo=/\{\{((?:.|\r?\n)+?)\}\}/g,xo=/[-.*+?^${}()|[\]\/\\]/g,To=E((function(t){var e=t[0].replace(xo,"\\$&"),n=t[1].replace(xo,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}));var Eo={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=Yr(t,"class");
vendor: 8,675 bytes, line 2
2n&&(t.staticClass=JSON.stringify(n));var r=zr(t,"class",!1);r&&(t.classBinding=r)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}};var wo,So={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=Yr(t,"style");n&&(t.staticStyle=JSON.stringify(di(n)));var r=zr(t,"style",!1);r&&(t.styleBinding=r)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}},Ao=function(t){return(wo=wo||document.createElement("div")).innerHTML=t,wo.textContent},Oo=g("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Ro=g("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Po=g("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Co=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Io=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Mo="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+H.source+"]*",Do="((?:"+Mo+"\\:)?"+Mo+")",Lo=new RegExp("^<"+Do),No=/^\s*(\/?)>/,ko=new RegExp("^<\\/"+Do+"[^>]*>"),Fo=/^<!DOCTYPE [^>]+>/i,Bo=/^<!\--/,Uo=/^<!\[/,Go=g("script,style,textarea",!0),Xo={},jo={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t","&#39;":"'"},Ho=/&(?:lt|gt|quot|amp|#39);/g,zo=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Yo=g("pre,textarea",!0),Vo=function(t,e){return t&&Yo(t)&&"\n"===e[0]};function $o(t,e){var n=e?zo:Ho;return t.replace(n,(function(t){return jo[t]}))}var Wo,qo,Zo,Ko,Jo,Qo,ts,es,ns=/^@|^v-on:/,rs=/^v-|^@|^:|^#/,is=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,os=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ss=/^\(|\)$/g,as=/^\[.*\]$/,us=/:(.*)$/,ls=/^:|^\.|^v-bind:/,cs=/\.[^.\]]+(?=[^\]]*$)/g,hs=/^v-slot(:|$)|^#/,fs=/[\r\n]/,ds=/\s+/g,ps=E(Ao),vs="_empty_";function ms(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:Es(e),rawAttrsMap:{},parent:n,children:[]}}function gs(t,e){Wo=e.warn||kr,Qo=e.isPreTag||L,ts=e.mustUseProp||L,es=e.getTagNamespace||L;var n=e.isReservedTag||L;(function(t){return!!t.component||!n(t.tag)}),Zo=Fr(e.modules,"transformNode"),Ko=Fr(e.modules,"preTransformNode"),Jo=Fr(e.modules,"postTransformNode"),qo=e.delimiters;var r,i,o=[],s=!1!==e.preserveWhitespace,a=e.whitespace,u=!1,l=!1;function c(t){if(h(t),u||t.processed||(t=ys(t,e)),o.length||t===r||r.if&&(t.elseif||t.else)&&bs(r,{exp:t.elseif,block:t}),i&&!t.forbidden)if(t.elseif||t.else)s=t,(a=function(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];t.pop()}}(i.children))&&a.if&&bs(a,{exp:s.elseif,block:s});else{if(t.slotScope){var n=t.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[n]=t}i.children.push(t),t.parent=i}var s,a;t.children=t.children.filter((function(t){return!t.slotScope})),h(t),t.pre&&(u=!1),Qo(t.tag)&&(l=!1);for(var c=0;c<Jo.length;c++)Jo[c](t,e)}function h(t){if(!l)for(var e;(e=t.children[t.children.length-1])&&3===e.type&&" "===e.text;)t.children.pop()}return function(t,e){for(var n,r,i=[],o=e.expectHTML,s=e.isUnaryTag||L,a=e.canBeLeftOpenTag||L,u=0;t;){if(n=t,r&&Go(r)){var l=0,c=r.toLowerCase(),h=Xo[c]||(Xo[c]=new RegExp("([\\s\\S]*?)(</"+c+"[^>]*>)","i")),f=t.replace(h,(function(t,n,r){return l=r.length,Go(c)||"noscript"===c||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),Vo(c,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""}));u+=t.length-f.length,t=f,A(c,u-l,u)}else{var d=t.indexOf("<");if(0===d){if(Bo.test(t)){var p=t.indexOf("--\x3e");if(p>=0){e.shouldKeepComment&&e.comment(t.substring(4,p),u,u+p+3),E(p+3);continue}}if(Uo.test(t)){var v=t.indexOf("]>");if(v>=0){E(v+2);continue}}var m=t.match(Fo);if(m){E(m[0].length);continue}var g=t.match(ko);if(g){var y=u;E(g[0].length),A(g[1],y,u);continue}var _=w();if(_){S(_),Vo(_.tagName,t)&&E(1);continue}}var b=void 0,x=void 0,T=void 0;if(d>=0){for(x=t.slice(d);!(ko.test(x)||Lo.test(x)||Bo.test(x)||Uo.test(x)||(T=x.indexOf("<",1))<0);)d+=T,x=t.slice(d);b=t.substring(0,d)}d<0&&(b=t),b&&E(b.length),e.chars&&b&&e.chars(b,u-b.length,u)}if(t===n){e.chars&&e.chars(t);break}}function E(e){u+=e,t=t.substring(e)}function w(){var e=t.match(Lo);if(e){var n,r,i={tagName:e[1],attrs:[],start:u};for(E(e[0].length);!(n=t.match(No))&&(r=t.match(Io)||t.match(Co));)r.start=u,E(r[0].length),r.end=u,i.attrs.push(r);if(n)return i.unarySlash=n[1],E(n[0].length),i.end=u,i}}function S(t){var n=t.tagName,u=t.unarySlash;o&&("p"===r&&Po(n)&&A(r),a(n)&&r===n&&A(n));for(var l=s(n)||!!u,c=t.attrs.length,h=new Array(c),f=0;f<c;f++){var d=t.attrs[f],p=d[3]||d[4]||d[5]||"",v="a"===n&&"href"===d[1]?e.shouldDecodeNewlinesForHref:e.shouldDecodeNewlines;h[f]={name:d[1],value:$o(p,v)}}l||(i.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:h,start:t.start,end:t.end}),r=n),e.start&&e.start(n,h,l,t.start,t.end)}function A(t,n,o){var s,a;if(null==n&&(n=u),null==o&&(o=u),t)for(a=t.toLowerCase(),s=i.length-1;s>=0&&i[s].lowerCasedTag!==a;s--);else s=0;if(s>=0){for(var l=i.length-1;l>=s;l--)e.end&&e.end(i[l].tag,n,o);i.length=s,r=s&&i[s-1].tag}else"br"===a?e.start&&e.start(t,[],!0,n,o):"p"===a&&(e.start&&e.start(t,[],!1,n,o),e.end&&e.end(t,n,o))}A()}(t,{warn:Wo,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,n,s,a,h){var f=i&&i.ns||es(t);Q&&"svg"===f&&(n=function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];ws.test(r.name)||(r.name=r.name.replace(Ss,""),e.push(r))}return e}(n));var d,p=ms(t,n,i);f&&(p.ns=f),"style"!==(d=p).tag&&("script"!==d.tag||d.attrsMap.type&&"text/javascript"!==d.attrsMap.type)||at()||(p.forbidden=!0);for(var v=0;v<Ko.length;v++)p=Ko[v](p,e)||p;u||(!function(t){null!=Yr(t,"v-pre")&&(t.pre=!0)}(p),p.pre&&(u=!0)),Qo(p.tag)&&(l=!0),u?function(t){var e=t.attrsList,n=e.length;if(n)for(var r=t.attrs=new Array(n),i=0;i<n;i++)r[i]={name:e[i].name,value:JSON.stringify(e[i].value)},null!=e[i].start&&(r[i].start=e[i].start,r[i].end=e[i].end);else t.pre||(t.plain=!0)}(p):p.processed||(_s(p),function(t){var e=Yr(t,"v-if");if(e)t.if=e,bs(t,{exp:e,block:t});else{null!=Yr(t,"v-else")&&(t.else=!0);var n=Yr(t,"v-else-if");n&&(t.elseif=n)}}(p),function(t){null!=Yr(t,"v-once")&&(t.once=!0)}(p)),r||(r=p),s?c(p):(i=p,o.push(p))},end:function(t,e,n){var r=o[o.length-1];o.length-=1,i=o[o.length-1],c(r)},chars:function(t,e,n){if(i&&(!Q||"textarea"!==i.tag||i.attrsMap.placeholder!==t)){var r,o,c,h=i.children;if(t=l||t.trim()?"script"===(r=i).tag||"style"===r.tag?t:ps(t):h.length?a?"condense"===a&&fs.test(t)?"":" ":s?" ":"":"")l||"condense"!==a||(t=t.replace(ds," ")),!u&&" "!==t&&(o=function(t,e){var n=e?To(e):bo;if(n.test(t)){for(var r,i,o,s=[],a=[],u=n.lastIndex=0;r=n.exec(t);){(i=r.index)>u&&(a.push(o=t.slice(u,i)),s.push(JSON.stringify(o)));var l=Lr(r[1].trim());s.push("_s("+l+")"),a.push({"@binding":l}),u=i+r[0].length}return u<t.length&&(a.push(o=t.slice(u)),s.push(JSON.stringify(o))),{expression:s.join("+"),tokens:a}}}(t,qo))?c={type:2,expression:o.expression,tokens:o.tokens,text:t}:" "===t&&h.length&&" "===h[h.length-1].text||(c={type:3,text:t}),c&&h.push(c)}},comment:function(t,e,n){if(i){var r={type:3,text:t,isComment:!0};0,i.children.push(r)}}}),r}function ys(t,e){var n;!function(t){var e=zr(t,"key");if(e){t.key=e}}(t),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,function(t){var e=zr(t,"ref");e&&(t.ref=e,t.refInFor=function(t){var e=t;for(;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}(t))}(t),function(t){var e;"template"===t.tag?(e=Yr(t,"scope"),t.slotScope=e||Yr(t,"slot-scope")):(e=Yr(t,"slot-scope"))&&(t.slotScope=e);var n=zr(t,"slot");n&&(t.slotTarget='""'===n?'"default"':n,t.slotTargetDynamic=!(!t.attrsMap[":slot"]&&!t.attrsMap["v-bind:slot"]),"template"===t.tag||t.slotScope||Ur(t,"slot",n,function(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}(t,"slot")));if("template"===t.tag){var r=Vr(t,hs);if(r){0;var i=xs(r),o=i.name,s=i.dynamic;t.slotTarget=o,t.slotTargetDynamic=s,t.slotScope=r.value||vs}}else{var a=Vr(t,hs);if(a){0;var u=t.scopedSlots||(t.scopedSlots={}),l=xs(a),c=l.name,h=l.dynamic,f=u[c]=ms("template",[],t);f.slotTarget=c,f.slotTargetDynamic=h,f.children=t.children.filter((function(t){if(!t.slotScope)return t.parent=f,!0})),f.slotScope=a.value||vs,t.children=[],t.plain=!1}
vendor: 9,215 bytes, line 2
2}}(t),"slot"===(n=t).tag&&(n.slotName=zr(n,"name")),function(t){var e;(e=zr(t,"is"))&&(t.component=e);null!=Yr(t,"inline-template")&&(t.inlineTemplate=!0)}(t);for(var r=0;r<Zo.length;r++)t=Zo[r](t,e)||t;return function(t){var e,n,r,i,o,s,a,u,l=t.attrsList;for(e=0,n=l.length;e<n;e++){if(r=i=l[e].name,o=l[e].value,rs.test(r))if(t.hasBindings=!0,(s=Ts(r.replace(rs,"")))&&(r=r.replace(cs,"")),ls.test(r))r=r.replace(ls,""),o=Lr(o),(u=as.test(r))&&(r=r.slice(1,-1)),s&&(s.prop&&!u&&"innerHtml"===(r=S(r))&&(r="innerHTML"),s.camel&&!u&&(r=S(r)),s.sync&&(a=qr(o,"$event"),u?Hr(t,'"update:"+('+r+")",a,null,!1,0,l[e],!0):(Hr(t,"update:"+S(r),a,null,!1,0,l[e]),R(r)!==S(r)&&Hr(t,"update:"+R(r),a,null,!1,0,l[e])))),s&&s.prop||!t.component&&ts(t.tag,t.attrsMap.type,r)?Br(t,r,o,l[e],u):Ur(t,r,o,l[e],u);else if(ns.test(r))r=r.replace(ns,""),(u=as.test(r))&&(r=r.slice(1,-1)),Hr(t,r,o,s,!1,0,l[e],u);else{var c=(r=r.replace(rs,"")).match(us),h=c&&c[1];u=!1,h&&(r=r.slice(0,-(h.length+1)),as.test(h)&&(h=h.slice(1,-1),u=!0)),Xr(t,r,i,o,h,u,s,l[e])}else Ur(t,r,JSON.stringify(o),l[e]),!t.component&&"muted"===r&&ts(t.tag,t.attrsMap.type,r)&&Br(t,r,"true",l[e])}}(t),t}function _s(t){var e;if(e=Yr(t,"v-for")){var n=function(t){var e=t.match(is);if(!e)return;var n={};n.for=e[2].trim();var r=e[1].trim().replace(ss,""),i=r.match(os);i?(n.alias=r.replace(os,"").trim(),n.iterator1=i[1].trim(),i[2]&&(n.iterator2=i[2].trim())):n.alias=r;return n}(e);n&&I(t,n)}}function bs(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function xs(t){var e=t.name.replace(hs,"");return e||"#"!==t.name[0]&&(e="default"),as.test(e)?{name:e.slice(1,-1),dynamic:!0}:{name:'"'+e+'"',dynamic:!1}}function Ts(t){var e=t.match(cs);if(e){var n={};return e.forEach((function(t){n[t.slice(1)]=!0})),n}}function Es(t){for(var e={},n=0,r=t.length;n<r;n++)e[t[n].name]=t[n].value;return e}var ws=/^xmlns:NS\d+/,Ss=/^NS\d+:/;function As(t){return ms(t.tag,t.attrsList.slice(),t.parent)}var Os=[Eo,So,{preTransformNode:function(t,e){if("input"===t.tag){var n,r=t.attrsMap;if(!r["v-model"])return;if((r[":type"]||r["v-bind:type"])&&(n=zr(t,"type")),r.type||n||!r["v-bind"]||(n="("+r["v-bind"]+").type"),n){var i=Yr(t,"v-if",!0),o=i?"&&("+i+")":"",s=null!=Yr(t,"v-else",!0),a=Yr(t,"v-else-if",!0),u=As(t);_s(u),Gr(u,"type","checkbox"),ys(u,e),u.processed=!0,u.if="("+n+")==='checkbox'"+o,bs(u,{exp:u.if,block:u});var l=As(t);Yr(l,"v-for",!0),Gr(l,"type","radio"),ys(l,e),bs(u,{exp:"("+n+")==='radio'"+o,block:l});var c=As(t);return Yr(c,"v-for",!0),Gr(c,":type",n),ys(c,e),bs(u,{exp:i,block:c}),s?u.else=!0:a&&(u.elseif=a),u}}}}];var Rs,Ps,Cs={expectHTML:!0,modules:Os,directives:{model:function(t,e,n){n;var r=e.value,i=e.modifiers,o=t.tag,s=t.attrsMap.type;if(t.component)return Wr(t,r,i),!1;if("select"===o)!function(t,e,n){var r='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";r=r+" "+qr(e,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),Hr(t,"change",r,null,!0)}(t,r,i);else if("input"===o&&"checkbox"===s)!function(t,e,n){var r=n&&n.number,i=zr(t,"value")||"null",o=zr(t,"true-value")||"true",s=zr(t,"false-value")||"false";Br(t,"checked","Array.isArray("+e+")?_i("+e+","+i+")>-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),Hr(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+s+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+qr(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+qr(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+qr(e,"$$c")+"}",null,!0)}(t,r,i);else if("input"===o&&"radio"===s)!function(t,e,n){var r=n&&n.number,i=zr(t,"value")||"null";Br(t,"checked","_q("+e+","+(i=r?"_n("+i+")":i)+")"),Hr(t,"change",qr(e,i),null,!0)}(t,r,i);else if("input"===o||"textarea"===o)!function(t,e,n){var r=t.attrsMap.type;0;var i=n||{},o=i.lazy,s=i.number,a=i.trim,u=!o&&"range"!==r,l=o?"change":"range"===r?ni:"input",c="$event.target.value";a&&(c="$event.target.value.trim()");s&&(c="_n("+c+")");var h=qr(e,c);u&&(h="if($event.target.composing)return;"+h);Br(t,"value","("+e+")"),Hr(t,l,h,null,!0),(a||s)&&Hr(t,"blur","$forceUpdate()")}(t,r,i);else{if(!j.isReservedTag(o))return Wr(t,r,i),!1}return!0},text:function(t,e){e.value&&Br(t,"textContent","_s("+e.value+")",e)},html:function(t,e){e.value&&Br(t,"innerHTML","_s("+e.value+")",e)}},isPreTag:function(t){return"pre"===t},isUnaryTag:Oo,mustUseProp:Xn,canBeLeftOpenTag:Ro,isReservedTag:nr,getTagNamespace:rr,staticKeys:function(t){return t.reduce((function(t,e){return t.concat(e.staticKeys||[])}),[]).join(",")}(Os)},Is=E((function(t){return g("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}));function Ms(t,e){t&&(Rs=Is(e.staticKeys||""),Ps=e.isReservedTag||L,Ds(t),Ls(t,!1))}function Ds(t){if(t.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||y(t.tag)||!Ps(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(Rs)))}(t),1===t.type){if(!Ps(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var e=0,n=t.children.length;e<n;e++){var r=t.children[e];Ds(r),r.static||(t.static=!1)}if(t.ifConditions)for(var i=1,o=t.ifConditions.length;i<o;i++){var s=t.ifConditions[i].block;Ds(s),s.static||(t.static=!1)}}}function Ls(t,e){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=e),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var n=0,r=t.children.length;n<r;n++)Ls(t.children[n],e||!!t.for);if(t.ifConditions)for(var i=1,o=t.ifConditions.length;i<o;i++)Ls(t.ifConditions[i].block,e)}}var Ns=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,ks=/\([^)]*?\);*$/,Fs=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Bs={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Us={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Gs=function(t){return"if("+t+")return null;"},Xs={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Gs("$event.target !== $event.currentTarget"),ctrl:Gs("!$event.ctrlKey"),shift:Gs("!$event.shiftKey"),alt:Gs("!$event.altKey"),meta:Gs("!$event.metaKey"),left:Gs("'button' in $event && $event.button !== 0"),middle:Gs("'button' in $event && $event.button !== 1"),right:Gs("'button' in $event && $event.button !== 2")};function js(t,e){var n=e?"nativeOn:":"on:",r="",i="";for(var o in t){var s=Hs(t[o]);t[o]&&t[o].dynamic?i+=o+","+s+",":r+='"'+o+'":'+s+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function Hs(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map((function(t){return Hs(t)})).join(",")+"]";var e=Fs.test(t.value),n=Ns.test(t.value),r=Fs.test(t.value.replace(ks,""));if(t.modifiers){var i="",o="",s=[];for(var a in t.modifiers)if(Xs[a])o+=Xs[a],Bs[a]&&s.push(a);else if("exact"===a){var u=t.modifiers;o+=Gs(["ctrl","shift","alt","meta"].filter((function(t){return!u[t]})).map((function(t){return"$event."+t+"Key"})).join("||"))}else s.push(a);return s.length&&(i+=function(t){return"if(!$event.type.indexOf('key')&&"+t.map(zs).join("&&")+")return null;"}(s)),o&&(i+=o),"function($event){"+i+(e?"return "+t.value+"($event)":n?"return ("+t.value+")($event)":r?"return "+t.value:t.value)+"}"}return e||n?t.value:"function($event){"+(r?"return "+t.value:t.value)+"}"}function zs(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=Bs[t],r=Us[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Ys={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:D},Vs=function(t){this.options=t,this.warn=t.warn||kr,this.transforms=Fr(t.modules,"transformCode"),this.dataGenFns=Fr(t.modules,"genData"),this.directives=I(I({},Ys),t.directives);var e=t.isReservedTag||L;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function $s(t,e){var n=new Vs(e);return{render:"with(this){return "+(t?Ws(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ws(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return qs(t,e);if(t.once&&!t.onceProcessed)return Zs(t,e);if(t.for&&!t.forProcessed)return Qs(t,e);if(t.if&&!t.ifProcessed)return Ks(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',r=ra(t,e),i="_t("+n+(r?","+r:""),o=t.attrs||t.dynamicAttrs?sa((t.attrs||[]).concat(t.dynamicAttrs||[]).map((function(t){return{name:S(t.name),value:t.value,dynamic:t.dynamic}}
vendor: 4,152 bytes, line 2
2))):null,s=t.attrsMap["v-bind"];!o&&!s||r||(i+=",null");o&&(i+=","+o);s&&(i+=(o?"":",null")+","+s);return i+")"}(t,e);var n;if(t.component)n=function(t,e,n){var r=e.inlineTemplate?null:ra(e,n,!0);return"_c("+t+","+ta(e,n)+(r?","+r:"")+")"}(t.component,t,e);else{var r;(!t.plain||t.pre&&e.maybeComponent(t))&&(r=ta(t,e));var i=t.inlineTemplate?null:ra(t,e,!0);n="_c('"+t.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o<e.transforms.length;o++)n=e.transforms[o](t,n);return n}return ra(t,e)||"void 0"}function qs(t,e){t.staticProcessed=!0;var n=e.pre;return t.pre&&(e.pre=t.pre),e.staticRenderFns.push("with(this){return "+Ws(t,e)+"}"),e.pre=n,"_m("+(e.staticRenderFns.length-1)+(t.staticInFor?",true":"")+")"}function Zs(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return Ks(t,e);if(t.staticInFor){for(var n="",r=t.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o("+Ws(t,e)+","+e.onceId+++","+n+")":Ws(t,e)}return qs(t,e)}function Ks(t,e,n,r){return t.ifProcessed=!0,Js(t.ifConditions.slice(),e,n,r)}function Js(t,e,n,r){if(!t.length)return r||"_e()";var i=t.shift();return i.exp?"("+i.exp+")?"+o(i.block)+":"+Js(t,e,n,r):""+o(i.block);function o(t){return n?n(t,e):t.once?Zs(t,e):Ws(t,e)}}function Qs(t,e,n,r){var i=t.for,o=t.alias,s=t.iterator1?","+t.iterator1:"",a=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,(r||"_l")+"(("+i+"),function("+o+s+a+"){return "+(n||Ws)(t,e)+"})"}function ta(t,e){var n="{",r=function(t,e){var n=t.directives;if(!n)return;var r,i,o,s,a="directives:[",u=!1;for(r=0,i=n.length;r<i;r++){o=n[r],s=!0;var l=e.directives[o.name];l&&(s=!!l(t,o,e.warn)),s&&(u=!0,a+='{name:"'+o.name+'",rawName:"'+o.rawName+'"'+(o.value?",value:("+o.value+"),expression:"+JSON.stringify(o.value):"")+(o.arg?",arg:"+(o.isDynamicArg?o.arg:'"'+o.arg+'"'):"")+(o.modifiers?",modifiers:"+JSON.stringify(o.modifiers):"")+"},")}if(u)return a.slice(0,-1)+"]"}(t,e);r&&(n+=r+","),t.key&&(n+="key:"+t.key+","),t.ref&&(n+="ref:"+t.ref+","),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'+t.tag+'",');for(var i=0;i<e.dataGenFns.length;i++)n+=e.dataGenFns[i](t);if(t.attrs&&(n+="attrs:"+sa(t.attrs)+","),t.props&&(n+="domProps:"+sa(t.props)+","),t.events&&(n+=js(t.events,!1)+","),t.nativeEvents&&(n+=js(t.nativeEvents,!0)+","),t.slotTarget&&!t.slotScope&&(n+="slot:"+t.slotTarget+","),t.scopedSlots&&(n+=function(t,e,n){var r=t.for||Object.keys(e).some((function(t){var n=e[t];return n.slotTargetDynamic||n.if||n.for||ea(n)})),i=!!t.if;if(!r)for(var o=t.parent;o;){if(o.slotScope&&o.slotScope!==vs||o.for){r=!0;break}o.if&&(i=!0),o=o.parent}var s=Object.keys(e).map((function(t){return na(e[t],n)})).join(",");return"scopedSlots:_u(["+s+"]"+(r?",null,true":"")+(!r&&i?",null,false,"+function(t){var e=5381,n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return e>>>0}(s):"")+")"}(t,t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var o=function(t,e){var n=t.children[0];0;if(n&&1===n.type){var r=$s(n,e.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map((function(t){return"function(){"+t+"}"})).join(",")+"]}"}}(t,e);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b("+n+',"'+t.tag+'",'+sa(t.dynamicAttrs)+")"),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function ea(t){return 1===t.type&&("slot"===t.tag||t.children.some(ea))}function na(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return Ks(t,e,na,"null");if(t.for&&!t.forProcessed)return Qs(t,e,na);var r=t.slotScope===vs?"":String(t.slotScope),i="function("+r+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(ra(t,e)||"undefined")+":undefined":ra(t,e)||"undefined":Ws(t,e))+"}",o=r?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+i+o+"}"}function ra(t,e,n,r,i){var o=t.children;if(o.length){var s=o[0];if(1===o.length&&s.for&&"template"!==s.tag&&"slot"!==s.tag){var a=n?e.maybeComponent(s)?",1":",0":"";return""+(r||Ws)(s,e)+a}var u=n?function(t,e){for(var n=0,r=0;r<t.length;r++){var i=t[r];
2if(1===i.type){if(ia(i)||i.ifConditions&&i.ifConditions.some((function(t){return ia(t.block)}))){n=2;break}(e(i)||i.ifConditions&&i.ifConditions.some((function(t){return e(t.block)})))&&(n=1)}}return n}(o,e.maybeComponent):0,l=i||oa;return"["+o.map((function(t){return l(t,e)})).join(",")+"]"+(u?","+u:"")}}function ia(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function oa(t,e){return 1===t.type?Ws(t,e):3===t.type&&t.isComment?function(t){return"_e("+JSON.stringify(t.text)+")"}(t):"_v("+(2===(n=t).type?n.expression:aa(JSON.stringify(n.text)))+")";var n}function sa(t){for(var e="",n="",r=0;r<t.length;r++){var i=t[r],o=aa(i.value);i.dynamic?n+=i.name+","+o+",":e+='"'+i.name+'":'+o+","}return e="{"+e.slice(0,-1)+"}",n?"_d("+e+",["+n.slice(0,-1)+"])":e}function aa(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");function ua(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),D}}function la(t){var e=Object.create(null);return function(n,r,i){(r=I({},r)).warn;delete r.warn;var o=r.delimiters?String(r.delimiters)+n:n;if(e[o])return e[o];var s=t(n,r);var a={},u=[];return a.render=ua(s.render,u),a.staticRenderFns=s.staticRenderFns.map((function(t){return ua(t,u)})),e[o]=a}}var ca,ha,fa=(ca=function(t,e){var n=gs(t.trim(),e);!1!==e.optimize&&Ms(n,e);var r=$s(n,e);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}},function(t){function e(e,n){var r=Object.create(t),i=[],o=[];if(n)for(var s in n.modules&&(r.modules=(t.modules||[]).concat(n.modules)),n.directives&&(r.directives=I(Object.create(t.directives||null),n.directives)),n)"modules"!==s&&"directives"!==s&&(r[s]=n[s]);r.warn=function(t,e,n){(n?o:i).push(t)};var a=ca(e.trim(),r);return a.errors=i,a.tips=o,a}return{compile:e,compileToFunctions:la(e)}})(Cs),da=(fa.compile,fa.compileToFunctions);function pa(t){return(ha=ha||document.createElement("div")).innerHTML=t?'<a href="\n"/>':'<div a="\n"/>',ha.innerHTML.indexOf("&#10;")>0}var va=!!q&&pa(!1),ma=!!q&&pa(!0),ga=E((function(t){var e=sr(t);return e&&e.innerHTML})),ya=In.prototype.$mount;In.prototype.$mount=function(t,e){if((t=t&&sr(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ga(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(r){0;var i=da(r,{outputSourceRange:!1,shouldDecodeNewlines:va,shouldDecodeNewlinesForHref:ma,delimiters:n.delimiters,comments:n.comments},this),o=i.render,s=i.staticRenderFns;n.render=o,n.staticRenderFns=s}}return ya.call(this,t,e)},In.compile=da;var _a=In,ba=n(9996),xa=n.n(ba);function Ta(t){return(Ta="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ea(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wa(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Sa(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wa(Object(n),!0).forEach((function(e){Ea(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wa(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Aa(t){return function(t){if(Array.isArray(t))return Ra(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Oa(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oa(t,e){if(t){if("string"==typeof t)return Ra(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ra(t,e):void 0}}function Ra(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Pa(t){return Array.isArray(t)}function Ca(t){return void 0===t}function Ia(t){return"object"===Ta(t)}function Ma(t){return"object"===Ta(t)&&null!==t}function Da(t){return"function"==typeof t}var La=(function(){try{return!Ca(window)}catch(t){return!1}}()?window:n.g).console||{};function Na(t){La&&La.warn&&La.warn(t)}var ka=function(){return Na("This vue app/component has no vue-meta configuration")},Fa={title:void 0,titleChunk:"",titleTemplate:"%s",htmlAttrs:{},bodyAttrs:{},headAttrs:{},base:[],link:[],meta:[],style:[],script:[],noscript:[],__dangerouslyDisableSanitizers:[],__dangerouslyDisableSanitizersByTagID:{}},Ba="metaInfo",Ua="data-vue-meta",Ga="data-vue-meta-server-rendered",Xa="vmid",ja="c
2ontent",Ha="template",za=!0,Ya=10,Va="ssr",$a=Object.keys(Fa),Wa=[$a[12],$a[13]],qa=[$a[1],$a[2],"changed"].concat(Wa),Za=[$a[3],$a[4],$a[5]],Ka=["link","style","script"],Ja=["base","meta","link"],Qa=["noscript","script","style"],tu=["innerHTML","cssText","json"],eu=["once","skip","template"],nu=["body","pbody"],ru=["allowfullscreen","amp","amp-boilerplate","async","autofocus","autoplay","checked","compact","controls","declare","default","defaultchecked","defaultmuted","defaultselected","defer","disabled","enabled","formnovalidate","hidden","indeterminate","inert","ismap","itemscope","loop","multiple","muted","nohref","noresize","noshade","novalidate","nowrap","open","pauseonexit","readonly","required","reversed","scoped","seamless","selected","sortable","truespeed","typemustmatch","visible"],iu=null;function ou(t,e,n){var r=t.debounceWait;e._vueMeta.initialized||!e._vueMeta.initializing&&"watcher"!==n||(e._vueMeta.initialized=null),e._vueMeta.initialized&&!e._vueMeta.pausing&&function(t,e){if(!(e=void 0===e?10:e))return void t();clearTimeout(iu),iu=setTimeout((function(){t()}),e)}((function(){e.$meta().refresh()}),r)}function su(t,e,n){if(!Array.prototype.findIndex){for(var r=0;r<t.length;r++)if(e.call(n,t[r],r,t))return r;return-1}return t.findIndex(e,n)}function au(t){return Array.from?Array.from(t):Array.prototype.slice.call(t)}function uu(t,e){if(!Array.prototype.includes){for(var n in t)if(t[n]===e)return!0;return!1}return t.includes(e)}var lu=function(t,e){return(e||document).querySelectorAll(t)};function cu(t,e){return t[e]||(t[e]=document.getElementsByTagName(e)[0]),t[e]}function hu(t,e,n){var r=e.appId,i=e.attribute,o=e.type,s=e.tagIDKeyName;n=n||{};var a=["".concat(o,"[").concat(i,'="').concat(r,'"]'),"".concat(o,"[data-").concat(s,"]")].map((function(t){for(var e in n){var r=n[e],i=r&&!0!==r?'="'.concat(r,'"'):"";t+="[data-".concat(e).concat(i,"]")}return t}));return au(lu(a.join(", "),t))}function fu(t,e){t.removeAttribute(e)}function du(t){return(t=t||this)&&(!0===t._vueMeta||Ia(t._vueMeta))}function pu(t,e){return t._vueMeta.pausing=!0,function(){return vu(t,e)}}function vu(t,e){if(t._vueMeta.pausing=!1,e||void 0===e)return t.$meta().refresh()}function mu(t){var e=t.$router;!t._vueMeta.navGuards&&e&&(t._vueMeta.navGuards=!0,e.beforeEach((function(e,n,r){pu(t),r()})),e.afterEach((function(){t.$nextTick((function(){var e=vu(t).metaInfo;e&&Da(e.afterNavigation)&&e.afterNavigation(e)}))})))}var gu=1;function yu(t,e){var n=["activated","deactivated","beforeMount"],r=!1;return{beforeCreate:function(){var i=this,o=this.$root,s=this.$options,a=t.config.devtools;if(Object.defineProperty(this,"_hasMetaInfo",{configurable:!0,get:function(){return a&&!o._vueMeta.deprecationWarningShown&&(Na("VueMeta DeprecationWarning: _hasMetaInfo has been deprecated and will be removed in a future version. Please use hasMetaInfo(vm) instead"),o._vueMeta.deprecationWarningShown=!0),du(this)}}),this===o&&o.$once("hook:beforeMount",(function(){if(!(r=this.$el&&1===this.$el.nodeType&&this.$el.hasAttribute("data-server-rendered"))&&o._vueMeta&&1===o._vueMeta.appId){var t=cu({},"html");r=t&&t.hasAttribute(e.ssrAttribute)}})),!Ca(s[e.keyName])&&null!==s[e.keyName]){if(o._vueMeta||(o._vueMeta={appId:gu},gu++,a&&o.$options[e.keyName]&&this.$nextTick((function(){var t=function(t,e,n){if(Array.prototype.find)return t.find(e,n);for(var r=0;r<t.length;r++)if(e.call(n,t[r],r,t))return t[r]}(o.$children,(function(t){return t.$vnode&&t.$vnode.fnOptions}));t&&t.$vnode.fnOptions[e.keyName]&&Na("VueMeta has detected a possible global mixin which adds a ".concat(e.keyName," property to all Vue components on the page. This could cause severe performance issues. If possible, use $meta().addApp to add meta information instead"))}))),!this._vueMeta){this._vueMeta=!0;for(var u=this.$parent;u&&u!==o;)Ca(u._vueMeta)&&(u._vueMeta=!1),u=u.$parent}Da(s[e.keyName])&&(s.computed=s.computed||{},s.computed.$metaInfo=s[e.keyName],this.$isServer||this.$on("hook:created",(function(){this.$watch("$metaInfo",(function(){ou(e,this.$root,"watcher")}))}))),Ca(o._vueMeta.initialized)&&(o._vueMeta.initialized=this.$isServer,o._vueMeta.initialized||(o._vueMeta.initializedSsr||(o._vueMeta.initializedSsr=!0,this.$on("hook:beforeMount",(function(){var t=this.$root;r&&(t._vueMeta.appId=e.ssrAppId)}
vendor: 4,534 bytes, line 2
2))),this.$on("hook:mounted",(function(){var t=this.$root;t._vueMeta.initialized||(t._vueMeta.initializing=!0,this.$nextTick((function(){var n=t.$meta().refresh(),r=n.tags,i=n.metaInfo;!1===r&&null===t._vueMeta.initialized&&this.$nextTick((function(){return ou(e,t,"init")})),t._vueMeta.initialized=!0,delete t._vueMeta.initializing,!e.refreshOnceOnNavigation&&i.afterNavigation&&mu(t)})))})),e.refreshOnceOnNavigation&&mu(o))),this.$on("hook:destroyed",(function(){var t=this;this.$parent&&du(this)&&(delete this._hasMetaInfo,this.$nextTick((function(){if(e.waitOnDestroyed&&t.$el&&t.$el.offsetParent)var n=setInterval((function(){t.$el&&null!==t.$el.offsetParent||(clearInterval(n),ou(e,t.$root,"destroyed"))}),50);else ou(e,t.$root,"destroyed")})))})),this.$isServer||n.forEach((function(t){i.$on("hook:".concat(t),(function(){ou(e,this.$root,t)}))}))}}}}function _u(t){return{keyName:(t=Ia(t)?t:{}).keyName||Ba,attribute:t.attribute||Ua,ssrAttribute:t.ssrAttribute||Ga,tagIDKeyName:t.tagIDKeyName||Xa,contentKeyName:t.contentKeyName||ja,metaTemplateKeyName:t.metaTemplateKeyName||Ha,debounceWait:Ca(t.debounceWait)?Ya:t.debounceWait,waitOnDestroyed:Ca(t.waitOnDestroyed)?za:t.waitOnDestroyed,ssrAppId:t.ssrAppId||Va,refreshOnceOnNavigation:!!t.refreshOnceOnNavigation}}function bu(t,e){return e&&Ia(t)?(Pa(t[e])||(t[e]=[]),t):Pa(t)?t:[]}var xu=[[/&/g,"&amp;"],[/</g,"&lt;"],[/>/g,"&gt;"],[/"/g,"&quot;"],[/'/g,"&#x27;"]],Tu=[[/&/g,"&"],[/</g,"<"],[/>/g,">"],[/"/g,'"'],[/'/g,"'"]];function Eu(t,e,n,r){var i=e.tagIDKeyName,o=n.doEscape,s=void 0===o?function(t){return t}:o,a={};for(var u in t){var l=t[u];if(uu(qa,u))a[u]=l;else{var c=Wa[0];if(n[c]&&uu(n[c],u))a[u]=l;else{var h=t[i];if(h&&(c=Wa[1],n[c]&&n[c][h]&&uu(n[c][h],u)))a[u]=l;else if("string"==typeof l?a[u]=s(l):Pa(l)?a[u]=l.map((function(t){return Ma(t)?Eu(t,e,n,!0):s(t)})):Ma(l)?a[u]=Eu(l,e,n,!0):a[u]=l,r){var f=s(u);u!==f&&(a[f]=a[u],delete a[u])}}}}return a}function wu(t,e,n){n=n||[];var r={doEscape:function(t){return n.reduce((function(t,e){return t.replace(e[0],e[1])}),t)}};return Wa.forEach((function(t,n){if(0===n)bu(e,t);else if(1===n)for(var i in e[t])bu(e[t],i);r[t]=e[t]})),Eu(e,t,r)}function Su(t,e,n,r){var i=t.component,o=t.metaTemplateKeyName,s=t.contentKeyName;return!0!==n&&!0!==e[o]&&(Ca(n)&&e[o]&&(n=e[o],e[o]=!0),n?(Ca(r)&&(r=e[s]),e[s]=Da(n)?n.call(i,r):n.replace(/%s/g,r),!0):(delete e[o],!1))}var Au=!1;function Ou(t,e,n){return n=n||{},void 0===e.title&&delete e.title,Za.forEach((function(t){if(e[t])for(var n in e[t])n in e[t]&&void 0===e[t][n]&&(uu(ru,n)&&!Au&&(Na("VueMeta: Please note that since v2 the value undefined is not used to indicate boolean attributes anymore, see migration guide for details"),Au=!0),delete e[t][n])})),xa()(t,e,{arrayMerge:function(t,e){return function(t,e,n){var r=t.component,i=t.tagIDKeyName,o=t.metaTemplateKeyName,s=t.contentKeyName,a=[];return e.length||n.length?(e.forEach((function(t,e){if(t[i]){var u=su(n,(function(e){return e[i]===t[i]})),l=n[u];if(-1!==u){if(s in l&&void 0===l[s]||"innerHTML"in l&&void 0===l.innerHTML)return a.push(t),void n.splice(u,1);if(null!==l[s]&&null!==l.innerHTML){var c=t[o];if(c){if(!l[o])return Su({component:r,metaTemplateKeyName:o,contentKeyName:s},l,c),void(l.template=!0);l[s]||Su({component:r,metaTemplateKeyName:o,contentKeyName:s},l,void 0,t[s])}}else n.splice(u,1)}else a.push(t)}else a.push(t)})),a.concat(n)):a}(n,t,e)}})}function Ru(t,e){return Pu(t||{},e,Fa)}function Pu(t,e,n){if(n=n||{},e._inactive)return n;var r=(t=t||{}).keyName,i=e.$metaInfo,o=e.$options,s=e.$children;if(o[r]){var a=i||o[r];Ia(a)&&(n=Ou(n,a,t))}return s.length&&s.forEach((function(e){(function(t){return(t=t||this)&&!Ca(t._vueMeta)})(e)&&(n=Pu(t,e,n))})),n}var Cu=[];function Iu(t,e,n,r){var i=t.tagIDKeyName,o=!1;return n.forEach((function(t){t[i]&&t.callback&&(o=!0,function(t,e){1===arguments.length&&(e=t,t=""),Cu.push([t,e])}("".concat(e,"[data-").concat(i,'="').concat(t[i],'"]'),t.callback))})),r&&o?Mu():o}function Mu(){var t;"complete"!==(t||document).readyState?document.onreadystatechange=function(){Du()}:Du()}function Du(t){Cu.forEach((function(e){var n=e[0],r=e[1],i="".concat(n,'[onload="this.__vm_l=1"]'),o=[];t||(o=au(lu(i))),t&&t.matches(i)&&(o=[t]),o.forEach((function(t){if(!t.__vm_cb){var e=function(){t.__vm_cb=!0,fu(t,"onload"),r(t)};t.__vm_l?e():t.__vm_ev||(t.__vm_ev=!0,t.addEventListener("load",e))}}))}))}var Lu,Nu={};function ku(t,e,n,r,i){var o=(e||{}).attribute,s=i.getAttribute(o);s&&(Nu[n]=JSON.parse(decodeURI(s)),fu(i,o));var a=Nu[n]||{},u=[];
2for(var l in a)void 0!==a[l]&&t in a[l]&&(u.push(l),r[l]||delete a[l][t]);for(var c in r){var h=a[c];h&&h[t]===r[c]||(u.push(c),void 0!==r[c]&&(a[c]=a[c]||{},a[c][t]=r[c]))}for(var f=0,d=u;f<d.length;f++){var p=d[f],v=a[p],m=[];for(var g in v)Array.prototype.push.apply(m,[].concat(v[g]));if(m.length){var y=uu(ru,p)&&m.some(Boolean)?"":m.filter((function(t){return void 0!==t})).join(" ");i.setAttribute(p,y)}else fu(i,p)}Nu[n]=a}function Fu(t,e,n,r,i,o){var s=e||{},a=s.attribute,u=s.tagIDKeyName,l=nu.slice();l.push(u);var c=[],h={appId:t,attribute:a,type:n,tagIDKeyName:u},f={head:hu(i,h),pbody:hu(o,h,{pbody:!0}),body:hu(o,h,{body:!0})};if(r.length>1){var d=[];r=r.filter((function(t){var e=JSON.stringify(t),n=!uu(d,e);return d.push(e),n}))}r.forEach((function(e){if(!e.skip){var r=document.createElement(n);e.once||r.setAttribute(a,t),Object.keys(e).forEach((function(t){if(!uu(eu,t))if("innerHTML"!==t)if("json"!==t)if("cssText"!==t)if("callback"!==t){var n=uu(l,t)?"data-".concat(t):t,i=uu(ru,t);if(!i||e[t]){var o=i?"":e[t];r.setAttribute(n,o)}}else r.onload=function(){return e[t](r)};else r.styleSheet?r.styleSheet.cssText=e.cssText:r.appendChild(document.createTextNode(e.cssText));else r.innerHTML=JSON.stringify(e.json);else r.innerHTML=e.innerHTML}));var i,o=f[function(t){var e=t.body,n=t.pbody;return e?"body":n?"pbody":"head"}(e)];o.some((function(t,e){return i=e,r.isEqualNode(t)}))&&(i||0===i)?o.splice(i,1):c.push(r)}}));var p=[];for(var v in f)Array.prototype.push.apply(p,f[v]);return p.forEach((function(t){t.parentNode.removeChild(t)})),c.forEach((function(t){t.hasAttribute("data-body")?o.appendChild(t):t.hasAttribute("data-pbody")?o.insertBefore(t,o.firstChild):i.appendChild(t)})),{oldTags:p,newTags:c}}function Bu(t,e,n){var r=e=e||{},i=r.ssrAttribute,o=r.ssrAppId,s={},a=cu(s,"html");if(t===o&&a.hasAttribute(i)){fu(a,i);var u=!1;return Ka.forEach((function(t){n[t]&&Iu(e,t,n[t])&&(u=!0)})),u&&Mu(),!1}var l,c={},h={};for(var f in n)if(!uu(qa,f))if("title"!==f){if(uu(Za,f)){var d=f.substr(0,4);ku(t,e,f,n[f],cu(s,d))}else if(Pa(n[f])){var p=Fu(t,e,f,n[f],cu(s,"head"),cu(s,"body")),v=p.oldTags,m=p.newTags;m.length&&(c[f]=m,h[f]=v)}}else((l=n.title)||""===l)&&(document.title=l);return{tagsAdded:c,tagsRemoved:h}}function Uu(t,e,n){return{set:function(r){return function(t,e,n,r){if(t&&t.$el)return Bu(e,n,r);(Lu=Lu||{})[e]=r}(t,e,n,r)},remove:function(){return function(t,e,n){if(t&&t.$el){var r,i={},o=function(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=Oa(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return s=t.done,t},e:function(t){a=!0,o=t},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}(Za);try{for(o.s();!(r=o.n()).done;){var s=r.value,a=s.substr(0,4);ku(e,n,s,{},cu(i,a))}}catch(t){o.e(t)}finally{o.f()}return function(t,e){var n=t.attribute;au(lu("[".concat(n,'="').concat(e,'"]'))).map((function(t){return t.remove()}))}(n,e)}Lu[e]&&(delete Lu[e],Xu())}(t,e,n)}}}function Gu(){return Lu}function Xu(t){!t&&Object.keys(Lu).length||(Lu=void 0)}function ju(t,e,n,r){n=n||[];var i=(t=t||{}).tagIDKeyName;return e.title&&(e.titleChunk=e.title),e.titleTemplate&&"%s"!==e.titleTemplate&&Su({component:r,contentKeyName:"title"},e,e.titleTemplate,e.titleChunk||""),e.base&&(e.base=Object.keys(e.base).length?[e.base]:[]),e.meta&&(e.meta=e.meta.filter((function(t,e,n){return!t[i]||e===su(n,(function(e){return e[i]===t[i]}))})),e.meta.forEach((function(e){return Su(t,e)}))),wu(t,e,n)}function Hu(t,e,n,r){var i=t||{},o=i.ssrAppId,s=i.attribute,a=i.tagIDKeyName,u=r||{},l=u.appId,c=u.isSSR,h=void 0===c||c,f=u.body,d=void 0!==f&&f,p=u.pbody,v=void 0!==p&&p,m=u.ln,g=void 0!==m&&m,y=[a].concat(Aa(nu));return n&&n.length?n.reduce((function(t,n){if(n.skip)return t;if(0===Object.keys(n).length)return t;if(Boolean(n.body)!==d||Boolean(n.pbody)!==v)return t;var r=n.once?"":" ".concat(s,'="').concat(l||(!1===h?"1":o),'"');for(var i in n)if(!tu.includes(i)&&!eu.includes(i))if("callback"!==i){var a="";y.includes(i)&&(a="data-");var u=!a&&ru.includes(i);u&&!n[i]||(r+=" ".concat(a).concat(i)+(u?"":'="'.concat(n[i],'"')))}else r+=' onload="this.__vm_l=1"';var c="";n.json&&(c=JSON.stringify(n.json));var f=n.innerHTML||n.cssText||c,p=!Ja.includes(e),m=p&&Qa.includes(e);return"".concat(t,"<").concat(e).concat(r).concat(!m&&p?"/":"",">")+(m?"".concat(f,"</").concat(e,">"):"")+(g?"\n":"")}),""):""}function zu(t,e,n){var r={data:e,extraData:void 0,addInfo:function(t,e){this.extraData=this.extraData||{},this.extraData[t]=e}
2,callInjectors:function(t){var e=this.injectors;return(t.body||t.pbody?"":e.title.text(t))+e.meta.text(t)+e.base.text(t)+e.link.text(t)+e.style.text(t)+e.script.text(t)+e.noscript.text(t)},injectors:{head:function(t){return r.callInjectors(Sa(Sa({},n),{},{ln:t}))},bodyPrepend:function(t){return r.callInjectors(Sa(Sa({},n),{},{ln:t,pbody:!0}))},bodyAppend:function(t){return r.callInjectors(Sa(Sa({},n),{},{ln:t,body:!0}))}}},i=function(e){if(qa.includes(e))return"continue";r.injectors[e]={text:function(i){if(i=Sa(Sa({addSsrAttribute:!0===i},n),i),"title"===e)return function(t,e,n,r){var i=(r||{}).ln;return n?"<".concat(e,">").concat(n,"</").concat(e,">").concat(i?"\n":""):""}(0,e,r.data[e],i);if(Za.includes(e)){var o={},s=r.data[e];if(s){var a=!1===i.isSSR?"1":t.ssrAppId;for(var u in s)o[u]=Ea({},a,s[u])}if(r.extraData)for(var l in r.extraData){var c=r.extraData[l][e];if(c)for(var h in c)o[h]=Sa(Sa({},o[h]),{},Ea({},l,c[h]))}return function(t,e,n,r){var i=r.addSsrAttribute,o=t||{},s=o.attribute,a=o.ssrAttribute,u="";for(var l in n){var c=n[l],h=[];for(var f in c)h.push.apply(h,Aa([].concat(c[f])));h.length&&(u+=ru.includes(l)&&h.some(Boolean)?"".concat(l):"".concat(l,'="').concat(h.join(" "),'"'),u+=" ")}return u&&(u+="".concat(s,'="').concat(encodeURI(JSON.stringify(n)),'"')),"htmlAttrs"===e&&i?"".concat(a).concat(u?" ":"").concat(u):u}(t,e,o,i)}var f=Hu(t,e,r.data[e],i);if(r.extraData)for(var d in r.extraData){var p=r.extraData[d][e],v=Hu(t,e,p,Sa({appId:d},i));f="".concat(f).concat(v)}return f}}};for(var o in Fa)i(o);return r}function Yu(t){t=t||{};var e=this.$root;return{getOptions:function(){return function(t){var e={};for(var n in t)e[n]=t[n];return e}(t)},setOptions:function(n){var r="refreshOnceOnNavigation";n&&n[r]&&(t.refreshOnceOnNavigation=!!n[r],mu(e));var i="debounceWait";if(n&&i in n){var o=parseInt(n.debounceWait);isNaN(o)||(t.debounceWait=o)}var s="waitOnDestroyed";n&&s in n&&(t.waitOnDestroyed=!!n.waitOnDestroyed)},refresh:function(){return function(t,e){if(e=e||{},!t._vueMeta)return ka(),{};var n=ju(e,Ru(e,t),Tu,t),r=Bu(t._vueMeta.appId,e,n);r&&Da(n.changed)&&(n.changed(n,r.tagsAdded,r.tagsRemoved),r={addedTags:r.tagsAdded,removedTags:r.tagsRemoved});var i=Gu();if(i){for(var o in i)Bu(o,e,i[o]),delete i[o];Xu(!0)}return{vm:t,metaInfo:n,tags:r}}(e,t)},inject:function(n){return function(t,e,n){if(!t._vueMeta)return ka(),{};var r=zu(e,ju(e,Ru(e,t),xu,t),n),i=Gu();if(i){for(var o in i)r.addInfo(o,i[o]),delete i[o];Xu(!0)}return r.injectors}
2(e,t,n)},pause:function(){return pu(e)},resume:function(){return vu(e)},addApp:function(n){return Uu(e,n,t)}}}var Vu={version:"2.4.0",install:function(t,e){t.__vuemeta_installed||(t.__vuemeta_installed=!0,e=_u(e),t.prototype.$meta=function(){return Yu.call(this,e)},t.mixin(yu(t,e)))},generate:function(t,e){return function(t,e){return zu(e=_u(e),ju(e,t,xu)).injectors}(t,e)},hasMetaInfo:du},$u=n(7147),Wu=n.n($u),qu={props:{text:{type:String,require:!0},icon:{type:String,require:!1,default:"dot"},bg:{type:String,require:!1,default:"white"},hoverBg:{type:String,require:!1,default:"black"},uppercase:{type:Boolean,default:!0}}},Zu=(n(1197),n(1900)),Ku=(0,Zu.Z)(qu,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"hero-link",class:{"from-transparent":"transparent"===t.bg,"from-white":"white"===t.bg,"from-black":"black"===t.bg,"to-transparent":"transparent"===t.hoverBg,"to-white":"white"===t.hoverBg,"to-black":"black"===t.hoverBg},on:{click:t.playClick}},[n("div",{staticClass:"d-flex align-items-center h-100"},[n("svg-vue",{class:t.icon,attrs:{"aria-hidden":"true",icon:t.icon}}),t._v(" "),n("p",{staticClass:"text-white button-text",class:{uppercase:t.uppercase}},[t._v(t._s(t.text))])],1)])}),[],!1,null,"7f6b9cba",null).exports,Ju=n(2042),Qu={components:{ActionButton:Ku},props:{isPrivacy:{type:Boolean,default:!1}},methods:{clickedAll(){(0,Ju.d8)(3),this.$emit("closeBanner",3)},clickedSave(){let t=1;this.$refs.cb2.checked&&(t+=2),(0,Ju.d8)(t),this.$emit("closeBanner",t)},toggleCookieBanner(){this.isPrivacy&&(this.showCookieBanner=!this.showCookieBanner)}},data:()=>({showCookieBanner:!1,text:{de:'Die Stiftung verwendet technisch notwendige Cookies zur Darstellung der Website. Zusätzlich verwendet sie Google Analytics, um anonymisierte Informationen zur Verbesserung unserer Website zu erhalten. Informationen finden Sie in unserer <a href="/de/datenschutz">Datenschutzerklärung</a>.',en:'The Foundation makes use of technically necessary cookies for the presentation of the website. It also makes use of Google Analytics to collect anonymous information in order to improve our website. Information is available in our <a href="/en/datenschutz">data protection declaration</a>.'},acceptAll:{de:"Alle Cookies akzeptieren",en:"Accept All Cookies"},saveSettings:{de:"Einstellungen speichern",en:"Save Settings"},required:{de:"Erforderlich",en:"Required Cookies"},statistics:{de:"Statistik",en:"Statistics"},requiredDesc:{de:"Erforderliche Cookies machen eine Website nutzbar, indem sie Grundfunktionen wie Seitennavigation, Spracheinstellungen und Zugang zu geschützten Bereichen der Website bereitstellen. Da die Website ohne sie nicht ordnungsgemäß funktionieren kann, können Sie sich nicht von dieser Art von Cookies abmelden.",en:"Required cookies enable the use of a website by providing basic functions such as page navigation, language settings and access to protected parts of the website. Because the website cannot function properly without them, you cannot block this type of cookie."},statisticsDesc:{de:"Diese Cookies nutzen wir, um anonymisiert Informationen und Statistiken zu den Interaktionen auf unseren Websites zu erhalten. Wir verwenden dies, um unser Angebot für Sie stetig weiterzuentwickeln.",en:"We use these cookies to collect anonymous information and statistics about the use of our website. This enables us to continue developing our online presence for you."}})},tl=(n(8634),{name:"App",components:{CookieBanner:(0,Zu.Z)(Qu,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"cookie-bg container-fixed justify-content-center flex-column align-items-center d-flex",class:{opa:!t.isPrivacy||t.showCookieBanner},on:{click:t.toggleCookieBanner}}),t._v(" "),!t.isPrivacy||t.showCookieBanner?n("div",{staticClass:"cookie-wrapper container-fixed justify-content-center flex-column align-items-center d-flex"},[n("div",{ref:"consentRef",staticClass:"cookie-container"},[n("div",{staticClass:"px-10 py-20"},[n("p",{staticClass:"pb-20 info-text",domProps:{innerHTML:t._s(t.getLangString(t.text))}}),t._v(" "),n("div",[n("div",{staticClass:"options"},[n("div",{staticClass:"option"},[n("input",{ref:"cb1",staticClass:"consent-input",attrs:{type:"checkbox",name:"ac[]",value:"1",readonly:"",checked:"",disabled:""}}),t._v(" "),n("label",{staticClass:"consent-label",attrs:{for:"ac_1"}},[n("span",{staticClass:"title"},[t._v(t._s(t.getLangString(t.required)))]),n("br"),t._v(t._s(t.getLangString(t.requiredDesc)))])]),t._v(" "),n("div",{staticClass:"option"},[n("input",{ref:"cb2",staticClass:"consent-input",attrs:{type:"checkbox",name:"ac[]",value:"2"}}),t._v(" "),n("label",{staticClass:"consent-label",attrs:{for:"ac_2"}},[n("span",{staticClass:"title"},[t._v(t._s(t.getLangString(t.statistics)))]),n("br"),t._v(t._s(t.getLangString(t.statisticsDesc)))])])])])]),t._v(" "),n("ActionButton",{attrs:{text:t.getLangString(t.acceptAll)},nativeOn:{click:function(e){return t.clickedAll(e)}}}),t._v(" "),n("ActionButton",{attrs:{text:t.getLangString(t.saveSettings)},nativeOn:{click:function(e){return t.clickedSave(e)}}})],1)]):t._e()])}),[],!1,null,"62ef9ab0",null).exports},data:()=>({showCookieBanner:!1,isPrivacy:!1}),watch:{$route(t,e){"static"===t.name&&t.params&&t.params.staticSlug&&(t.params.staticSlug.includes("datenschutz")||t.params.staticSlug.includes("privacy"))?this.isPrivacy=!0:this.isPrivacy=!1}},computed:{layout(){return(this.$route.meta.layout||"default")+"-layout"},pixiConfig(){return this.$route.meta.pixiConfig||null},formatString(){return"de"==this.$store.language?"Bitte ins Hochformat drehen.":"Please rotate to portrait format."}},mounted(){const t=(0,Ju.ej)();""==t?this.showCookieBanner=!0:this.startTracking(t)},methods:{startTracking(t){this.$store.cookiesHandled=!0,this.showCookieBanner=!1,parseInt(t)>=3?this.$gtm.enable(!0):this.$gtm.enable(!1)}}}),el=(n(9735),(0,Zu.Z)(tl,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"app"}},[n("div",{staticClass:"actual-content"},[n(t.layout,{tag:"component",attrs:{pixiConfig:t.pixiConfig}},[n("router-view")],1),t._v(" "),t.showCookieBanner?n("cookie-banner",{attrs:{"data-nosnippet"
2:"",isPrivacy:t.isPrivacy},on:{closeBanner:t.startTracking}}):t._e()],1),t._v(" "),n("div",{staticClass:"container-fixed justify-content-center flex-column align-items-center please-resize bg-black"},[n("img",{attrs:{src:"/assets/rotate.gif"}}),t._v(" "),n("p",{staticClass:"text-white"},[t._v(t._s(t.formatString))])])])}),[],!1,null,"d5415f9a",null).exports),nl=function(t,e,n,r,i,o,s,a,u,l){"boolean"!=typeof s&&(a,a=s,s=!1);var c,h="function"==typeof n?n.options:n;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0),c)if(h.functional){var f=h.render;h.render=function(t,e){return c.call(e),f(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return n}({render:function(){var t=this.$createElement;return(this._self._c||t)("svg",{attrs:{viewBox:this.svgViewBoxValues,xmlns:"http://www.w3.org/2000/svg"},domProps:{innerHTML:this._s(this.svgContent)}})},staticRenderFns:[]},0,{props:{icon:String},data:function(){return{svgString:n(619)("./"+this.iconPath).default}},computed:{iconPath:{cache:!1,get:function(){return this.icon.replace(new RegExp(".".replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1"),"g"),"/")+".svg"}},svgViewBoxValues:function(){return this.svgString?(/viewBox="([^"]+)"/.exec(this.svgString)||"")[1]:null},svgContent:function(){return this.svgString?this.svgString.replace(/^<svg[^>]*>|<\/svg>$/g,""):null}}},0,0,0,void 0,void 0);function rl(t){rl.installed||(rl.installed=!0,t.component("SvgVue",nl))}var il={install:rl},ol=null;"undefined"!=typeof window?ol=window.Vue:void 0!==n.g&&(ol=n.g.Vue),ol&&ol.use(il),nl.install=rl;var sl=nl;n(5306);function al(t,e){for(var n in e)t[n]=e[n];return t}var ul=/[!'()*]/g,ll=function(t){return"%"+t.charCodeAt(0).toString(16)},cl=/%2C/g,hl=function(t){return encodeURIComponent(t).replace(ul,ll).replace(cl,",")};function fl(t){try{return decodeURIComponent(t)}catch(t){0}return t}var dl=function(t){return null==t||"object"==typeof t?t:String(t)};function pl(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),r=fl(n.shift()),i=n.length>0?fl(n.join("=")):null;void 0===e[r]?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]})),e):e}function vl(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return hl(e);if(Array.isArray(n)){var r=[];return n.forEach((function(t){void 0!==t&&(null===t?r.push(hl(e)):r.push(hl(e)+"="+hl(t)))})),r.join("&")}return hl(e)+"="+hl(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var ml=/\/?$/;function gl(t,e,n,r){var i=r&&r.options.stringifyQuery,o=e.query||{};try{o=yl(o)}catch(t){}var s={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:xl(e,i),matched:t?bl(t):[]};return n&&(s.redirectedFrom=xl(n,i)),Object.freeze(s)}function yl(t){if(Array.isArray(t))return t.map(yl);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=yl(t[n]);return e}return t}var _l=gl(null,{path:"/"});function bl(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function xl(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var i=t.hash;return void 0===i&&(i=""),(n||"/")+(e||vl)(r)+i}function Tl(t,e,n){return e===_l?t===e:!!e&&(t.path&&e.path?t.path.replace(ml,"")===e.path.replace(ml,"")&&(n||t.hash===e.hash&&El(t.query,e.query)):!(!t.name||!e.name)&&(t.name===e.name&&(n||t.hash===e.hash&&El(t.query,e.query)&&El(t.params,e.params))))}function El(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t).sort(),r=Object.keys(e).sort();return n.length===r.length&&n.every((function(n,i){var o=t[n];if(r[i]!==n)return!1;var s=e[n];return null==o||null==s?o===s:"object"==typeof o&&"object"==typeof s?El(o,s):String(o)===String(s)}))}function wl(t){for(var e=0;e<t.matched.length;e++){var n=t.matched[e];for(var r in n.instances){var i=n.instances[r],o=n.enteredCbs[r];if(i&&o){delete n.enteredCbs[r];for(var s=0;s<o.length;s++)i._isBeingDestroyed||o[s](i)}}}}var Sl={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,i=e.parent,o=e.data;o.routerView=!0;for(var s=i.$createElement,a=n.name,u=i.$route,l=i._routerViewCache||(i._routerViewCache={}),c=0,h=!1;i&&i._routerRoot!==i;){var f=i.$vnode?i.$vnode.data:{};f.routerView&&c++,f.keepAlive&&i._directInactive&&i._inactive&&(h=!0),i=i.$parent}if(o.routerViewDepth=c,h){var d=l[a],p=d&&d.component;return p?(d.configProps&&Al(p,o,d.route,d.configProps),s(p,o,r)):s()}var v=u.matched[c],m=v&&v.components[a];
vendor: 4,207 bytes, line 2
2if(!v||!m)return l[a]=null,s();l[a]={component:m},o.registerRouteInstance=function(t,e){var n=v.instances[a];(e&&n!==t||!e&&n===t)&&(v.instances[a]=e)},(o.hook||(o.hook={})).prepatch=function(t,e){v.instances[a]=e.componentInstance},o.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==v.instances[a]&&(v.instances[a]=t.componentInstance),wl(u)};var g=v.props&&v.props[a];return g&&(al(l[a],{route:u,configProps:g}),Al(m,o,u,g)),s(m,o,r)}};function Al(t,e,n,r){var i=e.props=function(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}(n,r);if(i){i=e.props=al({},i);var o=e.attrs=e.attrs||{};for(var s in i)t.props&&s in t.props||(o[s]=i[s],delete i[s])}}function Ol(t,e,n){var r=t.charAt(0);if("/"===r)return t;if("?"===r||"#"===r)return e+t;var i=e.split("/");n&&i[i.length-1]||i.pop();for(var o=t.replace(/^\//,"").split("/"),s=0;s<o.length;s++){var a=o[s];".."===a?i.pop():"."!==a&&i.push(a)}return""!==i[0]&&i.unshift(""),i.join("/")}function Rl(t){return t.replace(/\/\//g,"/")}var Pl=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},Cl=Yl,Il=kl,Ml=function(t,e){return Ul(kl(t,e),e)},Dl=Ul,Ll=zl,Nl=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function kl(t,e){for(var n,r=[],i=0,o=0,s="",a=e&&e.delimiter||"/";null!=(n=Nl.exec(t));){var u=n[0],l=n[1],c=n.index;if(s+=t.slice(o,c),o=c+u.length,l)s+=l[1];else{var h=t[o],f=n[2],d=n[3],p=n[4],v=n[5],m=n[6],g=n[7];s&&(r.push(s),s="");var y=null!=f&&null!=h&&h!==f,_="+"===m||"*"===m,b="?"===m||"*"===m,x=n[2]||a,T=p||v;r.push({name:d||i++,prefix:f||"",delimiter:x,optional:b,repeat:_,partial:y,asterisk:!!g,pattern:T?Xl(T):g?".*":"[^"+Gl(x)+"]+?"})}}return o<t.length&&(s+=t.substr(o)),s&&r.push(s),r}function Fl(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function Bl(t){return encodeURI(t).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function Ul(t,e){for(var n=new Array(t.length),r=0;r<t.length;r++)"object"==typeof t[r]&&(n[r]=new RegExp("^(?:"+t[r].pattern+")$",Hl(e)));return function(e,r){for(var i="",o=e||{},s=(r||{}).pretty?Fl:encodeURIComponent,a=0;a<t.length;a++){var u=t[a];if("string"!=typeof u){var l,c=o[u.name];if(null==c){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(Pl(c)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(c)+"`");if(0===c.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var h=0;h<c.length;h++){if(l=s(c[h]),!n[a].test(l))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(l)+"`");i+=(0===h?u.prefix:u.delimiter)+l}}else{if(l=u.asterisk?Bl(c):s(c),!n[a].test(l))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+l+'"');i+=u.prefix+l}}else i+=u}return i}}function Gl(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function Xl(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function jl(t,e){return t.keys=e,t}function Hl(t){return t&&t.sensitive?"":"i"}function zl(t,e,n){Pl(e)||(n=e||n,e=[]);for(var r=(n=n||{}).strict,i=!1!==n.end,o="",s=0;s<t.length;s++){var a=t[s];if("string"==typeof a)o+=Gl(a);else{var u=Gl(a.prefix),l="(?:"+a.pattern+")";e.push(a),a.repeat&&(l+="(?:"+u+l+")*"),o+=l=a.optional?a.partial?u+"("+l+")?":"(?:"+u+"("+l+"))?":u+"("+l+")"}}var c=Gl(n.delimiter||"/"),h=o.slice(-c.length)===c;return r||(o=(h?o.slice(0,-c.length):o)+"(?:"+c+"(?=$))?"),o+=i?"$":r&&h?"":"(?="+c+"|$)",jl(new RegExp("^"+o,Hl(n)),e)}function Yl(t,e,n){return Pl(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?function(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return jl(t,e)}(t,e):Pl(t)?function(t,e,n){for(var r=[],i=0;i<t.length;i++)r.push(Yl(t[i],e,n).source);
2return jl(new RegExp("(?:"+r.join("|")+")",Hl(n)),e)}(t,e,n):function(t,e,n){return zl(kl(t,n),e,n)}(t,e,n)}Cl.parse=Il,Cl.compile=Ml,Cl.tokensToFunction=Dl,Cl.tokensToRegExp=Ll;var Vl=Object.create(null);function $l(t,e,n){e=e||{};try{var r=Vl[t]||(Vl[t]=Cl.compile(t));return"string"==typeof e.pathMatch&&(e[0]=e.pathMatch),r(e,{pretty:!0})}catch(t){return""}finally{delete e[0]}}function Wl(t,e,n,r){var i="string"==typeof t?{path:t}:t;if(i._normalized)return i;if(i.name){var o=(i=al({},t)).params;return o&&"object"==typeof o&&(i.params=al({},o)),i}if(!i.path&&i.params&&e){(i=al({},i))._normalized=!0;var s=al(al({},e.params),i.params);if(e.name)i.name=e.name,i.params=s;else if(e.matched.length){var a=e.matched[e.matched.length-1].path;i.path=$l(a,s,e.path)}else 0;return i}var u=function(t){var e="",n="",r=t.indexOf("#");r>=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}(i.path||""),l=e&&e.path||"/",c=u.path?Ol(u.path,l,n||i.append):l,h=function(t,e,n){void 0===e&&(e={});var r,i=n||pl;try{r=i(t||"")}catch(t){r={}}for(var o in e){var s=e[o];r[o]=Array.isArray(s)?s.map(dl):dl(s)}return r}(u.query,i.query,r&&r.options.parseQuery),f=i.hash||u.hash;return f&&"#"!==f.charAt(0)&&(f="#"+f),{_normalized:!0,path:c,query:h,hash:f}}var ql,Zl=function(){},Kl={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,i=n.resolve(this.to,r,this.append),o=i.location,s=i.route,a=i.href,u={},l=n.options.linkActiveClass,c=n.options.linkExactActiveClass,h=null==l?"router-link-active":l,f=null==c?"router-link-exact-active":c,d=null==this.activeClass?h:this.activeClass,p=null==this.exactActiveClass?f:this.exactActiveClass,v=s.redirectedFrom?gl(null,Wl(s.redirectedFrom),null,n):s;u[p]=Tl(r,v,this.exactPath),u[d]=this.exact||this.exactPath?u[p]:function(t,e){return 0===t.path.replace(ml,"/").indexOf(e.path.replace(ml,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(r,v);var m=u[p]?this.ariaCurrentValue:null,g=function(t){Jl(t)&&(e.replace?n.replace(o,Zl):n.push(o,Zl))},y={click:Jl};Array.isArray(this.event)?this.event.forEach((function(t){y[t]=g})):y[this.event]=g;var _={class:u},b=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:a,route:s,navigate:g,isActive:u[d],isExactActive:u[p]});if(b){if(1===b.length)return b[0];if(b.length>1||!b.length)return 0===b.length?t():t("span",{},b)}if("a"===this.tag)_.on=y,_.attrs={href:a,"aria-current":m};else{var x=Ql(this.$slots.default);if(x){x.isStatic=!1;var T=x.data=al({},x.data);for(var E in T.on=T.on||{},T.on){var w=T.on[E];E in y&&(T.on[E]=Array.isArray(w)?w:[w])}for(var S in y)S in T.on?T.on[S].push(y[S]):T.on[S]=g;var A=x.data.attrs=al({},x.data.attrs);A.href=a,A["aria-current"]=m}else _.on=y}return t(this.tag,_,this.$slots.default)}};function Jl(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function Ql(t){if(t)for(var e,n=0;n<t.length;n++){if("a"===(e=t[n]).tag)return e;if(e.children&&(e=Ql(e.children)))return e}}var tc="undefined"!=typeof window;function ec(t,e,n,r,i){var o=e||[],s=n||Object.create(null),a=r||Object.create(null);t.forEach((function(t){nc(o,s,a,t,i)}));for(var u=0,l=o.length;u<l;u++)"*"===o[u]&&(o.push(o.splice(u,1)[0]),l--,u--);return{pathList:o,pathMap:s,nameMap:a}}function nc(t,e,n,r,i,o){var s=r.path,a=r.name;var u=r.pathToRegexpOptions||{},l=function(t,e,n){n||(t=t.replace(/\/$/,""));if("/"===t[0])return t;if(null==e)return t;return Rl(e.path+"/"+t)}(s,i,u.strict);"boolean"==typeof r.caseSensitive&&(u.sensitive=r.caseSensitive);var c={path:l,regex:rc(l,u),components:r.components||{default:r.component},alias:r.alias?"string"==typeof r.alias?[r.alias]:r.alias:[],instances:{},enteredCbs:{},name:a,parent:i,matchAs:o,redirect:r.redirect,beforeEnter:r.beforeEnter,meta:r.meta||{},props:null==r.props?{}:r.components?r.props:{default:r.props}};
2if(r.children&&r.children.forEach((function(r){var i=o?Rl(o+"/"+r.path):void 0;nc(t,e,n,r,c,i)})),e[c.path]||(t.push(c.path),e[c.path]=c),void 0!==r.alias)for(var h=Array.isArray(r.alias)?r.alias:[r.alias],f=0;f<h.length;++f){0;var d={path:h[f],children:r.children};nc(t,e,n,d,i,c.path||"/")}a&&(n[a]||(n[a]=c))}function rc(t,e){return Cl(t,[],e)}function ic(t,e){var n=ec(t),r=n.pathList,i=n.pathMap,o=n.nameMap;function s(t,n,s){var a=Wl(t,n,!1,e),l=a.name;if(l){var c=o[l];if(!c)return u(null,a);var h=c.regex.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}));if("object"!=typeof a.params&&(a.params={}),n&&"object"==typeof n.params)for(var f in n.params)!(f in a.params)&&h.indexOf(f)>-1&&(a.params[f]=n.params[f]);return a.path=$l(c.path,a.params),u(c,a,s)}if(a.path){a.params={};for(var d=0;d<r.length;d++){var p=r[d],v=i[p];if(oc(v.regex,a.path,a.params))return u(v,a,s)}}return u(null,a)}function a(t,n){var r=t.redirect,i="function"==typeof r?r(gl(t,n,null,e)):r;if("string"==typeof i&&(i={path:i}),!i||"object"!=typeof i)return u(null,n);var a=i,l=a.name,c=a.path,h=n.query,f=n.hash,d=n.params;if(h=a.hasOwnProperty("query")?a.query:h,f=a.hasOwnProperty("hash")?a.hash:f,d=a.hasOwnProperty("params")?a.params:d,l){o[l];return s({_normalized:!0,name:l,query:h,hash:f,params:d},void 0,n)}if(c){var p=function(t,e){return Ol(t,e.parent?e.parent.path:"/",!0)}(c,t);return s({_normalized:!0,path:$l(p,d),query:h,hash:f},void 0,n)}return u(null,n)}function u(t,n,r){return t&&t.redirect?a(t,r||n):t&&t.matchAs?function(t,e,n){var r=s({_normalized:!0,path:$l(n,e.params)});if(r){var i=r.matched,o=i[i.length-1];return e.params=r.params,u(o,e)}return u(null,e)}(0,n,t.matchAs):gl(t,n,r,e)}return{match:s,addRoute:function(t,e){var n="object"!=typeof t?o[t]:void 0;ec([e||t],r,i,o,n),n&&ec(n.alias.map((function(t){return{path:t,children:[e]}})),r,i,o,n)},getRoutes:function(){return r.map((function(t){return i[t]}))},addRoutes:function(t){ec(t,r,i,o)}}}function oc(t,e,n){var r=e.match(t);if(!r)return!1;if(!n)return!0;for(var i=1,o=r.length;i<o;++i){var s=t.keys[i-1];
2s&&(n[s.name||"pathMatch"]="string"==typeof r[i]?fl(r[i]):r[i])}return!0}var sc=tc&&window.performance&&window.performance.now?window.performance:Date;function ac(){return sc.now().toFixed(3)}var uc=ac();function lc(){return uc}function cc(t){return uc=t}var hc=Object.create(null);function fc(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,""),n=al({},window.history.state);return n.key=lc(),window.history.replaceState(n,"",e),window.addEventListener("popstate",vc),function(){window.removeEventListener("popstate",vc)}}function dc(t,e,n,r){if(t.app){var i=t.options.scrollBehavior;i&&t.app.$nextTick((function(){var o=function(){var t=lc();if(t)return hc[t]}(),s=i.call(t,e,n,r?o:null);s&&("function"==typeof s.then?s.then((function(t){bc(t,o)})).catch((function(t){0})):bc(s,o))}))}}function pc(){var t=lc();t&&(hc[t]={x:window.pageXOffset,y:window.pageYOffset})}function vc(t){pc(),t.state&&t.state.key&&cc(t.state.key)}function mc(t){return yc(t.x)||yc(t.y)}function gc(t){return{x:yc(t.x)?t.x:window.pageXOffset,y:yc(t.y)?t.y:window.pageYOffset}}function yc(t){return"number"==typeof t}var _c=/^#\d/;function bc(t,e){var n,r="object"==typeof t;if(r&&"string"==typeof t.selector){var i=_c.test(t.selector)?document.getElementById(t.selector.slice(1)):document.querySelector(t.selector);if(i){var o=t.offset&&"object"==typeof t.offset?t.offset:{};e=function(t,e){var n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{x:r.left-n.left-e.x,y:r.top-n.top-e.y}}(i,o={x:yc((n=o).x)?n.x:0,y:yc(n.y)?n.y:0})}else mc(t)&&(e=gc(t))}else r&&mc(t)&&(e=gc(t));e&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:e.x,top:e.y,behavior:t.behavior}):window.scrollTo(e.x,e.y))}var xc,Tc=tc&&((-1===(xc=window.navigator.userAgent).indexOf("Android 2.")&&-1===xc.indexOf("Android 4.0")||-1===xc.indexOf("Mobile Safari")||-1!==xc.indexOf("Chrome")||-1!==xc.indexOf("Windows Phone"))&&window.history&&"function"==typeof window.history.pushState);function Ec(t,e){pc();var n=window.history;try{if(e){var r=al({},n.state);r.key=lc(),n.replaceState(r,"",t)}else n.pushState({key:cc(ac())},"",t)}catch(n){window.location[e?"replace":"assign"](t)}}function wc(t){Ec(t,!0)}function Sc(t,e,n){var r=function(i){i>=t.length?n():t[i]?e(t[i],(function(){r(i+1)})):r(i+1)};r(0)}var Ac={redirected:2,aborted:4,cancelled:8,duplicated:16};function Oc(t,e){return Pc(t,e,Ac.redirected,'Redirected when going from "'+t.fullPath+'" to "'+function(t){if("string"==typeof t)return t;if("path"in t)return t.path;var e={};return Cc.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}(e)+'" via a navigation guard.')}function Rc(t,e){return Pc(t,e,Ac.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Pc(t,e,n,r){var i=new Error(r);return i._isRouter=!0,i.from=t,i.to=e,i.type=n,i}var Cc=["params","query","hash"];function Ic(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function Mc(t,e){return Ic(t)&&t._isRouter&&(null==e||t.type===e)}function Dc(t){return function(e,n,r){var i=!1,o=0,s=null;Lc(t,(function(t,e,n,a){if("function"==typeof t&&void 0===t.cid){i=!0,o++;var u,l=Fc((function(e){var i;((i=e).__esModule||kc&&"Module"===i[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:ql.extend(e),n.components[a]=e,--o<=0&&r()})),c=Fc((function(t){var e="Failed to resolve async component "+a+": "+t;s||(s=Ic(t)?t:new Error(e),r(s))}));try{u=t(l,c)}catch(t){c(t)}if(u)if("function"==typeof u.then)u.then(l,c);else{var h=u.component;h&&"function"==typeof h.then&&h.then(l,c)}}})),i||r()}}function Lc(t,e){return Nc(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Nc(t){return Array.prototype.concat.apply([],t)}var kc="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Fc(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var Bc=function(t,e){this.router=t,this.base=function(t){if(!t)if(tc){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=_l,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Uc(t,e,n,r){var i=Lc(t,(function(t,r,i,o){var s=function(t,e){"function"!=typeof t&&(t=ql.extend(t));return t.options[e]}(t,e);if(s)return Array.isArray(s)?s.map((function(t){return n(t,r,i,o)})):n(s,r,i,o)}));return Nc(r?i.reverse():i)}function Gc(t,e){if(e)return function(){return t.apply(e,arguments)}}Bc.prototype.listen=function(t){this.cb=t},Bc.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},Bc.prototype.onError=function(t){this.errorCbs.push(t)},Bc.prototype.transitionTo=function(t,e,n){var r,i=this;try{r=this.router.match(t,this.current)}
2catch(t){throw this.errorCbs.forEach((function(e){e(t)})),t}var o=this.current;this.confirmTransition(r,(function(){i.updateRoute(r),e&&e(r),i.ensureURL(),i.router.afterHooks.forEach((function(t){t&&t(r,o)})),i.ready||(i.ready=!0,i.readyCbs.forEach((function(t){t(r)})))}),(function(t){n&&n(t),t&&!i.ready&&(Mc(t,Ac.redirected)&&o===_l||(i.ready=!0,i.readyErrorCbs.forEach((function(e){e(t)}))))}))},Bc.prototype.confirmTransition=function(t,e,n){var r=this,i=this.current;this.pending=t;var o,s,a=function(t){!Mc(t)&&Ic(t)&&(r.errorCbs.length?r.errorCbs.forEach((function(e){e(t)})):console.error(t)),n&&n(t)},u=t.matched.length-1,l=i.matched.length-1;if(Tl(t,i)&&u===l&&t.matched[u]===i.matched[l])return this.ensureURL(),a(((s=Pc(o=i,t,Ac.duplicated,'Avoided redundant navigation to current location: "'+o.fullPath+'".')).name="NavigationDuplicated",s));var c=function(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n<r&&t[n]===e[n];n++);return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}(this.current.matched,t.matched),h=c.updated,f=c.deactivated,d=c.activated,p=[].concat(function(t){return Uc(t,"beforeRouteLeave",Gc,!0)}(f),this.router.beforeHooks,function(t){return Uc(t,"beforeRouteUpdate",Gc)}(h),d.map((function(t){return t.beforeEnter})),Dc(d)),v=function(e,n){if(r.pending!==t)return a(Rc(i,t));try{e(t,i,(function(e){!1===e?(r.ensureURL(!0),a(function(t,e){return Pc(t,e,Ac.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}(i,t))):Ic(e)?(r.ensureURL(!0),a(e)):"string"==typeof e||"object"==typeof e&&("string"==typeof e.path||"string"==typeof e.name)?(a(Oc(i,t)),"object"==typeof e&&e.replace?r.replace(e):r.push(e)):n(e)}))}catch(t){a(t)}};Sc(p,v,(function(){Sc(function(t){return Uc(t,"beforeRouteEnter",(function(t,e,n,r){return function(t,e,n){return function(r,i,o){return t(r,i,(function(t){"function"==typeof t&&(e.enteredCbs[n]||(e.enteredCbs[n]=[]),e.enteredCbs[n].push(t)),o(t)}))}}(t,n,r)}))}(d).concat(r.router.resolveHooks),v,(function(){if(r.pending!==t)return a(Rc(i,t));r.pending=null,e(t),r.router.app&&r.router.app.$nextTick((function(){wl(t)}))}))}))},Bc.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)},Bc.prototype.setupListeners=function(){},Bc.prototype.teardown=function(){this.listeners.forEach((function(t){t()})),this.listeners=[],this.current=_l,this.pending=null};var Xc=function(t){function e(e,n){t.call(this,e,n),this._startLocation=jc(this.base)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,r=Tc&&n;r&&this.listeners.push(fc());var i=function(){var n=t.current,i=jc(t.base);t.current===_l&&i===t._startLocation||t.transitionTo(i,(function(t){r&&dc(e,t,n,!0)}))};window.addEventListener("popstate",i),this.listeners.push((function(){window.removeEventListener("popstate",i)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){Ec(Rl(r.base+t.fullPath)),dc(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){wc(Rl(r.base+t.fullPath)),dc(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(jc(this.base)!==this.current.fullPath){var e=Rl(this.base+this.current.fullPath);t?Ec(e):wc(e)}},e.prototype.getCurrentLocation=function(){return jc(this.base)},e}(Bc);function jc(t){var e=window.location.pathname;return t&&0===e.toLowerCase().indexOf(t.toLowerCase())&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var Hc=function(t){function e(e,n,r){t.call(this,e,n),r&&function(t){var e=jc(t);if(!/^\/#/.test(e))return window.location.replace(Rl(t+"/#"+e)),!0}(this.base)||zc()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router.options.scrollBehavior,n=Tc&&e;n&&this.listeners.push(fc());var r=function(){var e=t.current;zc()&&t.transitionTo(Yc(),(function(r){n&&dc(t.router,r,e,!0),Tc||Wc(r.fullPath)}))},i=Tc?"popstate":"hashchange";window.addEventListener(i,r),this.listeners.push((function(){window.removeEventListener(i,r)}))}},e.prototype.push=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){$c(t.fullPath),dc(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){Wc(t.fullPath),dc(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Yc()!==e&&(t?$c(e):Wc(e))},e.prototype.getCurrentLocation=function(){return Yc()},e}(Bc);function zc(){var t=Yc();return"/"===t.charAt(0)||(Wc("/"+t),!1)}function Yc(){var t=window.location.href,e=t.indexOf("#");return e<0?"":t=t.slice(e+1)}function Vc(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function $c(t){Tc?Ec(Vc(t)):window.location.hash=t}function Wc(t){Tc?wc(Vc(t)):window.location.replace(Vc(t))}var qc=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach((function(e){e&&e(r,t)}))}),(function(t){Mc(t,Ac.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Bc),Zc=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=ic(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Tc&&!1!==t.fallback,this.fallback&&(e="hash"),tc||(e="abstract"),this.mode=e,e){case"history":this.history=new Xc(this,t.base);break;case"hash":this.history=new Hc(this,t.base,this.fallback);break;case"abstract":this.history=new qc(this,t.base);break;default:0}},Kc={currentRoute:{configurable:!0}};
2function Jc(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}Zc.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Kc.currentRoute.get=function(){return this.history&&this.history.current},Zc.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof Xc||n instanceof Hc){var r=function(t){n.setupListeners(),function(t){var r=n.current,i=e.options.scrollBehavior;Tc&&i&&"fullPath"in t&&dc(e,t,r,!1)}(t)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},Zc.prototype.beforeEach=function(t){return Jc(this.beforeHooks,t)},Zc.prototype.beforeResolve=function(t){return Jc(this.resolveHooks,t)},Zc.prototype.afterEach=function(t){return Jc(this.afterHooks,t)},Zc.prototype.onReady=function(t,e){this.history.onReady(t,e)},Zc.prototype.onError=function(t){this.history.onError(t)},Zc.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},Zc.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},Zc.prototype.go=function(t){this.history.go(t)},Zc.prototype.back=function(){this.go(-1)},Zc.prototype.forward=function(){this.go(1)},Zc.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},Zc.prototype.resolve=function(t,e,n){var r=Wl(t,e=e||this.history.current,n,this),i=this.match(r,e),o=i.redirectedFrom||i.fullPath;return{location:r,route:i,href:function(t,e,n){var r="hash"===n?"#"+e:e;return t?Rl(t+"/"+r):r}(this.history.base,o,this.mode),normalizedTo:r,resolved:i}},Zc.prototype.getRoutes=function(){return this.matcher.getRoutes()},Zc.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==_l&&this.history.transitionTo(this.history.getCurrentLocation())},Zc.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==_l&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Zc.prototype,Kc),Zc.install=function t(e){if(!t.installed||ql!==e){t.installed=!0,ql=e;var n=function(t){return void 0!==t},r=function(t,e){var r=t.$options._parentVnode;n(r)&&n(r=r.data)&&n(r=r.registerRouteInstance)&&r(t,e)};e.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",Sl),e.component("RouterLink",Kl);var i=e.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}},Zc.version="3.5.1",Zc.isNavigationFailure=Mc,Zc.NavigationFailureType=Ac,Zc.START_LOCATION=_l,tc&&window.Vue&&window.Vue.use(Zc);var Qc=Zc;const th=n(8509);_a.use(Qc);const eh=window.data.urlPaths;let nh=new Qc({mode:"history",scrollBehavior(t,e,n){if("actors"===e.name&&"actorModal"===t.name)return null;if("actorModal"===e.name&&"actors"===t.name)return null;if("witnesses"===e.name&&"witnesses"===t.name)return null;let r={x:0,y:0};return"witnesses"===t.name&&""!==t.hash||"bg"===t.name&&""!==t.hash?null:new Promise(((t,e)=>{setTimeout((()=>{t(r)}),120)}))},base:"/",routes:[{name:"home",path:"/:lang",meta:{layout:"stage",fullscreen:!0,pixiConfig:{visible:!0,glitch:!0,restingGlitch:!0,brightness:.5,image:"background",scrollable:!1}},component:()=>n.e(177).then(n.bind(n,7449))},{name:"actors",path:"/:lang/(".concat(eh.actors.de,"|").concat(eh.actors.en,")"),meta:{layout:"stage",fullscreen:!1,pixiConfig:{visible:!0,glitch:!1,brightness:1,image:"background",scrollable:!0}},component:()=>n.e(177).then(n.bind(n,4274)),children:[{name:"actorModal",meta:{layout:"stage",fullscreen:!1,pixiConfig:{visible:!0,glitch:!0,restingGlitch:!1,brightness:.5,image:"background",scrollable:!0,fullscreen:!0}},path:"/:lang/(".concat(eh.actors.de,"|").concat(eh.actors.en,")/:akteurSlug"),props:!0,component:()=>n.e(177).then(n.bind(n,4341))}]},{name:"bgs",path:"/:lang/(".concat(eh.background.de,"|").concat(eh.background.en,")"),meta:{layout:"stage",fullscreen:!0,pixiConfig:{visible:!1,glitch:!1,restingGlitch:!1,brightness:.5,image:"background",scrollable:!1}},component:()=>n.e(177).then(n.bind(n,8881))},{name:"timeline",path:"/:lang/(".concat(eh.background.de,"|").concat(eh.background.en,")/(").concat(eh.timeline.de,"|").concat(eh.timeline.en,")"),meta:{layout:"stage",fullscreen:!0,pixiConfig:{visible:!1,glitch:!1,restingGlitch:!1,brightness:.5,image:"background",scrollable:!1}},component:()=>n.e(177).then(n.bind(n,2106))},{name:"bg",path:"/:lang/(".concat(eh.background.de,"|").concat(eh.background.en,")/:hintergrundSlug"),meta:{layout:"stage",fullscreen:!1,pixiConfig:{visible:!1,glitch:!1,restingGlitch:!1,brightness:.5,image:"background",scrollable:!1}},props:!0,component:()=>n.e(177).then(n.bind(n,781))},{path:"/:lang/(".concat(eh.voices.de,"|").concat(eh.voices.en,")"),meta:{layout:"stage",fullscreen:!0,pixiConfig:{visible:!1,glitch:!1,restingGlitch:!1,brightness:.5,image:"background",scrollable:!1}},component:()=>n.e(177).then(n.bind(n,3031))},{name:"witnesses",path:"/:lang/(".concat(eh.voices.de,"|").concat(eh.voices.en,")/(").concat(eh.witnesses.de,"|").concat(eh.witnesses.en,")"),meta:{layout:"stage",fullscreen:!1,pixiConfig:{visible:!1,glitch:!1,restingGlitch:!1,brightness:.5,image:"background",scrollable:!1}},component:()=>n.e(177).then(n.bind(n,1060))},{name:"voice",path:"/:lang/(".concat(eh.voices.de,"|").concat(eh.voices.en,")/:voiceSlug"),meta:{layout:"stage",fullscreen:!0,pixiConfig:{visible:!1,glitch:!1,restingGlitch:!1,brightness:.5,image:"background",scrollable:!1}},props:!0,component:()=>n.e(177).then(n.bind(n,9696))},{name:"events",path:"/:lang/(".concat(eh.events.de,"|").concat(eh.events.en,")"),meta:{layout:"stage",fullscreen:!0,pixiConfig:{visible:!1,glitch:!1,restingGlitch:!1,brightness:.5,image:"background",scrollable:!1}},component:()=>n.e(177).then(n.bind(n,9860))},{name:"search",path:"/:lang/(suche|search)/",meta:{layout:"stage",fullscreen:!1,pixiConfig:{visible:!1,glitch:!1,restingGlitch:!1,brightness:.5,image:"background",scrollable:!1}},component:()=>n.e(177).then(n.bind(n,5163))},{name:"search-with-prop",path:"/:lang/(suche|search)/:searchProp",meta:{layout:"stage",fullscreen:!1,pixiConfig:{visible:!1,glitch:!1,restingGlitch:!1,brightness:.5,image:"background",scrollable:!1}},props:!0,component:()=>n.e(177).then(n.bind(n,5163))},{name:"404",path:"/:lang/404",component:()=>n.e(535).then(n.bind(n,5489))},{name:"static",path:"/:lang/:staticSlug",meta:{layout:"stage",fullscreen:!1,pixiConfig:{visible:!1,glitch:!1,restingGlitch:!1,brightness:.5,image:"background",scrollable:!1}},props:!0,component:()=>n.e(177).then(n.bind(n,7715))},{path:"/",redirect:t=>"/"+_a.prototype.$store.language},{path:"*",component:()=>n.e(535).then(n.bind(n,5489))}]});nh.beforeEach(((t,e,n)=>{th.clearAllBodyScrollLocks(),t.meta.fullscreen?document.body.style.overflow="hidden":document.body.style.overflow="",n()})),nh.afterEach(((t,e)=>{if((0,$u.useGtm)().enabled()){var n,r,i;t.name;let e=null!==(n=null===(r=nh.options)||void 0===r||null===(i=r.history)||void 0===i?void 0:i.base)&&void 0!==n?n:"";e.endsWith("/")||(e+="/"),e+=t.fullPath.startsWith("/")?t.fullPath.substr(1):t.fullPath,e=e.replace("/#section","#section"),_a.nextTick((()=>{var t;null===(t=window.dataLayer)||void 0===t||t.push({event:"virtpageview",path:e,title:window.current_title})}))}}));var rh=nh,ih=n(5808);const oh=["de","en"];var sh=_a.observable({language:(0,Ju.Jb)(oh),supportedLanguages:oh,actors:window.data.actors,background:window.data.background,staticSites:window.data.staticSites,voices:window.data.voices,timeline:window.data.timeline,isHamburgerOpen:!1,clickSound:null,clickMainSound:null,otherAmbient:null,eventsAmbient:null,currentAmbient:null,tickerAmbient:null,keySounds:[],eventsAmbientLoaded:!1,otherAmbientLoaded:!1,soundPlaying:!1,videoIsPlaying:!1,tickerIsPlaying:!1,eventTargetSection:null,voiceTarget
vendor: 3,233 bytes, line 2
2Section:null,cookiesHandled:!1}),ah=(n(9962),n(1789),n(6013),n(3526),n(6075),n(6800)),uh=n.n(ah),lh=(n(6474),{}),ch=(0,Zu.Z)(lh,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",[t._t("default")],2)}),[],!1,null,null,null).exports;var hh=function(t){var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){return e.reject(n)}))}))};var fh=function(t){return new this((function(e,n){if(!t||void 0===t.length)return n(new TypeError(typeof t+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var r=Array.prototype.slice.call(t);if(0===r.length)return e([]);var i=r.length;function o(t,n){if(n&&("object"==typeof n||"function"==typeof n)){var s=n.then;if("function"==typeof s)return void s.call(n,(function(e){o(t,e)}),(function(n){r[t]={status:"rejected",reason:n},0==--i&&e(r)}))}r[t]={status:"fulfilled",value:n},0==--i&&e(r)}for(var s=0;s<r.length;s++)o(s,r[s])}))},dh=setTimeout;function ph(t){return Boolean(t&&void 0!==t.length)}function vh(){}function mh(t){if(!(this instanceof mh))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],Th(t,this)}function gh(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,mh._immediateFn((function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null!==n){var r;try{r=n(t._value)}catch(t){return void _h(e.promise,t)}yh(e.promise,r)}else(1===t._state?yh:_h)(e.promise,t._value)}))):t._deferreds.push(e)}function yh(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof mh)return t._state=3,t._value=e,void bh(t);if("function"==typeof n)return void Th((r=n,i=e,function(){r.apply(i,arguments)}),t)}t._state=1,t._value=e,bh(t)}catch(e){_h(t,e)}var r,i}function _h(t,e){t._state=2,t._value=e,bh(t)}function bh(t){2===t._state&&0===t._deferreds.length&&mh._immediateFn((function(){t._handled||mh._unhandledRejectionFn(t._value)}));for(var e=0,n=t._deferreds.length;e<n;e++)gh(t,t._deferreds[e]);t._deferreds=null}function xh(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function Th(t,e){var n=!1;try{t((function(t){n||(n=!0,yh(e,t))}),(function(t){n||(n=!0,_h(e,t))}))}catch(t){if(n)return;n=!0,_h(e,t)}}mh.prototype.catch=function(t){return this.then(null,t)},mh.prototype.then=function(t,e){var n=new this.constructor(vh);return gh(this,new xh(t,e,n)),n},mh.prototype.finally=hh,mh.all=function(t){return new mh((function(e,n){if(!ph(t))return n(new TypeError("Promise.all accepts an array"));var r=Array.prototype.slice.call(t);if(0===r.length)return e([]);var i=r.length;function o(t,s){try{if(s&&("object"==typeof s||"function"==typeof s)){var a=s.then;if("function"==typeof a)return void a.call(s,(function(e){o(t,e)}),n)}r[t]=s,0==--i&&e(r)}catch(t){n(t)}}for(var s=0;s<r.length;s++)o(s,r[s])}))},mh.allSettled=fh,mh.resolve=function(t){return t&&"object"==typeof t&&t.constructor===mh?t:new mh((function(e){e(t)}))}
2,mh.reject=function(t){return new mh((function(e,n){n(t)}))},mh.race=function(t){return new mh((function(e,n){if(!ph(t))return n(new TypeError("Promise.race accepts an array"));for(var r=0,i=t.length;r<i;r++)mh.resolve(t[r]).then(e,n)}))},mh._immediateFn="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){dh(t,0)},mh._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var Eh=mh,wh=n(7418),Sh=n.n(wh);self.Promise||(self.Promise=Eh),Object.assign||(Object.assign=Sh());if(Date.now&&Date.prototype.getTime||(Date.now=function(){return(new Date).getTime()}),!self.performance||!self.performance.now){var Ah=Date.now();self.performance||(self.performance={}),self.performance.now=function(){return Date.now()-Ah}}for(var Oh=Date.now(),Rh=["ms","moz","webkit","o"],Ph=0;Ph<Rh.length&&!self.requestAnimationFrame;++Ph){var Ch=Rh[Ph];self.requestAnimationFrame=self[Ch+"RequestAnimationFrame"],self.cancelAnimationFrame=self[Ch+"CancelAnimationFrame"]||self[Ch+"CancelRequestAnimationFrame"]}self.requestAnimationFrame||(self.requestAnimationFrame=function(t){if("function"!=typeof t)throw new TypeError(t+"is not a function");var e=Date.now(),n=16+Oh-e;return n<0&&(n=0),Oh=e,self.setTimeout((function(){Oh=Date.now(),t(performance.now())}),n)}),self.cancelAnimationFrame||(self.cancelAnimationFrame=function(t){return clearTimeout(t)}),Math.sign||(Math.sign=function(t){return 0===(t=Number(t))||isNaN(t)?t:t>0?1:-1}),Number.isInteger||(Number.isInteger=function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}),self.ArrayBuffer||(self.ArrayBuffer=Array),self.Float32Array||(self.Float32Array=Array),self.Uint32Array||(self.Uint32Array=Array),self.Uint16Array||(self.Uint16Array=Array),self.Uint8Array||(self.Uint8Array=Array),self.Int32Array||(self.Int32Array=Array);var Ih=/iPhone/i,Mh=/iPod/i,Dh=/iPad/i,Lh=/\biOS-universal(?:.+)Mac\b/i,Nh=/\bAndroid(?:.+)Mobile\b/i,kh=/Android/i,Fh=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,Bh=/Silk/i,Uh=/Windows Phone/i,Gh=/\bWindows(?:.+)ARM\b/i,Xh=/BlackBerry/i,jh=/BB10/i,Hh=/Opera Mini/i,zh=/\b(CriOS|Chrome)(?:.+)Mobile/i,Yh=/Mobile(?:.+)Firefox\b/i,Vh=function(t){return void 0!==t&&"MacIntel"===t.platform&&"number"==typeof t.maxTouchPoints&&t.maxTouchPoints>1&&"undefined"==typeof MSStream};var $h,Wh,qh,Zh,Kh,Jh,Qh,tf,ef,nf,rf,of,sf,af,uf,lf,cf,hf,ff=function(t){var e={userAgent:"",platform:"",maxTouchPoints:0};t||"undefined"==typeof navigator?"string"==typeof t?e.userAgent=t:t&&t.userAgent&&(e={userAgent:t.userAgent,platform:t.platform,maxTouchPoints:t.maxTouchPoints||0}):e={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0};var n=e.userAgent,r=n.split("[FBAN");void 0!==r[1]&&(n=r[0]),void 0!==(r=n.split("Twitter"))[1]&&(n=r[0]);var i=function(t){return function(e){return e.test(t)}}(n),o={apple:{phone:i(Ih)&&!i(Uh),ipod:i(Mh),tablet:!i(Ih)&&(i(Dh)||Vh(e))&&!i(Uh),universal:i(Lh),device:(i(Ih)||i(Mh)||i(Dh)||i(Lh)||Vh(e))&&!i(Uh)},amazon:{phone:i(Fh),tablet:!i(Fh)&&i(Bh),device:i(Fh)||i(Bh)},android:{phone:!i(Uh)&&i(Fh)||!i(Uh)&&i(Nh),tablet:!i(Uh)&&!i(Fh)&&!i(Nh)&&(i(Bh)||i(kh)),device:!i(Uh)&&(i(Fh)||i(Bh)||i(Nh)||i(kh))||i(/\bokhttp\b/i)},windows:{phone:i(Uh),tablet:i(Gh),device:i(Uh)||i(Gh)},other:{blackberry:i(Xh),blackberry10:i(jh),opera:i(Hh),firefox:i(Yh),chrome:i(zh),device:i(Xh)||i(jh)||i(Hh)||i(Yh)||i(zh)},any:!1,phone:!1,tablet:!1};return o.any=o.apple.device||o.android.device||o.windows.device||o.other.device,o.phone=o.apple.phone||o.android.phone||o.windows.phone,o.tablet=o.apple.tablet||o.android.tablet||o.windows.tablet,o}(self.navigator);!function(t){t[t.WEBGL_LEGACY=0]="WEBGL_LEGACY",t[t.WEBGL=1]="WEBGL",t[t.WEBGL2=2]="WEBGL2"}($h||($h={})),function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.WEBGL=1]="WEBGL",t[t.CANVAS=2]="CANVAS"}(Wh||(Wh={})),function(t){t[t.COLOR=16384]="COLOR",t[t.DEPTH=256]="DEPTH",t[t.STENCIL=1024]="STENCIL"}(qh||(qh={})),function(t){t[t.NORMAL=0]="NORMAL",t[t.ADD=1]="ADD",t[t.MULTIPLY=2]="MULTIPLY",t[t.SCREEN=3]="SCREEN",t[t.OVERLAY=4]="OVERLAY",t[t.DARKEN=5]="DARKEN",t[t.LIGHTEN=6]="LIGHTEN",t[t.COLOR_DODGE=7]="COLOR_DODGE",t[t.COLOR_BURN=8]="COLOR_BURN",t[t.HARD_LIGHT=9]="HARD_LIGHT",t[t.SOFT_LIGHT=10]="SOFT_LIGHT",t[t.DIFFERENCE=11]="DIFFERENCE",t[t.EXCLUSION=12]="EXCLUSION",t[t.HUE=13]="HUE",t[t.SATURATION=14]="SATURATION",t[t.COLOR=15]="COLOR",t[t.LUMINOSITY=16]="LUMINOSITY",t[t.NORMAL_NPM=17]="NORMAL_NPM",t[t.ADD_NPM=18]="ADD_NPM",t[t.SCREEN_NPM=19]="SCREEN_NPM",t[t.NONE=20]="NONE",t[t.SRC_OVER=0]="SRC_OVER",t[t.SRC_IN=21]="SRC_IN",t[t.SRC_OUT=22]="SRC_OUT",t[t.SRC_ATOP=23]="SRC_ATOP",t[t.DST_OVER=24]="DST_OVER",t[t.DST_IN=25]="DST_IN",t[t.DST_OUT=26]="DST_OUT",t[t.DST_ATOP=27]="DST_ATOP",t[t.ERASE=26]="ERA
2SE",t[t.SUBTRACT=28]="SUBTRACT",t[t.XOR=29]="XOR"}(Zh||(Zh={})),function(t){t[t.POINTS=0]="POINTS",t[t.LINES=1]="LINES",t[t.LINE_LOOP=2]="LINE_LOOP",t[t.LINE_STRIP=3]="LINE_STRIP",t[t.TRIANGLES=4]="TRIANGLES",t[t.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",t[t.TRIANGLE_FAN=6]="TRIANGLE_FAN"}(Kh||(Kh={})),function(t){t[t.RGBA=6408]="RGBA",t[t.RGB=6407]="RGB",t[t.ALPHA=6406]="ALPHA",t[t.LUMINANCE=6409]="LUMINANCE",t[t.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",t[t.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",t[t.DEPTH_STENCIL=34041]="DEPTH_STENCIL"}(Jh||(Jh={})),function(t){t[t.TEXTURE_2D=3553]="TEXTURE_2D",t[t.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",t[t.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY",t[t.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",t[t.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",t[t.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",t[t.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z"}(Qh||(Qh={})),function(t){t[t.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",t[t.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",t[t.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",t[t.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",t[t.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",t[t.FLOAT=5126]="FLOAT",t[t.HALF_FLOAT=36193]="HALF_FLOAT"}(tf||(tf={})),function(t){t[t.FLOAT=0]="FLOAT",t[t.INT=1]="INT",t[t.UINT=2]="UINT"}(ef||(ef={})),function(t){t[t.NEAREST=0]="NEAREST",t[t.LINEAR=1]="LINEAR"}(nf||(nf={})),function(t){t[t.CLAMP=33071]="CLAMP",t[t.REPEAT=10497]="REPEAT",t[t.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT"}(rf||(rf={})),function(t){t[t.OFF=0]="OFF",t[t.POW2=1]="POW2",t[t.ON=2]="ON",t[t.ON_MANUAL=3]="ON_MANUAL"}(of||(of={})),function(t){t[t.NPM=0]="NPM",t[t.UNPACK=1]="UNPACK",t[t.PMA=2]="PMA",t[t.NO_PREMULTIPLIED_ALPHA=0]="NO_PREMULTIPLIED_ALPHA",t[t.PREMULTIPLY_ON_UPLOAD=1]="PREMULTIPLY_ON_UPLOAD",t[t.PREMULTIPLY_ALPHA=2]="PREMULTIPLY_ALPHA"}(sf||(sf={})),function(t){t[t.NO=0]="NO",t[t.YES=1]="YES",t[t.AUTO=2]="AUTO",t[t.BLEND=0]="BLEND",t[t.CLEAR=1]="CLEAR",t[t.BLIT=2]="BLIT"}(af||(af={})),function(t){t[t.AUTO=0]="AUTO",t[t.MANUAL=1]="MANUAL"}(uf||(uf={})),function(t){t.LOW="lowp",t.MEDIUM="mediump",t.HIGH="highp"}(lf||(lf={})),function(t){t[t.NONE=0]="NONE",t[t.SCISSOR=1]="SCISSOR",t[t.STENCIL=2]="STENCIL",t[t.SPRITE=3]="SPRITE"}(cf||(cf={})),function(t){t[t.NONE=0]="NONE",t[t.LOW=2]="LOW",t[t.MEDIUM=4]="MEDIUM",t[t.HIGH=8]="HIGH"}(hf||(hf={}));var df,pf,vf,mf,gf,yf,_f,bf,xf,Tf,Ef,wf,Sf,Af,Of,Rf,Pf,Cf,If={MIPMAP_TEXTURES:of.POW2,ANISOTROPIC_LEVEL:0,RESOLUTION:1,FILTER_RESOLUTION:1,SPRITE_MAX_TEXTURES:function(t){var e=!0;if(ff.tablet||ff.phone){var n;if(ff.apple.device)if(n=navigator.userAgent.match(/OS (\d+)_(\d+)?/))parseInt(n[1],10)<11&&(e=!1);if(ff.android.device)if(n=navigator.userAgent.match(/Android\s([0-9.]*)/))parseInt(n[1],10)<7&&(e=!1)}return e?t:4}(32),SPRITE_BATCH_SIZE:4096,RENDER_OPTIONS:{view:null,antialias:!1,autoDensity:!1,backgroundColor:0,backgroundAlpha:1,useContextAlpha:!0,clearBeforeRender:!0,preserveDrawingBuffer:!1,width:800,height:600,legacy:!1},GC_MODE:uf.AUTO,GC_MAX_IDLE:3600,GC_MAX_CHECK_COUNT:600,WRAP_MODE:rf.CLAMP,SCALE_MODE:nf.LINEAR,PRECISION_VERTEX:lf.HIGH,PRECISION_FRAGMENT:ff.apple.device?lf.HIGH:lf.MEDIUM,CAN_UPLOAD_SAME_BUFFER:!ff.apple.device,CREATE_IMAGE_BITMAP:!1,ROUND_PIXELS:!1},Mf=n(6729),Df=n.n(Mf),Lf=n(9187),Nf=n.n(Lf),kf=n(8575);!function(t){t[t.WEBGL_LEGACY=0]="WEBGL_LEGACY",t[t.WEBGL=1]="WEBGL",t[t.WEBGL2=2]="WEBGL2"}(df||(df={})),function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.WEBGL=1]="WEBGL",t[t.CANVAS=2]="CANVAS"}(pf||(pf={})),function(t){t[t.COLOR=16384]="COLOR",t[t.DEPTH=256]="DEPTH",t[t.STENCIL=1024]="STENCIL"}(vf||(vf={})),function(t){t[t.NORMAL=0]="NORMAL",t[t.ADD=1]="ADD",t[t.MULTIPLY=2]="MULTIPLY",t[t.SCREEN=3]="SCREEN",t[t.OVERLAY=4]="OVERLAY",t[t.DARKEN=5]="DARKEN",t[t.LIGHTEN=6]="LIGHTEN",t[t.COLOR_DODGE=7]="COLOR_DODGE",t[t.COLOR_BURN=8]="COLOR_BURN",t[t.HARD_LIGHT=9]="HARD_LIGHT",t[t.SOFT_LIGHT=10]="SOFT_LIGHT",t[t.DIFFERENCE=11]="DIFFERENCE",t[t.EXCLUSION=12]="EXCLUSION",t[t.HUE=13]="HUE",t[t.SATURATION=14]="SATURATION",t[t.COLOR=15]="COLOR",t[t.LUMINOSITY=16]="LUMINOSITY",t[t.NORMAL_NPM=17]="NORMAL_NPM",t[t.ADD_NPM=18]="ADD_NPM",t[t.SCREEN_NPM=19]="SCREEN_NPM",t[t.NONE=20]="NONE",t[t.SRC_OVER=0]="SRC_OVER",t[t.SRC_IN=21]="SRC_IN",t[t.SRC_OUT=22]="SRC_OUT",t[t.SRC_ATOP=23]="SRC_ATOP",t[t.DST_OVER=24]="DST_OVER",t[t.DST_IN=25]="DST_IN",t[t.DST_OUT=26]="DST_OUT",t[t.DST_ATOP=27]="DST_ATOP",t[t.ERASE=26]="ERA
2SE",t[t.SUBTRACT=28]="SUBTRACT",t[t.XOR=29]="XOR"}(mf||(mf={})),function(t){t[t.POINTS=0]="POINTS",t[t.LINES=1]="LINES",t[t.LINE_LOOP=2]="LINE_LOOP",t[t.LINE_STRIP=3]="LINE_STRIP",t[t.TRIANGLES=4]="TRIANGLES",t[t.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",t[t.TRIANGLE_FAN=6]="TRIANGLE_FAN"}(gf||(gf={})),function(t){t[t.RGBA=6408]="RGBA",t[t.RGB=6407]="RGB",t[t.ALPHA=6406]="ALPHA",t[t.LUMINANCE=6409]="LUMINANCE",t[t.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",t[t.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",t[t.DEPTH_STENCIL=34041]="DEPTH_STENCIL"}(yf||(yf={})),function(t){t[t.TEXTURE_2D=3553]="TEXTURE_2D",t[t.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",t[t.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY",t[t.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",t[t.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",t[t.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",t[t.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z"}(_f||(_f={})),function(t){t[t.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",t[t.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",t[t.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",t[t.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",t[t.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",t[t.FLOAT=5126]="FLOAT",t[t.HALF_FLOAT=36193]="HALF_FLOAT"}(bf||(bf={})),function(t){t[t.FLOAT=0]="FLOAT",t[t.INT=1]="INT",t[t.UINT=2]="UINT"}(xf||(xf={})),function(t){t[t.NEAREST=0]="NEAREST",t[t.LINEAR=1]="LINEAR"}(Tf||(Tf={})),function(t){t[t.CLAMP=33071]="CLAMP",t[t.REPEAT=10497]="REPEAT",t[t.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT"}(Ef||(Ef={})),function(t){t[t.OFF=0]="OFF",t[t.POW2=1]="POW2",t[t.ON=2]="ON",t[t.ON_MANUAL=3]="ON_MANUAL"}(wf||(wf={})),function(t){t[t.NPM=0]="NPM",t[t.UNPACK=1]="UNPACK",t[t.PMA=2]="PMA",t[t.NO_PREMULTIPLIED_ALPHA=0]="NO_PREMULTIPLIED_ALPHA",t[t.PREMULTIPLY_ON_UPLOAD=1]="PREMULTIPLY_ON_UPLOAD",t[t.PREMULTIPLY_ALPHA=2]="PREMULTIPLY_ALPHA"}(Sf||(Sf={})),function(t){t[t.NO=0]="NO",t[t.YES=1]="YES",t[t.AUTO=2]="AUTO",t[t.BLEND=0]="BLEND",t[t.CLEAR=1]="CLEAR",t[t.BLIT=2]="BLIT"}(Af||(Af={})),function(t){t[t.AUTO=0]="AUTO",t[t.MANUAL=1]="MANUAL"}(Of||(Of={})),function(t){t.LOW="lowp",t.MEDIUM="mediump",t.HIGH="highp"}(Rf||(Rf={})),function(t){t[t.NONE=0]="NONE",t[t.SCISSOR=1]="SCISSOR",t[t.STENCIL=2]="STENCIL",t[t.SPRITE=3]="SPRITE"}(Pf||(Pf={})),function(t){t[t.NONE=0]="NONE",t[t.LOW=2]="LOW",t[t.MEDIUM=4]="MEDIUM",t[t.HIGH=8]="HIGH"}(Cf||(Cf={}));var Ff={parse:kf.Qc,format:kf.WU,resolve:kf.DB};If.RETINA_PREFIX=/@([0-9\.]+)x/,If.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT=!1;var Bf,Uf=!1;function Gf(){Uf=!0}function Xf(t){var e;if(!Uf){if(navigator.userAgent.toLowerCase().indexOf("chrome")>-1){var n=["\n %c %c %c PixiJS 6.0.4 - ✰ "+t+" ✰  %c  %c  http://www.pixijs.com/  %c %c ♥%c♥%c♥ \n\n","background: #ff66a5; padding:5px 0;","background: #ff66a5; padding:5px 0;","color: #ff66a5; background: #030307; padding:5px 0;","background: #ff66a5; padding:5px 0;","background: #ffc3dc; padding:5px 0;","background: #ff66a5; padding:5px 0;","color: #ff2424; background: #fff; padding:5px 0;","color: #ff2424; background: #fff; padding:5px 0;","color: #ff2424; background: #fff; padding:5px 0;"];(e=self.console).log.apply(e,n)}else self.console&&self.console.log("PixiJS 6.0.4 - "+t+" - http://www.pixijs.com/");Uf=!0}}function jf(){return void 0===Bf&&(Bf=function(){var t={stencil:!0,failIfMajorPerformanceCaveat:If.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT};try{if(!self.WebGLRenderingContext)return!1;var e=document.createElement("canvas"),n=e.getContext("webgl",t)||e.getContext("experimental-webgl",t),r=!(!n||!n.getContextAttributes().stencil);if(n){var i=n.getExtension("WEBGL_lose_context");i&&i.loseContext()}return n=null,r}catch(t){return!1}}()),Bf}var Hf={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",s
2almon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function zf(t,e){return void 0===e&&(e=[]),e[0]=(t>>16&255)/255,e[1]=(t>>8&255)/255,e[2]=(255&t)/255,e}function Yf(t){var e=t.toString(16);return"#"+(e="000000".substr(0,6-e.length)+e)}function Vf(t){return"string"==typeof t&&"#"===(t=Hf[t.toLowerCase()]||t)[0]&&(t=t.substr(1)),parseInt(t,16)}function $f(t){return(255*t[0]<<16)+(255*t[1]<<8)+(255*t[2]|0)}var Wf=function(){for(var t=[],e=[],n=0;n<32;n++)t[n]=n,e[n]=n;t[mf.NORMAL_NPM]=mf.NORMAL,t[mf.ADD_NPM]=mf.ADD,t[mf.SCREEN_NPM]=mf.SCREEN,e[mf.NORMAL]=mf.NORMAL_NPM,e[mf.ADD]=mf.ADD_NPM,e[mf.SCREEN]=mf.SCREEN_NPM;var r=[];return r.push(e),r.push(t),r}();function qf(t,e){return Wf[e?1:0][t]}function Zf(t,e,n,r){return n=n||new Float32Array(4),r||void 0===r?(n[0]=t[0]*e,n[1]=t[1]*e,n[2]=t[2]*e):(n[0]=t[0],n[1]=t[1],n[2]=t[2]),n[3]=e,n}function Kf(t,e){if(1===e)return(255*e<<24)+t;if(0===e)return 0;var n=t>>16&255,r=t>>8&255,i=255&t;return(255*e<<24)+((n=n*e+.5|0)<<16)+((r=r*e+.5|0)<<8)+(i=i*e+.5|0)}function Jf(t,e,n,r){return(n=n||new Float32Array(4))[0]=(t>>16&255)/255,n[1]=(t>>8&255)/255,n[2]=(255&t)/255,(r||void 0===r)&&(n[0]*=e,n[1]*=e,n[2]*=e),n[3]=e,n}function Qf(t,e){void 0===e&&(e=null);var n=6*t;if((e=e||new Uint16Array(n)).length!==n)throw new Error("Out buffer length is incorrect, got "+e.length+" and expected "+n);for(var r=0,i=0;r<n;r+=6,i+=4)e[r+0]=i+0,e[r+1]=i+1,e[r+2]=i+2,e[r+3]=i+0,e[r+4]=i+2,e[r+5]=i+3;return e}function td(t){if(4===t.BYTES_PER_ELEMENT)return t instanceof Float32Array?"Float32Array":t instanceof Uint32Array?"Uint32Array":"Int32Array";if(2===t.BYTES_PER_ELEMENT){if(t instanceof Uint16Array)return"Uint16Array"}else if(1===t.BYTES_PER_ELEMENT&&t instanceof Uint8Array)return"Uint8Array";return null}var ed={Float32Array:Float32Array,Uint32Array:Uint32Array,Int32Array:Int32Array,Uint8Array:Uint8Array};function nd(t,e){for(var n=0,r=0,i={},o=0;o<t.length;o++)r+=e[o],n+=t[o].length;var s=new ArrayBuffer(4*n),a=null,u=0;for(o=0;o<t.length;o++){var l=e[o],c=t[o],h=td(c);i[h]||(i[h]=new ed[h](s)),a=i[h];for(var f=0;f<c.length;f++){a[(f/l|0)*r+u+f%l]=c[f]}u+=l}return new Float32Array(s)}function rd(t){return t+=0===t?1:0,--t,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,(t|=t>>>16)+1}function id(t){return!(t&t-1||!t)}function od(t){var e=(t>65535?1:0)<<4,n=((t>>>=e)>255?1:0)<<3;return e|=n,e|=n=((t>>>=n)>15?1:0)<<2,(e|=n=((t>>>=n)>3?1:0)<<1)|(t>>>=n)>>1}function sd(t,e,n){var r,i=t.length;if(!(e>=i||0===n)){var o=i-(n=e+n>i?i-e:n);for(r=e;r<o;++r)t[r]=t[r+n];t.length=o}}function ad(t){return 0===t?0:t<0?-1:1}var ud=0;function ld(){return++ud}var cd={};function hd(t,e,n){if(void 0===n&&(n=3),!cd[e]){var r=(new Error).stack;void 0===r?console.warn("PixiJS Deprecation Warning: ",e+"\nDeprecated since v"+t):(r=r.split("\n").splice(n).join("\n"),console.groupCollapsed?(console.groupCollapsed("%cPixiJS Deprecation Warning: %c%s","color:#614108;background:#fffbe6","font-weight:normal;color:#614108;background:#fffbe6",e+"\nDeprecated since v"+t),console.warn(r),console.groupEnd()):(console.warn("PixiJS Deprecation Warning: ",e+"\nDeprecated since v"+t),console.warn(r))),cd[e]=!0}}var fd={},dd=Object.create(null),pd=Object.create(null);function vd(){var t;for(t in dd)dd[t].destroy();for(t in pd)pd[t].destroy()}function md(){var t;for(t in dd)delete dd[t];for(t in pd)delete pd[t]}var gd=function(){function t(t,e,n){this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),this.resolution=n||If.RESOLUTION,this.resize(t,e)}return t.prototype.clear=function(){this.context.setTransform(1,0,0,1,0,0),this.context.clearRect(0,0,this.canvas.width,this.canvas.height)},t.prototype.resize=function(t,e){this.canvas.width=t*this.resolution,this.canvas.height=e*this.resolution},t.prototype.destroy=function(){this.context=null,this.canvas=null},Object.defineProperty(t.prototype,"width",{get:function(){return this.canvas.width}
2,set:function(t){this.canvas.width=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.canvas.height},set:function(t){this.canvas.height=t},enumerable:!1,configurable:!0}),t}();function yd(t){var e,n,r,i=t.width,o=t.height,s=t.getContext("2d"),a=s.getImageData(0,0,i,o).data,u=a.length,l={top:null,left:null,right:null,bottom:null},c=null;for(e=0;e<u;e+=4)0!==a[e+3]&&(n=e/4%i,r=~~(e/4/i),null===l.top&&(l.top=r),(null===l.left||n<l.left)&&(l.left=n),(null===l.right||l.right<n)&&(l.right=n+1),(null===l.bottom||l.bottom<r)&&(l.bottom=r));return null!==l.top&&(i=l.right-l.left,o=l.bottom-l.top+1,c=s.getImageData(l.left,l.top,i,o)),{height:o,width:i,data:c}}var _d,bd=/^\s*data:(?:([\w-]+)\/([\w+.-]+))?(?:;charset=([\w-]+))?(?:;(base64))?,(.*)/i;function xd(t){var e=bd.exec(t);if(e)return{mediaType:e[1]?e[1].toLowerCase():void 0,subType:e[2]?e[2].toLowerCase():void 0,charset:e[3]?e[3].toLowerCase():void 0,encoding:e[4]?e[4].toLowerCase():void 0,data:e[5]}}function Td(t,e){if(void 0===e&&(e=self.location),0===t.indexOf("data:"))return"";e=e||self.location,_d||(_d=document.createElement("a")),_d.href=t;var n=Ff.parse(_d.href),r=!n.port&&""===e.port||n.port===e.port;return n.hostname===e.hostname&&r&&n.protocol===e.protocol?"":"anonymous"}function Ed(t,e){var n=If.RETINA_PREFIX.exec(t);return n?parseFloat(n[1]):void 0!==e?e:1}var wd,Sd=2*Math.PI,Ad=180/Math.PI,Od=Math.PI/180;!function(t){t[t.POLY=0]="POLY",t[t.RECT=1]="RECT",t[t.CIRC=2]="CIRC",t[t.ELIP=3]="ELIP",t[t.RREC=4]="RREC"}(wd||(wd={}));var Rd=function(){function t(t,e,n,r){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0),this.x=Number(t),this.y=Number(e),this.width=Number(n),this.height=Number(r),this.type=wd.RECT}return Object.defineProperty(t.prototype,"left",{get:function(){return this.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"right",{get:function(){return this.x+this.width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return this.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bottom",{get:function(){return this.y+this.height},enumerable:!1,configurable:!0}),Object.defineProperty(t,"EMPTY",{get:function(){return new t(0,0,0,0)},enumerable:!1,configurable:!0}),t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copyFrom=function(t){return this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height,this},t.prototype.copyTo=function(t){return t.x=this.x,t.y=this.y,t.width=this.width,t.height=this.height,t},t.prototype.contains=function(t,e){return!(this.width<=0||this.height<=0)&&(t>=this.x&&t<this.x+this.width&&e>=this.y&&e<this.y+this.height)},t.prototype.pad=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=t),this.x-=t,this.y-=e,this.width+=2*t,this.height+=2*e,this},t.prototype.fit=function(t){var e=Math.max(this.x,t.x),n=Math.min(this.x+this.width,t.x+t.width),r=Math.max(this.y,t.y),i=Math.min(this.y+this.height,t.y+t.height);return this.x=e,this.width=Math.max(n-e,0),this.y=r,this.height=Math.max(i-r,0),this},t.prototype.ceil=function(t,e){void 0===t&&(t=1),void 0===e&&(e=.001);var n=Math.ceil((this.x+this.width-e)*t)/t,r=Math.ceil((this.y+this.height-e)*t)/t;return this.x=Math.floor((this.x+e)*t)/t,this.y=Math.floor((this.y+e)*t)/t,this.width=n-this.x,this.height=r-this.y,this},t.prototype.enlarge=function(t){var e=Math.min(this.x,t.x),n=Math.max(this.x+this.width,t.x+t.width),r=Math.min(this.y,t.y),i=Math.max(this.y+this.height,t.y+t.height);return this.x=e,this.width=n-e,this.y=r,this.height=i-r,this},t.prototype.toString=function(){return"[@pixi/math:Rectangle x="+this.x+" y="+this.y+" width="+this.width+" height="+this.height+"]"},t}(),Pd=function(){function t(t,e,n){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),this.x=t,this.y=e,this.radius=n,this.type=wd.CIRC}return t.prototype.clone=function(){return new t(this.x,this.y,this.radius)},t.prototype.contains=function(t,e){if(this.radius<=0)return!1;var n=this.radius*this.radius,r=this.x-t,i=this.y-e;return(r*=r)+(i*=i)<=n},t.prototype.getBounds=function(){return new Rd(this.x-this.radius,this.y-this.radius,2*this.radius,2*this.radius)},t.prototype.toString=function(){return"[@pixi/math:Circle x="+this.x+" y="+this.y+" radius="+this.radius+"]"},t}(),Cd=function(){function t(t,e,n,r){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0),this.x=t,this.y=e,this.width=n,this.height=r,this.type=wd.ELIP}return t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.contains=function(t,e){if(this.width<=0||this.height<=0)return!1;var n=(t-this.x)/this.width,r=(e-this.y)/this.height;return(n*=n)+(r*=r)<=1},t.prototype.getBounds=function(){return new Rd(this.x-this.width,this.y-this.height,this.width,this.height)},t.prototype.toString=function(){return"[@pixi/math:Ellipse x="+this.x+" y="+this.y+" width="+this.width+" height="+this.height+"]"},t}(),Id=function(){function t(){for(var t=arguments,e=[],n=0;n<arguments.length;n++)e[n]=t[n];var r=Array.isArray(e[0])?e[0]:e;if("number"!=typeof r[0]){for(var i=[],o=0,s=r.length;o<s;o++)i.push(r[o].x,r[o].y);r=i}this.points=r,this.type=wd.POLY,this.closeStroke=!0}return t.prototype.clone=function(){var e=new t(this.points.slice());return e.closeStroke=this.closeStroke,e},t.prototype.contains=function(t,e){for(var n=!1,r=this.points.length/2,i=0,o=r-1;i<r;o=i++){var s=this.points[2*i],a=this.points[2*i+1],u=this.points[2*o],l=this.points[2*o+1];a>e!=l>e&&t<(e-a)/(l-a)*(u-s)+s&&(n=!n)}return n},t.prototype.toString=function(){return"[@pixi/math:PolygoncloseStroke="+this.closeStroke+"points="+this.points.reduce((function(t,e){return t+", "+e}),"")+"]"},t}(),Md=function(){function t(t,e,n,r,i){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=20),this.x=t,this.y=e,this.width=n,this.height=r,this.radius=i,this.type=wd.RREC}return t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height,this.radius)},t.prototype.contains=function(t,e){if(this.width<=0||this.height<=0)return!1;if(t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height){if(e>=this.y+this.radius&&e<=this.y+this.height-this.radius||t>=this.x+this.radius&&t<=this.x+this.width-this.radius)return!0;var n=t-(this.x+this.radius),r=e-(this.y+this.radius),i=this.radius*this.radius;if(n*n+r*r<=i)return!0;
2if((n=t-(this.x+this.width-this.radius))*n+r*r<=i)return!0;if(n*n+(r=e-(this.y+this.height-this.radius))*r<=i)return!0;if((n=t-(this.x+this.radius))*n+r*r<=i)return!0}return!1},t.prototype.toString=function(){return"[@pixi/math:RoundedRectangle x="+this.x+" y="+this.y+"width="+this.width+" height="+this.height+" radius="+this.radius+"]"},t}(),Dd=function(){function t(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.x=0,this.y=0,this.x=t,this.y=e}return t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.copyFrom=function(t){return this.set(t.x,t.y),this},t.prototype.copyTo=function(t){return t.set(this.x,this.y),t},t.prototype.equals=function(t){return t.x===this.x&&t.y===this.y},t.prototype.set=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=t),this.x=t,this.y=e,this},t.prototype.toString=function(){return"[@pixi/math:Point x="+this.x+" y="+this.y+"]"},t}(),Ld=function(){function t(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=0),this._x=n,this._y=r,this.cb=t,this.scope=e}return t.prototype.clone=function(e,n){return void 0===e&&(e=this.cb),void 0===n&&(n=this.scope),new t(e,n,this._x,this._y)},t.prototype.set=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=t),this._x===t&&this._y===e||(this._x=t,this._y=e,this.cb.call(this.scope)),this},t.prototype.copyFrom=function(t){return this._x===t.x&&this._y===t.y||(this._x=t.x,this._y=t.y,this.cb.call(this.scope)),this},t.prototype.copyTo=function(t){return t.set(this._x,this._y),t},t.prototype.equals=function(t){return t.x===this._x&&t.y===this._y},t.prototype.toString=function(){return"[@pixi/math:ObservablePoint x=0 y=0 scope="+this.scope+"]"},Object.defineProperty(t.prototype,"x",{get:function(){return this._x},set:function(t){this._x!==t&&(this._x=t,this.cb.call(this.scope))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this._y},set:function(t){this._y!==t&&(this._y=t,this.cb.call(this.scope))},enumerable:!1,configurable:!0}),t}(),Nd=function(){function t(t,e,n,r,i,o){void 0===t&&(t=1),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=1),void 0===i&&(i=0),void 0===o&&(o=0),this.array=null,this.a=t,this.b=e,this.c=n,this.d=r,this.tx=i,this.ty=o}return t.prototype.fromArray=function(t){this.a=t[0],this.b=t[1],this.c=t[3],this.d=t[4],this.tx=t[2],this.ty=t[5]},t.prototype.set=function(t,e,n,r,i,o){return this.a=t,this.b=e,this.c=n,this.d=r,this.tx=i,this.ty=o,this},t.prototype.toArray=function(t,e){this.array||(this.array=new Float32Array(9));var n=e||this.array;return t?(n[0]=this.a,n[1]=this.b,n[2]=0,n[3]=this.c,n[4]=this.d,n[5]=0,n[6]=this.tx,n[7]=this.ty,n[8]=1):(n[0]=this.a,n[1]=this.c,n[2]=this.tx,n[3]=this.b,n[4]=this.d,n[5]=this.ty,n[6]=0,n[7]=0,n[8]=1),n},t.prototype.apply=function(t,e){e=e||new Dd;var n=t.x,r=t.y;return e.x=this.a*n+this.c*r+this.tx,e.y=this.b*n+this.d*r+this.ty,e},t.prototype.applyInverse=function(t,e){e=e||new Dd;var n=1/(this.a*this.d+this.c*-this.b),r=t.x,i=t.y;return e.x=this.d*n*r+-this.c*n*i+(this.ty*this.c-this.tx*this.d)*n,e.y=this.a*n*i+-this.b*n*r+(-this.ty*this.a+this.tx*this.b)*n,e},t.prototype.translate=function(t,e){return this.tx+=t,this.ty+=e,this},t.prototype.scale=function(t,e){return this.a*=t,this.d*=e,this.c*=t,this.b*=e,this.tx*=t,this.ty*=e,this},t.prototype.rotate=function(t){var e=Math.cos(t),n=Math.sin(t),r=this.a,i=this.c,o=this.tx;return this.a=r*e-this.b*n,this.b=r*n+this.b*e,this.c=i*e-this.d*n,this.d=i*n+this.d*e,this.tx=o*e-this.ty*n,this.ty=o*n+this.ty*e,this},t.prototype.append=function(t){var e=this.a,n=this.b,r=this.c,i=this.d;return this.a=t.a*e+t.b*r,this.b=t.a*n+t.b*i,this.c=t.c*e+t.d*r,this.d=t.c*n+t.d*i,this.tx=t.tx*e+t.ty*r+this.tx,this.ty=t.tx*n+t.ty*i+this.ty,this},t.prototype.setTransform=function(t,e,n,r,i,o,s,a,u){return this.a=Math.cos(s+u)*i,this.b=Math.sin(s+u)*i,this.c=-Math.sin(s-a)*o,this.d=Math.cos(s-a)*o,this.tx=t-(n*this.a+r*this.c),this.ty=e-(n*this.b+r*this.d),this},t.prototype.prepend=function(t){var e=this.tx;if(1!==t.a||0!==t.b||0!==t.c||1!==t.d){var n=this.a,r=this.c;this.a=n*t.a+this.b*t.c,this.b=n*t.b+this.b*t.d,this.c=r*t.a+this.d*t.c,this.d=r*t.b+this.d*t.d}return this.tx=e*t.a+this.ty*t.c+t.tx,this.ty=e*t.b+this.ty*t.d+t.ty,this},t.prototype.decompose=function(t){var e=this.a,n=this.b,r=this.c,i=this.d,o=t.pivot,s=-Math.atan2(-r,i),a=Math.atan2(n,e),u=Math.abs(s+a);return u<1e-5||Math.abs(Sd-u)<1e-5?(t.rotation=a,t.skew.x=t.skew.y=0):(t.rotation=0,t.skew.x=s,t.skew.y=a),t.scale.x=Math.sqrt(e*e+n*n),t.scale.y=Math.sqrt(r*r+i*i),t.position.x=this.tx+(o.x*e+o.y*r),t.position.y=this.ty+(o.x*n+o.y*i),t},t.prototype.invert=function(){var t=this.a,e=this.b,n=this.c,r=this.d,i=this.tx,o=t*r-e*n;return this.a=r/o,this.b=-e/o,this.c=-n/o,this.d=t/o,this.tx=(n*this.ty-r*i)/o,this.ty=-(t*this.ty-e*i)/o,this},t.prototype.identity=function(){return this.a=1,this.b=0,this.c=0,this.d=1,this.tx=0,this.ty=0,this},t.prototype.clone=function(){var e=new t;return e.a=this.a,e.b=this.b,e.c=this.c,e.d=this.d,e.tx=this.tx,e.ty=this.ty,e},t.prototype.copyTo=function(t){return t.a=this.a,t.b=this.b,t.c=this.c,t.d=this.d,t.tx=this.tx,t.ty=this.ty,t},t.prototype.copyFrom=function(t){return this.a=t.a,this.b=t.b,this.c=t.c,this.d=t.d,this.tx=t.tx,this.ty=t.ty,this},t.prototype.toString=function(){return"[@pixi/math:Matrix a="+this.a+" b="+this.b+" c="+this.c+" d="+this.d+" tx="+this.tx+" ty="+this.t
2y+"]"},Object.defineProperty(t,"IDENTITY",{get:function(){return new t},enumerable:!1,configurable:!0}),Object.defineProperty(t,"TEMP_MATRIX",{get:function(){return new t},enumerable:!1,configurable:!0}),t}(),kd=[1,1,0,-1,-1,-1,0,1,1,1,0,-1,-1,-1,0,1],Fd=[0,1,1,1,0,-1,-1,-1,0,1,1,1,0,-1,-1,-1],Bd=[0,-1,-1,-1,0,1,1,1,0,1,1,1,0,-1,-1,-1],Ud=[1,1,0,-1,-1,-1,0,1,-1,-1,0,1,1,1,0,-1],Gd=[],Xd=[],jd=Math.sign;!function(){for(var t=0;t<16;t++){var e=[];Gd.push(e);for(var n=0;n<16;n++)for(var r=jd(kd[t]*kd[n]+Bd[t]*Fd[n]),i=jd(Fd[t]*kd[n]+Ud[t]*Fd[n]),o=jd(kd[t]*Bd[n]+Bd[t]*Ud[n]),s=jd(Fd[t]*Bd[n]+Ud[t]*Ud[n]),a=0;a<16;a++)if(kd[a]===r&&Fd[a]===i&&Bd[a]===o&&Ud[a]===s){e.push(a);break}}for(t=0;t<16;t++){var u=new Nd;u.set(kd[t],Fd[t],Bd[t],Ud[t],0,0),Xd.push(u)}}();var Hd={E:0,SE:1,S:2,SW:3,W:4,NW:5,N:6,NE:7,MIRROR_VERTICAL:8,MAIN_DIAGONAL:10,MIRROR_HORIZONTAL:12,REVERSE_DIAGONAL:14,uX:function(t){return kd[t]},uY:function(t){return Fd[t]},vX:function(t){return Bd[t]},vY:function(t){return Ud[t]},inv:function(t){return 8&t?15&t:7&-t},add:function(t,e){return Gd[t][e]},sub:function(t,e){return Gd[t][Hd.inv(e)]},rotate180:function(t){return 4^t},isVertical:function(t){return 2==(3&t)},byDirection:function(t,e){return 2*Math.abs(t)<=Math.abs(e)?e>=0?Hd.S:Hd.N:2*Math.abs(e)<=Math.abs(t)?t>0?Hd.E:Hd.W:e>0?t>0?Hd.SE:Hd.SW:t>0?Hd.NE:Hd.NW},matrixAppendRotationInv:function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=0);var i=Xd[Hd.inv(e)];i.tx=n,i.ty=r,t.append(i)}},zd=function(){function t(){this.worldTransform=new Nd,this.localTransform=new Nd,this.position=new Ld(this.onChange,this,0,0),this.scale=new Ld(this.onChange,this,1,1),this.pivot=new Ld(this.onChange,this,0,0),this.skew=new Ld(this.updateSkew,this,0,0),this._rotation=0,this._cx=1,this._sx=0,this._cy=0,this._sy=1,this._localID=0,this._currentLocalID=0,this._worldID=0,this._parentID=0}return t.prototype.onChange=function(){this._localID++},t.prototype.updateSkew=function(){this._cx=Math.cos(this._rotation+this.skew.y),this._sx=Math.sin(this._rotation+this.skew.y),this._cy=-Math.sin(this._rotation-this.skew.x),this._sy=Math.cos(this._rotation-this.skew.x),this._localID++},t.prototype.toString=function(){return"[@pixi/math:Transform position=("+this.position.x+", "+this.position.y+") rotation="+this.rotation+" scale=("+this.scale.x+", "+this.scale.y+") skew=("+this.skew.x+", "+this.skew.y+") ]"},t.prototype.updateLocalTransform=function(){var t=this.localTransform;this._localID!==this._currentLocalID&&(t.a=this._cx*this.scale.x,t.b=this._sx*this.scale.x,t.c=this._cy*this.scale.y,t.d=this._sy*this.scale.y,t.tx=this.position.x-(this.pivot.x*t.a+this.pivot.y*t.c),t.ty=this.position.y-(this.pivot.x*t.b+this.pivot.y*t.d),this._currentLocalID=this._localID,this._parentID=-1)},t.prototype.updateTransform=function(t){var e=this.localTransform;if(this._localID!==this._currentLocalID&&(e.a=this._cx*this.scale.x,e.b=this._sx*this.scale.x,e.c=this._cy*this.scale.y,e.d=this._sy*this.scale.y,e.tx=this.position.x-(this.pivot.x*e.a+this.pivot.y*e.c),e.ty=this.position.y-(this.pivot.x*e.b+this.pivot.y*e.d),this._currentLocalID=this._localID,this._parentID=-1),this._parentID!==t._worldID){var n=t.worldTransform,r=this.worldTransform;r.a=e.a*n.a+e.b*n.c,r.b=e.a*n.b+e.b*n.d,r.c=e.c*n.a+e.d*n.c,r.d=e.c*n.b+e.d*n.d,r.tx=e.tx*n.a+e.ty*n.c+n.tx,r.ty=e.tx*n.b+e.ty*n.d+n.ty,this._parentID=t._worldID,this._worldID++}},t.prototype.setFromMatrix=function(t){t.decompose(this),this._localID++},Object.defineProperty(t.prototype,"rotation",{get:function(){return this._rotation},set:function(t){this._rotation!==t&&(this._rotation=t,this.updateSkew())},enumerable:!1,configurable:!0}),t.IDENTITY=new t,t}();If.SORTABLE_CHILDREN=!1;var Yd=function(){function t(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0,this.rect=null,this.updateID=-1}return t.prototype.isEmpty=function(){return this.minX>this.maxX||this.minY>this.maxY},t.prototype.clear=function(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0},t.prototype.getRectangle=function(t){return this.minX>this.maxX||this.minY>this.maxY?Rd.EMPTY:((t=t||new Rd(0,0,1,1)).x=this.minX,t.y=this.minY,t.width=this.maxX-this.minX,t.height=this.maxY-this.minY,t)},t.prototype.addPoint=function(t){this.minX=Math.min(this.minX,t.x),this.maxX=Math.max(this.maxX,t.x),this.minY=Math.min(this.minY,t.y),this.maxY=Math.max(this.maxY,t.y)},t.prototype.addPointMatrix=function(t,e){var n=t.a,r=t.b,i=t.c,o=t.d,s=t.tx,a=t.ty,u=n*e.x+i*e.y+s,l=r*e.x+o*e.y+a;this.minX=Math.min(this.minX,u),this.maxX=Math.max(this.maxX,u),this.minY=Math.min(this.minY,l),this.maxY=Math.max(this.maxY,l)},t.prototype.addQuad=function(t){var e=this.minX,n=this.minY,r=this.maxX,i=this.maxY,o=t[0],s=t[1];e=o<e?o:e,n=s<n?s:n,r=o>r?o:r,i=s>i?s:i,e=(o=t[2])<e?o:e,n=(s=t[3])<n?s:n,r=o>r?o:r,i=s>i?s:i,e=(o=t[4])<e?o:e,n=(s=t[5])<n?s:n,r=o>r?o:r,i=s>i?s:i,e=(o=t[6])<e?o:e,n=(s=t[7])<n?s:n,r=o>r?o:r,i=s>i?s:i,this.minX=e,this.minY=n,this.maxX=r,this.maxY=i},t.prototype.addFrame=function(t,e,n,r,i){this.addFrameMatrix(t.worldTransform,e,n,r,i)},t.prototype.addFrameMatrix=function(t,e,n,r,i){var o=t.a,s=t.b,a=t.c,u=t.d,l=t.tx,c=t.ty,h=this.minX,f=this.minY,d=this.maxX,p=this.maxY,v=o*e+a*n+l,m=s*e+u*n+c;h=v<h?v:h,f=m<f?m:f,d=v>d?v:d,p=m>p?m:p,h=(v=o*r+a*n+l)<h?v:h,f=(m=s*r+u*n+c)<f?m:f,d=v>d?v:d,p=m>p?m:p,h=(v=o*e+a*i+l)<h?v:h,f=(m=s*e+u*i+c)<f?m:f,d=v>d?v:d,p=m>p?m:p,h=(v=o*r+a*i+l)<h?v:h,f=(m=s*r+u*i+c)<f?m:f,d=v>d?v:d,p=m>p?m:p,this.minX=h,this.minY=f,this.maxX=d,this.maxY=p},t.prototype.addVertexData=function(t,e,n){for(var r=this.minX,i=this.minY,o=this.maxX,s=this.maxY,a=e;a<n;a+=2){var u=t[a],l=t[a+1];r=u<r?u:r,i=l<i?l:i,o=u>o?u:o,s=l>s?l:s}this.minX=r,this.minY=i,this.maxX=o,this.maxY=s},t.prototype.addVertices=function(t,e,n,r){this.addVerticesMatrix(t.worldTransform,e,n,r)},t.prototype.addVerticesMatrix=function(t,e,n,r,i,o){void 0===i&&(i=0),void 0===o&&(o=i);for(var s=t.a,a=t.b,u=t.c,l=t.d,c=t.tx,h=t.ty,f=this.minX,d=this.minY,p=this.maxX,v=this.maxY,m=n;m<r;m+=2){var g=e[m],y=e[m+1],_=s*g+u*y+c,b=l*y+a*g+h;f=Math.min(f,_-i),p=Math.max(p,_+i),d=Math.min(d,b-o),v=Math.max(v,b+o)}this.minX=f,this.minY=d,this.maxX=p,this.maxY=v},t.prototype.addBounds=function(t){var e=this.minX,n=this.minY,r=this.maxX,i=this.maxY;this.minX=t.minX<e?t.minX:e,this.minY=t.minY<n?t.minY:n,this.maxX=t.maxX>r?t.maxX:r,this.maxY=t.maxY>i?t.maxY:i},t.prototype.addBoundsMask=function(t,e){var n=t.minX>e.minX?t.minX:e.minX,r=t.minY>e.minY?t.minY:e.minY,i=t.maxX<e.maxX?t.maxX:e.maxX,o=t.maxY<e.maxY?t.maxY:e.maxY;if(n<=i&&r<=o){var s=this.minX,a=this.minY,u=this.maxX,l=this.maxY;this.minX=n<s?n:s,this.minY=r<a?r:a,this.maxX=i>u?i:u,this.maxY=o>l?o:l}},t.prototype.addBoundsMatrix=function(t,e){this.addFrameMatrix(e,t.minX,t.minY,t.maxX,t.maxY)},t.prototype.addBoundsArea=function(t,e){var n=t.minX>e.x?t.minX:e.x,r=t.minY>e.y?t.minY:e.y,i=t.maxX<e.x+e.width?t.maxX:e.x+e.width,o=t.maxY<e.y+e.height?t.maxY:e.y+e.height;if(n<=i&&r<=o){var s=this.minX,a=this.minY,u=this.maxX,l=this.maxY;this.minX=n<s?n:s,this.minY=r<a?r:a,this.maxX=i>u?i:u,this.maxY=o>l?o:l}},t.prototype.pad=function(t,e){void 0===t&&(t=0),void 0===e&&(e=t),this.isEmpty()||(this.minX-=t,this.maxX+=t,this.minY-=e,this.maxY+=e)},t.prototype.addFramePad=function(t,e,n,r,i,o){t-=i,e-=o,n+=i,r+=o,this.minX=this.minX<t?this.minX:t,this.maxX=this.maxX>n?this.maxX:n,this.minY=this.minY<e?this.minY:e,this.maxY=this.maxY>r?this.maxY:r},t}
2(),Vd=function(t,e){return(Vd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function $d(t,e){function n(){this.constructor=t}Vd(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Wd=function(t){function e(){var e=t.call(this)||this;return e.tempDisplayObjectParent=null,e.transform=new zd,e.alpha=1,e.visible=!0,e.renderable=!0,e.parent=null,e.worldAlpha=1,e._lastSortedIndex=0,e._zIndex=0,e.filterArea=null,e.filters=null,e._enabledFilters=null,e._bounds=new Yd,e._localBounds=null,e._boundsID=0,e._boundsRect=null,e._localBoundsRect=null,e._mask=null,e._destroyed=!1,e.isSprite=!1,e.isMask=!1,e}return $d(e,t),e.mixin=function(t){for(var n=Object.keys(t),r=0;r<n.length;++r){var i=n[r];Object.defineProperty(e.prototype,i,Object.getOwnPropertyDescriptor(t,i))}},e.prototype._recursivePostUpdateTransform=function(){this.parent?(this.parent._recursivePostUpdateTransform(),this.transform.updateTransform(this.parent.transform)):this.transform.updateTransform(this._tempDisplayObjectParent.transform)},e.prototype.updateTransform=function(){this._boundsID++,this.transform.updateTransform(this.parent.transform),this.worldAlpha=this.alpha*this.parent.worldAlpha},e.prototype.getBounds=function(t,e){return t||(this.parent?(this._recursivePostUpdateTransform(),this.updateTransform()):(this.parent=this._tempDisplayObjectParent,this.updateTransform(),this.parent=null)),this._bounds.updateID!==this._boundsID&&(this.calculateBounds(),this._bounds.updateID=this._boundsID),e||(this._boundsRect||(this._boundsRect=new Rd),e=this._boundsRect),this._bounds.getRectangle(e)},e.prototype.getLocalBounds=function(t){t||(this._localBoundsRect||(this._localBoundsRect=new Rd),t=this._localBoundsRect),this._localBounds||(this._localBounds=new Yd);var e=this.transform,n=this.parent;this.parent=null,this.transform=this._tempDisplayObjectParent.transform;var r=this._bounds,i=this._boundsID;this._bounds=this._localBounds;var o=this.getBounds(!1,t);return this.parent=n,this.transform=e,this._bounds=r,this._bounds.updateID+=this._boundsID-i,o},e.prototype.toGlobal=function(t,e,n){return void 0===n&&(n=!1),n||(this._recursivePostUpdateTransform(),this.parent?this.displayObjectUpdateTransform():(this.parent=this._tempDisplayObjectParent,this.displayObjectUpdateTransform(),this.parent=null)),this.worldTransform.apply(t,e)},e.prototype.toLocal=function(t,e,n,r){return e&&(t=e.toGlobal(t,n,r)),r||(this._recursivePostUpdateTransform(),this.parent?this.displayObjectUpdateTransform():(this.parent=this._tempDisplayObjectParent,this.displayObjectUpdateTransform(),this.parent=null)),this.worldTransform.applyInverse(t,n)},e.prototype.setParent=function(t){if(!t||!t.addChild)throw new Error("setParent: Argument must be a Container");return t.addChild(this),t},e.prototype.setTransform=function(t,e,n,r,i,o,s,a,u){return void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=1),void 0===r&&(r=1),void 0===i&&(i=0),void 0===o&&(o=0),void 0===s&&(s=0),void 0===a&&(a=0),void 0===u&&(u=0),this.position.x=t,this.position.y=e,this.scale.x=n||1,this.scale.y=r||1,this.rotation=i,this.skew.x=o,this.skew.y=s,this.pivot.x=a,this.pivot.y=u,this},e.prototype.destroy=function(t){this.parent&&this.parent.removeChild(this),this.removeAllListeners(),this.transform=null,this.parent=null,this._bounds=null,this._mask=null,this.filters=null,this.filterArea=null,this.hitArea=null,this.interactive=!1,this.interactiveChildren=!1,this._destroyed=!0},Object.defineProperty(e.prototype,"_tempDisplayObjectParent",{get:function(){return null===this.tempDisplayObjectParent&&(this.tempDisplayObjectParent=new qd),this.tempDisplayObjectParent},enumerable:!1,configurable:!0}),e.prototype.enableTempParent=function(){var t=this.parent;return this.parent=this._tempDisplayObjectParent,t},e.prototype.disableTempParent=function(t){this.parent=t},Object.defineProperty(e.prototype,"x",{get:function(){return this.position.x},set:function(t){this.transform.position.x=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this.position.y},set:function(t){this.transform.position.y=t}
2,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"worldTransform",{get:function(){return this.transform.worldTransform},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localTransform",{get:function(){return this.transform.localTransform},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"position",{get:function(){return this.transform.position},set:function(t){this.transform.position.copyFrom(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scale",{get:function(){return this.transform.scale},set:function(t){this.transform.scale.copyFrom(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pivot",{get:function(){return this.transform.pivot},set:function(t){this.transform.pivot.copyFrom(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"skew",{get:function(){return this.transform.skew},set:function(t){this.transform.skew.copyFrom(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rotation",{get:function(){return this.transform.rotation},set:function(t){this.transform.rotation=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.transform.rotation*Ad},set:function(t){this.transform.rotation=t*Od},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"zIndex",{get:function(){return this._zIndex},set:function(t){this._zIndex=t,this.parent&&(this.parent.sortDirty=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"worldVisible",{get:function(){var t=this;do{if(!t.visible)return!1;t=t.parent}while(t);return!0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"mask",{get:function(){return this._mask},set:function(t){var e;this._mask&&((e=this._mask.maskObject||this._mask).renderable=!0,e.isMask=!1);(this._mask=t,this._mask)&&((e=this._mask.maskObject||this._mask).renderable=!1,e.isMask=!0)},enumerable:!1,configurable:!0}),e}(Df()),qd=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.sortDirty=null,e}return $d(e,t),e}(Wd);function Zd(t,e){return t.zIndex===e.zIndex?t._lastSortedIndex-e._lastSortedIndex:t.zIndex-e.zIndex}Wd.prototype.displayObjectUpdateTransform=Wd.prototype.updateTransform;var Kd=function(t){function e(){var e=t.call(this)||this;return e.children=[],e.sortableChildren=If.SORTABLE_CHILDREN,e.sortDirty=!1,e}return $d(e,t),e.prototype.onChildrenChange=function(t){},e.prototype.addChild=function(){for(var t=arguments,e=[],n=0;n<arguments.length;n++)e[n]=t[n];if(e.length>1)for(var r=0;r<e.length;r++)this.addChild(e[r]);else{var i=e[0];i.parent&&i.parent.removeChild(i),i.parent=this,this.sortDirty=!0,i.transform._parentID=-1,this.children.push(i),this._boundsID++,this.onChildrenChange(this.children.length-1),this.emit("childAdded",i,this,this.children.length-1),i.emit("added",this)}return e[0]},e.prototype.addChildAt=function(t,e){if(e<0||e>this.children.length)throw new Error(t+"addChildAt: The index "+e+" supplied is out of bounds "+this.children.length);return t.parent&&t.parent.removeChild(t),t.parent=this,this.sortDirty=!0,t.transform._parentID=-1,this.children.splice(e,0,t),this._boundsID++,this.onChildrenChange(e),t.emit("added",this),this.emit("childAdded",t,this,e),t},e.prototype.swapChildren=function(t,e){if(t!==e){var n=this.getChildIndex(t),r=this.getChildIndex(e);this.children[n]=e,this.children[r]=t,this.onChildrenChange(n<r?n:r)}},e.prototype.getChildIndex=function(t){var e=this.children.indexOf(t);if(-1===e)throw new Error("The supplied DisplayObject must be a child of the caller");return e},e.prototype.setChildIndex=function(t,e){if(e<0||e>=this.children.length)throw new Error("The index "+e+" supplied is out of bounds "+this.children.length);var n=this.getChildIndex(t);sd(this.children,n,1),this.children.splice(e,0,t),this.onChildrenChange(e)},e.prototype.getChildAt=function(t){if(t<0||t>=this.children.length)throw new Error("getChildAt: Index ("+t+") does not exist.");return this.children[t]},e.prototype.removeChild=function(){for(var t=arguments,e=[],n=0;n<arguments.length;n++)e[n]=t[n];if(e.length>1)for(var r=0;r<e.length;r++)this.removeChild(e[r]);else{var i=e[0],o=this.children.indexOf(i);if(-1===o)return null;i.parent=null,i.transform._parentID=-1,sd(this.children,o,1),this._boundsID++,this.onChildrenChange(o),i.emit("removed",this),this.emit
2("childRemoved",i,this,o)}return e[0]},e.prototype.removeChildAt=function(t){var e=this.getChildAt(t);return e.parent=null,e.transform._parentID=-1,sd(this.children,t,1),this._boundsID++,this.onChildrenChange(t),e.emit("removed",this),this.emit("childRemoved",e,this,t),e},e.prototype.removeChildren=function(t,e){void 0===t&&(t=0),void 0===e&&(e=this.children.length);var n,r=t,i=e-r;if(i>0&&i<=e){n=this.children.splice(r,i);for(var o=0;o<n.length;++o)n[o].parent=null,n[o].transform&&(n[o].transform._parentID=-1);this._boundsID++,this.onChildrenChange(t);for(o=0;o<n.length;++o)n[o].emit("removed",this),this.emit("childRemoved",n[o],this,o);return n}if(0===i&&0===this.children.length)return[];throw new RangeError("removeChildren: numeric values are outside the acceptable range.")},e.prototype.sortChildren=function(){for(var t=!1,e=0,n=this.children.length;e<n;++e){var r=this.children[e];r._lastSortedIndex=e,t||0===r.zIndex||(t=!0)}t&&this.children.length>1&&this.children.sort(Zd),this.sortDirty=!1},e.prototype.updateTransform=function(){this.sortableChildren&&this.sortDirty&&this.sortChildren(),this._boundsID++,this.transform.updateTransform(this.parent.transform),this.worldAlpha=this.alpha*this.parent.worldAlpha;for(var t=0,e=this.children.length;t<e;++t){var n=this.children[t];n.visible&&n.updateTransform()}},e.prototype.calculateBounds=function(){this._bounds.clear(),this._calculateBounds();for(var t=0;t<this.children.length;t++){var e=this.children[t];if(e.visible&&e.renderable)if(e.calculateBounds(),e._mask){var n=e._mask.maskObject||e._mask;n.calculateBounds(),this._bounds.addBoundsMask(e._bounds,n._bounds)}else e.filterArea?this._bounds.addBoundsArea(e._bounds,e.filterArea):this._bounds.addBounds(e._bounds)}this._bounds.updateID=this._boundsID},e.prototype.getLocalBounds=function(e,n){void 0===n&&(n=!1);var r=t.prototype.getLocalBounds.call(this,e);if(!n)for(var i=0,o=this.children.length;i<o;++i){var s=this.children[i];s.visible&&s.updateTransform()}return r},e.prototype._calculateBounds=function(){},e.prototype.render=function(t){if(this.visible&&!(this.worldAlpha<=0)&&this.renderable)if(this._mask||this.filters&&this.filters.length)this.renderAdvanced(t);else{this._render(t);for(var e=0,n=this.children.length;e<n;++e)this.children[e].render(t)}},e.prototype.renderAdvanced=function(t){t.batch.flush();var e=this.filters,n=this._mask;if(e){this._enabledFilters||(this._enabledFilters=[]),this._enabledFilters.length=0;for(var r=0;r<e.length;r++)e[r].enabled&&this._enabledFilters.push(e[r]);this._enabledFilters.length&&t.filter.push(this,this._enabledFilters)}n&&t.mask.push(this,this._mask),this._render(t);r=0;for(var i=this.children.length;r<i;r++)this.children[r].render(t);t.batch.flush(),n&&t.mask.pop(this),e&&this._enabledFilters&&this._enabledFilters.length&&t.filter.pop()},e.prototype._render=function(t){},e.prototype.destroy=function(e){t.prototype.destroy.call(this),this.sortDirty=!1;var n="boolean"==typeof e?e:e&&e.children,r=this.removeChildren(0,this.children.length);if(n)for(var i=0;i<r.length;++i)r[i].destroy(e)},Object.defineProperty(e.prototype,"width",{get:function(){return this.scale.x*this.getLocalBounds().width},set:function(t){var e=this.getLocalBounds().width;this.scale.x=0!==e?t/e:1,this._width=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.scale.y*this.getLocalBounds().height},set:function(t){var e=this.getLocalBounds().height;this.scale.y=0!==e?t/e:1,this._height=t},enumerable:!1,configurable:!0}),e}(Wd);Kd.prototype.containerUpdateTransform=Kd.prototype.updateTransform;Wd.mixin({accessible:!1,accessibleTitle:null,accessibleHint:null,tabIndex:0,_accessibleActive:!1,_accessibleDiv:null,accessibleType:"button",accessiblePointerEvents:"auto",accessibleChildren:!0,renderId:-1});var Jd,Qd=function(){function t(t){this.debug=!1,this._isActive=!1,this._isMobileAccessibility=!1,this.pool=[],this.renderId=0,this.children=[],this.androidUpdateCount=0,this.androidUpdateFrequency=500,this._hookDiv=null,(ff.tablet||ff.phone)&&this.createTouchHook();var e=document.createElement("div");
2e.style.width="100px",e.style.height="100px",e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.style.zIndex=2..toString(),this.div=e,this.renderer=t,this._onKeyDown=this._onKeyDown.bind(this),this._onMouseMove=this._onMouseMove.bind(this),self.addEventListener("keydown",this._onKeyDown,!1)}return Object.defineProperty(t.prototype,"isActive",{get:function(){return this._isActive},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMobileAccessibility",{get:function(){return this._isMobileAccessibility},enumerable:!1,configurable:!0}),t.prototype.createTouchHook=function(){var t=this,e=document.createElement("button");e.style.width="1px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.left="-1000px",e.style.zIndex=2..toString(),e.style.backgroundColor="#FF0000",e.title="select to enable accessibility for this content",e.addEventListener("focus",(function(){t._isMobileAccessibility=!0,t.activate(),t.destroyTouchHook()})),document.body.appendChild(e),this._hookDiv=e},t.prototype.destroyTouchHook=function(){this._hookDiv&&(document.body.removeChild(this._hookDiv),this._hookDiv=null)},t.prototype.activate=function(){var t;this._isActive||(this._isActive=!0,self.document.addEventListener("mousemove",this._onMouseMove,!0),self.removeEventListener("keydown",this._onKeyDown,!1),this.renderer.on("postrender",this.update,this),null===(t=this.renderer.view.parentNode)||void 0===t||t.appendChild(this.div))},t.prototype.deactivate=function(){var t;this._isActive&&!this._isMobileAccessibility&&(this._isActive=!1,self.document.removeEventListener("mousemove",this._onMouseMove,!0),self.addEventListener("keydown",this._onKeyDown,!1),this.renderer.off("postrender",this.update),null===(t=this.div.parentNode)||void 0===t||t.removeChild(this.div))},t.prototype.updateAccessibleObjects=function(t){if(t.visible&&t.accessibleChildren){t.accessible&&t.interactive&&(t._accessibleActive||this.addChild(t),t.renderId=this.renderId);for(var e=t.children,n=0;n<e.length;n++)this.updateAccessibleObjects(e[n])}},t.prototype.update=function(){var t=performance.now();if(!(ff.android.device&&t<this.androidUpdateCount)&&(this.androidUpdateCount=t+this.androidUpdateFrequency,this.renderer.renderingToScreen)){this.renderer._lastObjectRendered&&this.updateAccessibleObjects(this.renderer._lastObjectRendered);var e=this.renderer.view.getBoundingClientRect(),n=e.left,r=e.top,i=e.width,o=e.height,s=this.renderer,a=s.width,u=s.height,l=s.resolution,c=i/a*l,h=o/u*l,f=this.div;f.style.left=n+"px",f.style.top=r+"px",f.style.width=a+"px",f.style.height=u+"px";for(var d=0;d<this.children.length;d++){var p=this.children[d];if(p.renderId!==this.renderId)p._accessibleActive=!1,sd(this.children,d,1),this.div.removeChild(p._accessibleDiv),this.pool.push(p._accessibleDiv),p._accessibleDiv=null,d--;else{f=p._accessibleDiv;var v=p.hitArea,m=p.worldTransform;p.hitArea?(f.style.left=(m.tx+v.x*m.a)*c+"px",f.style.top=(m.ty+v.
2y*m.d)*h+"px",f.style.width=v.width*m.a*c+"px",f.style.height=v.height*m.d*h+"px"):(v=p.getBounds(),this.capHitArea(v),f.style.left=v.x*c+"px",f.style.top=v.y*h+"px",f.style.width=v.width*c+"px",f.style.height=v.height*h+"px",f.title!==p.accessibleTitle&&null!==p.accessibleTitle&&(f.title=p.accessibleTitle),f.getAttribute("aria-label")!==p.accessibleHint&&null!==p.accessibleHint&&f.setAttribute("aria-label",p.accessibleHint)),p.accessibleTitle===f.title&&p.tabIndex===f.tabIndex||(f.title=p.accessibleTitle,f.tabIndex=p.tabIndex,this.debug&&this.updateDebugHTML(f))}}this.renderId++}},t.prototype.updateDebugHTML=function(t){t.innerHTML="type: "+t.type+"</br> title : "+t.title+"</br> tabIndex: "+t.tabIndex},t.prototype.capHitArea=function(t){t.x<0&&(t.width+=t.x,t.x=0),t.y<0&&(t.height+=t.y,t.y=0);var e=this.renderer,n=e.width,r=e.height;t.x+t.width>n&&(t.width=n-t.x),t.y+t.height>r&&(t.height=r-t.y)},t.prototype.addChild=function(t){var e=this.pool.pop();e||((e=document.createElement("button")).style.width="100px",e.style.height="100px",e.style.backgroundColor=this.debug?"rgba(255,255,255,0.5)":"transparent",e.style.position="absolute",e.style.zIndex=2..toString(),e.style.borderStyle="none",navigator.userAgent.toLowerCase().indexOf("chrome")>-1?e.setAttribute("aria-live","off"):e.setAttribute("aria-live","polite"),navigator.userAgent.match(/rv:.*Gecko\//)?e.setAttribute("aria-relevant","additions"):e.setAttribute("aria-relevant","text"),e.addEventListener("click",this._onClick.bind(this)),e.addEventListener("focus",this._onFocus.bind(this)),e.addEventListener("focusout",this._onFocusOut.bind(this))),e.style.pointerEvents=t.accessiblePointerEvents,e.type=t.accessibleType,t.accessibleTitle&&null!==t.accessibleTitle?e.title=t.accessibleTitle:t.accessibleHint&&null!==t.accessibleHint||(e.title="displayObject "+t.tabIndex),t.accessibleHint&&null!==t.accessibleHint&&e.setAttribute("aria-label",t.accessibleHint),this.debug&&this.updateDebugHTML(e),t._accessibleActive=!0,t._accessibleDiv=e,e.displayObject=t,this.children.push(t),this.div.appendChild(t._accessibleDiv),t._accessibleDiv.tabIndex=t.tabIndex},t.prototype._onClick=function(t){var e=this.renderer.plugins.interaction,n=t.target.displayObject,r=e.eventData;e.dispatchEvent(n,"click",r),e.dispatchEvent(n,"pointertap",r),e.dispatchEvent(n,"tap",r)},t.prototype._onFocus=function(t){t.target.getAttribute("aria-live")||t.target.setAttribute("aria-live","assertive");var e=this.renderer.plugins.interaction,n=t.target.displayObject,r=e.eventData;e.dispatchEvent(n,"mouseover",r)},t.prototype._onFocusOut=function(t){t.target.getAttribute("aria-live")||t.target.setAttribute("aria-live","polite");var e=this.renderer.plugins.interaction,n=t.target.displayObject,r=e.eventData;e.dispatchEvent(n,"mouseout",r)},t.prototype._onKeyDown=function(t){9===t.keyCode&&this.activate()},t.prototype._onMouseMove=function(t){0===t.movementX&&0===t.movementY||this.deactivate()},t.prototype.destroy=function(){this.destroyTouchHook(),this.div=null,self.document.removeEventListener("mousemove",this._onMouseMove,!0),self.removeEventListener("keydown",this._onKeyDown),this.pool=null,this.children=null,this.renderer=null},t}();If.TARGET_FPMS=.06,function(t){t[t.INTERACTION=50]="INTERACTION",t[t.HIGH=25]="HIGH",t[t.NORMAL=0]="NORMAL",t[t.LOW=-25]="LOW",t[t.UTILITY=-50]="UTILITY"}(Jd||(Jd={}));var tp=function(){function t(t,e,n,r){void 0===e&&(e=null),void 0===n&&(n=0),void 0===r&&(r=!1),this.next=null,this.previous=null,this._destroyed=!1,this.fn=t,this.context=e,this.priority=n,this.once=r}return t.prototype.match=function(t,e){return void 0===e&&(e=null),this.fn===t&&this.context===e},t.prototype.emit=function(t){this.fn&&(this.context?this.fn.call(this.context,t):this.fn(t));var e=this.next;return this.once&&this.destroy(!0),this._destroyed&&(this.next=null),e},t.prototype.connect=function(t){this.previous=t,t.next&&(t.next.previous=this),this.next=t.next,t.next=this},t.prototype.destroy=function(t){void 0===t&&(t=!1),this._destroyed=!0,this.fn=null,this.context=null,this.previous&&(this.previous.next=this.next),this.next&&(this.next.previous=this.previous);var e=this.next;return this.next=t?null:e,this.previous=null,e},t}(),ep=function(){function t(){var t=this;this.autoStart=!1,this.deltaTime=1,this.lastTime=-1,this.speed=1,this.started=!1,this._requestId=null,this._maxElapsedMS=100,this._minElapsedMS=0,this._protected=!1,this._lastFrame=-1,this._head=new tp(null,null,1/0),this.deltaMS=1/If.TARGET_FPMS,this.elapsedMS=1/If.TARGET_FPMS,this._tick=function(e){t._requestId=null,t.started&&(t.update(e),t.started&&null===t._requestId&&t._head.next&&(t._requestId=requestAnimationFrame(t._tick)))}}return t.prototype._requestIfNeeded=function(){null===this._requestId&&this._head.next&&(this.lastTime=performance.now(),this._lastFrame=this.lastTime,this._requestId=requestAnimationFrame(this._tick))},t.prototype._cancelIfNeeded=function(){null!==this._requestId&&(cancelAnimationFrame(this._requestId),this._requestId=null)},t.prototype._startIfPossible=function(){this.started?this._requestIfNeeded():this.autoStart&&this.start()},t.prototype.add=function(t,e,n){return void 0===n&&(n=Jd.NORMAL),this._addListener(new tp(t,e,n))},t.prototype.addOnce=function(t,e,n){return void 0===n&&(n=Jd.NORMAL),this._addListener(new tp(t,e,n,!0))},t.prototype._addListener=function(t){var e=this._head.next,n=this._head;if(e){for(;e;){if(t.priority>e.priority){t.connect(n);break}n=e,e=e.next}t.previous||t.connect(n)}else t.connect(n);return this._startIfPossible(),this},t.prototype.remove=function(t,e){for(var n=this._head.next;n;)n=n.match(t,e)?n.destroy():n.next;return this._head.next||this._cancelIfNeeded(),this},Object.defineProperty(t.prototype,"count",{get:function(){if(!this._head)return 0;for(var t=0,e=this._head;e=e.next;)t++;return t}
2,enumerable:!1,configurable:!0}),t.prototype.start=function(){this.started||(this.started=!0,this._requestIfNeeded())},t.prototype.stop=function(){this.started&&(this.started=!1,this._cancelIfNeeded())},t.prototype.destroy=function(){if(!this._protected){this.stop();for(var t=this._head.next;t;)t=t.destroy(!0);this._head.destroy(),this._head=null}},t.prototype.update=function(t){var e;if(void 0===t&&(t=performance.now()),t>this.lastTime){if((e=this.elapsedMS=t-this.lastTime)>this._maxElapsedMS&&(e=this._maxElapsedMS),e*=this.speed,this._minElapsedMS){var n=t-this._lastFrame|0;if(n<this._minElapsedMS)return;this._lastFrame=t-n%this._minElapsedMS}this.deltaMS=e,this.deltaTime=this.deltaMS*If.TARGET_FPMS;for(var r=this._head,i=r.next;i;)i=i.emit(this.deltaTime);r.next||this._cancelIfNeeded()}else this.deltaTime=this.deltaMS=this.elapsedMS=0;this.lastTime=t},Object.defineProperty(t.prototype,"FPS",{get:function(){return 1e3/this.elapsedMS},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minFPS",{get:function(){return 1e3/this._maxElapsedMS},set:function(t){var e=Math.min(this.maxFPS,t),n=Math.min(Math.max(0,e)/1e3,If.TARGET_FPMS);this._maxElapsedMS=1/n},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxFPS",{get:function(){return this._minElapsedMS?Math.round(1e3/this._minElapsedMS):0},set:function(t){if(0===t)this._minElapsedMS=0;else{var e=Math.max(this.minFPS,t);this._minElapsedMS=1/(e/1e3)}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"shared",{get:function(){if(!t._shared){var e=t._shared=new t;e.autoStart=!0,e._protected=!0}return t._shared},enumerable:!1,configurable:!0}),Object.defineProperty(t,"system",{get:function(){if(!t._system){var e=t._system=new t;e.autoStart=!0,e._protected=!0}return t._system},enumerable:!1,configurable:!0}),t}(),np=function(){function t(){}return t.init=function(t){var e=this;t=Object.assign({autoStart:!0,sharedTicker:!1},t),Object.defineProperty(this,"ticker",{set:function(t){this._ticker&&this._ticker.remove(this.render,this),this._ticker=t,t&&t.add(this.render,this,Jd.LOW)},get:function(){return this._ticker}}),this.stop=function(){e._ticker.stop()},this.start=function(){e._ticker.start()},this._ticker=null,this.ticker=t.sharedTicker?ep.shared:new ep,t.autoStart&&this.start()},t.destroy=function(){if(this._ticker){var t=this._ticker;this.ticker=null,t.destroy()}},t}(),rp=function(){function t(){this.pressure=0,this.rotationAngle=0,this.twist=0,this.tangentialPressure=0,this.global=new Dd,this.target=null,this.originalEvent=null,this.identifier=null,this.isPrimary=!1,this.button=0,this.buttons=0,this.width=0,this.height=0,this.tiltX=0,this.tiltY=0,this.pointerType=null,this.pressure=0,this.rotationAngle=0,this.twist=0,this.tangentialPressure=0}return Object.defineProperty(t.prototype,"pointerId",{get:function(){return this.identifier},enumerable:!1,configurable:!0}),t.prototype.getLocalPosition=function(t,e,n){return t.worldTransform.applyInverse(n||this.global,e)},t.prototype.copyEvent=function(t){"isPrimary"in t&&t.isPrimary&&(this.isPrimary=!0),this.button="button"in t&&t.button;var e="buttons"in t&&t.buttons;this.buttons=Number.isInteger(e)?e:"which"in t&&t.which,this.width="width"in t&&t.width,this.height="height"in t&&t.height,this.tiltX="tiltX"in t&&t.tiltX,this.tiltY="tiltY"in t&&t.tiltY,this.pointerType="pointerType"in t&&t.pointerType,this.pressure="pressure"in t&&t.pressure,this.rotationAngle="rotationAngle"in t&&t.rotationAngle,this.twist="twist"in t&&t.twist||0,this.tangentialPressure="tangentialPressure"in t&&t.tangentialPressure||0},t.prototype.reset=function(){this.isPrimary=!1},t}(),ip=function(t,e){return(ip=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};var op=function(){function t(){this.stopped=!1,this.stopsPropagatingAt=null,this.stopPropagationHint=!1,this.target=null,this.currentTarget=null,this.type=null,this.data=null}return t.prototype.stopPropagation=function(){this.stopped=!0,this.stopPropagationHint=!0,this.stopsPropagatingAt=this.currentTarget},t.prototype.reset=function(){this.stopped=!1,this.stopsPropagatingAt=null,this.stopPropagationHint=!1,this.currentTarget=null,this.target=null},t}(),sp=function(){function t(e){this._pointerId=e,this._flags=t.FLAGS.NONE}return t.prototype._doSet=function(t,e){this._flags=e?this._flags|t:this._flags&~t},Object.defineProperty(t.prototype,"pointerId",{get:function(){return this._pointerId}
2,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"flags",{get:function(){return this._flags},set:function(t){this._flags=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"none",{get:function(){return this._flags===t.FLAGS.NONE},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"over",{get:function(){return 0!=(this._flags&t.FLAGS.OVER)},set:function(e){this._doSet(t.FLAGS.OVER,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rightDown",{get:function(){return 0!=(this._flags&t.FLAGS.RIGHT_DOWN)},set:function(e){this._doSet(t.FLAGS.RIGHT_DOWN,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"leftDown",{get:function(){return 0!=(this._flags&t.FLAGS.LEFT_DOWN)},set:function(e){this._doSet(t.FLAGS.LEFT_DOWN,e)},enumerable:!1,configurable:!0}),t.FLAGS=Object.freeze({NONE:0,OVER:1,LEFT_DOWN:2,RIGHT_DOWN:4}),t}(),ap=function(){function t(){this._tempPoint=new Dd}return t.prototype.recursiveFindHit=function(t,e,n,r,i){if(!e||!e.visible)return!1;var o=t.data.global,s=!1,a=i=e.interactive||i,u=!0;if(e.hitArea?(r&&(e.worldTransform.applyInverse(o,this._tempPoint),e.hitArea.contains(this._tempPoint.x,this._tempPoint.y)?s=!0:(r=!1,u=!1)),a=!1):e._mask&&r&&(e._mask.containsPoint&&e._mask.containsPoint(o)||(r=!1)),u&&e.interactiveChildren&&e.children)for(var l=e.children,c=l.length-1;c>=0;c--){var h=l[c],f=this.recursiveFindHit(t,h,n,r,a);if(f){if(!h.parent)continue;a=!1,f&&(t.target&&(r=!1),s=!0)}}return i&&(r&&!t.target&&!e.hitArea&&e.containsPoint&&e.containsPoint(o)&&(s=!0),e.interactive&&(s&&!t.target&&(t.target=e),n&&n(t,e,!!s))),s},t.prototype.findHit=function(t,e,n,r){this.recursiveFindHit(t,e,n,r,!1)},t}(),up={interactive:!1,interactiveChildren:!0,hitArea:null,get buttonMode(){return"pointer"===this.cursor},set buttonMode(t){t?this.cursor="pointer":"pointer"===this.cursor&&(this.cursor=null)},cursor:null,get trackedPointers(){return void 0===this._trackedPointers&&(this._trackedPointers={}),this._trackedPointers},_trackedPointers:void 0};Wd.mixin(up);var lp={target:null,data:{global:null}},cp=function(t){function e(e,n){var r=t.call(this)||this;return n=n||{},r.renderer=e,r.autoPreventDefault=void 0===n.autoPreventDefault||n.autoPreventDefault,r.interactionFrequency=n.interactionFrequency||10,r.mouse=new rp,r.mouse.identifier=1,r.mouse.global.set(-999999),r.activeInteractionData={},r.activeInteractionData[1]=r.mouse,r.interactionDataPool=[],r.eventData=new op,r.interactionDOMElement=null,r.moveWhenInside=!1,r.eventsAdded=!1,r.tickerAdded=!1,r.mouseOverRenderer=!("PointerEvent"in self),r.supportsTouchEvents="ontouchstart"in self,r.supportsPointerEvents=!!self.PointerEvent,r.onPointerUp=r.onPointerUp.bind(r),r.processPointerUp=r.processPointerUp.bind(r),r.onPointerCancel=r.onPointerCancel.bind(r),r.processPointerCancel=r.processPointerCancel.bind(r),r.onPointerDown=r.onPointerDown.bind(r),r.processPointerDown=r.processPointerDown.bind(r),r.onPointerMove=r.onPointerMove.bind(r),r.processPointerMove=r.processPointerMove.bind(r),r.onPointerOut=r.onPointerOut.bind(r),r.processPointerOverOut=r.processPointerOverOut.bind(r),r.onPointerOver=r.onPointerOver.bind(r),r.cursorStyles={default:"inherit",pointer:"pointer"},r.currentCursorMode=null,r.cursor=null,r.resolution=1,r.delayedEvents=[],r.search=new ap,r._tempDisplayObject=new qd,r._useSystemTicker=void 0===n.useSystemTicker||n.useSystemTicker,r.setTargetElement(r.renderer.view,r.renderer.resolution),r}return function(t,e){function n(){this.constructor=t}ip(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),Object.defineProperty(e.prototype,"useSystemTicker",{get:function(){return this._useSystemTicker},set:function(t){this._useSystemTicker=t,t?this.addTickerListener():this.removeTickerListener()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastObjectRendered",{get:function(){return this.renderer._lastObjectRendered||this._tempDisplayObject},enumerable:!1,configurable:!0}),e.prototype.hitTest=function(t,e){return lp.target=null,lp.data.global=t,e||(e=this.lastObjectRendered),this.processInteractive(lp,e,null,!0),lp.target},e.prototype.setTargetElement=function(t,e){void 0===e&&(e=1),this.removeTickerListener(),this.removeEvents(),this.interactionDOMElement=t,this.resolution=e,this.addEvents(),this.addTickerListener()},e.prototype.addTickerListener=function(){!this.tickerAdded&&this.interactionDOMElement&&this._useSystemTicker&&(ep.system.add(this.tickerUpdate,this,Jd.INTERACTION),this.tickerAdded=!0)},e.prototype.removeTickerListener=function(){this.tickerAdded&&(ep.system.remove(this.tickerUpdate,this),this.tickerAdded=!1)},e.prototype.addEvents=function(){if(!this.eventsAdded&&this.interactionDOMElement){var t=this.interactionDOMElement.style;self.navigator.msPointerEnabled?(t.msContentZooming="none",t.msTouchAction="none"):this.supportsPointerEvents&&(t.touchAction="none"),this.supportsPointerEvents?(self.document.addEventListener("pointermove",this.onPointerMove,!0),this.interactionDOMElement.addEventListener("pointerdown",this.onPointerDown,!0),this.interactionDOMElement.addEventListener("pointerleave",this.onPointerOut,!0),this.interactionDOMElement.addEventListener("pointerover",this.onPointerOver,!0),self.addEventListener("pointercancel",this.onPointerCancel,!0),self.addEventListener("pointerup",this.onPointerUp,!0)):(self.document.addEventListener("mousemove",this.onPointerMove,!0),this.interactionDOMElement.addEventListener("mousedown",this.onPointerDown,!0),this.interactionDOMElement.addEventListener("mouseout",this.onPointerOut,!0),this.interactionDOMElement.addEventListener("mouseover",this.onPointerOver,!0),self.addEventListener("mouseup",this.onPointerUp,!0)),this.supportsTouchEvents&&(this.interactionDOMElement.addEventListener("touchstart",this.onPointerDown,!0),this.interactionDOMElement.addEventListener("touchcancel",this.onPointerCancel,!0),this.interactionDOMElement.addEventListener("touchend",this.onPointerUp,!0),this.interactionDOMElement.addEventListener("touchmove",this.onPointerMove,!0)),this.eventsAdded=!0}},e.prototype.removeEvents=function(){if(this.eventsAdded&&this.interactionDOMElement){var t=this.interactionDOMElement.style;self.navigator.msPointerEnabled?(t.msContentZooming="",t.msTouchAction=""):this.supportsPointerEvents&&(t.touchAction=""),this.supportsPointerEvents?(self.document.removeEventListener("pointermove",this.onPointerMove,!0),this.interactionDOMElement.removeEventListener("pointerdown",this.onPointerDown,!0),this.interactionDOMElement.removeEventListener("pointerleave",this.onPointerOut,!0),this.interactionDOMElement.removeEventListener("pointerover",this.onPointerOver,!0),self.removeEventListener("pointercancel",this.onPointerCancel,!0),self.removeEventListener("pointerup",this.onPointerUp,!0)):(self.document.removeEventListener("mousemove",this.onPointerMove,!0),this.interactionDOMElement.removeEventListener("mousedown",this.onPointerDown,!0),this.interactionDOMElement.removeEventListener("mouseout",this.onPointerOut,!0),this.interactionDOMElement.removeEventListener("mouseover",this.onPointerOver,!0),self.removeEventListener("mouseup",this.onPointerUp,!0)),this.supportsTouchEvents&&(this.interactionDOMElement.removeEventListener("touchstart",this.onPointerDown,!0),this.interactionDOMElement.removeEventListener("touchcancel",this.onPointerCancel,!0),this.interactionDOMElement.removeEventListener("touchend",this.onPointerUp,!0),this.interactionDOMElement.removeEventListener("touchmove",this.onPointerMove,!0)),this.interactionDOMElement=null,this.eventsAdded=!1}}
2,e.prototype.tickerUpdate=function(t){this._deltaTime+=t,this._deltaTime<this.interactionFrequency||(this._deltaTime=0,this.update())},e.prototype.update=function(){if(this.interactionDOMElement)if(this._didMove)this._didMove=!1;else{for(var t in this.cursor=null,this.activeInteractionData)if(this.activeInteractionData.hasOwnProperty(t)){var e=this.activeInteractionData[t];if(e.originalEvent&&"touch"!==e.pointerType){var n=this.configureInteractionEventForDOMEvent(this.eventData,e.originalEvent,e);this.processInteractive(n,this.lastObjectRendered,this.processPointerOverOut,!0)}}this.setCursorMode(this.cursor)}},e.prototype.setCursorMode=function(t){t=t||"default";var e=!0;if(self.OffscreenCanvas&&this.interactionDOMElement instanceof OffscreenCanvas&&(e=!1),this.currentCursorMode!==t){this.currentCursorMode=t;var n=this.cursorStyles[t];if(n)switch(typeof n){case"string":e&&(this.interactionDOMElement.style.cursor=n);break;case"function":n(t);break;case"object":e&&Object.assign(this.interactionDOMElement.style,n)}else e&&"string"==typeof t&&!Object.prototype.hasOwnProperty.call(this.cursorStyles,t)&&(this.interactionDOMElement.style.cursor=t)}},e.prototype.dispatchEvent=function(t,e,n){n.stopPropagationHint&&t!==n.stopsPropagatingAt||(n.currentTarget=t,n.type=e,t.emit(e,n),t[e]&&t[e](n))},e.prototype.delayDispatchEvent=function(t,e,n){this.delayedEvents.push({displayObject:t,eventString:e,eventData:n})},e.prototype.mapPositionToPoint=function(t,e,n){var r;r=this.interactionDOMElement.parentElement?this.interactionDOMElement.getBoundingClientRect():{x:0,y:0,width:this.interactionDOMElement.width,height:this.interactionDOMElement.height,left:0,top:0};var i=1/this.resolution;t.x=(e-r.left)*(this.interactionDOMElement.width/r.width)*i,t.y=(n-r.top)*(this.interactionDOMElement.height/r.height)*i},e.prototype.processInteractive=function(t,e,n,r){var i=this.search.findHit(t,e,n,r),o=this.delayedEvents;if(!o.length)return i;t.stopPropagationHint=!1;var s=o.length;this.delayedEvents=[];for(var a=0;a<s;a++){var u=o[a],l=u.displayObject,c=u.eventString,h=u.eventData;h.stopsPropagatingAt===l&&(h.stopPropagationHint=!0),this.dispatchEvent(l,c,h)}return i},e.prototype.onPointerDown=function(t){if(!this.supportsTouchEvents||"touch"!==t.pointerType){var e=this.normalizeToPointerData(t);
2if(this.autoPreventDefault&&e[0].isNormalized)(t.cancelable||!("cancelable"in t))&&t.preventDefault();for(var n=e.length,r=0;r<n;r++){var i=e[r],o=this.getInteractionDataForPointerId(i),s=this.configureInteractionEventForDOMEvent(this.eventData,i,o);if(s.data.originalEvent=t,this.processInteractive(s,this.lastObjectRendered,this.processPointerDown,!0),this.emit("pointerdown",s),"touch"===i.pointerType)this.emit("touchstart",s);else if("mouse"===i.pointerType||"pen"===i.pointerType){var a=2===i.button;this.emit(a?"rightdown":"mousedown",this.eventData)}}}},e.prototype.processPointerDown=function(t,e,n){var r=t.data,i=t.data.identifier;if(n)if(e.trackedPointers[i]||(e.trackedPointers[i]=new sp(i)),this.dispatchEvent(e,"pointerdown",t),"touch"===r.pointerType)this.dispatchEvent(e,"touchstart",t);else if("mouse"===r.pointerType||"pen"===r.pointerType){var o=2===r.button;o?e.trackedPointers[i].rightDown=!0:e.trackedPointers[i].leftDown=!0,this.dispatchEvent(e,o?"rightdown":"mousedown",t)}},e.prototype.onPointerComplete=function(t,e,n){for(var r=this.normalizeToPointerData(t),i=r.length,o=t.target!==this.interactionDOMElement?"outside":"",s=0;s<i;s++){var a=r[s],u=this.getInteractionDataForPointerId(a),l=this.configureInteractionEventForDOMEvent(this.eventData,a,u);if(l.data.originalEvent=t,this.processInteractive(l,this.lastObjectRendered,n,e||!o),this.emit(e?"pointercancel":"pointerup"+o,l),"mouse"===a.pointerType||"pen"===a.pointerType){var c=2===a.button;this.emit(c?"rightup"+o:"mouseup"+o,l)}
2else"touch"===a.pointerType&&(this.emit(e?"touchcancel":"touchend"+o,l),this.releaseInteractionDataForPointerId(a.pointerId))}},e.prototype.onPointerCancel=function(t){this.supportsTouchEvents&&"touch"===t.pointerType||this.onPointerComplete(t,!0,this.processPointerCancel)},e.prototype.processPointerCancel=function(t,e){var n=t.data,r=t.data.identifier;void 0!==e.trackedPointers[r]&&(delete e.trackedPointers[r],this.dispatchEvent(e,"pointercancel",t),"touch"===n.pointerType&&this.dispatchEvent(e,"touchcancel",t))},e.prototype.onPointerUp=function(t){this.supportsTouchEvents&&"touch"===t.pointerType||this.onPointerComplete(t,!1,this.processPointerUp)},e.prototype.processPointerUp=function(t,e,n){var r=t.data,i=t.data.identifier,o=e.trackedPointers[i],s="touch"===r.pointerType,a="mouse"===r.pointerType||"pen"===r.pointerType,u=!1;if(a){var l=2===r.button,c=sp.FLAGS,h=l?c.RIGHT_DOWN:c.LEFT_DOWN,f=void 0!==o&&o.flags&h;n?(this.dispatchEvent(e,l?"rightup":"mouseup",t),f&&(this.dispatchEvent(e,l?"rightclick":"click",t),u=!0)):f&&this.dispatchEvent(e,l?"rightupoutside":"mouseupoutside",t),o&&(l?o.rightDown=!1:o.leftDown=!1)}n?(this.dispatchEvent(e,"pointerup",t),s&&this.dispatchEvent(e,"touchend",t),o&&(a&&!u||this.dispatchEvent(e,"pointertap",t),s&&(this.dispatchEvent(e,"tap",t),o.over=!1))):o&&(this.dispatchEvent(e,"pointerupoutside",t),s&&this.dispatchEvent(e,"touchendoutside",t)),o&&o.none&&delete e.trackedPointers[i]},e.prototype.onPointerMove=function(t){if(!this.supportsTouchEvents||"touch"!==t.pointerType){var e=this.normalizeToPointerData(t);"mouse"!==e[0].pointerType&&"pen"!==e[0].pointerType||(this._didMove=!0,this.cursor=null);for(var n=e.length,r=0;r<n;r++){var i=e[r],o=this.getInteractionDataForPointerId(i),s=this.configureInteractionEventForDOMEvent(this.eventData,i,o);s.data.originalEvent=t,this.processInteractive(s,this.lastObjectRendered,this.processPointerMove,!0),this.emit("pointermove",s),"touch"===i.pointerType&&this.emit("touchmove",s),"mouse"!==i.pointerType&&"pen"!==i.pointerType||this.emit("mousemove",s)}"mouse"===e[0].pointerType&&this.setCursorMode(this.cursor)}},e.prototype.processPointerMove=function(t,e,n){var r=t.data,i="touch"===r.pointerType,o="mouse"===r.pointerType||"pen"===r.pointerType;o&&this.processPointerOverOut(t,e,n),this.moveWhenInside&&!n||(this.dispatchEvent(e,"pointermove",t),i&&this.dispatchEvent(e,"touchmove",t),o&&this.dispatchEvent(e,"mousemove",t))},e.prototype.onPointerOut=function(t){if(!this.supportsTouchEvents||"touch"!==t.pointerType){var e=this.normalizeToPointerData(t)[0];"mouse"===e.pointerType&&(this.mouseOverRenderer=!1,this.setCursorMode(null));var n=this.getInteractionDataForPointerId(e),r=this.configureInteractionEventForDOMEvent(this.eventData,e,n);r.data.originalEvent=e,this.processInteractive(r,this.lastObjectRendered,this.processPointerOverOut,!1),this.emit("pointerout",r),"mouse"===e.pointerType||"pen"===e.pointerType?this.emit("mouseout",r):this.releaseInteractionDataForPointerId(n.identifier)}},e.prototype.processPointerOverOut=function(t,e,n){var r=t.data,i=t.data.identifier,o="mouse"===r.pointerType||"pen"===r.pointerType,s=e.trackedPointers[i];n&&!s&&(s=e.trackedPointers[i]=new sp(i)),void 0!==s&&(n&&this.mouseOverRenderer?(s.over||(s.over=!0,this.delayDispatchEvent(e,"pointerover",t),o&&this.delayDispatchEvent(e,"mouseover",t)),o&&null===this.cursor&&(this.cursor=e.cursor)):s.over&&(s.over=!1,this.dispatchEvent(e,"pointerout",this.eventData),o&&this.dispatchEvent(e,"mouseout",t),s.none&&delete e.trackedPointers[i]))},e.prototype.onPointerOver=function(t){var e=this.normalizeToPointerData(t)[0],n=this.getInteractionDataForPointerId(e),r=this.configureInteractionEventForDOMEvent(this.eventData,e,n);r.data.originalEvent=e,"mouse"===e.pointerType&&(this.mouseOverRenderer=!0),this.emit("pointerover",r),"mouse"!==e.pointerType&&"pen"!==e.pointerType||this.emit("mouseover",r)},e.prototype.getInteractionDataForPointerId=function(t){var e,n=t.pointerId;return 1===n||"mouse"===t.pointerType?e=this.mouse:this.activeInteractionData[n]?e=this.activeInteractionData[n]:((e=this.interactionDataPool.pop()||new rp).identifier=n,this.activeInteractionData[n]=e),e.copyEvent(t),e},e.prototype.releaseInteractionDataForPointerId=function(t){var e=this.activeInteractionData[t];e&&(delete this.activeInteractionData[t],e.reset(),this.interactionDataPool.push(e))},e.prototype.configureInteractionEventForDOMEvent=function(t,e,n){return t.data=n,this.mapPositionToPoint(n.global,e.clientX,e.clientY),"touch"===e.pointerType&&(e.globalX=n.global.x,e.globalY=n.global.y),n.originalEvent=e,t.reset(),t},e.prototype.normalizeToPointerData=function(t){var e=[];
2if(this.supportsTouchEvents&&t instanceof TouchEvent)for(var n=0,r=t.changedTouches.length;n<r;n++){var i=t.changedTouches[n];void 0===i.button&&(i.button=t.touches.length?1:0),void 0===i.buttons&&(i.buttons=t.touches.length?1:0),void 0===i.isPrimary&&(i.isPrimary=1===t.touches.length&&"touchstart"===t.type),void 0===i.width&&(i.width=i.radiusX||1),void 0===i.height&&(i.height=i.radiusY||1),void 0===i.tiltX&&(i.tiltX=0),void 0===i.tiltY&&(i.tiltY=0),void 0===i.pointerType&&(i.pointerType="touch"),void 0===i.pointerId&&(i.pointerId=i.identifier||0),void 0===i.pressure&&(i.pressure=i.force||.5),void 0===i.twist&&(i.twist=0),void 0===i.tangentialPressure&&(i.tangentialPressure=0),void 0===i.layerX&&(i.layerX=i.offsetX=i.clientX),void 0===i.layerY&&(i.layerY=i.offsetY=i.clientY),i.isNormalized=!0,e.push(i)}else if(self.MouseEvent&&(!(t instanceof MouseEvent)||this.supportsPointerEvents&&t instanceof self.PointerEvent))e.push(t);else{var o=t;void 0===o.isPrimary&&(o.isPrimary=!0),void 0===o.width&&(o.width=1),void 0===o.height&&(o.height=1),void 0===o.tiltX&&(o.tiltX=0),void 0===o.tiltY&&(o.tiltY=0),void 0===o.pointerType&&(o.pointerType="mouse"),void 0===o.pointerId&&(o.pointerId=1),void 0===o.pressure&&(o.pressure=.5),void 0===o.twist&&(o.twist=0),void 0===o.tangentialPressure&&(o.tangentialPressure=0),o.isNormalized=!0,e.push(o)}return e},e.prototype.destroy=function(){this.removeEvents(),this.removeTickerListener(),this.removeAllListeners(),this.renderer=null,this.mouse=null,this.eventData=null,this.interactionDOMElement=null,this.onPointerDown=null,this.processPointerDown=null,this.onPointerUp=null,this.processPointerUp=null,this.onPointerCancel=null,this.processPointerCancel=null,this.onPointerMove=null,this.processPointerMove=null,this.onPointerOut=null,this.processPointerOverOut=null,this.onPointerOver=null,this.search=null},e}(Df()),hp=function(){function t(t){this.items=[],this._name=t,this._aliasCount=0}return t.prototype.emit=function(t,e,n,r,i,o,s,a){if(arguments.length>8)throw new Error("max arguments reached");var u=this,l=u.name,c=u.items;this._aliasCount++;for(var h=0,f=c.length;h<f;h++)c[h][l](t,e,n,r,i,o,s,a);return c===this.items&&this._aliasCount--,this},t.prototype.ensureNonAliasedItems=function(){this._aliasCount>0&&this.items.length>1&&(this._aliasCount=0,this.items=this.items.slice(0))},t.prototype.add=function(t){return t[this._name]&&(this.ensureNonAliasedItems(),this.remove(t),this.items.push(t)),this},t.prototype.remove=function(t){var e=this.items.indexOf(t);return-1!==e&&(this.ensureNonAliasedItems(),this.items.splice(e,1)),this},t.prototype.contains=function(t){return-1!==this.items.indexOf(t)},t.prototype.removeAll=function(){return this.ensureNonAliasedItems(),this.items.length=0,this},t.prototype.destroy=function(){this.removeAll(),this.items=null,this._name=null},Object.defineProperty(t.prototype,"empty",{get:function(){return 0===this.items.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),t}();Object.defineProperties(hp.prototype,{dispatch:{value:hp.prototype.emit},run:{value:hp.prototype.emit}}),If.PREFER_ENV=ff.any?df.WEBGL:df.WEBGL2,If.STRICT_TEXTURE_CACHE=!1;var fp=[];function dp(t,e){if(!t)return null;var n="";if("string"==typeof t){var r=/\.(\w{3,4})(?:$|\?|#)/i.exec(t);r&&(n=r[1].toLowerCase())}for(var i=fp.length-1;i>=0;--i){var o=fp[i];if(o.test&&o.test(t,n))return new o(t,e)}throw new Error("Unrecognized source type to auto-detect Resource")}var pp=function(t,e){return(pp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function vp(t,e){function n(){this.constructor=t}pp(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var mp=function(){function t(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this._width=t,this._height=e,this.destroyed=!1,this.internal=!1,this.onResize=new hp("setRealSize"),this.onUpdate=new hp("update"),this.onError=new hp("onError")}return t.prototype.bind=function(t){this.onResize.add(t),this.onUpdate.add(t),this.onError.add(t),(this._width||this._height)&&this.onResize.emit(this._width,this._height)},t.prototype.unbind=function(t){this.onResize.remove(t),this.onUpdate.remove(t),this.onError.remove(t)},t.prototype.resize=function(t,e){t===this._width&&e===this._height||(this._width=t,this._height=e,this.onResize.emit(t,e))},Object.defineProperty(t.prototype,"valid",{get:function(){return!!this._width&&!!this._height}
2,enumerable:!1,configurable:!0}),t.prototype.update=function(){this.destroyed||this.onUpdate.emit()},t.prototype.load=function(){return Promise.resolve(this)},Object.defineProperty(t.prototype,"width",{get:function(){return this._width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this._height},enumerable:!1,configurable:!0}),t.prototype.style=function(t,e,n){return!1},t.prototype.dispose=function(){},t.prototype.destroy=function(){this.destroyed||(this.destroyed=!0,this.dispose(),this.onError.removeAll(),this.onError=null,this.onResize.removeAll(),this.onResize=null,this.onUpdate.removeAll(),this.onUpdate=null)},t.test=function(t,e){return!1},t}(),gp=function(t){function e(e,n){var r=this,i=n||{},o=i.width,s=i.height;if(!o||!s)throw new Error("BufferResource width or height invalid");return(r=t.call(this,o,s)||this).data=e,r}return vp(e,t),e.prototype.upload=function(t,e,n){var r=t.gl;r.pixelStorei(r.UNPACK_PREMULTIPLY_ALPHA_WEBGL,e.alphaMode===Sf.UNPACK);var i=e.realWidth,o=e.realHeight;return n.width===i&&n.height===o?r.texSubImage2D(e.target,0,0,0,i,o,e.format,e.type,this.data):(n.width=i,n.height=o,r.texImage2D(e.target,0,n.internalFormat,i,o,0,e.format,n.type,this.data)),!0},e.prototype.dispose=function(){this.data=null},e.test=function(t){return t instanceof Float32Array||t instanceof Uint8Array||t instanceof Uint32Array},e}(mp),yp={scaleMode:Tf.NEAREST,format:yf.RGBA,alphaMode:Sf.NPM},_p=function(t){function e(e,n){void 0===e&&(e=null),void 0===n&&(n=null);var r=t.call(this)||this,i=(n=n||{}).alphaMode,o=n.mipmap,s=n.anisotropicLevel,a=n.scaleMode,u=n.width,l=n.height,c=n.wrapMode,h=n.format,f=n.type,d=n.target,p=n.resolution,v=n.resourceOptions;return!e||e instanceof mp||((e=dp(e,v)).internal=!0),r.width=u||0,r.height=l||0,r.resolution=p||If.RESOLUTION,r.mipmap=void 0!==o?o:If.MIPMAP_TEXTURES,r.anisotropicLevel=void 0!==s?s:If.ANISOTROPIC_LEVEL,r.wrapMode=c||If.WRAP_MODE,r.scaleMode=void 0!==a?a:If.SCALE_MODE,r.format=h||yf.RGBA,r.type=f||bf.UNSIGNED_BYTE,r.target=d||_f.TEXTURE_2D,r.alphaMode=void 0!==i?i:Sf.UNPACK,r.uid=ld(),r.touched=0,r.isPowerOfTwo=!1,r._refreshPOT(),r._glTextures={},r.dirtyId=0,r.dirtyStyleId=0,r.cacheId=null,r.valid=u>0&&l>0,r.textureCacheIds=[],r.destroyed=!1,r.resource=null,r._batchEnabled=0,r._batchLocation=0,r.parentTextureArray=null,r.setResource(e),r}return vp(e,t),Object.defineProperty(e.prototype,"realWidth",{get:function(){return Math.ceil(this.width*this.resolution-1e-4)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"realHeight",{get:function(){return Math.ceil(this.height*this.resolution-1e-4)},enumerable:!1,configurable:!0}),e.prototype.setStyle=function(t,e){var n;return void 0!==t&&t!==this.scaleMode&&(this.scaleMode=t,n=!0),void 0!==e&&e!==this.mipmap&&(this.mipmap=e,n=!0),n&&this.dirtyStyleId++,this},e.prototype.setSize=function(t,e,n){return this.resolution=n||this.resolution,this.width=t,this.height=e,this._refreshPOT(),this.update(),this},e.prototype.setRealSize=function(t,e,n){return this.resolution=n||this.resolution,this.width=t/this.resolution,this.height=e/this.resolution,this._refreshPOT(),this.update(),this},e.prototype._refreshPOT=function(){this.isPowerOfTwo=id(this.realWidth)&&id(this.realHeight)},e.prototype.setResolution=function(t){var e=this.resolution;return e===t||(this.resolution=t,this.valid&&(this.width=this.width*e/t,this.height=this.height*e/t,this.emit("update",this)),this._refreshPOT()),this},e.prototype.setResource=function(t){if(this.resource===t)return this;if(this.resource)throw new Error("Resource can be set only once");return t.bind(this),this.resource=t,this},e.prototype.update=function(){this.valid?(this.dirtyId++,this.dirtyStyleId++,this.emit("update",this)):this.width>0&&this.height>0&&(this.valid=!0,this.emit("loaded",this),this.emit("update",this))},e.prototype.onError=function(t){this.emit("error",this,t)},e.prototype.destroy=function(){this.resource&&(this.resource.unbind(this),this.resource.internal&&this.resource.destroy(),this.resource=null),this.cacheId&&(delete pd[this.cacheId],delete dd[this.cacheId],this.cacheId=null),this.dispose(),e.removeFromCache(this),this.textureCacheIds=null,this.destroyed=!0}
2,e.prototype.dispose=function(){this.emit("dispose",this)},e.prototype.castToBaseTexture=function(){return this},e.from=function(t,n,r){void 0===r&&(r=If.STRICT_TEXTURE_CACHE);var i="string"==typeof t,o=null;if(i)o=t;else{if(!t._pixiId){var s=n&&n.pixiIdPrefix||"pixiid";t._pixiId=s+"_"+ld()}o=t._pixiId}var a=pd[o];if(i&&r&&!a)throw new Error('The cacheId "'+o+'" does not exist in BaseTextureCache.');return a||((a=new e(t,n)).cacheId=o,e.addToCache(a,o)),a},e.fromBuffer=function(t,n,r,i){t=t||new Float32Array(n*r*4);var o=new gp(t,{width:n,height:r}),s=t instanceof Float32Array?bf.FLOAT:bf.UNSIGNED_BYTE;return new e(o,Object.assign(yp,i||{width:n,height:r,type:s}))},e.addToCache=function(t,e){e&&(-1===t.textureCacheIds.indexOf(e)&&t.textureCacheIds.push(e),pd[e]&&console.warn("BaseTexture added to the cache with an id ["+e+"] that already had an entry"),pd[e]=t)},e.removeFromCache=function(t){if("string"==typeof t){var e=pd[t];if(e){var n=e.textureCacheIds.indexOf(t);return n>-1&&e.textureCacheIds.splice(n,1),delete pd[t],e}}else if(t&&t.textureCacheIds){for(var r=0;r<t.textureCacheIds.length;++r)delete pd[t.textureCacheIds[r]];return t.textureCacheIds.length=0,t}return null},e._globalBatch=0,e}(Df()),bp=function(t){function e(e,n){var r=this,i=n||{},o=i.width,s=i.height;(r=t.call(this,o,s)||this).items=[],r.itemDirtyIds=[];for(var a=0;a<e;a++){var u=new _p;r.items.push(u),r.itemDirtyIds.push(-2)}return r.length=e,r._load=null,r.baseTexture=null,r}return vp(e,t),e.prototype.initFromArray=function(t,e){for(var n=0;n<this.length;n++)t[n]&&(t[n].castToBaseTexture?this.addBaseTextureAt(t[n].castToBaseTexture(),n):t[n]instanceof mp?this.addResourceAt(t[n],n):this.addResourceAt(dp(t[n],e),n))},e.prototype.dispose=function(){for(var t=0,e=this.length;t<e;t++)this.items[t].destroy();this.items=null,this.itemDirtyIds=null,this._load=null},e.prototype.addResourceAt=function(t,e){if(!this.items[e])throw new Error("Index "+e+" is out of bounds");return t.valid&&!this.valid&&this.resize(t.width,t.height),this.items[e].setResource(t),this},e.prototype.bind=function(e){if(null!==this.baseTexture)throw new Error("Only one base texture per TextureArray is allowed");t.prototype.bind.call(this,e);for(var n=0;n<this.length;n++)this.items[n].parentTextureArray=e,this.items[n].on("update",e.update,e)},e.prototype.unbind=function(e){t.prototype.unbind.call(this,e);for(var n=0;n<this.length;n++)this.items[n].parentTextureArray=null,this.items[n].off("update",e.update,e)},e.prototype.load=function(){var t=this;if(this._load)return this._load;var e=this.items.map((function(t){return t.resource})).filter((function(t){return t})).map((function(t){return t.load()}));return this._load=Promise.all(e).then((function(){var e=t.items[0],n=e.realWidth,r=e.realHeight;return t.resize(n,r),Promise.resolve(t)})),this._load},e}(mp),xp=function(t){function e(e,n){var r,i,o=this,s=n||{},a=s.width,u=s.height;return Array.isArray(e)?(r=e,i=e.length):i=e,o=t.call(this,i,{width:a,height:u})||this,r&&o.initFromArray(r,n),o}return vp(e,t),e.prototype.addBaseTextureAt=function(t,e){if(!t.resource)throw new Error("ArrayResource does not support RenderTexture");return this.addResourceAt(t.resource,e),this},e.prototype.bind=function(e){t.prototype.bind.call(this,e),e.target=_f.TEXTURE_2D_ARRAY},e.prototype.upload=function(t,e,n){var r=this,i=r.length,o=r.itemDirtyIds,s=r.items,a=t.gl;n.dirtyId<0&&a.texImage3D(a.TEXTURE_2D_ARRAY,0,e.format,this._width,this._height,i,0,e.format,e.type,null);for(var u=0;u<i;u++){var l=s[u];o[u]<l.dirtyId&&(o[u]=l.dirtyId,l.valid&&a.texSubImage3D(a.TEXTURE_2D_ARRAY,0,0,0,u,l.resource.width,l.resource.height,1,e.format,e.type,l.resource.source))}return!0},e}(bp),Tp=function(t){function e(e){var n=this,r=e,i=r.naturalWidth||r.videoWidth||r.width,o=r.naturalHeight||r.videoHeight||r.height;return(n=t.call(this,i,o)||this).source=e,n.noSubImage=!1,n}return vp(e,t),e.crossOrigin=function(t,e,n){void 0===n&&0!==e.indexOf("data:")?t.crossOrigin=Td(e):!1!==n&&(t.crossOrigin="string"==typeof n?n:"anonymous")},e.prototype.upload=function(t,e,n,r){var i=t.gl,o=e.realWidth,s=e.realHeight;return r=r||this.source,i.pixelStorei(i.UNPACK_PREMULTIPLY_ALPHA_WEBGL,e.alphaMode===Sf.UNPACK),this.noSubImage||e.target!==i.TEXTURE_2D||n.width!==o||n.height!==s?(n.width=o,n.height=s,i.texImage2D(e.target,0,e.format,e.format,e.type,r)):i.texSubImage2D(i.TEXTURE_2D,0,0,0,e.format,e.type,r),!0},e.prototype.update=function(){if(!this.destroyed){var e=this.source,n=e.naturalWi
2dth||e.videoWidth||e.width,r=e.naturalHeight||e.videoHeight||e.height;this.resize(n,r),t.prototype.update.call(this)}},e.prototype.dispose=function(){this.source=null},e}(mp),Ep=function(t){function e(e){return t.call(this,e)||this}return vp(e,t),e.test=function(t){var e=self.OffscreenCanvas;return!!(e&&t instanceof e)||self.HTMLCanvasElement&&t instanceof HTMLCanvasElement},e}(Tp),wp=function(t){function e(n,r){var i=this,o=r||{},s=o.width,a=o.height,u=o.autoLoad,l=o.linkBaseTexture;if(n&&n.length!==e.SIDES)throw new Error("Invalid length. Got "+n.length+", expected 6");i=t.call(this,6,{width:s,height:a})||this;for(var c=0;c<e.SIDES;c++)i.items[c].target=_f.TEXTURE_CUBE_MAP_POSITIVE_X+c;return i.linkBaseTexture=!1!==l,n&&i.initFromArray(n,r),!1!==u&&i.load(),i}return vp(e,t),e.prototype.bind=function(e){t.prototype.bind.call(this,e),e.target=_f.TEXTURE_CUBE_MAP},e.prototype.addBaseTextureAt=function(t,e,n){if(void 0===n&&(n=this.linkBaseTexture),!this.items[e])throw new Error("Index "+e+" is out of bounds");if(!this.linkBaseTexture||t.parentTextureArray||Object.keys(t._glTextures).length>0){if(!t.resource)throw new Error("CubeResource does not support copying of renderTexture.");this.addResourceAt(t.resource,e)}else t.target=_f.TEXTURE_CUBE_MAP_POSITIVE_X+e,t.parentTextureArray=this.baseTexture,this.items[e]=t;return t.valid&&!this.valid&&this.resize(t.realWidth,t.realHeight),this.items[e]=t,this},e.prototype.upload=function(t,n,r){for(var i=this.itemDirtyIds,o=0;o<e.SIDES;o++){var s=this.items[o];i[o]<s.dirtyId&&(s.valid&&s.resource?(s.resource.upload(t,s,r),i[o]=s.dirtyId):i[o]<-1&&(t.gl.texImage2D(s.target,0,r.internalFormat,n.realWidth,n.realHeight,0,n.format,r.type,null),i[o]=-1))}return!0},e.test=function(t){return Array.isArray(t)&&t.length===e.SIDES},e.SIDES=6,e}(bp),Sp=function(t){function e(e,n){var r=this;if(n=n||{},!(e instanceof HTMLImageElement)){var i=new Image;Tp.crossOrigin(i,e,n.crossorigin),i.src=e,e=i}return r=t.call(this,e)||this,!e.complete&&r._width&&r._height&&(r._width=0,r._height=0),r.url=e.src,r._process=null,r.preserveBitmap=!1,r.createBitmap=(void 0!==n.createBitmap?n.createBitmap:If.CREATE_IMAGE_BITMAP)&&!!self.createImageBitmap,r.alphaMode="number"==typeof n.alphaMode?n.alphaMode:null,r.bitmap=null,r._load=null,!1!==n.autoLoad&&r.load(),r}return vp(e,t),e.prototype.load=function(t){var e=this;return this._load||(void 0!==t&&(this.createBitmap=t),this._load=new Promise((function(t,n){var r=e.source;e.url=r.src;var i=function(){e.destroyed||(r.onload=null,r.onerror=null,e.resize(r.width,r.height),e._load=null,e.createBitmap?t(e.process()):t(e))};r.complete&&r.src?i():(r.onload=i,r.onerror=function(t){n(t),e.onError.emit(t)})}))),this._load},e.prototype.process=function(){var t=this,e=this.source;return null!==this._process?this._process:null===this.bitmap&&self.createImageBitmap?(this._process=self.createImageBitmap(e,0,0,e.width,e.height,{premultiplyAlpha:this.alphaMode===Sf.UNPACK?"premultiply":"none"}).then((function(e){return t.destroyed?Promise.reject():(t.bitmap=e,t.update(),t._process=null,Promise.resolve(t))})),this._process):Promise.resolve(this)},e.prototype.upload=function(e,n,r){if("number"==typeof this.alphaMode&&(n.alphaMode=this.alphaMode),!this.createBitmap)return t.prototype.upload.call(this,e,n,r);if(!this.bitmap&&(this.process(),!this.bitmap))return!1;if(t.prototype.upload.call(this,e,n,r,this.bitmap),!this.preserveBitmap){var i=!0,o=n._glTextures;for(var s in o){var a=o[s];if(a!==r&&a.dirtyId!==n.dirtyId){i=!1;break}}i&&(this.bitmap.close&&this.bitmap.close(),this.bitmap=null)}return!0},e.prototype.dispose=function(){this.source.onload=null,this.source.onerror=null,t.prototype.dispose.call(this),this.bitmap&&(this.bitmap.close(),this.bitmap=null),this._process=null,this._load=null},e.test=function(t){return"string"==typeof t||t instanceof HTMLImageElement},e}(Tp),Ap=function(t){function e(e,n){var r=this;return n=n||{},(r=t.call(this,document.createElement("canvas"))||this)._width=0,r._height=0,r.svg=e,r.scale=n.scale||1,r._overrideWidth=n.width,r._overrideHeight=n.height,r._resolve=null,r._crossorigin=n.crossorigin,r._load=null,!1!==n.autoLoad&&r.load(),r}return vp(e,t),e.prototype.load=function(){var t=this;return this._load||(this._load=new Promise((function(e){if(t._resolve=function(){t.resize(t.source.width,t.source.height),e(t)},/^\<svg/.test(t.svg.trim())){if(!btoa)throw new Error("Your browser doesn't support base64 conversions.");t.svg="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(t.svg)))}t._loadSvg()}))),this._load},e.prototype._loadSvg=function(){var t=this,e=new Image;Tp.crossOrigin(e,this.svg,this._crossorigin),e.src=this.svg,e.onerror=function(n){t._resolve&&(e.onerror=null,t.onError.emit(n))},e.onload=function(){if(t._resolve){var n=e.width,r=e.height;if(!n||!r)throw new Error("The SVG image must have width and height defined (in pixels), canvas API needs them.");var i=n*t.scale,o=r*t.scale;(t._overrideWidth||t._overrideHeight)&&(i=t._overrideWidth||t._overrideHeight/r*n,o=t._overrideHeight||t._overrideWidth/n*r),i=Math.round(i),o=Math.round(o);var s=t.source;s.width=i,s.height=o,s._pixiId="canvas_"+ld(),s.getContext("2d").drawImage(e,0,0,n,r,0,0,i,o),t._resolve(),t._resolve=null}}},e.getSize=function(t){var n=e.SVG_SIZE.exec(t),r={};return n&&(r[n[1]]=Math.round(parseFloat(n[3])),r[n[5]]=Math.round(parseFloat(n[7]))),r},e.prototype.dispose=function(){t.prototype.dispose.call(this),this._resolve=null,this._crossorigin=null},e.test=function(t,e){return"svg"===e||"string"==typeof t&&/^data:image\/svg\+xml(;(charset=utf8|utf8))?;base64/.test(t)||"string"==typeof t&&0===t.indexOf("<svg")},e.SVG_SIZE=/<svg[^>]*(?:\s(width|height)=('|")(\d*(?:\.\d+)?)(?:px)?('|"))[^>]*(?:\s(width|height)=('|")(\d*(?:\.\d+)?)(?:px)?('|"))[^>]*>/i,e}(Tp),Op=function(t){function e(n,r){var i=this;if(r=r||{},!(n instanceof HTMLVideoElement)){var o=document.createElement("video");o.setAttribute("preload","auto"),o.setAttribute("webkit-playsinline",""),o.setAttribute("playsinline",""),"string"==typeof n&&(n=[n]);var s=n[0].src||n[0];
2Tp.crossOrigin(o,s,r.crossorigin);for(var a=0;a<n.length;++a){var u=document.createElement("source"),l=n[a],c=l.src,h=l.mime,f=(c=c||n[a]).split("?").shift().toLowerCase(),d=f.substr(f.lastIndexOf(".")+1);h=h||e.MIME_TYPES[d]||"video/"+d,u.src=c,u.type=h,o.appendChild(u)}n=o}return(i=t.call(this,n)||this).noSubImage=!0,i._autoUpdate=!0,i._isConnectedToTicker=!1,i._updateFPS=r.updateFPS||0,i._msToNextUpdate=0,i.autoPlay=!1!==r.autoPlay,i._load=null,i._resolve=null,i._onCanPlay=i._onCanPlay.bind(i),i._onError=i._onError.bind(i),!1!==r.autoLoad&&i.load(),i}return vp(e,t),e.prototype.update=function(e){if(!this.destroyed){var n=ep.shared.elapsedMS*this.source.playbackRate;this._msToNextUpdate=Math.floor(this._msToNextUpdate-n),(!this._updateFPS||this._msToNextUpdate<=0)&&(t.prototype.update.call(this),this._msToNextUpdate=this._updateFPS?Math.floor(1e3/this._updateFPS):0)}},e.prototype.load=function(){var t=this;if(this._load)return this._load;var e=this.source;return(e.readyState===e.HAVE_ENOUGH_DATA||e.readyState===e.HAVE_FUTURE_DATA)&&e.width&&e.height&&(e.complete=!0),e.addEventListener("play",this._onPlayStart.bind(this)),e.addEventListener("pause",this._onPlayStop.bind(this)),this._isSourceReady()?this._onCanPlay():(e.addEventListener("canplay",this._onCanPlay),e.addEventListener("canplaythrough",this._onCanPlay),e.addEventListener("error",this._onError,!0)),this._load=new Promise((function(n){t.valid?n(t):(t._resolve=n,e.load())})),this._load},e.prototype._onError=function(t){this.source.removeEventListener("error",this._onError,!0),this.onError.emit(t)},e.prototype._isSourcePlaying=function(){var t=this.source;return t.currentTime>0&&!1===t.paused&&!1===t.ended&&t.readyState>2},e.prototype._isSourceReady=function(){var t=this.source;return 3===t.readyState||4===t.readyState},e.prototype._onPlayStart=function(){this.valid||this._onCanPlay(),this.autoUpdate&&!this._isConnectedToTicker&&(ep.shared.add(this.update,this),this._isConnectedToTicker=!0)},e.prototype._onPlayStop=function(){this._isConnectedToTicker&&(ep.shared.remove(this.update,this),this._isConnectedToTicker=!1)},e.prototype._onCanPlay=function(){var t=this.source;t.removeEventListener("canplay",this._onCanPlay),t.removeEventListener("canplaythrough",this._onCanPlay);var e=this.valid;this.resize(t.videoWidth,t.videoHeight),!e&&this._resolve&&(this._resolve(this),this._resolve=null),this._isSourcePlaying()?this._onPlayStart():this.autoPlay&&t.play()},e.prototype.dispose=function(){this._isConnectedToTicker&&ep.shared.remove(this.update,this);var e=this.source;e&&(e.removeEventListener("error",this._onError,!0),e.pause(),e.src="",e.load()),t.prototype.dispose.call(this)},Object.defineProperty(e.prototype,"autoUpdate",{get:function(){return this._autoUpdate},set:function(t){t!==this._autoUpdate&&(this._autoUpdate=t,!this._autoUpdate&&this._isConnectedToTicker?(ep.shared.remove(this.update,this),this._isConnectedToTicker=!1):this._autoUpdate&&!this._isConnectedToTicker&&this._isSourcePlaying()&&(ep.shared.add(this.update,this),this._isConnectedToTicker=!0))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"updateFPS",{get:function(){return this._updateFPS},set:function(t){t!==this._updateFPS&&(this._updateFPS=t)},enumerable:!1,configurable:!0}),e.test=function(t,n){return self.HTMLVideoElement&&t instanceof HTMLVideoElement||e.TYPES.indexOf(n)>-1},e.TYPES=["mp4","m4v","webm","ogg","ogv","h264","avi","mov"],e.MIME_TYPES={ogv:"video/ogg",mov:"video/quicktime",m4v:"video/mp4"},e}(Tp),Rp=function(t){function e(e){return t.call(this,e)||this}return vp(e,t),e.test=function(t){return!!self.createImageBitmap&&t instanceof ImageBitmap},e}(Tp);fp.push(Sp,Rp,Ep,Op,Ap,gp,wp,xp);var Pp={__proto__:null,Resource:mp,BaseImageResource:Tp,INSTALLED:fp,autoDetectResource:dp,AbstractMultiResource:bp,ArrayResource:xp,BufferResource:gp,CanvasResource:Ep,CubeResource:wp,ImageResource:Sp,SVGResource:Ap,VideoResource:Op,ImageBitmapResource:Rp},Cp=function(){function t(t){this.renderer=t}return t.prototype.destroy=function(){this.renderer=null},t}(),Ip=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return vp(e,t),e.prototype.upload=function(t,e,n){var r=t.gl;r.pixelStorei(r.UNPACK_PREMULTIPLY_ALPHA_WEBGL,e.alphaMode===Sf.UNPACK);var i=e.realWidth,o=e.realHeight;return n.width===i&&n.height===o?r.texSubImage2D(e.target,0,0,0,i,o,e.format,e.type,this.data):(n.width=i,n.height=o,r.texImage2D(e.target,0,1===t.context.webGLVersion?r.DEPTH_COMPONENT:r.DEPTH_COMPONENT16,i,o,0,e.format,e.type,this.data)),!0},e}(gp),Mp=function(){function t(t,e){this.width=Math.ceil(t||100),this.height=Math.ceil(e||100),this.stencil=!1,this.depth=!1,this.dirtyId=0,this.dirtyFormat=0,this.dirtySize=0,this.depthTexture=null,this.colorTextures=[],this.glFramebuffers={},this.disposeRunner=new hp("disposeFramebuffer"),this.multisample=Cf.NONE}return Object.defineProperty(t.prototype,"colorTexture",{get:function(){return this.colorTextures[0]}
2,enumerable:!1,configurable:!0}),t.prototype.addColorTexture=function(t,e){return void 0===t&&(t=0),this.colorTextures[t]=e||new _p(null,{scaleMode:Tf.NEAREST,resolution:1,mipmap:wf.OFF,width:this.width,height:this.height}),this.dirtyId++,this.dirtyFormat++,this},t.prototype.addDepthTexture=function(t){return this.depthTexture=t||new _p(new Ip(null,{width:this.width,height:this.height}),{scaleMode:Tf.NEAREST,resolution:1,width:this.width,height:this.height,mipmap:wf.OFF,format:yf.DEPTH_COMPONENT,type:bf.UNSIGNED_SHORT}),this.dirtyId++,this.dirtyFormat++,this},t.prototype.enableDepth=function(){return this.depth=!0,this.dirtyId++,this.dirtyFormat++,this},t.prototype.enableStencil=function(){return this.stencil=!0,this.dirtyId++,this.dirtyFormat++,this},t.prototype.resize=function(t,e){if(t=Math.ceil(t),e=Math.ceil(e),t!==this.width||e!==this.height){this.width=t,this.height=e,this.dirtyId++,this.dirtySize++;for(var n=0;n<this.colorTextures.length;n++){var r=this.colorTextures[n],i=r.resolution;r.setSize(t/i,e/i)}if(this.depthTexture){i=this.depthTexture.resolution;this.depthTexture.setSize(t/i,e/i)}}},t.prototype.dispose=function(){this.disposeRunner.emit(this,!1)},t.prototype.destroyDepthTexture=function(){this.depthTexture&&(this.depthTexture.destroy(),this.depthTexture=null,++this.dirtyId,++this.dirtyFormat)},t}(),Dp=function(t){function e(e){var n=this;if("number"==typeof e){var r=arguments[0],i=arguments[1],o=arguments[2],s=arguments[3];e={width:r,height:i,scaleMode:o,resolution:s}}n=t.call(this,null,e)||this;var a=e||{},u=a.width,l=a.height;return n.mipmap=wf.OFF,n.width=Math.ceil(u)||100,n.height=Math.ceil(l)||100,n.valid=!0,n.clearColor=[0,0,0,0],n.framebuffer=new Mp(n.width*n.resolution,n.height*n.resolution).addColorTexture(0,n),n.maskStack=[],n.filterStack=[{}],n}return vp(e,t),e.prototype.resize=function(t,e){t=Math.ceil(t),e=Math.ceil(e),this.framebuffer.resize(t*this.resolution,e*this.resolution)},e.prototype.dispose=function(){this.framebuffer.dispose(),t.prototype.dispose.call(this)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.framebuffer.destroyDepthTexture(),this.framebuffer=null},e}(_p),Lp=function(){function t(){this.x0=0,this.y0=0,this.x1=1,this.y1=0,this.x2=1,this.y2=1,this.x3=0,this.y3=1,this.uvsFloat32=new Float32Array(8)}return t.prototype.set=function(t,e,n){var r=e.width,i=e.height;if(n){var o=t.width/2/r,s=t.height/2/i,a=t.x/r+o,u=t.y/i+s;n=Hd.add(n,Hd.NW),this.x0=a+o*Hd.uX(n),this.y0=u+s*Hd.uY(n),n=Hd.add(n,2),this.x1=a+o*Hd.uX(n),this.y1=u+s*Hd.uY(n),n=Hd.add(n,2),this.x2=a+o*Hd.uX(n),this.y2=u+s*Hd.uY(n),n=Hd.add(n,2),this.x3=a+o*Hd.uX(n),this.y3=u+s*Hd.uY(n)}else this.x0=t.x/r,this.y0=t.y/i,this.x1=(t.x+t.width)/r,this.y1=t.y/i,this.x2=(t.x+t.width)/r,this.y2=(t.y+t.height)/i,this.x3=t.x/r,this.y3=(t.y+t.height)/i;this.uvsFloat32[0]=this.x0,this.uvsFloat32[1]=this.y0,this.uvsFloat32[2]=this.x1,this.uvsFloat32[3]=this.y1,this.uvsFloat32[4]=this.x2,this.uvsFloat32[5]=this.y2,this.uvsFloat32[6]=this.x3,this.uvsFloat32[7]=this.y3},t.prototype.toString=function(){return"[@pixi/core:TextureUvs x0="+this.x0+" y0="+this.y0+" x1="+this.x1+" y1="+this.y1+" x2="+this.x2+" y2="+this.y2+" x3="+this.x3+" y3="+this.y3+"]"},t}(),Np=new Lp,kp=function(t){function e(n,r,i,o,s,a){var u=t.call(this)||this;if(u.noFrame=!1,r||(u.noFrame=!0,r=new Rd(0,0,1,1)),n instanceof e&&(n=n.baseTexture),u.baseTexture=n,u._frame=r,u.trim=o,u.valid=!1,u._uvs=Np,u.uvMatrix=null,u.orig=i||r,u._rotate=Number(s||0),!0===s)u._rotate=2;else if(u._rotate%2!=0)throw new Error("attempt to use diamond-shaped UVs. If you are sure, set rotation manually");return u.defaultAnchor=a?new Dd(a.x,a.y):new Dd(0,0),u._updateID=0,u.textureCacheIds=[],n.valid?u.noFrame?n.valid&&u.onBaseTextureUpdated(n):u.frame=r:n.once("loaded",u.onBaseTextureUpdated,u),u.noFrame&&n.on("update",u.onBaseTextureUpdated,u),u}return vp(e,t),e.prototype.update=function(){this.baseTexture.resource&&this.baseTexture.resource.update()},e.prototype.onBaseTextureUpdated=function(t){if(this.noFrame){if(!this.baseTexture.valid)return;this._frame.width=t.width,this._frame.height=t.height,this.valid=!0,this.updateUvs()}else this.frame=this._frame;
2this.emit("update",this)},e.prototype.destroy=function(t){if(this.baseTexture){if(t){var n=this.baseTexture.resource;n&&n.url&&dd[n.url]&&e.removeFromCache(n.url),this.baseTexture.destroy()}this.baseTexture.off("loaded",this.onBaseTextureUpdated,this),this.baseTexture.off("update",this.onBaseTextureUpdated,this),this.baseTexture=null}this._frame=null,this._uvs=null,this.trim=null,this.orig=null,this.valid=!1,e.removeFromCache(this),this.textureCacheIds=null},e.prototype.clone=function(){var t=this._frame.clone(),n=this._frame===this.orig?t:this.orig.clone(),r=new e(this.baseTexture,!this.noFrame&&t,n,this.trim&&this.trim.clone(),this.rotate,this.defaultAnchor);return this.noFrame&&(r._frame=t),r},e.prototype.updateUvs=function(){this._uvs===Np&&(this._uvs=new Lp),this._uvs.set(this._frame,this.baseTexture,this.rotate),this._updateID++},e.from=function(t,n,r){void 0===n&&(n={}),void 0===r&&(r=If.STRICT_TEXTURE_CACHE);var i="string"==typeof t,o=null;if(i)o=t;else{if(!t._pixiId){var s=n&&n.pixiIdPrefix||"pixiid";t._pixiId=s+"_"+ld()}o=t._pixiId}var a=dd[o];if(i&&r&&!a)throw new Error('The cacheId "'+o+'" does not exist in TextureCache.');return a||(n.resolution||(n.resolution=Ed(t)),(a=new e(new _p(t,n))).baseTexture.cacheId=o,_p.addToCache(a.baseTexture,o),e.addToCache(a,o)),a},e.fromURL=function(t,n){var r=Object.assign({autoLoad:!1},null==n?void 0:n.resourceOptions),i=e.from(t,Object.assign({resourceOptions:r},n),!1),o=i.baseTexture.resource;return i.baseTexture.valid?Promise.resolve(i):o.load().then((function(){return Promise.resolve(i)}))},e.fromBuffer=function(t,n,r,i){return new e(_p.fromBuffer(t,n,r,i))},e.fromLoader=function(t,n,r,i){var o=new _p(t,Object.assign({scaleMode:If.SCALE_MODE,resolution:Ed(n)},i)),s=o.resource;s instanceof Sp&&(s.url=n);var a=new e(o);return r||(r=n),_p.addToCache(a.baseTexture,r),e.addToCache(a,r),r!==n&&(_p.addToCache(a.baseTexture,n),e.addToCache(a,n)),a.baseTexture.valid?Promise.resolve(a):new Promise((function(t){a.baseTexture.once("loaded",(function(){return t(a)}))}))},e.addToCache=function(t,e){e&&(-1===t.textureCacheIds.indexOf(e)&&t.textureCacheIds.push(e),dd[e]&&console.warn("Texture added to the cache with an id ["+e+"] that already had an entry"),dd[e]=t)},e.removeFromCache=function(t){if("string"==typeof t){var e=dd[t];if(e){var n=e.textureCacheIds.indexOf(t);return n>-1&&e.textureCacheIds.splice(n,1),delete dd[t],e}}else if(t&&t.textureCacheIds){for(var r=0;r<t.textureCacheIds.length;++r)dd[t.textureCacheIds[r]]===t&&delete dd[t.textureCacheIds[r]];return t.textureCacheIds.length=0,t}return null},Object.defineProperty(e.prototype,"resolution",{get:function(){return this.baseTexture.resolution},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"frame",{get:function(){return this._frame},set:function(t){this._frame=t,this.noFrame=!1;var e=t.x,n=t.y,r=t.width,i=t.height,o=e+r>this.baseTexture.width,s=n+i>this.baseTexture.height;if(o||s){var a=o&&s?"and":"or",u="X: "+e+" + "+r+" = "+(e+r)+" > "+this.baseTexture.width,l="Y: "+n+" + "+i+" = "+(n+i)+" > "+this.baseTexture.height;throw new Error("Texture Error: frame does not fit inside the base Texture dimensions: "+u+" "+a+" "+l)}this.valid=r&&i&&this.baseTexture.valid,this.trim||this.rotate||(this.orig=t),this.valid&&this.updateUvs()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rotate",{get:function(){return this._rotate},set:function(t){this._rotate=t,this.valid&&this.updateUvs()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.orig.width},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.orig.height},enumerable:!1,configurable:!0}),e.prototype.castToBaseTexture=function(){return this.baseTexture},e}(Df());function Fp(t){t.destroy=function(){},t.on=function(){},t.once=function(){},t.emit=function(){}}kp.EMPTY=new kp(new _p),Fp(kp.EMPTY),Fp(kp.EMPTY.baseTexture),kp.WHITE=function(){var t=document.createElement("canvas");t.width=16,t.height=16;var e=t.getContext("2d");return e.fillStyle="white",e.fillRect(0,0,16,16),new kp(new _p(new Ep(t)))}(),Fp(kp.WHITE),Fp(kp.WHITE.baseTexture);var Bp=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.valid=!0,r.filterFrame=null,r.filterPoolKey=null,r.updateUvs(),r}return vp(e,t),Object.defineProperty(e.prototype,"framebuffer",{get:function(){return this.baseTexture.framebuffer}
2,enumerable:!1,configurable:!0}),e.prototype.resize=function(t,e,n){void 0===n&&(n=!0),t=Math.ceil(t),e=Math.ceil(e),this.valid=t>0&&e>0,this._frame.width=this.orig.width=t,this._frame.height=this.orig.height=e,n&&this.baseTexture.resize(t,e),this.updateUvs()},e.prototype.setResolution=function(t){var e=this.baseTexture;e.resolution!==t&&(e.setResolution(t),this.resize(e.width,e.height,!1))},e.create=function(t){for(var n=arguments,r=[],i=1;i<arguments.length;i++)r[i-1]=n[i];return"number"==typeof t&&(hd("6.0.0","Arguments (width, height, scaleMode, resolution) have been deprecated."),t={width:t,height:r[0],scaleMode:r[1],resolution:r[2]}),new e(new Dp(t))},e}(kp),Up=function(){function t(t){this.texturePool={},this.textureOptions=t||{},this.enableFullScreen=!1,this._pixelsWidth=0,this._pixelsHeight=0}return t.prototype.createTexture=function(t,e){var n=new Dp(Object.assign({width:t,height:e,resolution:1},this.textureOptions));return new Bp(n)},t.prototype.getOptimalTexture=function(e,n,r){void 0===r&&(r=1);var i=t.SCREEN_KEY;e*=r,n*=r,this.enableFullScreen&&e===this._pixelsWidth&&n===this._pixelsHeight||(i=(65535&(e=rd(e)))<<16|65535&(n=rd(n))),this.texturePool[i]||(this.texturePool[i]=[]);var o=this.texturePool[i].pop();return o||(o=this.createTexture(e,n)),o.filterPoolKey=i,o.setResolution(r),o},t.prototype.getFilterTexture=function(t,e){var n=this.getOptimalTexture(t.width,t.height,e||t.resolution);return n.filterFrame=t.filterFrame,n},t.prototype.returnTexture=function(t){var e=t.filterPoolKey;t.filterFrame=null,this.texturePool[e].push(t)},t.prototype.returnFilterTexture=function(t){this.returnTexture(t)},t.prototype.clear=function(t){if(t=!1!==t)for(var e in this.texturePool){var n=this.texturePool[e];if(n)for(var r=0;r<n.length;r++)n[r].destroy(!0)}this.texturePool={}},t.prototype.setScreenSize=function(e){if(e.width!==this._pixelsWidth||e.height!==this._pixelsHeight){var n=t.SCREEN_KEY,r=this.texturePool[n];if(this.enableFullScreen=e.width>0&&e.height>0,r)for(var i=0;i<r.length;i++)r[i].destroy(!0);this.texturePool[n]=[],this._pixelsWidth=e.width,this._pixelsHeight=e.height}},t.SCREEN_KEY="screen",t}(),Gp=function(){function t(t,e,n,r,i,o,s){void 0===e&&(e=0),void 0===n&&(n=!1),void 0===r&&(r=bf.FLOAT),this.buffer=t,this.size=e,this.normalized=n,this.type=r,this.stride=i,this.start=o,this.instance=s}return t.prototype.destroy=function(){this.buffer=null},t.from=function(e,n,r,i,o){return new t(e,n,r,i,o)},t}(),Xp=0,jp=function(){function t(t,e,n){void 0===e&&(e=!0),void 0===n&&(n=!1),this.data=t||new Float32Array(1),this._glBuffers={},this._updateID=0,this.index=n,this.static=e,this.id=Xp++,this.disposeRunner=new hp("disposeBuffer")}return t.prototype.update=function(t){this.data=t||this.data,this._updateID++},t.prototype.dispose=function(){this.disposeRunner.emit(this,!1)},t.prototype.destroy=function(){this.dispose(),this.data=null},t.from=function(e){return e instanceof Array&&(e=new Float32Array(e)),new t(e)},t}();function Hp(t){if(4===t.BYTES_PER_ELEMENT)return t instanceof Float32Array?"Float32Array":t instanceof Uint32Array?"Uint32Array":"Int32Array";if(2===t.BYTES_PER_ELEMENT){if(t instanceof Uint16Array)return"Uint16Array"}else if(1===t.BYTES_PER_ELEMENT&&t instanceof Uint8Array)return"Uint8Array";return null}var zp={Float32Array:Float32Array,Uint32Array:Uint32Array,Int32Array:Int32Array,Uint8Array:Uint8Array};var Yp={5126:4,5123:2,5121:1},Vp=0,$p={Float32Array:Float32Array,Uint32Array:Uint32Array,Int32Array:Int32Array,Uint8Array:Uint8Array,Uint16Array:Uint16Array},Wp=function(){function t(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this.buffers=t,this.indexBuffer=null,this.attributes=e,this.glVertexArrayObjects={},this.id=Vp++,this.instanced=!1,this.instanceCount=1,this.disposeRunner=new hp("disposeGeometry"),this.refCount=0}return t.prototype.addAttribute=function(t,e,n,r,i,o,s,a){if(void 0===n&&(n=0),void 0===r&&(r=!1),void 0===a&&(a=!1),!e)throw new Error("You must pass a buffer when creating an attribute");e instanceof jp||(e instanceof Array&&(e=new Float32Array(e)),e=new jp(e));var u=t.split("|");if(u.length>1){for(var l=0;l<u.length;l++)this.addAttribute(u[l],e,n,r,i);return this}var c=this.buffers.indexOf(e);return-1===c&&(this.buffers.push(e),c=this.buffers.length-1),this.attributes[t]=new Gp(c,n,r,i,o,s,a),this.instanced=this.instanced||a,this},t.prototype.getAttribute=function(t){return this.attributes[t]},t.prototype.getBuffer=function(t){return this.buffers[this.getAttribute(t).buffer]},t.prototype.addIndex=function(t){return t instanceof jp||(t instanceof Array&&(t=new Uint16Array(t)),t=new jp(t)),t.index=!0,this.indexBuffer=t,-1===this.buffers.indexOf(t)&&this.buffers.push(t),this},t.prototype.getIndex=function(){return this.indexBuffer},t.prototype.interleave=function(){if(1===this.buffers.length||2===this.buffers.length&&this.indexBuffer)return this;var t,e=[],n=[],r=new jp;for(t in this.attributes){var i=this.attributes[t],o=this.buffers[i.buffer];e.push(o.data),n.push(i.size*Yp[i.type]/4),i.buffer=0}for(r.data=function(t,e){for(var n=0,r=0,i={},o=0;o<t.length;o++)r+=e[o],n+=t[o].length;var s=new ArrayBuffer(4*n),a=null,u=0;for(o=0;o<t.length;o++){var l=e[o],c=t[o],h=Hp(c);i[h]||(i[h]=new zp[h](s)),a=i[h];for(var f=0;f<c.length;f++)a[(f/l|0)*r+u+f%l]=c[f];u+=l}return new Float32Array(s)}(e,n),t=0;t<this.buffers.length;t++)this.buffers[t]!==this.indexBuffer&&this.buffers[t].destroy();return this.buffers=[r],this.indexBuffer&&this.buffers.push(this.indexBuffer),this},t.prototype.getSize=function(){for(var t in this.attributes){var e=this.attributes[t];return this.buffers[e.buffer].data.length/(e.stride/4||e.size)}return 0},t.prototype.dispose=function(){this.disposeRunner.emit(this,!1)},t.prototype.destroy=function(){this.dispose(),this.buffers=null,this.indexBuffer=null,this.attributes=null},t.prototype.clone=function(){for(var e=new t,n=0;n<this.buffers.length;n++)e.buffers[n]=new jp(this.buffers[n].data.slice(0));for(var n in this.attributes){var r=this.attributes[n];e.attributes[n]=new Gp(r.buffer,r.size,r.normalized,r.type,r.stride,r.start,r.instance)}return this.indexBuffer&&(e.indexBuffer=e.buffers[this.buffers.indexOf(this.indexBuffer)],e.indexBuffer.index=!0),e},t.merge=function(e){for(var n,r=new t,i=[],o=[],s=[],a=0;a<e.length;a++){n=e[a];for(var u=0;u<n.buffers.length;u++)o[u]=o[u]||0,o[u]+=n.buffers[u].data.length,s[u]=0}for(a=0;a<n.buffers.length;a++)i[a]=new($p[Hp(n.buffers[a].data)])(o[a]),r.buffers[a]=new jp(i[a]);for(a=0;a<e.length;a++){n=e[a];for(u=0;
2u<n.buffers.length;u++)i[u].set(n.buffers[u].data,s[u]),s[u]+=n.buffers[u].data.length}if(r.attributes=n.attributes,n.indexBuffer){r.indexBuffer=r.buffers[n.buffers.indexOf(n.indexBuffer)],r.indexBuffer.index=!0;var l=0,c=0,h=0,f=0;for(a=0;a<n.buffers.length;a++)if(n.buffers[a]!==n.indexBuffer){f=a;break}for(var a in n.attributes){var d=n.attributes[a];(0|d.buffer)===f&&(c+=d.size*Yp[d.type]/4)}for(a=0;a<e.length;a++){var p=e[a].indexBuffer.data;for(u=0;u<p.length;u++)r.indexBuffer.data[u+h]+=l;l+=n.buffers[f].data.length/c,h+=p.length}}return r},t}(),qp=function(t){function e(){var e=t.call(this)||this;return e.addAttribute("aVertexPosition",new Float32Array([0,0,1,0,1,1,0,1])).addIndex([0,1,3,2]),e}return vp(e,t),e}(Wp),Zp=function(t){function e(){var e=t.call(this)||this;return e.vertices=new Float32Array([-1,-1,1,-1,1,1,-1,1]),e.uvs=new Float32Array([0,0,1,0,1,1,0,1]),e.vertexBuffer=new jp(e.vertices),e.uvBuffer=new jp(e.uvs),e.addAttribute("aVertexPosition",e.vertexBuffer).addAttribute("aTextureCoord",e.uvBuffer).addIndex([0,1,2,0,2,3]),e}return vp(e,t),e.prototype.map=function(t,e){var n=0,r=0;return this.uvs[0]=n,this.uvs[1]=r,this.uvs[2]=n+e.width/t.width,this.uvs[3]=r,this.uvs[4]=n+e.width/t.width,this.uvs[5]=r+e.height/t.height,this.uvs[6]=n,this.uvs[7]=r+e.height/t.height,n=e.x,r=e.y,this.vertices[0]=n,this.vertices[1]=r,this.vertices[2]=n+e.width,this.vertices[3]=r,this.vertices[4]=n+e.width,this.vertices[5]=r+e.height,this.vertices[6]=n,this.vertices[7]=r+e.height,this.invalidate(),this},e.prototype.invalidate=function(){return this.vertexBuffer._updateID++,this.uvBuffer._updateID++,this},e}(Wp),Kp=0,Jp=function(){function t(t,e){this.uniforms=t,this.group=!0,this.syncUniforms={},this.dirtyId=0,this.id=Kp++,this.static=!!e}return t.prototype.update=function(){this.dirtyId++},t.prototype.add=function(e,n,r){this.uniforms[e]=new t(n,r)},t.from=function(e,n){return new t(e,n)},t}(),Qp=function(){function t(){this.renderTexture=null,this.target=null,this.legacy=!1,this.resolution=1,this.sourceFrame=new Rd,this.destinationFrame=new Rd,this.bindingSourceFrame=new Rd,this.bindingDestinationFrame=new Rd,this.filters=[],this.transform=null}return t.prototype.clear=function(){this.target=null,this.filters=null,this.renderTexture=null},t}(),tv=[new Dd,new Dd,new Dd,new Dd],ev=new Nd,nv=function(t){function e(e){var n=t.call(this,e)||this;return n.defaultFilterStack=[{}],n.texturePool=new Up,n.texturePool.setScreenSize(e.view),n.statePool=[],n.quad=new qp,n.quadUv=new Zp,n.tempRect=new Rd,n.activeState={},n.globalUniforms=new Jp({outputFrame:new Rd,inputSize:new Float32Array(4),inputPixel:new Float32Array(4),inputClamp:new Float32Array(4),resolution:1,filterArea:new Float32Array(4),filterClamp:new Float32Array(4)},!0),n.forceClear=!1,n.useMaxPadding=!1,n}return vp(e,t),e.prototype.push=function(t,e){for(var n=this.renderer,r=this.defaultFilterStack,i=this.statePool.pop()||new Qp,o=this.renderer.renderTexture,s=e[0].resolution,a=e[0].padding,u=e[0].autoFit,l=e[0].legacy,c=1;c<e.length;c++){var h=e[c];s=Math.min(s,h.resolution),a=this.useMaxPadding?Math.max(a,h.padding):a+h.padding,u=u&&h.autoFit,l=l||h.legacy}if(1===r.length&&(this.defaultFilterStack[0].renderTexture=o.current),r.push(i),i.resolution=s,i.legacy=l,i.target=t,i.sourceFrame.copyFrom(t.filterArea||t.getBounds(!0)),i.sourceFrame.pad(a),u){var f=this.tempRect.copyFrom(o.sourceFrame);n.projection.transform&&this.transformAABB(ev.copyFrom(n.projection.transform).invert(),f),i.sourceFrame.fit(f)}this.roundFrame(i.sourceFrame,o.current?o.current.resolution:n.resolution,o.sourceFrame,o.destinationFrame,n.projection.transform),i.renderTexture=this.getOptimalFilterTexture(i.sourceFrame.width,i.sourceFrame.height,s),i.filters=e,i.destinationFrame.width=i.renderTexture.width,i.destinationFrame.height=i.renderTexture.height;var d=this.tempRect;d.x=0,d.y=0,d.width=i.sourceFrame.width,d.height=i.sourceFrame.height,i.renderTexture.filterFrame=i.sourceFrame,i.bindingSourceFrame.copyFrom(o.sourceFrame),i.bindingDestinationFrame.copyFrom(o.destinationFrame),i.transform=n.projection.transform,n.projection.transform=null,o.bind(i.renderTexture,i.sourceFrame,d),n.framebuffer.clear(0,0,0,0)},e.prototype.pop=function(){var t=this.defaultFilterStack,e=t.pop(),n=e.filters;this.activeState=e;var r=this.globalUniforms.uniforms;r.outputFrame=e.sourceFrame,r.resolution=e.resolution;var i=r.inputSize,o=r.inputPixel,s=r.inputClamp;if(i[0]=e.destinationFrame.width,i[1]=e.destinationFrame.height,i[2]=1/i[0],i[3]=1/i[1],o[0]=i[0]*e.resolution,o[1]=i[1]*e.resolution,o[2]=1/o[0],o[3]=1/o[1],s[0]=.5*o[2],s[1]=.5*o[3],s[2]=e.sourceFrame.width*i[2]-.5*o[2],s[3]=e.s
2ourceFrame.height*i[3]-.5*o[3],e.legacy){var a=r.filterArea;a[0]=e.destinationFrame.width,a[1]=e.destinationFrame.height,a[2]=e.sourceFrame.x,a[3]=e.sourceFrame.y,r.filterClamp=r.inputClamp}this.globalUniforms.update();var u=t[t.length-1];if(e.renderTexture.framebuffer.multisample>1&&this.renderer.framebuffer.blit(),1===n.length)n[0].apply(this,e.renderTexture,u.renderTexture,Af.BLEND,e),this.returnFilterTexture(e.renderTexture);else{var l=e.renderTexture,c=this.getOptimalFilterTexture(l.width,l.height,e.resolution);c.filterFrame=l.filterFrame;var h=0;for(h=0;h<n.length-1;++h){n[h].apply(this,l,c,Af.CLEAR,e);var f=l;l=c,c=f}n[h].apply(this,l,u.renderTexture,Af.BLEND,e),this.returnFilterTexture(l),this.returnFilterTexture(c)}e.clear(),this.statePool.push(e)},e.prototype.bindAndClear=function(t,e){void 0===e&&(e=Af.CLEAR);var n=this.renderer,r=n.renderTexture,i=n.state;if(t===this.defaultFilterStack[this.defaultFilterStack.length-1].renderTexture?this.renderer.projection.transform=this.activeState.transform:this.renderer.projection.transform=null,t&&t.filterFrame){var o=this.tempRect;o.x=0,o.y=0,o.width=t.filterFrame.width,o.height=t.filterFrame.height,r.bind(t,t.filterFrame,o)}else t!==this.defaultFilterStack[this.defaultFilterStack.length-1].renderTexture?r.bind(t):this.renderer.renderTexture.bind(t,this.activeState.bindingSourceFrame,this.activeState.bindingDestinationFrame);var s=1&i.stateId||this.forceClear;(e===Af.CLEAR||e===Af.BLIT&&s)&&this.renderer.framebuffer.clear(0,0,0,0)},e.prototype.applyFilter=function(t,e,n,r){var i=this.renderer;i.state.set(t.state),this.bindAndClear(n,r),t.uniforms.uSampler=e,t.uniforms.filterGlobals=this.globalUniforms,i.shader.bind(t),t.legacy?(this.quadUv.map(e._frame,e.filterFrame),i.geometry.bind(this.quadUv),i.geometry.draw(gf.TRIANGLES)):(i.geometry.bind(this.quad),i.geometry.draw(gf.TRIANGLE_STRIP))},e.prototype.calculateSpriteMatrix=function(t,e){var n=this.activeState,r=n.sourceFrame,i=n.destinationFrame,o=e._texture.orig,s=t.set(i.width,0,0,i.height,r.x,r.y),a=e.worldTransform.copyTo(Nd.TEMP_MATRIX);return a.invert(),s.prepend(a),s.scale(1/o.width,1/o.height),s.translate(e.anchor.x,e.anchor.y),s},e.prototype.destroy=function(){this.texturePool.clear(!1)},e.prototype.getOptimalFilterTexture=function(t,e,n){return void 0===n&&(n=1),this.texturePool.getOptimalTexture(t,e,n)},e.prototype.getFilterTexture=function(t,e){if("number"==typeof t){var n=t;t=e,e=n}t=t||this.activeState.renderTexture;var r=this.texturePool.getOptimalTexture(t.width,t.height,e||t.resolution);return r.filterFrame=t.filterFrame,r},e.prototype.returnFilterTexture=function(t){this.texturePool.returnTexture(t)},e.prototype.emptyPool=function(){this.texturePool.clear(!0)},e.prototype.resize=function(){this.texturePool.setScreenSize(this.renderer.view)},e.prototype.transformAABB=function(t,e){var n=tv[0],r=tv[1],i=tv[2],o=tv[3];n.set(e.left,e.top),r.set(e.left,e.bottom),i.set(e.right,e.top),o.set(e.right,e.bottom),t.apply(n,n),t.apply(r,r),t.apply(i,i),t.apply(o,o);var s=Math.min(n.x,r.x,i.x,o.x),a=Math.min(n.y,r.y,i.y,o.y),u=Math.max(n.x,r.x,i.x,o.x),l=Math.max(n.y,r.y,i.y,o.y);e.x=s,e.y=a,e.width=u-s,e.height=l-a},e.prototype.roundFrame=function(t,e,n,r,i){if(i){var o=i.a,s=i.b,a=i.c,u=i.d;if(!(0===s&&0===a||0===o&&0===u))return}(i=i?ev.copyFrom(i):ev.identity()).translate(-n.x,-n.y).scale(r.width/n.width,r.height/n.height).translate(r.x,r.y),this.transformAABB(i,t),t.ceil(e),this.transformAABB(i.invert(),t)},e}(Cp),rv=function(){function t(t){this.renderer=t}return t.prototype.flush=function(){},t.prototype.destroy=function(){this.renderer=null},t.prototype.start=function(){},t.prototype.stop=function(){this.flush()},t.prototype.render=function(t){},t}(),iv=function(t){function e(e){var n=t.call(this,e)||this;return n.emptyRenderer=new rv(e),n.currentRenderer=n.emptyRenderer,n}return vp(e,t),e.prototype.setObjectRenderer=function(t){this.currentRenderer!==t&&(this.currentRenderer.stop(),this.currentRenderer=t,this.currentRenderer.start())},e.prototype.flush=function(){this.setObjectRenderer(this.emptyRenderer)},e.prototype.reset=function(){this.setObjectRenderer(this.emptyRenderer)},e.prototype.copyBoundTextures=function(t,e){for(var n=this.renderer.texture.boundTextures,r=e-1;r>=0;--r)t[r]=n[r]||null,t[r]&&(t[r]._batchLocation=r)},e.prototype.boundArray=function(t,e,n,r){for(var i=t.elements,o=t.ids,s=t.count,a=0,u=0;u<s;u++){var l=i[u],c=l._batchLocation;if(c>=0&&c<r&&e[c]===l)o[u]=c;else for(;a<r;){var h=e[a];if(!h||h._batchEnabled!==n||h._batchLocation!==a){o[u]=a,l._batchLocation=a,e[a]=l;break}a++}}},e}(Cp),ov=0,sv=function(t){function e(e){var n=t.call(this,e)||this;return n.webGLVersion=1,n.extensions={},n.supports={uint32Indices:!1},n.handleContextLost=n.handleContextLost.bind(n),n.handleContextRestored=n.handleContextRestored.bind(n),e.view.addEventListener("webglcontextlost",n.handleContextLost,!1),e.view.addEventListener("webglcontextrestored",n.handleContextRestored,!1),n}return vp(e,t),Object.defineProperty(e.prototype,"isLost",{get:function(){return!this.gl||this.gl.isContextLost()}
2,enumerable:!1,configurable:!0}),e.prototype.contextChange=function(t){this.gl=t,this.renderer.gl=t,this.renderer.CONTEXT_UID=ov++,t.isContextLost()&&t.getExtension("WEBGL_lose_context")&&t.getExtension("WEBGL_lose_context").restoreContext()},e.prototype.initFromContext=function(t){this.gl=t,this.validateContext(t),this.renderer.gl=t,this.renderer.CONTEXT_UID=ov++,this.renderer.runners.contextChange.emit(t)},e.prototype.initFromOptions=function(t){var e=this.createContext(this.renderer.view,t);this.initFromContext(e)},e.prototype.createContext=function(t,e){var n;if(If.PREFER_ENV>=df.WEBGL2&&(n=t.getContext("webgl2",e)),n)this.webGLVersion=2;else if(this.webGLVersion=1,!(n=t.getContext("webgl",e)||t.getContext("experimental-webgl",e)))throw new Error("This browser does not support WebGL. Try using the canvas renderer");return this.gl=n,this.getExtensions(),this.gl},e.prototype.getExtensions=function(){var t=this.gl,e={anisotropicFiltering:t.getExtension("EXT_texture_filter_anisotropic"),floatTextureLinear:t.getExtension("OES_texture_float_linear"),s3tc:t.getExtension("WEBGL_compressed_texture_s3tc"),s3tc_sRGB:t.getExtension("WEBGL_compressed_texture_s3tc_srgb"),etc:t.getExtension("WEBGL_compressed_texture_etc"),etc1:t.getExtension("WEBGL_compressed_texture_etc1"),pvrtc:t.getExtension("WEBGL_compressed_texture_pvrtc")||t.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc"),atc:t.getExtension("WEBGL_compressed_texture_atc"),astc:t.getExtension("WEBGL_compressed_texture_astc")};1===this.webGLVersion?Object.assign(this.extensions,e,{drawBuffers:t.getExtension("WEBGL_draw_buffers"),depthTexture:t.getExtension("WEBGL_depth_texture"),loseContext:t.getExtension("WEBGL_lose_context"),vertexArrayObject:t.getExtension("OES_vertex_array_object")||t.getExtension("MOZ_OES_vertex_array_object")||t.getExtension("WEBKIT_OES_vertex_array_object"),uint32ElementIndex:t.getExtension("OES_element_index_uint"),floatTexture:t.getExtension("OES_texture_float"),floatTextureLinear:t.getExtension("OES_texture_float_linear"),textureHalfFloat:t.getExtension("OES_texture_half_float"),textureHalfFloatLinear:t.getExtension("OES_texture_half_float_linear")}):2===this.webGLVersion&&Object.assign(this.extensions,e,{colorBufferFloat:t.getExtension("EXT_color_buffer_float")})},e.prototype.handleContextLost=function(t){t.preventDefault()},e.prototype.handleContextRestored=function(){this.renderer.runners.contextChange.emit(this.gl)},e.prototype.destroy=function(){var t=this.renderer.view;t.removeEventListener("webglcontextlost",this.handleContextLost),t.removeEventListener("webglcontextrestored",this.handleContextRestored),this.gl.useProgram(null),this.extensions.loseContext&&this.extensions.loseContext.loseContext()},e.prototype.postrender=function(){this.renderer.renderingToScreen&&this.gl.flush()},e.prototype.validateContext=function(t){var e=t.getContextAttributes(),n="WebGL2RenderingContext"in self&&t instanceof self.WebGL2RenderingContext;n&&(this.webGLVersion=2),e.stencil||console.warn("Provided WebGL context does not have a stencil buffer, masks may not render correctly");var r=n||!!t.getExtension("OES_element_index_uint");this.supports.uint32Indices=r,r||console.warn("Provided WebGL context does not support 32 index buffer, complex graphics may not render correctly")},e}(Cp),av=function(t){this.framebuffer=t,this.stencil=null,this.dirtyId=0,this.dirtyFormat=0,this.dirtySize=0,this.multisample=Cf.NONE,this.msaaBuffer=null,this.blitFramebuffer=null},uv=new Rd,lv=function(t){function e(e){var n=t.call(this,e)||this;return n.managedFramebuffers=[],n.unknownFramebuffer=new Mp(10,10),n.msaaSamples=null,n}return vp(e,t),e.prototype.contextChange=function(){var t=this.gl=this.renderer.gl;if(this.CONTEXT_UID=this.renderer.CONTEXT_UID,this.current=this.unknownFramebuffer,this.viewport=new Rd,this.hasMRT=!0,this.writeDepthTexture=!0,this.disposeAll(!0),1===this.renderer.context.webGLVersion){var e=this.renderer.context.extensions.drawBuffers,n=this.renderer.context.extensions.depthTexture;If.PREFER_ENV===df.WEBGL_LEGACY&&(e=null,n=null),e?t.drawBuffers=function(t){return e.drawBuffersWEBGL(t)}:(this.hasMRT=!1,t.drawBuffers=function(){}),n||(this.writeDepthTexture=!1)}else this.msaaSamples=t.getInternalformatParameter(t.RENDERBUFFER,t.RGBA8,t.SAMPLES)},e.prototype.bind=function(t,e){var n=this.gl;if(t){var r=t.glFramebuffers[this.CONTEXT_UID]||this.initFramebuffer(t);this.current!==t&&(this.current=t,n.bindFramebuffer(n.FRAMEBUFFER,r.framebuffer)),r.dirtyId!==t.dirtyId&&
2(r.dirtyId=t.dirtyId,r.dirtyFormat!==t.dirtyFormat?(r.dirtyFormat=t.dirtyFormat,this.updateFramebuffer(t)):r.dirtySize!==t.dirtySize&&(r.dirtySize=t.dirtySize,this.resizeFramebuffer(t)));for(var i=0;i<t.colorTextures.length;i++){var o=t.colorTextures[i];this.renderer.texture.unbind(o.parentTextureArray||o)}t.depthTexture&&this.renderer.texture.unbind(t.depthTexture),e?this.setViewport(e.x,e.y,e.width,e.height):this.setViewport(0,0,t.width,t.height)}else this.current&&(this.current=null,n.bindFramebuffer(n.FRAMEBUFFER,null)),e?this.setViewport(e.x,e.y,e.width,e.height):this.setViewport(0,0,this.renderer.width,this.renderer.height)},e.prototype.setViewport=function(t,e,n,r){var i=this.viewport;i.width===n&&i.height===r&&i.x===t&&i.y===e||(i.x=t,i.y=e,i.width=n,i.height=r,this.gl.viewport(t,e,n,r))},Object.defineProperty(e.prototype,"size",{get:function(){return this.current?{x:0,y:0,width:this.current.width,height:this.current.height}:{x:0,y:0,width:this.renderer.width,height:this.renderer.height}},enumerable:!1,configurable:!0}),e.prototype.clear=function(t,e,n,r,i){void 0===i&&(i=vf.COLOR|vf.DEPTH);var o=this.gl;o.clearColor(t,e,n,r),o.clear(i)},e.prototype.initFramebuffer=function(t){var e=this.gl,n=new av(e.createFramebuffer());return n.multisample=this.detectSamples(t.multisample),t.glFramebuffers[this.CONTEXT_UID]=n,this.managedFramebuffers.push(t),t.disposeRunner.add(this),n},e.prototype.resizeFramebuffer=function(t){var e=this.gl,n=t.glFramebuffers[this.CONTEXT_UID];n.stencil&&(e.bindRenderbuffer(e.RENDERBUFFER,n.stencil),e.renderbufferStorage(e.RENDERBUFFER,e.DEPTH_STENCIL,t.width,t.height));for(var r=t.colorTextures,i=0;i<r.length;i++)this.renderer.texture.bind(r[i],0);t.depthTexture&&this.renderer.texture.bind(t.depthTexture,0)},e.prototype.updateFramebuffer=function(t){var e=this.gl,n=t.glFramebuffers[this.CONTEXT_UID],r=t.colorTextures.length;e.drawBuffers||(r=Math.min(r,1)),n.multisample>1&&(n.msaaBuffer=e.createRenderbuffer(),e.bindRenderbuffer(e.RENDERBUFFER,n.msaaBuffer),e.renderbufferStorageMultisample(e.RENDERBUFFER,n.multisample,e.RGBA8,t.width,t.height),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.RENDERBUFFER,n.msaaBuffer));for(var i=[],o=0;o<r;o++)if(!(0===o&&n.multisample>1)){var s=t.colorTextures[o],a=s.parentTextureArray||s;this.renderer.texture.bind(a,0),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0+o,s.target,a._glTextures[this.CONTEXT_UID].texture,0),i.push(e.COLOR_ATTACHMENT0+o)}if((i.length>1&&e.drawBuffers(i),t.depthTexture)&&this.writeDepthTexture){var u=t.depthTexture;this.renderer.texture.bind(u,0),e.framebufferTexture2D(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.TEXTURE_2D,u._glTextures[this.CONTEXT_UID].texture,0)}n.stencil||!t.stencil&&!t.depth||(n.stencil=e.createRenderbuffer(),e.bindRenderbuffer(e.RENDERBUFFER,n.stencil),e.renderbufferStorage(e.RENDERBUFFER,e.DEPTH_STENCIL,t.width,t.height),t.depthTexture||e.framebufferRenderbuffer(e.FRAMEBUFFER,e.DEPTH_STENCIL_ATTACHMENT,e.RENDERBUFFER,n.stencil))},e.prototype.detectSamples=function(t){var e=this.msaaSamples,n=Cf.NONE;if(t<=1||null===e)return n;for(var r=0;r<e.length;r++)if(e[r]<=t){n=e[r];break}return 1===n&&(n=Cf.NONE),n},e.prototype.blit=function(t,e,n){var r=this,i=r.current,o=r.renderer,s=r.gl,a=r.CONTEXT_UID;if(2===o.context.webGLVersion&&i){var u=i.glFramebuffers[a];if(u){if(!t){if(u.multisample<=1)return;u.blitFramebuffer||(u.blitFramebuffer=new Mp(i.width,i.height),u.blitFramebuffer.addColorTexture(0,i.colorTextures[0])),(t=u.blitFramebuffer).width=i.width,t.height=i.height}e||((e=uv).width=i.width,e.height=i.height),n||(n=e);var l=e.width===n.width&&e.height===n.height;this.bind(t),s.bindFramebuffer(s.READ_FRAMEBUFFER,u.framebuffer),s.blitFramebuffer(e.x,e.y,e.width,e.height,n.x,n.y,n.width,n.height,s.COLOR_BUFFER_BIT,l?s.NEAREST:s.LINEAR)}}},e.prototype.disposeFramebuffer=function(t,e){var n=t.glFramebuffers[this.CONTEXT_UID],r=this.gl;if(n){delete t.glFramebuffers[this.CONTEXT_UID];var i=this.managedFramebuffers.indexOf(t);i>
2=0&&this.managedFramebuffers.splice(i,1),t.disposeRunner.remove(this),e||(r.deleteFramebuffer(n.framebuffer),n.stencil&&r.deleteRenderbuffer(n.stencil))}},e.prototype.disposeAll=function(t){var e=this.managedFramebuffers;this.managedFramebuffers=[];for(var n=0;n<e.length;n++)this.disposeFramebuffer(e[n],t)},e.prototype.forceStencil=function(){var t=this.current;if(t){var e=t.glFramebuffers[this.CONTEXT_UID];if(e&&!e.stencil){t.enableStencil();var n=t.width,r=t.height,i=this.gl,o=i.createRenderbuffer();i.bindRenderbuffer(i.RENDERBUFFER,o),i.renderbufferStorage(i.RENDERBUFFER,i.DEPTH_STENCIL,n,r),e.stencil=o,i.framebufferRenderbuffer(i.FRAMEBUFFER,i.DEPTH_STENCIL_ATTACHMENT,i.RENDERBUFFER,o)}}},e.prototype.reset=function(){this.current=this.unknownFramebuffer,this.viewport=new Rd},e}(Cp),cv=function(t){this.buffer=t||null,this.updateID=-1,this.byteLength=-1,this.refCount=0},hv={5126:4,5123:2,5121:1},fv=function(t){function e(e){var n=t.call(this,e)||this;return n._activeGeometry=null,n._activeVao=null,n.hasVao=!0,n.hasInstance=!0,n.canUseUInt32ElementIndex=!1,n.managedGeometries={},n.managedBuffers={},n}return vp(e,t),e.prototype.contextChange=function(){this.disposeAll(!0);var t=this.gl=this.renderer.gl,e=this.renderer.context;if(this.CONTEXT_UID=this.renderer.CONTEXT_UID,2!==e.webGLVersion){var n=this.renderer.context.extensions.vertexArrayObject;If.PREFER_ENV===df.WEBGL_LEGACY&&(n=null),n?(t.createVertexArray=function(){return n.createVertexArrayOES()},t.bindVertexArray=function(t){return n.bindVertexArrayOES(t)},t.deleteVertexArray=function(t){return n.deleteVertexArrayOES(t)}):(this.hasVao=!1,t.createVertexArray=function(){return null},t.bindVertexArray=function(){return null},t.deleteVertexArray=function(){return null})}if(2!==e.webGLVersion){var r=t.getExtension("ANGLE_instanced_arrays");r?(t.vertexAttribDivisor=function(t,e){return r.vertexAttribDivisorANGLE(t,e)},t.drawElementsInstanced=function(t,e,n,i,o){return r.drawElementsInstancedANGLE(t,e,n,i,o)},t.drawArraysInstanced=function(t,e,n,i){return r.drawArraysInstancedANGLE(t,e,n,i)}):this.hasInstance=!1}this.canUseUInt32ElementIndex=2===e.webGLVersion||!!e.extensions.uint32ElementIndex},e.prototype.bind=function(t,e){e=e||this.renderer.shader.shader;var n=this.gl,r=t.glVertexArrayObjects[this.CONTEXT_UID],i=!1;r||(this.managedGeometries[t.id]=t,t.disposeRunner.add(this),t.glVertexArrayObjects[this.CONTEXT_UID]=r={},i=!0);var o=r[e.program.id]||this.initGeometryVao(t,e.program,i);this._activeGeometry=t,this._activeVao!==o&&(this._activeVao=o,this.hasVao?n.bindVertexArray(o):this.activateVao(t,e.program)),this.updateBuffers()},e.prototype.reset=function(){this.unbind()},e.prototype.updateBuffers=function(){for(var t=this._activeGeometry,e=this.gl,n=0;n<t.buffers.length;n++){var r=t.buffers[n],i=r._glBuffers[this.CONTEXT_UID];if(r._updateID!==i.updateID){i.updateID=r._updateID;var o=r.index?e.ELEMENT_ARRAY_BUFFER:e.ARRAY_BUFFER;if(e.bindBuffer(o,i.buffer),this._boundBuffer=i,i.byteLength>=r.data.byteLength)e.bufferSubData(o,0,r.data);else{var s=r.static?e.STATIC_DRAW:e.DYNAMIC_DRAW;i.byteLength=r.data.byteLength,e.bufferData(o,r.data,s)}}}},e.prototype.checkCompatibility=function(t,e){var n=t.attributes,r=e.attributeData;for(var i in r)if(!n[i])throw new Error('shader and geometry incompatible, geometry missing the "'+i+'" attribute')},e.prototype.getSignature=function(t,e){var n=t.attributes,r=e.attributeData,i=["g",t.id];for(var o in n)r[o]&&i.push(o);return i.join("-")},e.prototype.initGeometryVao=function(t,e,n){void 0===n&&(n=!0),this.checkCompatibility(t,e);var r=this.gl,i=this.CONTEXT_UID,o=this.getSignature(t,e),s=t.glVertexArrayObjects[this.CONTEXT_UID],a=s[o];if(a)return s[e.id]=a,a;var u=t.buffers,l=t.attributes,c={},h={};for(var f in u)c[f]=0,h[f]=0;for(var f in l)!l[f].size&&e.attributeData[f]?l[f].size=e.attributeData[f].size:l[f].size||console.warn("PIXI Geometry attribute '"+f+"' size cannot be determined (likely the bound shader does not have the attribute)"),c[l[f].buffer]+=l[f].size*hv[l[f].type];for(var f in l){var d=l[f],p=d.size;
2void 0===d.stride&&(c[d.buffer]===p*hv[d.type]?d.stride=0:d.stride=c[d.buffer]),void 0===d.start&&(d.start=h[d.buffer],h[d.buffer]+=p*hv[d.type])}a=r.createVertexArray(),r.bindVertexArray(a);for(var v=0;v<u.length;v++){var m=u[v];m._glBuffers[i]||(m._glBuffers[i]=new cv(r.createBuffer()),this.managedBuffers[m.id]=m,m.disposeRunner.add(this)),n&&m._glBuffers[i].refCount++}return this.activateVao(t,e),this._activeVao=a,s[e.id]=a,s[o]=a,a},e.prototype.disposeBuffer=function(t,e){if(this.managedBuffers[t.id]){delete this.managedBuffers[t.id];var n=t._glBuffers[this.CONTEXT_UID],r=this.gl;t.disposeRunner.remove(this),n&&(e||r.deleteBuffer(n.buffer),delete t._glBuffers[this.CONTEXT_UID])}},e.prototype.disposeGeometry=function(t,e){if(this.managedGeometries[t.id]){delete this.managedGeometries[t.id];var n=t.glVertexArrayObjects[this.CONTEXT_UID],r=this.gl,i=t.buffers;if(t.disposeRunner.remove(this),n){for(var o=0;o<i.length;o++){var s=i[o]._glBuffers[this.CONTEXT_UID];s.refCount--,0!==s.refCount||e||this.disposeBuffer(i[o],e)}if(!e)for(var a in n)if("g"===a[0]){var u=n[a];this._activeVao===u&&this.unbind(),r.deleteVertexArray(u)}delete t.glVertexArrayObjects[this.CONTEXT_UID]}}},e.prototype.disposeAll=function(t){for(var e=Object.keys(this.managedGeometries),n=0;n<e.length;n++)this.disposeGeometry(this.managedGeometries[e[n]],t);e=Object.keys(this.managedBuffers);for(n=0;n<e.length;n++)this.disposeBuffer(this.managedBuffers[e[n]],t)},e.prototype.activateVao=function(t,e){var n=this.gl,r=this.CONTEXT_UID,i=t.buffers,o=t.attributes;t.indexBuffer&&n.bindBuffer(n.ELEMENT_ARRAY_BUFFER,t.indexBuffer._glBuffers[r].buffer);var s=null;for(var a in o){var u=o[a],l=i[u.buffer]._glBuffers[r];if(e.attributeData[a]){s!==l&&(n.bindBuffer(n.ARRAY_BUFFER,l.buffer),s=l);var c=e.attributeData[a].location;if(n.enableVertexAttribArray(c),n.vertexAttribPointer(c,u.size,u.type||n.FLOAT,u.normalized,u.stride,u.start),u.instance){if(!this.hasInstance)throw new Error("geometry error, GPU Instancing is not supported on this device");n.vertexAttribDivisor(c,1)}}}},e.prototype.draw=function(t,e,n,r){var i=this.gl,o=this._activeGeometry;if(o.indexBuffer){var s=o.indexBuffer.data.BYTES_PER_ELEMENT,a=2===s?i.UNSIGNED_SHORT:i.UNSIGNED_INT;2===s||4===s&&this.canUseUInt32ElementIndex?o.instanced?i.drawElementsInstanced(t,e||o.indexBuffer.data.length,a,(n||0)*s,r||1):i.drawElements(t,e||o.indexBuffer.data.length,a,(n||0)*s):console.warn("unsupported index buffer type: uint32")}else o.instanced?i.drawArraysInstanced(t,n,e||o.getSize(),r||1):i.drawArrays(t,n,e||o.getSize());return this},e.prototype.unbind=function(){this.gl.bindVertexArray(null),this._activeVao=null,this._activeGeometry=null},e}(Cp),dv=function(){function t(t){void 0===t&&(t=null),this.type=Pf.NONE,this.autoDetect=!0,this.maskObject=t||null,this.pooled=!1,this.isMaskData=!0,this._stencilCounter=0,this._scissorCounter=0,this._scissorRect=null,this._target=null}return t.prototype.reset=function(){this.pooled&&(this.maskObject=null,this.type=Pf.NONE,this.autoDetect=!0),this._target=null},t.prototype.copyCountersOrReset=function(t){t?(this._stencilCounter=t._stencilCounter,this._scissorCounter=t._scissorCounter,this._scissorRect=t._scissorRect):(this._stencilCounter=0,this._scissorCounter=0,this._scissorRect=null)},t}();function pv(t,e,n){var r=t.createShader(e);return t.shaderSource(r,n),t.compileShader(r),r}function vv(t,e,n,r){var i=pv(t,t.VERTEX_SHADER,e),o=pv(t,t.FRAGMENT_SHADER,n),s=t.createProgram();if(t.attachShader(s,i),t.attachShader(s,o),r)for(var a in r)t.bindAttribLocation(s,r[a],a);return t.linkProgram(s),t.getProgramParameter(s,t.LINK_STATUS)||(t.getShaderParameter(i,t.COMPILE_STATUS)||(console.warn(e),console.error(t.getShaderInfoLog(i))),t.getShaderParameter(o,t.COMPILE_STATUS)||(console.warn(n),console.error(t.getShaderInfoLog(o))),console.error("Pixi.js Error: Could not initialize shader."),console.error("gl.VALIDATE_STATUS",t.getProgramParameter(s,t.VALIDATE_STATUS)),console.error("gl.getError()",t.getError()),""!==t.getProgramInfoLog(s)&&console.warn("Pixi.js Warning: gl.getProgramInfoLog()",t.getProgramInfoLog(s)),t.deleteProgram(s),s=null),t.deleteShader(i),t.deleteShader(o),s}function mv(t){for(var e=new Array(t),n=0;n<e.length;n++)e[n]=!1;return e}
2function gv(t,e){switch(t){case"float":return 0;case"vec2":return new Float32Array(2*e);case"vec3":return new Float32Array(3*e);case"vec4":return new Float32Array(4*e);case"int":case"uint":case"sampler2D":case"sampler2DArray":return 0;case"ivec2":return new Int32Array(2*e);case"ivec3":return new Int32Array(3*e);case"ivec4":return new Int32Array(4*e);case"uvec2":return new Uint32Array(2*e);case"uvec3":return new Uint32Array(3*e);case"uvec4":return new Uint32Array(4*e);case"bool":return!1;case"bvec2":return mv(2*e);case"bvec3":return mv(3*e);case"bvec4":return mv(4*e);case"mat2":return new Float32Array([1,0,0,1]);case"mat3":return new Float32Array([1,0,0,0,1,0,0,0,1]);case"mat4":return new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])}return null}var yv,_v={},bv=_v;function xv(){if(bv===_v||bv&&bv.isContextLost()){var t=document.createElement("canvas"),e=void 0;If.PREFER_ENV>=df.WEBGL2&&(e=t.getContext("webgl2",{})),e||((e=t.getContext("webgl",{})||t.getContext("experimental-webgl",{}))?e.getExtension("WEBGL_draw_buffers"):e=null),bv=e}return bv}function Tv(t,e,n){if("precision"!==t.substring(0,9)){var r=e;return e===Rf.HIGH&&n!==Rf.HIGH&&(r=Rf.MEDIUM),"precision "+r+" float;\n"+t}return n!==Rf.HIGH&&"precision highp"===t.substring(0,15)?t.replace("precision highp","precision mediump"):t}var Ev={float:1,vec2:2,vec3:3,vec4:4,int:1,ivec2:2,ivec3:3,ivec4:4,uint:1,uvec2:2,uvec3:3,uvec4:4,bool:1,bvec2:2,bvec3:3,bvec4:4,mat2:4,mat3:9,mat4:16,sampler2D:1};function wv(t){return Ev[t]}var Sv=null,Av={FLOAT:"float",FLOAT_VEC2:"vec2",FLOAT_VEC3:"vec3",FLOAT_VEC4:"vec4",INT:"int",INT_VEC2:"ivec2",INT_VEC3:"ivec3",INT_VEC4:"ivec4",UNSIGNED_INT:"uint",UNSIGNED_INT_VEC2:"uvec2",UNSIGNED_INT_VEC3:"uvec3",UNSIGNED_INT_VEC4:"uvec4",BOOL:"bool",BOOL_VEC2:"bvec2",BOOL_VEC3:"bvec3",BOOL_VEC4:"bvec4",FLOAT_MAT2:"mat2",FLOAT_MAT3:"mat3",FLOAT_MAT4:"mat4",SAMPLER_2D:"sampler2D",INT_SAMPLER_2D:"sampler2D",UNSIGNED_INT_SAMPLER_2D:"sampler2D",SAMPLER_CUBE:"samplerCube",INT_SAMPLER_CUBE:"samplerCube",UNSIGNED_INT_SAMPLER_CUBE:"samplerCube",SAMPLER_2D_ARRAY:"sampler2DArray",INT_SAMPLER_2D_ARRAY:"sampler2DArray",UNSIGNED_INT_SAMPLER_2D_ARRAY:"sampler2DArray"};function Ov(t,e){if(!Sv){var n=Object.keys(Av);Sv={};for(var r=0;r<n.length;++r){var i=n[r];Sv[t[i]]=Av[i]}}return Sv[e]}var Rv=[{test:function(t){return"float"===t.type&&1===t.size},code:function(t){return'\n            if(uv["'+t+'"] !== ud["'+t+'"].value)\n            {\n                ud["'+t+'"].value = uv["'+t+'"]\n                gl.uniform1f(ud["'+t+'"].location, uv["'+t+'"])\n            }\n            '}},{test:function(t){return("sampler2D"===t.type||"samplerCube"===t.type||"sampler2DArray"===t.type)&&1===t.size&&!t.isArray},code:function(t){return't = syncData.textureCount++;\n\n            renderer.texture.bind(uv["'+t+'"], t);\n\n            if(ud["'+t+'"].value !== t)\n            {\n                ud["'+t+'"].value = t;\n                gl.uniform1i(ud["'+t+'"].location, t);\n; // eslint-disable-line max-len\n            }'}},{test:function(t,e){return"mat3"===t.type&&1===t.size&&void 0!==e.a},code:function(t){return'\n            gl.uniformMatrix3fv(ud["'+t+'"].location, false, uv["'+t+'"].toArray(true));\n            '}},{test:function(t,e){return"vec2"===t.type&&1===t.size&&void 0!==e.x},code:function(t){return'\n                cv = ud["'+t+'"].value;\n                v = uv["'+t+'"];\n\n                if(cv[0] !== v.x || cv[1] !== v.y)\n                {\n                    cv[0] = v.x;\n                    cv[1] = v.y;\n                    gl.uniform2f(ud["'+t+'"].location, v.x, v.y);\n                }'}},{test:function(t){return"vec2"===t.type&&1===t.size},code:function(t){return'\n                cv = ud["'+t+'"].value;\n                v = uv["'+t+'"];\n\n                if(cv[0] !== v[0] || cv[1] !== v[1])\n                {\n                    cv[0] = v[0];\n                    cv[1] = v[1];\n                    gl.uniform2f(ud["'+t+'"].location, v[0], v[1]);\n                }\n            '}},{test:function(t,e){return"vec4"===t.type&&1===t.size&&void 0!==e.width},code:function(t){return'\n                cv = ud["'+t+'"].value;\n                v = uv["'+t+'"];\n\n                if(cv[0] !== v.x || cv[1] !== v.y || cv[2] !== v.width || cv[3] !== v.height)\n                {\n                    cv[0] = v.x;\n                    cv[1] = v.y;\n                    cv[2] = v.width;\n                    cv[3] = v.height;\n                    gl.uniform4f(ud["'+t+'"].location, v.x, v.y, v.width, v.height)\n                }'}},{test:function(t){return"vec4"===t.type&&1===t.size},code:function(t){return'\n                cv = ud["'+t+'"].value;\n                v = uv["'+t+'"];\n\n                if(cv[0] !== v[0] || cv[1] !== v[1] || cv[2] !== v[2] || cv[3] !== v[3])\n                {\n                    cv[0] = v[0];\n                    cv[1] = v[1];\n                    cv[2] = v[2];\n                    cv[3] = v[3];\n\n                    gl.uniform4f(ud["'+t+'"].location, v[0], v[1], v[2], v[3])\n                }'}}],Pv={float:"\n    if(cv !== v)\n    {\n        cv.v = v;\n        gl.uniform1f(location, v)\n    }",vec2:"\n    if(cv[0] !== v[0] || cv[1] !== v[1])\n    {\n        cv[0] = v[0];\n        cv[1] = v[1];\n        gl.uniform2f(location, v[0], v[1])\n    }",vec3:"\n    if(cv[0] !== v[0] || cv[1] !== v[1] || cv[2] !== v[2])\n    {\n        cv[0] = v[0];\n        cv[1] = v[1];\n        cv[2] = v[2];\n\n        gl.uniform3f(location, v[0], v[1], v[2])\n    }",vec4:"gl.uniform4f(location, v[0], v[1], v[2], v[3])",int:"gl.uniform1i(location, v)",ivec2:"gl.uniform2i(location, v[0], v[1])",ivec3:"gl.uniform3i(location, v[0], v[1], v[2])",ivec4:"gl.uniform4i(location, v[0], v[1], v[2], v[3])",uint:"gl.uniform1ui(location, v)",uvec2:"gl.uniform2ui(location, v[0], v[1])",uvec3:"gl.uniform3ui(location, v[0], v[1], v[2])",uvec4:"gl.uniform4ui(location, v[0], v[1], v[2], v[3])",bool:"gl.uniform1i(location, v)",bvec2:"gl.uniform2i(location, v[0], v[1])",bvec3:"gl.uniform3i(location, v[0], v[1], v[2])",bvec4:"gl.uniform4i(location, v[0], v[1], v[2], v[3])",mat2:"gl.uniformMatrix2fv(location, false, v)",mat3:"gl.uniformMatrix3fv(location, false, v)",mat4:"gl.uniformMatrix4fv(location, false, v)",sampler2D:"gl.uniform1i(location, v)",samplerCube:"gl.uniform1i(location, v)",sampler2DArray:"gl.uniform1i(location, v)"},Cv={float:"gl.uniform1fv(location, v)",vec2:"gl.uniform2fv(location, v)",vec3:"gl.uniform3fv(location, v)",vec4:"gl.uniform4fv(location, v)",mat4:"gl.uniformMatrix4fv(location, false, v)",mat3:"gl.uniformMatrix3fv(location, false, v)",mat2:"gl.uniformMatrix2fv(location, false, v)",int:"gl.uniform1iv(location, v)",ivec2:"gl.uniform2iv(location, v)",ivec3:"gl.uniform3iv(location, v)",ivec4:"gl.uniform4iv(location, v)",uint:"gl.uniform1uiv(location, v)",uvec2:"gl.uniform2uiv(location, v)",uvec3:"gl.uniform3uiv(location, v)",uvec4:"gl.uniform4uiv(location, v)",bool:"gl.uniform1iv(location, v)",bvec2:"gl.uniform2iv(location, v)",bvec3:"gl.uniform3iv(location, v)",bvec4:"gl.uniform4iv(location, v)",sampler2D:"gl.uniform1iv(location, v)",samplerCube:"gl.uniform1iv(location, v)",sampler2DArray:"gl.uniform1iv(location, v)"};var Iv,Mv=["precision mediump float;","void main(void){","float test = 0.1;","%forloop%","gl_FragColor = vec4(0.0);","}"].join("\n");function Dv(t){for(var e="",n=0;n<t;++n)n>0&&(e+="\nelse "),n<t-1&&(e+="if(test == "+n+".0){}");return e}var Lv=0,Nv={},kv=function(){function t(e,n,r){void 0===r&&(r="pixi-shader"),this.id=Lv++,this.vertexSrc=e||t.defaultVertexSrc,this.fragmentSrc=n||t.defaultFragmentSrc,this.vertexSrc=this.vertexSrc.trim(),this.fragmentSrc=this.fragmentSrc.trim(),"#version"!==this.vertexSrc.substring(0,8)&&(r=r.replace(/\s+/g,"-"),Nv[r]?(Nv[r]++,r+="-"+Nv[r]):Nv[r]=1,this.vertexSrc="#define SHADER_NAME "+r+"\n"+this.vertexSrc,this.fragmentSrc="#define SHADER_NAME "+r+"\n"+this.fragmentSrc,this.vertexSrc=Tv(this.vertexSrc,If.PRECISION_VERTEX,Rf.HIGH),this.fragmentSrc=Tv(this.fragmentSrc,If.PRECISION_FRAGMENT,function(){if(!yv){yv=Rf.MEDIUM;var t=xv();if(t&&t.getShaderPrecisionFormat){var e=t.getShaderPrecisionFormat(t.FRAGMENT_SHADER,t.HIGH_FLOAT);yv=e.precision?Rf.HIGH:Rf.MEDIUM}}return yv}())),this.extractData(this.vertexSrc,this.fragmentSrc),this.glPrograms={},this.syncUniforms=null}return t.prototype.extractData=function(t,e){var n=xv();if(n){var r=vv(n,t,e);this.attributeData=this.getAttributeData(r,n),this.uniformData=this.getUniformData(r,n),n.deleteProgram(r)}else this.uniformData={},this.attributeData={}},t.prototype.getAttributeData=function(t,e){for(var n={},r=[],i=e.getProgramParameter(t,e.ACTIVE_ATTRIBUTES),o=0;o<i;o++){var s=e.getActiveAttrib(t,o),a=Ov(e,s.type),u={type:a,name:s.name,size:wv(a),location:0};n[s.name]=u,r.push(u)}r.sort((function(t,e){return t.name>e.name?1:-1}));for(o=0;o<r.length;o++)r[o].location=o;return n},t.prototype.getUniformData=function(t,e){for(var n={},r=e.getProgramParameter(t,e.ACTIVE_UNIFORMS),i=0;i<r;i++){var o=e.getActiveUniform(t,i),s=o.name.replace(/\[.*?\]$/,""),a=o.name.match(/\[.*?\]$/),u=Ov(e,o.type);n[s]={type:u,size:o.size,isArray:a,value:gv(u,o.size)}}return n},Object.defineProperty(t,"defaultVertexSrc",{get:function(){return"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void){\n   gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0
2)).xy, 0.0, 1.0);\n   vTextureCoord = aTextureCoord;\n}\n"},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultFragmentSrc",{get:function(){return"varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\n\nvoid main(void){\n   gl_FragColor *= texture2D(uSampler, vTextureCoord);\n}"},enumerable:!1,configurable:!0}),t.from=function(e,n,r){var i=e+n,o=fd[i];return o||(fd[i]=o=new t(e,n,r)),o},t}(),Fv=function(){function t(t,e){for(var n in this.program=t,this.uniformGroup=e?e instanceof Jp?e:new Jp(e):new Jp({}),t.uniformData)this.uniformGroup.uniforms[n]instanceof Array&&(this.uniformGroup.uniforms[n]=new Float32Array(this.uniformGroup.uniforms[n]))}return t.prototype.checkUniformExists=function(t,e){if(e.uniforms[t])return!0;for(var n in e.uniforms){var r=e.uniforms[n];if(r.group&&this.checkUniformExists(t,r))return!0}return!1},t.prototype.destroy=function(){this.uniformGroup=null},Object.defineProperty(t.prototype,"uniforms",{get:function(){return this.uniformGroup.uniforms},enumerable:!1,configurable:!0}),t.from=function(e,n,r){return new t(kv.from(e,n),r)},t}(),Bv=function(){function t(){this.data=0,this.blendMode=mf.NORMAL,this.polygonOffset=0,this.blend=!0,this.depthMask=!0}return Object.defineProperty(t.prototype,"blend",{get:function(){return!!(1&this.data)},set:function(t){!!(1&this.data)!==t&&(this.data^=1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"offsets",{get:function(){return!!(2&this.data)},set:function(t){!!(2&this.data)!==t&&(this.data^=2)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"culling",{get:function(){return!!(4&this.data)},set:function(t){!!(4&this.data)!==t&&(this.data^=4)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"depthTest",{get:function(){return!!(8&this.data)},set:function(t){!!(8&this.data)!==t&&(this.data^=8)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"depthMask",{get:function(){return!!(32&this.data)},set:function(t){!!(32&this.data)!==t&&(this.data^=32)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clockwiseFrontFace",{get:function(){return!!(16&this.data)},set:function(t){!!(16&this.data)!==t&&(this.data^=16)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"blendMode",{get:function(){return this._blendMode},set:function(t){this.blend=t!==mf.NONE,this._blendMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"polygonOffset",{get:function(){return this._polygonOffset},set:function(t){this.offsets=!!t,this._polygonOffset=t},enumerable:!1,configurable:!0}),t.prototype.toString=function(){return"[@pixi/core:State blendMode="+this.blendMode+" clockwiseFrontFace="+this.clockwiseFrontFace+" culling="+this.culling+" depthMask="+this.depthMask+" polygonOffset="+this.polygonOffset+"]"},t.for2d=function(){var e=new t;return e.depthTest=!1,e.blend=!0,e},t}(),Uv=function(t){function e(n,r,i){var o=this,s=kv.from(n||e.defaultVertexSrc,r||e.defaultFragmentSrc);return(o=t.call(this,s,i)||this).padding=0,o.resolution=If.FILTER_RESOLUTION,o.enabled=!0,o.autoFit=!0,o.legacy=!!o.program.attributeData.aTextureCoord,o.state=new Bv,o}return vp(e,t),e.prototype.apply=function(t,e,n,r,i){t.applyFilter(this,e,n,r)},Object.defineProperty(e.prototype,"blendMode",{get:function(){return this.state.blendMode},set:function(t){this.state.blendMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultVertexSrc",{get:function(){return"attribute vec2 aVertexPosition;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nuniform vec4 inputSize;\nuniform vec4 outputFrame;\n\nvec4 filterVertexPosition( void )\n{\n    vec2 position = aVertexPosition * max(outputFrame.zw, vec2(0.)) + outputFrame.xy;\n\n    return vec4((projectionMatrix * vec3(position, 1.0)).xy, 0.0, 1.0);\n}\n\nvec2 filterTextureCoord( void )\n{\n    return aVertexPosition * (outputFrame.zw * inputSize.zw);\n}\n\nvoid main(void)\n{\n    gl_Position = filterVertexPosition();\n    vTextureCoord = filterTextureCoord();\n}\n"},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultFragmentSrc",{get:function(){return"varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\n\nvoid main(void){\n   gl_FragColor = texture2D(uSampler, vTextureCoord);\n}\n"}
2,enumerable:!1,configurable:!0}),e}(Fv),Gv=new Nd,Xv=function(){function t(t,e){this._texture=t,this.mapCoord=new Nd,this.uClampFrame=new Float32Array(4),this.uClampOffset=new Float32Array(2),this._textureID=-1,this._updateID=0,this.clampOffset=0,this.clampMargin=void 0===e?.5:e,this.isSimple=!1}return Object.defineProperty(t.prototype,"texture",{get:function(){return this._texture},set:function(t){this._texture=t,this._textureID=-1},enumerable:!1,configurable:!0}),t.prototype.multiplyUvs=function(t,e){void 0===e&&(e=t);for(var n=this.mapCoord,r=0;r<t.length;r+=2){var i=t[r],o=t[r+1];e[r]=i*n.a+o*n.c+n.tx,e[r+1]=i*n.b+o*n.d+n.ty}return e},t.prototype.update=function(t){var e=this._texture;if(!e||!e.valid)return!1;if(!t&&this._textureID===e._updateID)return!1;this._textureID=e._updateID,this._updateID++;var n=e._uvs;this.mapCoord.set(n.x1-n.x0,n.y1-n.y0,n.x3-n.x0,n.y3-n.y0,n.x0,n.y0);var r=e.orig,i=e.trim;i&&(Gv.set(r.width/i.width,0,0,r.height/i.height,-i.x/i.width,-i.y/i.height),this.mapCoord.append(Gv));var o=e.baseTexture,s=this.uClampFrame,a=this.clampMargin/o.resolution,u=this.clampOffset;return s[0]=(e._frame.x+a+u)/o.width,s[1]=(e._frame.y+a+u)/o.height,s[2]=(e._frame.x+e._frame.width-a+u)/o.width,s[3]=(e._frame.y+e._frame.height-a+u)/o.height,this.uClampOffset[0]=u/o.realWidth,this.uClampOffset[1]=u/o.realHeight,this.isSimple=e._frame.width===o.width&&e._frame.height===o.height&&0===e.rotate,!0},t}(),jv=function(t){function e(e){var n=this,r=new Nd;return n=t.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\nuniform mat3 otherMatrix;\n\nvarying vec2 vMaskCoord;\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n    gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0
2)).xy, 0.0, 1.0);\n\n    vTextureCoord = aTextureCoord;\n    vMaskCoord = ( otherMatrix * vec3( aTextureCoord, 1.0)  ).xy;\n}\n","varying vec2 vMaskCoord;\nvarying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform sampler2D mask;\nuniform float alpha;\nuniform float npmAlpha;\nuniform vec4 maskClamp;\n\nvoid main(void)\n{\n    float clip = step(3.5,\n        step(maskClamp.x, vMaskCoord.x) +\n        step(maskClamp.y, vMaskCoord.y) +\n        step(vMaskCoord.x, maskClamp.z) +\n        step(vMaskCoord.y, maskClamp.w));\n\n    vec4 original = texture2D(uSampler, vTextureCoord);\n    vec4 masky = texture2D(mask, vMaskCoord);\n    float alphaMul = 1.0 - npmAlpha * (1.0 - masky.a);\n\n    original *= (alphaMul * masky.r * alpha * clip);\n\n    gl_FragColor = original;\n}\n")||this,e.renderable=!1,n.maskSprite=e,n.maskMatrix=r,n}return vp(e,t),e.prototype.apply=function(t,e,n,r){var i=this.maskSprite,o=i._texture;o.valid&&(o.uvMatrix||(o.uvMatrix=new Xv(o,0)),o.uvMatrix.update(),this.uniforms.npmAlpha=o.baseTexture.alphaMode?0:1,this.uniforms.mask=o,this.uniforms.otherMatrix=t.calculateSpriteMatrix(this.maskMatrix,i).prepend(o.uvMatrix.mapCoord),this.uniforms.alpha=i.worldAlpha,this.uniforms.maskClamp=o.uvMatrix.uClampFrame,t.applyFilter(this,e,n,r))},e}(Uv),Hv=function(t){function e(e){var n=t.call(this,e)||this;return n.enableScissor=!0,n.alphaMaskPool=[],n.maskDataPool=[],n.maskStack=[],n.alphaMaskIndex=0,n}return vp(e,t),e.prototype.setMaskStack=function(t){this.maskStack=t,this.renderer.scissor.setMaskStack(t),this.renderer.stencil.setMaskStack(t)},e.prototype.push=function(t,e){var n=e;if(!n.isMaskData){var r=this.maskDataPool.pop()||new dv;r.pooled=!0,r.maskObject=e,n=r}switch(n.autoDetect&&this.detect(n),n.copyCountersOrReset(this.maskStack[this.maskStack.length-1]),n._target=t,n.type){case Pf.SCISSOR:this.maskStack.push(n),this.renderer.scissor.push(n);break;case Pf.STENCIL:this.maskStack.push(n),this.renderer.stencil.push(n);break;case Pf.SPRITE:n.copyCountersOrReset(null),this.pushSpriteMask(n),this.maskStack.push(n)}},e.prototype.pop=function(t){var e=this.maskStack.pop();if(e&&e._target===t){switch(e.type){case Pf.SCISSOR:this.renderer.scissor.pop();break;case Pf.STENCIL:this.renderer.stencil.pop(e.maskObject);break;case Pf.SPRITE:this.popSpriteMask()}e.reset(),e.pooled&&this.maskDataPool.push(e)}},e.prototype.detect=function(t){var e=t.maskObject;if(e.isSprite)t.type=Pf.SPRITE;else if(t.type=Pf.STENCIL,this.enableScissor&&e.isFastRect&&e.isFastRect()){var n=e.worldTransform,r=Math.atan2(n.b,n.a),i=Math.atan2(n.d,n.c);r=Math.round(r*(180/Math.PI)*100),i=((i=Math.round(i*(180/Math.PI)*100)-r)%18e3+18e3)%18e3,0===(r=(r%9e3+9e3)%9e3)&&9e3===i&&(t.type=Pf.SCISSOR)}},e.prototype.pushSpriteMask=function(t){var e=t.maskObject,n=t._target,r=this.alphaMaskPool[this.alphaMaskIndex];r||(r=this.alphaMaskPool[this.alphaMaskIndex]=[new jv(e)]),r[0].resolution=this.renderer.resolution,r[0].maskSprite=e;var i=n.filterArea;n.filterArea=e.getBounds(!0),this.renderer.filter.push(n,r),n.filterArea=i,this.alphaMaskIndex++},e.prototype.popSpriteMask=function(){this.renderer.filter.pop(),this.alphaMaskIndex--},e}(Cp),zv=function(t){function e(e){var n=t.call(this,e)||this;return n.maskStack=[],n.glConst=0,n}return vp(e,t),e.prototype.getStackLength=function(){return this.maskStack.length},e.prototype.setMaskStack=function(t){var e=this.renderer.gl,n=this.getStackLength();this.maskStack=t;var r=this.getStackLength();r!==n&&(0===r?e.disable(this.glConst):(e.enable(this.glConst),this._useCurrent()))},e.prototype._useCurrent=function(){},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.maskStack=null},e}(Cp),Yv=function(t){function e(e){var n=t.call(this,e)||this;return n.glConst=WebGLRenderingContext.SCISSOR_TEST,n}return vp(e,t),e.prototype.getStackLength=function(){var t=this.maskStack[this.maskStack.length-1];return t?t._scissorCounter:0},e.prototype.push=function(t){var e=t.maskObject;e.renderable=!0;var n=t._scissorRect,r=e.getBounds(!0),i=this.renderer.gl;e.renderable=!1,n?r.fit(n):i.enable(i.SCISSOR_TEST),t._scissorCounter++,t._scissorRect=r,this._useCurrent()},e.prototype.pop=function(){var t=this.renderer.gl;
2this.getStackLength()>0?this._useCurrent():t.disable(t.SCISSOR_TEST)},e.prototype._useCurrent=function(){var t=this.maskStack[this.maskStack.length-1]._scissorRect,e=this.renderer.renderTexture.current,n=this.renderer.projection,r=n.transform,i=n.sourceFrame,o=n.destinationFrame,s=e?e.resolution:this.renderer.resolution,a=o.width/i.width,u=o.height/i.height,l=((t.x-i.x)*a+o.x)*s,c=((t.y-i.y)*u+o.y)*s,h=t.width*a*s,f=t.height*u*s;r&&(l+=r.tx*s,c+=r.ty*s),e||(c=this.renderer.height-f-c),this.renderer.gl.scissor(l,c,h,f)},e}(zv),Vv=function(t){function e(e){var n=t.call(this,e)||this;return n.glConst=WebGLRenderingContext.STENCIL_TEST,n}return vp(e,t),e.prototype.getStackLength=function(){var t=this.maskStack[this.maskStack.length-1];return t?t._stencilCounter:0},e.prototype.push=function(t){var e=t.maskObject,n=this.renderer.gl,r=t._stencilCounter;0===r&&(this.renderer.framebuffer.forceStencil(),n.enable(n.STENCIL_TEST)),t._stencilCounter++,n.colorMask(!1,!1,!1,!1),n.stencilFunc(n.EQUAL,r,this._getBitwiseMask()),n.stencilOp(n.KEEP,n.KEEP,n.INCR),e.renderable=!0,e.render(this.renderer),this.renderer.batch.flush(),this.renderer.framebuffer.blit(),e.renderable=!1,this._useCurrent()},e.prototype.pop=function(t){var e=this.renderer.gl;0===this.getStackLength()?(e.disable(e.STENCIL_TEST),e.clear(e.STENCIL_BUFFER_BIT),e.clearStencil(0)):(e.colorMask(!1,!1,!1,!1),e.stencilOp(e.KEEP,e.KEEP,e.DECR),t.renderable=!0,t.render(this.renderer),this.renderer.batch.flush(),t.renderable=!1,this._useCurrent())},e.prototype._useCurrent=function(){var t=this.renderer.gl;t.colorMask(!0,!0,!0,!0),t.stencilFunc(t.EQUAL,this.getStackLength(),this._getBitwiseMask()),t.stencilOp(t.KEEP,t.KEEP,t.KEEP)},e.prototype._getBitwiseMask=function(){return(1<<this.getStackLength())-1},e}(zv),$v=function(t){function e(e){var n=t.call(this,e)||this;return n.destinationFrame=null,n.sourceFrame=null,n.defaultFrame=null,n.projectionMatrix=new Nd,n.transform=null,n}return vp(e,t),e.prototype.update=function(t,e,n,r){this.destinationFrame=t||this.destinationFrame||this.defaultFrame,this.sourceFrame=e||this.sourceFrame||t,this.calculateProjection(this.destinationFrame,this.sourceFrame,n,r),this.transform&&this.projectionMatrix.append(this.transform);var i=this.renderer;i.globalUniforms.uniforms.projectionMatrix=this.projectionMatrix,i.globalUniforms.update(),i.shader.shader&&i.shader.syncUniformGroup(i.shader.shader.uniforms.globals)},e.prototype.calculateProjection=function(t,e,n,r){var i=this.projectionMatrix,o=r?-1:1;i.identity(),i.a=1/e.width*2,i.d=o*(1/e.height*2),i.tx=-1-e.x*i.a,i.ty=-o-e.y*i.d},e.prototype.setTransform=function(t){},e}(Cp),Wv=new Rd,qv=new Rd,Zv=function(t){function e(e){var n=t.call(this,e)||this;return n.clearColor=e._backgroundColorRgba,n.defaultMaskStack=[],n.current=null,n.sourceFrame=new Rd,n.destinationFrame=new Rd,n.viewportFrame=new Rd,n}return vp(e,t),e.prototype.bind=function(t,e,n){void 0===t&&(t=null);var r,i,o,s=this.renderer;this.current=t,t?(o=(r=t.baseTexture).resolution,e||(Wv.width=t.frame.width,Wv.height=t.frame.height,e=Wv),n||(qv.x=t.frame.x,qv.y=t.frame.y,qv.width=e.width,qv.height=e.height,n=qv),i=r.framebuffer):(o=s.resolution,e||(Wv.width=s.screen.width,Wv.height=s.screen.height,e=Wv),n||((n=Wv).width=e.width,n.height=e.height));var a=this.viewportFrame;a.x=n.x*o,a.y=n.y*o,a.width=n.width*o,a.height=n.height*o,t||(a.y=s.view.height-(a.y+a.height)),this.renderer.framebuffer.bind(i,a),this.renderer.projection.update(n,e,o,!i),t?this.renderer.mask.setMaskStack(r.maskStack):this.renderer.mask.setMaskStack(this.defaultMaskStack),this.sourceFrame.copyFrom(e),this.destinationFrame.copyFrom(n)},e.prototype.clear=function(t,e){t=this.current?t||this.current.baseTexture.clearColor:t||this.clearColor;var n=this.destinationFrame,r=this.current?this.current.baseTexture:this.renderer.screen,i=n.width!==r.width||n.height!==r.height;if(i){var o=this.viewportFrame,s=o.x,a=o.y,u=o.width,l=o.height;this.renderer.gl.enable(this.renderer.gl.SCISSOR_TEST),this.renderer.gl.scissor(s,a,u,l)}this.renderer.framebuffer.clear(t[0],t[1],t[2],t[3],e),i&&this.renderer.scissor.pop()},e.prototype.resize=function(){this.bind(null)},e.prototype.reset=function(){this.bind(null)},e}(Cp),Kv=function(){function t(t,e){this.program=t,this.uniformData=e,this.uniformGroups={}}return t.prototype.destroy=function(){this.uniformData=null,this.uniformGroups=null,this.program=null},t}(),Jv=0,Qv={textureCount:0},tm=function(t){function e(e){var n=t.call(this,e)||this;return n.destroyed=!1,n.systemCheck(),n.gl=null,n.shader=null,n.program=null,n.cache={},n.id=Jv++,n}return vp(e,t),e.prototype.systemCheck=function(){if(!function(){if("boolean"==typeof Iv)return Iv;try{var t=new Function("param1","param2","param3","return param1[param2] === param3;");Iv=!0===t({a:"b"},"a","b")}catch(t){Iv=!1}return Iv}())throw new Error("Current environment does not allow unsafe-eval, please use @pixi/unsafe-eval module to enable support.")},e.prototype.contextChange=function(t){this.gl=t,this.reset()},e.prototype.bind=function(t,e){t.uniforms.globals=this.renderer.globalUniforms;var n=t.program,r=n.glPrograms[this.renderer.CONTEXT_UID]||this.generateShader(t);return this.shader=t,this.program!==n&&(this.program=n,this.gl.useProgram(r.program)),e||(Qv.textureCount=0,this.syncUniformGroup(t.uniformGroup,Qv)),r},e.prototype.setUniforms=function(t){var e=this.shader.program,n=e.glPrograms[this.renderer.CONTEXT_UID];e.syncUniforms(n.uniformData,t,this.renderer)},e.prototype.syncUniformGroup=function(t,e){var n=this.getglProgram();t.static&&t.dirtyId===n.uniformGroups[t.id]||(n.uniformGroups[t.id]=t.dirtyId,this.syncUniforms(t,n,e))},e.prototype.syncUniforms=function(t,e,n){(t.syncUniforms[this.shader.program.id]||this.createSyncGroups(t))(e.uniformData,t.uniforms,this.renderer,n)},e.prototype.createSyncGroups=function(t){var e=this.getSignature(t,this.shader.program.uniformData);return this.cache[e]||(this.cache[e]=function(t,e){var n=["\n        var v = null;\n        var cv = null\n        var t = 0;\n        var gl = renderer.gl\n    "];for(var r in t.uniforms){var i=e[r];if(i){for(var o=t.uniforms[r],s=!1,a=0;a<Rv.length;a++)if(Rv[a].test(i,o)){n.push(Rv[a].code(r,o)),s=!0;break}if(!s){var u=(1===i.size?Pv:Cv)[i.type].replace("location",'ud["'+r+'"].location');n.push('\n            cv = ud["'+r+'"].value;\n            v = uv["'+r+'"];\n            '+u+";")}}else t.uniforms[r].group&&n.push('\n                    renderer.shader.syncUniformGroup(uv["'+r+'"], syncData);\n                ')}return new Function("ud","uv","renderer","syncData",n.join("\n"))}(t,this.shader.program.uniformData)),t.syncUniforms[this.shader.program.id]=this.cache[e],t.syncUniforms[this.shader.program.id]},e.prototype.getSignature=function(t,e){var n=t.uniforms,r=[];for(var i in n)r.push(i),e[i]&&r.push(e[i].type);return r.join("-")},e.prototype.getglProgram=function(){return this.shader?this.shader.program.glPrograms[this.renderer.CONTEXT_UID]:null},e.prototype.generateShader=function(t){var e=this.gl,n=t.program,r={};for(var i in n.attributeData)r[i]=n.attributeData[i].location;var o=vv(e,n.vertexSrc,n.fragmentSrc,r),s={};for(var i in n.uniformData){var a=n.uniformData[i];s[i]={location:e.getUniformLocation(o,i),value:gv(a.type,a.size)}}var u=new Kv(o,s);return n.glPrograms[this.renderer.CONTEXT_UID]=u,u},e.prototype.reset=function(){this.program=null,this.shader=null},e.prototype.destroy=function(){this.destroyed=!0},e}(Cp);var em=function(t){function e(e){var n=t.call(this,e)||this;return n.gl=null,n.stateId=0,n.polygonOffset=0,n.blendMode=mf.NONE,n._blendEq=!1,n.map=[],n.map[0]=n.setBlend,n.map[1]=n.setOffset,n.map[2]=n.setCullFace,n.map[3]=n.setDepthTest,n.map[4]=n.setFrontFace,n.map[5]=n.setDepthMask,n.checks=[],n.defaultState=new Bv,n.defaultState.blend=!0,n}return vp(e,t),e.prototype.contextChange=function(t){this.gl=t,this.blendModes=function(t,e){return void 0===e&&(e=[]),e[mf.NORMAL]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[mf.ADD]=[t.ONE,t.ONE],e[mf.MULTIPLY]=[t.DST_COLOR,t.ONE_MINUS_SRC_ALPHA,t.ONE,t.ONE_MINUS_SRC_ALPHA],e[mf.SCREEN]=[t.ONE,t.ONE_MINUS_SRC_COLOR,t.ONE,t.ONE_MINUS_SRC_ALPHA],e[mf.OVERLAY]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[mf.DARKEN]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[mf.LIGHTEN]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[mf.COLOR_DODGE]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[mf.COLOR_BURN]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[mf.HARD_LIGHT]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[mf.SOFT_LIGHT]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[mf.DIFFERENCE]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[mf.EXCLUSION]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[mf.HUE]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[mf.SATURATION]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[mf.COLOR]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[mf.LUMINOSITY]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[mf.NONE]=[0,0],e[mf.NORMAL_NPM]=[t.SRC_ALPHA,t.ONE_MINUS_SRC_ALPHA,t.ONE,t.ONE_MINUS_SRC_ALPHA],e[mf.ADD_NPM]=[t.SRC_ALPHA,t.ONE,t.ONE,t.ONE],e[mf.SCREEN_NPM]=[t.SRC_ALPHA,t.ONE_MINUS_SRC_COLOR,t.ONE,t.ONE_MINUS_SRC_ALPHA],e[mf.SRC_IN]=[t.DST_ALPHA,t.ZERO],e[mf.SRC_OUT]=[t.ONE_MINUS_DST_ALPHA,t.ZERO],e[mf.SRC_ATOP]=[t.DST_ALPHA,t.ONE_MINUS_SRC_ALPHA],e[mf.DST_OVER]=[t.ONE_MINUS_DST_ALPHA,t.ONE],e[mf.DST_IN]=[t.ZERO,t.SRC_ALPHA],e[mf.DST_OUT]=[t.ZERO,t.ONE_MINUS_SRC_ALPHA],e[mf.DST_ATOP]=[t.ONE_MINUS_DST_ALPHA,t.SRC_ALPHA],e[mf.XOR]=[t.ONE_MINUS_DST_ALPHA,t.ONE_MINUS_SRC_ALPHA],e[mf.SUBTRACT]=[t.ONE,t.ONE,t.ONE,t.ONE,t.FUNC_REVERSE_SUBTRACT,t.FUNC_ADD],e}(t),this.set(this.defaultState),this.reset()},e.prototype.set=function(t){if(t=t||this.defaultState,this.stateId!==t.data){for(var e=this.stateId^t.data,n=0;e;)1&e&&this.map[n].call(this,!!(t.data&1<<n)),e>>=1,n++;this.stateId=t.data}for(n=0;n<this.checks.length;n++)this.checks[n](this,t)},e.prototype.forceState=function(t){t=t||this.defaultState;for(var e=0;e<this.map.length;e++)this.map[e].call(this,!!(t.data&1<<e));for(e=0;e<this.checks.length;e++)this.checks[e](this,t);this.stateId=t.data},e.prototype.setBlend=function(t){this.updateCheck(e.checkBlendMode,t),this.gl[t?"enable":"disable"](this.gl.BLEND)},e.prototype.setOffset=function(t){this.updateCheck(e.checkPolygonOffset,t),this.gl[t?"enable":"disable"](this.gl.POLYGON_OFFSET_FILL)},e.prototype.setDepthTest=function(t){this.gl[t?"enable":"disable"](this.gl.DEPTH_TEST)},e.prototype.setDepthMask=function(t){this.gl.depthMask(t)},e.prototype.setCullFace=function(t){this.gl[t?"enable":"disable"](this.gl.CULL_FACE)},e.prototype.setFrontFace=function(t){this.gl.frontFace(this.gl[t?"CW":"CCW"])},e.prototype.setBlendMode=function(t){if(t!==this.blendMode){this.blendMode=t;var e=this.blendModes[t],n=this.gl;2===e.length?n.blendFunc(e[0],e[1]):n.blendFuncSeparate(e[0],e[1],e[2],e[3]),6===e.length?(this._blendEq=!0,n.blendEquationSeparate(e[4],e[5])):this._blendEq&&(this._blendEq=!1,n.blendEquationSeparate(n.FUNC_ADD,n.FUNC_ADD))}},e.prototype.setPolygonOffset=function(t,e){this.gl.polygonOffset(t,e)},e.prototype.reset=function(){this.gl.pixelStorei(this.gl.UNPACK_FLIP_Y_WEBGL,!1),this.forceState(this.defaultState),this._blendEq=!0,this.blendMode=-1,this.setBlendMode(0)},e.prototype.updateCheck=function(t,e){var n=this.checks.indexOf(t);e&&-1===n?this.checks.push(t):e||-1===n||this.checks.splice(n,1)},e.checkBlendMode=function(t,e){t.setBlendMode(e.blendMode)},e.checkPolygonOffset=function(t,e){t.setPolygonOffset(1,e.polygonOffset)},e}(Cp),nm=function(t){function e(e){var n=t.call(this,e)||this;return n.count=0,n.checkCount=0,n.maxIdle=If.GC_MAX_IDLE,n.checkCountMax=If.GC_MAX_CHECK_COUNT,n.mode=If.GC_MODE,n}return vp(e,t),e.prototype.postrender=function(){this.renderer.renderingToScreen&&(this.count++,this.mode!==Of.MANUAL&&(this.checkCount++,this.checkCount>this.checkCountMax&&(this.checkCount=0,this.run())))},e.prototype.run=function(){for(var t=this.renderer.texture,e=t.managedTextures,n=!1,r=0;r<e.length;r++){var i=e[r];!i.framebuffer&&this.count-i.touched>
2this.maxIdle&&(t.destroyTexture(i,!0),e[r]=null,n=!0)}if(n){var o=0;for(r=0;r<e.length;r++)null!==e[r]&&(e[o++]=e[r]);e.length=o}},e.prototype.unload=function(t){var e=this.renderer.texture,n=t._texture;n&&!n.framebuffer&&e.destroyTexture(n);for(var r=t.children.length-1;r>=0;r--)this.unload(t.children[r])},e}(Cp),rm=function(t){this.texture=t,this.width=-1,this.height=-1,this.dirtyId=-1,this.dirtyStyleId=-1,this.mipmap=!1,this.wrapMode=33071,this.type=6408,this.internalFormat=5121,this.samplerType=0},im=function(t){function e(e){var n=t.call(this,e)||this;return n.boundTextures=[],n.currentLocation=-1,n.managedTextures=[],n._unknownBoundTextures=!1,n.unknownTexture=new _p,n.hasIntegerTextures=!1,n}return vp(e,t),e.prototype.contextChange=function(){var t=this.gl=this.renderer.gl;this.CONTEXT_UID=this.renderer.CONTEXT_UID,this.webGLVersion=this.renderer.context.webGLVersion;var e=t.getParameter(t.MAX_TEXTURE_IMAGE_UNITS);this.boundTextures.length=e;for(var n=0;n<e;n++)this.boundTextures[n]=null;this.emptyTextures={};var r=new rm(t.createTexture());t.bindTexture(t.TEXTURE_2D,r.texture),t.texImage2D(t.TEXTURE_2D,0,t.RGBA,1,1,0,t.RGBA,t.UNSIGNED_BYTE,new Uint8Array(4)),this.emptyTextures[t.TEXTURE_2D]=r,this.emptyTextures[t.TEXTURE_CUBE_MAP]=new rm(t.createTexture()),t.bindTexture(t.TEXTURE_CUBE_MAP,this.emptyTextures[t.TEXTURE_CUBE_MAP].texture);for(n=0;n<6;n++)t.texImage2D(t.TEXTURE_CUBE_MAP_POSITIVE_X+n,0,t.RGBA,1,1,0,t.RGBA,t.UNSIGNED_BYTE,null);t.texParameteri(t.TEXTURE_CUBE_MAP,t.TEXTURE_MAG_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_CUBE_MAP,t.TEXTURE_MIN_FILTER,t.LINEAR);for(n=0;n<this.boundTextures.length;n++)this.bind(null,n)},e.prototype.bind=function(t,e){void 0===e&&(e=0);var n=this.gl;if(t){if((t=t.castToBaseTexture()).parentTextureArray)return;if(t.valid){t.touched=this.renderer.textureGC.count;var r=t._glTextures[this.CONTEXT_UID]||this.initTexture(t);this.boundTextures[e]!==t&&(this.currentLocation!==e&&(this.currentLocation=e,n.activeTexture(n.TEXTURE0+e)),n.bindTexture(t.target,r.texture)),r.dirtyId!==t.dirtyId&&(this.currentLocation!==e&&(this.currentLocation=e,n.activeTexture(n.TEXTURE0+e)),this.updateTexture(t)),this.boundTextures[e]=t}}else this.currentLocation!==e&&(this.currentLocation=e,n.activeTexture(n.TEXTURE0+e)),n.bindTexture(n.TEXTURE_2D,this.emptyTextures[n.TEXTURE_2D].texture),this.boundTextures[e]=null},e.prototype.reset=function(){this._unknownBoundTextures=!0,this.hasIntegerTextures=!1,this.currentLocation=-1;for(var t=0;t<this.boundTextures.length;t++)this.boundTextures[t]=this.unknownTexture},e.prototype.unbind=function(t){var e=this.gl,n=this.boundTextures;if(this._unknownBoundTextures){this._unknownBoundTextures=!1;for(var r=0;r<n.length;r++)n[r]===this.unknownTexture&&this.bind(null,r)}for(r=0;r<n.length;r++)n[r]===t&&(this.currentLocation!==r&&(e.activeTexture(e.TEXTURE0+r),this.currentLocation=r),e.bindTexture(t.target,this.emptyTextures[t.target].texture),n[r]=null)},e.prototype.ensureSamplerType=function(t){var e=this,n=e.boundTextures,r=e.hasIntegerTextures,i=e.CONTEXT_UID;if(r)for(var o=t-1;o>=0;--o){var s=n[o];if(s)s._glTextures[i].samplerType!==xf.FLOAT&&this.renderer.texture.unbind(s)}},e.prototype.initTexture=function(t){var e=new rm(this.gl.createTexture());return e.dirtyId=-1,t._glTextures[this.CONTEXT_UID]=e,this.managedTextures.push(t),t.on("dispose",this.destroyTexture,this),e},e.prototype.initTextureType=function(t,e){if(e.internalFormat=t.format,e.type=t.type,2===this.webGLVersion){var n=this.renderer.gl;t.type===n.FLOAT&&t.format===n.RGBA&&(e.internalFormat=n.RGBA32F),t.type===bf.HALF_FLOAT&&(e.type=n.HALF_FLOAT),e.type===n.HALF_FLOAT&&t.format===n.RGBA&&(e.internalFormat=n.RGBA16F)}},e.prototype.updateTexture=function(t){var e=t._glTextures[this.CONTEXT_UID];if(e){var n=this.renderer;if(this.initTextureType(t,e),t.resource&&t.resource.upload(n,t,e))e.samplerType!==xf.FLOAT&&(this.hasIntegerTextures=!0);else{var r=t.realWidth,i=t.realHeight,o=n.gl;(e.width!==r||e.height!==i||e.dirtyId<0)&&(e.width=r,e.height=i,o.texImage2D(t.target,0,e.internalFormat,r,i,0,t.format,e.type,null))}t.dirtyStyleId!==e.dirtyStyleId&&this.updateTextureStyle(t),e.dirtyId=t.dirtyId}},e.prototype.destroyTexture=function(t,e){var n=this.gl;if((t=t.castToBaseTexture())._glTextures[this.CONTEXT_UID]&&(this.unbind(t),n.deleteTexture(t._glTextures[this.CONTEXT_UID].texture),t.off("dispose",this.destroyTexture,this),delete t._glTextures[this.CONTEXT_UID],!e)){var r=this.managedTextures.indexOf(t);-1!==r&&sd(this.managedTextures,r,1)}},e.prototype.updateTextureStyle=function(t){var e=t._glTextures[this.CONTEXT_UID];e&&(t.mipmap!==wf.POW2&&2===this.webGLVersion||t.isPowerOfTwo?e.mipmap=t.mipmap>=1:e.mipmap=!1,2===this.webGLVersion||t.isPowerOfTwo?e.wrapMode=t.wrapMode:e.wrapMode=Ef.CLAMP,t.resource&&t.resource.style(this.renderer,t,e)||this.setStyle(t,e),e.dirtyStyleId=t.dirtyStyleId)},e.prototype.setStyle=function(t,e){var n=this.gl;if(e.mipmap&&t.mipmap!==wf.ON_MANUAL&&n.generateMipmap(t.target),n.texParameteri(t.target,n.TEXTURE_WRAP_S,e.wrapMode),n.texParameteri(t.target,n.TEXTURE_WRAP_T,e.wrapMode),e.mipmap){n.texParameteri(t.target,n.TEXTURE_MIN_FILTER,t.scaleMode===Tf.LINEAR?
2n.LINEAR_MIPMAP_LINEAR:n.NEAREST_MIPMAP_NEAREST);var r=this.renderer.context.extensions.anisotropicFiltering;if(r&&t.anisotropicLevel>0&&t.scaleMode===Tf.LINEAR){var i=Math.min(t.anisotropicLevel,n.getParameter(r.MAX_TEXTURE_MAX_ANISOTROPY_EXT));n.texParameterf(t.target,r.TEXTURE_MAX_ANISOTROPY_EXT,i)}}else n.texParameteri(t.target,n.TEXTURE_MIN_FILTER,t.scaleMode===Tf.LINEAR?n.LINEAR:n.NEAREST);n.texParameteri(t.target,n.TEXTURE_MAG_FILTER,t.scaleMode===Tf.LINEAR?n.LINEAR:n.NEAREST)},e}(Cp),om={__proto__:null,FilterSystem:nv,BatchSystem:iv,ContextSystem:sv,FramebufferSystem:lv,GeometrySystem:fv,MaskSystem:Hv,ScissorSystem:Yv,StencilSystem:Vv,ProjectionSystem:$v,RenderTextureSystem:Zv,ShaderSystem:tm,StateSystem:em,TextureGCSystem:nm,TextureSystem:im},sm=new Nd,am=function(t){function e(n){var r=t.call(this,pf.WEBGL,n)||this;return n=r.options,r.gl=null,r.CONTEXT_UID=0,r.runners={destroy:new hp("destroy"),contextChange:new hp("contextChange"),reset:new hp("reset"),update:new hp("update"),postrender:new hp("postrender"),prerender:new hp("prerender"),resize:new hp("resize")},r.globalUniforms=new Jp({projectionMatrix:new Nd},!0),r.addSystem(Hv,"mask").addSystem(sv,"context").addSystem(em,"state").addSystem(tm,"shader").addSystem(im,"texture").addSystem(fv,"geometry").addSystem(lv,"framebuffer").addSystem(Yv,"scissor").addSystem(Vv,"stencil").addSystem($v,"projection").addSystem(nm,"textureGC").addSystem(nv,"filter").addSystem(Zv,"renderTexture").addSystem(iv,"batch"),r.initPlugins(e.__plugins),n.context?r.context.
2initFromContext(n.context):r.context.initFromOptions({alpha:!!r.useContextAlpha,antialias:n.antialias,premultipliedAlpha:r.useContextAlpha&&"notMultiplied"!==r.useContextAlpha,stencil:!0,preserveDrawingBuffer:n.preserveDrawingBuffer,powerPreference:r.options.powerPreference}),r.renderingToScreen=!0,Xf(2===r.context.webGLVersion?"WebGL 2":"WebGL 1"),r.resize(r.options.width,r.options.height),r}return vp(e,t),e.create=function(t){if(jf())return new e(t);throw new Error('WebGL unsupported in this browser, use "pixi.js-legacy" for fallback canvas2d support.')},e.prototype.addSystem=function(t,e){e||(e=t.name);var n=new t(this);if(this[e])throw new Error('Whoops! The name "'+e+'" is already in use');for(var r in this[e]=n,this.runners)this.runners[r].add(n);return this},e.prototype.render=function(t,e){var n,r,i,o;if(e&&(e instanceof Bp?(hd("6.0.0","Renderer#render arguments changed, use options instead."),n=e,r=arguments[2],i=arguments[3],o=arguments[4]):(n=e.renderTexture,r=e.clear,i=e.transform,o=e.skipUpdateTransform)),this.renderingToScreen=!n,this.runners.prerender.emit(),this.emit("prerender"),this.projection.transform=i,!this.context.isLost){if(n||(this._lastObjectRendered=t),!o){var s=t.enableTempParent();t.updateTransform(),t.disableTempParent(s)}this.renderTexture.bind(n),this.batch.currentRenderer.start(),(void 0!==r?r:this.clearBeforeRender)&&this.renderTexture.clear(),t.render(this),this.batch.currentRenderer.flush(),n&&n.baseTexture.update(),this.runners.postrender.emit(),this.projection.transform=null,this.emit("postrender")}},e.prototype.resize=function(e,n){t.prototype.resize.call(this,e,n),this.runners.resize.emit(e,n)},e.prototype.reset=function(){return this.runners.reset.emit(),this},e.prototype.clear=function(){this.renderTexture.bind(),this.renderTexture.clear()},e.prototype.destroy=function(e){for(var n in this.runners.destroy.emit(),this.runners)this.runners[n].destroy();t.prototype.destroy.call(this,e),this.gl=null},Object.defineProperty(e.prototype,"extract",{get:function(){return hd("6.0.0","Renderer#extract has been deprecated, please use Renderer#plugins.extract instead."),this.plugins.extract},enumerable:!1,configurable:!0}),e.registerPlugin=function(t,n){e.__plugins=e.__plugins||{},e.__plugins[t]=n},e}(function(t){function e(e,n){void 0===e&&(e=pf.UNKNOWN);var r=t.call(this)||this;return n=Object.assign({},If.RENDER_OPTIONS,n),r.options=n,r.type=e,r.screen=new Rd(0,0,n.width,n.height),r.view=n.view||document.createElement("canvas"),r.resolution=n.resolution||If.RESOLUTION,r.useContextAlpha=n.useContextAlpha,r.autoDensity=!!n.autoDensity,r.preserveDrawingBuffer=n.preserveDrawingBuffer,r.clearBeforeRender=n.clearBeforeRender,r._backgroundColor=0,r._backgroundColorRgba=[0,0,0,1],r._backgroundColorString="#000000",r.backgroundColor=n.backgroundColor||r._backgroundColor,r.backgroundAlpha=n.backgroundAlpha,void 0!==n.transparent&&(hd("6.0.0","Option transparent is deprecated, please use backgroundAlpha instead."),r.useContextAlpha=n.transparent,r.backgroundAlpha=n.transparent?0:1),r._lastObjectRendered=null,r.plugins={},r}return vp(e,t),e.prototype.initPlugins=function(t){for(var e in t)this.plugins[e]=new t[e](this)},Object.defineProperty(e.prototype,"width",{get:function(){return this.view.width},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.view.height},enumerable:!1,configurable:!0}),e.prototype.resize=function(t,e){this.screen.width=t,this.screen.height=e,this.view.width=t*this.resolution,this.view.height=e*this.resolution,this.autoDensity&&(this.view.style.width=t+"px",this.view.style.height=e+"px"),this.emit("resize",t,e)},e.prototype.generateTexture=function(t,e,n,r){0===(r=r||t.getLocalBounds(null,!0)).width&&(r.width=1),0===r.height&&(r.height=1);var i=Bp.create({width:0|r.width,height:0|r.height,scaleMode:e,resolution:n});return sm.tx=-r.x,sm.ty=-r.y,this.render(t,{renderTexture:i,clear:!1,transform:sm,skipUpdateTransform:!!t.parent}),i},e.prototype.destroy=function(t){for(var e in this.plugins)this.plugins[e].destroy(),this.plugins[e]=null;t&&this.view.parentNode&&this.view.parentNode.removeChild(this.view);var n=this;n.plugins=null,n.type=pf.UNKNOWN,n.view=null,n.screen=null,n._tempDisplayObjectParent=null,n.options=null,this._backgroundColorRgba=null,this._backgroundColorString=null,this._lastObjectRendered=null},Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){this._backgroundColor=t,this._backgroundColorString=Yf(t),zf(t,this._backgroundColorRgba)}
2,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"backgroundAlpha",{get:function(){return this._backgroundColorRgba[3]},set:function(t){this._backgroundColorRgba[3]=t},enumerable:!1,configurable:!0}),e}(Df()));var um="attribute vec2 aVertexPosition;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nuniform vec4 inputSize;\nuniform vec4 outputFrame;\n\nvec4 filterVertexPosition( void )\n{\n    vec2 position = aVertexPosition * max(outputFrame.zw, vec2(0.)) + outputFrame.xy;\n\n    return vec4((projectionMatrix * vec3(position, 1.0)).xy, 0.0, 1.0);\n}\n\nvec2 filterTextureCoord( void )\n{\n    return aVertexPosition * (outputFrame.zw * inputSize.zw);\n}\n\nvoid main(void)\n{\n    gl_Position = filterVertexPosition();\n    vTextureCoord = filterTextureCoord();\n}\n",lm=function(){this.texArray=null,this.blend=0,this.type=gf.TRIANGLES,this.start=0,this.size=0,this.data=null},cm=function(){function t(){this.elements=[],this.ids=[],this.count=0}return t.prototype.clear=function(){for(var t=0;t<this.count;t++)this.elements[t]=null;this.count=0},t}(),hm=function(){function t(t){"number"==typeof t?this.rawBinaryData=new ArrayBuffer(t):t instanceof Uint8Array?this.rawBinaryData=t.buffer:this.rawBinaryData=t,this.uint32View=new Uint32Array(this.rawBinaryData),this.float32View=new Float32Array(this.rawBinaryData)}return Object.defineProperty(t.prototype,"int8View",{get:function(){return this._int8View||(this._int8View=new Int8Array(this.rawBinaryData)),this._int8View},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"uint8View",{get:function(){return this._uint8View||(this._uint8View=new Uint8Array(this.rawBinaryData)),this._uint8View},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"int16View",{get:function(){return this._int16View||(this._int16View=new Int16Array(this.rawBinaryData)),this._int16View},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"uint16View",{get:function(){return this._uint16View||(this._uint16View=new Uint16Array(this.rawBinaryData)),this._uint16View},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"int32View",{get:function(){return this._int32View||(this._int32View=new Int32Array(this.rawBinaryData)),this._int32View},enumerable:!1,configurable:!0}),t.prototype.view=function(t){return this[t+"View"]},t.prototype.destroy=function(){this.rawBinaryData=null,this._int8View=null,this._uint8View=null,this._int16View=null,this._uint16View=null,this._int32View=null,this.uint32View=null,this.float32View=null},t.sizeOf=function(t){switch(t){case"int8":case"uint8":return 1;case"int16":case"uint16":return 2;case"int32":case"uint32":case"float32":return 4;default:throw new Error(t+" isn't a valid view type")}},t}(),fm=function(t){function e(e){var n=t.call(this,e)||this;return n.shaderGenerator=null,n.geometryClass=null,n.vertexSize=null,n.state=Bv.for2d(),n.size=4*If.SPRITE_BATCH_SIZE,n._vertexCount=0,n._indexCount=0,n._bufferedElements=[],n._bufferedTextures=[],n._bufferSize=0,n._shader=null,n._packedGeometries=[],n._packedGeometryPoolSize=2,n._flushId=0,n._aBuffers={},n._iBuffers={},n.MAX_TEXTURES=1,n.renderer.on("prerender",n.onPrerender,n),e.runners.contextChange.add(n),n._dcIndex=0,n._aIndex=0,n._iIndex=0,n._attributeBuffer=null,n._indexBuffer=null,n._tempBoundTextures=[],n}return vp(e,t),e.prototype.contextChange=function(){var t=this.renderer.gl;If.PREFER_ENV===df.WEBGL_LEGACY?this.MAX_TEXTURES=1:(this.MAX_TEXTURES=Math.min(t.getParameter(t.MAX_TEXTURE_IMAGE_UNITS),If.SPRITE_MAX_TEXTURES),this.MAX_TEXTURES=function(t,e){if(0===t)throw new Error("Invalid value of `0` passed to `checkMaxIfStatementsInShader`");for(var n=e.createShader(e.FRAGMENT_SHADER);;){var r=Mv.replace(/%forloop%/gi,Dv(t));if(e.shaderSource(n,r),e.compileShader(n),e.getShaderParameter(n,e.COMPILE_STATUS))break;t=t/2|0}return t}(this.MAX_TEXTURES,t)),this._shader=this.shaderGenerator.generateShader(this.MAX_TEXTURES);for(var e=0;e<this._packedGeometryPoolSize;e++)this._packedGeometries[e]=new this.geometryClass;this.initFlushBuffers()}
2,e.prototype.initFlushBuffers=function(){for(var t=e._drawCallPool,n=e._textureArrayPool,r=this.size/4,i=Math.floor(r/this.MAX_TEXTURES)+1;t.length<r;)t.push(new lm);for(;n.length<i;)n.push(new cm);for(var o=0;o<this.MAX_TEXTURES;o++)this._tempBoundTextures[o]=null},e.prototype.onPrerender=function(){this._flushId=0},e.prototype.render=function(t){t._texture.valid&&(this._vertexCount+t.vertexData.length/2>this.size&&this.flush(),this._vertexCount+=t.vertexData.length/2,this._indexCount+=t.indices.length,this._bufferedTextures[this._bufferSize]=t._texture.baseTexture,this._bufferedElements[this._bufferSize++]=t)},e.prototype.buildTexturesAndDrawCalls=function(){var t=this._bufferedTextures,n=this.MAX_TEXTURES,r=e._textureArrayPool,i=this.renderer.batch,o=this._tempBoundTextures,s=this.renderer.textureGC.count,a=++_p._globalBatch,u=0,l=r[0],c=0;i.copyBoundTextures(o,n);for(var h=0;h<this._bufferSize;++h){var f=t[h];t[h]=null,f._batchEnabled!==a&&(l.count>=n&&(i.boundArray(l,o,a,n),this.buildDrawCalls(l,c,h),c=h,l=r[++u],++a),f._batchEnabled=a,f.touched=s,l.elements[l.count++]=f)}l.count>0&&(i.boundArray(l,o,a,n),this.buildDrawCalls(l,c,this._bufferSize),++u,++a);for(h=0;h<o.length;h++)o[h]=null;_p._globalBatch=a},e.prototype.buildDrawCalls=function(t,n,r){var i=this,o=i._bufferedElements,s=i._attributeBuffer,a=i._indexBuffer,u=i.vertexSize,l=e._drawCallPool,c=this._dcIndex,h=this._aIndex,f=this._iIndex,d=l[c];d.start=this._iIndex,d.texArray=t;for(var p=n;p<r;++p){var v=o[p],m=v._texture.baseTexture,g=Wf[m.alphaMode?1:0][v.blendMode];o[p]=null,n<p&&d.blend!==g&&(d.size=f-d.start,n=p,(d=l[++c]).texArray=t,d.start=f),this.packInterleavedGeometry(v,s,a,h,f),h+=v.vertexData.length/2*u,f+=v.indices.length,d.blend=g}n<r&&(d.size=f-d.start,++c),this._dcIndex=c,this._aIndex=h,this._iIndex=f},e.prototype.bindAndClearTexArray=function(t){for(var e=this.renderer.texture,n=0;n<t.count;n++)e.bind(t.elements[n],t.ids[n]),t.elements[n]=null;t.count=0},e.prototype.updateGeometry=function(){var t=this,e=t._packedGeometries,n=t._attributeBuffer,r=t._indexBuffer;If.CAN_UPLOAD_SAME_BUFFER?(e[this._flushId]._buffer.update(n.rawBinaryData),e[this._flushId]._indexBuffer.update(r),this.renderer.geometry.updateBuffers()):(this._packedGeometryPoolSize<=this._flushId&&(this._packedGeometryPoolSize++,e[this._flushId]=new this.geometryClass),e[this._flushId]._buffer.update(n.rawBinaryData),e[this._flushId]._indexBuffer.update(r),this.renderer.geometry.bind(e[this._flushId]),this.renderer.geometry.updateBuffers(),this._flushId++)},e.prototype.drawBatches=function(){for(var t=this._dcIndex,n=this.renderer,r=n.gl,i=n.state,o=e._drawCallPool,s=null,a=0;a<t;a++){var u=o[a],l=u.texArray,c=u.type,h=u.size,f=u.start,d=u.blend;s!==l&&(s=l,this.bindAndClearTexArray(l)),this.state.blendMode=d,i.set(this.state),r.drawElements(c,h,r.UNSIGNED_SHORT,2*f)}},e.prototype.flush=function(){0!==this._vertexCount&&(this._attributeBuffer=this.getAttributeBuffer(this._vertexCount),this._indexBuffer=this.getIndexBuffer(this._indexCount),this._aIndex=0,this._iIndex=0,this._dcIndex=0,this.buildTexturesAndDrawCalls(),this.updateGeometry(),this.drawBatches(),this._bufferSize=0,this._vertexCount=0,this._indexCount=0)},e.prototype.start=function(){this.renderer.state.set(this.state),this.renderer.texture.ensureSamplerType(this.MAX_TEXTURES),this.renderer.shader.bind(this._shader),If.CAN_UPLOAD_SAME_BUFFER&&this.renderer.geometry.bind(this._packedGeometries[this._flushId])},e.prototype.stop=function(){this.flush()},e.prototype.destroy=function(){for(var e=0;e<this._packedGeometryPoolSize;e++)this._packedGeometries[e]&&this._packedGeometries[e].destroy();this.renderer.off("prerender",this.onPrerender,this),this._aBuffers=null,this._iBuffers=null,this._packedGeometries=null,this._attributeBuffer=null,this._indexBuffer=null,this._shader&&(this._shader.destroy(),this._shader=null),t.prototype.destroy.call(this)},e.prototype.getAttributeBuffer=function(t){var e=rd(Math.ceil(t/8)),n=od(e),r=8*e;this._aBuffers.length<=n&&(this._iBuffers.length=n+1);var i=this._aBuffers[r];return i||(this._aBuffers[r]=i=new hm(r*this.vertexSize*4)),i},e.prototype.getIndexBuffer=function(t){var e=rd(Math.ceil(t/12)),n=od(e),r=12*e;this._iBuffers.length<=n&&(this._iBuffers.length=n+1);var i=this._iBuffers[n];
2return i||(this._iBuffers[n]=i=new Uint16Array(r)),i},e.prototype.packInterleavedGeometry=function(t,e,n,r,i){for(var o=e.uint32View,s=e.float32View,a=r/this.vertexSize,u=t.uvs,l=t.indices,c=t.vertexData,h=t._texture.baseTexture._batchLocation,f=Math.min(t.worldAlpha,1),d=f<1&&t._texture.baseTexture.alphaMode?Kf(t._tintRGB,f):t._tintRGB+(255*f<<24),p=0;p<c.length;p+=2)s[r++]=c[p],s[r++]=c[p+1],s[r++]=u[p],s[r++]=u[p+1],o[r++]=d,s[r++]=h;for(p=0;p<l.length;p++)n[i++]=a+l[p]},e._drawCallPool=[],e._textureArrayPool=[],e}(rv),dm=function(){function t(t,e){if(this.vertexSrc=t,this.fragTemplate=e,this.programCache={},this.defaultGroupCache={},e.indexOf("%count%")<0)throw new Error('Fragment template must contain "%count%".');if(e.indexOf("%forloop%")<0)throw new Error('Fragment template must contain "%forloop%".')}return t.prototype.generateShader=function(t){if(!this.programCache[t]){for(var e=new Int32Array(t),n=0;n<t;n++)e[n]=n;this.defaultGroupCache[t]=Jp.from({uSamplers:e},!0);var r=this.fragTemplate;r=(r=r.replace(/%count%/gi,""+t)).replace(/%forloop%/gi,this.generateSampleSrc(t)),this.programCache[t]=new kv(this.vertexSrc,r)}var i={tint:new Float32Array([1,1,1,1]),translationMatrix:new Nd,default:this.defaultGroupCache[t]};return new Fv(this.programCache[t],i)},t.prototype.generateSampleSrc=function(t){var e="";e+="\n",e+="\n";for(var n=0;n<t;n++)n>0&&(e+="\nelse "),n<t-1&&(e+="if(vTextureId < "+n+".5)"),e+="\n{",e+="\n\tcolor = texture2D(uSamplers["+n+"], vTextureCoord);",e+="\n}";return e+="\n",e+="\n"},t}(),pm=function(t){function e(e){void 0===e&&(e=!1);var n=t.call(this)||this;return n._buffer=new jp(null,e,!1),n._indexBuffer=new jp(null,e,!0),n.addAttribute("aVertexPosition",n._buffer,2,!1,bf.FLOAT).addAttribute("aTextureCoord",n._buffer,2,!1,bf.FLOAT).addAttribute("aColor",n._buffer,4,!0,bf.UNSIGNED_BYTE).addAttribute("aTextureId",n._buffer,1,!0,bf.FLOAT).addIndex(n._indexBuffer),n}return vp(e,t),e}(Wp),vm="precision highp float;\nattribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\nattribute vec4 aColor;\nattribute float aTextureId;\n\nuniform mat3 projectionMatrix;\nuniform mat3 translationMatrix;\nuniform vec4 tint;\n\nvarying vec2 vTextureCoord;\nvarying vec4 vColor;\nvarying float vTextureId;\n\nvoid main(void){\n    gl_Position = vec4((projectionMatrix * translationMatrix * vec3(aVertexPosition, 1.0
2)).xy, 0.0, 1.0);\n\n    vTextureCoord = aTextureCoord;\n    vTextureId = aTextureId;\n    vColor = aColor * tint;\n}\n",mm="varying vec2 vTextureCoord;\nvarying vec4 vColor;\nvarying float vTextureId;\nuniform sampler2D uSamplers[%count%];\n\nvoid main(void){\n    vec4 color;\n    %forloop%\n    gl_FragColor = color * vColor;\n}\n",gm=function(){function t(){}return t.create=function(t){var e=Object.assign({vertex:vm,fragment:mm,geometryClass:pm,vertexSize:6},t),n=e.vertex,r=e.fragment,i=e.vertexSize,o=e.geometryClass;return function(t){function e(e){var s=t.call(this,e)||this;return s.shaderGenerator=new dm(n,r),s.geometryClass=o,s.vertexSize=i,s}return vp(e,t),e}(fm)},Object.defineProperty(t,"defaultVertexSrc",{get:function(){return vm},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultFragmentTemplate",{get:function(){return mm},enumerable:!1,configurable:!0}),t}().create(),ym={},_m=function(t){Object.defineProperty(ym,t,{get:function(){return hd("6.0.0","PIXI.systems."+t+" has moved to PIXI."+t),Pp[t]}})};for(var bm in Pp)_m(bm);var xm={},Tm=function(t){Object.defineProperty(xm,t,{get:function(){return hd("6.0.0","PIXI.resources."+t+" has moved to PIXI."+t),om[t]}})};for(var bm in om)Tm(bm);var Em=function(){function t(e){var n=this;this.stage=new Kd,e=Object.assign({forceCanvas:!1},e),this.renderer=function(t){return am.create(t)}(e),t._plugins.forEach((function(t){t.init.call(n,e)}))}return t.registerPlugin=function(e){t._plugins.push(e)},t.prototype.render=function(){this.renderer.render(this.stage)},Object.defineProperty(t.prototype,"view",{get:function(){return this.renderer.view},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"screen",{get:function(){return this.renderer.screen},enumerable:!1,configurable:!0}),t.prototype.destroy=function(e,n){var r=this,i=t._plugins.slice(0);
2i.reverse(),i.forEach((function(t){t.destroy.call(r)})),this.stage.destroy(n),this.stage=null,this.renderer.destroy(e),this.renderer=null},t._plugins=[],t}(),wm=function(){function t(){}return t.init=function(t){var e=this;Object.defineProperty(this,"resizeTo",{set:function(t){self.removeEventListener("resize",this.queueResize),this._resizeTo=t,t&&(self.addEventListener("resize",this.queueResize),this.resize())},get:function(){return this._resizeTo}}),this.queueResize=function(){e._resizeTo&&(e.cancelResize(),e._resizeId=requestAnimationFrame((function(){return e.resize()})))},this.cancelResize=function(){e._resizeId&&(cancelAnimationFrame(e._resizeId),e._resizeId=null)},this.resize=function(){if(e._resizeTo){var t,n;if(e.cancelResize(),e._resizeTo===self)t=self.innerWidth,n=self.innerHeight;else{var r=e._resizeTo;t=r.clientWidth,n=r.clientHeight}e.renderer.resize(t,n)}},this._resizeId=null,this._resizeTo=null,this.resizeTo=t.resizeTo||null},t.destroy=function(){self.removeEventListener("resize",this.queueResize),this.cancelResize(),this.cancelResize=null,this.queueResize=null,this.resizeTo=null,this.resize=null},t}();Em.registerPlugin(wm);var Sm=new Rd,Am=function(){function t(t){this.renderer=t}return t.prototype.image=function(t,e,n){var r=new Image;return r.src=this.base64(t,e,n),r},t.prototype.base64=function(t,e,n){return this.canvas(t).toDataURL(e,n)},t.prototype.canvas=function(e){var n,r,i,o=this.renderer,s=!1,a=!1;e&&(e instanceof Bp?i=e:(i=this.renderer.generateTexture(e),a=!0)),i?(n=i.baseTexture.resolution,r=i.frame,s=!1,o.renderTexture.bind(i)):(n=this.renderer.resolution,s=!0,(r=Sm).width=this.renderer.width,r.height=this.renderer.height,o.renderTexture.bind(null));var u=Math.floor(r.width*n+1e-4),l=Math.floor(r.height*n+1e-4),c=new gd(u,l,1),h=new Uint8Array(4*u*l),f=o.gl;f.readPixels(r.x*n,r.y*n,u,l,f.RGBA,f.UNSIGNED_BYTE,h);var d=c.context.getImageData(0,0,u,l);if(t.arrayPostDivide(h,d.data),c.context.putImageData(d,0,0),s){var p=new gd(c.width,c.height,1);p.context.scale(1,-1),p.context.drawImage(c.canvas,0,-l),c.destroy(),c=p}return a&&i.destroy(!0),c.canvas},t.prototype.pixels=function(e){var n,r,i,o=this.renderer,s=!1;e&&(e instanceof Bp?i=e:(i=this.renderer.generateTexture(e),s=!0)),i?(n=i.baseTexture.resolution,r=i.frame,o.renderTexture.bind(i)):(n=o.resolution,(r=Sm).width=o.width,r.height=o.height,o.renderTexture.bind(null));var a=r.width*n,u=r.height*n,l=new Uint8Array(4*a*u),c=o.gl;return c.readPixels(r.x*n,r.y*n,a,u,c.RGBA,c.UNSIGNED_BYTE,l),s&&i.destroy(!0),t.arrayPostDivide(l,l),l},t.prototype.destroy=function(){this.renderer=null},t.arrayPostDivide=function(t,e){for(var n=0;n<t.length;n+=4){var r=e[n+3]=t[n+3];0!==r?(e[n]=Math.round(Math.min(255*t[n]/r,255)),e[n+1]=Math.round(Math.min(255*t[n+1]/r,255)),e[n+2]=Math.round(Math.min(255*t[n+2]/r,255))):(e[n]=t[n],e[n+1]=t[n+1],e[n+2]=t[n+2])}},t}(),Om=n(9571),Rm=n.n(Om),Pm=n(2940),Cm=n.n(Pm);function Im(){}function Mm(t,e,n,r){var i=0,o=t.length;!function s(a){a||i===o?n&&n(a):r?setTimeout((function(){e(t[i++],s)}),1):e(t[i++],s)}()}function Dm(t){return function(){if(null===t)throw new Error("Callback was already called.");var e=t;t=null,e.apply(this,arguments)}}function Lm(t,e){if(null==e)e=1;else if(0===e)throw new Error("Concurrency must not be zero");var n=0,r={_tasks:[],concurrency:e,saturated:Im,unsaturated:Im,buffer:e/4,empty:Im,drain:Im,error:Im,started:!1,paused:!1,push:function(t,e){i(t,!1,e)},kill:function(){n=0,r.drain=Im,r.started=!1,r._tasks=[]},unshift:function(t,e){i(t,!0,e)},process:function(){for(;!r.paused&&n<r.concurrency&&r._tasks.length;){var e=r._tasks.shift();0===r._tasks.length&&r.empty(),(n+=1)===r.concurrency&&r.saturated(),t(e.data,Dm(o(e)))}},length:function(){return r._tasks.length},running:function(){return n},idle:function(){return r._tasks.length+n===0},pause:function(){!0!==r.paused&&(r.paused=!0)},resume:function(){if(!1!==r.paused){r.paused=!1;for(var t=1;t<=r.concurrency;t++)r.process()}}};function i(t,e,n){if(null!=n&&"function"!=typeof n)throw new Error("task callback must be a function");if(r.started=!0,null==t&&r.idle())setTimeout((function(){return r.drain()}),1);else{var i={data:t,callback:"function"==typeof n?n:Im};e?r._tasks.unshift(i):r._tasks.push(i),setTimeout((function(){return r.process()}),1)}}function o(t){return function(){n-=1,t.callback.apply(t,arguments),null!=arguments[0]&&r.error(arguments[0],t.data),n<=r.concurrency-r.buffer&&r.unsaturated(),r.idle()&&r.drain(),r.process()}}return r}var Nm={};function km(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Fm(t,e,n){return e&&km(t.prototype,e),n&&km(t,n),t}
2var Bm=!(!window.XDomainRequest||"withCredentials"in new XMLHttpRequest),Um=null;function Gm(){}var Xm=function(){function t(e,n,r){if("string"!=typeof e||"string"!=typeof n)throw new Error("Both name and url are required for constructing a resource.");r=r||{},this._flags=0,this._setFlag(t.STATUS_FLAGS.DATA_URL,0===n.indexOf("data:")),this.name=e,this.url=n,this.extension=this._getExtension(),this.data=null,this.crossOrigin=!0===r.crossOrigin?"anonymous":r.crossOrigin,this.timeout=r.timeout||0,this.loadType=r.loadType||this._determineLoadType(),this.xhrType=r.xhrType,this.metadata=r.metadata||{},this.error=null,this.xhr=null,this.children=[],this.type=t.TYPE.UNKNOWN,this.progressChunk=0,this._dequeue=Gm,this._onLoadBinding=null,this._elementTimer=0,this._boundComplete=this.complete.bind(this),this._boundOnError=this._onError.bind(this),this._boundOnProgress=this._onProgress.bind(this),this._boundOnTimeout=this._onTimeout.bind(this),this._boundXhrOnError=this._xhrOnError.bind(this),this._boundXhrOnTimeout=this._xhrOnTimeout.bind(this),this._boundXhrOnAbort=this._xhrOnAbort.bind(this),this._boundXhrOnLoad=this._xhrOnLoad.bind(this),this.onStart=new(Cm()),this.onProgress=new(Cm()),this.onComplete=new(Cm()),this.onAfterMiddleware=new(Cm())}t.setExtensionLoadType=function(e,n){jm(t._loadTypeMap,e,n)},t.setExtensionXhrType=function(e,n){jm(t._xhrTypeMap,e,n)};var e=t.prototype;return e.complete=function(){this._clearEvents(),this._finish()},e.abort=function(e){if(!this.error){if(this.error=new Error(e),this._clearEvents(),this.xhr)this.xhr.abort();else if(this.xdr)this.xdr.abort();else if(this.data)if(this.data.src)this.data.src=t.EMPTY_GIF;else for(;this.data.firstChild;)this.data.removeChild(this.data.firstChild);this._finish()}},e.load=function(e){var n=this;if(!this.isLoading)if(this.isComplete)e&&setTimeout((function(){return e(n)}),1);else switch(e&&this.onComplete.once(e),this._setFlag(t.STATUS_FLAGS.LOADING,!0),this.onStart.dispatch(this),!1!==this.crossOrigin&&"string"==typeof this.crossOrigin||(this.crossOrigin=this._determineCrossOrigin(this.url)),this.loadType){case t.LOAD_TYPE.IMAGE:this.type=t.TYPE.IMAGE,this._loadElement("image");break;case t.LOAD_TYPE.AUDIO:this.type=t.TYPE.AUDIO,this._loadSourceElement("audio");break;case t.LOAD_TYPE.VIDEO:this.type=t.TYPE.VIDEO,this._loadSourceElement("video");break;case t.LOAD_TYPE.XHR:default:Bm&&this.crossOrigin?this._loadXdr():this._loadXhr()}},e._hasFlag=function(t){return 0!=(this._flags&t)},e._setFlag=function(t,e){this._flags=e?this._flags|t:this._flags&~t},e._clearEvents=function(){clearTimeout(this._elementTimer),this.data&&this.data.removeEventListener&&(this.data.removeEventListener("error",this._boundOnError,!1),this.data.removeEventListener("load",this._boundComplete,!1),this.data.removeEventListener("progress",this._boundOnProgress,!1),this.data.removeEventListener("canplaythrough",this._boundComplete,!1)),this.xhr&&(this.xhr.removeEventListener?(this.xhr.removeEventListener("error",this._boundXhrOnError,!1),this.xhr.removeEventListener("timeout",this._boundXhrOnTimeout,!1),this.xhr.removeEventListener("abort",this._boundXhrOnAbort,!1),this.xhr.removeEventListener("progress",this._boundOnProgress,!1),this.xhr.removeEventListener("load",this._boundXhrOnLoad,!1)):(this.xhr.onerror=null,this.xhr.ontimeout=null,this.xhr.onprogress=null,this.xhr.onload=null))},e._finish=function(){if(this.isComplete)throw new Error("Complete called again for an already completed resource.");this._setFlag(t.STATUS_FLAGS.COMPLETE,!0),this._setFlag(t.STATUS_FLAGS.LOADING,!1),this.onComplete.dispatch(this)},e._loadElement=function(t){this.metadata.loadElement?this.data=this.metadata.loadElement:"image"===t&&void 0!==window.Image?this.data=new Image:this.data=document.createElement(t),this.crossOrigin&&(this.data.crossOrigin=this.crossOrigin),this.metadata.skipSource||(this.data.src=this.url),this.data.addEventListener("error",this._boundOnError,!1),this.data.addEventListener("load",this._boundComplete,!1),this.data.addEventListener("progress",this._boundOnProgress,!1),this.timeout&&(this._elementTimer=setTimeout(this._boundOnTimeout,this.timeout))},e._loadSourceElement=function(t){if(this.metadata.loadElement?this.data=this.metadata.loadElement:"audio"===t&&void 0!==window.Audio?this.data=new Audio:this.data=document.createElement(t),null!==this.data){if(this.crossOrigin&&(this.data.crossOrigin=this.crossOrigin),!this.metadata.skipSource)if(navigator.isCocoonJS)this.data.src=Array.isArray(this.url)?this.url[0]:this.url;else if(Array.isArray(this.url))for(var e=this.metadata.mimeType,n=0;n<this.url.length;++n)this.data.appendChild(this._createSource(t,this.url[n],Array.isArray(e)?e[n]:e));else{var r=this.metadata.mimeType;this.data.appendChild(this._createSource(t,this.url,Array.isArray(r)?r[0]:r))}this.data.addEventListener("error",this._boundOnError,!1),this.data.addEventListener("load",this._boundComplete,!1),this.data.addEventListener("progress",this._boundOnProgress,!1),this.data.addEventListener("canplaythrough",this._boundComplete,!1),this.data.load(),this.timeout&&(this._elementTimer=setTimeout(this._boundOnTimeout,this.timeout))}else this.abort("Unsupported element: "+t)},e._loadXhr=function(){"string"!=typeof this.xhrType&&(this.xhrType=this._determineXhrType());var e=this.xhr=new XMLHttpRequest;e.open("GET",this.url,!0),e.timeout=this.timeout,this.xhrType===t.XHR_RESPONSE_TYPE.JSON||this.xhrType===t.XHR_RESPONSE_TYPE.DOCUMENT?e.responseType=t.XHR_RESPONSE_TYPE.TEXT:e.responseType=this.xhrType,e.addEventListener("error",this._boundXhrOnError,!1),e.addEventListener("timeout",this._boundXhrOnTimeout,!1),e.addEventListener("abort",this._boundXhrOnAbort,!1),e.addEventListener("progress",this._boundOnProgress,!1),e.addEventListener("load",this._boundXhrOnLoad,!1),e.send()},e._loadXdr=function(){"string"!=typeof this.xhrType&&(this.xhrType=this._determineXhrType());var t=this.xhr=new XDomainRequest;t.timeout=this.timeout||5e3,t.onerror=this._boundXhrOnError,t.ontimeout=this._boundXhrOnTimeout,t.onprogress=this._boundOnProgress,t.onload=this._boundXhrOnLoad,t.open("GET",this.url,!0),setTimeout((function(){return t.send()}),1)},e._createSource=function(t,e,n){n||(n=t+"/"+this._getExtension(e));var r=document.createElement("source");return r.src=e,r.type=n,r},e._onError=function(t){this.abort("Failed to load element using: "+t.target.nodeName)},e._onProgress=function(t){t&&t.lengthComputable&&this.onProgress.dispatch(this,t.loaded/t.total)},e._onTimeout=function(){this.abort("Load timed out.")},e._xhrOnError=function(){var t=this.xhr;this.abort(Hm(t)+" Request failed. Status: "+t.status+', text: "'+t.
2statusText+'"')},e._xhrOnTimeout=function(){var t=this.xhr;this.abort(Hm(t)+" Request timed out.")},e._xhrOnAbort=function(){var t=this.xhr;this.abort(Hm(t)+" Request was aborted by the user.")},e._xhrOnLoad=function(){var e=this.xhr,n="",r=void 0===e.status?200:e.status;if(""!==e.responseType&&"text"!==e.responseType&&void 0!==e.responseType||(n=e.responseText),0===r&&(n.length>0||e.responseType===t.XHR_RESPONSE_TYPE.BUFFER)?r=200:1223===r&&(r=204),2===(r/100|0)){if(this.xhrType===t.XHR_RESPONSE_TYPE.TEXT)this.data=n,this.type=t.TYPE.TEXT;else if(this.xhrType===t.XHR_RESPONSE_TYPE.JSON)try{this.data=JSON.parse(n),this.type=t.TYPE.JSON}catch(t){return void this.abort("Error trying to parse loaded json: "+t)}else if(this.xhrType===t.XHR_RESPONSE_TYPE.DOCUMENT)try{if(window.DOMParser){var i=new DOMParser;this.data=i.parseFromString(n,"text/xml")}else{var o=document.createElement("div");o.innerHTML=n,this.data=o}this.type=t.TYPE.XML}catch(t){return void this.abort("Error trying to parse loaded xml: "+t)}else this.data=e.response||n;this.complete()}else this.abort("["+e.status+"] "+e.statusText+": "+e.responseURL)},e._determineCrossOrigin=function(t,e){if(0===t.indexOf("data:"))return"";if(window.origin!==window.location.origin)return"anonymous";e=e||window.location,Um||(Um=document.createElement("a")),Um.href=t;var n=!(t=Rm()(Um.href,{strictMode:!0})).port&&""===e.port||t.port===e.port,r=t.protocol?t.protocol+":":"";return t.host===e.hostname&&n&&r===e.protocol?"":"anonymous"},e._determineXhrType=function(){return t._xhrTypeMap[this.extension]||t.XHR_RESPONSE_TYPE.TEXT},e._determineLoadType=function(){return t._loadTypeMap[this.extension]||t.LOAD_TYPE.XHR},e._getExtension=function(){var t=this.url,e="";if(this.isDataUrl){var n=t.indexOf("/");e=t.substring(n+1,t.indexOf(";",n))}else{var r=t.indexOf("?"),i=t.indexOf("#"),o=Math.min(r>-1?r:t.length,i>-1?i:t.length);e=(t=t.substring(0,o)).substring(t.lastIndexOf(".")+1)}return e.toLowerCase()},e._getMimeFromXhrType=function(e){switch(e){case t.XHR_RESPONSE_TYPE.BUFFER:return"application/octet-binary";case t.XHR_RESPONSE_TYPE.BLOB:return"application/blob";case t.XHR_RESPONSE_TYPE.DOCUMENT:return"application/xml";case t.XHR_RESPONSE_TYPE.JSON:return"application/json";case t.XHR_RESPONSE_TYPE.DEFAULT:case t.XHR_RESPONSE_TYPE.TEXT:default:return"text/plain"}},Fm(t,[{key:"isDataUrl",get:function(){return this._hasFlag(t.STATUS_FLAGS.DATA_URL)}},{key:"isComplete",get:function(){return this._hasFlag(t.STATUS_FLAGS.COMPLETE)}},{key:"isLoading",get:function(){return this._hasFlag(t.STATUS_FLAGS.LOADING)}}]),t}();function jm(t,e,n){e&&0===e.indexOf(".")&&(e=e.substring(1)),e&&(t[e]=n)}function Hm(t){return t.toString().replace("object ","")}Xm.STATUS_FLAGS={NONE:0,DATA_URL:1,COMPLETE:2,LOADING:4},Xm.TYPE={UNKNOWN:0,JSON:1,XML:2,IMAGE:3,AUDIO:4,VIDEO:5,TEXT:6},Xm.LOAD_TYPE={XHR:1,IMAGE:2,AUDIO:3,VIDEO:4},Xm.XHR_RESPONSE_TYPE={DEFAULT:"text",BUFFER:"arraybuffer",BLOB:"blob",DOCUMENT:"document",JSON:"json",TEXT:"text"},Xm._loadTypeMap={gif:Xm.LOAD_TYPE.IMAGE,png:Xm.LOAD_TYPE.IMAGE,bmp:Xm.LOAD_TYPE.IMAGE,jpg:Xm.LOAD_TYPE.IMAGE,jpeg:Xm.LOAD_TYPE.IMAGE,tif:Xm.LOAD_TYPE.IMAGE,tiff:Xm.LOAD_TYPE.IMAGE,webp:Xm.LOAD_TYPE.IMAGE,tga:Xm.LOAD_TYPE.IMAGE,svg:Xm.LOAD_TYPE.IMAGE,"svg+xml":Xm.LOAD_TYPE.IMAGE,mp3:Xm.LOAD_TYPE.AUDIO,ogg:Xm.LOAD_TYPE.AUDIO,wav:Xm.LOAD_TYPE.AUDIO,mp4:Xm.LOAD_TYPE.VIDEO,webm:Xm.LOAD_TYPE.VIDEO},Xm._xhrTypeMap={xhtml:Xm.XHR_RESPONSE_TYPE.DOCUMENT,html:Xm.XHR_RESPONSE_TYPE.DOCUMENT,htm:Xm.XHR_RESPONSE_TYPE.DOCUMENT,xml:Xm.XHR_RESPONSE_TYPE.DOCUMENT,tmx:Xm.XHR_RESPONSE_TYPE.DOCUMENT,svg:Xm.XHR_RESPONSE_TYPE.DOCUMENT,tsx:Xm.XHR_RESPONSE_TYPE.DOCUMENT,gif:Xm.XHR_RESPONSE_TYPE.BLOB,png:Xm.XHR_RESPONSE_TYPE.BLOB,bmp:Xm.XHR_RESPONSE_TYPE.BLOB,jpg:Xm.XHR_RESPONSE_TYPE.BLOB,jpeg:Xm.XHR_RESPONSE_TYPE.BLOB,tif:Xm.XHR_RESPONSE_TYPE.BLOB,tiff:Xm.XHR_RESPONSE_TYPE.BLOB,webp:Xm.XHR_RESPONSE_TYPE.BLOB,tga:Xm.XHR_RESPONSE_TYPE.BLOB,json:Xm.XHR_RESPONSE_TYPE.JSON,text:Xm.XHR_RESPONSE_TYPE.TEXT,txt:Xm.XHR_RESPONSE_TYPE.TEXT,ttf:Xm.XHR_RESPONSE_TYPE.BUFFER,otf:Xm.XHR_RESPONSE_TYPE.BUFFER},Xm.EMPTY_GIF="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==";var zm=window.URL||window.webkitURL;var Ym={caching:function(t,e){var n=this;Nm[t.url]?(t.data=Nm[t.url],t.complete()):t.onComplete.once((function(){return Nm[n.url]=n.data})),e()},parsing:function(t,e){if(t.data){if(t.xhr&&t.xhrType===Xm.XHR_RESPONSE_TYPE.BLOB)if(window.Blob&&"string"!=typeof t.data){if(0===t.data.type.indexOf("image")){var n=zm.createObjectURL(t.data);return t.blob=t.data,t.data=new Image,t.data.src=n,t.type=Xm.TYPE.IMAGE,void(t.data.onload=function(){zm.revokeObjectURL(n),t.data.onload=null,e()})}}else{var r=t.xhr.getResponseHeader("content-type");if(r&&0===r.indexOf("image"))return t.data=new Image,t.data.src="data:"+r+";base64,"+function(t){for(var e="",n=0;n<t.length;){for(var r=[0,0,0],i=[0,0,0,0],o=0;o<r.length;++o)n<t.length?r[o]=255&t.charCodeAt(n++):r[o]=0;switch(i[0]=r[0]>>2,i[1]=(3&r[0])<<4|r[1]>>4,i[2]=(15&r[1])<<2|r[2]>>6,i[3]=63&r[2],n-(t.length-1)){case 2:i[3]=64,i[2]=64;break;case 1:i[3]=64}for(var s=0;s<i.length;++s)e+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
2+/=".charAt(i[s])}return e}(t.xhr.responseText),t.type=Xm.TYPE.IMAGE,void(t.data.onload=function(){t.data.onload=null,e()})}e()}else e()}},Vm=/(#[\w-]+)?$/,$m=function(){function t(e,n){var r=this;void 0===e&&(e=""),void 0===n&&(n=10),this.baseUrl=e,this.progress=0,this.loading=!1,this.defaultQueryString="",this._beforeMiddleware=[],this._afterMiddleware=[],this._resourcesParsing=[],this._boundLoadResource=function(t,e){return r._loadResource(t,e)},this._queue=Lm(this._boundLoadResource,n),this._queue.pause(),this.resources={},this.onProgress=new(Cm()),this.onError=new(Cm()),this.onLoad=new(Cm()),this.onStart=new(Cm()),this.onComplete=new(Cm());for(var i=0;i<t._defaultBeforeMiddleware.length;++i)this.pre(t._defaultBeforeMiddleware[i]);for(var o=0;o<t._defaultAfterMiddleware.length;++o)this.use(t._defaultAfterMiddleware[o])}var e=t.prototype;return e.add=function(t,e,n,r){if(Array.isArray(t)){for(var i=0;i<t.length;++i)this.add(t[i]);return this}if("object"==typeof t&&(r=e||t.callback||t.onComplete,n=t,e=t.url,t=t.name||t.key||t.url),"string"!=typeof e&&(r=n,n=e,e=t),"string"!=typeof e)throw new Error("No url passed to add resource to loader.");if("function"==typeof n&&(r=n,n=null),this.loading&&(!n||!n.parentResource))throw new Error("Cannot add resources while the loader is running.");if(this.resources[t])throw new Error('Resource named "'+t+'" already exists.');if(e=this._prepareUrl(e),this.resources[t]=new Xm(t,e,n),"function"==typeof r&&this.resources[t].onAfterMiddleware.once(r),this.loading){for(var o=n.parentResource,s=[],a=0;a<o.children.length;++a)o.children[a].isComplete||s.push(o.children[a]);var u=o.progressChunk*(s.length+1)/(s.length+2);o.children.push(this.resources[t]),o.progressChunk=u;for(var l=0;l<s.length;++l)s[l].progressChunk=u;this.resources[t].progressChunk=u}return this._queue.push(this.resources[t]),this},e.pre=function(t){return this._beforeMiddleware.push(t),this},e.use=function(t){return this._afterMiddleware.push(t),this},e.reset=function(){for(var t in this.progress=0,this.loading=!1,this._queue.kill(),this._queue.pause(),this.resources){var e=this.resources[t];e._onLoadBinding&&e._onLoadBinding.detach(),e.isLoading&&e.abort()}return this.resources={},this},e.load=function(t){if("function"==typeof t&&this.onComplete.once(t),this.loading)return this;if(this._queue.idle())this._onStart(),this._onComplete();else{for(var e=100/this._queue._tasks.length,n=0;n<this._queue._tasks.length;++n)this._queue._tasks[n].data.progressChunk=e;this._onStart(),this._queue.resume()}return this},e._prepareUrl=function(t){var e,n=Rm()(t,{strictMode:!0});if(e=n.protocol||!n.path||0===t.indexOf("//")?t:this.baseUrl.length&&this.baseUrl.lastIndexOf("/")!==this.baseUrl.length-1&&"/"!==t.charAt(0)?this.baseUrl+"/"+t:this.baseUrl+t,this.defaultQueryString){var r=Vm.exec(e)[0];-1!==(e=e.substr(0,e.length-r.length)).indexOf("?")?e+="&"+this.defaultQueryString:e+="?"+this.defaultQueryString,e+=r}return e},e._loadResource=function(t,e){var n=this;t._dequeue=e,Mm(this._beforeMiddleware,(function(e,r){e.call(n,t,(function(){r(t.isComplete?{}:null)}))}),(function(){t.isComplete?n._onLoad(t):(t._onLoadBinding=t.onComplete.once(n._onLoad,n),t.load())}),!0)},e._onStart=function(){this.progress=0,this.loading=!0,this.onStart.dispatch(this)},e._onComplete=function(){this.progress=100,this.loading=!1,this.onComplete.dispatch(this,this.resources)},e._onLoad=function(t){var e=this;t._onLoadBinding=null,this._resourcesParsing.push(t),t._dequeue(),Mm(this._afterMiddleware,(function(n,r){n.call(e,t,r)}),(function(){t.onAfterMiddleware.dispatch(t),e.progress=Math.min(100,e.progress+t.progressChunk),e.onProgress.dispatch(e,t),t.error?e.onError.dispatch(t.error,e,t):e.onLoad.dispatch(e,t),e._resourcesParsing.splice(e._resourcesParsing.indexOf(t),1),e._queue.idle()&&0===e._resourcesParsing.length&&e._onComplete()}),!0)},Fm(t,[{key:"concurrency",get:function(){return this._queue.concurrency}
2,set:function(t){this._queue.concurrency=t}}]),t}();$m._defaultBeforeMiddleware=[],$m._defaultAfterMiddleware=[],$m.pre=function(t){return $m._defaultBeforeMiddleware.push(t),$m},$m.use=function(t){return $m._defaultAfterMiddleware.push(t),$m};var Wm=function(t,e){return(Wm=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};var qm=function(){function t(){}return t.add=function(){Xm.setExtensionLoadType("svg",Xm.LOAD_TYPE.XHR),Xm.setExtensionXhrType("svg",Xm.XHR_RESPONSE_TYPE.TEXT)},t.use=function(t,e){if(!t.data||t.type!==Xm.TYPE.IMAGE&&"svg"!==t.extension)e();else{var n=t.data,r=t.url,i=t.name,o=t.metadata;kp.fromLoader(n,r,i,o).then((function(n){t.texture=n,e()})).catch(e)}},t}(),Zm=function(t){function e(n,r){for(var i=t.call(this,n,r)||this,o=0;o<e._plugins.length;++o){var s=e._plugins[o],a=s.pre,u=s.use;a&&i.pre(a),u&&i.use(u)}return i._protected=!1,i}return function(t,e){function n(){this.constructor=t}Wm(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),e.prototype.destroy=function(){this._protected||this.reset()},Object.defineProperty(e,"shared",{get:function(){var t=e._shared;return t||((t=new e)._protected=!0,e._shared=t),t},enumerable:!1,configurable:!0}),e.registerPlugin=function(t){return e._plugins.push(t),t.add&&t.add(),e},e._plugins=[],e}($m);Zm.registerPlugin({use:Ym.parsing}),Zm.registerPlugin(qm);var Km,Jm,Qm=function(){function t(){}return t.init=function(t){t=Object.assign({sharedLoader:!1},t),this.loader=t.sharedLoader?Zm.shared:new Zm},t.destroy=function(){this.loader&&(this.loader.destroy(),this.loader=null)},t}(),tg=Xm;!function(t){t[t.COMPRESSED_RGB_S3TC_DXT1_EXT=33776]="COMPRESSED_RGB_S3TC_DXT1_EXT",t[t.COMPRESSED_RGBA_S3TC_DXT1_EXT=33777]="COMPRESSED_RGBA_S3TC_DXT1_EXT",t[t.COMPRESSED_RGBA_S3TC_DXT3_EXT=33778]="COMPRESSED_RGBA_S3TC_DXT3_EXT",t[t.COMPRESSED_RGBA_S3TC_DXT5_EXT=33779]="COMPRESSED_RGBA_S3TC_DXT5_EXT",t[t.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT=35917]="COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT",t[t.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT=35918]="COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT",t[t.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT=35919]="COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT",t[t.COMPRESSED_SRGB_S3TC_DXT1_EXT=35916]="COMPRESSED_SRGB_S3TC_DXT1_EXT",t[t.COMPRESSED_R11_EAC=37488]="COMPRESSED_R11_EAC",t[t.COMPRESSED_SIGNED_R11_EAC=37489]="COMPRESSED_SIGNED_R11_EAC",t[t.COMPRESSED_RG11_EAC=37490]="COMPRESSED_RG11_EAC",t[t.COMPRESSED_SIGNED_RG11_EAC=37491]="COMPRESSED_SIGNED_RG11_EAC",t[t.COMPRESSED_RGB8_ETC2=37492]="COMPRESSED_RGB8_ETC2",t[t.COMPRESSED_RGBA8_ETC2_EAC=37496]="COMPRESSED_RGBA8_ETC2_EAC",t[t.COMPRESSED_SRGB8_ETC2=37493]="COMPRESSED_SRGB8_ETC2",t[t.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC=37497]="COMPRESSED_SRGB8_ALPHA8_ETC2_EAC",t[t.COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2=37494]="COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2",t[t.COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2=37495]="COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2",t[t.COMPRESSED_RGB_PVRTC_4BPPV1_IMG=35840]="COMPRESSED_RGB_PVRTC_4BPPV1_IMG",t[t.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG=35842]="COMPRESSED_RGBA_PVRTC_4BPPV1_IMG",t[t.COMPRESSED_RGB_PVRTC_2BPPV1_IMG=35841]="COMPRESSED_RGB_PVRTC_2BPPV1_IMG",t[t.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG=35843]="COMPRESSED_RGBA_PVRTC_2BPPV1_IMG",t[t.COMPRESSED_RGB_ETC1_WEBGL=36196]="COMPRESSED_RGB_ETC1_WEBGL",t[t.COMPRESSED_RGB_ATC_WEBGL=35986]="COMPRESSED_RGB_ATC_WEBGL",t[t.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL=35986]="COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL",t[t.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL=34798]="COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL"}(Jm||(Jm={}));var eg=((Km={})[Jm.COMPRESSED_RGB_S3TC_DXT1_EXT]=.5,Km[Jm.COMPRESSED_RGBA_S3TC_DXT1_EXT]=.5,Km[Jm.COMPRESSED_RGBA_S3TC_DXT3_EXT]=1,Km[Jm.COMPRESSED_RGBA_S3TC_DXT5_EXT]=1,Km[Jm.COMPRESSED_SRGB_S3TC_DXT1_EXT]=.5,Km[Jm.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT]=.5,Km[Jm.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT]=1,Km[Jm.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT]=1,Km[Jm.COMPRESSED_R11_EAC]=.5,Km[Jm.COMPRESSED_SIGNED_R11_EAC]=.5,Km[Jm.COMPRESSED_RG11_EAC]=1,Km[Jm.COMPRESSED_SIGNED_RG11_EAC]=1,Km[Jm.COMPRESSED_RGB8_ETC2]=.5,Km[Jm.COMPRESSED_RGBA8_ETC2_EAC]=1,Km[Jm.COMPRESSED_SRGB8_ETC2]=.5,Km[Jm.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC]=1,Km[Jm.COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2]=.5,Km[Jm.COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2]=.5,Km[Jm.COMPRESSED_RGB_PVRTC_4BPPV1_IMG]=.5,Km[Jm.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG]=.5,Km[Jm.COMPRESSED_RGB_PVRTC_2BPPV1_IMG]=.25,Km[Jm.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG]=.25,Km[Jm.COMPRESSED_RGB_ETC1_WEBGL]=.5,Km[Jm.COMPRESSED_RGB_ATC_WEBGL]=.5,Km[Jm.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL]=1,Km[Jm.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL]=1,Km),ng=function(t,e){return(ng=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function rg(t,e){function n(){this.constructor=t}ng(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function ig(t,e){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
2function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}var og,sg,ag=function(t){function e(n,r){var i=t.call(this,n,r)||this;return i.format=r.format,i.levels=r.levels||1,i._width=r.width,i._height=r.height,i._extension=e._formatToExtension(i.format),(r.levelBuffers||i.buffer)&&(i._levelBuffers=r.levelBuffers||e._createLevelBuffers(n instanceof Uint8Array?n:i.buffer.uint8View,i.format,i.levels,4,4,i.width,i.height)),i}return rg(e,t),e.prototype.upload=function(t,e,n){var r=t.gl;if(!t.context.extensions[this._extension])throw new Error(this._extension+" textures are not supported on the current machine");if(!this._levelBuffers)return!1;for(var i=0,o=this.levels;i<o;i++){var s=this._levelBuffers[i],a=s.levelID,u=s.levelWidth,l=s.levelHeight,c=s.levelBuffer;r.compressedTexImage2D(r.TEXTURE_2D,a,this.format,u,l,0,c)}return!0},e.prototype.onBlobLoaded=function(){this._levelBuffers=e._createLevelBuffers(this.buffer.uint8View,this.format,this.levels,4,4,this.width,this.height)},e._formatToExtension=function(t){if(t>=33776&&t<=33779)return"s3tc";if(t>=37488&&t<=37497)return"etc";if(t>=35840&&t<=35843)return"pvrtc";if(t>=36196)return"etc1";if(t>=35986&&t<=34798)return"atc";throw new Error("Invalid (compressed) texture format given!")},e._createLevelBuffers=function(t,e,n,r,i,o,s){for(var a=new Array(n),u=t.byteOffset,l=o,c=s,h=l+r-1&~(r-1),f=c+i-1&~(i-1),d=h*f*eg[e],p=0;p<n;p++)a[p]={levelID:p,levelWidth:n>1?l:h,levelHeight:n>1?c:f,levelBuffer:new Uint8Array(t.buffer,u,d)},u+=d,d=(h=(l=l>>1||1)+r-1&~(r-1))*(f=(c=c>>1||1)+i-1&~(i-1))*eg[e];return a},e}(function(t){function e(e,n){void 0===n&&(n={width:1,height:1,autoLoad:!0});var r,i,o=this;return"string"==typeof e?(r=e,i=new Uint8Array):(r=null,i=e),(o=t.call(this,i,n)||this).origin=r,o.buffer=i?new hm(i):null,o.origin&&!1!==n.autoLoad&&o.load(),i&&i.length&&(o.loaded=!0,o.onBlobLoaded(o.buffer.rawBinaryData)),o}return rg(e,t),e.prototype.onBlobLoaded=function(t){},e.prototype.load=function(){return t=this,e=void 0,r=function(){var t;return ig(this,(function(e){switch(e.label){case 0:return[4,fetch(this.origin)];case 1:return[4,e.sent().blob()];case 2:return[4,e.sent().arrayBuffer()];case 3:return t=e.sent(),this.data=new Uint32Array(t),this.buffer=new hm(t),this.loaded=!0,this.onBlobLoaded(t),this.update(),[2,this]}}))},new((n=Promise)||(n=Promise))((function(i,o){function s(t){try{u(r.next(t))}catch(t){o(t)}}function a(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){t.done?i(t.value):new n((function(e){e(t.value)})).then(s,a)}u((r=r.apply(t,e||[])).next())}));var t,e,n,r},e}(gp)),ug=function(){function t(){}return t.use=function(e,n){var r=e.data;if(e.type===tg.TYPE.JSON&&r&&r.cacheID&&r.textures){for(var i=r.textures,o=void 0,s=void 0,a=0,u=i.length;a<u;a++){var l=i[a],c=l.src,h=l.format;if(h||(s=c),t.textureFormats[h]){o=c;break}}if(!(o=o||s))return void n(new Error("Cannot load compressed-textures in "+e.url+", make sure you provide a fallback"));if(o===e.url)return void n(new Error("URL of compressed texture cannot be the same as the manifest's URL"));var f={crossOrigin:e.crossOrigin,metadata:e.metadata.imageMetadata,parentResource:e},d=Ff.resolve(e.url.replace(this.baseUrl,""),o),p=r.cacheID;this.add(p,d,f,(function(t){if(t.error)n(t.error);else{var r=t.texture,i=void 0===r?null:r,o=t.textures,s=void 0===o?{}:o;Object.assign(e,{texture:i,textures:s}),n()}}))}else n()},t.add=function(){var e=document.createElement("canvas").getContext("webgl");
2if(e){var n={s3tc:e.getExtension("WEBGL_compressed_texture_s3tc"),s3tc_sRGB:e.getExtension("WEBGL_compressed_texture_s3tc_srgb"),etc:e.getExtension("WEBGL_compressed_texture_etc"),etc1:e.getExtension("WEBGL_compressed_texture_etc1"),pvrtc:e.getExtension("WEBGL_compressed_texture_pvrtc")||e.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc"),atc:e.getExtension("WEBGL_compressed_texture_atc"),astc:e.getExtension("WEBGL_compressed_texture_astc")};for(var r in t.textureExtensions=n,t.textureFormats={},n){var i=n[r];i&&Object.assign(t.textureFormats,Object.getPrototypeOf(i))}}else console.error("WebGL not available for compressed textures. Silently failing.")},t}();function lg(t,e,n){var r={textures:{},texture:null};return e?(e.map((function(t){return new kp(new _p(t,Object.assign({mipmap:wf.OFF,alphaMode:Sf.NO_PREMULTIPLIED_ALPHA},n)))})).forEach((function(e,n){var i=e.baseTexture,o=t+"-"+(n+1);_p.addToCache(i,o),kp.addToCache(e,o),0===n&&(_p.addToCache(i,t),kp.addToCache(e,t),r.texture=e),r.textures[o]=e})),r):r}tg.setExtensionXhrType("dds",tg.XHR_RESPONSE_TYPE.BUFFER);var cg,hg,fg=124,dg=3,pg=4,vg=7,mg=19,gg=2,yg=0,_g=1,bg=2,xg=3;!function(t){t[t.DXGI_FORMAT_UNKNOWN=0]="DXGI_FORMAT_UNKNOWN",t[t.DXGI_FORMAT_R32G32B32A32_TYPELESS=1]="DXGI_FORMAT_R32G32B32A32_TYPELESS",t[t.DXGI_FORMAT_R32G32B32A32_FLOAT=2]="DXGI_FORMAT_R32G32B32A32_FLOAT",t[t.DXGI_FORMAT_R32G32B32A32_UINT=3]="DXGI_FORMAT_R32G32B32A32_UINT",t[t.DXGI_FORMAT_R32G32B32A32_SINT=4]="DXGI_FORMAT_R32G32B32A32_SINT",t[t.DXGI_FORMAT_R32G32B32_TYPELESS=5]="DXGI_FORMAT_R32G32B32_TYPELESS",t[t.DXGI_FORMAT_R32G32B32_FLOAT=6]="DXGI_FORMAT_R32G32B32_FLOAT",t[t.DXGI_FORMAT_R32G32B32_UINT=7]="DXGI_FORMAT_R32G32B32_UINT",t[t.DXGI_FORMAT_R32G32B32_SINT=8]="DXGI_FORMAT_R32G32B32_SINT",t[t.DXGI_FORMAT_R16G16B16A16_TYPELESS=9]="DXGI_FORMAT_R16G16B16A16_TYPELESS",t[t.DXGI_FORMAT_R16G16B16A16_FLOAT=10]="DXGI_FORMAT_R16G16B16A16_FLOAT",t[t.DXGI_FORMAT_R16G16B16A16_UNORM=11]="DXGI_FORMAT_R16G16B16A16_UNORM",t[t.DXGI_FORMAT_R16G16B16A16_UINT=12]="DXGI_FORMAT_R16G16B16A16_UINT",t[t.DXGI_FORMAT_R16G16B16A16_SNORM=13]="DXGI_FORMAT_R16G16B16A16_SNORM",t[t.DXGI_FORMAT_R16G16B16A16_SINT=14]="DXGI_FORMAT_R16G16B16A16_SINT",t[t.DXGI_FORMAT_R32G32_TYPELESS=15]="DXGI_FORMAT_R32G32_TYPELESS",t[t.DXGI_FORMAT_R32G32_FLOAT=16]="DXGI_FORMAT_R32G32_FLOAT",t[t.DXGI_FORMAT_R32G32_UINT=17]="DXGI_FORMAT_R32G32_UINT",t[t.DXGI_FORMAT_R32G32_SINT=18]="DXGI_FORMAT_R32G32_SINT",t[t.DXGI_FORMAT_R32G8X24_TYPELESS=19]="DXGI_FORMAT_R32G8X24_TYPELESS",t[t.DXGI_FORMAT_D32_FLOAT_S8X24_UINT=20]="DXGI_FORMAT_D32_FLOAT_S8X24_UINT",t[t.DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS=21]="DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS",t[t.DXGI_FORMAT_X32_TYPELESS_G8X24_UINT=22]="DXGI_FORMAT_X32_TYPELESS_G8X24_UINT",t[t.DXGI_FORMAT_R10G10B10A2_TYPELESS=23]="DXGI_FORMAT_R10G10B10A2_TYPELESS",t[t.DXGI_FORMAT_R10G10B10A2_UNORM=24]="DXGI_FORMAT_R10G10B10A2_UNORM",t[t.DXGI_FORMAT_R10G10B10A2_UINT=25]="DXGI_FORMAT_R10G10B10A2_UINT",t[t.DXGI_FORMAT_R11G11B10_FLOAT=26]="DXGI_FORMAT_R11G11B10_FLOAT",t[t.DXGI_FORMAT_R8G8B8A8_TYPELESS=27]="DXGI_FORMAT_R8G8B8A8_TYPELESS",t[t.DXGI_FORMAT_R8G8B8A8_UNORM=28]="DXGI_FORMAT_R8G8B8A8_UNORM",t[t.DXGI_FORMAT_R8G8B8A8_UNORM_SRGB=29]="DXGI_FORMAT_R8G8B8A8_UNORM_SRGB",t[t.DXGI_FORMAT_R8G8B8A8_UINT=30]="DXGI_FORMAT_R8G8B8A8_UINT",t[t.DXGI_FORMAT_R8G8B8A8_SNORM=31]="DXGI_FORMAT_R8G8B8A8_SNORM",t[t.DXGI_FORMAT_R8G8B8A8_SINT=32]="DXGI_FORMAT_R8G8B8A8_SINT",t[t.DXGI_FORMAT_R16G16_TYPELESS=33]="DXGI_FORMAT_R16G16_TYPELESS",t[t.DXGI_FORMAT_R16G16_FLOAT=34]="DXGI_FORMAT_R16G16_FLOAT",t[t.DXGI_FORMAT_R16G16_UNORM=35]="DXGI_FORMAT_R16G16_UNORM",t[t.DXGI_FORMAT_R16G16_UINT=36]="DXGI_FORMAT_R16G16_UINT",t[t.DXGI_FORMAT_R16G16_SNORM=37]="DXGI_FORMAT_R16G16_SNORM",t[t.DXGI_FORMAT_R16G16_SINT=38]="DXGI_FORMAT_R16G16_SINT",t[t.DXGI_FORMAT_R32_TYPELESS=39]="DXGI_FORMAT_R32_TYPELESS",t[t.DXGI_FORMAT_D32_FLOAT=40]="DXGI_FORMAT_D32_FLOAT",t[t.DXGI_FORMAT_R32_FLOAT=41]="DXGI_FORMAT_R32_FLOAT",t[t.DXGI_FORMAT_R32_UINT=42]="DXGI_FORMAT_R32_UINT",t[t.DXGI_FORMAT_R32_SINT=43]="DXGI_FORMAT_R32_SINT",t[t.DXGI_FORMAT_R24G8_TYPELESS=44]="DXGI_FORMAT_R24G8_TYPELESS",t[t.DXGI_FORMAT_D24_UNORM_S8_UINT=45]="DXGI_FORMAT_D24_UNORM_S8_UINT",t[t.DXGI_FORMAT_R24_UNORM_X8_TYPELESS=46]="DXGI_FORMAT_R24_UNORM_X8_TYPELESS",t[t.DXGI_FORMAT_X24_TYPELESS_G8_UINT=47]="DXGI_FORMAT_X24_TYPELESS_G8_UINT",t[t.DXGI_FORMAT_R8G8_TYPELESS=48]="DXGI_FORMAT_R8G8_TYPELESS",t[t.DXGI_FORMAT_R8G8_UNORM=49]="DXGI_FORMAT_R8G8_UNORM",t[t.DXGI_FORMAT_R8G8_UINT=50]="DXGI_FORMAT_R8G8_UINT",t[t.DXGI_FORMAT_R8G8_SNORM=51]="DXGI_FORMAT_R8G8_SNORM",t[t.DXGI_FORMAT_R8G8_SINT=52]="DXGI_FORMAT_R8G8_SINT",t[t.DXGI_FORMAT_R16_TYPELESS=53]="DXGI_FORMAT_R16_TYPELESS",t[t.DXGI_FORMAT_R16_FLOAT=54]="DXGI_FORMAT_R16_FLOAT",t[t.DXGI_FORMAT_D16_UNORM=55]="DXGI_FORMAT_D16_UNORM",t[t.DXGI_FORMAT_R16_UNORM=56]="DXGI_FORMAT_R16_UNORM",t[t.DXGI_FORMAT_R16_UINT=57]="DXGI_FORMAT_R16_UINT",t[t.DXGI_FORMAT_R16_SNORM=58]="DXGI_FORMAT_R16_SNORM",t[t.DXGI_FORMAT_R16_SINT=59]="DXGI_FORMAT_R16_SINT",t[t.DXGI_FORMAT_R8_TYPELESS=60]="DXGI_FORMAT_R8_TYPELESS",t[t.DXGI_FORMAT_R8_UNORM=61]="DXGI_FORMAT_R8_UNORM",t[t.DXGI_FORMAT_R8_UINT=62]="DXGI_FORMAT_R8_UINT",t[t.DXGI_FORMAT_R8_SNORM=63]="DXGI_FORMAT_R8_SNORM",t[t.DXGI_FORMAT_R8_SINT=64]="DXGI_FORMAT_R8_SINT",t[t.DXGI_FORMAT_A8_UNORM=65]="DXGI_FORMAT_A8_UNORM",t[t.DXGI_FORMAT_R1_UNORM=66]="DXGI_FORMAT_R1_UNORM",t[t.DXGI_FORMAT_R9G9B9E5_SHAREDEXP=67]="DXGI_FORMAT_R9G9B9E5_SHAREDEXP",t[t.DXGI_FORMAT_R8G8_B8G8_UNORM=68]="DXGI_FORMAT_R8G8_B8G8_UNORM",t[t.DXGI_FORMAT_G8R8_G8B8_UNORM=69]="DXGI_FORMAT_G8R8_G8B8_UNORM",t[t.DXGI_FORMAT_BC1_TYPELESS=70]="DXGI_FORMAT_BC1_TYPELESS",t[t.DXGI_FORMAT_BC1_UNORM=71]="DXGI_FORMAT_BC1_UNORM",t[t.DXGI_FORMAT_BC1_UNORM_SRGB=72]="DXGI_FORMAT_BC1_UNORM_SRGB",t[t.DXGI_FORMAT_BC2_TYPELESS=73]="DXGI_FORMAT_BC2_TYPELESS",t[t.DXGI_FORMAT_BC2_UNORM=74]="DXGI_FORMAT_BC2_UNORM",t[t.DXGI_FORMAT_BC2_UNORM_SRGB=75]="DXGI_FORMAT_BC2_UNORM_SRGB",t[t.DXGI_FORMAT_BC3_TYPELESS=76]="DXGI_FORMAT_BC3_TYPELESS",t[t.DXGI_FORMAT_BC3_UNORM=77]="DXGI_FORMAT_BC3_UNORM",t[t.DXGI_FORMAT_BC3_UNORM_SRGB=78]="DXGI_FORMAT_BC3_UNORM_SRGB",t[t.DXGI_FORMAT_BC4_TYPELESS=79]="DXGI_FORMAT_BC4_TYPELESS",t[t.DXGI_FORMAT_BC4_UNORM=80]="DXGI_FORMAT_BC4_UNORM",t[t.DXGI_FORMAT_BC4_SNORM=81]="DXGI_FORMAT_BC4_SNORM",t[t.DXGI_FORMAT_BC5_TYPELESS=82]="DXGI_FORMAT_BC5_TYPELESS",t[t.DXGI_FORMAT_BC5_UNORM=83]="DXGI_FORMAT_BC5_UNORM",t[t.DXGI_FORMAT_BC5_SNORM=84]="DXGI_FORMAT_BC5_SNORM",t[t.DXGI_FORMAT_B5G6R5_UNORM=85]="DXGI_FORMAT_B5G6R5_UNORM",t[t.DXGI_FORMAT_B5G5R5A1_UNORM=86]="DXGI_FORMAT_B5G5R5A1_UNORM",t[t.DXGI_FORMAT_B8G8R8A8_UNORM=87]="DXGI_FORMAT_B8G8R8A8_UNORM",t[t.DXGI_FORMAT_B8G8R8X8_UNORM=88]="DXGI_FORMAT_B8G8R8X8_UNORM",t[t.DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM=89]="DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM",t[t.DXGI_FORMAT_B8G8R8A8_TYPELESS=90]="DXGI_FORMAT_B8G8R8A8_TYPELESS",t[t.DXGI_FORMAT_B8G8R8A8_UNORM_SRGB=91]="DXGI_FORMAT_B8G8R8A8_UNORM_SRGB",t[t.DXGI_FORMAT_B8G8R8X8_TYPELESS=92]="DXGI_FORMAT_B8G8R8X8_TYPELESS",t[t.DXGI_FORMAT_B8G8R8X8_UNORM_SRGB=93]="DXGI_FORMAT_B8G8R8X8_UNORM_SRGB",t[t.DXGI_FORMAT_BC6H_TYPELESS=94]="DXGI_FORMAT_BC6H_TYPELESS",t[t.DXGI_FORMAT_BC6H_UF16=95]="DXGI_FORMAT_BC6H_UF16",t[t.DXGI_FORMAT_BC6H_SF16=96]="DXGI_FORMAT_BC6H_SF16",t[t.DXGI_FORMAT_BC7_TYPELESS=97]="DXGI_FORMAT_BC7_TYPELESS",t[t.DXGI_FORMAT_BC7_UNORM=98]="DXGI_FORMAT_BC7_UNORM",t[t.DXGI_FORMAT_BC7_UNORM_
2SRGB=99]="DXGI_FORMAT_BC7_UNORM_SRGB",t[t.DXGI_FORMAT_AYUV=100]="DXGI_FORMAT_AYUV",t[t.DXGI_FORMAT_Y410=101]="DXGI_FORMAT_Y410",t[t.DXGI_FORMAT_Y416=102]="DXGI_FORMAT_Y416",t[t.DXGI_FORMAT_NV12=103]="DXGI_FORMAT_NV12",t[t.DXGI_FORMAT_P010=104]="DXGI_FORMAT_P010",t[t.DXGI_FORMAT_P016=105]="DXGI_FORMAT_P016",t[t.DXGI_FORMAT_420_OPAQUE=106]="DXGI_FORMAT_420_OPAQUE",t[t.DXGI_FORMAT_YUY2=107]="DXGI_FORMAT_YUY2",t[t.DXGI_FORMAT_Y210=108]="DXGI_FORMAT_Y210",t[t.DXGI_FORMAT_Y216=109]="DXGI_FORMAT_Y216",t[t.DXGI_FORMAT_NV11=110]="DXGI_FORMAT_NV11",t[t.DXGI_FORMAT_AI44=111]="DXGI_FORMAT_AI44",t[t.DXGI_FORMAT_IA44=112]="DXGI_FORMAT_IA44",t[t.DXGI_FORMAT_P8=113]="DXGI_FORMAT_P8",t[t.DXGI_FORMAT_A8P8=114]="DXGI_FORMAT_A8P8",t[t.DXGI_FORMAT_B4G4R4A4_UNORM=115]="DXGI_FORMAT_B4G4R4A4_UNORM",t[t.DXGI_FORMAT_P208=116]="DXGI_FORMAT_P208",t[t.DXGI_FORMAT_V208=117]="DXGI_FORMAT_V208",t[t.DXGI_FORMAT_V408=118]="DXGI_FORMAT_V408",t[t.DXGI_FORMAT_SAMPLER_FEEDBACK_MIN_MIP_OPAQUE=119]="DXGI_FORMAT_SAMPLER_FEEDBACK_MIN_MIP_OPAQUE",t[t.DXGI_FORMAT_SAMPLER_FEEDBACK_MIP_REGION_USED_OPAQUE=120]="DXGI_FORMAT_SAMPLER_FEEDBACK_MIP_REGION_USED_OPAQUE",t[t.DXGI_FORMAT_FORCE_UINT=121]="DXGI_FORMAT_FORCE_UINT"}(cg||(cg={})),function(t){t[t.DDS_DIMENSION_TEXTURE1D=2]="DDS_DIMENSION_TEXTURE1D",t[t.DDS_DIMENSION_TEXTURE2D=3]="DDS_DIMENSION_TEXTURE2D",t[t.DDS_DIMENSION_TEXTURE3D=6]="DDS_DIMENSION_TEXTURE3D"}(hg||(hg={}));var Tg,Eg,wg,Sg=((og={})[827611204]=Jm.COMPRESSED_RGBA_S3TC_DXT1_EXT,og[861165636]=Jm.COMPRESSED_RGBA_S3TC_DXT3_EXT,og[894720068]=Jm.COMPRESSED_RGBA_S3TC_DXT5_EXT,og),Ag=((sg={})[cg.DXGI_FORMAT_BC1_TYPELESS]=Jm.COMPRESSED_RGBA_S3TC_DXT1_EXT,sg[cg.DXGI_FORMAT_BC1_UNORM]=Jm.COMPRESSED_RGBA_S3TC_DXT1_EXT,sg[cg.DXGI_FORMAT_BC2_TYPELESS]=Jm.COMPRESSED_RGBA_S3TC_DXT3_EXT,sg[cg.DXGI_FORMAT_BC2_UNORM]=Jm.COMPRESSED_RGBA_S3TC_DXT3_EXT,sg[cg.DXGI_FORMAT_BC3_TYPELESS]=Jm.COMPRESSED_RGBA_S3TC_DXT5_EXT,sg[cg.DXGI_FORMAT_BC3_UNORM]=Jm.COMPRESSED_RGBA_S3TC_DXT5_EXT,sg[cg.DXGI_FORMAT_BC1_UNORM_SRGB]=Jm.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT,sg[cg.DXGI_FORMAT_BC2_UNORM_SRGB]=Jm.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT,sg[cg.DXGI_FORMAT_BC3_UNORM_SRGB]=Jm.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT,sg),Og=function(){function t(){}return t.use=function(e,n){if("dds"===e.extension&&e.data)try{Object.assign(e,lg(e.name||e.url,t.parse(e.data),e.metadata))}catch(t){return void n(t)}n()},t.parse=function(t){var e=new Uint32Array(t);if(542327876!==e[0])throw new Error("Invalid DDS file magic word");var n=new Uint32Array(t,0,fg/Uint32Array.BYTES_PER_ELEMENT),r=n[dg],i=n[pg],o=n[vg],s=new Uint32Array(t,mg*Uint32Array.BYTES_PER_ELEMENT,32/Uint32Array.BYTES_PER_ELEMENT),a=s[1];if(4&a){var u=s[gg];if(808540228!==u){var l=Sg[u],c=new Uint8Array(t,128);return[new ag(c,{format:l,width:i,height:r,levels:o})]}var h=new Uint32Array(e.buffer,128,20/Uint32Array.BYTES_PER_ELEMENT),f=h[yg],d=h[_g],p=h[bg],v=h[xg],m=Ag[f];if(void 0===m)throw new Error("DDSLoader cannot parse texture data with DXGI format "+f);if(4===p)throw new Error("DDSLoader does not support cubemap textures");if(d===hg.DDS_DIMENSION_TEXTURE3D)throw new Error("DDSLoader does not supported 3D texture data");var g=new Array;if(1===v)g.push(new Uint8Array(t,148));else{for(var y=eg[m],_=0,b=i,x=r,T=0;T<o;T++){_+=Math.max(1,b+3&-4)*Math.max(1,x+3&-4)*y,b>>>=1,x>>>=1}var E=148;for(T=0;T<v;T++)g.push(new Uint8Array(t,E,_)),E+=_}return g.map((function(t){return new ag(t,{format:m,width:i,height:r,levels:o})}))}if(64&a)throw new Error("DDSLoader does not support uncompressed texture data.");if(512&a)throw new Error("DDSLoader does not supported YUV uncompressed texture data.");if(131072&a)throw new Error("DDSLoader does not support single-channel (lumninance) texture data!");if(2&a)throw new Error("DDSLoader does not support single-channel (alpha) texture data!");throw new Error("DDSLoader failed to load a texture file due to an unknown reason!")},t}();tg.setExtensionXhrType("ktx",tg.XHR_RESPONSE_TYPE.BUFFER);var Rg=[171,75,84,88,32,49,49,187,13,10,26,10],Pg=12,Cg=16,Ig=24,Mg=28,Dg=36,Lg=40,Ng=44,kg=48,Fg=52,Bg=56,Ug=60,Gg=((Tg={})[bf.UNSIGNED_BYTE]=1,Tg[bf.UNSIGNED_SHORT]=2,Tg[bf.FLOAT]=4,Tg[bf.HA
2LF_FLOAT]=8,Tg),Xg=((Eg={})[yf.RGBA]=4,Eg[yf.RGB]=3,Eg[yf.LUMINANCE]=1,Eg[yf.LUMINANCE_ALPHA]=2,Eg[yf.ALPHA]=1,Eg),jg=((wg={})[bf.UNSIGNED_SHORT_4_4_4_4]=2,wg[bf.UNSIGNED_SHORT_5_5_5_1]=2,wg[bf.UNSIGNED_SHORT_5_6_5]=2,wg),Hg=function(){function t(){}return t.use=function(e,n){if("ktx"===e.extension&&e.data)try{var r=e.name||e.url;Object.assign(e,lg(r,t.parse(r,e.data),e.metadata))}catch(t){return void n(t)}n()},t.parse=function(e,n){var r=new DataView(n);if(!t.validate(e,r))return null;var i=67305985===r.getUint32(Pg,!0),o=r.getUint32(Cg,i),s=r.getUint32(Ig,i),a=r.getUint32(Mg,i),u=r.getUint32(Dg,i),l=r.getUint32(Lg,i)||1,c=r.getUint32(Ng,i)||1,h=r.getUint32(kg,i)||1,f=r.getUint32(Fg,i),d=r.getUint32(Bg,i),p=r.getUint32(Ug,i);if(0===l||1!==c)throw new Error("Only 2D textures are supported");if(1!==f)throw new Error("CubeTextures are not supported by KTXLoader yet!");if(1!==h)throw new Error("WebGL does not support array textures");var v,m=u+3&-4,g=l+3&-4,y=new Array(h),_=u*l;if(0===o&&(_=m*g),void 0===(v=0!==o?Gg[o]?Gg[o]*Xg[s]:jg[o]:eg[a]))throw new Error("Unable to resolve the pixel format stored in the *.ktx file!");for(var b=_*v,x=u,T=l,E=m,w=g,S=64+p,A=0;A<d;A++){for(var O=r.getUint32(S,i),R=S+4,P=0;P<h;P++){var C=y[P];C||(C=y[P]=new Array(d)),C[A]={levelID:A,levelWidth:d>1?x:E,levelHeight:d>1?T:w,levelBuffer:new Uint8Array(n,R,b)},R+=b}S=(S+=O+4)%4!=0?S+4-S%4:S,b=(E=(x=x>>1||1)+4-1&-4)*(w=(T=T>>1||1)+4-1&-4)*v}if(0!==o)throw new Error("TODO: Uncompressed");return y.map((function(t){return new ag(null,{format:a,width:u,height:l,levels:d,levelBuffers:t})}))},t.validate=function(t,e){for(var n=0;n<Rg.length;n++)if(e.getUint8(n)!==Rg[n])return console.error(t+" is not a valid *.ktx file!"),!1;return!0},t}(),zg=function(t,e){return(zg=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function Yg(t,e){function n(){this.constructor=t}zg(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}!function(t){function e(e,n,r,i){void 0===e&&(e=1500),void 0===r&&(r=16384),void 0===i&&(i=!1);var o=t.call(this)||this;return r>16384&&(r=16384),o._properties=[!1,!0,!1,!1,!1],o._maxSize=e,o._batchSize=r,o._buffers=null,o._bufferUpdateIDs=[],o._updateID=0,o.interactiveChildren=!1,o.blendMode=mf.NORMAL,o.autoResize=i,o.roundPixels=!0,o.baseTexture=null,o.setProperties(n),o._tint=0,o.tintRgb=new Float32Array(4),o.tint=16777215,o}Yg(e,t),e.prototype.setProperties=function(t){t&&(this._properties[0]="vertices"in t||"scale"in t?!!t.vertices||!!t.scale:this._properties[0],this._properties[1]="position"in t?!!t.position:this._properties[1],this._properties[2]="rotation"in t?!!t.rotation:this._properties[2],this._properties[3]="uvs"in t?!!t.uvs:this._properties[3],this._properties[4]="tint"in t||"alpha"in t?!!t.tint||!!t.alpha:this._properties[4])},e.prototype.updateTransform=function(){this.displayObjectUpdateTransform()},Object.defineProperty(e.prototype,"tint",{get:function(){return this._tint},set:function(t){this._tint=t,zf(t,this.tintRgb)},enumerable:!1,configurable:!0}),e.prototype.render=function(t){var e=this;this.visible&&!(this.worldAlpha<=0)&&this.children.length&&this.renderable&&(this.baseTexture||(this.baseTexture=this.children[0]._texture.baseTexture,this.baseTexture.valid||this.baseTexture.once("update",(function(){return e.onChildrenChange(0)}))),t.batch.setObjectRenderer(t.plugins.particle),t.plugins.particle.render(this))},e.prototype.onChildrenChange=function(t){for(var e=Math.floor(t/this._batchSize);this._bufferUpdateIDs.length<e;)this._bufferUpdateIDs.push(0);this._bufferUpdateIDs[e]=++this._updateID},e.prototype.dispose=function(){if(this._buffers){for(var t=0;t<this._buffers.length;++t)this._buffers[t].destroy();this._buffers=null}},e.prototype.destroy=function(e){t.prototype.destroy.call(this,e),this.dispose(),this._properties=null,this._buffers=null,this._bufferUpdateIDs=null}}(Kd);var Vg,$g,Wg=function(){function t(t,e,n){this.geometry=new Wp,this.indexBuffer=null,this.size=n,this.dynamicProperties=[],this.staticProperties=[];for(var r=0;r<t.length;++r){var i=t[r];
2i={attributeName:i.attributeName,size:i.size,uploadFunction:i.uploadFunction,type:i.type||bf.FLOAT,offset:i.offset},e[r]?this.dynamicProperties.push(i):this.staticProperties.push(i)}this.staticStride=0,this.staticBuffer=null,this.staticData=null,this.staticDataUint32=null,this.dynamicStride=0,this.dynamicBuffer=null,this.dynamicData=null,this.dynamicDataUint32=null,this._updateID=0,this.initBuffers()}return t.prototype.initBuffers=function(){var t=this.geometry,e=0;this.indexBuffer=new jp(Qf(this.size),!0,!0),t.addIndex(this.indexBuffer),this.dynamicStride=0;for(var n=0;n<this.dynamicProperties.length;++n){(s=this.dynamicProperties[n]).offset=e,e+=s.size,this.dynamicStride+=s.size}var r=new ArrayBuffer(this.size*this.dynamicStride*4*4);this.dynamicData=new Float32Array(r),this.dynamicDataUint32=new Uint32Array(r),this.dynamicBuffer=new jp(this.dynamicData,!1,!1);var i=0;this.staticStride=0;for(n=0;n<this.staticProperties.length;++n){(s=this.staticProperties[n]).offset=i,i+=s.size,this.staticStride+=s.size}var o=new ArrayBuffer(this.size*this.staticStride*4*4);this.staticData=new Float32Array(o),this.staticDataUint32=new Uint32Array(o),this.staticBuffer=new jp(this.staticData,!0,!1);for(n=0;n<this.dynamicProperties.length;++n){var s=this.dynamicProperties[n];t.addAttribute(s.attributeName,this.dynamicBuffer,0,s.type===bf.UNSIGNED_BYTE,s.type,4*this.dynamicStride,4*s.offset)}for(n=0;n<this.staticProperties.length;++n){s=this.staticProperties[n];t.addAttribute(s.attributeName,this.staticBuffer,0,s.type===bf.UNSIGNED_BYTE,s.type,4*this.staticStride,4*s.offset)}},t.prototype.uploadDynamic=function(t,e,n){for(var r=0;r<this.dynamicProperties.length;r++){var i=this.dynamicProperties[r];i.uploadFunction(t,e,n,i.type===bf.UNSIGNED_BYTE?this.dynamicDataUint32:this.dynamicData,this.dynamicStride,i.offset)}this.dynamicBuffer._updateID++},t.prototype.uploadStatic=function(t,e,n){for(var r=0;r<this.staticProperties.length;r++){var i=this.staticProperties[r];i.uploadFunction(t,e,n,i.type===bf.UNSIGNED_BYTE?this.staticDataUint32:this.staticData,this.staticStride,i.offset)}this.staticBuffer._updateID++},t.prototype.destroy=function(){this.indexBuffer=null,this.dynamicProperties=null,this.dynamicBuffer=null,this.dynamicData=null,this.dynamicDataUint32=null,this.staticProperties=null,this.staticBuffer=null,this.staticData=null,this.staticDataUint32=null,this.geometry.destroy()},t}(),qg=function(t){function e(e){var n=t.call(this,e)||this;return n.shader=null,n.properties=null,n.tempMatrix=new Nd,n.properties=[{attributeName:"aVertexPosition",size:2,uploadFunction:n.uploadVertices,offset:0},{attributeName:"aPositionCoord",size:2,uploadFunction:n.uploadPosition,offset:0},{attributeName:"aRotation",size:1,uploadFunction:n.uploadRotation,offset:0},{attributeName:"aTextureCoord",size:2,uploadFunction:n.uploadUvs,offset:0},{attributeName:"aColor",size:1,type:bf.UNSIGNED_BYTE,uploadFunction:n.uploadTint,offset:0}],n.shader=Fv.from("attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\nattribute vec4 aColor;\n\nattribute vec2 aPositionCoord;\nattribute float aRotation;\n\nuniform mat3 translationMatrix;\nuniform vec4 uColor;\n\nvarying vec2 vTextureCoord;\nvarying vec4 vColor;\n\nvoid main(void){\n    float x = (aVertexPosition.x) * cos(aRotation) - (aVertexPosition.y) * sin(aRotation);\n    float y = (aVertexPosition.x) * sin(aRotation) + (aVertexPosition.y) * cos(aRotation);\n\n    vec2 v = vec2(x, y);\n    v = v + aPositionCoord;\n\n    gl_Position = vec4((translationMatrix * vec3(v, 1.0)).xy, 0.0, 1.0);\n\n    vTextureCoord = aTextureCoord;\n    vColor = aColor * uColor;\n}\n","varying vec2 vTextureCoord;\nvarying vec4 vColor;\n\nuniform sampler2D uSampler;\n\nvoid main(void){\n    vec4 color = texture2D(uSampler, vTextureCoord) * vColor;\n    gl_FragColor = color;\n}",{}),n.state=Bv.for2d(),n}return Yg(e,t),e.prototype.render=function(t){var e=t.children,n=t._maxSize,r=t._batchSize,i=this.renderer,o=e.length;if(0!==o){o>n&&!t.autoResize&&(o=n);var s=t._buffers;s||(s=t._buffers=this.generateBuffers(t));var a=e[0]._texture.baseTexture;this.state.blendMode=qf(t.blendMode,a.alphaMode),i.state.set(this.state);var u=i.gl,l=t.worldTransform.copyTo(this.tempMatrix);
2l.prepend(i.globalUniforms.uniforms.projectionMatrix),this.shader.uniforms.translationMatrix=l.toArray(!0),this.shader.uniforms.uColor=Zf(t.tintRgb,t.worldAlpha,this.shader.uniforms.uColor,a.alphaMode),this.shader.uniforms.uSampler=a,this.renderer.shader.bind(this.shader);for(var c=!1,h=0,f=0;h<o;h+=r,f+=1){var d=o-h;d>r&&(d=r),f>=s.length&&s.push(this._generateOneMoreBuffer(t));var p=s[f];p.uploadDynamic(e,h,d);var v=t._bufferUpdateIDs[f]||0;(c=c||p._updateID<v)&&(p._updateID=t._updateID,p.uploadStatic(e,h,d)),i.geometry.bind(p.geometry),u.drawElements(u.TRIANGLES,6*d,u.UNSIGNED_SHORT,0)}}},e.prototype.generateBuffers=function(t){for(var e=[],n=t._maxSize,r=t._batchSize,i=t._properties,o=0;o<n;o+=r)e.push(new Wg(this.properties,i,r));return e},e.prototype._generateOneMoreBuffer=function(t){var e=t._batchSize,n=t._properties;return new Wg(this.properties,n,e)},e.prototype.uploadVertices=function(t,e,n,r,i,o){for(var s=0,a=0,u=0,l=0,c=0;c<n;++c){var h=t[e+c],f=h._texture,d=h.scale.x,p=h.scale.y,v=f.trim,m=f.orig;v?(s=(a=v.x-h.anchor.x*m.width)+v.width,u=(l=v.y-h.anchor.y*m.height)+v.height):(s=m.width*(1-h.anchor.x),a=m.width*-h.anchor.x,u=m.height*(1-h.anchor.y),l=m.height*-h.anchor.y),r[o]=a*d,r[o+1]=l*p,r[o+i]=s*d,r[o+i+1]=l*p,r[o+2*i]=s*d,r[o+2*i+1]=u*p,r[o+3*i]=a*d,r[o+3*i+1]=u*p,o+=4*i}},e.prototype.uploadPosition=function(t,e,n,r,i,o){for(var s=0;s<n;s++){var a=t[e+s].position;r[o]=a.x,r[o+1]=a.y,r[o+i]=a.x,r[o+i+1]=a.y,r[o+2*i]=a.x,r[o+2*i+1]=a.y,r[o+3*i]=a.x,r[o+3*i+1]=a.y,o+=4*i}},e.prototype.uploadRotation=function(t,e,n,r,i,o){for(var s=0;s<n;s++){var a=t[e+s].rotation;r[o]=a,r[o+i]=a,r[o+2*i]=a,r[o+3*i]=a,o+=4*i}},e.prototype.uploadUvs=function(t,e,n,r,i,o){for(var s=0;s<n;++s){var a=t[e+s]._texture._uvs;a?(r[o]=a.x0,r[o+1]=a.y0,r[o+i]=a.x1,r[o+i+1]=a.y1,r[o+2*i]=a.x2,r[o+2*i+1]=a.y2,r[o+3*i]=a.x3,r[o+3*i+1]=a.y3,o+=4*i):(r[o]=0,r[o+1]=0,r[o+i]=0,r[o+i+1]=0,r[o+2*i]=0,r[o+2*i+1]=0,r[o+3*i]=0,r[o+3*i+1]=0,o+=4*i)}},e.prototype.uploadTint=function(t,e,n,r,i,o){for(var s=0;s<n;++s){var a=t[e+s],u=a._texture.baseTexture.alphaMode>0,l=a.alpha,c=l<1&&u?Kf(a._tintRGB,l):a._tintRGB+(255*l<<24);r[o]=c,r[o+i]=c,r[o+2*i]=c,r[o+3*i]=c,o+=4*i}},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.shader&&(this.shader.destroy(),this.shader=null),this.tempMatrix=null},e}(rv);!function(t){t.MITER="miter",t.BEVEL="bevel",t.ROUND="round"}(Vg||(Vg={})),function(t){t.BUTT="butt",t.ROUND="round",t.SQUARE="square"}($g||($g={}));var Zg={adaptive:!0,maxLength:10,minSegments:8,maxSegments:2048,epsilon:1e-4,_segmentsCount:function(t,e){if(void 0===e&&(e=20),!this.adaptive||!t||isNaN(t))return e;var n=Math.ceil(t/this.maxLength);return n<this.minSegments?n=this.minSegments:n>this.maxSegments&&(n=this.maxSegments),n}},Kg=function(){function t(){this.color=16777215,this.alpha=1,this.texture=kp.WHITE,this.matrix=null,this.visible=!1,this.reset()}return t.prototype.clone=function(){var e=new t;return e.color=this.color,e.alpha=this.alpha,e.texture=this.texture,e.matrix=this.matrix,e.visible=this.visible,e},t.prototype.reset=function(){this.color=16777215,this.alpha=1,this.texture=kp.WHITE,this.matrix=null,this.visible=!1},t.prototype.destroy=function(){this.texture=null,this.matrix=null},t}(),Jg=function(t,e){return(Jg=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function Qg(t,e){function n(){this.constructor=t}Jg(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var ty={build:function(t){t.points=t.shape.points.slice()},triangulate:function(t,e){var n=t.points,r=t.holes,i=e.points,o=e.indices;if(n.length>=6){for(var s=[],a=0;a<r.length;a++){var u=r[a];s.push(n.length/2),n=n.concat(u.points)}var l=Nf()(n,s,2);if(!l)return;var c=i.length/2;for(a=0;a<l.length;a+=3)o.push(l[a]+c),o.push(l[a+1]+c),o.push(l[a+2]+c);for(a=0;a<n.length;a++)i.push(n[a])}}},ey={build:function(t){var e,n,r=t.shape,i=t.points,o=r.x,s=r.y;if(i.length=0,t.type===wd.CIRC)e=r.radius,n=r.radius;else{var a=t.shape;e=a.width,n=a.height}if(0!==e&&0!==n){var u=Math.floor(30*Math.sqrt(r.radius))||Math.floor(15*Math.sqrt(e+n));u/=2.3;for(var l=2*Math.PI/u,c=0;c<u-.5;c++)i.push(o+Math.sin(-l*c)*e,s+Math.cos(-l*c)*n);i.push(i[0],i[1])}},triangulate:function(t,e){var n=t.points,r=e.points,i=e.indices,o=r.length/2,s=o,a=t.shape,u=t.matrix,l=a.x,c=a.y;
2r.push(t.matrix?u.a*l+u.c*c+u.tx:l,t.matrix?u.b*l+u.d*c+u.ty:c);for(var h=0;h<n.length;h+=2)r.push(n[h],n[h+1]),i.push(o++,s,o)}},ny={build:function(t){var e=t.shape,n=e.x,r=e.y,i=e.width,o=e.height,s=t.points;s.length=0,s.push(n,r,n+i,r,n+i,r+o,n,r+o)},triangulate:function(t,e){var n=t.points,r=e.points,i=r.length/2;r.push(n[0],n[1],n[2],n[3],n[6],n[7],n[4],n[5]),e.indices.push(i,i+1,i+2,i+1,i+2,i+3)}};function ry(t,e,n){return t+(e-t)*n}function iy(t,e,n,r,i,o,s){void 0===s&&(s=[]);for(var a=s,u=0,l=0,c=0,h=0,f=0,d=0,p=0,v=0;p<=20;++p)u=ry(t,n,v=p/20),l=ry(e,r,v),c=ry(n,i,v),h=ry(r,o,v),f=ry(u,c,v),d=ry(l,h,v),a.push(f,d);return a}var oy={build:function(t){var e=t.shape,n=t.points,r=e.x,i=e.y,o=e.width,s=e.height,a=Math.max(0,Math.min(e.radius,Math.min(o,s)/2));n.length=0,a?(iy(r,i+a,r,i,r+a,i,n),iy(r+o-a,i,r+o,i,r+o,i+a,n),iy(r+o,i+s-a,r+o,i+s,r+o-a,i+s,n),iy(r+a,i+s,r,i+s,r,i+s-a,n)):n.push(r,i,r+o,i,r+o,i+s,r,i+s)},triangulate:function(t,e){for(var n=t.points,r=e.points,i=e.indices,o=r.length/2,s=Nf()(n,null,2),a=0,u=s.length;a<u;a+=3)i.push(s[a]+o),i.push(s[a+1]+o),i.push(s[a+2]+o);for(a=0,u=n.length;a<u;a++)r.push(n[a],n[++a])}};function sy(t,e,n,r,i,o,s,a){var u,l;s?(u=r,l=-n):(u=-r,l=n);var c=t-n*i+u,h=e-r*i+l,f=t+n*o+u,d=e+r*o+l;return a.push(c,h),a.push(f,d),2}function ay(t,e,n,r,i,o,s,a){var u=n-t,l=r-e,c=Math.atan2(u,l),h=Math.atan2(i-t,o-e);a&&c<h?c+=2*Math.PI:!a&&c>h&&(h+=2*Math.PI);var f=c,d=h-c,p=Math.abs(d),v=Math.sqrt(u*u+l*l),m=1+(15*p*Math.sqrt(v)/Math.PI>>0),g=d/m;if(f+=g,a){s.push(t,e),s.push(n,r);for(var y=1,_=f;y<m;y++,_+=g)s.push(t,e),s.push(t+Math.sin(_)*v,e+Math.cos(_)*v);s.push(t,e),s.push(i,o)}else{s.push(n,r),s.push(t,e);for(y=1,_=f;y<m;y++,_+=g)s.push(t+Math.sin(_)*v,e+Math.cos(_)*v),s.push(t,e);s.push(i,o),s.push(t,e)}return 2*m}function uy(t,e){t.lineStyle.native?function(t,e){var n=0,r=t.shape,i=t.points||r.points,o=r.type!==wd.POLY||r.closeStroke;if(0!==i.length){var s=e.points,a=e.indices,u=i.length/2,l=s.length/2,c=l;for(s.push(i[0],i[1]),n=1;n<u;n++)s.push(i[2*n],i[2*n+1]),a.push(c,c+1),c++;o&&a.push(c,l)}}(t,e):function(t,e){var n=t.shape,r=t.points||n.points.slice(),i=e.closePointEps;if(0!==r.length){var o=t.lineStyle,s=new Dd(r[0],r[1]),a=new Dd(r[r.length-2],r[r.length-1]),u=n.type!==wd.POLY||n.closeStroke,l=Math.abs(s.x-a.x)<i&&Math.abs(s.y-a.y)<i;if(u){r=r.slice(),l&&(r.pop(),r.pop(),a.set(r[r.length-2],r[r.length-1]));var c=.5*(s.x+a.x),h=.5*(a.y+s.y);r.unshift(c,h),r.push(c,h)}var f=e.points,d=r.length/2,p=r.length,v=f.length/2,m=o.width/2,g=m*m,y=o.miterLimit*o.miterLimit,_=r[0],b=r[1],x=r[2],T=r[3],E=0,w=0,S=-(b-T),A=_-x,O=0,R=0,P=Math.sqrt(S*S+A*A);S/=P,A/=P,S*=m,A*=m;var C=o.alignment,I=2*(1-C),M=2*C;u||(o.cap===$g.ROUND?p+=ay(_-S*(I-M)*.5,b-A*(I-M)*.5,_-S*I,b-A*I,_+S*M,b+A*M,f,!0)+2:o.cap===$g.SQUARE&&(p+=sy(_,b,S,A,I,M,!0,f))),f.push(_-S*I,b-A*I),f.push(_+S*M,b+A*M);for(var D=1;D<d-1;++D){_=r[2*(D-1)],b=r[2*(D-1)+1],x=r[2*D],T=r[2*D+1],E=r[2*(D+1)],w=r[2*(D+1)+1],S=-(b-T),A=_-x,S/=P=Math.sqrt(S*S+A*A),A/=P,S*=m,A*=m,O=-(T-w),R=x-E,O/=P=Math.sqrt(O*O+R*R),R/=P,O*=m,R*=m;var L=x-_,N=b-T,k=x-E,F=w-T,B=N*k-F*L,U=B<0;if(Math.abs(B)<.1)f.push(x-S*I,T-A*I),f.push(x+S*M,T+A*M);else{var G=(-S+_)*(-A+T)-(-S+x)*(-A+b),X=(-O+E)*(-R+T)-(-O+x)*(-R+w),j=(L*X-k*G)/B,H=(F*G-N*X)/B,z=(j-x)*(j-x)+(H-T)*(H-T),Y=x+(j-x)*I,V=T+(H-T)*I,$=x-(j-x)*M,W=T-(H-T)*M,q=U?I:M;z<=Math.min(L*L+N*N,k*k+F*F)+q*q*g?o.join===Vg.BEVEL||z/g>y?(U?(f.push(Y,V),f.push(x+S*M,T+A*M),f.push(Y,V),f.push(x+O*M,T+R*M)):(f.push(x-S*I,T-A*I),f.push($,W),f.push(x-O*I,T-R*I),f.push($,W)),p+=2):o.join===Vg.ROUND?U?(f.push(Y,V),f.push(x+S*M,T+A*M),p+=ay(x,T,x+S*M,T+A*M,x+O*M,T+R*M,f,!0)+4,f.push(Y,V),f.push(x+O*M,T+R*M)):(f.push(x-S*I,T-A*I),f.push($,W),p+=ay(x,T,x-S*I,T-A*I,x-O*I,T-R*I,f,!1)+4,f.push(x-O*I,T-R*I),f.push($,W)):(f.push(Y,V),f.push($,W)):(f.push(x-S*I,T-A*I),f.push(x+S*M,T+A*M),o.join===Vg.BEVEL||z/g>y||(o.join===Vg.ROUND?p+=U?ay(x,T,x+S*M,T+A*M,x+O*M,T+R*M,f,!0)+2:ay(x,T,x-S*I,T-A*I,x-O*I,T-R*I,f,!1)+2:(U?(f.push($,W),f.push($,W)):(f.push(Y,V),f.push(Y,V)),p+=2)),f.push(x-O*I,T-R*I),f.push(x+O*M,T+R*M),p+=2)}}_=r[2*(d-2)],b=r[2*(d-2)+1],x=r[2*(d-1)],S=-(b-(T=r[2*(d-1)+1])),A=_-x,S/=P=Math.sqrt(S*S+A*A),A/=P,S*=m,A*=m,f.push(x-S*I,T-A*I),f.push(x+S*M,T+A*M),u||(o.cap===$g.ROUND?p+=ay(x-S*(I-M)*.5,T-A*(I-M)*.5,x-S*I,T-A*I,x+S*M,T+A*M,f,!1)+2:o.cap===$g.SQUARE&&(p+=sy(x,T,S,A,I,M,!1,f)));var Z=e.indices,K=Zg.epsilon*Zg.epsilon;for(D=v;D<p+v-2;++D)_=f[2*D],b=f[2*D+1],x=f[2*(D+1)],T=f[2*(D+1)+1],E=f[2*(D+2)],w=f[2*(D+2)+1],Math.abs(_*(T-w)+x*(w-b)+E*(b-T))<K||Z.push(D,D+1,D+2)}}(t,e)}var ly,cy=function(){function t(){}return t.curveTo=function(t,e,n,r,i,o){var s=o[o.length-2],a=o[o.length-1]-e,u=s-t,l=r-e,c=n-t,h=Math.abs(a*c-u*l);if(h<1e-8||0===i)return o[o.length-2]===t&&o[o.length-1]===e||o.push(t,e),null;var f=a*a+u*u,d=l*l+c*c,p=a*l+u*c,v=i*Math.sqrt(f)/h,m=i*Math.sqrt(d)/h,g=v*p/f,y=m*p/d,_=v*c+m*u,b=v*l+m*a,x=u*(m+g),T=a*(m+g),E=c*(v+y),w=l*(v+y);return{cx:_+t,cy:b+e,radius:i,startAngle:Math.atan2(T-b,x-_),endAngle:Math.atan2(w-b,E-_),anticlockwise:u*l>c*a}},t.arc=function(t,e,n,r,i,o,s,a,u){for(var l=s-o,c=Zg._segmentsCount(Math.abs(l)*i,40*Math.ceil(Math.abs(l)/Sd)),h=l/(2*c),f=2*h,d=Math.cos(h),p=Math.sin(h),v=c-1,m=v%1/v,g=0;g<=v;++g){var y=h+o+f*(g+m*g),_=Math.cos(y),b=-Math.sin(y);u.push((d*_+p*b)*i+n,(d*-b+p*_)*i+r)}},t}(),hy=function(){function t(){}return t.curveLength=function(t,e,n,r,i,o,s,a){for(var u=0,l=0,c=0,h=0,f=0,d=0,p=0,v=0,m=0,g=0,y=0,_=t,b=e,x=1;x<=10;++x)g=_-(v=(p=(d=(f=1-(l=x/10))*f)*f)*t+3*d*l*n+3*f*(c=l*l)*i+(h=c*l)*s),y=b-(m=p*e+3*d*l*r+3*f*c*o+h*a),_=v,b=m,u+=Math.sqrt(g*g+y*y);return u},t.curveTo=function(e,n,r,i,o,s,a){var u=a[a.length-2],l=a[a.length-1];a.length-=2;var c=Zg._segmentsCount(t.curveLength(u,l,e,n,r,i,o,s)),h=0,f=0,d=0,p=0,v=0;a.push(u,l);for(var m=1,g=0;m<=c;++m)d=(f=(h=1-(g=m/c))*h)*h,v=(p=g*g)*g,a.push(d*u+3*f*g*e+3*h*p*r+v*o,d*l+3*f*g*n+3*h*p*i+v*s)},t}(),fy=function(){function t(){}return t.curveLength=function(t,e,n,r,i,o){var s=t-2*n+i,a=e-2*r+o,u=2*n-2*t,l=2*r-2*e,c=4*(s*s+a*a),h=4*(s*u+a*l),f=u*u+l*l,d=2*Math.sqrt(c+h+f),p=Math.sqrt(c),v=2*c*p,m=2*Math.sqrt(f),g=h/p;return(v*d+p*h*(d-m)+(4*f*c-h*h)*Math.log((2*p+g+d)/(g+m)))/(4*v)},t.curveTo=function(e,n,r,i,o){for(var s=o[o.length-2],a=o[o.length-1],u=Zg._segmentsCount(t.curveLength(s,a,e,
2n,r,i)),l=0,c=0,h=1;h<=u;++h){var f=h/u;l=s+(e-s)*f,c=a+(n-a)*f,o.push(l+(e+(r-e)*f-l)*f,c+(n+(i-n)*f-c)*f)}},t}(),dy=function(){function t(){this.reset()}return t.prototype.begin=function(t,e,n){this.reset(),this.style=t,this.start=e,this.attribStart=n},t.prototype.end=function(t,e){this.attribSize=e-this.attribStart,this.size=t-this.start},t.prototype.reset=function(){this.style=null,this.size=0,this.start=0,this.attribStart=0,this.attribSize=0},t}(),py=((ly={})[wd.POLY]=ty,ly[wd.CIRC]=ey,ly[wd.ELIP]=ey,ly[wd.RECT]=ny,ly[wd.RREC]=oy,ly),vy=[],my=[],gy=function(){function t(t,e,n,r){void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),this.shape=t,this.lineStyle=n,this.fillStyle=e,this.matrix=r,this.type=t.type,this.points=[],this.holes=[]}return t.prototype.clone=function(){return new t(this.shape,this.fillStyle,this.lineStyle,this.matrix)},t.prototype.destroy=function(){this.shape=null,this.holes.length=0,this.holes=null,this.points.length=0,this.points=null,this.lineStyle=null,this.fillStyle=null},t}(),yy=new Dd,_y=new Yd,by=function(t){function e(){var e=t.call(this)||this;return e.uvsFloat32=null,e.indicesUint16=null,e.points=[],e.colors=[],e.uvs=[],e.indices=[],e.textureIds=[],e.graphicsData=[],e.dirty=0,e.batchDirty=-1,e.cacheDirty=-1,e.clearDirty=0,e.drawCalls=[],e.batches=[],e.shapeIndex=0,e._bounds=new Yd,e.boundsDirty=-1,e.boundsPadding=0,e.batchable=!1,e.indicesUint16=null,e.uvsFloat32=null,e.closePointEps=1e-4,e}return Qg(e,t),Object.defineProperty(e.prototype,"bounds",{get:function(){return this.boundsDirty!==this.dirty&&(this.boundsDirty=this.dirty,this.calculateBounds()),this._bounds},enumerable:!1,configurable:!0}),e.prototype.invalidate=function(){this.boundsDirty=-1,this.dirty++,this.batchDirty++,this.shapeIndex=0,this.points.length=0,this.colors.length=0,this.uvs.length=0,this.indices.length=0,this.textureIds.length=0;for(var t=0;t<this.drawCalls.length;t++)this.drawCalls[t].texArray.clear(),my.push(this.drawCalls[t]);this.drawCalls.length=0;for(t=0;t<this.batches.length;t++){var e=this.batches[t];e.reset(),vy.push(e)}this.batches.length=0},e.prototype.clear=function(){return this.graphicsData.length>0&&(this.invalidate(),this.clearDirty++,this.graphicsData.length=0),this},e.prototype.drawShape=function(t,e,n,r){void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null);var i=new gy(t,e,n,r);return this.graphicsData.push(i),this.dirty++,this},e.prototype.drawHole=function(t,e){if(void 0===e&&(e=null),!this.graphicsData.length)return null;var n=new gy(t,null,null,e),r=this.graphicsData[this.graphicsData.length-1];return n.lineStyle=r.lineStyle,r.holes.push(n),this.dirty++,this},e.prototype.destroy=function(){t.prototype.destroy.call(this);for(var e=0;e<this.graphicsData.length;++e)this.graphicsData[e].destroy();this.points.length=0,this.points=null,this.colors.length=0,this.colors=null,this.uvs.length=0,this.uvs=null,this.indices.length=0,this.indices=null,this.indexBuffer.destroy(),this.indexBuffer=null,this.graphicsData.length=0,this.graphicsData=null,this.drawCalls.length=0,this.drawCalls=null,this.batches.length=0,this.batches=null,this._bounds=null},e.prototype.containsPoint=function(t){for(var e=this.graphicsData,n=0;n<e.length;++n){var r=e[n];if(r.fillStyle.visible&&(r.shape&&(r.matrix?r.matrix.applyInverse(t,yy):yy.copyFrom(t),r.shape.contains(yy.x,yy.y)))){var i=!1;if(r.holes)for(var o=0;o<r.holes.length;o++){if(r.holes[o].shape.contains(yy.x,yy.y)){i=!0;break}}if(!i)return!0}}return!1},e.prototype.updateBatches=function(t){if(this.graphicsData.length){if(this.validateBatching()){this.cacheDirty=this.dirty;var e=this.uvs,n=this.graphicsData,r=null,i=null;this.batches.length>0&&(i=(r=this.batches[this.batches.length-1]).style);for(var o=this.shapeIndex;o<n.length;o++){this.shapeIndex++;var s=n[o],a=s.fillStyle,u=s.lineStyle;py[s.type].build(s),s.matrix&&this.transformPoints(s.points,s.matrix);for(var l=0;l<2;l++){var c=0===l?a:u;if(c.visible){var h=c.texture.baseTexture,f=this.indices.length,d=this.points.length/2;h.wrapMode=Ef.REPEAT,0===l?this.processFill(s):this.processLine(s);var p=this.points.length/2-d;0!==p&&(r&&!this._compareStyles(i,c)&&(r.end(f,d),r=null),r||((r=vy.pop()||new dy).begin(c,f,d),this.batches.push(r),i=c),this.addUvs(this.points,e,c.texture,d,p,c.matrix))}}}var v=this.indices.length,m=this.points.length/2;if(r&&r.end(v,m),0!==this.batches.length){if(this.indicesUint16&&this.indices.length===this.indicesUint16.length)this.indicesUint16.set(this.indices);else{var g=m>65535&&t;this.indicesUint16=g?new Uint32Array(this.indices):new Uint16Array(this.indices)}this.batchable=this.isBatchable(),this.batchable?this.packBatches():this.buildDrawCalls()}else this.batchable=!0}}else this.batchable=!0},e.prototype._compareStyles=function(t,e){return!(!t||!e)&&(t.texture.baseTexture===e.texture.baseTexture&&(t.color+t.alpha===e.color+e.alpha&&!!t.native==!!e.native))},e.prototype.validateBatching=function(){if(this.dirty===this.cacheDirty||!this.graphicsData.length)return!1;for(var t=0,e=this.graphicsData.length;t<e;t++){var n=this.graphicsData[t],r=n.fillStyle,i=n.lineStyle;if(r&&!r.texture.baseTexture.valid)return!1;if(i&&!i.texture.baseTexture.valid)return!1}return!0},e.prototype.packBatches=function(){this.batchDirty++,this.uvsFloat32=new Float32Array(this.uvs);for(var t=this.batches,e=0,n=t.length;e<n;e++)for(var r=t[e],i=0;i<r.size;i++){var o=r.start+i;this.indicesUint16[o]=this.indicesUint16[o]-r.attribStart}},e.prototype.isBatchable=function(){if(this.points.length>131070)return!1;for(var t=this.batches,n=0;n<t.length;n++)if(t[n].style.native)return!1;return this.points.length<2*e.BATCHABLE_SIZE},e.prototype.buildDrawCalls=function(){for(var t=++_p._globalBatch,e=0;e<this.drawCalls.length;e++)this.drawCalls[e].texArray.clear(),my.push(this.drawCalls[e]);this.drawCalls.length=0;var n=this.colors,r=this.textureIds,i=my.pop();i||((i=new lm).texArray=new cm),i.texArray.count=0,i.start=0,i.size=0,i.type=gf.TRIANGLES;var o=0,s=null,a=0,u=!1,l=gf.TRIANGLES,c=0;this.drawCalls.push(i);for(e=0;e<this.batches.length;e++){var h=this.batches[e],f=h.style,d=f.texture.baseTexture;u!==!!f.native&&(l=(u=!!f.native)?gf.LINES:gf.TRIANGLES,s=null,o=8,t++),s!==d&&(s=d,d._batchEnabled!==t&&(8===o&&(t++,o=0,i.size>0&&((i=my.pop())||((i=new lm).texArray=new cm),this.drawCalls.push(i)),i.start=c,i.size=0,i.texArray.count=0,i.type=l),d.touched=1,d._batchEnabled=t,d._batchLocation=o,d.wrapMode=Ef.REPEAT,i.texArray.elements[i.texArray.count++
2]=d,o++)),i.size+=h.size,c+=h.size,a=d._batchLocation,this.addColors(n,f.color,f.alpha,h.attribSize),this.addTextureIds(r,a,h.attribSize)}_p._globalBatch=t,this.packAttributes()},e.prototype.packAttributes=function(){for(var t=this.points,e=this.uvs,n=this.colors,r=this.textureIds,i=new ArrayBuffer(3*t.length*4),o=new Float32Array(i),s=new Uint32Array(i),a=0,u=0;u<t.length/2;u++)o[a++]=t[2*u],o[a++]=t[2*u+1],o[a++]=e[2*u],o[a++]=e[2*u+1],s[a++]=n[u],o[a++]=r[u];this._buffer.update(i),this._indexBuffer.update(this.indicesUint16)},e.prototype.processFill=function(t){t.holes.length?(this.processHoles(t.holes),ty.triangulate(t,this)):py[t.type].triangulate(t,this)},e.prototype.processLine=function(t){uy(t,this);for(var e=0;e<t.holes.length;e++)uy(t.holes[e],this)},e.prototype.processHoles=function(t){for(var e=0;e<t.length;e++){var n=t[e];py[n.type].build(n),n.matrix&&this.transformPoints(n.points,n.matrix)}},e.prototype.calculateBounds=function(){var t=this._bounds,e=_y,n=Nd.IDENTITY;this._bounds.clear(),e.clear();for(var r=0;r<this.graphicsData.length;r++){var i=this.graphicsData[r],o=i.shape,s=i.type,a=i.lineStyle,u=i.matrix||Nd.IDENTITY,l=0;if(a&&a.visible){var c=a.alignment;l=a.width,s===wd.POLY?l*=.5+Math.abs(.5-c):l*=Math.max(0,c)}if(n!==u&&(e.isEmpty()||(t.addBoundsMatrix(e,n),e.clear()),n=u),s===wd.RECT||s===wd.RREC){var h=o;e.addFramePad(h.x,h.y,h.x+h.width,h.y+h.height,l,l)}
2else if(s===wd.CIRC){var f=o;e.addFramePad(f.x,f.y,f.x,f.y,f.radius+l,f.radius+l)}else if(s===wd.ELIP){var d=o;e.addFramePad(d.x,d.y,d.x,d.y,d.width+l,d.height+l)}else{var p=o;t.addVerticesMatrix(n,p.points,0,p.points.length,l,l)}}e.isEmpty()||t.addBoundsMatrix(e,n),t.pad(this.boundsPadding,this.boundsPadding)},e.prototype.transformPoints=function(t,e){for(var n=0;n<t.length/2;n++){var r=t[2*n],i=t[2*n+1];t[2*n]=e.a*r+e.c*i+e.tx,t[2*n+1]=e.b*r+e.d*i+e.ty}},e.prototype.addColors=function(t,e,n,r){for(var i=Kf((e>>16)+(65280&e)+((255&e)<<16),n);r-- >0;)t.push(i)},e.prototype.addTextureIds=function(t,e,n){for(;n-- >0;)t.push(e)},e.prototype.addUvs=function(t,e,n,r,i,o){void 0===o&&(o=null);for(var s=0,a=e.length,u=n.frame;s<i;){var l=t[2*(r+s)],c=t[2*(r+s)+1];if(o){var h=o.a*l+o.c*c+o.tx;c=o.b*l+o.d*c+o.ty,l=h}s++,e.push(l/u.width,c/u.height)}var f=n.baseTexture;(u.width<f.width||u.height<f.height)&&this.adjustUvs(e,n,a,i)},e.prototype.adjustUvs=function(t,e,n,r){for(var i=e.baseTexture,o=1e-6,s=n+2*r,a=e.frame,u=a.width/i.width,l=a.height/i.height,c=a.x/a.width,h=a.y/a.height,f=Math.floor(t[n]+o),d=Math.floor(t[n+1]+o),p=n+2;p<s;p+=2)f=Math.min(f,Math.floor(t[p]+o)),d=Math.min(d,Math.floor(t[p+1]+o));c-=f,h-=d;for(p=n;p<s;p+=2)t[p]=(t[p]+c)*u,t[p+1]=(t[p+1]+h)*l},e.BATCHABLE_SIZE=100,e}(pm),xy=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.width=0,e.alignment=.5,e.native=!1,e.cap=$g.BUTT,e.join=Vg.MITER,e.miterLimit=10,e}return Qg(e,t),e.prototype.clone=function(){var t=new e;return t.color=this.color,t.alpha=this.alpha,t.texture=this.texture,t.matrix=this.matrix,t.visible=this.visible,t.width=this.width,t.alignment=this.alignment,t.native=this.native,t.cap=this.cap,t.join=this.join,t.miterLimit=this.miterLimit,t},e.prototype.reset=function(){t.prototype.reset.call(this),this.color=0,this.alignment=.5,this.width=0,this.native=!1},e}(Kg),Ty=new Float32Array(3),Ey={},wy=function(t){function e(e){void 0===e&&(e=null);var n=t.call(this)||this;return n._geometry=e||new by,n._geometry.refCount++,n.shader=null,n.state=Bv.for2d(),n._fillStyle=new Kg,n._lineStyle=new xy,n._matrix=null,n._holeMode=!1,n.currentPath=null,n.batches=[],n.batchTint=-1,n.batchDirty=-1,n.vertexData=null,n.pluginName="batch",n._transformID=-1,n.tint=16777215,n.blendMode=mf.NORMAL,n}return Qg(e,t),Object.defineProperty(e.prototype,"geometry",{get:function(){return this._geometry},enumerable:!1,configurable:!0}),e.prototype.clone=function(){return this.finishPoly(),new e(this._geometry)},Object.defineProperty(e.prototype,"blendMode",{get:function(){return this.state.blendMode},set:function(t){this.state.blendMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tint",{get:function(){return this._tint},set:function(t){this._tint=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fill",{get:function(){return this._fillStyle},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"line",{get:function(){return this._lineStyle},enumerable:!1,configurable:!0}),e.prototype.lineStyle=function(t,e,n,r,i){return void 0===t&&(t=null),void 0===e&&(e=0),void 0===n&&(n=1),void 0===r&&(r=.5),void 0===i&&(i=!1),"number"==typeof t&&(t={width:t,color:e,alpha:n,alignment:r,native:i}),this.lineTextureStyle(t)},e.prototype.lineTextureStyle=function(t){t=Object.assign({width:0,texture:kp.WHITE,color:t&&t.texture?16777215:0,alpha:1,matrix:null,alignment:.5,native:!1,cap:$g.BUTT,join:Vg.MITER,miterLimit:10},t),this.currentPath&&this.startPoly();var e=t.width>0&&t.alpha>0;return e?(t.matrix&&(t.matrix=t.matrix.clone(),t.matrix.invert()),Object.assign(this._lineStyle,{visible:e},t)):this._lineStyle.reset(),this},e.prototype.startPoly=function(){if(this.currentPath){var t=this.currentPath.points,e=this.currentPath.points.length;e>2&&(this.drawShape(this.currentPath),this.currentPath=new Id,this.currentPath.closeStroke=!1,this.currentPath.points.push(t[e-2],t[e-1]))}else this.currentPath=new Id,this.currentPath.closeStroke=!1},e.prototype.finishPoly=function(){this.currentPath&&(this.currentPath.points.length>2?(this.drawShape(this.currentPath),this.currentPath=null):this.currentPath.points.length=0)},e.prototype.moveTo=function(t,e){return this.startPoly(),this.currentPath.points[0]=t,this.currentPath.points[1]=e,this},e.prototype.lineTo=function(t,e){this.currentPath||this.moveTo(0,0);var n=this.currentPath.points,r=n[n.length-2],i=n[n.length-1];return r===t&&i===e||n.push(t,e),this},e.prototype._initCurve=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.currentPath?0===this.currentPath.points.length&&(this.currentPath.points=[t,e]):this.moveTo(t,e)},e.prototype.quadraticCurveTo=function(t,e,n,r){this._initCurve();var i=this.currentPath.points;return 0===i.length&&this.moveTo(0,0),fy.curveTo(t,e,n,r,i),this},e.prototype.bezierCurveTo=function(t,e,n,r,i,o){return this._initCurve(),hy.curveTo(t,e,n,r,i,o,this.currentPath.points),this},e.prototype.arcTo=function(t,e,n,r,i){this._initCurve(t,e);var o=this.currentPath.points,s=cy.curveTo(t,e,n,r,i,o);if(s){var a=s.cx,u=s.cy,l=s.radius,c=s.startAngle,h=s.endAngle,f
2=s.anticlockwise;this.arc(a,u,l,c,h,f)}return this},e.prototype.arc=function(t,e,n,r,i,o){if(void 0===o&&(o=!1),r===i)return this;if(!o&&i<=r?i+=Sd:o&&r<=i&&(r+=Sd),0===i-r)return this;var s=t+Math.cos(r)*n,a=e+Math.sin(r)*n,u=this._geometry.closePointEps,l=this.currentPath?this.currentPath.points:null;if(l){var c=Math.abs(l[l.length-2]-s),h=Math.abs(l[l.length-1]-a);c<u&&h<u||l.push(s,a)}else this.moveTo(s,a),l=this.currentPath.points;return cy.arc(s,a,t,e,n,r,i,o,l),this},e.prototype.beginFill=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=1),this.beginTextureFill({texture:kp.WHITE,color:t,alpha:e})},e.prototype.beginTextureFill=function(t){t=Object.assign({texture:kp.WHITE,color:16777215,alpha:1,matrix:null},t),this.currentPath&&this.startPoly();var e=t.alpha>0;return e?(t.matrix&&(t.matrix=t.matrix.clone(),t.matrix.invert()),Object.assign(this._fillStyle,{visible:e},t)):this._fillStyle.reset(),this},e.prototype.endFill=function(){return this.finishPoly(),this._fillStyle.reset(),this},e.prototype.drawRect=function(t,e,n,r){return this.drawShape(new Rd(t,e,n,r))},e.prototype.drawRoundedRect=function(t,e,n,r,i){return this.drawShape(new Md(t,e,n,r,i))},e.prototype.drawCircle=function(t,e,n){return this.drawShape(new Pd(t,e,n))},e.prototype.drawEllipse=function(t,e,n,r){return this.drawShape(new Cd(t,e,n,r))},e.prototype.drawPolygon=function(){for(var t,e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];var i=!0,o=n[0];o.points?(i=o.closeStroke,t=o.points):t=Array.isArray(n[0])?n[0]:n;var s=new Id(t);return s.closeStroke=i,this.drawShape(s),this},e.prototype.drawShape=function(t){return this._holeMode?this._geometry.drawHole(t,this._matrix):this._geometry.drawShape(t,this._fillStyle.clone(),this._lineStyle.clone(),this._matrix),this},e.prototype.clear=function(){return this._geometry.clear(),this._lineStyle.reset(),this._fillStyle.reset(),this._boundsID++,this._matrix=null,this._holeMode=!1,this.currentPath=null,this},e.prototype.isFastRect=function(){var t=this._geometry.graphicsData;return!(1!==t.length||t[0].shape.type!==wd.RECT||t[0].holes.length||t[0].lineStyle.visible&&t[0].lineStyle.width)},e.prototype._render=function(t){this.finishPoly();var e=this._geometry,n=t.context.supports.uint32Indices;e.updateBatches(n),e.batchable?(this.batchDirty!==e.batchDirty&&this._populateBatches(),this._renderBatched(t)):(t.batch.flush(),this._renderDirect(t))},e.prototype._populateBatches=function(){var t=this._geometry,e=this.blendMode,n=t.batches.length;this.batchTint=-1,this._transformID=-1,this.batchDirty=t.batchDirty,this.batches.length=n,this.vertexData=new Float32Array(t.points);for(var r=0;r<n;r++){var i=t.batches[r],o=i.style.color,s=new Float32Array(this.vertexData.buffer,4*i.attribStart*2,2*i.attribSize),a=new Float32Array(t.uvsFloat32.buffer,4*i.attribStart*2,2*i.attribSize),u={vertexData:s,blendMode:e,indices:new Uint16Array(t.indicesUint16.buffer,2*i.start,i.size),uvs:a,_batchRGB:zf(o),_tintRGB:o,_texture:i.style.texture,alpha:i.style.alpha,worldAlpha:1};this.batches[r]=u}},e.prototype._renderBatched=function(t){if(this.batches.length){t.batch.setObjectRenderer(t.plugins[this.pluginName]),this.calculateVertices(),this.calculateTints();for(var e=0,n=this.batches.length;e<n;e++){var r=this.batches[e];r.worldAlpha=this.worldAlpha*r.alpha,t.plugins[this.pluginName].render(r)}}},e.prototype._renderDirect=function(t){var e=this._resolveDirectShader(t),n=this._geometry,r=this.tint,i=this.worldAlpha,o=e.uniforms,s=n.drawCalls;o.translationMatrix=this.transform.worldTransform,o.tint[0]=(r>>16&255)/255*i,o.tint[1]=(r>>8&255)/255*i,o.tint[2]=(255&r)/255*i,o.tint[3]=i,t.shader.bind(e),t.geometry.bind(n,e),t.state.set(this.state);for(var a=0,u=s.length;a<u;a++)this._renderDrawCallDirect(t,n.drawCalls[a])},e.prototype._renderDrawCallDirect=function(t,e){for(var n=e.texArray,r=e.type,i=e.size,o=e.start,s=n.count,a=0;a<s;a++)t.texture.bind(n.elements[a],a);t.geometry.draw(r,i,o)},e.prototype._resolveDirectShader=function(t){var e=this.shader,n=this.pluginName;if(!e){if(!Ey[n]){for(var r=t.plugins.batch.MAX_TEXTURES,i=new Int32Array(r),o=0;o<r;o++)i[o]=o;var s={tint:new Float32Array([1,1,1,1]),translationMatrix:new Nd,default:Jp.from({uSamplers:i},!0)},a=t.plugins[n]._shader.program;Ey[n]=new Fv(a,s)}e=Ey[n]}return e},e.prototype._calculateBounds=function(){this.finishPoly();var t=this._geometry;if(t.graphicsData.length){var e=t.bounds,n=e.minX,r=e.minY,i=e.maxX,o=e.maxY;this._bounds.addFrame(this.transform,n,r,i,o)}},e.prototype.containsPoint=function(t){return this.worldTransform.applyInverse(t,e._TEMP_POINT),this._geometry.containsPoint(e._TEMP_POINT)},e.prototype.calculateTints=function(){if(this.batchTint!==this.tint){this.batchTint=this.tint;
2for(var t=zf(this.tint,Ty),e=0;e<this.batches.length;e++){var n=this.batches[e],r=n._batchRGB,i=(t[0]*r[0]*255<<16)+(t[1]*r[1]*255<<8)+(0|t[2]*r[2]*255);n._tintRGB=(i>>16)+(65280&i)+((255&i)<<16)}}},e.prototype.calculateVertices=function(){var t=this.transform._worldID;if(this._transformID!==t){this._transformID=t;for(var e=this.transform.worldTransform,n=e.a,r=e.b,i=e.c,o=e.d,s=e.tx,a=e.ty,u=this._geometry.points,l=this.vertexData,c=0,h=0;h<u.length;h+=2){var f=u[h],d=u[h+1];l[c++]=n*f+i*d+s,l[c++]=o*d+r*f+a}}},e.prototype.closePath=function(){var t=this.currentPath;return t&&(t.closeStroke=!0),this},e.prototype.setMatrix=function(t){return this._matrix=t,this},e.prototype.beginHole=function(){return this.finishPoly(),this._holeMode=!0,this},e.prototype.endHole=function(){return this.finishPoly(),this._holeMode=!1,this},e.prototype.destroy=function(e){this._geometry.refCount--,0===this._geometry.refCount&&this._geometry.dispose(),this._matrix=null,this.currentPath=null,this._lineStyle.destroy(),this._lineStyle=null,this._fillStyle.destroy(),this._fillStyle=null,this._geometry=null,this.shader=null,this.vertexData=null,this.batches.length=0,this.batches=null,t.prototype.destroy.call(this,e)},e._TEMP_POINT=new Dd,e}(Kd),Sy=function(t,e){return(Sy=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};var Ay,Oy=new Dd,Ry=new Uint16Array([0,1,2,0,2,3]),Py=function(t){function e(e){var n=t.call(this)||this;return n._anchor=new Ld(n._onAnchorUpdate,n,e?e.defaultAnchor.x:0,e?e.defaultAnchor.y:0),n._texture=null,n._width=0,n._height=0,n._tint=null,n._tintRGB=null,n.tint=16777215,n.blendMode=mf.NORMAL,n._cachedTint=16777215,n.uvs=null,n.texture=e||kp.EMPTY,n.vertexData=new Float32Array(8),n.vertexTrimmedData=null,n._transformID=-1,n._textureID=-1,n._transformTrimmedID=-1,n._textureTrimmedID=-1,n.indices=Ry,n.pluginName="batch",n.isSprite=!0,n._roundPixels=If.ROUND_PIXELS,n}return function(t,e){function n(){this.constructor=t}Sy(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),e.prototype._onTextureUpdate=function(){this._textureID=-1,this._textureTrimmedID=-1,this._cachedTint=16777215,this._width&&(this.scale.x=ad(this.scale.x)*this._width/this._texture.orig.width),this._height&&(this.scale.y=ad(this.scale.y)*this._height/this._texture.orig.height)},e.prototype._onAnchorUpdate=function(){this._transformID=-1,this._transformTrimmedID=-1},e.prototype.calculateVertices=function(){var t=this._texture;if(this._transformID!==this.transform._worldID||this._textureID!==t._updateID){this._textureID!==t._updateID&&(this.uvs=this._texture._uvs.uvsFloat32),this._transformID=this.transform._worldID,this._textureID=t._updateID;var e=this.transform.worldTransform,n=e.a,r=e.b,i=e.c,o=e.d,s=e.tx,a=e.ty,u=this.vertexData,l=t.trim,c=t.orig,h=this._anchor,f=0,d=0,p=0,v=0;if(l?(f=(d=l.x-h._x*c.width)+l.width,p=(v=l.y-h._y*c.height)+l.height):(f=(d=-h._x*c.width)+c.width,p=(v=-h._y*c.height)+c.height),u[0]=n*d+i*v+s,u[1]=o*v+r*d+a,u[2]=n*f+i*v+s,u[3]=o*v+r*f+a,u[4]=n*f+i*p+s,u[5]=o*p+r*f+a,u[6]=n*d+i*p+s,u[7]=o*p+r*d+a,this._roundPixels)for(var m=If.RESOLUTION,g=0;g<u.length;++g)u[g]=Math.round((u[g]*m|0)/m)}},e.prototype.calculateTrimmedVertices=function(){if(this.vertexTrimmedData){if(this._transformTrimmedID===this.transform._worldID&&this._textureTrimmedID===this._texture._updateID)return}else this.vertexTrimmedData=new Float32Array(8);this._transformTrimmedID=this.transform._worldID,this._textureTrimmedID=this._texture._updateID;var t=this._texture,e=this.vertexTrimmedData,n=t.orig,r=this._anchor,i=this.transform.worldTransform,o=i.a,s=i.b,a=i.c,u=i.d,l=i.tx,c=i.ty,h=-r._x*n.width,f=h+n.width,d=-r._y*n.height,p=d+n.height;e[0]=o*h+a*d+l,e[1]=u*d+s*h+c,e[2]=o*f+a*d+l,e[3]=u*d+s*f+c,e[4]=o*f+a*p+l,e[5]=u*p+s*f+c,e[6]=o*h+a*p+l,e[7]=u*p+s*h+c},e.prototype._render=function(t){this.calculateVertices(),t.batch.setObjectRenderer(t.plugins[this.pluginName]),t.plugins[this.pluginName].render(this)},e.prototype._calculateBounds=function(){var t=this._texture.trim,e=this._texture.orig;!t||t.width===e.width&&t.height===e.height?(this.calculateVertices(),this._bounds.addQuad(this.vertexData)):(this.calculateTrimmedVertices(),this._bounds.addQuad(this.vertexTrimmedData))},e.prototype.getLocalBounds=function(e){return 0===this.children.length?(this._bounds.minX=this._texture.orig.width*-this._anchor._x,this._bounds.minY=this._texture.orig.height*-this._anchor._y,this._bounds.maxX=this._texture.orig.width*(1-this._anchor._x),this._bounds.maxY=this._texture.orig.height*(1-this._anchor._y),e||(this._localBoundsRect||(this._localBoundsRect=new Rd),e=this._localBoundsRect),this._bounds.getRectangle(e)):t.prototype.getLocalBounds.call(this,e)},e.prototype.containsPoint=function(t){this.worldTransform.applyInverse(t,Oy);var e=this._texture.orig.width,n=this._texture.orig.height,r=-e*this.anchor.x,i=0;return Oy.x>=r&&Oy.x<r+e&&(i=-n*this.anchor.y,Oy.y>=i&&Oy.y<i+n)},e.prototype.destroy=function(e){if(t.prototype.destroy.call(this,e),this._texture.off("update",this._onTextureUpdate,this),this._anchor=null,"boolean"==typeof e?e:e&&e.texture){var n="boolean"==typeof e?e:e&&e.baseTexture;this._texture.destroy(!!n)}this._texture=null},e.from=function(t,n){return new e(t instanceof kp?t:kp.from(t,n))},Object.defineProperty(e.prototype,"roundPixels",{get:function(){return this._roundPixels},set:function(t){this._roundPixels!==t&&(this._transformID=-1),this._roundPixels=t}
2,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return Math.abs(this.scale.x)*this._texture.orig.width},set:function(t){var e=ad(this.scale.x)||1;this.scale.x=e*t/this._texture.orig.width,this._width=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return Math.abs(this.scale.y)*this._texture.orig.height},set:function(t){var e=ad(this.scale.y)||1;this.scale.y=e*t/this._texture.orig.height,this._height=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"anchor",{get:function(){return this._anchor},set:function(t){this._anchor.copyFrom(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tint",{get:function(){return this._tint},set:function(t){this._tint=t,this._tintRGB=(t>>16)+(65280&t)+((255&t)<<16)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"texture",{get:function(){return this._texture},set:function(t){this._texture!==t&&(this._texture&&this._texture.off("update",this._onTextureUpdate,this),this._texture=t||kp.EMPTY,this._cachedTint=16777215,this._textureID=-1,this._textureTrimmedID=-1,t&&(t.baseTexture.valid?this._onTextureUpdate():t.once("update",this._onTextureUpdate,this)))},enumerable:!1,configurable:!0}),e}(Kd),Cy=function(t,e){return(Cy=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};!function(t){t[t.LINEAR_VERTICAL=0]="LINEAR_VERTICAL",t[t.LINEAR_HORIZONTAL=1]="LINEAR_HORIZONTAL"}(Ay||(Ay={}));var Iy={align:"left",breakWords:!1,dropShadow:!1,dropShadowAlpha:1,dropShadowAngle:Math.PI/6,dropShadowBlur:0,dropShadowColor:"black",dropShadowDistance:5,fill:"black",fillGradientType:Ay.LINEAR_VERTICAL,fillGradientStops:[],fontFamily:"Arial",fontSize:26,fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",letterSpacing:0,lineHeight:0,lineJoin:"miter",miterLimit:10,padding:0,stroke:"black",strokeThickness:0,textBaseline:"alphabetic",trim:!1,whiteSpace:"pre",wordWrap:!1,wordWrapWidth:100,leading:0},My=["serif","sans-serif","monospace","cursive","fantasy","system-ui"],Dy=function(){function t(t){this.styleID=0,this.reset(),ky(this,t,t)}return t.prototype.clone=function(){var e={};return ky(e,this,Iy),new t(e)},t.prototype.reset=function(){ky(this,Iy,Iy)},Object.defineProperty(t.prototype,"align",{get:function(){return this._align},set:function(t){this._align!==t&&(this._align=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"breakWords",{get:function(){return this._breakWords},set:function(t){this._breakWords!==t&&(this._breakWords=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dropShadow",{get:function(){return this._dropShadow},set:function(t){this._dropShadow!==t&&(this._dropShadow=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dropShadowAlpha",{get:function(){return this._dropShadowAlpha},set:function(t){this._dropShadowAlpha!==t&&(this._dropShadowAlpha=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dropShadowAngle",{get:function(){return this._dropShadowAngle},set:function(t){this._dropShadowAngle!==t&&(this._dropShadowAngle=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dropShadowBlur",{get:function(){return this._dropShadowBlur},set:function(t){this._dropShadowBlur!==t&&(this._dropShadowBlur=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dropShadowColor",{get:function(){return this._dropShadowColor},set:function(t){var e=Ny(t);this._dropShadowColor!==e&&(this._dropShadowColor=e,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dropShadowDistance",{get:function(){return this._dropShadowDistance},set:function(t){this._dropShadowDistance!==t&&(this._dropShadowDistance=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fill",{get:function(){return this._fill},set:function(t){var e=Ny(t);this._fill!==e&&(this._fill=e,this.styleID++)}
2,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fillGradientType",{get:function(){return this._fillGradientType},set:function(t){this._fillGradientType!==t&&(this._fillGradientType=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fillGradientStops",{get:function(){return this._fillGradientStops},set:function(t){(function(t,e){if(!Array.isArray(t)||!Array.isArray(e))return!1;if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n)if(t[n]!==e[n])return!1;return!0})(this._fillGradientStops,t)||(this._fillGradientStops=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fontFamily",{get:function(){return this._fontFamily},set:function(t){this.fontFamily!==t&&(this._fontFamily=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fontSize",{get:function(){return this._fontSize},set:function(t){this._fontSize!==t&&(this._fontSize=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fontStyle",{get:function(){return this._fontStyle},set:function(t){this._fontStyle!==t&&(this._fontStyle=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fontVariant",{get:function(){return this._fontVariant},set:function(t){this._fontVariant!==t&&(this._fontVariant=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fontWeight",{get:function(){return this._fontWeight},set:function(t){this._fontWeight!==t&&(this._fontWeight=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"letterSpacing",{get:function(){return this._letterSpacing},set:function(t){this._letterSpacing!==t&&(this._letterSpacing=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lineHeight",{get:function(){return this._lineHeight},set:function(t){this._lineHeight!==t&&(this._lineHeight=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"leading",{get:function(){return this._leading},set:function(t){this._leading!==t&&(this._leading=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lineJoin",{get:function(){return this._lineJoin},set:function(t){this._lineJoin!==t&&(this._lineJoin=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"miterLimit",{get:function(){return this._miterLimit},set:function(t){this._miterLimit!==t&&(this._miterLimit=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"padding",{get:function(){return this._padding},set:function(t){this._padding!==t&&(this._padding=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stroke",{get:function(){return this._stroke},set:function(t){var e=Ny(t);this._stroke!==e&&(this._stroke=e,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"strokeThickness",{get:function(){return this._strokeThickness},set:function(t){this._strokeThickness!==t&&(this._strokeThickness=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textBaseline",{get:function(){return this._textBaseline},set:function(t){this._textBaseline!==t&&(this._textBaseline=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trim",{get:function(){return this._trim},set:function(t){this._trim!==t&&(this._trim=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"whiteSpace",{get:function(){return this._whiteSpace},set:function(t){this._whiteSpace!==t&&(this._whiteSpace=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"wordWrap",{get:function(){return this._wordWrap},set:function(t){this._wordWrap!==t&&(this._wordWrap=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"wordWrapWidth",{get:function(){return this._wordWrapWidth},set:function(t){this._wordWrapWidth!==t&&(this._wordWrapWidth=t,this.styleID++)}
2,enumerable:!1,configurable:!0}),t.prototype.toFontString=function(){var t="number"==typeof this.fontSize?this.fontSize+"px":this.fontSize,e=this.fontFamily;Array.isArray(this.fontFamily)||(e=this.fontFamily.split(","));for(var n=e.length-1;n>=0;n--){var r=e[n].trim();!/([\"\'])[^\'\"]+\1/.test(r)&&My.indexOf(r)<0&&(r='"'+r+'"'),e[n]=r}return this.fontStyle+" "+this.fontVariant+" "+this.fontWeight+" "+t+" "+e.join(",")},t}();function Ly(t){return"number"==typeof t?Yf(t):("string"==typeof t&&0===t.indexOf("0x")&&(t=t.replace("0x","#")),t)}function Ny(t){if(Array.isArray(t)){for(var e=0;e<t.length;++e)t[e]=Ly(t[e]);return t}return Ly(t)}function ky(t,e,n){for(var r in n)Array.isArray(e[r])?t[r]=e[r].slice():t[r]=e[r]}var Fy=function(){function t(t,e,n,r,i,o,s,a,u){this.text=t,this.style=e,this.width=n,this.height=r,this.lines=i,this.lineWidths=o,this.lineHeight=s,this.maxLineWidth=a,this.fontProperties=u}return t.measureText=function(e,n,r,i){void 0===i&&(i=t._canvas),r=null==r?n.wordWrap:r;var o=n.toFontString(),s=t.measureFont(o);0===s.fontSize&&(s.fontSize=n.fontSize,s.ascent=n.fontSize);var a=i.getContext("2d");a.font=o;for(var u=(r?t.wordWrap(e,n,i):e).split(/(?:\r\n|\r|\n)/),l=new Array(u.length),c=0,h=0;h<u.length;h++){var f=a.measureText(u[h]).width+(u[h].length-1)*n.letterSpacing;l[h]=f,c=Math.max(c,f)}var d=c+n.strokeThickness;n.dropShadow&&(d+=n.dropShadowDistance);var p=n.lineHeight||s.fontSize+n.strokeThickness,v=Math.max(p,s.fontSize+n.strokeThickness)+(u.length-1)*(
2p+n.leading);return n.dropShadow&&(v+=n.dropShadowDistance),new t(e,n,d,v,u,l,p+n.leading,c,s)},t.wordWrap=function(e,n,r){void 0===r&&(r=t._canvas);for(var i=r.getContext("2d"),o=0,s="",a="",u=Object.create(null),l=n.letterSpacing,c=n.whiteSpace,h=t.collapseSpaces(c),f=t.collapseNewlines(c),d=!h,p=n.wordWrapWidth+l,v=t.tokenize(e),m=0;m<v.length;m++){var g=v[m];if(t.isNewline(g)){if(!f){a+=t.addLine(s),d=!h,s="",o=0;continue}g=" "}if(h){var y=t.isBreakingSpace(g),_=t.isBreakingSpace(s[s.length-1]);if(y&&_)continue}var b=t.getFromCache(g,l,u,i);if(b>p)if(""!==s&&(a+=t.addLine(s),s="",o=0),t.canBreakWords(g,n.breakWords))for(var x=t.wordWrapSplit(g),T=0;T<x.length;T++){for(var E=x[T],w=1;x[T+w];){var S=x[T+w],A=E[E.length-1];if(t.canBreakChars(A,S,g,T,n.breakWords))break;E+=S,w++}T+=E.length-1;var O=t.getFromCache(E,l,u,i);O+o>p&&(a+=t.addLine(s),d=!1,s="",o=0),s+=E,o+=O}else{s.length>0&&(a+=t.addLine(s),s="",o=0);var R=m===v.length-1;a+=t.addLine(g,!R),d=!1,s="",o=0}else b+o>p&&(d=!1,a+=t.addLine(s),s="",o=0),(s.length>0||!t.isBreakingSpace(g)||d)&&(s+=g,o+=b)}return a+=t.addLine(s,!1)},t.addLine=function(e,n){return void 0===n&&(n=!0),e=t.trimRight(e),e=n?e+"\n":e},t.getFromCache=function(t,e,n,r){var i=n[t];if("number"!=typeof i){var o=t.length*e;i=r.measureText(t).width+o,n[t]=i}return i},t.collapseSpaces=function(t){return"normal"===t||"pre-line"===t},t.collapseNewlines=function(t){return"normal"===t},t.trimRight=function(e){if("string"!=typeof e)return"";for(var n=e.length-1;n>=0;n--){var r=e[n];if(!t.isBreakingSpace(r))break;e=e.slice(0,-1)}return e},t.isNewline=function(e){return"string"==typeof e&&t._newlines.indexOf(e.charCodeAt(0))>=0},t.isBreakingSpace=function(e,n){return"string"==typeof e&&t._breakingSpaces.indexOf(e.charCodeAt(0))>=0},t.tokenize=function(e){var n=[],r="";if("string"!=typeof e)return n;for(var i=0;i<e.length;i++){var o=e[i],s=e[i+1];t.isBreakingSpace(o,s)||t.isNewline(o)?(""!==r&&(n.push(r),r=""),n.push(o)):r+=o}return""!==r&&n.push(r),n},t.canBreakWords=function(t,e){return e},t.canBreakChars=function(t,e,n,r,i){return!0},t.wordWrapSplit=function(t){return t.split("")},t.measureFont=function(e){if(t._fonts[e])return t._fonts[e];var n={ascent:0,descent:0,fontSize:0},r=t._canvas,i=t._context;i.font=e;var o=t.METRICS_STRING+t.BASELINE_SYMBOL,s=Math.ceil(i.measureText(o).width),a=Math.ceil(i.measureText(t.BASELINE_SYMBOL).width),u=Math.ceil(t.HEIGHT_MULTIPLIER*a);a=a*t.BASELINE_MULTIPLIER|0,r.width=s,r.height=u,i.fillStyle="#f00",i.fillRect(0,0,s,u),i.font=e,i.textBaseline="alphabetic",i.fillStyle="#000",i.fillText(o,0,a);var l=i.getImageData(0,0,s,u).data,c=l.length,h=4*s,f=0,d=0,p=!1;for(f=0;f<a;++f){for(var v=0;v<h;v+=4)if(255!==l[d+v]){p=!0;break}if(p)break;d+=h}for(n.ascent=a-f,d=c-h,p=!1,f=u;f>a;--f){for(v=0;v<h;v+=4)if(255!==l[d+v]){p=!0;break}if(p)break;d-=h}return n.descent=f-a,n.fontSize=n.ascent+n.descent,t._fonts[e]=n,n},t.clearMetrics=function(e){void 0===e&&(e=""),e?delete t._fonts[e]:t._fonts={}},t}(),By=function(){try{var t=new OffscreenCanvas(0,0),e=t.getContext("2d");return e&&e.measureText?t:document.createElement("canvas")}catch(t){return document.createElement("canvas")}}();By.width=By.height=10,Fy._canvas=By,Fy._context=By.getContext("2d"),Fy._fonts={},Fy.METRICS_STRING="|ÉqÅ",Fy.BASELINE_SYMBOL="M",Fy.BASELINE_MULTIPLIER=1.4,Fy.HEIGHT_MULTIPLIER=2,Fy._newlines=[10,13],Fy._breakingSpaces=[9,32,8192,8193,8194,8195,8196,8197,8198,8200,8201,8202,8287,12288];var Uy={texture:!0,children:!1,baseTexture:!0},Gy=function(t){function e(e,n,r){var i=this,o=!1;r||(r=document.createElement("canvas"),o=!0),r.width=3,r.height=3;var s=kp.from(r);return s.orig=new Rd,s.trim=new Rd,(i=t.call(this,s)||this)._ownCanvas=o,i.canvas=r,i.context=i.canvas.getContext("2d"),i._resolution=If.RESOLUTION,i._autoResolution=!0,i._text=null,i._style=null,i._styleListener=null,i._font="",i.text=e,i.style=n,i.localStyleID=-1,i}return function(t,e){function n(){this.constructor=t}Cy(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),e.prototype.updateText=function(t){var n=this._style;if(this.localStyleID!==n.styleID&&(this.dirty=!0,this.localStyleID=n.styleID),this.dirty||!t){this._font=this._style.toFontString();var r,i,o=this.context,s=Fy.measureText(this._text||" ",this._style,this._style.wordWrap,this.canvas),a=s.width,u=s.height,l=s.lines,c=s.lineHeight,h=s.lineWidths,f=s.maxLineWidth,d=s.fontProperties;this.canvas.width=Math.ceil((Math.max(1,a)+2*n.padding)*this._resolution),this.canvas.height=Math.ceil((Math.max(1,u)+2*n.padding)*this._resolution),o.scale(this._resolution,this._resolution),o.clearRect(0,0,this.canvas.width,this.canvas.height),o.font=this._font,o.lineWidth=n.strokeThickness,o.textBaseline=n.textBaseline,o.lineJoin=n.lineJoin,o.miterLimit=n.miterLimit;for(var p=n.dropShadow?2:1,v=0;v<p;++v){var m=n.dropShadow&&0===v,g=m?Math.ceil(Math.max(1,u)+2*n.padding):0,y=g*this._resolution;if(m){o.fillStyle="black",o.strokeStyle="black";var _=n.dropShadowColor,b=zf("number"==typeof _?_:Vf(_));o.shadowColor="rgba("+255*b[0]+","+255*b[1]+","+255*b[2]+","+n.dropShadowAlpha+")",o.shadowBlur=n.dropShadowBlur,o.shadowOffsetX=Math.cos(n.dropShadowAngle)*n.dropShadowDistance,o.shadowOffsetY=Math.sin(n.dropShadowAngle)*n.dropShadowDistance+y}else o.fillStyle=this._generateFillStyle(n,l,s),o.strokeStyle=n.stroke,o.shadowColor="black",o.shadowBlur=0,o.shadowOffsetX=0,o.shadowOffsetY=0;var x=(c-d.fontSize)/2;(!e.nextLineHeightBehavior||c-d.fontSize<0)&&(x=0);for(var T=0;T<l.length;T++)r=n.strokeThickness/2,i=n.strokeThickness/2+T*c+d.ascent+x,"right"===n.align?r+=f-h[T]:"center"===n.align&&(r+=(f-h[T])/2),n.stroke&&n.strokeThickness&&this.drawLetterSpacing(l[T],r+n.padding,i+n.padding-g,!0),n.fill&&this.drawLetterSpacing(l[T],r+n.padding,i+n.padding-g)}this.updateTexture()}},e.prototype.drawLetterSpacing=function(t,e,n,r){void 0===r&&(r=!1);var i=this._style.letterSpacing;if(0!==i)for(var o=e,s=Array.from?Array.from(t):t.split(""),a=this.context.measureText(t).width,u=0,l=0;l<s.length;++l){var c=s[l];r?this.context.strokeText(c,o,n):this.context.fillText(c,o,n),o+=a-(u=this.context.measureText(t.substring(l+1)).width)+i,a=u}else r?this.context.strokeText(t,e,n):this.context.fillText(t,e,n)},e.prototype.updateTexture=function(){var t=this.canvas;if(this._style.trim){var e=yd(t);e.data&&(t.width=e.width,t.height=e.height,this.context.putImageData(e.data,0,0))}var n=this._texture,r=this._style,i=r.trim?0:r.padding,o=n.baseTexture;n.trim.width=n._frame.width=Math.ceil(t.width/this._resolution),n.trim.height=n._frame.height=Math.ceil(t.height/this._resolution),n.trim.x=-i,n.trim.y=-i,n.orig.width=n._frame.width-2*i,n.orig.height=n._frame.height-2*i,this._onTextureUpdate(),o.setRealSize(t.width,t.height,this._resolution),this._recursivePostUpdateTransform(),this.dirty=!1},e.prototype._render=function(e){this._autoResolution&&this._resolution!==e.resolution&&(this._resolution=e.resolution,this.dirty=!0),this.updateText(!0),t.prototype._render.call(this,e)},e.prototype.getLocalBounds=function(e){return this.updateText(!0),t.prototype.getLocalBounds.call(this,e)},e.prototype._calculateBounds=function(){this.updateText(!0),this.calculateVertices(),this._bounds.addQuad(this.vertexData)},e.prototype._generateFillStyle=function(t,e,n){var r,i=t.fill;if(!Array.isArray(i))return i;if(1===i.length)return i[0];var o=t.dropShadow?t.dropShadowDistance:0,s=t.padding||0,a=Math.ceil(this.canvas.width/this._resolution)-o-2*s,u=Math.ceil(this.canvas.height/this._resolution)-o-2*s,l=i.slice(),c=t.fillGradientStops.slice();if(!c.length)for(var h=l.length+1,f=1;f<h;++f)c.push(f/h);if(l.unshift(i[0]),c.unshift(0),l.push(i[i.length-1]),c.push(1),t.fillGradientType===Ay.LINEAR_VERTICAL){r=this.context.createLinearGradient(a/2,s,a/2,u+s);var d=(n.fontProperties.fontSize+t.strokeThickness)/u;for(f=0;f<e.length;f++)for(var p=n.lineHeight*f,v=0;v<l.length;v++){var m=0;m="number"==typeof c[v]?c[v]:v/l.length;var g=Math.min(1,Math.max(0,p/u+m*d));g=Number(g.toFixed(5)),r.addColorStop(g,l[v])}}else{r=this.context.createLinearGradient(s,u/2,a+s,u/2);var y=l.length+1,_=1;for(f=0;f<l.length;f++){var b=void 0;b="number"==typeof c[f]?c[f]:_/y,r.addColorStop(b,l[f]),_++}}return r},e.prototype.destroy=function(e){"boolean"==typeof e&&(e={children:e}),e=Object.assign({},Uy,e),t.prototype.destroy.call(this,e),this._ownCanvas&&(this.canvas.height=this.canvas.width=0),this.context=null,this.canvas=null,this._style=null},Object.defineProperty(e.prototype,"width",{get:function(){return this.updateText(!0),Math.abs(this.scale.x)*this._texture.orig.width}
2,set:function(t){this.updateText(!0);var e=ad(this.scale.x)||1;this.scale.x=e*t/this._texture.orig.width,this._width=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.updateText(!0),Math.abs(this.scale.y)*this._texture.orig.height},set:function(t){this.updateText(!0);var e=ad(this.scale.y)||1;this.scale.y=e*t/this._texture.orig.height,this._height=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"style",{get:function(){return this._style},set:function(t){t=t||{},this._style=t instanceof Dy?t:new Dy(t),this.localStyleID=-1,this.dirty=!0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this._text},set:function(t){t=String(null==t?"":t),this._text!==t&&(this._text=t,this.dirty=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"resolution",{get:function(){return this._resolution},set:function(t){this._autoResolution=!1,this._resolution!==t&&(this._resolution=t,this.dirty=!0)},enumerable:!1,configurable:!0}),e.nextLineHeightBehavior=!1,e}(Py);If.UPLOADS_PER_FRAME=4;var Xy=function(t,e){return(Xy=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};var jy=function(){function t(t){this.maxItemsPerFrame=t,this.itemsLeft=0}return t.prototype.beginFrame=function(){this.itemsLeft=this.maxItemsPerFrame},t.prototype.allowedToUpload=function(){return this.itemsLeft-- >0},t}();function Hy(t,e){var n=!1;if(t&&t._textures&&t._textures.length)for(var r=0;r<t._textures.length;r++)if(t._textures[r]instanceof kp){var i=t._textures[r].baseTexture;-1===e.indexOf(i)&&(e.push(i),n=!0)}return n}function zy(t,e){if(t.baseTexture instanceof _p){var n=t.baseTexture;return-1===e.indexOf(n)&&e.push(n),!0}return!1}function Yy(t,e){if(t._texture&&t._texture instanceof kp){var n=t._texture.baseTexture;return-1===e.indexOf(n)&&e.push(n),!0}return!1}function Vy(t,e){return e instanceof Gy&&(e.updateText(!0),!0)}function $y(t,e){if(e instanceof Dy){var n=e.toFontString();return Fy.measureFont(n),!0}return!1}function Wy(t,e){if(t instanceof Gy){-1===e.indexOf(t.style)&&e.push(t.style),-1===e.indexOf(t)&&e.push(t);var n=t._texture.baseTexture;return-1===e.indexOf(n)&&e.push(n),!0}return!1}function qy(t,e){return t instanceof Dy&&(-1===e.indexOf(t)&&e.push(t),!0)}function Zy(t,e){return e instanceof _p&&(e._glTextures[t.CONTEXT_UID]||t.texture.bind(e),!0)}function Ky(t,e){if(!(e instanceof wy))return!1;var n=e.geometry;e.finishPoly(),n.updateBatches();for(var r=n.batches,i=0;i<r.length;i++){var o=r[i].style.texture;o&&Zy(t,o.baseTexture)}return n.batchable||t.geometry.bind(n,e._resolveDirectShader(t)),!0}function Jy(t,e){return t instanceof wy&&(e.push(t),!0)}var Qy=function(t){function e(e){var n=t.call(this,e)||this;return n.uploadHookHelper=n.renderer,n.registerFindHook(Jy),n.registerUploadHook(Zy),n.registerUploadHook(Ky),n}return function(t,e){function n(){this.constructor=t}Xy(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),e}(function(){function t(t){var e=this;this.limiter=new jy(If.UPLOADS_PER_FRAME),this.renderer=t,this.uploadHookHelper=null,this.queue=[],this.addHooks=[],this.uploadHooks=[],this.completes=[],this.ticking=!1,this.delayedTick=function(){e.queue&&e.prepareItems()},this.registerFindHook(Wy),this.registerFindHook(qy),this.registerFindHook(Hy),this.registerFindHook(zy),this.registerFindHook(Yy),this.registerUploadHook(Vy),this.registerUploadHook($y)}return t.prototype.upload=function(t,e){"function"==typeof t&&(e=t,t=null),t&&this.add(t),this.queue.length?(e&&this.completes.push(e),this.ticking||(this.ticking=!0,ep.system.addOnce(this.tick,this,Jd.UTILITY))):e&&e()},t.prototype.tick=function(){setTimeout(this.delayedTick,0)},t.prototype.prepareItems=function(){for(this.limiter.beginFrame();this.queue.length&&this.limiter.allowedToUpload();){var t=this.queue[0],e=!1;if(t&&!t._destroyed)for(var n=0,r=this.uploadHooks.length;n<r;n++)if(this.uploadHooks[n](this.uploadHookHelper,t)){this.queue.shift(),e=!0;break}e||this.queue.shift()}if(this.queue.length)ep.system.addOnce(this.tick,this,Jd.UTILITY);else{this.ticking=!1;var i=this.completes.slice(0);this.completes.length=0;for(n=0,r=i.length;n<r;n++)i[n]()}},t.prototype.registerFindHook=function(t){return t&&this.addHooks.push(t),this},t.prototype.registerUploadHook=function(t){return t&&this.uploadHooks.push(t),this},t.prototype.add=function(t){for(var e=0,n=this.addHooks.length;e<n&&!this.addHooks[e](t,this.queue);e++);if(t instanceof Kd)for(e=t.children.length-1;e>=0;e--)this.add(t.children[e]);return this},t.prototype.destroy=function(){this.ticking&&ep.system.remove(this.tick,this),this.ticking=!1,this.addHooks=null,this.uploadHooks=null,this.renderer=null,this.completes=null,this.queue=null,this.limiter=null,this.uploadHookHelper=null},t}()),t_=(function(){function t(t){this.maxMilliseconds=t,this.frameStart=0}t.prototype.beginFrame=function(){this.frameStart=Date.now()},t.prototype.allowedToUpload=function(){return Date.now()-this.frameStart<this.maxMilliseconds}}(),function(){function t(t,e,n){void 0===n&&(n=null),this._texture=t instanceof kp?t:null,this.baseTexture=t instanceof _p?t:this._texture.baseTexture,this.textures={},this.animations={},this.data=e;var r=this.baseTexture.resource;this.resolution=this._updateResolution(n||(r?r.url:null)),this._frames=this.data.frames,this._frameKeys=Object.keys(this._frames),this._batchIndex=0,this._callback=null}return t.prototype._updateResolution=function(t){void 0===t&&(t=null);var e=this.data.meta.scale,n=Ed(t,null);return null===n&&(n=void 0!==e?parseFloat(e):1),1!==n&&this.baseTexture.setRe
2solution(n),n},t.prototype.parse=function(e){this._batchIndex=0,this._callback=e,this._frameKeys.length<=t.BATCH_SIZE?(this._processFrames(0),this._processAnimations(),this._parseComplete()):this._nextBatch()},t.prototype._processFrames=function(e){for(var n=e,r=t.BATCH_SIZE;n-e<r&&n<this._frameKeys.length;){var i=this._frameKeys[n],o=this._frames[i],s=o.frame;if(s){var a=null,u=null,l=!1!==o.trimmed&&o.sourceSize?o.sourceSize:o.frame,c=new Rd(0,0,Math.floor(l.w)/this.resolution,Math.floor(l.h)/this.resolution);a=o.rotated?new Rd(Math.floor(s.x)/this.resolution,Math.floor(s.y)/this.resolution,Math.floor(s.h)/this.resolution,Math.floor(s.w)/this.resolution):new Rd(Math.floor(s.x)/this.resolution,Math.floor(s.y)/this.resolution,Math.floor(s.w)/this.resolution,Math.floor(s.h)/this.resolution),!1!==o.trimmed&&o.spriteSourceSize&&(u=new Rd(Math.floor(o.spriteSourceSize.x)/this.resolution,Math.floor(o.spriteSourceSize.y)/this.resolution,Math.floor(s.w)/this.resolution,Math.floor(s.h)/this.resolution)),this.textures[i]=new kp(this.baseTexture,a,c,u,o.rotated?2:0,o.anchor),kp.addToCache(this.textures[i],i)}n++}},t.prototype._processAnimations=function(){var t=this.data.animations||{};for(var e in t){this.animations[e]=[];for(var n=0;n<t[e].length;n++){var r=t[e][n];this.animations[e].push(this.textures[r])}}},t.prototype._parseComplete=function(){var t=this._callback;this._callback=null,this._batchIndex=0,t.call(this,this.textures)},t.prototype._nextBatch=function(){var e=this;this._processFrames(this._batchIndex*t.BATCH_SIZE),this._batchIndex++,setTimeout((function(){e._batchIndex*t.BATCH_SIZE<e._frameKeys.length?e._nextBatch():(e._processAnimations(),e._parseComplete())}),0)},t.prototype.destroy=function(t){var e;for(var n in void 0===t&&(t=!1),this.textures)this.textures[n].destroy();this._frames=null,this._frameKeys=null,this.data=null,this.textures=null,t&&(null===(e=this._texture)||void 0===e||e.destroy(),this.baseTexture.destroy()),this._texture=null,this.baseTexture=null},t.BATCH_SIZE=1e3,t}()),e_=function(){function t(){}return t.use=function(e,n){var r,i,o=this,s=e.name+"_image";if(e.data&&e.type===tg.TYPE.JSON&&e.data.frames&&!o.resources[s]){var a=null===(i=null===(r=e.data)||void 0===r?void 0:r.meta)||void 0===i?void 0:i.related_multi_packs;if(Array.isArray(a))for(var u=function(t){if("string"!=typeof t)return"continue";var n=t.replace(".json",""),r=Ff.resolve(e.url.replace(o.baseUrl,""),t);if(o.resources[n]||Object.values(o.resources).some((function(t){return Ff.format(Ff.parse(t.url))===r})))return"continue";var i={crossOrigin:e.crossOrigin,loadType:tg.LOAD_TYPE.XHR,xhrType:tg.XHR_RESPONSE_TYPE.JSON,parentResource:e};o.add(n,r,i)},l=0,c=a;l<c.length;l++){u(c[l])}var h={crossOrigin:e.crossOrigin,metadata:e.metadata.imageMetadata,parentResource:e},f=t.getResourcePath(e,o.baseUrl);o.add(s,f,h,(function(t){if(t.error)n(t.error);else{var r=new t_(t.texture,e.data,e.url);r.parse((function(){e.spritesheet=r,e.textures=r.textures,n()}))}}))}else n()},t.getResourcePath=function(t,e){return t.isDataUrl?t.data.meta.image:Ff.resolve(t.url.replace(e,""),t.data.meta.image)},t}(),n_=function(t,e){return(n_=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function r_(t,e){function n(){this.constructor=t}n_(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i_=new Dd,o_=(function(t){function e(e,n,r){void 0===n&&(n=100),void 0===r&&(r=100);var i=t.call(this,e)||this;return i.tileTransform=new zd,i._width=n,i._height=r,i.uvMatrix=i.texture.uvMatrix||new Xv(e),i.pluginName="tilingSprite",i.uvRespectAnchor=!1,i}r_(e,t),Object.defineProperty(e.prototype,"clampMargin",{get:function(){return this.uvMatrix.clampMargin},set:function(t){this.uvMatrix.clampMargin=t,this.uvMatrix.update(!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tileScale",{get:function(){return this.tileTransform.scale},set:function(t){this.tileTransform.scale.copyFrom(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tilePosition",{get:function(){return this.tileTransform.position},set:function(t){this.tileTransform.position.copyFrom(t)}
2,enumerable:!1,configurable:!0}),e.prototype._onTextureUpdate=function(){this.uvMatrix&&(this.uvMatrix.texture=this._texture),this._cachedTint=16777215},e.prototype._render=function(t){var e=this._texture;e&&e.valid&&(this.tileTransform.updateLocalTransform(),this.uvMatrix.update(),t.batch.setObjectRenderer(t.plugins[this.pluginName]),t.plugins[this.pluginName].render(this))},e.prototype._calculateBounds=function(){var t=this._width*-this._anchor._x,e=this._height*-this._anchor._y,n=this._width*(1-this._anchor._x),r=this._height*(1-this._anchor._y);this._bounds.addFrame(this.transform,t,e,n,r)},e.prototype.getLocalBounds=function(e){return 0===this.children.length?(this._bounds.minX=this._width*-this._anchor._x,this._bounds.minY=this._height*-this._anchor._y,this._bounds.maxX=this._width*(1-this._anchor._x),this._bounds.maxY=this._height*(1-this._anchor._y),e||(this._localBoundsRect||(this._localBoundsRect=new Rd),e=this._localBoundsRect),this._bounds.getRectangle(e)):t.prototype.getLocalBounds.call(this,e)},e.prototype.containsPoint=function(t){this.worldTransform.applyInverse(t,i_);var e=this._width,n=this._height,r=-e*this.anchor._x;if(i_.x>=r&&i_.x<r+e){var i=-n*this.anchor._y;if(i_.y>=i&&i_.y<i+n)return!0}return!1},e.prototype.destroy=function(e){t.prototype.destroy.call(this,e),this.tileTransform=null,this.uvMatrix=null},e.from=function(t,n){return new e(t instanceof kp?t:kp.from(t,n),n.width,n.height)},Object.defineProperty(e.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t},enumerable:!1,configurable:!0})}(Py),"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\nuniform mat3 translationMatrix;\nuniform mat3 uTransform;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n    gl_Position = vec4((projectionMatrix * translationMatrix * vec3(aVertexPosition, 1.0
2)).xy, 0.0, 1.0);\n\n    vTextureCoord = (uTransform * vec3(aTextureCoord, 1.0)).xy;\n}\n"),s_=new Nd,a_=function(t){function e(e){var n=t.call(this,e)||this,r={globals:n.renderer.globalUniforms};return n.shader=Fv.from(o_,"varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform vec4 uColor;\nuniform mat3 uMapCoord;\nuniform vec4 uClampFrame;\nuniform vec2 uClampOffset;\n\nvoid main(void)\n{\n    vec2 coord = vTextureCoord + ceil(uClampOffset - vTextureCoord);\n    coord = (uMapCoord * vec3(coord, 1.0)).xy;\n    coord = clamp(coord, uClampFrame.xy, uClampFrame.zw);\n\n    vec4 texSample = texture2D(uSampler, coord);\n    gl_FragColor = texSample * uColor;\n}\n",r),n.simpleShader=Fv.from(o_,"varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform vec4 uColor;\n\nvoid main(void)\n{\n    vec4 sample = texture2D(uSampler, vTextureCoord);\n    gl_FragColor = sample * uColor;\n}\n",r),n.quad=new Zp,n.state=Bv.for2d(),n}return r_(e,t),e.prototype.render=function(t){var e=this.renderer,n=this.quad,r=n.vertices;r[0]=r[6]=t._width*-t.anchor.x,r[1]=r[3]=t._height*-t.anchor.y,r[2]=r[4]=t._width*(1-t.anchor.x),r[5]=r[7]=t._height*(1-t.anchor.y);var i=t.uvRespectAnchor?t.anchor.x:0,o=t.uvRespectAnchor?t.anchor.y:0;(r=n.uvs)[0]=r[6]=-i,r[1]=r[3]=-o,r[2]=r[4]=1-i,r[5]=r[7]=1-o,n.invalidate();var s=t._texture,a=s.baseTexture,u=t.tileTransform.localTransform,l=t.uvMatrix,c=a.isPowerOfTwo&&s.frame.width===a.width&&s.frame.height===a.height;c&&(a._glTextures[e.CONTEXT_UID]?c=a.wrapMode!==Ef.CLAMP:a.wrapMode===Ef.CLAMP&&(a.wrapMode=Ef.REPEAT));var h=c?this.simpleShader:this.shader,f=s.width,d=s.height,p=t._width,v=t._height;s_.set(u.a*f/p,u.b*f/v,u.c*d/p,u.d*d/v,u.tx/p,u.ty/v),s_.invert(),c?s_.prepend(l.mapCoord):(h.uniforms.uMapCoord=l.mapCoord.toArray(!0),h.uniforms.uClampFrame=l.uClampFrame,h.uniforms.uClampOffset=l.uClampOffset),h.uniforms.uTransform=s_.toArray(!0),h.uniforms.uColor=Jf(t.tint,t.worldAlpha,h.uniforms.uColor,a.alphaMode),h.uniforms.translationMatrix=t.transform.worldTransform.toArray(!0),h.uniforms.uSampler=s,e.shader.bind(h),e.geometry.bind(n),this.state.blendMode=qf(t.blendMode,a.alphaMode),e.state.set(this.state),e.geometry.draw(this.renderer.gl.TRIANGLES,6,0)},e}(rv),u_=function(t,e){return(u_=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function l_(t,e){function n(){this.constructor=t}u_(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var c_=function(){function t(t,e){this.uvBuffer=t,this.uvMatrix=e,this.data=null,this._bufferUpdateId=-1,this._textureUpdateId=-1,this._updateID=0}return t.prototype.update=function(t){if(t||this._bufferUpdateId!==this.uvBuffer._updateID||this._textureUpdateId!==this.uvMatrix._updateID){this._bufferUpdateId=this.uvBuffer._updateID,this._textureUpdateId=this.uvMatrix._updateID;var e=this.uvBuffer.data;this.data&&this.data.length===e.length||(this.data=new Float32Array(e.length)),this.uvMatrix.multiplyUvs(e,this.data),this._updateID++}},t}(),h_=new Dd,f_=new Id,d_=function(t){function e(e,n,r,i){void 0===i&&(i=gf.TRIANGLES);var o=t.call(this)||this;return o.geometry=e,e.refCount++,o.shader=n,o.state=r||Bv.for2d(),o.drawMode=i,o.start=0,o.size=0,o.uvs=null,o.indices=null,o.vertexData=new Float32Array(1),o.vertexDirty=-1,o._transformID=-1,o._roundPixels=If.ROUND_PIXELS,o.batchUvs=null,o}return l_(e,t),Object.defineProperty(e.prototype,"uvBuffer",{get:function(){return this.geometry.buffers[1]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"verticesBuffer",{get:function(){return this.geometry.buffers[0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"material",{get:function(){return this.shader},set:function(t){this.shader=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"blendMode",{get:function(){return this.state.blendMode},set:function(t){this.state.blendMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"roundPixels",{get:function(){return this._roundPixels},set:function(t){this._roundPixels!==t&&(this._transformID=-1),this._roundPixels=t}
2,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tint",{get:function(){return"tint"in this.shader?this.shader.tint:null},set:function(t){this.shader.tint=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"texture",{get:function(){return"texture"in this.shader?this.shader.texture:null},set:function(t){this.shader.texture=t},enumerable:!1,configurable:!0}),e.prototype._render=function(t){var n=this.geometry.buffers[0].data;this.shader.batchable&&this.drawMode===gf.TRIANGLES&&n.length<2*e.BATCHABLE_SIZE?this._renderToBatch(t):this._renderDefault(t)},e.prototype._renderDefault=function(t){var e=this.shader;e.alpha=this.worldAlpha,e.update&&e.update(),t.batch.flush(),e.program.uniformData.translationMatrix&&(e.uniforms.translationMatrix=this.transform.worldTransform.toArray(!0)),t.shader.bind(e),t.state.set(this.state),t.geometry.bind(this.geometry,e),t.geometry.draw(this.drawMode,this.size,this.start,this.geometry.instanceCount)},e.prototype._renderToBatch=function(t){var e=this.geometry,n=this.shader;n.uvMatrix&&(n.uvMatrix.update(),this.calculateUvs()),this.calculateVertices(),this.indices=e.indexBuffer.data,this._tintRGB=n._tintRGB,this._texture=n.texture;var r=this.material.pluginName;t.batch.setObjectRenderer(t.plugins[r]),t.plugins[r].render(this)},e.prototype.calculateVertices=function(){var t=this.geometry.buffers[0],e=t.data,n=t._updateID;if(n!==this.vertexDirty||this._transformID!==this.transform._worldID){this._transformID=this.transform._worldID,this.vertexData.length!==e.length&&(this.vertexData=new Float32Array(e.length));for(var r=this.transform.worldTransform,i=r.a,o=r.b,s=r.c,a=r.d,u=r.tx,l=r.ty,c=this.vertexData,h=0;h<c.length/2;h++){var f=e[2*h],d=e[2*h+1];c[2*h]=i*f+s*d+u,c[2*h+1]=o*f+a*d+l}if(this._roundPixels){var p=If.RESOLUTION;for(h=0;h<c.length;++h)c[h]=Math.round((c[h]*p|0)/p)}this.vertexDirty=n}},e.prototype.calculateUvs=function(){var t=this.geometry.buffers[1],e=this.shader;e.uvMatrix.isSimple?this.uvs=t.data:(this.batchUvs||(this.batchUvs=new c_(t,e.uvMatrix)),this.batchUvs.update(),this.uvs=this.batchUvs.data)},e.prototype._calculateBounds=function(){this.calculateVertices(),this._bounds.addVertexData(this.vertexData,0,this.vertexData.length)},e.prototype.containsPoint=function(t){if(!this.getBounds().contains(t.x,t.y))return!1;this.worldTransform.applyInverse(t,h_);for(var e=this.geometry.getBuffer("aVertexPosition").data,n=f_.points,r=this.geometry.getIndex().data,i=r.length,o=4===this.drawMode?3:1,s=0;s+2<i;s+=o){var a=2*r[s],u=2*r[s+1],l=2*r[s+2];if(n[0]=e[a],n[1]=e[a+1],n[2]=e[u],n[3]=e[u+1],n[4]=e[l],n[5]=e[l+1],f_.contains(h_.x,h_.y))return!0}return!1},e.prototype.destroy=function(e){t.prototype.destroy.call(this,e),this.geometry.refCount--,0===this.geometry.refCount&&this.geometry.dispose(),this._cachedTexture&&(this._cachedTexture.destroy(),this._cachedTexture=null),this.geometry=null,this.shader=null,this.state=null,this.uvs=null,this.indices=null,this.vertexData=null},e.BATCHABLE_SIZE=100,e}(Kd),p_=function(t){function e(e,n){var r=this,i={uSampler:e,alpha:1,uTextureMatrix:Nd.IDENTITY,uColor:new Float32Array([1,1,1,1])};return(n=Object.assign({tint:16777215,alpha:1,pluginName:"batch"},n)).uniforms&&Object.assign(i,n.uniforms),(r=t.call(this,n.program||kv.from("attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\nuniform mat3 translationMatrix;\nuniform mat3 uTextureMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n    gl_Position = vec4((projectionMatrix * translationMatrix * vec3(aVertexPosition, 1.0
2)).xy, 0.0, 1.0);\n\n    vTextureCoord = (uTextureMatrix * vec3(aTextureCoord, 1.0)).xy;\n}\n","varying vec2 vTextureCoord;\nuniform vec4 uColor;\n\nuniform sampler2D uSampler;\n\nvoid main(void)\n{\n    gl_FragColor = texture2D(uSampler, vTextureCoord) * uColor;\n}\n"),i)||this)._colorDirty=!1,r.uvMatrix=new Xv(e),r.batchable=void 0===n.program,r.pluginName=n.pluginName,r.tint=n.tint,r.alpha=n.alpha,r}return l_(e,t),Object.defineProperty(e.prototype,"texture",{get:function(){return this.uniforms.uSampler},set:function(t){this.uniforms.uSampler!==t&&(this.uniforms.uSampler=t,this.uvMatrix.texture=t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"alpha",{get:function(){return this._alpha},set:function(t){t!==this._alpha&&(this._alpha=t,this._colorDirty=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tint",{get:function(){return this._tint},set:function(t){t!==this._tint&&(this._tint=t,this._tintRGB=(t>>16)+(65280&t)+((255&t)<<16),this._colorDirty=!0)},enumerable:!1,configurable:!0}),e.prototype.update=function(){if(this._colorDirty){this._colorDirty=!1;var t=this.texture.baseTexture;Jf(this._tint,this._alpha,this.uniforms.uColor,t.alphaMode)}this.uvMatrix.update()&&(this.uniforms.uTextureMatrix=this.uvMatrix.mapCoord)},e}(Fv),v_=function(t){function e(e,n,r){var i=t.call(this)||this,o=new jp(e),s=new jp(n,!0),a=new jp(r,!0,!0);return i.addAttribute("aVertexPosition",o,2,!1,bf.FLOAT).addAttribute("aTextureCoord",s,2,!1,bf.FLOAT).addIndex(a),i._updateId=-1,i}return l_(e,t),Object.defineProperty(e.prototype,"vertexDirtyId",{get:function(){return this.buffers[0]._updateID},enumerable:!1,configurable:!0}),e}(Wp),m_=function(t,e){return(m_=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};var g_=function(){this.info=[],this.common=[],this.page=[],this.char=[],this.kerning=[]},y_=function(){function t(){}return t.test=function(t){return"string"==typeof t&&0===t.indexOf("info face=")},t.parse=function(t){var e=t.match(/^[a-z]+\s+.+$/gm),n={info:[],common:[],page:[],char:[],chars:[],kerning:[],kernings:[]};for(var r in e){var i=e[r].match(/^[a-z]+/gm)[0],o=e[r].match(/[a-zA-Z]+=([^\s"']+|"([^"]*)")/gm),s={};for(var a in o){var u=o[a].split("="),l=u[0],c=u[1].replace(/"/gm,""),h=parseFloat(c),f=isNaN(h)?c:h;s[l]=f}n[i].push(s)}var d=new g_;return n.info.forEach((function(t){return d.info.push({face:t.face,size:parseInt(t.size,10)})})),n.common.forEach((function(t){return d.common.push({lineHeight:parseInt(t.lineHeight,10)})})),n.page.forEach((function(t){return d.page.push({id:parseInt(t.id,10),file:t.file})})),n.char.forEach((function(t){return d.char.push({id:parseInt(t.id,10),page:parseInt(t.page,10),x:parseInt(t.x,10),y:parseInt(t.y,10),width:parseInt(t.width,10),height:parseInt(t.height,10),xoffset:parseInt(t.xoffset,10),yoffset:parseInt(t.yoffset,10),xadvance:parseInt(t.xadvance,10)})})),n.kerning.forEach((function(t){return d.kerning.push({first:parseInt(t.first,10),second:parseInt(t.second,10),amount:parseInt(t.amount,10)})})),d},t}(),__=function(){function t(){}return t.test=function(t){return t instanceof XMLDocument&&t.getElementsByTagName("page").length&&null!==t.getElementsByTagName("info")[0].getAttribute("face")},t.parse=function(t){for(var e=new g_,n=t.getElementsByTagName("info"),r=t.getElementsByTagName("common"),i=t.getElementsByTagName("page"),o=t.getElementsByTagName("char"),s=t.getElementsByTagName("kerning"),a=0;a<n.length;a++)e.info.push({face:n[a].getAttribute("face"),size:parseInt(n[a].getAttribute("size"),10)});for(a=0;a<r.length;a++)e.common.push({lineHeight:parseInt(r[a].getAttribute("lineHeight"),10)});for(a=0;a<i.length;a++)e.page.push({id:parseInt(i[a].getAttribute("id"),10)||0,file:i[a].getAttribute("file")});for(a=0;a<o.length;a++){var u=o[a];e.char.push({id:parseInt(u.getAttribute("id"),10),page:parseInt(u.getAttribute("page"),10)||0,x:parseInt(u.getAttribute("x"),10),y:parseInt(u.getAttribute("y"),10),width:parseInt(u.getAttribute("width"),10),height:parseInt(u.getAttribute("height"),10),xoffset:parseInt(u.getAttribute("xoffset"),10),yoffset:parseInt(u.getAttribute("yoffset"),10),xadvance:parseInt(u.getAttribute("xadvance"),10)})}for(a=0;a<s.length;a++)e.kerning.push({first:parseInt(s[a].getAttribute("first"),10),second:parseInt(s[a].getAttribute("second"),10),amount:parseInt(s[a].getAttribute("amount"),10)});return e},t}(),b_=function(){function t(){}return t.test=function(t){if("string"==typeof t&&t.indexOf("<font>")>-1){var e=(new self.DOMParser).parseFromString(t,"text/xml");return __.test(e)}return!1},t.parse=function(t){var e=(new self.DOMParser).parseFromString(t,"text/xml");return __.parse(e)},t}(),x_=[y_,__,b_];function T_(t){for(var e=0;e<x_.length;e++)if(x_[e].test(t))return x_[e];return null}function E_(t,e,n,r,i,o){var s,a=n.fill;if(!Array.isArray(a))return a;
2if(1===a.length)return a[0];var u=n.dropShadow?n.dropShadowDistance:0,l=n.padding||0,c=Math.ceil(t.width/r)-u-2*l,h=Math.ceil(t.height/r)-u-2*l,f=a.slice(),d=n.fillGradientStops.slice();if(!d.length)for(var p=f.length+1,v=1;v<p;++v)d.push(v/p);if(f.unshift(a[0]),d.unshift(0),f.push(a[a.length-1]),d.push(1),n.fillGradientType===Ay.LINEAR_VERTICAL){s=e.createLinearGradient(c/2,l,c/2,h+l);var m=0,g=(o.fontProperties.fontSize+n.strokeThickness)/h;for(v=0;v<i.length;v++)for(var y=o.lineHeight*v,_=0;_<f.length;_++){var b=y/h+("number"==typeof d[_]?d[_]:_/f.length)*g,x=Math.max(m,b);x=Math.min(x,1),s.addColorStop(x,f[_]),m=x}}else{s=e.createLinearGradient(l,h/2,c+l,h/2);var T=f.length+1,E=1;for(v=0;v<f.length;v++){var w=void 0;w="number"==typeof d[v]?d[v]:E/T,s.addColorStop(w,f[v]),E++}}return s}function w_(t,e,n,r,i,o,s){var a=n.text,u=n.fontProperties;e.translate(r,i),e.scale(o,o);var l=s.strokeThickness/2,c=-s.strokeThickness/2;e.font=s.toFontString(),e.lineWidth=s.strokeThickness,e.textBaseline=s.textBaseline,e.lineJoin=s.lineJoin,e.miterLimit=s.miterLimit,e.fillStyle=E_(t,e,s,o,[a],n),e.strokeStyle=s.stroke,e.font=s.toFontString(),e.lineWidth=s.strokeThickness,e.textBaseline=s.textBaseline,e.lineJoin=s.lineJoin,e.miterLimit=s.miterLimit,e.fillStyle=E_(t,e,s,o,[a],n),e.strokeStyle=s.stroke;var h=s.dropShadowColor,f=zf("number"==typeof h?h:Vf(h));s.dropShadow?(e.shadowColor="rgba("+255*f[0]+","+255*f[1]+","+255*f[2]+","+s.dropShadowAlpha+")",e.shadowBlur=s.dropShadowBlur,e.shadowOffsetX=Math.cos(s.dropShadowAngle)*s.dropShadowDistance,e.shadowOffsetY=Math.sin(s.dropShadowAngle)*s.dropShadowDistance):(e.shadowColor="black",e.shadowBlur=0,e.shadowOffsetX=0,e.shadowOffsetY=0),s.stroke&&s.strokeThickness&&e.strokeText(a,l,c+n.lineHeight-u.descent),s.fill&&e.fillText(a,l,c+n.lineHeight-u.descent),e.setTransform(1,0,0,1,0,0),e.fillStyle="rgba(0, 0, 0, 0)"}var S_=function(){function t(t,e,n){var r=t.info[0],i=t.common[0],o=Ed(t.page[0].file),s={};this._ownsTextures=n,this.font=r.face,this.size=r.size,this.lineHeight=i.lineHeight/o,this.chars={},this.pageTextures=s;for(var a=0;a<t.page.length;a++){var u=t.page[a],l=u.id,c=u.file;s[l]=e instanceof Array?e[a]:e[c]}for(a=0;a<t.char.length;a++){var h=t.char[a],f=(l=h.id,h.page),d=t.char[a],p=d.x,v=d.y,m=d.width,g=d.height,y=d.xoffset,_=d.yoffset,b=d.xadvance;v/=o,m/=o,g/=o,y/=o,_/=o,b/=o;var x=new Rd((p/=o)+s[f].frame.x/o,v+s[f].frame.y/o,m,g);this.chars[l]={xOffset:y,yOffset:_,xAdvance:b,kerning:{},texture:new kp(s[f].baseTexture,x),page:f}}for(a=0;a<t.kerning.length;a++){var T=t.kerning[a],E=T.first,w=T.second,S=T.amount;E/=o,w/=o,S/=o,this.chars[w]&&(this.chars[w].kerning[E]=S)}}return t.prototype.destroy=function(){for(var t in this.chars)this.chars[t].texture.destroy(),this.chars[t].texture=null;for(var t in this.pageTextures)this._ownsTextures&&this.pageTextures[t].destroy(!0),this.pageTextures[t]=null;this.chars=null,this.pageTextures=null},t.install=function(e,n,r){var i;if(e instanceof g_)i=e;else{var o=T_(e);if(!o)throw new Error("Unrecognized data format for font.");i=o.parse(e)}n instanceof kp&&(n=[n]);var s=new t(i,n,r);return t.available[s.font]=s,s},t.uninstall=function(e){var n=t.available[e];if(!n)throw new Error("No font found named '"+e+"'");
2n.destroy(),delete t.available[e]},t.from=function(e,n,r){if(!e)throw new Error("[BitmapFont] Property `name` is required.");var i=Object.assign({},t.defaultOptions,r),o=i.chars,s=i.padding,a=i.resolution,u=i.textureWidth,l=i.textureHeight,c=function(t){"string"==typeof t&&(t=[t]);for(var e=[],n=0,r=t.length;n<r;n++){var i=t[n];if(Array.isArray(i)){if(2!==i.length)throw new Error("[BitmapFont]: Invalid character range length, expecting 2 got "+i.length+".");var o=i[0].charCodeAt(0),s=i[1].charCodeAt(0);if(s<o)throw new Error("[BitmapFont]: Invalid character range.");for(var a=o,u=s;a<=u;a++)e.push(String.fromCharCode(a))}else e.push.apply(e,i.split(""))}if(0===e.length)throw new Error("[BitmapFont]: Empty set when resolving characters.");return e}(o),h=n instanceof Dy?n:new Dy(n),f=u,d=new g_;d.info[0]={face:h.fontFamily,size:h.fontSize},d.common[0]={lineHeight:h.fontSize};for(var p,v,m,g=0,y=0,_=0,b=[],x=0;x<c.length;x++){p||((p=document.createElement("canvas")).width=u,p.height=l,v=p.getContext("2d"),m=new _p(p,{resolution:a}),b.push(new kp(m)),d.page.push({id:b.length-1,file:""}));var T=Fy.measureText(c[x],h,!1,p),E=T.width,w=Math.ceil(T.height),S=Math.ceil(("italic"===h.fontStyle?2:1)*E);if(y>=l-w*a){if(0===y)throw new Error("[BitmapFont] textureHeight "+l+"px is too small for "+h.fontSize+"px fonts");--x,p=null,v=null,m=null,y=0,g=0,_=0}else if(_=Math.max(w+T.fontProperties.descent,_),S*a+g>=f)--x,y+=_*a,y=Math.ceil(y),g=0,_=0;else{w_(p,v,T,g,y,a,h);var A=T.text.charCodeAt(0);d.char.push({id:A,page:b.length-1,x:g/a,y:y/a,width:S,height:w,xoffset:0,yoffset:0,xadvance:Math.ceil(E-(h.dropShadow?h.dropShadowDistance:0)-(h.stroke?h.strokeThickness:0))}),g+=(S+2*s)*a,g=Math.ceil(g)}}x=0;for(var O=c.length;x<O;x++)for(var R=c[x],P=0;P<O;P++){var C=c[P],I=v.measureText(R).width,M=v.measureText(C).width,D=v.measureText(R+C).width-(I+M);D&&d.kerning.push({first:R.charCodeAt(0),second:C.charCodeAt(0),amount:D})}var L=new t(d,b,!0);return void 0!==t.available[e]&&t.uninstall(e),t.available[e]=L,L},t.ALPHA=[["a","z"],["A","Z"]," "],t.NUMERIC=[["0","9"]],t.ALPHANUMERIC=[["a","z"],["A","Z"],["0","9"]," "],t.ASCII=[[" ","~"]],t.defaultOptions={resolution:1,textureWidth:512,textureHeight:512,padding:4,chars:t.ALPHANUMERIC},t.available={},t}(),A_=[],O_=[],R_=(function(t){function e(n,r){void 0===r&&(r={});var i=t.call(this)||this;i._tint=16777215;var o=Object.assign({},e.styleDefaults,r),s=o.align,a=o.tint,u=o.maxWidth,l=o.letterSpacing,c=o.fontName,h=o.fontSize;if(!S_.available[c])throw new Error('Missing BitmapFont "'+c+'"');return i._activePagesMeshData=[],i._textWidth=0,i._textHeight=0,i._align=s,i._tint=a,i._fontName=c,i._fontSize=h||S_.available[c].size,i._text=n,i._maxWidth=u,i._maxLineHeight=0,i._letterSpacing=l,i._anchor=new Ld((function(){i.dirty=!0}),i,0,0),i._roundPixels=If.ROUND_PIXELS,i.dirty=!0,i._textureCache={},i}(function(t,e){function n(){this.constructor=t}m_(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(e,t),e.prototype.updateText=function(){for(var t,e=S_.available[this._fontName],n=this._fontSize/e.size,r=new Dd,i=[],o=[],s=[],a=this._text.replace(/(?:\r\n|\r)/g,"\n")||" ",u=a.length,l=this._maxWidth*e.size/this._fontSize,c=null,h=0,f=0,d=0,p=-1,v=0,m=0,g=0,y=0,_=0;_<u;_++){var b=a.charCodeAt(_),x=a.charAt(_);if(/(?:\s)/.test(x)&&(p=_,v=h,y++),"\r"!==x&&"\n"!==x){var T=e.chars[b];if(T){c&&T.kerning[c]&&(r.x+=T.kerning[c]);var E=O_.pop()||{texture:kp.EMPTY,line:0,charCode:0,prevSpaces:0,position:new Dd};E.texture=T.texture,E.line=d,E.charCode=b,E.position.x=r.x+T.xOffset+this._letterSpacing/2,E.position.y=r.y+T.yOffset,E.prevSpaces=y,i.push(E),r.x+=T.xAdvance+this._letterSpacing,h=r.x,g=Math.max(g,T.yOffset+T.texture.height),c=b,-1!==p&&l>0&&r.x>l&&(sd(i,1+p-++m,1+_-p),_=p,p=-1,o.push(v),s.push(i.length>0?i[i.length-1].prevSpaces:0),f=Math.max(f,v),d++,r.x=0,r.y+=e.lineHeight,c=null,y=0)}}else o.push(h),s.push(-1),f=Math.max(f,h),++d,++m,r.x=0,r.y+=e.lineHeight,c=null,y=0}var w=a.charAt(a.length-1);"\r"!==w&&"\n"!==w&&(/(?:\s)/.test(w)&&(h=v),o.push(h),f=Math.max(f,h),s.push(-1));var S=[];for(_=0;_<=d;_++){var A=0;"right"===this._align?A=f-o[_]:"center"===this._align?A=(f-o[_])/2:"justify"===this._align&&(A=s[_]<0?0:(f-o[_])/s[_]),S.push(A)}var O=i.length,R={},P=[],C=this._activePagesMeshData;for(_=0;_<C.length;_++)A_.push(C[_]);for(_=0;_<O;_++){var I=(G=i[_].texture).baseTexture.uid;
2if(!R[I]){if(!($=A_.pop())){var M=new v_,D=new p_(kp.EMPTY);$={index:0,indexCount:0,vertexCount:0,uvsCount:0,total:0,mesh:new d_(M,D),vertices:null,uvs:null,indices:null}}$.index=0,$.indexCount=0,$.vertexCount=0,$.uvsCount=0,$.total=0;var L=this._textureCache;L[I]=L[I]||new kp(G.baseTexture),$.mesh.texture=L[I],$.mesh.tint=this._tint,P.push($),R[I]=$}R[I].total++}for(_=0;_<C.length;_++)-1===P.indexOf(C[_])&&this.removeChild(C[_].mesh);for(_=0;_<P.length;_++)P[_].mesh.parent!==this&&this.addChild(P[_].mesh);for(var _ in this._activePagesMeshData=P,R){var N=($=R[_]).total;if(!((null===(t=$.indices)||void 0===t?void 0:t.length)>6*N)||$.vertices.length<2*d_.BATCHABLE_SIZE)$.vertices=new Float32Array(8*N),$.uvs=new Float32Array(8*N),$.indices=new Uint16Array(6*N);else for(var k=$.total,F=$.vertices,B=4*k*2;B<F.length;B++)F[B]=0;$.mesh.size=6*N}for(_=0;_<O;_++){var U=(x=i[_]).position.x+S[x.line]*("justify"===this._align?x.prevSpaces:1);this._roundPixels&&(U=Math.round(U));var G,X=U*n,j=x.position.y*n,H=R[(G=x.texture).baseTexture.uid],z=G.frame,Y=G._uvs,V=H.index++;H.indices[6*V+0]=0+4*V,H.indices[6*V+1]=1+4*V,H.indices[6*V+2]=2+4*V,H.indices[6*V+3]=0+4*V,H.indices[6*V+4]=2+4*V,H.indices[6*V+5]=3+4*V,H.vertices[8*V+0]=X,H.vertices[8*V+1]=j,H.vertices[8*V+2]=X+z.width*n,H.vertices[8*V+3]=j,H.vertices[8*V+4]=X+z.width*n,H.vertices[8*V+5]=j+z.height*n,H.vertices[8*V+6]=X,H.vertices[8*V+7]=j+z.height*n,H.uvs[8*V+0]=Y.x0,H.uvs[8*V+1]=Y.y0,H.uvs[8*V+2]=Y.x1,H.uvs[8*V+3]=Y.y1,H.uvs[8*V+4]=Y.x2,H.uvs[8*V+5]=Y.y2,H.uvs[8*V+6]=Y.x3,H.uvs[8*V+7]=Y.y3}for(var _ in this._textWidth=f*n,this._textHeight=(r.y+e.lineHeight)*n,R){var $=R[_];if(0!==this.anchor.x||0!==this.anchor.y)for(var W=0,q=this._textWidth*this.anchor.x,Z=this._textHeight*this.anchor.y,K=0;K<$.total;K++)$.vertices[W++]-=q,$.vertices[W++]-=Z,$.vertices[W++]-=q,$.vertices[W++]-=Z,$.vertices[W++]-=q,$.vertices[W++]-=Z,$.vertices[W++]-=q,$.vertices[W++]-=Z;this._maxLineHeight=g*n;var J=$.mesh.geometry.getBuffer("aVertexPosition"),Q=$.mesh.geometry.getBuffer("aTextureCoord"),tt=$.mesh.geometry.getIndex();J.data=$.vertices,Q.data=$.uvs,tt.data=$.indices,J.update(),Q.update(),tt.update()}for(_=0;_<i.length;_++)O_.push(i[_])},e.prototype.updateTransform=function(){this.validate(),this.containerUpdateTransform()},e.prototype.getLocalBounds=function(){return this.validate(),t.prototype.getLocalBounds.call(this)},e.prototype.validate=function(){this.dirty&&(this.updateText(),this.dirty=!1)},Object.defineProperty(e.prototype,"tint",{get:function(){return this._tint},set:function(t){if(this._tint!==t){this._tint=t;for(var e=0;e<this._activePagesMeshData.length;e++)this._activePagesMeshData[e].mesh.tint=t}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return this._align},set:function(t){this._align!==t&&(this._align=t,this.dirty=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fontName",{get:function(){return this._fontName},set:function(t){if(!S_.available[t])throw new Error('Missing BitmapFont "'+t+'"');this._fontName!==t&&(this._fontName=t,this.dirty=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fontSize",{get:function(){return this._fontSize},set:function(t){this._fontSize!==t&&(this._fontSize=t,this.dirty=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"anchor",{get:function(){return this._anchor},set:function(t){"number"==typeof t?this._anchor.set(t):this._anchor.copyFrom(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this._text},set:function(t){t=String(null==t?"":t),this._text!==t&&(this._text=t,this.dirty=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxWidth",{get:function(){return this._maxWidth},set:function(t){this._maxWidth!==t&&(this._maxWidth=t,this.dirty=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxLineHeight",{get:function(){return this.validate(),this._maxLineHeight},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textWidth",{get:function(){return this.validate(),this._textWidth}
2,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"letterSpacing",{get:function(){return this._letterSpacing},set:function(t){this._letterSpacing!==t&&(this._letterSpacing=t,this.dirty=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"roundPixels",{get:function(){return this._roundPixels},set:function(t){t!==this._roundPixels&&(this._roundPixels=t,this.dirty=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textHeight",{get:function(){return this.validate(),this._textHeight},enumerable:!1,configurable:!0}),e.prototype.destroy=function(e){var n=this._textureCache;for(var r in n){n[r].destroy(),delete n[r]}this._textureCache=null,t.prototype.destroy.call(this,e)},e.styleDefaults={align:"left",tint:16777215,maxWidth:0,letterSpacing:0}}(Kd),function(){function t(){}return t.add=function(){tg.setExtensionXhrType("fnt",tg.XHR_RESPONSE_TYPE.TEXT)},t.use=function(e,n){var r=T_(e.data);if(r)for(var i=t.getBaseUrl(this,e),o=r.parse(e.data),s={},a=function(t){s[t.metadata.pageFile]=t.texture,Object.keys(s).length===o.page.length&&(e.bitmapFont=S_.install(o,s,!0),n())},u=0;u<o.page.length;++u){var l=o.page[u].file,c=i+l,h=!1;for(var f in this.resources){var d=this.resources[f];if(d.url===c){d.metadata.pageFile=l,d.texture?a(d):d.onAfterMiddleware.add(a),h=!0;break}}if(!h){var p={crossOrigin:e.crossOrigin,loadType:tg.LOAD_TYPE.IMAGE,metadata:Object.assign({pageFile:l},e.metadata.imageMetadata),parentResource:e};this.add(c,p,a)}}else n()},t.getBaseUrl=function(e,n){var r=n.isDataUrl?"":t.dirname(n.url);return n.isDataUrl&&("."===r&&(r=""),e.baseUrl&&r&&"/"===e.baseUrl.charAt(e.baseUrl.length-1)&&(r+="/")),(r=r.replace(e.baseUrl,""))&&"/"!==r.charAt(r.length-1)&&(r+="/"),r},t.dirname=function(t){var e=t.replace(/\\/g,"/").replace(/\/$/,"").replace(/\/[^\/]*$/,"");return e===t?".":""===e?"/":e},t}()),P_=function(t,e){return(P_=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};var C_=function(t){function e(e){void 0===e&&(e=1);var n=t.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n    gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0
2)).xy, 0.0, 1.0);\n    vTextureCoord = aTextureCoord;\n}","varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform float uAlpha;\n\nvoid main(void)\n{\n   gl_FragColor = texture2D(uSampler, vTextureCoord) * uAlpha;\n}\n",{uAlpha:1})||this;return n.alpha=e,n}return function(t,e){function n(){this.constructor=t}P_(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),Object.defineProperty(e.prototype,"alpha",{get:function(){return this.uniforms.uAlpha},set:function(t){this.uniforms.uAlpha=t},enumerable:!1,configurable:!0}),e}(Uv),I_=function(t,e){return(I_=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function M_(t,e){function n(){this.constructor=t}I_(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var D_,L_,N_,k_,F_,B_,U_,G_,X_,j_,H_,z_,Y_,V_,$_,W_,q_,Z_,K_={5:[.153388,.221461,.250301],7:[.071303,.131514,.189879,.214607],9:[.028532,.067234,.124009,.179044,.20236],11:[.0093,.028002,.065984,.121703,.175713,.198596],13:[.002406,.009255,.027867,.065666,.121117,.174868,.197641],15:[489e-6,.002403,.009246,.02784,.065602,.120999,.174697,.197448]},J_=["varying vec2 vBlurTexCoords[%size%];","uniform sampler2D uSampler;","void main(void)","{","    gl_FragColor = vec4(0.0);","    %blur%","}"].join("\n");!function(t){t[t.WEBGL_LEGACY=0]="WEBGL_LEGACY",t[t.WEBGL=1]="WEBGL",t[t.WEBGL2=2]="WEBGL2"}(D_||(D_={})),function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.WEBGL=1]="WEBGL",t[t.CANVAS=2]="CANVAS"}(L_||(L_={})),function(t){t[t.COLOR=16384]="COLOR",t[t.DEPTH=256]="DEPTH",t[t.STENCIL=1024]="STENCIL"}(N_||(N_={})),function(t){t[t.NORMAL=0]="NORMAL",t[t.ADD=1]="ADD",t[t.MULTIPLY=2]="MULTIPLY",t[t.SCREEN=3]="SCREEN",t[t.OVERLAY=4]="OVERLAY",t[t.DARKEN=5]="DARKEN",t[t.LIGHTEN=6]="LIGHTEN",t[t.COLOR_DODGE=7]="COLOR_DODGE",t[t.COLOR_BURN=8]="COLOR_BURN",t[t.HARD_LIGHT=9]="HARD_LIGHT",t[t.SOFT_LIGHT=10]="SOFT_LIGHT",t[t.DIFFERENCE=11]="DIFFERENCE",t[t.EXCLUSION=12]="EXCLUSION",t[t.HUE=13]="HUE",t[t.SATURATION=14]="SATURATION",t[t.COLOR=15]="COLOR",t[t.LUMINOSITY=16]="LUMINOSITY",t[t.NORMAL_NPM=17]="NORMAL_NPM",t[t.ADD_NPM=18]="ADD_NPM",t[t.SCREEN_NPM=19]="SCREEN_NPM",t[t.NONE=20]="NONE",t[t.SRC_OVER=0]="SRC_OVER",t[t.SRC_IN=21]="SRC_IN",t[t.SRC_OUT=22]="SRC_OUT",t[t.SRC_ATOP=23]="SRC_ATOP",t[t.DST_OVER=24]="DST_OVER",t[t.DST_IN=25]="DST_IN",t[t.DST_OUT=26]="DST_OUT",t[t.DST_ATOP=27]="DST_ATOP",t[t.ERASE=26]="ERASE",t[t.SUBTRACT=28]="SUBTRACT",t[t.XOR=29]="XOR"}(k_||(k_={})),function(t){t[t.POINTS=0]="POINTS",t[t.LINES=1]="LINES",t[t.LINE_LOOP=2]="LINE_LOOP",t[t.LINE_STRIP=3]="LINE_STRIP",t[t.TRIANGLES=4]="TRIANGLES",t[t.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",t[t.TRIANGLE_FAN=6]="TRIANGLE_FAN"}(F_||(F_={})),function(t){t[t.RGBA=6408]="RGBA",t[t.RGB=6407]="RGB",t[t.ALPHA=6406]="ALPHA",t[t.LUMINANCE=6409]="LUMINANCE",t[t.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",t[t.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",t[t.DEPTH_STENCIL=34041]="DEPTH_STENCIL"}(B_||(B_={})),function(t){t[t.TEXTURE_2D=3553]="TEXTURE_2D",t[t.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",t[t.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY",t[t.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",t[t.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",t[t.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",t[t.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z"}(U_||(U_={})),function(t){t[t.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",t[t.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",t[t.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",t[t.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",t[t.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",t[t.FLOAT=5126]="FLOAT",t[t.HALF_FLOAT=36193]="HALF_FLOAT"}(G_||(G_={})),function(t){t[t.FLOAT=0]="FLOAT",t[t.INT=1]="INT",t[t.UINT=2]="UINT"}(X_||(X_={})),function(t){t[t.NEAREST=0]="NEAREST",t[t.LINEAR=1]="LINEAR"}(j_||(j_={})),function(t){t[t.CLAMP=33071]="CLAMP",t[t.REPEAT=10497]="REPEAT",t[t.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT"}(H_||(H_={})),function(t){t[t.OFF=0]="OFF",t[t.POW2=1]="POW2",t[t.ON=2]="ON",t[t.ON_MANUAL=3]="ON_MANUAL"}(z_||(z_={})),function(t){t[t.NPM=0]="NPM",t[t.UNPACK=1]="UNPACK",t[t.PMA=2]="PMA",t[t.NO_PREMULTIPLIED_ALPHA=0]="NO_PREMULTIPLIED_ALPHA",t[t.PREMULTIPLY_ON_UPLOAD=1]="PREMULTIPLY_ON_UPLOAD",t[t.PREMULTIPLY_ALPHA=2]="PREMULTIPLY_ALPHA"}(Y_||(Y_={})),function(t){t[t.NO=0]="NO",t[t.YES=1]="YES",t[t.AUTO=2]="AUTO",t[t.BLEND=0]="BLEND",t[t.CLEAR=1]="CLEAR",t[t.BLIT=2]="BLIT"}(V_||(V_={})),function(t){t[t.AUTO=0]="AUTO",t[t.MANUAL=1]="MANUAL"}($_||($_={})),function(t){t.LOW="lowp",t.MEDIUM="mediump",t.HIGH="highp"}(W_||(W_={})),function(t){t[t.NONE=0]="NONE",t[t.SCISSOR=1]="SCISSOR",t[t.STENCIL=2]="STENCIL",t[t.SPRITE=3]="SPRITE"}(q_||(q_={})),function(t){t[t.NONE=0]="NONE",t[t.LOW=2]="LOW",t[t.MEDIUM=4]="MEDIUM",t[t.HIGH=8]="HIGH"}(Z_||(Z_={}));var Q_=function(t){function e(e,n,r,i,o){void 0===n&&(n=8),void 0===r&&(r=4),void 0===i&&(i=If.FILTER_RESOLUTION),void 0===o&&(o=5);var s=this,a=function(t,e){var n,r=Math.ceil(t/2),i="\n    attribute vec2 aVertexPosition;\n\n    uniform mat3 projectionMatrix;\n\n    uniform float strength;\n\n    varying vec2 vBlurTexCoords[%size%];\n\n    uniform vec4 inputSize;\n    uniform vec4 outputFrame;\n\n    vec4 filterVertexPosition( void )\n    {\n        vec2 position = aVertexPosition * max(outputFrame.zw, vec2(0.)) + outputFrame.xy;
2\n\n        return vec4((projectionMatrix * vec3(position, 1.0)).xy, 0.0, 1.0);\n    }\n\n    vec2 filterTextureCoord( void )\n    {\n        return aVertexPosition * (outputFrame.zw * inputSize.zw);\n    }\n\n    void main(void)\n    {\n        gl_Position = filterVertexPosition();\n\n        vec2 textureCoord = filterTextureCoord();\n        %blur%\n    }",o="";n=e?"vBlurTexCoords[%index%] =  textureCoord + vec2(%sampleIndex% * strength, 0.0);":"vBlurTexCoords[%index%] =  textureCoord + vec2(0.0, %sampleIndex% * strength);";for(var s=0;s<t;s++){var a=n.replace("%index%",s.toString());o+=a=a.replace("%sampleIndex%",s-(r-1)+".0"),o+="\n"}return(i=i.replace("%blur%",o)).replace("%size%",t.toString())}(o,e),u=function(t){for(var e,n=K_[t],r=n.length,i=J_,o="",s=0;s<t;s++){var a="gl_FragColor += texture2D(uSampler, vBlurTexCoords[%index%]) * %value%;".replace("%index%",s.toString());e=s,s>=r&&(e=t-s-1),o+=a=a.replace("%value%",n[e].toString()),o+="\n"}return(i=i.replace("%blur%",o)).replace("%size%",t.toString())}(o);return(s=t.call(this,a,u)||this).horizontal=e,s.resolution=i,s._quality=0,s.quality=r,s.blur=n,s}return M_(e,t),e.prototype.apply=function(t,e,n,r){if(n?this.horizontal?this.uniforms.strength=1/n.width*(n.width/e.width):this.uniforms.strength=1/n.height*(n.height/e.height):this.horizontal?this.uniforms.strength=1/t.renderer.width*(t.renderer.width/e.width):this.uniforms.strength=1/t.renderer.height*(t.renderer.height/e.height),this.uniforms.strength*=this.strength,this.uniforms.strength/=this.passes,1===this.passes)t.applyFilter(this,e,n,r);else{var i=t.getFilterTexture(),o=t.renderer,s=e,a=i;this.state.blend=!1,t.applyFilter(this,s,a,V_.CLEAR);for(var u=1;u<this.passes-1;u++){t.bindAndClear(s,V_.BLIT),this.uniforms.uSampler=a;var l=a;a=s,s=l,o.shader.bind(this),o.geometry.draw(5)}this.state.blend=!0,t.applyFilter(this,a,n,r),t.returnFilterTexture(i)}},Object.defineProperty(e.prototype,"blur",{get:function(){return this.strength},set:function(t){this.padding=1+2*Math.abs(t),this.strength=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"quality",{get:function(){return this._quality},set:function(t){this._quality=t,this.passes=t},enumerable:!1,configurable:!0}),e}(Uv),tb=function(t){function e(e,n,r,i){void 0===e&&(e=8),void 0===n&&(n=4),void 0===r&&(r=If.FILTER_RESOLUTION),void 0===i&&(i=5);var o=t.call(this)||this;return o.blurXFilter=new Q_(!0,e,n,r,i),o.blurYFilter=new Q_(!1,e,n,r,i),o.resolution=r,o.quality=n,o.blur=e,o.repeatEdgePixels=!1,o}return M_(e,t),e.prototype.apply=function(t,e,n,r){var i=Math.abs(this.blurXFilter.strength),o=Math.abs(this.blurYFilter.strength);if(i&&o){var s=t.getFilterTexture();this.blurXFilter.apply(t,e,s,V_.CLEAR),this.blurYFilter.apply(t,s,n,r),t.returnFilterTexture(s)}else o?this.blurYFilter.apply(t,e,n,r):this.blurXFilter.apply(t,e,n,r)},e.prototype.updatePadding=function(){this._repeatEdgePixels?this.padding=0:this.padding=2*Math.max(Math.abs(this.blurXFilter.strength),Math.abs(this.blurYFilter.strength))},Object.defineProperty(e.prototype,"blur",{get:function(){return this.blurXFilter.blur},set:function(t){this.blurXFilter.blur=this.blurYFilter.blur=t,this.updatePadding()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"quality",{get:function(){return this.blurXFilter.quality},set:function(t){this.blurXFilter.quality=this.blurYFilter.quality=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"blurX",{get:function(){return this.blurXFilter.blur},set:function(t){this.blurXFilter.blur=t,this.updatePadding()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"blurY",{get:function(){return this.blurYFilter.blur},set:function(t){this.blurYFilter.blur=t,this.updatePadding()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"blendMode",{get:function(){return this.blurYFilter.blendMode},set:function(t){this.blurYFilter.blendMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"repeatEdgePixels",{get:function(){return this._repeatEdgePixels},set:function(t){this._repeatEdgePixels=t,this.updatePadding()}
2,enumerable:!1,configurable:!0}),e}(Uv),eb=function(t,e){return(eb=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};var nb=function(t){function e(){var e=this,n={m:new Float32Array([1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0]),uAlpha:1};return(e=t.call(this,um,"varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform float m[20];\nuniform float uAlpha;\n\nvoid main(void)\n{\n    vec4 c = texture2D(uSampler, vTextureCoord);\n\n    if (uAlpha == 0.0) {\n        gl_FragColor = c;\n        return;\n    }\n\n    // Un-premultiply alpha before applying the color matrix. See issue #3539.\n    if (c.a > 0.0) {\n      c.rgb /= c.a;\n    }\n\n    vec4 result;\n\n    result.r = (m[0] * c.r);\n        result.r += (m[1] * c.g);\n        result.r += (m[2] * c.b);\n        result.r += (m[3] * c.a);\n        result.r += m[4];\n\n    result.g = (m[5] * c.r);\n        result.g += (m[6] * c.g);\n        result.g += (m[7] * c.b);\n        result.g += (m[8] * c.a);\n        result.g += m[9];\n\n    result.b = (m[10] * c.r);\n       result.b += (m[11] * c.g);\n       result.b += (m[12] * c.b);\n       result.b += (m[13] * c.a);\n       result.b += m[14];\n\n    result.a = (m[15] * c.r);\n       result.a += (m[16] * c.g);\n       result.a += (m[17] * c.b);\n       result.a += (m[18] * c.a);\n       result.a += m[19];\n\n    vec3 rgb = mix(c.rgb, result.rgb, uAlpha);\n\n    // Premultiply alpha again.\n    rgb *= result.a;\n\n    gl_FragColor = vec4(rgb, result.a);\n}\n",n)||this).alpha=1,e}return function(t,e){function n(){this.constructor=t}eb(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),e.prototype._loadMatrix=function(t,e){void 0===e&&(e=!1);var n=t;e&&(this._multiply(n,this.uniforms.m,t),n=this._colorMatrix(n)),this.uniforms.m=n},e.prototype._multiply=function(t,e,n){return t[0]=e[0]*n[0]+e[1]*n[5]+e[2]*n[10]+e[3]*n[15],t[1]=e[0]*n[1]+e[1]*n[6]+e[2]*n[11]+e[3]*n[16],t[2]=e[0]*n[2]+e[1]*n[7]+e[2]*n[12]+e[3]*n[17],t[3]=e[0]*n[3]+e[1]*n[8]+e[2]*n[13]+e[3]*n[18],t[4]=e[0]*n[4]+e[1]*n[9]+e[2]*n[14]+e[3]*n[19]+e[4],t[5]=e[5]*n[0]+e[6]*n[5]+e[7]*n[10]+e[8]*n[15],t[6]=e[5]*n[1]+e[6]*n[6]+e[7]*n[11]+e[8]*n[16],t[7]=e[5]*n[2]+e[6]*n[7]+e[7]*n[12]+e[8]*n[17],t[8]=e[5]*n[3]+e[6]*n[8]+e[7]*n[13]+e[8]*n[18],t[9]=e[5]*n[4]+e[6]*n[9]+e[7]*n[14]+e[8]*n[19]+e[9],t[10]=e[10]*n[0]+e[11]*n[5]+e[12]*n[10]+e[13]*n[15],t[11]=e[10]*n[1]+e[11]*n[6]+e[12]*n[11]+e[13]*n[16],t[12]=e[10]*n[2]+e[11]*n[7]+e[12]*n[12]+e[13]*n[17],t[13]=e[10]*n[3]+e[11]*n[8]+e[12]*n[13]+e[13]*n[18],t[14]=e[10]*n[4]+e[11]*n[9]+e[12]*n[14]+e[13]*n[19]+e[14],t[15]=e[15]*n[0]+e[16]*n[5]+e[17]*n[10]+e[18]*n[15],t[16]=e[15]*n[1]+e[16]*n[6]+e[17]*n[11]+e[18]*n[16],t[17]=e[15]*n[2]+e[16]*n[7]+e[17]*n[12]+e[18]*n[17],t[18]=e[15]*n[3]+e[16]*n[8]+e[17]*n[13]+e[18]*n[18],t[19]=e[15]*n[4]+e[16]*n[9]+e[17]*n[14]+e[18]*n[19]+e[19],t},e.prototype._colorMatrix=function(t){var e=new Float32Array(t);return e[4]/=255,e[9]/=255,e[14]/=255,e[19]/=255,e},e.prototype.brightness=function(t,e){var n=[t,0,0,0,0,0,t,0,0,0,0,0,t,0,0,0,0,0,1,0];this._loadMatrix(n,e)},e.prototype.greyscale=function(t,e){var n=[t,t,t,0,0,t,t,t,0,0,t,t,t,0,0,0,0,0,1,0];this._loadMatrix(n,e)},e.prototype.blackAndWhite=function(t){this._loadMatrix([.3,.6,.1,0,0,.3,.6,.1,0,0,.3,.6,.1,0,0,0,0,0,1,0],t)},e.prototype.hue=function(t,e){t=(t||0)/180*Math.PI;var n=Math.cos(t),r=Math.sin(t),i=1/3,o=(0,Math.sqrt)(i),s=[n+(1-n)*i,i*(1-n)-o*r,i*(1-n)+o*r,0,0,i*(1-n)+o*r,n+i*(1-n),i*(1-n)-o*r,0,0,i*(1-n)-o*r,i*(1-n)+o*r,n+i*(1-n),0,0,0,0,0,1,0];this._loadMatrix(s,e)},e.prototype.contrast=function(t,e){var n=(t||0)+1,r=-.5*(n-1),i=[n,0,0,0,r,0,n,0,0,r,0,0,n,0,r,0,0,0,1,0];this._loadMatrix(i,e)},e.prototype.saturate=function(t,e){void 0===t&&(t=0);var n=2*t/3+1,r=-.5*(n-1),i=[n,r,r,0,0,r,n,r,0,0,r,r,n,0,0,0,0,0,1,0];this._loadMatrix(i,e)},e.prototype.desaturate=function(){this.saturate(-1)},e.prototype.negative=function(t){this._loadMatrix([-1,0,0,1,0,0,-1,0,1,0,0,0,-1,1,0,0,0,0,1,0],t)},e.prototype.sepia=function(t){this._loadMatrix([.393,.7689999,.18899999,0,0,.349,.6859999,.16799999,0,0,.272,.5339999,.13099999,0,0,0,0,0,1,0],t)},e.prototype.technicolor=function(t){this._loadMatrix([1.9125277891456083,-.8545344976951645,-.091555084827
255585,0,11.793603434377337,-.3087833385928097,1.7658908555458428,-.10601743074722245,0,-70.35205161461398,-.231103377548616,-.7501899197440212,1.847597816108189,0,30.950940869491138,0,0,0,1,0],t)},e.prototype.polaroid=function(t){this._loadMatrix([1.438,-.062,-.062,0,0,-.122,1.378,-.122,0,0,-.016,-.016,1.483,0,0,0,0,0,1,0],t)},e.prototype.toBGR=function(t){this._loadMatrix([0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0],t)},e.prototype.kodachrome=function(t){this._loadMatrix([1.1285582396593525,-.3967382283601348,-.03992559172921793,0,63.72958762196502,-.16404339962244616,1.0835251566291304,-.05498805115633132,0,24.732407896706203,-.16786010706155763,-.5603416277695248,1.6014850761964943,0,35.62982807460946,0,0,0,1,0],t)},e.prototype.browni=function(t){this._loadMatrix([.5997023498159715,.34553243048391263,-.2708298674538042,0,47.43192855600873,-.037703249837783157,.8609577587992641,.15059552388459913,0,-36.96841498319127,.24113635128153335,-.07441037908422492,.44972182064877153,0,-7.562075277591283,0,0,0,1,0],t)},e.prototype.vintage=function(t){this._loadMatrix([.6279345635605994,.3202183420819367,-.03965408211312453,0,9.651285835294123,.02578397704808868,.6441188644374771,.03259127616149294,0,7.462829176470591,.0466055556782719,-.0851232987247891,.5241648018700465,0,5.159190588235296,0,0,0,1,0],t)},e.prototype.colorTone=function(t,e,n,r,i){var o=((n=n||16770432)>>16&255)/255,s=(n>>8&255)/255,a=(255&n)/255,u=((r=r||3375104)>>16&255)/255,l=(r>>8&255)/255,c=(255&r)/255,h=[.3,.59,.11,0,0,o,s,a,t=t||.2,0,u,l,c,e=e||.15,0,o-u,s-l,a-c,0,0];this._loadMatrix(h,i)},e.prototype.night=function(t,e){var n=[-2*(t=t||.1),-t,0,0,0,-t,0,t,0,0,0,t,2*t,0,0,0,0,0,1,0];this._loadMatrix(n,e)},e.prototype.predator=function(t,e){var n=[11.224130630493164*t,-4.794486999511719*t,-2.8746118545532227*t,0*t,.40342438220977783*t,-3.6330697536468506*t,9.193157196044922*t,-2.951810836791992*t,0*t,-1.316135048866272*t,-3.2184197902679443*t,-4.2375030517578125*t,7.476448059082031*t,0*t,.8044459223747253*t,0,0,0,1,0];this._loadMatrix(n,e)},e.prototype.lsd=function(t){this._loadMatrix([2,-.4,.5,0,0,-.5,2,-.4,0,0,-.4,-.5,3,0,0,0,0,0,1,0],t)},e.prototype.reset=function(){this._loadMatrix([1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],!1)},Object.defineProperty(e.prototype,"matrix",{get:function(){return this.uniforms.m},set:function(t){this.uniforms.m=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"alpha",{get:function(){return this.uniforms.uAlpha},set:function(t){this.uniforms.uAlpha=t},enumerable:!1,configurable:!0}),e}(Uv);nb.prototype.grayscale=nb.prototype.greyscale;var rb=function(t,e){return(rb=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};var ib=function(t){function e(e,n){var r=this,i=new Nd;return e.renderable=!1,(r=t.call(this,"attribute vec2 aVertexPosition;\n\nuniform mat3 projectionMatrix;\nuniform mat3 filterMatrix;\n\nvarying vec2 vTextureCoord;\nvarying vec2 vFilterCoord;\n\nuniform vec4 inputSize;\nuniform vec4 outputFrame;\n\nvec4 filterVertexPosition( void )\n{\n    vec2 position = aVertexPosition * max(outputFrame.zw, vec2(0.)) + outputFrame.xy;\n\n    return vec4((projectionMatrix * vec3(position, 1.0)).xy, 0.0, 1.0);\n}\n\nvec2 filterTextureCoord( void )\n{\n    return aVertexPosition * (outputFrame.zw * inputSize.zw);\n}\n\nvoid main(void)\n{\n\tgl_Position = filterVertexPosition();\n\tvTextureCoord = filterTextureCoord();\n\tvFilterCoord = ( filterMatrix * vec3( vTextureCoord, 1.0)  ).xy;\n}\n","varying vec2 vFilterCoord;\nvarying vec2 vTextureCoord;\n\nuniform vec2 scale;\nuniform mat2 rotation;\nuniform sampler2D uSampler;\nuniform sampler2D mapSampler;\n\nuniform highp vec4 inputSize;\nuniform vec4 inputClamp;\n\nvoid main(void)\n{\n  vec4 map =  texture2D(mapSampler, vFilterCoord);\n\n  map -= 0.5;\n  map.xy = scale * inputSize.zw * (rotation * map.xy);\n\n  gl_FragColor = texture2D(uSampler, clamp(vec2(vTextureCoord.x + map.x, vTextureCoord.y + map.y), inputClamp.xy, inputClamp.zw));\n}\n",{mapSampler:e._texture,filterMatrix:i,scale:{x:1,y:1},rotation:new Float32Array([1,0,0,1])})||this).maskSprite=e,r.maskMatrix=i,null==n&&(n=20),r.scale=new Dd(n,n),r}return function(t,e){function n(){this.constructor=t}rb(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),e.prototype.apply=function(t,e,n,r){this.uniforms.filterMatrix=t.calculateSpriteMatrix(this.maskMatrix,this.maskSprite),this.uniforms.scale.x=this.scale.x,this.uniforms.scale.y=this.scale.y;var i=this.maskSprite.worldTransform,o=Math.sqrt(i.a*i.a+i.b*i.b),s=Math.sqrt(i.c*i.c+i.d*i.d);0!==o&&0!==s&&(this.uniforms.rotation[0]=i.a/o,this.uniforms.rotation[1]=i.b/o,this.uniforms.rotation[2]=i.c/s,this.uniforms.rotation[3]=i.d/s),t.applyFilter(this,e,n,r)},Object.defineProperty(e.prototype,"map",{get:function(){return this.uniforms.mapSampler},set:function(t){this.uniforms.mapSampler=t}
2,enumerable:!1,configurable:!0}),e}(Uv),ob=function(t,e){return(ob=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};var sb=function(t){function e(){return t.call(this,"\nattribute vec2 aVertexPosition;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 v_rgbNW;\nvarying vec2 v_rgbNE;\nvarying vec2 v_rgbSW;\nvarying vec2 v_rgbSE;\nvarying vec2 v_rgbM;\n\nvarying vec2 vFragCoord;\n\nuniform vec4 inputSize;\nuniform vec4 outputFrame;\n\nvec4 filterVertexPosition( void )\n{\n    vec2 position = aVertexPosition * max(outputFrame.zw, vec2(0.)) + outputFrame.xy;\n\n    return vec4((projectionMatrix * vec3(position, 1.0)).xy, 0.0, 1.0);\n}\n\nvoid texcoords(vec2 fragCoord, vec2 inverseVP,\n               out vec2 v_rgbNW, out vec2 v_rgbNE,\n               out vec2 v_rgbSW, out vec2 v_rgbSE,\n               out vec2 v_rgbM) {\n    v_rgbNW = (fragCoord + vec2(-1.0, -1.0)) * inverseVP;\n    v_rgbNE = (fragCoord + vec2(1.0, -1.0)) * inverseVP;\n    v_rgbSW = (fragCoord + vec2(-1.0, 1.0)) * inverseVP;\n    v_rgbSE = (fragCoord + vec2(1.0, 1.0)) * inverseVP;\n    v_rgbM = vec2(fragCoord * inverseVP);\n}\n\nvoid main(void) {\n\n   gl_Position = filterVertexPosition();\n\n   vFragCoord = aVertexPosition * outputFrame.zw;\n\n   texcoords(vFragCoord, inputSize.zw, v_rgbNW, v_rgbNE, v_rgbSW, v_rgbSE, v_rgbM);\n}\n",'varying vec2 v_rgbNW;\nvarying vec2 v_rgbNE;\nvarying vec2 v_rgbSW;\nvarying vec2 v_rgbSE;\nvarying vec2 v_rgbM;\n\nvarying vec2 vFragCoord;\nuniform sampler2D uSampler;\nuniform highp vec4 inputSize;\n\n\n/**\n Basic FXAA implementation based on the code on geeks3d.com with the\n modification that the texture2DLod stuff was removed since it\'s\n unsupported by WebGL.\n\n --\n\n From:\n https://github.com/mitsuhiko/webgl-meincraft\n\n Copyright (c) 2011 by Armin Ronacher.\n\n Some rights reserved.\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are\n met:\n\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials provided\n with the distribution.\n\n * The names of the contributors may not be used to endorse or\n promote products derived from this software without specific\n prior written permission.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\n\n#ifndef FXAA_REDUCE_MIN\n#define FXAA_REDUCE_MIN   (1.0/ 128.0)\n#endif\n#ifndef FXAA_REDUCE_MUL\n#define FXAA_REDUCE_MUL   (1.0 / 8.0)\n#endif\n#ifndef FXAA_SPAN_MAX\n#define FXAA_SPAN_MAX     8.0\n#endif\n\n//optimized version for mobile, where dependent\n//texture reads can be a bottleneck\nvec4 fxaa(sampler2D tex, vec2 fragCoord, vec2 inverseVP,\n          vec2 v_rgbNW, vec2 v_rgbNE,\n          vec2 v_rgbSW, vec2 v_rgbSE,\n          vec2 v_rgbM) {\n    vec4 color;\n    vec3 rgbNW = texture2D(tex, v_rgbNW).xyz;\n    vec3 rgbNE = texture2D(tex, v_rgbNE).xyz;\n    vec3 rgbSW = texture2D(tex, v_rgbSW).xyz;\n    vec3 rgbSE = texture2D(tex, v_rgbSE).xyz;\n    vec4 texColor = texture2D(tex, v_rgbM);\n    vec3 rgbM  = texColor.xyz;\n    vec3 luma = vec3(0.299, 0.587, 0.114);\n    float lumaNW = dot(rgbNW, luma);\n    float lumaNE = dot(rgbNE, luma);\n    float lumaSW = dot(rgbSW, luma);\n    float lumaSE = dot(rgbSE, luma);\n    float lumaM  = dot(rgbM,  luma);\n    float lumaMin = min(lumaM, min(min(lumaNW, lumaNE), min(lumaSW, lumaSE)));\n    float lumaMax = max(lumaM, max(max(lumaNW, lumaNE), max(lumaSW, lumaSE)));\n\n    mediump vec2 dir;\n    dir.x = -((lumaNW + lumaNE) - (lumaSW + lumaSE));\n    dir.y =  ((lumaNW + lumaSW) - (lumaNE + lumaSE));
2\n\n    float dirReduce = max((lumaNW + lumaNE + lumaSW + lumaSE) *\n                          (0.25 * FXAA_REDUCE_MUL), FXAA_REDUCE_MIN);\n\n    float rcpDirMin = 1.0 / (min(abs(dir.x), abs(dir.y)) + dirReduce);\n    dir = min(vec2(FXAA_SPAN_MAX, FXAA_SPAN_MAX),\n              max(vec2(-FXAA_SPAN_MAX, -FXAA_SPAN_MAX),\n                  dir * rcpDirMin)) * inverseVP;\n\n    vec3 rgbA = 0.5 * (\n                       texture2D(tex, fragCoord * inverseVP + dir * (1.0 / 3.0 - 0.5)).xyz +\n                       texture2D(tex, fragCoord * inverseVP + dir * (2.0 / 3.0 - 0.5)).xyz);\n    vec3 rgbB = rgbA * 0.5 + 0.25 * (\n                                     texture2D(tex, fragCoord * inverseVP + dir * -0.5).xyz +\n                                     texture2D(tex, fragCoord * inverseVP + dir * 0.5).xyz);\n\n    float lumaB = dot(rgbB, luma);\n    if ((lumaB < lumaMin) || (lumaB > lumaMax))\n        color = vec4(rgbA, texColor.a);\n    else\n        color = vec4(rgbB, texColor.a);\n    return color;\n}\n\nvoid main() {\n\n      vec4 color;\n\n      color = fxaa(uSampler, vFragCoord, inputSize.zw, v_rgbNW, v_rgbNE, v_rgbSW, v_rgbSE, v_rgbM);\n\n      gl_FragColor = color;\n}\n')||this}return function(t,e){function n(){this.constructor=t}ob(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),e}(Uv),ab=function(t,e){return(ab=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};var ub=function(t){function e(e,n){void 0===e&&(e=.5),void 0===n&&(n=Math.random());var r=t.call(this,um,"precision highp float;\n\nvarying vec2 vTextureCoord;\nvarying vec4 vColor;\n\nuniform float uNoise;\nuniform float uSeed;\nuniform sampler2D uSampler;\n\nfloat rand(vec2 co)\n{\n    return fract(sin(dot(co.xy, vec2(12.9898, 78.233))) * 43758.5453);\n}\n\nvoid main()\n{\n    vec4 color = texture2D(uSampler, vTextureCoord);\n    float randomValue = rand(gl_FragCoord.xy * uSeed);\n    float diff = (randomValue - 0.5) * uNoise;\n\n    // Un-premultiply alpha before applying the color matrix. See issue #3539.\n    if (color.a > 0.0) {\n        color.rgb /= color.a;\n    }\n\n    color.r += diff;\n    color.g += diff;\n    color.b += diff;\n\n    // Premultiply alpha again.\n    color.rgb *= color.a;\n\n    gl_FragColor = color;\n}\n",{uNoise:0,uSeed:0})||this;return r.noise=e,r.seed=n,r}return function(t,e){function n(){this.constructor=t}ab(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),Object.defineProperty(e.prototype,"noise",{get:function(){return this.uniforms.uNoise},set:function(t){this.uniforms.uNoise=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"seed",{get:function(){return this.uniforms.uSeed},set:function(t){this.uniforms.uSeed=t},enumerable:!1,configurable:!0}),e}(Uv),lb=new Nd;Wd.prototype._cacheAsBitmap=!1,Wd.prototype._cacheData=null,Wd.prototype._cacheAsBitmapResolution=null;var cb=function(){this.textureCacheId=null,this.originalRender=null,this.originalRenderCanvas=null,this.originalCalculateBounds=null,this.originalGetLocalBounds=null,this.originalUpdateTransform=null,this.originalDestroy=null,this.originalMask=null,this.originalFilterArea=null,this.originalContainsPoint=null,this.sprite=null};Object.defineProperties(Wd.prototype,{cacheAsBitmapResolution:{get:function(){return this._cacheAsBitmapResolution},set:function(t){t!==this._cacheAsBitmapResolution&&(this._cacheAsBitmapResolution=t,this.cacheAsBitmap&&(this.cacheAsBitmap=!1,this.cacheAsBitmap=!0))}},cacheAsBitmap:{get:function(){return this._cacheAsBitmap},set:function(t){var e;this._cacheAsBitmap!==t&&(this._cacheAsBitmap=t,t?(this._cacheData||(this._cacheData=new cb),(e=this._cacheData).originalRender=this.render,e.originalRenderCanvas=this.renderCanvas,e.originalUpdateTransform=this.updateTransform,e.originalCalculateBounds=this.calculateBounds,e.originalGetLocalBounds=this.getLocalBounds,e.originalDestroy=this.destroy,e.originalContainsPoint=this.containsPoint,e.originalMask=this._mask,e.originalFilterArea=this.filterArea,this.render=this._renderCached,this.renderCanvas=this._renderCachedCanvas,this.destroy=this._cacheAsBitmapDestroy):((e=this._cacheData).sprite&&this._destroyCachedDisplayObject(),this.render=e.originalRender,this.renderCanvas=e.originalRenderCanvas,this.calculateBounds=e.originalCalculateBounds,this.getLocalBounds=e.originalGetLocalBounds,this.destroy=e.originalDestroy,this.updateTransform=e.originalUpdateTransform,this.containsPoint=e.originalContainsPoint,this._mask=e.originalMask,this.filterArea=e.originalFilterArea))}}}),Wd.prototype._renderCached=function(t){!this.visible||this.worldAlpha<=0||!this.renderable||(this._initCachedDisplayObject(t),this._cacheData.sprite.transform._worldID=this.transform._worldID,this._cacheData.sprite.worldAlpha=this.worldAlpha,this._cacheData.sprite._render(t))},Wd.prototype._initCachedDisplayObject=function(t){if(!this._cacheData||!this._cacheData.sprite){var e=this.alpha;this.alpha=1,t.batch.flush();var n=this.getLocalBounds(null,!0).clone();if(this.filters){var r=this.filters[0].padding;n.pad(r)}n.ceil(If.RESOLUTION);var i=t.renderTexture.current,o=t.renderTexture.sourceFrame.clone(),s=t.renderTexture.destinationFrame.clone(),a=t.projection.transform,u=Bp.create({width:n.width,height:n.height,resolution:this.cacheAsBitmapResolution||t.resolution}),l="cacheAsBitmap_"+ld();this._cacheData.textureCacheId=l,_p.addToCache(u.baseTexture,l),kp.addToCache(u,l);var c=this.transform.localTransform.copyTo(lb).invert().translate(-n.x,-n.y);this.render=this._cacheData.originalRender,t.render(this,{renderTexture:u,clear:!0,transform:c,skipUpdateTransform:!1}),t.projection.transform=a,t.renderTexture.bind(i,o,s),this.render=this._renderCached,this.updateTransform=this.displayObjectUpdateTransform,this.calculateBounds=this._calculateCachedBounds,this.getLocalBounds=this._getCachedLocalBounds,this._mask=null,this.filterArea=null,this.alpha=e;var h=new Py(u);h.transform.worldTransform=this.transform.worldTransform,h.anchor.x=-n.x/n.width,h.anchor.y=-n.y/n.height,h.alpha=e,h._bounds=this._bounds,this._cacheData.sprite=h,this.transform._parentID=-1,this.parent?this.updateTransform():(this.enableTempParent(),this.updateTransform(),this.disableTempParent(null)),this.containsPoint=h.containsPoint.bind(h)}},Wd.prototype._renderCachedCanvas=function(t){!this.visible||this.worldAlpha<=0||!this.renderable||(this._initCachedDisplayObjectCanvas(t),this._cacheData.sprite.worldAlpha=this.worldAlpha,this._cacheData.sprite._renderCanvas(t))},Wd.prototype._initCachedDisplayObjectCanvas=function(t){if(!this._cacheData||!this._cacheData.sprite){var e=this.getLocalBounds(null,!0),n=this.alpha;this.alpha=1;var r=t.context,i=t._projTransform;e.ceil(If.RESOLUTION);var o=Bp.create({width:e.width,height:e.height}),s="cacheAsBitmap_"+ld();this._cacheData.textureCacheId=s,_p.addToCache(o.baseTexture,s),kp.addToCache(o,s);var a=lb;this.transform.localTransform.copyTo(a),a.invert(),a.tx-=e.x,a.ty-=e.y,this.renderCanvas=this._cacheData.originalRenderCanvas,t.render(this,{renderTexture:o,clear:!0,transform:a,skipUpdateTransform:!1}),t.context=r,t._projTransform=i,this.renderCanvas=this._renderCachedCanvas,this.updateTransform=this.displayObjectUpdateTransform,this.calculateBounds=this._calculateCachedBounds,this.getLocalBounds=this._getCachedLocalBounds,this._mask=null,this.filterArea=null,this.alpha=n;var u=new Py(o);u.transform.worldTransform=this.transform.worldTransform,u.anchor.x=-e.x/e.width,u.anchor.y=-e.y
2/e.height,u.alpha=n,u._bounds=this._bounds,this._cacheData.sprite=u,this.transform._parentID=-1,this.parent?this.updateTransform():(this.parent=t._tempDisplayObjectParent,this.updateTransform(),this.parent=null),this.containsPoint=u.containsPoint.bind(u)}},Wd.prototype._calculateCachedBounds=function(){this._bounds.clear(),this._cacheData.sprite.transform._worldID=this.transform._worldID,this._cacheData.sprite._calculateBounds(),this._bounds.updateID=this._boundsID},Wd.prototype._getCachedLocalBounds=function(){return this._cacheData.sprite.getLocalBounds(null)},Wd.prototype._destroyCachedDisplayObject=function(){this._cacheData.sprite._texture.destroy(!0),this._cacheData.sprite=null,_p.removeFromCache(this._cacheData.textureCacheId),kp.removeFromCache(this._cacheData.textureCacheId),this._cacheData.textureCacheId=null},Wd.prototype._cacheAsBitmapDestroy=function(t){this.cacheAsBitmap=!1,this.destroy(t)},Wd.prototype.name=null,Kd.prototype.getChildByName=function(t,e){for(var n=0,r=this.children.length;n<r;n++)if(this.children[n].name===t)return this.children[n];if(e)for(n=0,r=this.children.length;n<r;n++){if(this.children[n].getChildByName){var i=this.children[n].getChildByName(t,!0);if(i)return i}}return null},Wd.prototype.getGlobalPosition=function(t,e){return void 0===t&&(t=new Dd),void 0===e&&(e=!1),this.parent?this.parent.toGlobal(this.position,t,e):(t.x=this.position.x,t.y=this.position.y),t};
2var hb=function(t,e){return(hb=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function fb(t,e){function n(){this.constructor=t}hb(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var db=function(t){function e(e,n,r,i){void 0===e&&(e=100),void 0===n&&(n=100),void 0===r&&(r=10),void 0===i&&(i=10);var o=t.call(this)||this;return o.segWidth=r,o.segHeight=i,o.width=e,o.height=n,o.build(),o}return fb(e,t),e.prototype.build=function(){for(var t=this.segWidth*this.segHeight,e=[],n=[],r=[],i=this.segWidth-1,o=this.segHeight-1,s=this.width/i,a=this.height/o,u=0;u<t;u++){var l=u%this.segWidth,c=u/this.segWidth|0;e.push(l*s,c*a),n.push(l/i,c/o)}var h=i*o;for(u=0;u<h;u++){var f=u%i,d=u/i|0,p=d*this.segWidth+f,v=d*this.segWidth+f+1,m=(d+1)*this.segWidth+f,g=(d+1)*this.segWidth+f+1;r.push(p,v,m,v,g,m)}this.buffers[0].data=new Float32Array(e),this.buffers[1].data=new Float32Array(n),this.indexBuffer.data=new Uint16Array(r),this.buffers[0].update(),this.buffers[1].update(),this.indexBuffer.update()},e}(v_),pb=function(t){function e(e,n,r){void 0===e&&(e=200),void 0===r&&(r=0);var i=t.call(this,new Float32Array(4*n.length),new Float32Array(4*n.length),new Uint16Array(6*(n.length-1)))||this;return i.points=n,i._width=e,i.textureScale=r,i.build(),i}return fb(e,t),Object.defineProperty(e.prototype,"width",{get:function(){return this._width},enumerable:!1,configurable:!0}),e.prototype.build=function(){var t=this.points;if(t){var e=this.getBuffer("aVertexPosition"),n=this.getBuffer("aTextureCoord"),r=this.getIndex();if(!(t.length<1)){e.data.length/4!==t.length&&(e.data=new Float32Array(4*t.length),n.data=new Float32Array(4*t.length),r.data=new Uint16Array(6*(t.length-1)));var i=n.data,o=r.data;i[0]=0,i[1]=0,i[2]=0,i[3]=1;for(var s=0,a=t[0],u=this._width*this.textureScale,l=t.length,c=0;c<l;c++){var h=4*c;if(this.textureScale>0){var f=a.x-t[c].x,d=a.y-t[c].y,p=Math.sqrt(f*f+d*d);a=t[c],s+=p/u}else s=c/(l-1);i[h]=s,i[h+1]=0,i[h+2]=s,i[h+3]=1}var v=0;for(c=0;c<l-1;c++){h=2*c;o[v++]=h,o[v++]=h+1,o[v++]=h+2,o[v++]=h+2,o[v++]=h+1,o[v++]=h+3}n.update(),r.update(),this.updateVertices()}}},e.prototype.updateVertices=function(){var t=this.points;if(!(t.length<1)){for(var e,n=t[0],r=0,i=0,o=this.buffers[0].data,s=t.length,a=0;a<s;a++){var u=t[a],l=4*a;i=-((e=a<t.length-1?t[a+1]:u).x-n.x),r=e.y-n.y;var c=Math.sqrt(r*r+i*i),h=this.textureScale>0?this.textureScale*this._width/2:this._width/2;r/=c,i/=c,r*=h,i*=h,o[l]=u.x+r,o[l+1]=u.y+i,o[l+2]=u.x-r,o[l+3]=u.y-i,n=u}this.buffers[0].update()}},e.prototype.update=function(){this.textureScale>0?this.build():this.updateVertices()},e}(v_),vb=(function(t){function e(e,n,r){void 0===r&&(r=0);var i=this,o=new pb(e.height,n,r),s=new p_(e);return r>0&&(e.baseTexture.wrapMode=Ef.REPEAT),(i=t.call(this,o,s)||this).autoUpdate=!0,i}fb(e,t),e.prototype._render=function(e){var n=this.geometry;(this.autoUpdate||n._width!==this.shader.texture.height)&&(n._width=this.shader.texture.height,n.update()),t.prototype._render.call(this,e)}}(d_),function(t){function e(e,n,r){var i=this,o=new db(e.width,e.height,n,r),s=new p_(kp.WHITE);return(i=t.call(this,o,s)||this).texture=e,i}return fb(e,t),e.prototype.textureUpdated=function(){this._textureID=this.shader.texture._updateID;var t=this.geometry;t.width=this.shader.texture.width,t.height=this.shader.texture.height,t.build()},Object.defineProperty(e.prototype,"texture",{get:function(){return this.shader.texture},set:function(t){this.shader.texture!==t&&(this.shader.texture=t,this._textureID=-1,t.baseTexture.valid?this.textureUpdated():t.once("update",this.textureUpdated,this))},enumerable:!1,configurable:!0}),e.prototype._render=function(e){this._textureID!==this.shader.texture._updateID&&this.textureUpdated(),t.prototype._render.call(this,e)},e.prototype.destroy=function(e){this.shader.texture.off("update",this.textureUpdated,this),t.prototype.destroy.call(this,e)},e}(d_)),mb=(function(t){function e(e,n,r,i,o){void 0===e&&(e=kp.EMPTY);var s=this,a=new v_(n,r,i);a.getBuffer("aVertexPosition").static=!1;var u=new p_(e);return(s=t.call(this,a,u,null,o)||this).autoUpdate=!0,s}fb(e,t),Object.defineProperty(e.prototype,"vertices",{get:function(){return this.geometry.getBuffer("aVertexPosition").data},set:function(t){this.geometry.getBuffer("aVertexPosition").data=t}
2,enumerable:!1,configurable:!0}),e.prototype._render=function(e){this.autoUpdate&&this.geometry.getBuffer("aVertexPosition").update(),t.prototype._render.call(this,e)}}(d_),function(t){function e(e,n,r,i,o){void 0===n&&(n=10),void 0===r&&(r=10),void 0===i&&(i=10),void 0===o&&(o=10);var s=t.call(this,kp.WHITE,4,4)||this;return s._origWidth=e.orig.width,s._origHeight=e.orig.height,s._width=s._origWidth,s._height=s._origHeight,s._leftWidth=n,s._rightWidth=i,s._topHeight=r,s._bottomHeight=o,s.texture=e,s}fb(e,t),e.prototype.textureUpdated=function(){this._textureID=this.shader.texture._updateID,this._refresh()},Object.defineProperty(e.prototype,"vertices",{get:function(){return this.geometry.getBuffer("aVertexPosition").data},set:function(t){this.geometry.getBuffer("aVertexPosition").data=t},enumerable:!1,configurable:!0}),e.prototype.updateHorizontalVertices=function(){var t=this.vertices,e=this._getMinScale();t[9]=t[11]=t[13]=t[15]=this._topHeight*e,t[17]=t[19]=t[21]=t[23]=this._height-this._bottomHeight*e,t[25]=t[27]=t[29]=t[31]=this._height},e.prototype.updateVerticalVertices=function(){var t=this.vertices,e=this._getMinScale();t[2]=t[10]=t[18]=t[26]=this._leftWidth*e,t[4]=t[12]=t[20]=t[28]=this._width-this._rightWidth*e,t[6]=t[14]=t[22]=t[30]=this._width},e.prototype._getMinScale=function(){var t=this._leftWidth+this._rightWidth,e=this._width>t?1:this._width/t,n=this._topHeight+this._bottomHeight,r=this._height>n?1:this._height/n;return Math.min(e,r)},Object.defineProperty(e.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this._refresh()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this._refresh()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"leftWidth",{get:function(){return this._leftWidth},set:function(t){this._leftWidth=t,this._refresh()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rightWidth",{get:function(){return this._rightWidth},set:function(t){this._rightWidth=t,this._refresh()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"topHeight",{get:function(){return this._topHeight},set:function(t){this._topHeight=t,this._refresh()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bottomHeight",{get:function(){return this._bottomHeight},set:function(t){this._bottomHeight=t,this._refresh()},enumerable:!1,configurable:!0}),e.prototype._refresh=function(){var t=this.texture,e=this.geometry.buffers[1].data;this._origWidth=t.orig.width,this._origHeight=t.orig.height;var n=1/this._origWidth,r=1/this._origHeight;e[0]=e[8]=e[16]=e[24]=0,e[1]=e[3]=e[5]=e[7]=0,e[6]=e[14]=e[22]=e[30]=1,e[25]=e[27]=e[29]=e[31]=1,e[2]=e[10]=e[18]=e[26]=n*this._leftWidth,e[4]=e[12]=e[20]=e[28]=1-n*this._rightWidth,e[9]=e[11]=e[13]=e[15]=r*this._topHeight,e[17]=e[19]=e[21]=e[23]=1-r*this._bottomHeight,this.updateHorizontalVertices(),this.updateVerticalVertices(),this.geometry.buffers[0].update(),this.geometry.buffers[1].update()}}(vb),function(t,e){return(mb=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)});!function(t){function e(e,n){void 0===n&&(n=!0);var r=t.call(this,e[0]instanceof kp?e[0]:e[0].texture)||this;return r._textures=null,r._durations=null,r._autoUpdate=n,r._isConnectedToTicker=!1,r.animationSpeed=1,r.loop=!0,r.updateAnchor=!1,r.onComplete=null,r.onFrameChange=null,r.onLoop=null,r._currentTime=0,r._playing=!1,r._previousFrame=null,r.textures=e,r}(function(t,e){function n(){this.constructor=t}mb(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(e,t),e.prototype.stop=function(){this._playing&&(this._playing=!1,this._autoUpdate&&this._isConnectedToTicker&&(ep.shared.remove(this.update,this),this._isConnectedToTicker=!1))},e.prototype.play=function(){this._playing||(this._playing=!0,this._autoUpdate&&!this._isConnectedToTicker&&(ep.shared.add(this.update,this,Jd.HIGH),this._isConnectedToTicker=!0))}
2,e.prototype.gotoAndStop=function(t){this.stop();var e=this.currentFrame;this._currentTime=t,e!==this.currentFrame&&this.updateTexture()},e.prototype.gotoAndPlay=function(t){var e=this.currentFrame;this._currentTime=t,e!==this.currentFrame&&this.updateTexture(),this.play()},e.prototype.update=function(t){if(this._playing){var e=this.animationSpeed*t,n=this.currentFrame;if(null!==this._durations){var r=this._currentTime%1*this._durations[this.currentFrame];for(r+=e/60*1e3;r<0;)this._currentTime--,r+=this._durations[this.currentFrame];var i=Math.sign(this.animationSpeed*t);for(this._currentTime=Math.floor(this._currentTime);r>=this._durations[this.currentFrame];)r-=this._durations[this.currentFrame]*i,this._currentTime+=i;this._currentTime+=r/this._durations[this.currentFrame]}else this._currentTime+=e;this._currentTime<0&&!this.loop?(this.gotoAndStop(0),this.onComplete&&this.onComplete()):this._currentTime>=this._textures.length&&!this.loop?(this.gotoAndStop(this._textures.length-1),this.onComplete&&this.onComplete()):n!==this.currentFrame&&(this.loop&&this.onLoop&&(this.animationSpeed>0&&this.currentFrame<n||this.animationSpeed<0&&this.currentFrame>n)&&this.onLoop(),this.updateTexture())}},e.prototype.updateTexture=function(){var t=this.currentFrame;this._previousFrame!==t&&(this._previousFrame=t,this._texture=this._textures[t],this._textureID=-1,this._textureTrimmedID=-1,this._cachedTint=16777215,this.uvs=this._texture._uvs.uvsFloat32,this.updateAnchor&&this._anchor.copyFrom(this._texture.defaultAnchor),this.onFrameChange&&this.onFrameChange(this.currentFrame))},e.prototype.destroy=function(e){this.stop(),t.prototype.destroy.call(this,e),this.onComplete=null,this.onFrameChange=null,this.onLoop=null},e.fromFrames=function(t){for(var n=[],r=0;r<t.length;++r)n.push(kp.from(t[r]));return new e(n)},e.fromImages=function(t){for(var n=[],r=0;r<t.length;++r)n.push(kp.from(t[r]));return new e(n)},Object.defineProperty(e.prototype,"totalFrames",{get:function(){return this._textures.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textures",{get:function(){return this._textures},set:function(t){if(t[0]instanceof kp)this._textures=t,this._durations=null;else{this._textures=[],this._durations=[];for(var e=0;e<t.length;e++)this._textures.push(t[e].texture),this._durations.push(t[e].time)}this._previousFrame=null,this.gotoAndStop(0),this.updateTexture()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentFrame",{get:function(){var t=Math.floor(this._currentTime)%this._textures.length;return t<0&&(t+=this._textures.length),t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"playing",{get:function(){return this._playing},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"autoUpdate",{get:function(){return this._autoUpdate},set:function(t){t!==this._autoUpdate&&(this._autoUpdate=t,!this._autoUpdate&&this._isConnectedToTicker?(ep.shared.remove(this.update,this),this._isConnectedToTicker=!1):this._autoUpdate&&!this._isConnectedToTicker&&this._playing&&(ep.shared.add(this.update,this),this._isConnectedToTicker=!0))},enumerable:!1,configurable:!0})}(Py);am.registerPlugin("accessibility",Qd),am.registerPlugin("extract",Am),am.registerPlugin("interaction",cp),am.registerPlugin("particle",qg),am.registerPlugin("prepare",Qy),am.registerPlugin("batch",gm),am.registerPlugin("tilingSprite",a_),Zm.registerPlugin(R_),Zm.registerPlugin(ug),Zm.registerPlugin(Og),Zm.registerPlugin(Hg),Zm.registerPlugin(e_),Em.registerPlugin(np),Em.registerPlugin(Qm);var gb={AlphaFilter:C_,BlurFilter:tb,BlurFilterPass:Q_,ColorMatrixFilter:nb,DisplacementFilter:ib,FXAAFilter:sb,NoiseFilter:ub},yb=function(t,e){return(yb=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};var _b=function(t){function e(n,r){void 0===r&&(r=0);var i=t.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n    gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0
2)).xy, 0.0, 1.0);\n    vTextureCoord = aTextureCoord;\n}","varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform vec4 filterArea;\nuniform vec2 dimensions;\n\nuniform float sepia;\nuniform float noise;\nuniform float noiseSize;\nuniform float scratch;\nuniform float scratchDensity;\nuniform float scratchWidth;\nuniform float vignetting;\nuniform float vignettingAlpha;\nuniform float vignettingBlur;\nuniform float seed;\n\nconst float SQRT_2 = 1.414213;\nconst vec3 SEPIA_RGB = vec3(112.0 / 255.0, 66.0 / 255.0, 20.0 / 255.0);\n\nfloat rand(vec2 co) {\n    return fract(sin(dot(co.xy, vec2(12.9898, 78.233))) * 43758.5453);\n}\n\nvec3 Overlay(vec3 src, vec3 dst)\n{\n    // if (dst <= 0.5) then: 2 * src * dst\n    // if (dst > 0.5) then: 1 - 2 * (1 - dst) * (1 - src)\n    return vec3((dst.x <= 0.5) ? (2.0 * src.x * dst.x) : (1.0 - 2.0 * (1.0 - dst.x) * (1.0 - src.x)),\n                (dst.y <= 0.5) ? (2.0 * src.y * dst.y) : (1.0 - 2.0 * (1.0 - dst.y) * (1.0 - src.y)),\n                (dst.z <= 0.5) ? (2.0 * src.z * dst.z) : (1.0 - 2.0 * (1.0 - dst.z) * (1.0 - src.z)));\n}\n\n\nvoid main()\n{\n    gl_FragColor = texture2D(uSampler, vTextureCoord);\n    vec3 color = gl_FragColor.rgb;\n\n    if (sepia > 0.0)\n    {\n        float gray = (color.x + color.y + color.z) / 3.0;\n        vec3 grayscale = vec3(gray);\n\n        color = Overlay(SEPIA_RGB, grayscale);\n\n        color = grayscale + sepia * (color - grayscale);\n    }\n\n    vec2 coord = vTextureCoord * filterArea.xy / dimensions.xy;\n\n    if (vignetting > 0.0)\n    {\n        float outter = SQRT_2 - vignetting * SQRT_2;\n        vec2 dir = vec2(vec2(0.5, 0.5) - coord);\n        dir.y *= dimensions.y / dimensions.x;\n        float darker = clamp((outter - length(dir) * SQRT_2) / ( 0.00001 + vignettingBlur * SQRT_2), 0.0, 1.0);\n        color.rgb *= darker + (1.0 - darker) * (1.0 - vignettingAlpha);\n    }\n\n    if (scratchDensity > seed && scratch != 0.0)\n    {\n        float phase = seed * 256.0;\n        float s = mod(floor(phase), 2.0);\n        float dist = 1.0 / scratchDensity;\n        float d = distance(coord, vec2(seed * dist, abs(s - seed * dist)));\n        if (d < seed * 0.6 + 0.4)\n        {\n            highp float period = scratchDensity * 10.0;\n\n            float xx = coord.x * period + phase;\n            float aa = abs(mod(xx, 0.5) * 4.0);\n            float bb = mod(floor(xx / 0.5), 2.0);\n            float yy = (1.0 - bb) * aa + bb * (2.0 - aa);\n\n            float kk = 2.0 * period;\n            float dw = scratchWidth / dimensions.x * (0.75 + seed);\n            float dh = dw * kk;\n\n            float tine = (yy - (2.0 - dh));\n\n            if (tine > 0.0) {\n                float _sign = sign(scratch);\n\n                tine = s * tine / period + scratch + 0.1;\n                tine = clamp(tine + 1.0, 0.5 + _sign * 0.5, 1.5 + _sign * 0.5);\n\n                color.rgb *= tine;\n            }\n        }\n    }\n\n    if (noise > 0.0 && noiseSize > 0.0)\n    {\n        vec2 pixelCoord = vTextureCoord.xy * filterArea.xy;\n        pixelCoord.x = floor(pixelCoord.x / noiseSize);\n        pixelCoord.y = floor(pixelCoord.y / noiseSize);\n        // vec2 d = pixelCoord * noiseSize * vec2(1024.0 + seed * 512.0, 1024.0 - seed * 512.0);\n        // float _noise = snoise(d) * 0.5;\n        float _noise = rand(pixelCoord * noiseSize * seed) - 0.5;\n        color += _noise * noise;\n    }\n\n    gl_FragColor.rgb = color;\n}\n")||this;return i.seed=0,i.uniforms.dimensions=new Float32Array(2),"number"==typeof n?(i.seed=n,n=void 0):i.seed=r,Object.assign(i,e.defaults,n),i}return function(t,e){function n(){this.constructor=t}yb(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),e.prototype.apply=function(t,e,n,r){var i,o;this.uniforms.dimensions[0]=null===(i=e.filterFrame)||void 0===i?void 0:i.width,this.uniforms.dimensions[1]=null===(o=e.filterFrame)||void 0===o?void 0:o.height,this.uniforms.seed=this.seed,t.applyFilter(this,e,n,r)},Object.defineProperty(e.prototype,"sepia",{get:function(){return this.uniforms.sepia},set:function(t){this.uniforms.sepia=t}
2,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"noise",{get:function(){return this.uniforms.noise},set:function(t){this.uniforms.noise=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"noiseSize",{get:function(){return this.uniforms.noiseSize},set:function(t){this.uniforms.noiseSize=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scratch",{get:function(){return this.uniforms.scratch},set:function(t){this.uniforms.scratch=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scratchDensity",{get:function(){return this.uniforms.scratchDensity},set:function(t){this.uniforms.scratchDensity=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scratchWidth",{get:function(){return this.uniforms.scratchWidth},set:function(t){this.uniforms.scratchWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"vignetting",{get:function(){return this.uniforms.vignetting},set:function(t){this.uniforms.vignetting=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"vignettingAlpha",{get:function(){return this.uniforms.vignettingAlpha},set:function(t){this.uniforms.vignettingAlpha=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"vignettingBlur",{get:function(){return this.uniforms.vignettingBlur},set:function(t){this.uniforms.vignettingBlur=t},enumerable:!1,configurable:!0}),e.defaults={sepia:.3,noise:.3,noiseSize:1,scratch:.5,scratchDensity:.3,scratchWidth:1,vignetting:.3,vignettingAlpha:1,vignettingBlur:.3},e}(Uv),bb=function(t,e){return(bb=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};var xb=function(t){function e(n){var r=t.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n    gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0
2)).xy, 0.0, 1.0);\n    vTextureCoord = aTextureCoord;\n}","// precision highp float;\n\nvarying vec2 vTextureCoord;\nuniform sampler2D uSampler;\n\nuniform vec4 filterArea;\nuniform vec4 filterClamp;\nuniform vec2 dimensions;\nuniform float aspect;\n\nuniform sampler2D displacementMap;\nuniform float offset;\nuniform float sinDir;\nuniform float cosDir;\nuniform int fillMode;\n\nuniform float seed;\nuniform vec2 red;\nuniform vec2 green;\nuniform vec2 blue;\n\nconst int TRANSPARENT = 0;\nconst int ORIGINAL = 1;\nconst int LOOP = 2;\nconst int CLAMP = 3;\nconst int MIRROR = 4;\n\nvoid main(void)\n{\n    vec2 coord = (vTextureCoord * filterArea.xy) / dimensions;\n\n    if (coord.x > 1.0 || coord.y > 1.0) {\n        return;\n    }\n\n    float cx = coord.x - 0.5;\n    float cy = (coord.y - 0.5) * aspect;\n    float ny = (-sinDir * cx + cosDir * cy) / aspect + 0.5;\n\n    // displacementMap: repeat\n    // ny = ny > 1.0 ? ny - 1.0 : (ny < 0.0 ? 1.0 + ny : ny);\n\n    // displacementMap: mirror\n    ny = ny > 1.0 ? 2.0 - ny : (ny < 0.0 ? -ny : ny);\n\n    vec4 dc = texture2D(displacementMap, vec2(0.5, ny));\n\n    float displacement = (dc.r - dc.g) * (offset / filterArea.x);\n\n    coord = vTextureCoord + vec2(cosDir * displacement, sinDir * displacement * aspect);\n\n    if (fillMode == CLAMP) {\n        coord = clamp(coord, filterClamp.xy, filterClamp.zw);\n    } else {\n        if( coord.x > filterClamp.z ) {\n            if (fillMode == TRANSPARENT) {\n                discard;\n            } else if (fillMode == LOOP) {\n                coord.x -= filterClamp.z;\n            } else if (fillMode == MIRROR) {\n                coord.x = filterClamp.z * 2.0 - coord.x;\n            }\n        } else if( coord.x < filterClamp.x ) {\n            if (fillMode == TRANSPARENT) {\n                discard;\n            } else if (fillMode == LOOP) {\n                coord.x += filterClamp.z;\n            } else if (fillMode == MIRROR) {\n                coord.x *= -filterClamp.z;\n            }\n        }\n\n        if( coord.y > filterClamp.w ) {\n            if (fillMode == TRANSPARENT) {\n                discard;\n            } else if (fillMode == LOOP) {\n                coord.y -= filterClamp.w;\n            } else if (fillMode == MIRROR) {\n                coord.y = filterClamp.w * 2.0 - coord.y;\n            }\n        } else if( coord.y < filterClamp.y ) {\n            if (fillMode == TRANSPARENT) {\n                discard;\n            } else if (fillMode == LOOP) {\n                coord.y += filterClamp.w;\n            } else if (fillMode == MIRROR) {\n                coord.y *= -filterClamp.w;\n            }\n        }\n    }\n\n    gl_FragColor.r = texture2D(uSampler, coord + red * (1.0 - seed * 0.4) / filterArea.xy).r;\n    gl_FragColor.g = texture2D(uSampler, coord + green * (1.0 - seed * 0.3) / filterArea.xy).g;\n    gl_FragColor.b = texture2D(uSampler, coord + blue * (1.0 - seed * 0.2) / filterArea.xy).b;\n    gl_FragColor.a = texture2D(uSampler, coord).a;\n}\n")||this;return r.offset=100,r.fillMode=e.TRANSPARENT,r.average=!1,r.seed=0,r.minSize=8,r.sampleSize=512,r._slices=0,r._offsets=new Float32Array(1),r._sizes=new Float32Array(1),r._direction=0,r.uniforms.dimensions=new Float32Array(2),r._canvas=document.createElement("canvas"),r._canvas.width=4,r._canvas.height=r.sampleSize,r.texture=kp.from(r._canvas,{scaleMode:Tf.NEAREST}),Object.assign(r,e.defaults,n),r}return function(t,e){function n(){this.constructor=t}bb(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),e.prototype.apply=function(t,e,n,r){var i=e.filterFrame,o=i.width,s=i.height;this.uniforms.dimensions[0]=o,this.uniforms.dimensions[1]=s,this.uniforms.aspect=s/o,this.uniforms.seed=this.seed,this.uniforms.offset=this.offset,this.uniforms.fillMode=this.fillMode,t.applyFilter(this,e,n,r)},e.prototype._randomizeSizes=function(){var t=this._sizes,e=this._slices-1,n=this.sampleSize,r=Math.min(this.minSize/n,.9/this._slices);if(this.average){for(var i=this._slices,o=1,s=0;s<e;s++){var a=o/(i-s),u=Math.max(a*(1-.6*Math.random()),r);t[s]=u,o-=u}t[e]=o}else{o=1;var l=Math.sqrt(1/this._slices);for(s=0;s<e;s++){u=Math.max(l*o*Math.random(),r);t[s]=u,o-=u}t[e]=o}this.shuffle()},e.prototype.shuffle=function(){for(var t=this._sizes,e=this._slices-1;e>0;e--){var n=Math.random()*e>>0,r=t[e];t[e]=t[n],t[n]=r}},e.prototype._randomizeOffsets=function(){for(var t=0;t<this._slices;t++)this._offsets[t]=Math.random()*(Math.random()<.5?-1:1)},e.prototype.refresh=function(){this._randomizeSizes(),this._randomizeOffsets(),this.redraw()},e.prototype.redraw=function(){var t,e=this.sampleSize,n=this.texture,r=this._canvas.getContext("2d");r.clearRect(0,0,8,e);for(var i=0,o=0;o<this._slices;o++){t=Math.floor(256*this._offsets[o]);var s=this._sizes[o]*e,a=t>0?t:0,u=t<0?-t:0;r.fillStyle="rgba("+a+", "+u+", 0, 1)",r.fillRect(0,i>>0,e,s+1>>0),i+=s}
2n.baseTexture.update(),this.uniforms.displacementMap=n},Object.defineProperty(e.prototype,"sizes",{get:function(){return this._sizes},set:function(t){for(var e=Math.min(this._slices,t.length),n=0;n<e;n++)this._sizes[n]=t[n]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"offsets",{get:function(){return this._offsets},set:function(t){for(var e=Math.min(this._slices,t.length),n=0;n<e;n++)this._offsets[n]=t[n]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"slices",{get:function(){return this._slices},set:function(t){this._slices!==t&&(this._slices=t,this.uniforms.slices=t,this._sizes=this.uniforms.slicesWidth=new Float32Array(t),this._offsets=this.uniforms.slicesOffset=new Float32Array(t),this.refresh())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"direction",{get:function(){return this._direction},set:function(t){if(this._direction!==t){this._direction=t;var e=t*Od;this.uniforms.sinDir=Math.sin(e),this.uniforms.cosDir=Math.cos(e)}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"red",{get:function(){return this.uniforms.red},set:function(t){this.uniforms.red=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"green",{get:function(){return this.uniforms.green},set:function(t){this.uniforms.green=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"blue",{get:function(){return this.uniforms.blue},set:function(t){this.uniforms.blue=t},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){var t;null===(t=this.texture)||void 0===t||t.destroy(!0),this.texture=this._canvas=this.red=this.green=this.blue=this._sizes=this._offsets=null},e.defaults={slices:5,offset:100,direction:0,fillMode:0,average:!1,seed:0,red:[0,0],green:[0,0],blue:[0,0],minSize:8,sampleSize:512},e.TRANSPARENT=0,e.ORIGINAL=1,e.LOOP=2,e.CLAMP=3,e.MIRROR=4,e}(Uv),Tb=function(t,e){return(Tb=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};!function(t){function e(e,n){void 0===e&&(e=0),void 0===n&&(n=1);var r=t.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n    gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0
2)).xy, 0.0, 1.0);\n    vTextureCoord = aTextureCoord;\n}","varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform vec3 color;\nuniform float alpha;\n\nvoid main(void) {\n    vec4 currentColor = texture2D(uSampler, vTextureCoord);\n    gl_FragColor = vec4(mix(currentColor.rgb, color.rgb, currentColor.a * alpha), currentColor.a);\n}\n")||this;return r._color=0,r._alpha=1,r.uniforms.color=new Float32Array(3),r.color=e,r.alpha=n,r}(function(t,e){function n(){this.constructor=t}Tb(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(e,t),Object.defineProperty(e.prototype,"color",{get:function(){return this._color},set:function(t){var e=this.uniforms.color;"number"==typeof t?(zf(t,e),this._color=t):(e[0]=t[0],e[1]=t[1],e[2]=t[2],this._color=$f(e))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"alpha",{get:function(){return this._alpha},set:function(t){this.uniforms.alpha=t,this._alpha=t},enumerable:!1,configurable:!0})}(Uv);const{EventEmitter:Eb}=r;class wb extends Em{constructor(t,e,n){var r,i;const o=t.offsetWidth,s=t.offsetHeight;Gf(),super({view:e,width:o,height:s,autoStart:!1,backgroundColor:0}),If.PRECISION_FRAGMENT="highp",this.domElement=t,this.stageElement=e,this.glitchCounter=0,this.glitchCount=10,this.initWidth=o,this.initHeight=s,this.animating=!0,this.rendering=!0,this.events=new Eb,this.animateTimer=0,this.framesToWaitForAtLeast=180,this.framesToWaitForMaximum=600,this.framesWaited=0,this.bg=null,this.bg2=null,this.container=null,this.padding=100,this.loadingComplete=!1,this.bgName=n.image,this.bgBrightness=n.brightness,this.scrollable=n.scrollable,this.glitchesEnabled=n.glitch,this.visible=null===(r=n.visible)||void 0===r||r,this.restingGlitch=null!==(i=n.restingGlitch)&&void 0!==i&&i,this.scrollbarSize=this.measureScrollbar(),this.defaultBlendMode=mf.SCREEN,this.validBlendModes=[mf.NORMAL,mf.ADD,mf.MULTIPLY,mf.SCREEN,mf.ADD_NPM,mf.SCREEN_NPM,mf.SUBTRACT],this.validColors=[16119040,44799,3074093,16646654,16646146,254]}getResources(){return this.loader.resources}load(t,e){this.loader.add(t).load((()=>{this.init(),this.visible?this.setVisible():this.setInvisible(),this.loadingComplete=!0,e&&e()}))}init(){const{resources:t}=this.loader;this.container=new Kd,this.filmFilter=new _b({noise:.15,noiseSize:1.5,scratch:-1,scratchDensity:0,sepia:0,vignetting:0}),this.glitchFilter=new xb({slices:10,offset:10,direction:0,fillMode:2,average:!1,red:[1,1],green:[-5,5],blue:[5,-2],seed:.5}),this.colorMatrixFilter=new gb.ColorMatrixFilter,this.colorMatrixFilter.brightness(this.bgBrightness),this.stage.addChild(this.container),this.bg=new Py(t[this.bgName].texture),this.container.addChild(this.bg);let e=this.getRandomColorPair();this.overlay=(new wy).beginFill(e[0]).drawRect(0,0,0,0),this.overlay.blendMode=this.defaultBlendMode,this.overlay.name="overlay",this.overlay2=(new wy).beginFill(e[1]).drawRect(0,0,0,0),this.overlay2.blendMode=this.defaultBlendMode,this.overlay2.name="overlay2",this.container.filters=[this.filmFilter],this.bg.filters=[this.colorMatrixFilter],this.events.on("animate",((t,e)=>{this.filmFilter.seed=Math.random(),this.randomGlitches(5),this.framesWaited++;let n=this.getRandomInt(this.framesToWaitForAtLeast,this.framesToWaitForMaximum);this.framesWaited>=this.framesToWaitForAtLeast&&(this.framesWaited===n||this.framesWaited>=this.framesToWaitForMaximum)&&(this.glitchCounter=0,this.glitchCount=this.getRandomInt(2,7),this.framesWaited=0)})),this.glitchesEnabled&&(this.container.addChild(this.overlay),this.container.addChild(this.overlay2)),window.addEventListener("resize",this.handleResize.bind(this)),this.ticker.add(this.animate,this),this.scrollable&&this.unlockScroll(4),this.handleResize()}unlockScroll(){this.scrollable=!0,this.view.classList.add("w-auto"),this.handleUnlockedResize(),document.documentElement.style.setProperty("--canvas-width",this.view.offsetWidth+"px")}lockScroll(){this.scrollable=!1,this.view.classList.remove("w-auto"),this.handleLockedResize()}measureScrollbar(){let t=document.createElement("div");t.style.overflow="scroll",document.body.appendChild(t);const e=t.offsetWidth-t.clientWidth,n=t.offsetHeight-t.clientHeight;return document.body.removeChild(t),{width:e,height:n}}isScrollbarActive(){const t=this.bg.texture.width/this.bg.texture.height,e=this.domElement.offsetWidth/this.domElement.offsetHeight;return!!(this.scrollable&&e<t)}handleResize(){const t=this.bg.texture.width/this.bg.texture.height,e=this.domElement.offsetWidth/this.domElement.offsetHeight;this.scrollable&&e<t?this.handleUnlockedResize():this.handleLockedResize(),document.documentElement.style.setProperty("--canvas-width",this.view.offsetWidth+"px")}handleUnlockedResize(){const{bg:t}=this;const e=this.scrollbarSize.height+4,n=t.texture.width/t.texture.height,r=this.domElement.offsetWidth/this.domElement.offsetHeight,i=t.texture.width,o=i/n;r<n&&(t.height=o,t.width=o*n,t.x=0,t.y=(o-t.height)/2,this.renderer.resize(i,o-e),this.render())}handleLockedResize(){const{padding:t,bg:e,bg2:n,overlay:r,overlay2:i,filterArea:o,bounds:s}=this;let a=this.domElement.offsetWidth;const u=this.domElement.offsetHeight,l=e.texture.width/e.texture.height;a/u>l?(e.width=a,e.height=a/l):(e.height=u,e.width=u*l),e.x=0,e.y=(u-e.height)/2,this.containerHasOverlays()&&(r.width=2*a,i.width=2*a),this.renderer.resize(a,u),this.render()}setInvisible(){this.ticker.stop(),this.domElement.classList.remove("visible"),this.domElement.classList.add("invisible"),this.visible=!1}setVisible(){this.ticker.start(),this.domElement.classList.add("visible"),this.domElement.classList.remove("invisible"),this.visible=!0}animate(t){this.animateTimer+=t,this.events.emit("animate",t,this.animateTimer),this.animating}getRandomInt(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t)+t)}getRandomColorPair(){this.getRandomInt(0,this.validColors.length);const t=this.validColors[0],e=this.validColors[4];for(var n=[];n.length<2;){let r=this.getRandomInt(0,this.validColors.length),i=this.validColors[r];const o=n.includes(e)&&i===t||n.includes(t)&&i===e;-1!==n.indexOf(i)||o||n.push(i)}return n}fadeBg(t){const e=()=>{let n=!0;this.bgBrightness<t?(n=!1,this.bgBrightness=this.bgBrightness+.02):this.bgBrightness=this.bgBrightness-.02,this.colorMatrixFilter.brightness(this.bgBrightness),n?this.bgBrightness<=t&&this.ticker.remove(e,this):this.bgBrightness>=t&&this.ticker.remove(e,this)};this.ticker.add(e,this)}removeOverlays(){this.glitchCounter=0,this.glitchCount=this.getRandomInt(2,7),setTimeout((()=>{this.container.removeChild(this.overlay),this.container.removeChild(this.overlay2)}),300)}readdOverlays(){if(!this.containerHasOverlays()){let t=this.domElement.offsetHeight-250,e=250,n=.3,r=this.defaultBlendM
2ode,i=0,o=216,s=.3,a=this.defaultBlendMode,u=this.getRandomColorPair();this.overlay=(new wy).beginFill(u[0]).drawRect(0,t,2*this.domElement.offsetWidth,e),this.overlay.blendMode=r,this.overlay.alpha=n,this.overlay.name="overlay",this.container.addChild(this.overlay),this.overlay2=(new wy).beginFill(u[1]).drawRect(0,i,2*this.domElement.offsetWidth,o),this.overlay2.blendMode=a,this.overlay2.alpha=s,this.overlay2.name="overlay2",this.container.addChild(this.overlay2),this.glitchCounter=0,this.glitchCount=7}}containerHasOverlays(){return!!this.container.children.some((t=>"overlay"===t.name))&&!!this.container.children.some((t=>"overlay2"===t.name))}randomGlitches(t){if(!this.containerHasOverlays())return;if(Math.floor(this.animateTimer)%t||this.glitchCounter>this.glitchCount)return;let e=this.getRandomInt(0,this.domElement.offsetHeight),n=this.getRandomInt(1,100),r=this.getRandomInt(2,6)/10,i=this.getRandomInt(0,this.domElement.offsetHeight),o=this.getRandomInt(1,100),s=this.getRandomInt(2,6)/10,a=this.getRandomColorPair(),u=this.validBlendModes[Math.floor(Math.random()*this.validBlendModes.length)],l=this.validBlendModes[Math.floor(Math.random()*this.validBlendModes.length)];this.restingGlitch&&this.glitchCounter===this.glitchCount&&(e=this.domElement.offsetHeight-250,n=250,r=.3,u=this.defaultBlendMode,i=0,o=216,s=.3,l=this.defaultBlendMode),this.glitchCounter++,this.container.removeChild(this.overlay),this.overlay=(new wy).beginFill(a[0]).drawRect(0,e,2*this.domElement.offsetWidth,n),this.overlay.blendMode=u,this.overlay.alpha=r,this.overlay.name="overlay",this.container.addChild(this.overlay),this.container.removeChild(this.overlay2),this.overlay2=(new wy).beginFill(a[1]).drawRect(0,i,2*this.domElement.offsetWidth,o),this.overlay2.alpha=r,this.overlay2.blendMode=l,this.overlay2.name="overlay2",this.container.addChild(this.overlay2)}}var Sb={props:{pixiConfig:{required:!0}},data:()=>({fadeOutTimer:null,fadeInTimer:null}),watch:{"$store.videoIsPlaying":{handler(t,e){t!==e&&(t?(clearInterval(this.fadeInTimer),this.fadeOutToAmbientSound(.2)):(clearInterval(this.fadeOutTimer),this.fadeInToAmbientSound(1)))}}},mounted(){this.init(),this.$refs.stageRef.addEventListener("webglcontextlost",(t=>{t.preventDefault()}),!1),this.$refs.stageRef.addEventListener("webglcontextrestored",(t=>{this.init()}),!1),this.$store.currentAmbient=this.$store.otherAmbient,"events"===this.$router.currentRoute.name&&(this.$store.currentAmbient=this.$store.eventsAmbient),"running"===(new(window.AudioContext||window.webkitAudioContext)).state?setTimeout((()=>{let t=null;this.$store.videoIsPlaying&&(t=.2),this.playAmbientSound(t)}),1e3):document.addEventListener("click",(()=>{let t=null;this.$store.videoIsPlaying&&(t=.2),this.playAmbientSound(t)}),{once:!0})},methods:{init(){window.pixi=new wb(this.$refs.pixiRef,this.$refs.stageRef,this.pixiConfig);window.pixi.load([{name:"background",url:"/assets/lh.jpg"}])},fadeOutToAmbientSound(t){this.$store.soundPlaying&&(this.fadeOutTimer=ih.Z.fadeOutTo(this.$store.currentAmbient,t))},fadeInToAmbientSound(t){this.$store.soundPlaying&&(this.fadeInTimer=ih.Z.fadeInTo(this.$store.currentAmbient,t))},toggleSound(){let t=null;this.$store.videoIsPlaying&&(t=.2),this.toggleMuteSound(t)}}},Ab=(n(9778),(0,Zu.Z)(Sb,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main-container"},[n("div",{ref:"pixiRef",staticClass:"container-absolute"},[n("canvas",{ref:"stageRef",staticClass:"pixi-stage",attrs:{width:"300",height:"300"}})]),t._v(" "),t.$store.eventsAmbientLoaded&&t.$store.otherAmbientLoaded?n("div",{staticClass:"sound mt-17 mt-lg-20 me-20 d-sm-block",class:{"d-block":!0===t.$store.isHamburgerOpen,"d-none":!1===t.$store.isHamburgerOpen,"hamburger-open":t.$store.isHamburgerOpen},on:{click:t.toggleSound}},[n("svg-vue",{directives:[{name:"show",rawName:"v-show",value:t.$store.soundPlaying,expression:"$store.soundPlaying"}],attrs:{icon:"sound-on"}}),t._v(" "),n("svg-vue",{directives:[{name:"show",rawName:"v-show",value:!t.$store.soundPlaying,expression:"!$store.soundPlaying"}],attrs:{icon:"sound-off"}})],1):t._e(),t._v(" "),t._t("default")],2)}
2),[],!1,null,null,null).exports);function Ob(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Rb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}_a.component("default-layout",ch),_a.component("stage-layout",Ab),_a.use(Wu(),{id:"GTM-MHGQP5X",defer:!0,compatibility:!0,enabled:!1,debug:!1,trackOnNextTick:!0}),_a.use(uh()),_a.use(sl),_a.use(Vu,{refreshOnceOnNavigation:!0}),_a.directive("scroll",{inserted:function(t,e){let n=function(r){e.value(r,t)&&window.removeEventListener("scroll",n)};window.addEventListener("scroll",n)}}),_a.directive("resize",{inserted:function(t,e){let n=function(r){e.value(r,t)&&window.removeEventListener("resize",n)};window.addEventListener("resize",n)}}),_a.directive("beforeprint",{inserted:function(t,e){let n=function(r){e.value(r,t)&&window.removeEventListener("beforeprint",n)};window.addEventListener("beforeprint",n)}}),_a.directive("afterprint",{inserted:function(t,e){let n=function(r){e.value(r,t)&&window.removeEventListener("afterprint",n)};window.addEventListener("afterprint",n)}}),_a.prototype.$store=sh,window.test=function(t){_a.prototype.$store.supportedLanguages.includes(t)&&(console.log(t),sh.language=t)},_a.mixin({methods:{xs:()=>window.matchMedia("(max-width: 767px)").matches,sm:()=>window.matchMedia("(min-width: 768px) and (max-width: 1023px)").matches,md:()=>window.matchMedia("(min-width: 1024px) and (max-width: 1439px)").matches,lg:()=>window.matchMedia("(min-width: 1440px) and (max-width: 1919px)").matches,xl:()=>window.matchMedia("(min-width: 1920px)").matches,switchToEventsAmbient(){ih.Z.fadeOutTo(this.$store.currentAmbient,0),this.$store.currentAmbient=this.$store.eventsAmbient,this.$store.soundPlaying&&ih.Z.playSound(this.$store.currentAmbient,!0)},switchToOtherAmbient(){ih.Z.fadeOutTo(this.$store.currentAmbient,0),this.$store.currentAmbient=this.$store.otherAmbient,this.$store.soundPlaying&&ih.Z.playSound(this.$store.currentAmbient,!0)},playAmbientSound(t=null){this.$store.soundPlaying||(ih.Z.playSound(this.$store.currentAmbient,!0,t),this.$store.soundPlaying=!0)},stopAmbientSound(){this.$store.soundPlaying&&(ih.Z.stopSound(this.$store.currentAmbient),this.$store.soundPlaying=!1)},toggleMuteSound(t=null){this.$store.soundPlaying?ih.Z.stopSound(this.$store.currentAmbient):ih.Z.playSound(this.$store.currentAmbient,!0,t),this.$store.soundPlaying=!this.$store.soundPlaying},playClick(){this.$store.soundPlaying&&ih.Z.playSound(this.$store.clickSound)},playClickMain(){this.$store.soundPlaying&&ih.Z.playSound(this.$store.clickMainSound)},closeHamburger:()=>{sh.isHamburgerOpen=!1},getLangString:t=>{const e=_a.prototype.$store.language,n=_a.prototype.$store.supportedLanguages;if(t&&"object"==typeof t){for(const r of n)if(r in t&&e===r)return t[r];for(const e of n)if(e in t)return t[e]}return t},getLangUrl(t){const e=_a.prototype.$store.language;let n="/"+e+"/";if(Array.isArray(t)){for(const r of t)r in window.data.urlPaths?n+=window.data.urlPaths[r][e]+"/":n+=""===r?r:r+"/";return n}return"/"===t.charAt(0)&&(n="/"+e),t in window.data.urlPaths&&(t=window.data.urlPaths[t][e]),n+t},getMeta(t,e="website"){let n=[],r=this.getLangString(t.meta_title),i=this.getLangString(t.meta_og_title);const o=this.getLangString(t.meta_description),s=this.getLangString(t.meta_og_keywords),a=t.meta_og_img;if(!r){var u;let e=null!==(u=t.title)&&void 0!==u?u:t.hero_headline,n=this.getLangString(e);"Landshut 77"!==e&&(n+=" | Landshut 77"),r=n}return i||(i=r),o&&n.push({description:o}),s&&n.push({keywords:s}),n.push({name:"og:type",content:e}),i&&n.push({name:"og:title",content:i}),a&&n.push({name:"og:image",content:a}),window.current_title=r,{title:r,meta:n}}}});const Pb={domain:"isp.de",scrollHorizontallyKey:"aXNwLmRlX25PamMyTnliMnhzU0c5eWFYcHZiblJoYkd4NXg5SQ==",fadingEffectKey:"aXNwLmRlX1FDR1ptRmthVzVuUldabVpXTjBoejI=",resetSlidersKey:"aXNwLmRlX09scGNtVnpaWFJUYkdsa1pYSno1ajk=",scrollOverflowResetKey:"aXNwLmRlX1MzMWMyTnliMnhzVDNabGNtWnNiM2RTWlhObGRBPT1wN24="},Cb={domain:"landshut77.de",scrollHorizontallyKey:"bGFuZHNodXQ3Ny5kZV9HWVVjMk55YjJ4c1NHOXlhWHB2Ym5SaGJHeDVwZkE=",fadingEffectKey:"bGFuZHNodXQ3Ny5kZV9DWTRabUZrYVc1blJXWm1aV04wT2Zm",resetSlidersKey:"bGFuZHNodXQ3Ny5kZV9ZWXpjbVZ6WlhSVGJHbGtaWEp6dENN",scrollOverflowResetKey:"bGFuZHNodXQ3Ny5kZV9ybGZjMk55YjJ4c1QzWmxjbVpzYjNkU1pYTmxkQT09bHZD"};let Ib={domain:"any",scrollHorizontallyKey:btoa(window.location.hostname+"_v5Ac2Nyb2xsSG9yaXpvbn
2RhbGx58Uv"),fadingEffectKey:btoa(window.location.hostname+"_GdvZmFkaW5nRWZmZWN0hI1"),resetSlidersKey:btoa(window.location.hostname+"_OlpcmVzZXRTbGlkZXJz5j9"),scrollOverflowResetKey:btoa(window.location.hostname+"_rlfc2Nyb2xsT3ZlcmZsb3dSZXNldA==lvC")};window.location.hostname.includes("isp.de")&&(Ib=Pb),window.location.hostname.includes("landshut77.de")&&(Ib=Cb),window.fullpage=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ob(Object(n),!0).forEach((function(e){Rb(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ob(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({licenseKey:"9BE90058-4BDC442A-B6B7C926-42F4128A"},Ib);var Mb;new _a({created:function(){this.$store.clickSound=ih.Z.loadSound("/assets/audio/click2.mp3"),this.$store.clickMainSound=ih.Z.loadSound("/assets/audio/click1.mp3"),this.$store.tickerAmbient=ih.Z.loadSound("/assets/events/typewriter/t_bg.mp3"),this.$store.otherAmbient=ih.Z.loadSound("/assets/audio/ambient1.mp3",(()=>{this.$store.otherAmbientLoaded=!0})),this.$store.eventsAmbient=ih.Z.loadSound("/assets/audio/scrolldoku_grundton.mp3",(()=>{this.$store.eventsAmbientLoaded=!0})),ih.Z.setSoundVolume(this.$store.clickSound,.5),ih.Z.setSoundVolume(this.$store.clickMainSound,.5),ih.Z.setSoundVolume(this.$store.tickerAmbient,.5),this.$store.keySounds=[ih.Z.loadSound("/assets/events/typewriter/t1.mp3"),ih.Z.loadSound("/assets/events/typewriter/t2.mp3"),ih.Z.loadSound("/assets/events/typewriter/t3.mp3"),ih.Z.loadSound("/assets/events/typewriter/t4.mp3"),ih.Z.loadSound("/assets/events/typewriter/t5.mp3"),ih.Z.loadSound("/assets/events/typewriter/t6.mp3"),ih.Z.loadSound("/assets/events/typewriter/t7.mp3"),ih.Z.loadSound("/assets/events/typewriter/t8.mp3"),ih.Z.loadSound("/assets/events/typewriter/t9.mp3")];for(const t of this.$store.keySounds)ih.Z.setSoundVolume(t,.15)},el:"#app",router:rh,render:t=>t(el)});window.MTIProjectId="bd0edc21-d268-43fe-b972-67b8145cb492",(Mb=document.createElement("script")).type="text/javascript",Mb.async="true",Mb.src="/assets/js/mtiFontTrackingCode.js",(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(Mb)},1789:function(){"use strict";window.fp_fadingEffectExtension=function(){var t,e,n,r,i=this,o=window.fp_utils,s=window.fullpage_api,a=o.$,u=s.getFullpageData(),l=u.options,c=u.internals,h=l.scrollingSpeed,f=".active",d=".fp-section",p=d+f,v=".fp-slide",m=".fp-slidesContainer",g="fp-fading-animations",y="#"+g,_="fp-fading-sheet",b="#"+_;function x(t){t.detail?(r=!1,R()):(r=n.autoScrolling,C())}function T(){var t;(t=a(".fullpage-wrapper")[0]).addEventListener("afterResponsive",x),t.addEventListener("destroy",R);var i=l.scrollOverflowHandler;l.scrollOverflowHandler=null,n=o.deepExtend({},l),r=n.autoScrolling,l.scrollOverflowHandler=i,n.scrollOverflowHandler=i,l.scrollBar=!1,E("sections")&&s.setAutoScrolling(!0);var u=E("slides")?O(v):"",h=E("sections")?O(d):"";l.fadingEffect&&w(_,h+u),c.removeAnimation(a(m)),clearTimeout(e),e=setTimeout(S,300)}function E(t){return!0===l.fadingEffect||l.fadingEffect===t}function w(t,e){if(!a("#"+t).length){var n=document.head||document.getElementsByTagName("head")[0];o.appendTo((r=t,i=e,(s=document.createElement("style")).type="text/css",s.id=r,s.styleSheet?s.styleSheet.cssText=i:s.appendChild(document.createTextNode(i)),s),n)}var r,i,s}function S(){t="all "+h+"ms "+l.easingcss3;var e=E("slides")?A(v):"",n=E("sections")?A(d):"";w(g,e+n)}function A(e){return e+"{-webkit-transition: "+t+";transition: "+t+";}"}
2function O(t){return(t===v?".fp-slidesContainer {width: 100% !important;transform: none!important;}":"")+t+"{width: 100% !important;position: absolute !important;left: 0;top: 0;visibility: hidden;opacity: 0;}"+t+".active{visibility: visible;opacity: 1;z-index: 1}"}function R(){if(o.remove(a(y)),P()){var t=a(".fp-slide.active",a(p)[0])[0],e=a(m,a(p)[0]);c.removeAnimation(e),o.remove(a(b)),l.scrollBar=n.scrollBar,s.setAutoScrolling(r),null!=t&&c.silentLandscapeScroll(t)}}function P(){return a(b).length}function C(){l.fadingEffect=n.fadingEffect,P()||(T(),window.scrollTo(0,0),c.silentScroll(0))}i.update=function(t){o.remove(a(y)),h=t,S()},i.turnOn=C,i.turnOff=R,i.apply=T,i.c=c.c;var I=i["common".charAt(0)];return"complete"===document.readyState&&I("fadingEffect"),window.addEventListener("load",(function(){I("fadingEffect")})),i}},3526:function(){window.fp_resetSlidersExtension=function(){var t=this,e=window.fp_utils,n=window.fullpage_api,r=e.$,i=n.getFullpageData().internals,o=".fullpage-wrapper",s=".fp-slide";t.apply=function(t){if(!t.localIsResizing){var n=r(".fp-section")[t.leavingSection-1];if(r(s,n).length){var a=r(".fp-initial",n)[0]||r(s,n)[0];e.trigger(r(o)[0],"onResetSliders",{destination:a,leavingSection:n,destination:a}),i.silentLandscapeScroll(a,"internal"),e.trigger(r(o)[0],"onEndResetSliders",{destination:a,leavingSection:n})}}},t.c=i.c;var a=t["common".charAt(0)];return"complete"===document.readyState&&a("resetSliders"),window.addEventListener("load",(function(){a("resetSliders")})),t}},6013:function(){window.fp_scrollHorizontallyExtension=function(){var t=this,e=window.fp_utils,n=window.fullpage_api,r=e,i=e.$,o=n.getFullpageData(),s=o.options,a=o.internals;t.getScrollSection=function(t,e){var o,a=i(".fp-section.active")[0],u=i(".fp-slide",a).length,l=s.scrollHorizontally&&1<u,c=1===i(".fp-section").length;if(l)if(o=i(".fp-slide.active",a)[0],"down"===t){if(r.index(o)+1!==u||c)return n.moveSlideRight}else if(r.index(o)||c)return n.moveSlideLeft;return e},t.c=a.c;var u=t["common".charAt(0)];return"complete"===document.readyState&&u("scrollHorizontally"),window.addEventListener("load",(function(){u("scrollHorizontally")})),t}},6075:function(){window.fp_scrollOverflowResetExtension=function(){var t=this,e=window.fp_utils,n=window.fullpage_api,r=e.$,i=n.getFullpageData(),o=i.options,s=i.internals;t.reset=function(){var n=e.hasClass(t.prevDestiny,"fp-slide");if(t.prevDestiny&&(1==o.scrollOverflowReset||"slides"==o.scrollOverflowReset&&n||"sections"==o.scrollOverflowReset&&!n)){var i=r(".fp-scrollable",t.prevDestiny);null!=i&&i.forEach((function(t){var e=t.fp_iscrollInstance;null!=e&&e.scrollTo(0,0)}))}},t.setPrevious=function(e){t.prevDestiny=e},t.c=s.c;var a=t["common".charAt(0)];return"complete"===document.readyState&&a("scrollOverflowReset"),window.addEventListener("load",(function(){a("scrollOverflowReset")})),t}},8509:function(t,e,n){"use strict";n.r(e),n.d(e,{disableBodyScroll:function(){return m},clearAllBodyScrollLocks:function(){return g},enableBodyScroll:function(){return y}});var r=!1;if("undefined"!=typeof window){var i={get passive(){r=!0}};window.addEventListener("testPassive",null,i),window.removeEventListener("testPassive",null,i)}var o="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),s=[],a=!1,u=-1,l=void 0,c=void 0,h=void 0,f=function(t){return s.some((function(e){return!(!e.options.allowTouchMove||!e.options.allowTouchMove(t))}))},d=function(t){var e=t||window.event;return!!f(e.target)||(e.touches.length>1||(e.preventDefault&&e.preventDefault(),!1))},p=function(){void 0!==h&&(document.body.style.paddingRight=h,h=void 0),void 0!==l&&(document.body.style.overflow=l,l=void 0)},v=function(){if(void 0!==c){var t=-parseInt(document.body.style.top,10),e=-parseInt(document.body.style.left,10);document.body.style.position=c.position,document.body.style.top=c.top,document.body.style.left=c.left,window.scrollTo(e,t),c=void 0}},m=function(t,e){if(t){if(!s.some((function(e){return e.targetElement===t}
2))){var n={targetElement:t,options:e||{}};s=[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(s),[n]),o?window.requestAnimationFrame((function(){if(void 0===c){c={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var t=window,e=t.scrollY,n=t.scrollX,r=t.innerHeight;document.body.style.position="fixed",document.body.style.top=-e,document.body.style.left=-n,setTimeout((function(){return window.requestAnimationFrame((function(){var t=r-window.innerHeight;t&&e>=r&&(document.body.style.top=-(e+t))}))}),300)}})):function(t){if(void 0===h){var e=!!t&&!0===t.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;if(e&&n>0){var r=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);h=document.body.style.paddingRight,document.body.style.paddingRight=r+n+"px"}}void 0===l&&(l=document.body.style.overflow,document.body.style.overflow="hidden")}(e),o&&(t.ontouchstart=function(t){1===t.targetTouches.length&&(u=t.targetTouches[0].clientY)},t.ontouchmove=function(e){1===e.targetTouches.length&&function(t,e){var n=t.targetTouches[0].clientY-u;!f(t.target)&&(e&&0===e.scrollTop&&n>0||function(t){return!!t&&t.scrollHeight-t.scrollTop<=t.clientHeight}(e)&&n<0?d(t):t.stopPropagation())}(e,t)},a||(document.addEventListener("touchmove",d,r?{passive:!1}:void 0),a=!0))}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")},g=function(){o&&(s.forEach((function(t){t.targetElement.ontouchstart=null,t.targetElement.ontouchmove=null})),a&&(document.removeEventListener("touchmove",d,r?{passive:!1}:void 0),a=!1),u=-1),o?v():p(),s=[]},y=function(t){t?(s=s.filter((function(e){return e.targetElement!==t})),o&&(t.ontouchstart=null,t.ontouchmove=null,a&&0===s.length&&(document.removeEventListener("touchmove",d,r?{passive:!1}:void 0),a=!1)),o?v():p()):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")}},6077:function(t,e,n){var r=n(111);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},1223:function(t,e,n){var r=n(5112),i=n(30),o=n(3070),s=r("unscopables"),a=Array.prototype;null==a[s]&&o.f(a,s,{configurable:!0,value:i(null)}),t.exports=function(t){a[s][t]=!0}},1530:function(t,e,n){"use strict";var r=n(8710).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},9670:function(t,e,n){var r=n(111);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},1318:function(t,e,n){var r=n(5656),i=n(7466),o=n(1400),s=function(t){return function(e,n,s){var a,u=r(e),l=i(u.length),c=o(s,l);if(t&&n!=n){for(;l>c;)if((a=u[c++])!=a)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===n)return t||c||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},4326:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},9920:function(t,e,n){var r=n(6656),i=n(3887),o=n(1236),s=n(3070);t.exports=function(t,e){for(var n=i(e),a=s.f,u=o.f,l=0;l<n.length;l++){var c=n[l];r(t,c)||a(t,c,u(e,c))}}},8544:function(t,e,n){var r=n(7293);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},4994:function(t,e,n){"use strict";var r=n(3383).IteratorPrototype,i=n(30),o=n(9114),s=n(8003),a=n(7497),u=function(){return this};t.exports=function(t,e,n){var l=e+" Iterator";return t.prototype=i(r,{next:o(1,n)}),s(t,l,!1,!0),a[l]=u,t}},8880:function(t,e,n){var r=n(9781),i=n(3070),o=n(9114);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9114:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},654:function(t,e,n){"use strict";var r=n(2109),i=n(4994),o=n(9518),s=n(7674),a=n(8003),u=n(8880),l=n(1320),c=n(5112),h=n(1913),f=n(7497),d=n(3383),p=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,m=c("iterator"),g="keys",y="values",_="entries",b=function(){return this};t.exports=function(t,e,n,c,d,x,T){i(n,e,c);var E,w,S,A=function(t){if(t===d&&I)return I;if(!v&&t in P)return P[t];switch(t){case g:case y:case _:return function(){return new n(this,t)}}return function(){return new n(this)}},O=e+" Iterator",R=!1,P=t.prototype,C=P[m]||P["@@iterator"]||d&&P[d],I=!v&&C||A(d),M="Array"==e&&P.entries||C;if(M&&(E=o(M.call(new t)),p!==Object.prototype&&E.next&&(h||o(E)===p||(s?s(E,p):"function"!=typeof E[m]&&u(E,m,b)),a(E,O,!0,!0),h&&(f[O]=b))),d==y&&C&&C.name!==y&&(R=!0,I=function(){return C.call(this)}),h&&!T||P[m]===I||u(P,m,I),f[e]=I,d)if(w={values:A(y),keys:x?I:A(g),entries:A(_)},T)for(S in w)(v||R||!(S in P))&&l(P,S,w[S]);else r({target:e,proto:!0,forced:v||R},w);return w}},9781:function(t,e,n){var r=n(7293);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}}
vendor: 17,070 bytes, line 2
2)[1]}))},317:function(t,e,n){var r=n(7854),i=n(111),o=r.document,s=i(o)&&i(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},8324:function(t){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},5268:function(t,e,n){var r=n(4326),i=n(7854);t.exports="process"==r(i.process)},8113:function(t,e,n){var r=n(5005);t.exports=r("navigator","userAgent")||""},7392:function(t,e,n){var r,i,o=n(7854),s=n(8113),a=o.process,u=a&&a.versions,l=u&&u.v8;l?i=(r=l.split("."))[0]+r[1]:s&&(!(r=s.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/))&&(i=r[1]),t.exports=i&&+i},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,n){var r=n(7854),i=n(1236).f,o=n(8880),s=n(1320),a=n(3505),u=n(9920),l=n(4705);t.exports=function(t,e){var n,c,h,f,d,p=t.target,v=t.global,m=t.stat;if(n=v?r:m?r[p]||a(p,{}):(r[p]||{}).prototype)for(c in e){if(f=e[c],h=t.noTargetGet?(d=i(n,c))&&d.value:n[c],!l(v?c:p+(m?".":"#")+c,t.forced)&&void 0!==h){if(typeof f==typeof h)continue;u(f,h)}(t.sham||h&&h.sham)&&o(f,"sham",!0),s(n,c,f,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},7007:function(t,e,n){"use strict";n(4916);var r=n(1320),i=n(7293),o=n(5112),s=n(8880),a=o("species"),u=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),l="$0"==="a".replace(/./,"$0"),c=o("replace"),h=!!/./[c]&&""===/./[c]("a","$0"),f=!i((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,c){var d=o(t),p=!i((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),v=p&&!i((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[a]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return e=!0,null},n[d](""),!e}));if(!p||!v||"replace"===t&&(!u||!l||h)||"split"===t&&!f){var m=/./[d],g=n(d,""[t],(function(t,e,n,r,i){return e.exec===RegExp.prototype.exec?p&&!i?{done:!0,value:m.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:h}),y=g[0],_=g[1];r(String.prototype,t,y),r(RegExp.prototype,d,2==e?function(t,e){return _.call(t,this,e)}:function(t){return _.call(t,this)})}c&&s(RegExp.prototype[d],"sham",!0)}},5005:function(t,e,n){var r=n(857),i=n(7854),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t])||o(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},647:function(t,e,n){var r=n(7908),i=Math.floor,o="".replace,s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,u,l,c){var h=n+t.length,f=u.length,d=a;return void 0!==l&&(l=r(l),d=s),o.call(c,d,(function(r,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(h);case"<":s=l[o.slice(1,-1)];break;default:var a=+o;if(0===a)return r;if(a>f){var c=i(a/10);return 0===c?r:c<=f?void 0===u[c-1]?o.charAt(1):u[c-1]+o.charAt(1):r}s=u[a-1]}return void 0===s?"":s}))}},7854:function(t,e,n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},6656:function(t,e,n){var r=n(7908),i={}.hasOwnProperty;t.exports=function(t,e){return i.call(r(t),e)}},3501:function(t){t.exports={}},490:function(t,e,n){var r=n(5005);t.exports=r("document","documentElement")},4664:function(t,e,n){var r=n(9781),i=n(7293),o=n(317);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,n){var r=n(7293),i=n(4326),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},2788:function(t,e,n){var r=n(5465),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},9909:function(t,e,n){var r,i,o,s=n(8536),a=n(7854),u=n(111),l=n(8880),c=n(6656),h=n(5465),f=n(6200),d=n(3501),p="Object already initialized",v=a.WeakMap;if(s){var m=h.state||(h.state=new v),g=m.get,y=m.has,_=m.set;r=function(t,e){if(y.call(m,t))throw new TypeError(p);return e.facade=t,_.call(m,t,e),e},i=function(t){return g.call(m,t)||{}},o=function(t){return y.call(m,t)}}else{var b=f("state");d[b]=!0,r=function(t,e){if(c(t,b))throw new TypeError(p);return e.facade=t,l(t,b,e),e},i=function(t){return c(t,b)?t[b]:{}},o=function(t){return c(t,b)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},4705:function(t,e,n){var r=n(7293),i=/#|\.prototype\./,o=function(t,e){var n=a[s(t)];return n==l||n!=u&&("function"==typeof e?r(e):!!e)},s=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o},111:function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},1913:function(t){t.exports=!1},3383:function(t,e,n){"use strict";var r,i,o,s=n(7293),a=n(9518),u=n(8880),l=n(6656),c=n(5112),h=n(1913),f=c("iterator"),d=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):d=!0);var p=null==r||s((function(){var t={};return r[f].call(t)!==t}));p&&(r={}),h&&!p||l(r,f)||u(r,f,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},7497:function(t){t.exports={}},133:function(t,e,n){var r=n(5268),i=n(7392),o=n(7293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){return!Symbol.sham&&(r?38===i:i>37&&i<41)}))},8536:function(t,e,n){var r=n(7854),i=n(2788),o=r.WeakMap;t.exports="function"==typeof o&&/native code/.test(i(o))},30:function(t,e,n){var r,i=n(9670),o=n(6048),s=n(748),a=n(3501),u=n(490),l=n(317),c=n(6200),h=c("IE_PROTO"),f=function(){},d=function(t){return"<script>"+t+"</"+"script>"},p=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;p=r?function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):((e=l("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F);for(var n=s.length;n--;)delete p.prototype[s[n]];return p()};a[h]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(f.prototype=i(t),n=new f,f.prototype=null,n[h]=t):n=p(),void 0===e?n:o(n,e)}},6048:function(t,e,n){var r=n(9781),i=n(3070),o=n(9670),s=n(1956);t.exports=r?Object.defineProperties:function(t,e){o(t);for(var n,r=s(e),a=r.length,u=0;a>u;)i.f(t,n=r[u++],e[n]);return t}},3070:function(t,e,n){var r=n(9781),i=n(4664),o=n(9670),s=n(7593),a=Object.defineProperty;e.f=r?a:function(t,e,n){if(o(t),e=s(e,!0),o(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},1236:function(t,e,n){var r=n(9781),i=n(5296),o=n(9114),s=n(5656),a=n(7593),u=n(6656),l=n(4664),c=Object.getOwnPropertyDescriptor;e.f=r?c:function(t,e){if(t=s(t),e=a(e,!0),l)try{return c(t,e)}catch(t){}if(u(t,e))return o(!i.f.call(t,e),t[e])}},8006:function(t,e,n){var r=n(6324),i=n(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},9518:function(t,e,n){var r=n(6656),i=n(7908),o=n(6200),s=n(8544),a=o("IE_PROTO"),u=Object.prototype;t.exports=s?Object.getPrototypeOf:function(t){return t=i(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},6324:function(t,e,n){var r=n(6656),i=n(5656),o=n(1318).indexOf,s=n(3501);t.exports=function(t,e){var n,a=i(t),u=0,l=[];for(n in a)!r(s,n)&&r(a,n)&&l.push(n);for(;e.length>u;)r(a,n=e[u++])&&(~o(l,n)||l.push(n));return l}},1956:function(t,e,n){var r=n(6324),i=n(748);t.exports=Object.keys||function(t){return r(t,i)}},5296:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);e.f=i?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},7674:function(t,e,n){var r=n(9670),i=n(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,o){return r(n),i(o),e?t.call(n,o):n.__proto__=o,n}}():void 0)},3887:function(t,e,n){var r=n(5005),i=n(8006),o=n(5181),s=n(9670);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(s(t)),n=o.f;return n?e.concat(n(t)):e}},857:function(t,e,n){var r=n(7854);t.exports=r},1320:function(t,e,n){var r=n(7854),i=n(8880),o=n(6656),s=n(3505),a=n(2788),u=n(9909),l=u.get,c=u.enforce,h=String(String).split("String");(t.exports=function(t,e,n,a){var u,l=!!a&&!!a.unsafe,f=!!a&&!!a.enumerable,d=!!a&&!!a.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||i(n,"name",e),(u=c(n)).source||(u.source=h.join("string"==typeof e?e:""))),t!==r?(l?!d&&t[e]&&(f=!0):delete t[e],f?t[e]=n:i(t,e,n)):f?t[e]=n:s(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||a(this)}))},7651:function(t,e,n){var r=n(4326),i=n(2261);t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var o=n.call(t,e);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},2261:function(t,e,n){"use strict";var r,i,o=n(7066),s=n(2999),a=n(2309),u=RegExp.prototype.exec,l=a("native-string-replace",String.prototype.replace),c=u,h=(r=/a/,i=/b*/g,u.call(r,"a"),u.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),f=s.UNSUPPORTED_Y||s.BROKEN_CARET,d=void 0!==/()??/.exec("")[1];(h||d||f)&&(c=function(t){var e,n,r,i,s=this,a=f&&s.sticky,c=o.call(s),p=s.source,v=0,m=t;return a&&(-1===(c=c.replace("y","")).indexOf("g")&&(c+="g"),m=String(t).slice(s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==t[s.lastIndex-1])&&(p="(?: "+p+")",m=" "+m,v++),n=new RegExp("^(?:"+p+")",c)),d&&(n=new RegExp("^"+p+"$(?!\\s)",c)),h&&(e=s.lastIndex),r=u.call(a?n:s,m),a?r?(r.input=r.input.slice(v),r[0]=r[0].slice(v),r.index=s.lastIndex,s.lastIndex+=r[0].length):s.lastIndex=0:h&&r&&(s.lastIndex=s.global?r.index+r[0].length:e),d&&r&&r.length>1&&l.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r}),t.exports=c},7066:function(t,e,n){"use strict";var r=n(9670);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},2999:function(t,e,n){"use strict";var r=n(7293);function i(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},4488:function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},3505:function(t,e,n){var r=n(7854),i=n(8880);t.exports=function(t,e){try{i(r,t,e)}catch(n){r[t]=e}return e}},8003:function(t,e,n){var r=n(3070).f,i=n(6656),o=n(5112)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},6200:function(t,e,n){var r=n(2309),i=n(9711),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},5465:function(t,e,n){var r=n(7854),i=n(3505),o="__core-js_shared__",s=r[o]||i(o,{});t.exports=s},2309:function(t,e,n){var r=n(1913),i=n(5465);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.11.3",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},8710:function(t,e,n){var r=n(9958),i=n(4488),o=function(t){return function(e,n){var o,s,a=String(i(e)),u=r(n),l=a.length;return u<0||u>=l?t?"":void 0:(o=a.charCodeAt(u))<55296||o>56319||u+1===l||(s=a.charCodeAt(u+1))<56320||s>57343?t?a.charAt(u):o:t?a.slice(u,u+2):s-56320+(o-55296<<10)+65536}};t.exports={codeAt:o(!1),charAt:o(!0)}},1400:function(t,e,n){var r=n(9958),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},5656:function(t,e,n){var r=n(8361),i=n(4488);t.exports=function(t){return r(i(t))}},9958:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},7466:function(t,e,n){var r=n(9958),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},7908:function(t,e,n){var r=n(4488);t.exports=function(t){return Object(r(t))}},7593:function(t,e,n){var r=n(111);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},9711:function(t){var e=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+n).toString(36)}},3307:function(t,e,n){var r=n(133);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5112:function(t,e,n){var r=n(7854),i=n(2309),o=n(6656),s=n(9711),a=n(133),u=n(3307),l=i("wks"),c=r.Symbol,h=u?c:c&&c.withoutSetter||s;t.exports=function(t){return o(l,t)&&(a||"string"==typeof l[t])||(a&&o(c,t)?l[t]=c[t]:l[t]=h("Symbol."+t)),l[t]}},6992:function(t,e,n){"use strict";var r=n(5656),i=n(1223),o=n(7497),s=n(9909),a=n(654),u="Array Iterator",l=s.set,c=s.getterFor(u);t.exports=a(Array,"Array",(function(t,e){l(this,{type:u,target:r(t),index:0,kind:e})}),(function(){var t=c(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},4916:function(t,e,n){"use strict";var r=n(2109),i=n(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},5306:function(t,e,n){"use strict";var r=n(7007),i=n(9670),o=n(7466),s=n(9958),a=n(4488),u=n(1530),l=n(647),c=n(7651),h=Math.max,f=Math.min;r("replace",2,(function(t,e,n,r){var d=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,p=r.REPLACE_KEEPS_$0,v=d?"$":"$0";return[function(n,r){var i=a(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,i,r):e.call(String(i),n,r)},function(t,r){if(!d&&p||"string"==typeof r&&-1===r.indexOf(v)){var a=n(e,t,this,r);if(a.done)return a.value}var m=i(t),g=String(this),y="function"==typeof r;y||(r=String(r));var _=m.global;if(_){var b=m.unicode;m.lastIndex=0}for(var x=[];;){var T=c(m,g);if(null===T)break;if(x.push(T),!_)break;""===String(T[0])&&(m.lastIndex=u(g,o(m.lastIndex),b))}for(var E,w="",S=0,A=0;A<x.length;A++){T=x[A];for(var O=String(T[0]),R=h(f(s(T.index),g.length),0),P=[],C=1;C<T.length;C++)P.push(void 0===(E=T[C])?E:String(E));var I=T.groups;if(y){var M=[O].concat(P,R,g);void 0!==I&&M.push(I);var D=String(r.apply(void 0,M))}else D=l(O,g,R,P,I,r);R>=S&&(w+=g.slice(S,R)+D,S=R+O.length)}return w+g.slice(S)}]}))},3948:function(t,e,n){var r=n(7854),i=n(8324),o=n(6992),s=n(8880),a=n(5112),u=a("iterator"),l=a("toStringTag"),c=o.values;for(var h in i){var f=r[h],d=f&&f.prototype;if(d){if(d[u]!==c)try{s(d,u,c)}catch(t){d[u]=c}if(d[l]||s(d,l,h),i[h])for(var p in o)if(d[p]!==o[p])try{s(d,p,o[p])}catch(t){d[p]=o[p]}}}},8834:function(t,e,n){"use strict";n.r(e);var r=n(3645),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".please-resize[data-v-d5415f9a]{display:none!important}.actual-content[data-v-d5415f9a]{display:block!important}@media (orientation:landscape) and (max-width:812px) and (max-height:549px){.please-resize[data-v-d5415f9a]{display:flex!important}.actual-content[data-v-d5415f9a]{display:none!important}}",""]),e.default=i},1850:function(t,e,n){"use strict";n.r(e);var r=n(3645),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".hero-link[data-v-7f6b9cba]{padding:10px;display:inline-block;cursor:pointer}.hero-link.from-transparent[data-v-7f6b9cba]{background-color:transparent;margin-left:-10px}.hero-link.from-transparent p[data-v-7f6b9cba]{color:#fff!important}.hero-link.from-transparent .dot[data-v-7f6b9cba]  circle,.hero-link.from-transparent .play[data-v-7f6b9cba]  path{f
2ill:#fff}.hero-link.from-white[data-v-7f6b9cba]{background-color:#fff}.hero-link.from-white p[data-v-7f6b9cba]{color:#000!important}.hero-link.from-white .dot[data-v-7f6b9cba]  circle,.hero-link.from-white .play[data-v-7f6b9cba]  path{fill:#000}.hero-link.from-black[data-v-7f6b9cba]{background-color:#000}.hero-link.from-black p[data-v-7f6b9cba]{color:#fff!important}.hero-link.from-black .dot[data-v-7f6b9cba]  circle,.hero-link.from-black .play[data-v-7f6b9cba]  path{fill:#fff}.hero-link:hover.to-transparent[data-v-7f6b9cba]{background-color:transparent}.hero-link:hover.to-transparent p[data-v-7f6b9cba]{color:#fff!important}.hero-link:hover.to-transparent .dot[data-v-7f6b9cba]  circle,.hero-link:hover.to-transparent .play[data-v-7f6b9cba]  path{fill:#fff}.hero-link:hover.to-white[data-v-7f6b9cba]{background-color:#fff}.hero-link:hover.to-white p[data-v-7f6b9cba]{color:#000!important}.hero-link:hover.to-white .dot[data-v-7f6b9cba]  circle,.hero-link:hover.to-white .play[data-v-7f6b9cba]  path{fill:#000}.hero-link:hover.to-black[data-v-7f6b9cba]{background-color:#000}.hero-link:hover.to-black p[data-v-7f6b9cba]{color:#fff!important}.hero-link:hover.to-black .dot[data-v-7f6b9cba]  circle,.hero-link:hover.to-black .play[data-v-7f6b9cba]  path{fill:#fff}",""]),e.default=i},3754:function(t,e,n){"use strict";n.r(e);var r=n(3645),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".cookie-bg[data-v-62ef9ab0]{background-color:#000;z-index:444443;opacity:0}.cookie-bg.opa[data-v-62ef9ab0]{opacity:.6}.cookie-wrapper[data-v-62ef9ab0]{z-index:444444}.cookie-container[data-v-62ef9ab0]{background-color:#fff;width:90%;max-width:1560px;overflow:auto}.cookie-container .info-text[data-v-62ef9ab0]  a{border-bottom:1px solid #000}.cookie-container .info-text[data-v-62ef9ab0]  a:hover{text-transform:none;color:#000}.option[data-v-62ef9ab0]{display:inline-flex;padding-left:34px;margin-right:1rem;min-height:24px;margin-bottom:10px;position:relative}.option .title[data-v-62ef9ab0]{font-weight:500}.option .consent-input[data-v-62ef9ab0]{position:absolute;z-index:2;opacity:0;top:3px;left:3px;transform:scale(1.5);padding:0}.option .consent-label[data-v-62ef9ab0]:after{position:absolute;top:.25rem;left:-1.5rem;display:block;width:17px;height:13px;content:\"\"}.option .consent-input:checked~.consent-label[data-v-62ef9ab0]:after{position:absolute;top:6px;left:4px;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='17' height='13' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000' fill-rule='nonzero'%3E%3Cpath d='M8.132 10.45L1.768 4.088.201 5.654l6.364 6.364z'/%3E%3Cpath d='M6.548 12.018L17 1.566 15.432 0 4.98 10.449z'/%3E%3C/g%3E%3C/svg%3E\")}.option .consent-label[data-v-62ef9ab0]{position:static;margin-bottom:0;vertical-align:top;margin-top:3px}.option .consent-label[data-v-62ef9ab0]:before{background-color:transparent!important;border-radius:0;box-shadow:none!important;position:absolute;content:\"\";height:24px;width:24px;top:0;left:0;border:1px solid #adb5bd;pointer-events:none;display:block}",""]),e.default=i},9048:function(t,e,n){"use strict";n.r(e);var r=n(3645),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".pixi-stage{width:100%;height:100%;position:absolute;display:block;z-index:0}.sound{z-index:133;position:fixed;right:0;top:0;cursor:pointer}.sound.hamburger-open svg .bg{fill:#7e7e7e}.sound.hamburger-open svg .sstrokes{fill:#fff}.sound svg{height:38px}.sound:hover svg .bg{opacity:1}",""]),e.default=i},3645:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var s=this[o][0];null!=s&&(i[s]=!0)}for(var a=0;a<t.length;a++){var u=[].concat(t[a]);r&&i[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),e.push(u))}},e}},9996:function(t){"use strict";var e=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===n}(t)}(t)};var n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(t,e){return!1!==e.clone&&e.isMergeableObject(t)?u((n=t,Array.isArray(n)?[]:{}),t,e):t;var n}function i(t,e,n){return t.concat(e).map((function(t){return r(t,n)}
vendor: 4,238 bytes, line 2
2))}function o(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(e){return t.propertyIsEnumerable(e)})):[]}(t))}function s(t,e){try{return e in t}catch(t){return!1}}function a(t,e,n){var i={};return n.isMergeableObject(t)&&o(t).forEach((function(e){i[e]=r(t[e],n)})),o(e).forEach((function(o){(function(t,e){return s(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,o)||(s(t,o)&&n.isMergeableObject(e[o])?i[o]=function(t,e){if(!e.customMerge)return u;var n=e.customMerge(t);return"function"==typeof n?n:u}(o,n)(t[o],e[o],n):i[o]=r(e[o],n))})),i}function u(t,n,o){(o=o||{}).arrayMerge=o.arrayMerge||i,o.isMergeableObject=o.isMergeableObject||e,o.cloneUnlessOtherwiseSpecified=r;var s=Array.isArray(n);return s===Array.isArray(t)?s?o.arrayMerge(t,n,o):a(t,n,o):r(n,o)}u.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,n){return u(t,n,e)}),{})};var l=u;t.exports=l},9187:function(t){"use strict";function e(t,e,o){o=o||2;var s,a,u,h,f,p,v,m=e&&e.length,g=m?e[0]*o:t.length,y=n(t,0,g,o,!0),_=[];if(!y||y.next===y.prev)return _;if(m&&(y=function(t,e,i,o){var s,a,u,h=[];for(s=0,a=e.length;s<a;s++)(u=n(t,e[s]*o,s<a-1?e[s+1]*o:t.length,o,!1))===u.next&&(u.steiner=!0),h.push(d(u));for(h.sort(l),s=0;s<h.length;s++)c(h[s],i),i=r(i,i.next);return i}(t,e,y,o)),t.length>80*o){s=u=t[0],a=h=t[1];for(var b=o;b<g;b+=o)(f=t[b])<s&&(s=f),(p=t[b+1])<a&&(a=p),f>u&&(u=f),p>h&&(h=p);v=0!==(v=Math.max(u-s,h-a))?1/v:0}return i(y,_,o,s,a,v),_}function n(t,e,n,r,i){var o,s;if(i===A(t,e,n,r)>0)for(o=e;o<n;o+=r)s=E(o,t[o],t[o+1],s);else for(o=n-r;o>=e;o-=r)s=E(o,t[o],t[o+1],s);return s&&g(s,s.next)&&(w(s),s=s.next),s}function r(t,e){if(!t)return t;e||(e=t);var n,r=t;do{if(n=!1,r.steiner||!g(r,r.next)&&0!==m(r.prev,r,r.next))r=r.next;else{if(w(r),(r=e=r.prev)===r.next)break;n=!0}}while(n||r!==e);return e}function i(t,e,n,l,c,h,d){if(t){!d&&h&&function(t,e,n,r){var i=t;do{null===i.z&&(i.z=f(i.x,i.y,e,n,r)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,function(t){var e,n,r,i,o,s,a,u,l=1;do{for(n=t,t=null,o=null,s=0;n;){for(s++,r=n,a=0,e=0;e<l&&(a++,r=r.nextZ);e++);for(u=l;a>0||u>0&&r;)0!==a&&(0===u||!r||n.z<=r.z)?(i=n,n=n.nextZ,a--):(i=r,r=r.nextZ,u--),o?o.nextZ=i:t=i,i.prevZ=o,o=i;n=r}o.nextZ=null,l*=2}while(s>1)}(i)}(t,l,c,h);for(var p,v,m=t;t.prev!==t.next;)if(p=t.prev,v=t.next,h?s(t,l,c,h):o(t))e.push(p.i/n),e.push(t.i/n),e.push(v.i/n),w(t),t=v.next,m=v.next;else if((t=v)===m){d?1===d?i(t=a(r(t),e,n),e,n,l,c,h,2):2===d&&u(t,e,n,l,c,h):i(r(t),e,n,l,c,h,1);break}}}function o(t){var e=t.prev,n=t,r=t.next;if(m(e,n,r)>=0)return!1;for(var i=t.next.next;i!==t.prev;){if(p(e.x,e.y,n.x,n.y,r.x,r.y,i.x,i.y)&&m(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}function s(t,e,n,r){var i=t.prev,o=t,s=t.next;if(m(i,o,s)>=0)return!1;for(var a=i.x<o.x?i.x<s.x?i.x:s.x:o.x<s.x?o.x:s.x,u=i.y<o.y?i.y<s.y?i.y:s.y:o.y<s.y?o.y:s.y,l=i.x>o.x?i.x>s.x?i.x:s.x:o.x>s.x?o.x:s.x,c=i.y>o.y?i.y>s.y?i.y:s.y:o.y>s.y?o.y:s.y,h=f(a,u,e,n,r),d=f(l,c,e,n,r),v=t.prevZ,g=t.nextZ;v&&v.z>=h&&g&&g.z<=d;){if(v!==t.prev&&v!==t.next&&p(i.x,i.y,o.x,o.y,s.x,s.y,v.x,v.y)&&m(v.prev,v,v.next)>=0)return!1;if(v=v.prevZ,g!==t.prev&&g!==t.next&&p(i.x,i.y,o.x,o.y,s.x,s.y,g.x,g.y)&&m(g.prev,g,g.next)>=0)return!1;g=g.nextZ}for(;v&&v.z>=h;){if(v!==t.prev&&v!==t.next&&p(i.x,i.y,o.x,o.y,s.x,s.y,v.x,v.y)&&m(v.prev,v,v.next)>=0)return!1;v=v.prevZ}for(;g&&g.z<=d;){if(g!==t.prev&&g!==t.next&&p(i.x,i.y,o.x,o.y,s.x,s.y,g.x,g.y)&&m(g.prev,g,g.next)>=0)return!1;g=g.nextZ}return!0}function a(t,e,n){var i=t;do{var o=i.prev,s=i.next.next;!g(o,s)&&y(o,i,i.next,s)&&x(o,s)&&x(s,o)&&(e.push(o.i/n),e.push(i.i/n),e.push(s.i/n),w(i),w(i.next),i=t=s),i=i.next}while(i!==t);return r(i)}function u(t,e,n,o,s,a){var u=t;do{for(var l=u.next.next;l!==u.prev;){if(u.i!==l.i&&v(u,l)){var c=T(u,l);return u=r(u,u.next),c=r(c,c.next),i(u,e,n,o,s,a),void i(c,e,n,o,s,a)}l=l.next}u=u.next}while(u!==t)}function l(t,e){return t.x-e.x}function c(t,e){if(e=function(t,e){var n,r=e,i=t.x,o=t.y,s=-1/0;do{if(o<=r.y&&o>=r.next.y&&r.next.y!==r.y){var a=r.x+(o-r.y)*(r.next.x-r.x)/(r.next.y-r.y
vendor: 4,482 bytes, line 2
2);if(a<=i&&a>s){if(s=a,a===i){if(o===r.y)return r;if(o===r.next.y)return r.next}n=r.x<r.next.x?r:r.next}}r=r.next}while(r!==e);if(!n)return null;if(i===s)return n;var u,l=n,c=n.x,f=n.y,d=1/0;r=n;do{i>=r.x&&r.x>=c&&i!==r.x&&p(o<f?i:s,o,c,f,o<f?s:i,o,r.x,r.y)&&(u=Math.abs(o-r.y)/(i-r.x),x(r,t)&&(u<d||u===d&&(r.x>n.x||r.x===n.x&&h(n,r)))&&(n=r,d=u)),r=r.next}while(r!==l);return n}(t,e)){var n=T(e,t);r(e,e.next),r(n,n.next)}}function h(t,e){return m(t.prev,t,e.prev)<0&&m(e.next,t,t.next)<0}function f(t,e,n,r,i){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-n)*i)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-r)*i)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function d(t){var e=t,n=t;do{(e.x<n.x||e.x===n.x&&e.y<n.y)&&(n=e),e=e.next}while(e!==t);return n}function p(t,e,n,r,i,o,s,a){return(i-s)*(e-a)-(t-s)*(o-a)>=0&&(t-s)*(r-a)-(n-s)*(e-a)>=0&&(n-s)*(o-a)-(i-s)*(r-a)>=0}function v(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&y(n,n.next,t,e))return!0;n=n.next}while(n!==t);return!1}(t,e)&&(x(t,e)&&x(e,t)&&function(t,e){var n=t,r=!1,i=(t.x+e.x)/2,o=(t.y+e.y)/2;do{n.y>o!=n.next.y>o&&n.next.y!==n.y&&i<(n.next.x-n.x)*(o-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next}while(n!==t);return r}(t,e)&&(m(t.prev,t,e.prev)||m(t,e.prev,e))||g(t,e)&&m(t.prev,t,t.next)>0&&m(e.prev,e,e.next)>0)}function m(t,e,n){return(e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function g(t,e){return t.x===e.x&&t.y===e.y}function y(t,e,n,r){var i=b(m(t,e,n)),o=b(m(t,e,r)),s=b(m(n,r,t)),a=b(m(n,r,e));return i!==o&&s!==a||(!(0!==i||!_(t,n,e))||(!(0!==o||!_(t,r,e))||(!(0!==s||!_(n,t,r))||!(0!==a||!_(n,e,r)))))}function _(t,e,n){return e.x<=Math.max(t.x,n.x)&&e.x>=Math.min(t.x,n.x)&&e.y<=Math.max(t.y,n.y)&&e.y>=Math.min(t.y,n.y)}function b(t){return t>0?1:t<0?-1:0}function x(t,e){return m(t.prev,t,t.next)<0?m(t,e,t.next)>=0&&m(t,t.prev,e)>=0:m(t,e,t.prev)<0||m(t,t.next,e)<0}function T(t,e){var n=new S(t.i,t.x,t.y),r=new S(e.i,e.x,e.y),i=t.next,o=e.prev;return t.next=e,e.prev=t,n.next=i,i.prev=n,r.next=n,n.prev=r,o.next=r,r.prev=o,r}function E(t,e,n,r){var i=new S(t,e,n);return r?(i.next=r.next,i.prev=r,r.next.prev=i,r.next=i):(i.prev=i,i.next=i),i}function w(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function S(t,e,n){this.i=t,this.x=e,this.y=n,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function A(t,e,n,r){for(var i=0,o=e,s=n-r;o<n;o+=r)i+=(t[s]-t[o])*(t[o+1]+t[s+1]),s=o;return i}t.exports=e,t.exports.default=e,e.deviation=function(t,e,n,r){var i=e&&e.length,o=i?e[0]*n:t.length,s=Math.abs(A(t,0,o,n));if(i)for(var a=0,u=e.length;a<u;a++){var l=e[a]*n,c=a<u-1?e[a+1]*n:t.length;s-=Math.abs(A(t,l,c,n))}var h=0;for(a=0;a<r.length;a+=3){var f=r[a]*n,d=r[a+1]*n,p=r[a+2]*n;h+=Math.abs((t[f]-t[p])*(t[d+1]-t[f+1])-(t[f]-t[d])*(t[p+1]-t[f+1]))}return 0===s&&0===h?0:Math.abs((h-s)/s)},e.flatten=function(t){for(var e=t[0][0].length,n={vertices:[],holes:[],dimensions:e},r=0,i=0;i<t.length;i++){for(var o=0;o<t[i].length;o++)for(var s=0;s<e;s++)n.vertices.push(t[i][o][s]);i>0&&(r+=t[i-1].length,n.holes.push(r))}return n}},6729:function(t){"use strict";var e=Object.prototype.hasOwnProperty,n="~";function r(){}function i(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function o(t,e,r,o,s){if("function"!=typeof r)throw new TypeError("The listener must be a function");var a=new i(r,o||t,s),u=n?n+e:e;return t._events[u]?t._events[u].fn?t._events[u]=[t._events[u],a]:t._events[u].push(a):(t._events[u]=a,t._eventsCount++),t}function s(t,e){0==--t._eventsCount?t._events=new r:delete t._events[e]}function a(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),a.prototype.eventNames=function(){var t,r,i=[];if(0===this._eventsCount)return i;for(r in t=this._events)e.call(t,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i},a.prototype.listeners=function(t){var e=n?n+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,s=new Array(o);i<o;i++)s[i]=r[i].fn;return s},a.prototype.listenerCount=function(t){var e=n?n+t:t,r=this._events[e];return r?r.fn?1:r.length:0},a.prototype.emit=function(t,e,r,i,o,s){var a=n?n+t:t;if(!this._events[a])return!1;var u,l,c=this._events[a],h=arguments.length;
2if(c.fn){switch(c.once&&this.removeListener(t,c.fn,void 0,!0),h){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,e),!0;case 3:return c.fn.call(c.context,e,r),!0;case 4:return c.fn.call(c.context,e,r,i),!0;case 5:return c.fn.call(c.context,e,r,i,o),!0;case 6:return c.fn.call(c.context,e,r,i,o,s),!0}for(l=1,u=new Array(h-1);l<h;l++)u[l-1]=arguments[l];c.fn.apply(c.context,u)}else{var f,d=c.length;for(l=0;l<d;l++)switch(c[l].once&&this.removeListener(t,c[l].fn,void 0,!0),h){case 1:c[l].fn.call(c[l].context);break;case 2:c[l].fn.call(c[l].context,e);break;case 3:c[l].fn.call(c[l].context,e,r);break;case 4:c[l].fn.call(c[l].context,e,r,i);break;default:if(!u)for(f=1,u=new Array(h-1);f<h;f++)u[f-1]=arguments[f];c[l].fn.apply(c[l].context,u)}}return!0},a.prototype.on=function(t,e,n){return o(this,t,e,n,!1)},a.prototype.once=function(t,e,n){return o(this,t,e,n,!0)},a.prototype.removeListener=function(t,e,r,i){var o=n?n+t:t;if(!this._events[o])return this;if(!e)return s(this,o),this;var a=this._events[o];if(a.fn)a.fn!==e||i&&!a.once||r&&a.context!==r||s(this,o);else{for(var u=0,l=[],c=a.length;u<c;u++)(a[u].fn!==e||i&&!a[u].once||r&&a[u].context!==r)&&l.push(a[u]);l.length?this._events[o]=1===l.length?l[0]:l:s(this,o)}return this},a.prototype.removeAllListeners=function(t){var e;return t?(e=n?n+t:t,this._events[e]&&s(this,e)):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=n,a.EventEmitter=a,t.exports=a},9962:function(t,e,n){var r;!function(i,o,s){var a=i.requestAnimationFrame||i.webkitRequestAnimationFrame||i.mozRequestAnimationFrame||i.oRequestAnimationFrame||i.msRequestAnimationFrame||function(t){i.setTimeout(t,1e3/60)},u=function(){var t={},e=o.createElement("div").style,n=function(){for(var t=["t","webkitT","MozT","msT","OT"],n=0,r=t.length;n<r;n++)if(t[n]+"ransform"in e)return t[n].substr(0,t[n].length-1);return!1}();function r(t){return!1!==n&&(""===n?t:n+t.charAt(0).toUpperCase()+t.substr(1))}t.getTime=Date.now||function(){return(new Date).getTime()},t.extend=function(t,e){for(var n in e)t[n]=e[n]},t.addEvent=function(t,e,n,r){t.addEventListener(e,n,!!r)},t.removeEvent=function(t,e,n,r){t.removeEventListener(e,n,!!r)},t.prefixPointerEvent=function(t){return i.MSPointerEvent?"MSPointer"+t.charAt(7).toUpperCase()+t.substr(8):t},t.momentum=function(t,e,n,r,i,o){var a,u,l=t-e,c=s.abs(l)/n;return u=c/(o=void 0===o?6e-4:o),(a=t+c*c/(2*o)*(l<0?-1:1))<r?(a=i?r-i/2.5*(c/8):r,u=(l=s.abs(a-t))/c):a>0&&(a=i?i/2.5*(c/8):0,u=(l=s.abs(t)+a)/c),{destination:s.round(a),duration:u}};var a=r("transform");return t.extend(t,{hasTransform:!1!==a,hasPerspective:r("perspective")in e,hasTouch:"ontouchstart"in i,hasPointer:!(!i.PointerEvent&&!i.MSPointerEvent),hasTransition:r("transition")in e}),t.isBadAndroid=function(){var t=i.navigator.appVersion;if(/Android/.test(t)&&!/Chrome\/\d/.test(t)){var e=t.match(/Safari\/(\d+.\d)/);return!(e&&"object"==typeof e&&e.length>=2)||parseFloat(e[1])<535.19}return!1}(),t.extend(t.style={},{transform:a,transitionTimingFunction:r("transitionTimingFunction"),transitionDuration:r("transitionDuration"),transitionDelay:r("transitionDelay"),transformOrigin:r("transformOrigin")}),t.hasClass=function(t,e){return new RegExp("(^|\\s)"+e+"(\\s|$)").test(t.className)},t.addClass=function(e,n){if(!t.hasClass(e,n)){var r=e.className.split(" ");r.push(n),e.className=r.join(" ")}},t.removeClass=function(e,n){if(t.hasClass(e,n)){var r=new RegExp("(^|\\s)"+n+"(\\s|$)","g");e.className=e.className.replace(r," ")}},t.offset=function(t){for(var e=-t.offsetLeft,n=-t.offsetTop;t=t.offsetParent;)e-=t.offsetLeft,n-=t.offsetTop;return{left:e,top:n}},t.preventDefaultException=function(t,e){for(var n in e)if(e[n].test(t[n]))return!0;return!1},t.extend(t.eventType={},{touchstart:1,touchmove:1,touchend:1,mousedown:2,mousemove:2,mouseup:2,pointerdown:3,pointermove:3,pointerup:3,MSPointerDown:3,MSPointerMove:3,MSPointerUp:3}),t.extend(t.ease={},{quadratic:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},circular:{style:"cubic-bezier(0.1, 0.57, 0.1, 1)",fn:function(t){return s.sqrt(1- --t*t)}},back:{style:"cubic-bezier(0.175, 0.885, 0.32, 1.275)",fn:function(t){return(t-=1)*t*(5*t+4)+1}},bounce:{style:"",fn:function(t){return(t/=1)<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}},elastic:{style:"",fn:function(t){return 0===t?0:1==t?1:.4*s.pow(2,-10*t)*s.sin((t-.055)*(2*s.PI)/.22)+1}}}),t.tap=function(t,e){var n=o.createEvent("Event");n.initEvent(e,!0,!0),n.pageX=t.pageX,n.pageY=t.pageY,t.target.dispatchEvent(n)},t.click=function(t){var e,n=t.target;/(SELECT|INPUT|TEXTAREA)/i.test(n.tagName)||((e=o.createEvent(i.MouseEvent?"MouseEvents":"Event")).initEvent("click",!0,!0),e.view=t.view||i,e.detail=1,e.screenX=n.screenX||0,e.screenY=n.screenY||0,e.clientX=n.clientX||0,e.clientY=n.clientY||0,e.ctrlKey=!!t.ctrlKey,e.altKey=!!t.altKey,e.shiftKey=!!t.shiftKey,e.metaKey=!!t.metaKey,e.button=0,e.relatedTarget=null,e._constructed=!0,n.dispatchEvent(e))},t}();function l(t,e){for(var n in this.wrapper="string"==typeof t?o.querySelector(t):t,this.scroller=this.wrapper.children[0],this.scrollerStyle=this.scroller.style,this.options={resizeScrollbars:!0,mouseWheelSpeed:20,snapThreshold:.334,disablePointer:!u.hasPointer,disableTouch:u.hasPointer||!u.hasTouch,disableMouse:u.hasPointer||u.hasTouch,startX:0,startY:0,scrollY:!0,directionLockThreshold:5,momentum:!0,bounce:!0,bounceTime:600,bounceEasing:"",preventDefault:!0,preventDefaultException:{tagName:/^(INPUT|TEXTAREA|BUTTON|
2SELECT|LABEL)$/},HWCompositing:!0,useTransition:!0,useTransform:!0,bindToWrapper:void 0===i.onmousedown},e)this.options[n]=e[n];this.translateZ=this.options.HWCompositing&&u.hasPerspective?" translateZ(0)":"",this.options.useTransition=u.hasTransition&&this.options.useTransition,this.options.useTransform=u.hasTransform&&this.options.useTransform,this.options.eventPassthrough=!0===this.options.eventPassthrough?"vertical":this.options.eventPassthrough,this.options.preventDefault=!this.options.eventPassthrough&&this.options.preventDefault,this.options.scrollY="vertical"!=this.options.eventPassthrough&&this.options.scrollY,this.options.scrollX="horizontal"!=this.options.eventPassthrough&&this.options.scrollX,this.options.freeScroll=this.options.freeScroll&&!this.options.eventPassthrough,this.options.directionLockThreshold=this.options.eventPassthrough?0:this.options.directionLockThreshold,this.options.bounceEasing="string"==typeof this.options.bounceEasing?u.ease[this.options.bounceEasing]||u.ease.circular:this.options.bounceEasing,this.options.resizePolling=void 0===this.options.resizePolling?60:this.options.resizePolling,!0===this.options.tap&&(this.options.tap="tap"),this.options.useTransition||this.options.useTransform||/relative|absolute/i.test(this.scrollerStyle.position)||(this.scrollerStyle.position="relative"),"scale"==this.options.shrinkScrollbars&&(this.options.useTransition=!1),this.options.invertWheelDirection=this.options.invertWheelDirection?-1:1,this.x=0,this.y=0,this.directionX=0,this.directionY=0,this._events={},this._init(),this.refresh(),this.scrollTo(this.options.startX,this.options.startY),this.enable()}function c(t,e,n){var r=o.createElement("div"),i=o.createElement("div");return!0===n&&(r.style.cssText="position:absolute;z-index:9999",i.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);border-radius:3px"),i.className="iScrollIndicator","h"==t?(!0===n&&(r.style.cssText+=";height:7px;left:2px;right:2px;bottom:0",i.style.height="100%"),r.className="iScrollHorizontalScrollbar"):(!0===n&&(r.style.cssText+=";width:7px;bottom:2px;top:2px;right:1px",i.style.width="100%"),r.className="iScrollVerticalScrollbar"),r.style.cssText+=";overflow:hidden",e||(r.style.pointerEvents="none"),r.appendChild(i),r}function h(t,e){for(var n in this.wrapper="string"==typeof e.el?o.querySelector(e.el):e.el,this.wrapperStyle=this.wrapper.style,this.indicator=this.wrapper.children[0],this.indicatorStyle=this.indicator.style,this.scroller=t,this.options={listenX:!0,listenY:!0,interactive:!1,resize:!0,defaultScrollbars:!1,shrink:!1,fade:!1,speedRatioX:0,speedRatioY:0},e)this.options[n]=e[n];if(this.sizeRatioX=1,this.sizeRatioY=1,this.maxPosX=0,this.maxPosY=0,this.options.interactive&&(this.options.disableTouch||(u.addEvent(this.indicator,"touchstart",this),u.addEvent(i,"touchend",this)),this.options.disablePointer||(u.addEvent(this.indicator,u.prefixPointerEvent("pointerdown"),this),u.addEvent(i,u.prefixPointerEvent("pointerup"),this)),this.options.disableMouse||(u.addEvent(this.indicator,"mousedown",this),u.addEvent(i,"mouseup",this))),this.options.fade){this.wrapperStyle[u.style.transform]=this.scroller.translateZ;var r=u.style.transitionDuration;if(!r)return;this.wrapperStyle[r]=u.isBadAndroid?"0.0001ms":"0ms";var s=this;u.isBadAndroid&&a((function(){"0.0001ms"===s.wrapperStyle[r]&&(s.wrapperStyle[r]="0s")})),this.wrapperStyle.opacity="0"}}l.prototype={version:"5.2.0",_init:function(){this._initEvents(),(this.options.scrollbars||this.options.indicators)&&this._initIndicators(),this.options.mouseWheel&&this._initWheel(),this.options.snap&&this._initSnap(),this.options.keyBindings&&this._initKeys()},destroy:function(){this._initEvents(!0),clearTimeout(this.resizeTimeout),this.resizeTimeout=null,this._execEvent("destroy")},_transitionEnd:function(t){t.target==this.scroller&&this.isInTransition&&(this._transitionTime(),this.resetPosition(this.options.bounceTime)||(this.isInTransition=!1,this._execEvent("scrollEnd")))},_start:function(t){if(1!=u.eventType[t.type]&&0!==(t.which?t.button:t.button<2?0:4==t.button?1:2))return;if(this.enabled&&(!this.initiated||u.eventType[t.type]===this.initiated)){!this.options.preventDefault||u.isBadAndroid||u.preventDefaultException(t.target,this.options.preventDefaultException)||t.preventDefault();var e,n=t.touches?t.touches[0]:t;this.initiated=u.eventType[t.type],this.moved=!1,this.distX=0,this.distY=0,this.directionX=0,this.directionY=0,this.directionLocked=0,this.startTime=u.getTime(),this.options.useTransition&&this.isInTransition?(this._transitionTime(),this.isInTransition=!1,e=this.getComputedPosition(),this._translate(s.round(e.x),s.round(e.y)),this._execEvent("scrollEnd")):!this.options.useTransition&&this.isAnimating&&(this.isAnimating=!1,this._execEvent("scrollEnd")),this.startX=this.x,this.startY=this.y,this.absStartX=this.x,this.absStartY=this.y,this.pointX=n.pageX,this.pointY=n.pageY,this._execEvent("beforeScrollStart")}},_move:function(t){if(this.enabled&&u.eventType[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault();var e,n,r,i,o=t.touches?t.touches[0]:t,a=o.pageX-this.pointX,l=o.pageY-this.pointY,c=u.getTime();if(this.pointX=o.pageX,this.pointY=o.pageY,this.distX+=a,this.distY+=l,r=s.abs(this.distX),i=s.abs(this.distY),!(c-this.endTime>
2300&&r<10&&i<10)){if(this.directionLocked||this.options.freeScroll||(r>i+this.options.directionLockThreshold?this.directionLocked="h":i>=r+this.options.directionLockThreshold?this.directionLocked="v":this.directionLocked="n"),"h"==this.directionLocked){if("vertical"==this.options.eventPassthrough)t.preventDefault();else if("horizontal"==this.options.eventPassthrough)return void(this.initiated=!1);l=0}else if("v"==this.directionLocked){if("horizontal"==this.options.eventPassthrough)t.preventDefault();else if("vertical"==this.options.eventPassthrough)return void(this.initiated=!1);a=0}a=this.hasHorizontalScroll?a:0,l=this.hasVerticalScroll?l:0,e=this.x+a,n=this.y+l,(e>0||e<this.maxScrollX)&&(e=this.options.bounce?this.x+a/3:e>0?0:this.maxScrollX),(n>0||n<this.maxScrollY)&&(n=this.options.bounce?this.y+l/3:n>0?0:this.maxScrollY),this.directionX=a>0?-1:a<0?1:0,this.directionY=l>0?-1:l<0?1:0,this.moved||this._execEvent("scrollStart"),this.moved=!0,this._translate(e,n),c-this.startTime>300&&(this.startTime=c,this.startX=this.x,this.startY=this.y)}}},_end:function(t){if(this.enabled&&u.eventType[t.type]===this.initiated){this.options.preventDefault&&!u.preventDefaultException(t.target,this.options.preventDefaultException)&&t.preventDefault();t.changedTouches&&t.changedTouches[0];var e,n,r=u.getTime()-this.startTime,i=s.round(this.x),o=s.round(this.y),a=s.abs(i-this.startX),l=s.abs(o-this.startY),c=0,h="";if(this.isInTransition=0,this.initiated=0,this.endTime=u.getTime(),!this.resetPosition(this.options.bounceTime)){if(this.scrollTo(i,o),!this.moved)return this.options.tap&&u.tap(t,this.options.tap),this.options.click&&u.click(t),void this._execEvent("scrollCancel");if(this._events.flick&&r<200&&a<100&&l<100)this._execEvent("flick");else{if(this.options.momentum&&r<300&&(e=this.hasHorizontalScroll?u.momentum(this.x,this.startX,r,this.maxScrollX,this.options.bounce?this.wrapperWidth:0,this.options.deceleration):{destination:i,duration:0},n=this.hasVerticalScroll?u.momentum(this.y,this.startY,r,this.maxScrollY,this.options.bounce?this.wrapperHeight:0,this.options.deceleration):{destination:o,duration:0},i=e.destination,o=n.destination,c=s.max(e.duration,n.duration),this.isInTransition=1),this.options.snap){var f=this._nearestSnap(i,o);this.currentPage=f,c=this.options.snapSpeed||s.max(s.max(s.min(s.abs(i-f.x),1e3),s.min(s.abs(o-f.y),1e3)),300),i=f.x,o=f.y,this.directionX=0,this.directionY=0,h=this.options.bounceEasing}if(i!=this.x||o!=this.y)return(i>0||i<this.maxScrollX||o>0||o<this.maxScrollY)&&(h=u.ease.quadratic),void this.scrollTo(i,o,c,h);this._execEvent("scrollEnd")}}}},_resize:function(){var t=this;clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout((function(){t.refresh()}),this.options.resizePolling)},resetPosition:function(t){var e=this.x,n=this.y;return t=t||0,!this.hasHorizontalScroll||this.x>0?e=0:this.x<this.maxScrollX&&(e=this.maxScrollX),!this.hasVerticalScroll||this.y>0?n=0:this.y<this.maxScrollY&&(n=this.maxScrollY),(e!=this.x||n!=this.y)&&(this.scrollTo(e,n,t,this.options.bounceEasing),!0)},disable:function(){this.enabled=!1},enable:function(){this.enabled=!0},refresh:function(){this.wrapper.offsetHeight;this.wrapperWidth=this.wrapper.clientWidth,this.wrapperHeight=this.wrapper.clientHeight,this.scrollerWidth=this.scroller.offsetWidth,this.scrollerHeight=this.scroller.offsetHeight,this.maxScrollX=this.wrapperWidth-this.scrollerWidth,this.maxScrollY=this.wrapperHeight-this.scrollerHeight,this.hasHorizontalScroll=this.options.scrollX&&this.maxScrollX<0,this.hasVerticalScroll=this.options.scrollY&&this.maxScrollY<0,this.hasHorizontalScroll||(this.maxScrollX=0,this.scrollerWidth=this.wrapperWidth),this.hasVerticalScroll||(this.maxScrollY=0,this.scrollerHeight=this.wrapperHeight),this.endTime=0,this.directionX=0,this.directionY=0,this.wrapperOffset=u.offset(this.wrapper),this._execEvent("refresh"),this.resetPosition()},on:function(t,e){this._events[t]||(this._events[t]=[]),this._events[t].push(e)},off:function(t,e){if(this._events[t]){var n=this._events[t].indexOf(e);n>-1&&this._events[t].splice(n,1)}},_execEvent:function(t){if(this._events[t]){var e=0,n=this._events[t].length;if(n)for(;e<n;
2e++)this._events[t][e].apply(this,[].slice.call(arguments,1))}},scrollBy:function(t,e,n,r){t=this.x+t,e=this.y+e,n=n||0,this.scrollTo(t,e,n,r)},scrollTo:function(t,e,n,r){r=r||u.ease.circular,this.isInTransition=this.options.useTransition&&n>0;var i=this.options.useTransition&&r.style;!n||i?(i&&(this._transitionTimingFunction(r.style),this._transitionTime(n)),this._translate(t,e)):this._animate(t,e,n,r.fn)},scrollToElement:function(t,e,n,r,i){if(t=t.nodeType?t:this.scroller.querySelector(t)){var o=u.offset(t);o.left-=this.wrapperOffset.left,o.top-=this.wrapperOffset.top,!0===n&&(n=s.round(t.offsetWidth/2-this.wrapper.offsetWidth/2)),!0===r&&(r=s.round(t.offsetHeight/2-this.wrapper.offsetHeight/2)),o.left-=n||0,o.top-=r||0,o.left=o.left>0?0:o.left<this.maxScrollX?this.maxScrollX:o.left,o.top=o.top>0?0:o.top<this.maxScrollY?this.maxScrollY:o.top,e=null==e||"auto"===e?s.max(s.abs(this.x-o.left),s.abs(this.y-o.top)):e,this.scrollTo(o.left,o.top,e,i)}},_transitionTime:function(t){if(this.options.useTransition){t=t||0;var e=u.style.transitionDuration;if(e){if(this.scrollerStyle[e]=t+"ms",!t&&u.isBadAndroid){this.scrollerStyle[e]="0.0001ms";var n=this;a((function(){"0.0001ms"===n.scrollerStyle[e]&&(n.scrollerStyle[e]="0s")}))}if(this.indicators)for(var r=this.indicators.length;r--;)this.indicators[r].transitionTime(t)}}},_transitionTimingFunction:function(t){if(this.scrollerStyle[u.style.transitionTimingFunction]=t,this.indicators)for(var e=this.indicators.length;e--;)this.indicators[e].transitionTimingFunction(t)},_translate:function(t,e){if(this.options.useTransform?this.scrollerStyle[u.style.transform]="translate("+t+"px,"+e+"px)"+this.translateZ:(t=s.round(t),e=s.round(e),this.scrollerStyle.left=t+"px",this.scrollerStyle.top=e+"px"),this.x=t,this.y=e,this.indicators)for(var n=this.indicators.length;n--;)this.indicators[n].updatePosition()},_initEvents:function(t){var e=t?u.removeEvent:u.addEvent,n=this.options.bindToWrapper?this.wrapper:i;e(i,"orientationchange",this),e(i,"resize",this),this.options.click&&e(this.wrapper,"click",this,!0),this.options.disableMouse||(e(this.wrapper,"mousedown",this),e(n,"mousemove",this),e(n,"mousecancel",this),e(n,"mouseup",this)),u.hasPointer&&!this.options.disablePointer&&(e(this.wrapper,u.prefixPointerEvent("pointerdown"),this),e(n,u.prefixPointerEvent("pointermove"),this),e(n,u.prefixPointerEvent("pointercancel"),this),e(n,u.prefixPointerEvent("pointerup"),this)),u.hasTouch&&!this.options.disableTouch&&(e(this.wrapper,"touchstart",this),e(n,"touchmove",this),e(n,"touchcancel",this),e(n,"touchend",this)),e(this.scroller,"transitionend",this),e(this.scroller,"webkitTransitionEnd",this),e(this.scroller,"oTransitionEnd",this),e(this.scroller,"MSTransitionEnd",this)},getComputedPosition:function(){var t,e,n=i.getComputedStyle(this.scroller,null);return this.options.useTransform?(t=+((n=n[u.style.transform].split(")")[0].split(", "))[12]||n[4]),e=+(n[13]||n[5])):(t=+n.left.replace(/[^-\d.]/g,""),e=+n.top.replace(/[^-\d.]/g,"")),{x:t,y:e}},_initIndicators:function(){var t,e=this.options.interactiveScrollbars,n="string"!=typeof this.options.scrollbars,r=[],i=this;this.indicators=[],this.options.scrollbars&&(this.options.scrollY&&(t={el:c("v",e,this.options.scrollbars),interactive:e,defaultScrollbars:!0,customStyle:n,resize:this.options.resizeScrollbars,shrink:this.options.shrinkScrollbars,fade:this.options.fadeScrollbars,listenX:!1},this.wrapper.appendChild(t.el),r.push(t)),this.options.scrollX&&(t={el:c("h",e,this.options.scrollbars),interactive:e,defaultScrollbars:!0,customStyle:n,resize:this.options.resizeScrollbars,shrink:this.options.shrinkScrollbars,fade:this.options.fadeScrollbars,listenY:!1},this.wrapper.appendChild(t.el),r.push(t))),this.options.indicators&&(r=r.concat(this.options.indicators));for(var o=r.length;o--;)this.indicators.push(new h(this,r[o]));function s(t){if(i.indicators)for(var e=i.indicators.length;e--;)t.call(i.indicators[e])}this.options.fadeScrollbars&&(this.on("scrollEnd",(function(){s((function(){this.fade()}))})),this.on("scrollCancel",(function(){s((function(){this.fade()}))})),this.on("scrollStart",(function(){s((function(){this.fade(1)}))})),this.on("beforeScrollStart",(function(){s((function(){this.fade(1,!0)}))}))),this.on("refresh",(function(){s((function(){this.refresh()}))})),this.on("destroy",(function(){s((function(){this.destroy()})),delete this.indicators}))},_initWheel:function(){u.addEvent(this.wrapper,"wheel",this),u.addEvent(this.wrapper,"mousewheel",this),u.addEvent(this.wrapper,"DOMMouseScroll",this),this.on("destroy",(function(){clearTimeout(this.wheelTimeout),this.wheelTimeout=null,u.removeEvent(this.wrapper,"wheel",this),u.removeEvent(this.wrapper,"mousewheel",this),u.removeEvent(this.wrapper,"DOMMouseScroll",this)}))},_wheel:function(t){if(this.enabled){i.navigator.userAgent.match(/(MSIE|Trident)/)||t.preventDefault();var e,n,r,o,a=this;if(void 0===this.wheelTimeout&&a._execEvent("scrollStart"),clearTimeout(this.wheelTimeout),this.wheelTimeout=setTimeout((function(){a.options.snap||a._execEvent("scrollEnd"),a.wheelTimeout=void 0}),400),"deltaX"in t)1===t.deltaMode?(e=-t.deltaX*this.options.mouseWheelSpeed,n=-t.deltaY*this.options.mouseWheelSpeed):(e=-t.deltaX,n=-t.deltaY);else if("wheelDeltaX"in t)e=t.wheelDeltaX/120*this.options.mouseWheelSpeed,n=t.wheelDeltaY/120*this.options.mouseWheelSpeed;else if("wheelDelta"in t)e=n=t.wheelDelta/120*this.options.mouseWheelSpeed;else{if(!("detail"in t))return;e=n=-t.detail/3*this.options.mouseWheelSpeed}if(e*=this.options.invertWheelDirection,n*=this.options.invertWheelDirection,this.hasVerticalScroll||(e=n,n=0),this.options.snap)return r=this.currentPage.pageX,o=this.currentPage.pageY,e>0?r--:e<0&&r++,n>0?o--:n<0&&o++,void this.goToPage(r,o);r=this.x+s.round(this.hasHorizontalScroll?e:0),o=this.y+s.round(this.hasVerticalScroll?n:0),this.directionX=e>0?-1:e<0?1:0,this.directionY=n>0?-1:n<0?1:0,r>
20?r=0:r<this.maxScrollX&&(r=this.maxScrollX),o>0?o=0:o<this.maxScrollY&&(o=this.maxScrollY),this.scrollTo(r,o,0)}},_initSnap:function(){this.currentPage={},"string"==typeof this.options.snap&&(this.options.snap=this.scroller.querySelectorAll(this.options.snap)),this.on("refresh",(function(){var t,e,n,r,i,o,a=0,u=0,l=0,c=this.options.snapStepX||this.wrapperWidth,h=this.options.snapStepY||this.wrapperHeight;if(this.pages=[],this.wrapperWidth&&this.wrapperHeight&&this.scrollerWidth&&this.scrollerHeight){if(!0===this.options.snap)for(n=s.round(c/2),r=s.round(h/2);l>-this.scrollerWidth;){for(this.pages[a]=[],t=0,i=0;i>-this.scrollerHeight;)this.pages[a][t]={x:s.max(l,this.maxScrollX),y:s.max(i,this.maxScrollY),width:c,height:h,cx:l-n,cy:i-r},i-=h,t++;l-=c,a++}else for(t=(o=this.options.snap).length,e=-1;a<t;a++)(0===a||o[a].offsetLeft<=o[a-1].offsetLeft)&&(u=0,e++),this.pages[u]||(this.pages[u]=[]),l=s.max(-o[a].offsetLeft,this.maxScrollX),i=s.max(-o[a].offsetTop,this.maxScrollY),n=l-s.round(o[a].offsetWidth/2),r=i-s.round(o[a].offsetHeight/2),this.pages[u][e]={x:l,y:i,width:o[a].offsetWidth,height:o[a].offsetHeight,cx:n,cy:r},l>this.maxScrollX&&u++;this.goToPage(this.currentPage.pageX||0,this.currentPage.pageY||0,0),this.options.snapThreshold%1==0?(this.snapThresholdX=this.options.snapThreshold,this.snapThresholdY=this.options.snapThreshold):(this.snapThresholdX=s.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].width*this.options.snapThreshold),this.snapThresholdY=s.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].height*this.options.snapThreshold))}})),this.on("flick",(function(){var t=this.options.snapSpeed||s.max(s.max(s.min(s.abs(this.x-this.startX),1e3),s.min(s.abs(this.y-this.startY),1e3)),300);this.goToPage(this.currentPage.pageX+this.directionX,this.currentPage.pageY+this.directionY,t)}))},_nearestSnap:function(t,e){if(!this.pages.length)return{x:0,y:0,pageX:0,pageY:0};var n=0,r=this.pages.length,i=0;if(s.abs(t-this.absStartX)<this.snapThresholdX&&s.abs(e-this.absStartY)<this.snapThresholdY)return this.currentPage;for(t>0?t=0:t<this.maxScrollX&&(t=this.maxScrollX),e>0?e=0:e<this.maxScrollY&&(e=this.maxScrollY);n<r;n++)if(t>=this.pages[n][0].cx){t=this.pages[n][0].x;break}for(r=this.pages[n].length;i<r;i++)if(e>=this.pages[0][i].cy){e=this.pages[0][i].y;break}return n==this.currentPage.pageX&&((n+=this.directionX)<0?n=0:n>=this.pages.length&&(n=this.pages.length-1),t=this.pages[n][0].x),i==this.currentPage.pageY&&((i+=this.directionY)<0?i=0:i>=this.pages[0].length&&(i=this.pages[0].length-1),e=this.pages[0][i].y),{x:t,y:e,pageX:n,pageY:i}},goToPage:function(t,e,n,r){r=r||this.options.bounceEasing,t>=this.pages.length?t=this.pages.length-1:t<0&&(t=0),e>=this.pages[t].length?e=this.pages[t].length-1:e<0&&(e=0);var i=this.pages[t][e].x,o=this.pages[t][e].y;n=void 0===n?this.options.snapSpeed||s.max(s.max(s.min(s.abs(i-this.x),1e3),s.min(s.abs(o-this.y),1e3)),300):n,this.currentPage={x:i,y:o,pageX:t,pageY:e},this.scrollTo(i,o,n,r)},next:function(t,e){var n=this.currentPage.pageX,r=this.currentPage.pageY;++n>=this.pages.length&&this.hasVerticalScroll&&(n=0,r++),this.goToPage(n,r,t,e)},prev:function(t,e){var n=this.currentPage.pageX,r=this.currentPage.pageY;--n<0&&this.hasVerticalScroll&&(n=0,r--),this.goToPage(n,r,t,e)},_initKeys:function(t){var e,n={pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40};if("object"==typeof this.options.keyBindings)for(e in this.options.keyBindings)"string"==typeof this.options.keyBindings[e]&&(this.options.keyBindings[e]=this.options.keyBindings[e].toUpperCase().charCodeAt(0));else this.options.keyBindings={};for(e in n)this.options.keyBindings[e]=this.options.keyBindings[e]||n[e];u.addEvent(i,"keydown",this),this.on("destroy",(function(){u.removeEvent(i,"keydown",this)}))},_key:function(t){if(this.enabled){var e,n=this.options.snap,r=n?this.currentPage.pageX:this.x,i=n?this.currentPage.pageY:this.y,o=u.getTime(),a=this.keyTime||0;switch(this.options.useTransition&&this.isInTransition&&(e=this.getComputedPosition(),this._translate(s.round(e.x),s.round(e.y)),this.isInTransition=!1),this.keyAcceleration=o-a<200?s.min(this.keyAcceleration+.25,50):0,t.keyCode){case this.options.keyBindings.pageUp:this.hasHorizontalScroll&&!this.hasVerticalScroll?r+=n?1:this.wrapperW
2idth:i+=n?1:this.wrapperHeight;break;case this.options.keyBindings.pageDown:this.hasHorizontalScroll&&!this.hasVerticalScroll?r-=n?1:this.wrapperWidth:i-=n?1:this.wrapperHeight;break;case this.options.keyBindings.end:r=n?this.pages.length-1:this.maxScrollX,i=n?this.pages[0].length-1:this.maxScrollY;break;case this.options.keyBindings.home:r=0,i=0;break;case this.options.keyBindings.left:r+=n?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.up:i+=n?1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.right:r-=n?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.down:i-=n?1:5+this.keyAcceleration>>0;break;default:return}n?this.goToPage(r,i):(r>0?(r=0,this.keyAcceleration=0):r<this.maxScrollX&&(r=this.maxScrollX,this.keyAcceleration=0),i>0?(i=0,this.keyAcceleration=0):i<this.maxScrollY&&(i=this.maxScrollY,this.keyAcceleration=0),this.scrollTo(r,i,0),this.keyTime=o)}},_animate:function(t,e,n,r){var i=this,o=this.x,s=this.y,l=u.getTime(),c=l+n;this.isAnimating=!0,function h(){var f,d,p,v=u.getTime();if(v>=c)return i.isAnimating=!1,i._translate(t,e),void(i.resetPosition(i.options.bounceTime)||i._execEvent("scrollEnd"));p=r(v=(v-l)/n),f=(t-o)*p+o,d=(e-s)*p+s,i._translate(f,d),i.isAnimating&&a(h)}()},handleEvent:function(t){switch(t.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":this._start(t);break;case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":this._move(t);break;case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(t);break;case"orientationchange":case"resize":this._resize();break;case"transitionend":case"webkitTransitionEnd":case"oTransitionEnd":case"MSTransitionEnd":this._transitionEnd(t);break;case"wheel":case"DOMMouseScroll":case"mousewheel":this._wheel(t);break;case"keydown":this._key(t);break;case"click":this.enabled&&!t._constructed&&(t.preventDefault(),t.stopPropagation())}}},h.prototype={handleEvent:function(t){switch(t.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":this._start(t);break;case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":this._move(t);break;case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(t)}},destroy:function(){this.options.fadeScrollbars&&(clearTimeout(this.fadeTimeout),this.fadeTimeout=null),this.options.interactive&&(u.removeEvent(this.indicator,"touchstart",this),u.removeEvent(this.indicator,u.prefixPointerEvent("pointerdown"),this),u.removeEvent(this.indicator,"mousedown",this),u.removeEvent(i,"touchmove",this),u.removeEvent(i,u.prefixPointerEvent("pointermove"),this),u.removeEvent(i,"mousemove",this),u.removeEvent(i,"touchend",this),u.removeEvent(i,u.prefixPointerEvent("pointerup"),this),u.removeEvent(i,"mouseup",this)),this.options.defaultScrollbars&&this.wrapper.parentNode.removeChild(this.wrapper)},_start:function(t){var e=t.touches?t.touches[0]:t;t.preventDefault(),t.stopPropagation(),this.transitionTime(),this.initiated=!0,this.moved=!1,this.lastPointX=e.pageX,this.lastPointY=e.pageY,this.startTime=u.getTime(),this.options.disableTouch||u.addEvent(i,"touchmove",this),this.options.disablePointer||u.addEvent(i,u.prefixPointerEvent("pointermove"),this),this.options.disableMouse||u.addEvent(i,"mousemove",this),this.scroller._execEvent("beforeScrollStart")},_move:function(t){var e,n,r,i,o=t.touches?t.touches[0]:t;u.getTime();this.moved||this.scroller._execEvent("scrollStart"),this.moved=!0,e=o.pageX-this.lastPointX,this.lastPointX=o.pageX,n=o.pageY-this.lastPointY,this.lastPointY=o.pageY,r=this.x+e,i=this.y+n,this._pos(r,i),t.preventDefault(),t.stopPropagation()},_end:function(t){if(this.initiated){if(this.initiated=!1,t.preventDefault(),t.stopPropagation(),u.removeEvent(i,"touchmove",this),u.removeEvent(i,u.prefixPointerEvent("pointermove"),this),u.removeEvent(i,"mousemove",this),this.scroller.options.snap){var e=this.scroller._nearestSnap(this.scroller.x,this.scroller.y),n=this.options.snapSpeed||s.max(s.max(s.min(s.abs(this.scroller.x-e.x),1e3),s.min(s.abs(this.scroller.y-e.y),1e3)),300);this.scroller.x==e.x&&this.scroller.y==e.y||(this.scroller.directionX=0,this.scroller.directionY=0,this.scroller.currentPage=e,this.scroller.scrollTo(e.x,e.y,n,this.scroller.options.bounceEasing))}this.moved&&this.scroller._execEvent("scrollEnd")}},transitionTime:function(t){t=t||0;var e=u.style.transitionDuration;if(e&&(this.indicatorStyle[e]=t+"ms",!t&&u.isBadAndroid)){this.indicatorStyle[e]="0.0001ms";var n=this;a((function(){"0.0001ms"===n.indicatorStyle[e]&&(n.indicatorStyle[e]="0s")}))}},transitionTimingFunction:function(t){this.indicatorStyle[u.style.transitionTimingFunction]=t},refresh:function(){this.transitionTime(),this.options.listenX&&!this.options.listenY?this.indicatorStyle.display=this.scroller.hasHorizontalScroll?"block":"none":this.options.listenY&&!this.options.listenX?this.indicatorStyle.display=this.scroller.hasVerticalScroll?"block":"none":this.indicatorStyle.display=this.scroller.hasHorizontalScroll||this.scroller.hasVerticalScroll?"block":"none",this.scroller.hasHorizontalScroll&&this.scroller.hasVerticalScroll?(u.addClass(this.wrapper,"iScrollBothScrollbars"),u.removeClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="8px":this.wrapper.style.bottom="8px")):(u.removeClass(this.wrapper,"iScrollBothScrollbars"),u.addClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="2px":this.wrapper.style.bottom="2px"));this.wrapper.offsetHeight;
2this.options.listenX&&(this.wrapperWidth=this.wrapper.clientWidth,this.options.resize?(this.indicatorWidth=s.max(s.round(this.wrapperWidth*this.wrapperWidth/(this.scroller.scrollerWidth||this.wrapperWidth||1)),8),this.indicatorStyle.width=this.indicatorWidth+"px"):this.indicatorWidth=this.indicator.clientWidth,this.maxPosX=this.wrapperWidth-this.indicatorWidth,"clip"==this.options.shrink?(this.minBoundaryX=8-this.indicatorWidth,this.maxBoundaryX=this.wrapperWidth-8):(this.minBoundaryX=0,this.maxBoundaryX=this.maxPosX),this.sizeRatioX=this.options.speedRatioX||this.scroller.maxScrollX&&this.maxPosX/this.scroller.maxScrollX),this.options.listenY&&(this.wrapperHeight=this.wrapper.clientHeight,this.options.resize?(this.indicatorHeight=s.max(s.round(this.wrapperHeight*this.wrapperHeight/(this.scroller.scrollerHeight||this.wrapperHeight||1)),8),this.indicatorStyle.height=this.indicatorHeight+"px"):this.indicatorHeight=this.indicator.clientHeight,this.maxPosY=this.wrapperHeight-this.indicatorHeight,"clip"==this.options.shrink?(this.minBoundaryY=8-this.indicatorHeight,this.maxBoundaryY=this.wrapperHeight-8):(this.minBoundaryY=0,this.maxBoundaryY=this.maxPosY),this.maxPosY=this.wrapperHeight-this.indicatorHeight,this.sizeRatioY=this.options.speedRatioY||this.scroller.maxScrollY&&this.maxPosY/this.scroller.maxScrollY),this.updatePosition()},updatePosition:function(){var t=this.options.listenX&&s.round(this.sizeRatioX*this.scroller.x)||0,e=this.options.listenY&&s.round(this.sizeRatioY*this.scroller.y)||0;this.options.ignoreBoundaries||(t<this.minBoundaryX?("scale"==this.options.shrink&&(this.width=s.max(this.indicatorWidth+t,8),this.indicatorStyle.width=this.width+"px"),t=this.minBoundaryX):t>this.maxBoundaryX?"scale"==this.options.shrink?(this.width=s.max(this.indicatorWidth-(t-this.maxPosX),8),this.indicatorStyle.width=this.width+"px",t=this.maxPosX+this.indicatorWidth-this.width):t=this.maxBoundaryX:"scale"==this.options.shrink&&this.width!=this.indicatorWidth&&(this.width=this.indicatorWidth,this.indicatorStyle.width=this.width+"px"),e<this.minBoundaryY?("scale"==this.options.shrink&&(this.height=s.max(this.indicatorHeight+3*e,8),this.indicatorStyle.height=this.height+"px"),e=this.minBoundaryY):e>this.maxBoundaryY?"scale"==this.options.shrink?(this.height=s.max(this.indicatorHeight-3*(e-this.maxPosY),8),this.indicatorStyle.height=this.height+"px",e=this.maxPosY+this.indicatorHeight-this.height):e=this.maxBoundaryY:"scale"==this.options.shrink&&this.height!=this.indicatorHeight&&(this.height=this.indicatorHeight,this.indicatorStyle.height=this.height+"px")),this.x=t,this.y=e,this.scroller.options.useTransform?this.indicatorStyle[u.style.transform]="translate("+t+"px,"+e+"px)"+this.scroller.translateZ:(this.indicatorStyle.left=t+"px",this.indicatorStyle.top=e+"px")},_pos:function(t,e){t<0?t=0:t>this.maxPosX&&(t=this.maxPosX),e<0?e=0:e>this.maxPosY&&(e=this.maxPosY),t=this.options.listenX?s.round(t/this.sizeRatioX):this.scroller.x,e=this.options.listenY?s.round(e/this.sizeRatioY):this.scroller.y,this.scroller.scrollTo(t,e)},fade:function(t,e){if(!e||this.visible){clearTimeout(this.fadeTimeout),this.fadeTimeout=null;var n=t?250:500,r=t?0:300;t=t?"1":"0",this.wrapperStyle[u.style.transitionDuration]=n+"ms",this.fadeTimeout=setTimeout(function(t){this.wrapperStyle.opacity=t,this.visible=+t}.bind(this,t),r)}}},l.utils=u,t.exports?t.exports=l:(void 0===(r=function(){return l}.call(e,n,e,t))||(t.exports=r),void 0!==i&&(i.IScroll=l))}(window,document,Math),function(e,n){e.fp_scrolloverflow=function(){e.IScroll||(e.IScroll=t.exports);var r="fp-scrollable",i="."+r,o="active",s=".fp-section",a=".fp-section.active",u=".fp-slide",l=".fp-tableCell";function c(){var t=this;function r(){fp_utils.hasClass(n.body,"fp-responsive")?o(a):o(i)}function i(e){if(!fp_utils.hasClass(e,"fp-noscroll")){fp_utils.css(e,{overflow:"hidden"});var n,r=t.options.scrollOverflowHandler,i=r.wrapContent(),o=fp_utils.closest(e,s),a=r.scrollable(e),u=function(t){var e=fp_utils.closest(t,s);return null!=e?parseInt(getComputedStyle(e)["padding-bottom"])+parseInt(getComputedStyle(e)["padding-top"]):0}(o);null!=a?n=r.scrollHeight(e):(n=e.scrollHeight,t.options.verticalCentered&&(n=h(l,e)[0].scrollHeight));var c=fp_utils.getWindowHeight(),f=c-u;n+u>
2c?null!=a?r.update(e,f):(t.options.verticalCentered?(fp_utils.wrapInner(h(l,e)[0],i.scroller),fp_utils.wrapInner(h(l,e)[0],i.scrollable)):(fp_utils.wrapInner(e,i.scroller),fp_utils.wrapInner(e,i.scrollable)),r.create(e,f,t.iscrollOptions)):r.remove(e),fp_utils.css(e,{overflow:""})}}function o(t){h(s).forEach((function(e){var n=h(u,e);n.length?n.forEach((function(e){t(e)})):t(e)}))}function a(e){var n=t.options.scrollOverflowHandler;fp_utils.hasClass(fp_utils.closest(e,s),"fp-auto-height-responsive")&&n.remove(e)}t.options=null,t.init=function(i,o){return t.options=i,t.iscrollOptions=o,"complete"===n.readyState&&(r(),fullpage_api.shared.afterRenderActions()),e.addEventListener("load",(function(){r(),fullpage_api.shared.afterRenderActions()})),t},t.createScrollBarForAll=r,t.createScrollBar=i}IScroll.prototype.wheelOn=function(){this.wrapper.addEventListener("wheel",this),this.wrapper.addEventListener("mousewheel",this),this.wrapper.addEventListener("DOMMouseScroll",this)},IScroll.prototype.wheelOff=function(){this.wrapper.removeEventListener("wheel",this),this.wrapper.removeEventListener("mousewheel",this),this.wrapper.removeEventListener("DOMMouseScroll",this)};var h=null,f=null,d={refreshId:null,iScrollInstances:[],lastScrollY:null,hasBeenInit:!1,iscrollOptions:{scrollbars:!0,mouseWheel:!0,hideScrollbars:!1,fadeScrollbars:!1,disableMouse:!0,interactiveScrollbars:!0},init:function(t){h=fp_utils.$,f=t;var n="ontouchstart"in e||navigator.msMaxTouchPoints>0||navigator.maxTouchPoints;return d.iscrollOptions.click=n,d.hasBeenInit=!0,d.iscrollOptions=fp_utils.deepExtend(d.iscrollOptions,t.scrollOverflowOptions),(new c).init(t,d.iscrollOptions)},toggleWheel:function(t){h(i,h(a)[0]).forEach((function(e){var n=e.fp_iscrollInstance;null!=n&&(t?n.wheelOn():n.wheelOff())}))},setIscroll:function(t,e){if(d.hasBeenInit&&t){var n=fp_utils.closest(t,i)||h(i,t)&&h(i,t)[0],r=e?"enable":"disable";n&&n.fp_iscrollInstance[r]()}},onLeave:function(){d.toggleWheel(!1)},beforeLeave:function(){d.onLeave()},afterLoad:function(){d.toggleWheel(!0)},create:function(t,e,n){h(i,t).forEach((function(r){fp_utils.css(r,{height:e+"px"});var i=r.fp_iscrollInstance;null!=i&&d.iScrollInstances.forEach((function(t){t.destroy()})),i=new IScroll(r,n),d.iScrollInstances.push(i),fp_utils.hasClass(fp_utils.closest(t,s),o)||i.wheelOff(),r.fp_iscrollInstance=i}))},isScrolled:function(t,e){var n=e.fp_iscrollInstance;if(!n)return!0;if("top"===t)return n.y>=0;if("bottom"===t){var r=d.lastScrollY===n.y;return d.lastScrollY=n.y,(r?1:0)+(0-n.y)+e.offsetHeight>=e.scrollHeight}},scrollable:function(t){return h(".fp-slides",t).length?h(i,h(".fp-slide.active",t)[0])[0]:h(i,t)[0]},scrollHeight:function(t){return h(".fp-scroller",h(i,t)[0])[0].scrollHeight},remove:function(t){if(null!=t){var e=h(i,t)[0];if(null!=e){var n=e.fp_iscrollInstance;null!=n&&n.destroy(),e.fp_iscrollInstance=null,fp_utils.unwrap(h(".fp-scroller",t)[0]),fp_utils.unwrap(h(i,t)[0])}}},update:function(t,e){clearTimeout(d.refreshId),d.refreshId=setTimeout((function(){d.iScrollInstances.forEach((function(t){t.refresh(),fullpage_api.silentMoveTo(fp_utils.index(h(a)[0])+1)}))}),150),fp_utils.css(h(i,t)[0],{height:e+"px"}),f.verticalCentered&&fp_utils.css(h(i,t)[0].parentNode,{height:e+"px"})},wrapContent:function(){var t=n.createElement("div");t.className=r;var e=n.createElement("div");return e.className="fp-scroller",{scrollable:t,scroller:e}}};return{iscrollHandler:d}}()}(window,document)},5863:function(){},2940:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=function(){function t(e,n,i){void 0===n&&(n=!1),r(this,t),this._fn=e,this._once=n,this._thisArg=i,this._next=this._prev=this._owner=null}return n(t,[{key:"detach",value:function(){return null!==this._owner&&(this._owner.detach(this),!0)}}]),t}();function o(t,e){return t._head?(t._tail._next=e,e._prev=t._tail,t._tail=e):(t._head=e,t._tail=e),e._owner=t,e}var s=function(){function t(){r(this,t),this._head=this._tail=void 0}return n(t,[{key:"handlers",value:function(){var t=!(arguments.length<=0||void 0===arguments[0])&&arguments[0],e=this._head;if(t)return!!e;for(var n=[];e;)n.push(e),e=e._next;return n}},{key:"has",value:function(t){if(!(t instanceof i))throw new Error("MiniSignal#has(): First arg must be a MiniSignalBinding object.");return t._owner===this}},{key:"dispatch",value:function(){var t=this._head;if(!t)return!1;for(;t;)t._once&&this.detach(t),t._fn.apply(t._thisArg,arguments),t=t._next;return!0}},{key:"add",value:function(t){var e=arguments.length<=1||void 0===arguments[1]?null:arguments[1];if("function"!=typeof t)throw new Error("MiniSignal#add(): First arg must be a Function.");return o(this,new i(t,!1,e))}},{key:"once",value:function(t){var e=arguments.length<=1||void 0===arguments[1]?null:arguments[1];if("function"!=typeof t)throw new Error("MiniSignal#once(): First arg must be a Function.");return o(this,new i(t,!0,e))}},{key:"detach",value:function(t){if(!(t instanceof i))throw new Error("MiniSignal#detach(): First arg must be a MiniSignalBinding object.");return t._owner!==this||(t._prev&&(t._prev._next=t._next),t._next&&(t._next._prev=t._prev),t===this._head?(this._head=t._next,null===t._next&&(this._tail=null)):t===this._tail&&(this._tail=t._prev,this._tail._next=null),t._owner=null),this}},{key:"detachAll",value:function(){var t=this._head;if(!t)return this;for(this._head=this._tail=null;t;)t._owner=null,t=t._next;return this}}]),t}();
2s.MiniSignalBinding=i,e.default=s,t.exports=e.default},7418:function(t){"use strict";var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,o){for(var s,a,u=i(t),l=1;l<arguments.length;l++){for(var c in s=Object(arguments[l]))n.call(s,c)&&(u[c]=s[c]);if(e){a=e(s);for(var h=0;h<a.length;h++)r.call(s,a[h])&&(u[a[h]]=s[a[h]])}}return u}},9571:function(t){"use strict";t.exports=function(t,e){if(t){e=e||{};for(var n={key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}},r=n.parser[e.strictMode?"strict":"loose"].exec(t),i={},o=14;o--;)i[n.key[o]]=r[o]||"";return i[n.q.name]={},i[n.key[12]].replace(n.q.parser,(function(t,e,r){e&&(i[n.q.name][e]=r)})),i}}},2587:function(t){"use strict";function e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,n,r,i){n=n||"&",r=r||"=";var o={};if("string"!=typeof t||0===t.length)return o;var s=/\+/g;t=t.split(n);var a=1e3;i&&"number"==typeof i.maxKeys&&(a=i.maxKeys);var u=t.length;a>0&&u>a&&(u=a);for(var l=0;l<u;++l){var c,h,f,d,p=t[l].replace(s,"%20"),v=p.indexOf(r);v>=0?(c=p.substr(0,v),h=p.substr(v+1)):(c=p,h=""),f=decodeURIComponent(c),d=decodeURIComponent(h),e(o,f)?Array.isArray(o[f])?o[f].push(d):o[f]=[o[f],d]:o[f]=d}return o}},2361:function(t){"use strict";var e=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,n,r,i){return n=n||"&",r=r||"=",null===t&&(t=void 0),"object"==typeof t?Object.keys(t).map((function(i){var o=encodeURIComponent(e(i))+r;return Array.isArray(t[i])?t[i].map((function(t){return o+encodeURIComponent(e(t))})).join(n):o+encodeURIComponent(e(t[i]))})).join(n):i?encodeURIComponent(e(i))+r+encodeURIComponent(e(t)):""}},7673:function(t,e,n){"use strict";e.decode=e.parse=n(2587),e.encode=e.stringify=n(2361)},7435:function(t,e,n){"use strict";n.r(e),e.default='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 42.977 24.749"><g data-name="Group 3396" fill="none" stroke="#fff" stroke-width="5"><path data-name="Path 113" d="M1.768 2.626L22.123 22.98"/><path data-name="Path 118" d="M19.997 22.981L41.21 1.768"/></g></svg>'},3665:function(t,e,n){"use strict";n.r(e),e.default='<svg viewBox="0 0 12 21" xmlns="http://www.w3.org/2000/svg"><g transform="rotate(180 6 10.5)"><polygon transform="rotate(135 6.009 14.877)" points="-1.38109589 15.9854159 13.3989041 15.9854159 13.3989041 13.7684159 -1.38109589 13.7684159"/><polygon transform="rotate(-135 6.008 6.01)" points="-1.38183726 7.11837389 13.3981627 7.11837389 13.3981627 4.90137389 -1.38183726 4.90137389"/></g></svg>'},6835:function(t,e,n){"use strict";n.r(e),e.default='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12.018 20.885"><path d="M10.45 8.868L0 19.318l1.567 1.568 10.451-10.45z"/><path d="M12.018 10.452L1.566 0 0 1.568l10.45 10.451z"/></svg>'},7580:function(t,e,n){"use strict";n.r(e),e.default='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><path class="bg" fill="#fff" d="M30 0A30 30 0 110 30 30 30 0 0130 0z" opacity=".5"/><path fill="#fff" d="M22.473 23.706l.337-.355c2.921 0 5.862-.221 8.756.055a8.719 8.719 0 017.656 6.23 9.06 9.06 0 01-2.074 9.682 9.449 9.449 0 01-7.313 3.022c-3.516-.007-7.031 0-10.558 0v2.6c4.045 0 7.968.17 11.87-.039a12.131 12.131 0 00.9
209-24.106 69.374 69.374 0 00-7.651-.227c-.551-.012-1.1 0-1.653 0l-.236-.539 3.439-3.1-1.352-1.926-7.052 6.958 6.711 6.772 1.807-1.905z"/><path stroke="#000" d="M22.473 23.706l3.6 3.12-1.807 1.905-6.711-6.772 7.052-6.958 1.352 1.926-3.439 3.1.236.539c.551 0 1.1-.01 1.653 0a69.374 69.374 0 017.651.227 12.131 12.131 0 01-.909 24.106c-3.9.209-7.825.039-11.87.039v-2.6c3.527 0 7.042-.006 10.558 0a9.449 9.449 0 007.313-3.022 9.06 9.06 0 002.074-9.682 8.719 8.719 0 00-7.656-6.23c-2.894-.276-5.836-.055-8.756-.055z"/></svg>'},739:function(t,e,n){"use strict";n.r(e),e.default='<svg data-name="Group 2937" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24.749 24.749"><g data-name="Group 2210"><path data-name="Path 542" d="M0 3.536l21.214 21.213 3.535-3.536L3.536 0z"/></g><g data-name="Group 2209"><path data-name="Path 542" d="M3.536 24.749L24.749 3.535 21.213 0 0 21.213z"/></g></svg>'},7719:function(t,e,n){"use strict";n.r(e),e.default='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><g data-name="Group 3572" transform="translate(-656 -827)" fill="none"><g data-name="Path 889"><path class="close-path" d="M665 827a9 9 0 11-9 9 9 9 0 019-9z"/><path d="M665 828c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8m0-1a9 9 0 110 18 9 9 0 010-18z" fill="#000"/></g><line data-name="Line 479" x2="6" y2="6" transform="translate(662 833)" stroke="#000" stroke-width="2"/><line data-name="Line 480" x2="6" y2="6" transform="rotate(90 -82.5 750.5)" stroke="#000" stroke-width="2"/></g></svg>'},5093:function(t,e,n){"use strict";n.r(e),e.default='<svg viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg"><g fill="none"><circle stroke="#000" fill="#FFF" cx="9" cy="9" r="8.5"/><path class="open-path" d="M8.97 13.004a3.348 3.348 0 01-2.58-1.06 4.166 4.166 0 01-.98-2.94 4.193 4.193 0 01.97-2.94 3.341 3.341 0 012.59-1.06 2.97 2.97 0 013.26 2.38l-1.46.26a1.721 1.721 0 00-1.8-1.24c-1.333 0-2 .867-2 2.6s.667 2.6 2 2.6a1.7 1.7 0 001.82-1.28l1.44.24a2.981 2.981 0 01-3.26 2.44z" fill="#000"/></g></svg>'},5644:function(t,e,n){"use strict";n.r(e),e.default='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><circle data-name="Ellipse 49" cx="7" cy="7" r="7" fill="#fff"/></svg>'},969:function(t,e,n){"use strict";n.r(e),e.default='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30.01 30"><path d="M7.152 30a2.24 2.24 0 01-1.144-.736 1.956 1.956 0 01-.38-1.14V22.5h-3.7a1.864 1.864 0 01-1.922-1.91V9.4a1.872 1.872 0 011.907-1.9h26.188a1.873 1.873 0 011.909 1.9v11.219a1.862 1.862 0 01-1.891 1.884h-3.734v5.564a1.845 1.845 0 01-1.436 1.88.354.354 0 00-.088.056zm15.341-13.1H7.527v11.21h14.966zm.36-16.9c.262.133.536.246.783.4a1.532 1.532 0 01.725 1.268c.042 1.305.014 2.613.014 3.937h-1.862V1.894h-15V5.61h-1.88V1.936A1.854 1.854 0 017.069.057a.357.357 0 00.088-.056z"/><path fill="#fff" d="M22.493 16.896V28.11H7.527V16.896zM9.399 18.765v1.839h11.218v-1.839zm-.007 5.59h9.35v-1.838h-9.35z"/><path d="M9.398 18.764h11.218v1.839H9.398zm-.009 5.591v-1.838h9.35v1.838z"/></svg>'},513:function(t,e,n){"use strict";n.r(e),e.default='<svg viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M9 0a9 9 0 110 18A9 9 0 019 0z"/><path d="M9 1C4.589 1 1 4.589 1 9s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8m0-1a9 9 0 110 18A9 9 0 019 0z" fill="#000" fill-rule="nonzero"/><path d="M8 6V4h2v2H8zm0 8V8h2v6H8z" fill="#000" fill-rule="nonzero"/></g></svg>'},7150:function(t,e,n){"use strict";n.r(e),e.default='<svg viewBox="0 0 178.133 19.843" xmlns="http://www.w3.org/2000/svg"><path d="M125.631.474v2.242h6.341v16.576h2.575V2.716h6.341V.474zm-17.453 0v10.568a12.2 12.2 0 00.938 5.342q1.71 3.408 6.492 3.408 4.78 0 6.504-3.408a12.2 12.2 0 00.938-5.342V.474h-2.575v11.632a7.009 7.009 0 01-.632 3.241q-1.176 2.215-4.442 2.216a4.077 4.077 0 01-3.873-2.05 6.791 6.791 0 01-.775-3.407V.474zM88.855 19.292h2.574v-8.8h9.672v8.8h2.575V.474h-2.575V8.25h-9.672V.474h-2.574zM70.3 13.22a6.119 6.119 0 001.899 4.829 7.58 7.58 0 005.359 1.794 9.745 9.745 0 005.153-1.345 4.817 4.817 0 002.218-4.471 4.517 4.517 0 00-1.738-3.83 7.693 7.693 0 00-2.855-1.191l-2.557-.602a16.062 16.062 0 01-3.314-1.025 2.166 2.166 0 01-1.117-2.024 3.023 3.023 0 01.946-2.203 4.267 4.267 0 013.107-.948 4.47 4.47 0 013.795 1.473 4.847 4.847 0 01.786 2.318h2.396a5.21 5.21 0 00-2.013-4.566A8.236 8.236 0 0077.472 0a6.74 6.74 0 00-4.837 1.627 5.5 5.5 0 00-1.708 4.163 3.974 3.974 0 001.738 3.523 10.946 10.946 0 003.425 1.243l2.469.576a9.225 9.225 0 012.954 1.115 2.487 2.487 0 01.93 2.19 2.885 2.885 0 01-2.196 2.844 7.375 7.375 0 01-2.517.41q-3.086 0-4.307-1.87a5.292 5.292 0 01-.728-2.601zm-18.363 6.072h7.496a6.857 6.857 0 006.738-4.279 12.836 12.836 0 001.112-5.418A10.254 10.254 0 0065.4 3.228 7.054 7.054 0 0059.458.474h-7.521zm2.575-2.178V2.665h4.421a4.975 4.975 0 014.378 1.934 9.346 9.346 0 011.359 5.431 11.41 11.41 0 01-.188 1.973 7.978 7.978 0 01-1.065 2.921 4.59 4.59 0 01-2.379 1.921 6.73 6.73 0 01-2.08.269zm-21.899 2.178h2.434V4.106l9.524 15.186h2.864V.474h-2.434v15.204L35.616.474h-3.003zm-19.355 0h2.613l2.041-5.636h7.383l1.964 5.636h2.793L23.222.474h-2.878zm5.406-7.712l3.01-8.313 2.897 8.313zM0 19.292h11.99V17.05H2.549V.474H0zM164.865.47v.439l12.703-.008-12.701 18.381h.537L178.133.86V.463zm-14.615 0v.439l12.703-.008-12.7 18.381h.536L163.518.86V.463z"/></svg>'},8744:function(t,e,n){"use strict";n.r(e),e.default='<?xml version="1.0" encoding="UTF-8"?>\n<svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n    <title>marker</title>\n    <g id="marker" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n        <rect id="Rectangle" x="0" y="0" width="54" height="54" class="outer-rect" id="Group" fill="#FFFFFF" opacity="0.5"></rect>\n        <g id="Group_2820" transform="translate(4.500000, 4.500000)">\n            <rect class="inner-rect" id="Rectangle" fill="#FFFFFF" fill-rule="nonzero" x="0.5" y="0.5" width="44" height="44"></rect>\n            <line x1="10.5" y1="22.5" x2="34.5" y2="22.5" id="Path_113" stroke="#000000" stroke-width="3"></line>\n            <line x1="22.5" y1="34.5" x2="22.5" y2="10.5" id="Path_118" stroke="#000000" stroke-width="3"></line>\n        </g>\n    </g>\n</svg>'},9157:function(t,e,n){"use strict";n.r(e),e.default='<svg viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"><circle stroke="#FFF" stroke-width="2" cx="7" cy="7" r="6" fill="none"/></svg>'},2646:function(t,e,n){"use strict";n.r(e),e.default='<svg viewBox="0 0 14 18" xmlns="http://www.w3.org/2000/svg"><polygon points="10 0 14 0 14 18 10 18"/><rect width="4" height="18"/></svg>'},5823:function(t,e,n){"use strict";n.r(e),e.default='<svg viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg"><g fill="none"><circle stroke="#FFF" cx="9" cy="9" r="8.5"/><polyline fill="#FFF" points="7 5 13 9 7 13"/></g></svg>'},3560:function(t,e,n){"use strict";n.r(e),e.default='<svg data-name="Group 3336" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 40"><path data-name="Path 813" d="M0 0l30 20L0 40" fill="#fff"/></svg>'},4539:function(t,e,n){"use strict";n.r(e),e.default='<svg viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg"><polygon points="0 3 18 3 18 0 0 0" transform="rotate(180 9 5.25)"/><polygon points="0 3 18 3 18 0 0 0" transform="rotate(90 5.25 5.25)"/></svg>'},252:function(t,e,n){"use strict";n.r(e),e.default='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd" stroke="#000" stroke-width="3"><line y1="12" x2="24" y2="12"/><line x1="12" y1="24" x2="12"/></g></svg>'},6519:function(t,e,n){"use strict";n.r(e),e.default='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><defs><clipPath id="a"><path d="M0 0h30v30H0z"/></clipPath></defs><g clip-path="url(#a)"><path d="M18.115 18.085a7.827 7.827 0 01-5.808 2.407 8.142 8.142 0 01-5.808-2.407 7.667 7.667 0 01-2.407-5.778A8.073 8.073 0 016.5 6.5a8.209 8.209 0 0111.615 0 7.967 7.967 0 012.377 5.808 7.685 7.685 0 01-2.377 5.778m
26.5-5.778a12.308 12.308 0 00-24.615 0 12.329 12.329 0 0012.308 12.308 12.166 12.166 0 006.981-2.167l7.643 7.643 3.16-3.16-7.643-7.673a11.941 11.941 0 002.167-6.951"/></g></svg>'},9681:function(t,e,n){"use strict";n.r(e),e.default='<svg viewBox="0 0 54 100" xmlns="http://www.w3.org/2000/svg"><path d="M50.095 55.825l2.754-17.96H35.616V26.207c0-4.913 2.408-9.703 10.126-9.703h7.836V1.214S46.467 0 39.668 0C25.476 0 16.2 8.602 16.2 24.175v13.69H.422v17.96H16.2v43.42a62.61 62.61 0 009.709.755 62.63 62.63 0 009.708-.755v-43.42h14.479z" fill-rule="evenodd"/></svg>'},1447:function(t,e,n){"use strict";n.r(e),e.default='<svg viewBox="0 0 87 87" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M43 .333c-11.588 0-13.04.05-17.592.257-4.54.207-7.642.929-10.357 1.983-2.805 1.09-5.185 2.55-7.557 4.922-2.372 2.372-3.83 4.751-4.92 7.557C1.517 17.766.796 20.867.59 25.408.382 29.96.333 31.412.333 43c0 11.587.05 13.04.257 17.591.207 4.542.928 7.643 1.983 10.357 1.09 2.806 2.55 5.185 4.921 7.557 2.372 2.372 4.752 3.831 7.557 4.922 2.715 1.054 5.816 1.775 10.357 1.983 4.551.207 6.004.256 17.592.256 11.587 0 13.04-.049 17.591-.256 4.542-.208 7.643-.929 10.357-1.983 2.806-1.09 5.185-2.55 7.557-4.922 2.372-2.372 3.831-4.751 4.922-7.557 1.054-2.714 1.775-5.815 1.983-10.357.207-4.55.256-6.004.256-17.591 0-11.588-.049-13.04-.256-17.592-.208-4.54-.929-7.642-1.983-10.356-1.09-2.806-2.55-5.185-4.922-7.557-2.372-2.372-4.751-3.831-7.557-4.922C68.234 1.52 65.133.797 60.591.59 56.041.382 54.587.333 43 .333zm0 7.688c11.392 0 12.742.044 17.24.249 4.16.19 6.42.885 7.923 1.469 1.992.774 3.413 1.699 4.906 3.192 1.493 1.492 2.418 2.914 3.192 4.905.584 1.504 1.28 3.763 1.469 7.923.205 4.499.249 5.848.249 17.24 0 11.393-.044 12.743-.25 17.242-.189 4.16-.884 6.419-1.468 7.922-.774 1.992-1.699 3.413-3.192 4.906-1.493 1.493-2.914 2.418-4.906 3.192-1.503.584-3.762 1.28-7.922 1.469-4.499.205-5.848.249-17.241.249s-12.743-.044-17.241-.25c-4.16-.189-6.42-.884-7.923-1.468-1.991-.774-3.413-1.699-4.906-3.192-1.493-1.493-2.417-2.914-3.191-4.906-.584-1.503-1.28-3.762-1.47-7.922-.205-4.5-.248-5.849-.248-17.241 0-11.393.043-12.742.249-17.241.19-4.16.885-6.42 1.469-7.923.774-1.991 1.698-3.413 3.191-4.905 1.493-1.493 2.915-2.418 4.906-3.192 1.504-.584 3.763-1.28 7.923-1.47 4.499-.204 5.848-.248 17.24-.248z" fill="#000"/><path d="M43 57.222c-7.855 0-14.222-6.367-14.222-14.222 0-7.855 6.367-14.222 14.222-14.222 7.855 0 14.222 6.367 14.222 14.222 0 7.855-6.367 14.222-14.222 14.222zm0-36.132c-12.1 0-21.91 9.81-21.91 21.91S30.9 64.91 43 64.91 64.91 55.1 64.91 43 55.1 21.09 43 21.09zm27.895-.866a5.12 5.12 0 11-10.24 0 5.12 5.12 0 0110.24 0z" fill="#030404" fill-rule="nonzero"/></g></svg>'},2494:function(t,e,n){"use strict";n.r(e),e.default='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865l8.875 11.633Z" fill-rule="evenodd"/></svg>'},8508:function(t,e,n){"use strict";n.r(e),e.default='<svg viewBox="0 0 100 70" xmlns="http://www.w3.org/2000/svg"><path d="M97.91 10.93a12.522 12.522 0 00-8.84-8.84C81.27 0 50 0 50 0S18.73 0 10.93 2.09a12.523 12.523 0 00-8.84 8.84C0 18.73 0 35 0 35s0 16.272 2.09 24.07a12.524 12.524 0 008.84 8.84C18.73 70 50 70 50 70s31.27 0 39.07-2.09a12.523 12.523 0 008.84-8.84C100 51.271 100 35 100 35s0-16.27-2.09-24.07zM40 50V20l25.98 15L40 50z" fill-rule="evenodd"/></svg>'},8327:function(t,e,n){"use strict";n.r(e),e.default='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 38 38"><path class="bg" fill="#fff" d="M19 0A19 19 0 110 19 19 19 0 0119 0z" opacity=".5"/><path class="sstrokes" d="M9.999 22.021V15.98c.671 0 1.344.029 2.013-.013a1.724 1.724 0 00.864-.287c1.529-1.078 3.04-2.19 4.558-3.29.167-.121.338-.231.565-.385v14c-.563-.4-1.087-.771-1.607-1.146-1.1-.8-2.21-1.573-3.292-2.4a1.94 1.94 0 00-1.385-.446c-.548.037-1.1.008-1.716.008"/></svg>'},9966:function(t,e,n){"use strict";n.r(e),e.default='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 38 38"><path class="bg" opacity=".5" fill="#fff" d="M19 0A19 19 0 110 19 19 19 0 0119 0z"/><path class="sstrokes" d="M9.999 22.021V15.98c.671 0 1.344.029 2.013-.013a1.724 1.724 0 00.864-.287c1.529-1.078 3.04-2.19 4.558-3.29.167-.121.338-.231.565-.385v14c-.563-.4-1.087-.771-1.607-1.146-1.1-.8-2.21-1.573-3.292-2.4a1.94 1.94 0 00-1.385-.446c-.548.037-1.1.008-1.716.008M24.929 27l-1.4-1.349a9.419 9.419 0 002.743-6.692 9.382 9.382 0 00-2.729-6.667L25.015 11a11.349 11.349 0 01-.086 16"/><path class="sstrokes" d="M21.836 24.001l-1.431-1.333a5.355 5.355 0 001.513-3.7 5.28 5.28 0 00-1.521-3.686l1.46-1.281c2.5 2.17 2.969 7.093-.021 10"/></svg>'},8090:function(t,e,n){"use strict";n.r(e),e.default='<svg viewBox="0 0 40 28" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><rect fill="#000" fill-rule="nonzero" width="40" height="28"/><path fill="#fff" d="M13.704 19.94c3.36 0 5.04-1.547 5.04-4.64V7.38h-2.192v7.968c0 .95-.227 1.643-.68 2.08-.453.437-1.176.656-2.168.656-.992 0-1.715-.219-2.168-.656-.453-.437-.68-1.13-.68-2.08V7.38H8.664v7.92c0 3.093 1.68 4.64 5.04 4.64zm13.2-.272V9.14h3.808V7.38h-9.76v1.76h3.808v10.528h2.144z"/></g></svg>'},1906:function(t,e,n){"use strict";n.r(e),e.default='<svg viewBox="0 0 40 28" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><rect fill="#000" fill-rule="nonzero" width="40" height="28"/>
2<path fill="#fff" d="M13.12 19.956c1.408 0 2.597-.365 3.568-1.096.97-.73 1.621-1.752 1.952-3.064l-1.984-.224c-.47 1.696-1.637 2.544-3.504 2.544-1.141 0-2.05-.408-2.728-1.224-.677-.816-1.016-1.965-1.016-3.448 0-1.472.336-2.597 1.008-3.376C11.088 9.289 12 8.9 13.152 8.9c1.685 0 2.81.736 3.376 2.208l2.048-.224c-.352-1.205-.992-2.136-1.92-2.792-.928-.656-2.096-.984-3.504-.984-1.739 0-3.157.57-4.256 1.712-1.099 1.141-1.648 2.704-1.648 4.688 0 1.973.544 3.541 1.632 4.704 1.088 1.163 2.501 1.744 4.24 1.744zm13.52 0c1.408 0 2.597-.365 3.568-1.096.97-.73 1.621-1.752 1.952-3.064l-1.984-.224c-.47 1.696-1.637 2.544-3.504 2.544-1.141 0-2.05-.408-2.728-1.224-.677-.816-1.016-1.965-1.016-3.448 0-1.472.336-2.597 1.008-3.376.672-.779 1.584-1.168 2.736-1.168 1.685 0 2.81.736 3.376 2.208l2.048-.224c-.352-1.205-.992-2.136-1.92-2.792-.928-.656-2.096-.984-3.504-.984-1.739 0-3.157.57-4.256 1.712-1.099 1.141-1.648 2.704-1.648 4.688 0 1.973.544 3.541 1.632 4.704 1.088 1.163 2.501 1.744 4.24 1.744z"/></g></svg>'},2511:function(t,e,n){var r;t=n.nmd(t),function(i){e&&e.nodeType,t&&t.nodeType;var o="object"==typeof n.g&&n.g;o.global!==o&&o.window!==o&&o.self;var s,a=2147483647,u=36,l=/^xn--/,c=/[^\x20-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,p=String.fromCharCode;function v(t){throw RangeError(f[t])}function m(t,e){for(var n=t.length,r=[];n--;)r[n]=e(t[n]);return r}function g(t,e){var n=t.split("@"),r="";return n.length>1&&(r=n[0]+"@",t=n[1]),r+m((t=t.replace(h,".")).split("."),e).join(".")}function y(t){for(var e,n,r=[],i=0,o=t.length;i<o;)(e=t.charCodeAt(i++))>=55296&&e<=56319&&i<o?56320==(64512&(n=t.charCodeAt(i++)))?r.push(((1023&e)<<10)+(1023&n)+65536):(r.push(e),i--):r.push(e);return r}function _(t){return m(t,(function(t){var e="";return t>65535&&(e+=p((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+=p(t)})).join("")}function b(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function x(t,e,n){var r=0;for(t=n?d(t/700):t>>1,t+=d(t/e);t>455;r+=u)t=d(t/35);return d(r+36*t/(t+38))}function T(t){var e,n,r,i,o,s,l,c,h,f,p,m=[],g=t.length,y=0,b=128,T=72;for((n=t.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)t.charCodeAt(r)>=128&&v("not-basic"),m.push(t.charCodeAt(r));for(i=n>0?n+1:0;i<g;){for(o=y,s=1,l=u;i>=g&&v("invalid-input"),((c=(p=t.charCodeAt(i++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:u)>=u||c>d((a-y)/s))&&v("overflow"),y+=c*s,!(c<(h=l<=T?1:l>=T+26?26:l-T));l+=u)s>d(a/(f=u-h))&&v("overflow"),s*=f;T=x(y-o,e=m.length+1,0==o),d(y/e)>a-b&&v("overflow"),b+=d(y/e),y%=e,m.splice(y++,0,b)}return _(m)}function E(t){var e,n,r,i,o,s,l,c,h,f,m,g,_,T,E,w=[];for(g=(t=y(t)).length,e=128,n=0,o=72,s=0;s<g;++s)(m=t[s])<128&&w.push(p(m));for(r=i=w.length,i&&w.push("-");r<g;){for(l=a,s=0;s<g;++s)(m=t[s])>=e&&m<l&&(l=m);for(l-e>d((a-n)/(_=r+1))&&v("overflow"),n+=(l-e)*_,e=l,s=0;s<g;++s)if((m=t[s])<e&&++n>a&&v("overflow"),m==e){for(c=n,h=u;!(c<(f=h<=o?1:h>=o+26?26:h-o));h+=u)E=c-f,T=u-f,w.push(p(b(f+E%T,0))),c=d(E/T);w.push(p(b(c,0))),o=x(n,_,r==i),n=0,++r}++n,++e}return w.join("")}s={version:"1.3.2",ucs2:{decode:y,encode:_},decode:T,encode:E,toASCII:function(t){return g(t,(function(t){return c.test(t)?"xn--"+E(t):t}))},toUnicode:function(t){return g(t,(function(t){return l.test(t)?T(t.slice(4).toLowerCase()):t}))}},void 0===(r=function(){return s}.call(e,n,e,t))||(t.exports=r)}()},8575:function(t,e,n){"use strict";var r=n(2511),i=n(2502);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}e.Qc=_,e.DB=function(t,e){return _(t,!1,!0).resolve(e)},e.WU=function(t){i.isString(t)&&(t=_(t));return t instanceof o?t.format():o.prototype.format.call(t)};var s=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(l),h=["%","/","?",";","#"].concat(c),f=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n(7673);function _(t,e,n){if(t&&i.isObject(t)&&t instanceof o)return t;var r=new o;return r.parse(t,e,n),r}o.prototype.parse=function(t,e,n){if(!i.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var o=t.indexOf("?"),a=-1!==o&&o<t.indexOf("#")?"?":"#",l=t.split(a);l[0]=l[0].replace(/\\/g,"/");var _=t=l.join(a);if(_=_.trim(),!n&&1===t.split("#").length){var b=u.exec(_);if(b)return this.path=_,this.href=_,this.pathname=b[1],b[2]?(this.search=b[2],this.query=e?y.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var x=s.exec(_);if(x){var T=(x=x[0]).toLowerCase();this.protocol=T,_=_.substr(x.length)}if(n||x||_.match(/^\/\/[^@\/]+@[^@\/]+/)){var E="//"===_.substr(0,2);!E||x&&m[x]||(_=_.substr(2),this.slashes=!0)}if(!m[x]&&(E||x&&!g[x])){for(var w,S,A=-1,O=0;O<f.length;O++){-1!==(R=_.indexOf(f[O]))&&(-1===A||R<A)&&(A=R)}-1!==(S=-1===A?_.lastIndexOf("@"):_.lastIndexOf("@",A))&&(w=_.slice(0,S),_=_.slice(S+1),this.auth=decodeURIComponent(w)),A=-1;for(O=0;O<h.length;O++){var R;-1!==(R=_.indexOf(h[O]))&&(-1===A||R<A)&&(A=R)}-1===A&&(A=_.length),this.host=_.slice(0,A),_=_.slice(A),this.parseHost(),this.hostname=this.hostname||"";var P="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!P)for(var C=this.hostname.split(/\./),I=(O=0,C.length);O<I;O++){var M=C[O];if(M&&!M.match(d)){for(var D="",L=0,N=M.length;L<N;
vendor: 5,123 bytes, line 2
2L++)M.charCodeAt(L)>127?D+="x":D+=M[L];if(!D.match(d)){var k=C.slice(0,O),F=C.slice(O+1),B=M.match(p);B&&(k.push(B[1]),F.unshift(B[2])),F.length&&(_="/"+F.join(".")+_),this.hostname=k.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=r.toASCII(this.hostname));var U=this.port?":"+this.port:"",G=this.hostname||"";this.host=G+U,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==_[0]&&(_="/"+_))}if(!v[T])for(O=0,I=c.length;O<I;O++){var X=c[O];if(-1!==_.indexOf(X)){var j=encodeURIComponent(X);j===X&&(j=escape(X)),_=_.split(X).join(j)}}var H=_.indexOf("#");-1!==H&&(this.hash=_.substr(H),_=_.slice(0,H));var z=_.indexOf("?");if(-1!==z?(this.search=_.substr(z),this.query=_.substr(z+1),e&&(this.query=y.parse(this.query)),_=_.slice(0,z)):e&&(this.search="",this.query={}),_&&(this.pathname=_),g[T]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){U=this.pathname||"";var Y=this.search||"";this.path=U+Y}return this.href=this.format(),this},o.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,s="";this.host?o=t+this.host:this.hostname&&(o=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(s=y.stringify(this.query));var a=this.search||s&&"?"+s||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||g[e])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),e+o+(n=n.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})))+(a=a.replace("#","%23"))+r},o.prototype.resolve=function(t){return this.resolveObject(_(t,!1,!0)).format()},o.prototype.resolveObject=function(t){if(i.isString(t)){var e=new o;e.parse(t,!1,!0),t=e}for(var n=new o,r=Object.keys(this),s=0;s<r.length;s++){var a=r[s];n[a]=this[a]}if(n.hash=t.hash,""===t.href)return n.href=n.format(),n;if(t.slashes&&!t.protocol){for(var u=Object.keys(t),l=0;l<u.length;l++){var c=u[l];"protocol"!==c&&(n[c]=t[c])}return g[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(t.protocol&&t.protocol!==n.protocol){if(!g[t.protocol]){for(var h=Object.keys(t),f=0;f<h.length;f++){var d=h[f];n[d]=t[d]}return n.href=n.format(),n}if(n.protocol=t.protocol,t.host||m[t.protocol])n.pathname=t.pathname;else{for(var p=(t.pathname||"").split("/");p.length&&!(t.host=p.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),n.pathname=p.join("/")}if(n.search=t.search,n.query=t.query,n.host=t.host||"",n.auth=t.auth,n.hostname=t.hostname||t.host,n.port=t.port,n.pathname||n.search){var v=n.pathname||"",y=n.search||"";n.path=v+y}return n.slashes=n.slashes||t.slashes,n.href=n.format(),n}var _=n.pathname&&"/"===n.pathname.charAt(0),b=t.host||t.pathname&&"/"===t.pathname.charAt(0),x=b||_||n.host&&t.pathname,T=x,E=n.pathname&&n.pathname.split("/")||[],w=(p=t.pathname&&t.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(w&&(n.hostname="",n.port=null,n.host&&(""===E[0]?E[0]=n.host:E.unshift(n.host)),n.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===p[0]?p[0]=t.host:p.unshift(t.host)),t.host=null),x=x&&(""===p[0]||""===E[0])),b)n.host=t.host||""===t.host?t.host:n.host,n.hostname=t.hostname||""===t.hostname?t.hostname:n.hostname,n.search=t.search,n.query=t.query,E=p;else if(p.length)E||(E=[]),E.pop(),E=E.concat(p),n.search=t.search,n.query=t.query;else if(!i.isNullOrUndefined(t.search)){if(w)n.hostname=n.host=E.shift(),(P=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=P.shift(),n.host=n.hostname=P.shift());return n.search=t.search,n.query=t.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!E.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var S=E.slice(-1)[0],A=(n.host||t.host||E.length>1)&&("."===S||".."===S)||""===S,O=0,R=E.length;R>=0;R--)"."===(S=E[R])?E.splice(R,1):".."===S?(E.splice(R,1),O++):O&&(E.splice(R,1),O--);if(!x&&!T)for(;O--;O)E.unshift("..");!x||""===E[0]||E[0]&&"/"===E[0].charAt(0)||E.unshift(""),A&&"/"!==E.join("/").substr(-1)&&E.push("");var P,C=""===E[0]||E[0]&&"/"===E[0].charAt(0);w&&(n.hostname=n.host=C?"":E.length?E.shift():"",(P=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=P.shift(),n.host=n.hostname=P.shift()));return(x=x||n.host&&E.length)&&!C&&E.unshift(""),E.length?n.pathname=E.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var t=this.host,e=a.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},2502:function(t){"use strict";
2t.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},6800:function(t){var e;e=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=4)}([function(t,e,n){var r,i,o,s;i=this,o=window,s=document,void 0===(r=function(){return i.fullpage=function(t,e){"use strict";var n="fullpage-wrapper",r="."+n,i="fp-responsive",o="fp-notransition",s="fp-destroyed",a="fp-enabled",u="fp-viewing",l="active",c="."+l,h="fp-completely",f="fp-section",d="."+f,p=d+c,v="fp-tableCell",m="."+v,g="fp-auto-height",y="fp-normal-scroll",_="fp-nav",b="#"+_,x="fp-tooltip",T="fp-slide",E="."+T,w=E+c,S="fp-slides",A="."+S,O="fp-slidesContainer",R="."+O,P="fp-table",C="fp-slidesNav",I="."+C,M=I+" a",D=".fp-controlArrow",L="fp-prev",N=D+".fp-prev",k=D+".fp-next";function F(e,n){t.console&&t.console[e]&&t.console[e]("fullPage: "+n)}function B(t,n){return(n=1<arguments.length?n:e)?n.querySelectorAll(t):null}function U(t){t=t||{};for(var e=1,n=arguments.length;e<n;++e){var r=arguments[e];if(r)for(var i in r)r.hasOwnProperty(i)&&("[object Object]"!==Object.prototype.toString.call(r[i])?t[i]=r[i]:t[i]=U(t[i],r[i]))}return t}function G(t,e){return null!=t&&(t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className))}function X(){return"innerHeight"in t?t.innerHeight:e.documentElement.offsetHeight}function j(){return t.innerWidth}function H(t,e){var n;for(n in t=K(t),e)if(e.hasOwnProperty(n)&&null!==n)for(var r=0;r<t.length;r++)t[r].style[n]=e[n];return t}function z(t,e,n){for(var r=t[n];r&&!gt(r,e);)r=r[n];return r}function Y(t,e){return z(t,e,"previousElementSibling")}function V(t,e){return z(t,e,"nextElementSibling")}function $(t,e){if(null==e)return t.previousElementSibling;var n=$(t);return n&&gt(n,e)?n:null}function W(t,e){if(null==e)return t.nextElementSibling;var n=W(t);return n&&gt(n,e)?n:null}function q(t){return t[t.length-1]}function Z(t,e){t=tt(t)?t[0]:t;for(var n=null!=e?B(e,t.parentNode):t.parentNode.childNodes,r=0,i=0;i<n.length;i++){if(n[i]==t)return r;1==n[i].nodeType&&r++}return-1}function K(t){return tt(t)?t:[t]}function J(t){t=K(t);for(var e=0;e<t.length;e++)t[e].style.display="none";return t}function Q(t){t=K(t);for(var e=0;e<t.length;e++)t[e].style.display="block";return t}function tt(t){return"[object Array]"===Object.prototype.toString.call(t)||"[object NodeList]"===Object.prototype.toString.call(t)}function et(t,e){t=K(t);for(var n=0;n<t.length;n++){var r=t[n];r.classList?r.classList.add(e):r.className+=" "+e}return t}function nt(t,e){t=K(t);for(var n=e.split(" "),r=0;r<n.length;r++){e=n[r];for(var i=0;i<t.length;i++){var o=t[i];o.classList?o.classList.remove(e):o.className=o.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")}}return t}function rt(t,e){e.appendChild(t)}function it(t,n,r){var i;n=n||e.createElement("div");for(var o=0;o<t.length;o++){var s=t[o];(r&&!o||!r)&&(i=n.cloneNode(!0),s.parentNode.insertBefore(i,s)),i.appendChild(s)}return t}function ot(t,e){it(t,e,!0)}function st(t,e){for("string"==typeof e&&(e=_t(e)),t.appendChild(e);t.firstChild!==e;)e.appendChild(t.firstChild)}function at(t){for(var n=e.createDocumentFragment();t.firstChild;)n.appendChild(t.firstChild);t.parentNode.replaceChild(n,t)}function ut(t,e){return t&&1===t.nodeType?gt(t,e)?t:ut(t.parentNode,e):null}function lt(t,e){ht(t,t.nextSibling,e)}function ct(t,e){ht(t,t,e)}function ht(t,e,n){tt(n)||("string"==typeof n&&(n=_t(n)),n=[n]);for(var r=0;r<n.length;r++)t.parentNode.insertBefore(n[r],e)}function ft(){var n=e.documentElement;return(t.pageYOffset||n.scrollTop)-(n.clientTop||0)}function dt(t){return Array.prototype.filter.call(t.parentNode.children,(function(e){return e!==t}))}function pt(t){t.preventDefault?t.preventDefault():t.returnValue=!1}function vt(t){if("function"==typeof t)return!0;var e=Object.prototype.toString(t);return"[object Function]"===e||"[object GeneratorFunction]"===e}function mt(n,r,i){var o;i=void 0===i?{}:i,"function"==typeof t.CustomEvent?o=new CustomEvent(r,{detail:i}):(o=e.createEvent("CustomEvent")).initCustomEvent(r,!0,!0,i),n.dispatchEvent(o)}function gt(t,e){return(t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||t.oMatchesSelector).call(t,e)}function yt(t,e){if("boolean"==typeof e)for(var n=0;n<t.length;n++)t[n].style.display=e?"block":"none";return t}function _t(t){var n=e.createElement("div");return n.innerHTML=t.trim(),n.firstChild}function bt(t){t=K(t);for(var e=0;e<t.length;e++){var n=t[e];n&&n.parentElement&&n.parentNode.removeChild(n)}}function xt(t,e,n){for(var r=t[n],i=[];r;)(gt(r,e)||null==e)&&i.push(r),r=r[n];return i}function Tt(t,e){return xt(t,e,"nextElementSibling")}function Et(t,e){return xt(t,e,"previousElementSibling")}function wt(t,e){t.insertBefore(e,t.firstChild)}return t.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(e,n){
2n=n||t;for(var r=0;r<this.length;r++)e.call(n,this[r],r,this)}),t.fp_utils={$:B,deepExtend:U,hasClass:G,getWindowHeight:X,css:H,until:z,prevUntil:Y,nextUntil:V,prev:$,next:W,last:q,index:Z,getList:K,hide:J,show:Q,isArrayOrList:tt,addClass:et,removeClass:nt,appendTo:rt,wrap:it,wrapAll:ot,wrapInner:st,unwrap:at,closest:ut,after:lt,before:ct,insertBefore:ht,getScrollTop:ft,siblings:dt,preventDefault:pt,isFunction:vt,trigger:mt,matches:gt,toggle:yt,createElementFromHTML:_t,remove:bt,filter:function(t,e){Array.prototype.filter.call(t,e)},untilAll:xt,nextAll:Tt,prevAll:Et,showError:F,prependTo:wt,toggleClass:function(t,e,n){if(t.classList&&null==n)t.classList.toggle(e);else{var r=G(t,e);r&&null==n||!n?nt(t,e):(!r&&null==n||n)&&et(t,e)}}},function(z,K){var it=K&&new RegExp("([\\d\\w]{8}-){3}[\\d\\w]{8}|^(?=.*?[A-Y])(?=.*?[a-y])(?=.*?[0-8])(?=.*?[#?!@$%^&*-]).{8,}$").test(K.licenseKey)||-1<e.domain.indexOf("alvarotrigo.com"),ht=B("html, body"),xt=B("html")[0],St=B("body")[0];if(!G(xt,a)){var At={};K=U({menu:!1,anchors:[],lockAnchors:!1,navigation:!1,navigationPosition:"right",navigationTooltips:[],showActiveTooltip:!1,slidesNavigation:!1,slidesNavPosition:"bottom",scrollBar:!1,hybrid:!1,css3:!0,scrollingSpeed:700,autoScrolling:!0,fitToSection:!0,fitToSectionDelay:1e3,easing:"easeInOutCubic",easingcss3:"ease",loopBottom:!1,loopTop:!1,loopHorizontal:!0,continuousVertical:!1,continuousHorizontal:!1,scrollHorizontally:!1,interlockedSlides:!1,dragAndMove:!1,offsetSections:!1,resetSliders:!1,fadingEffect:!1,normalScrollElements:null,scrollOverflow:!1,scrollOverflowReset:!1,scrollOverflowHandler:t.fp_scrolloverflow?t.fp_scrolloverflow.iscrollHandler:null,scrollOverflowOptions:null,touchSensitivity:5,touchWrapper:"string"==typeof z?B(z)[0]:z,bigSectionsDestination:null,keyboardScrolling:!0,animateAnchor:!0,recordHistory:!0,controlArrows:!0,controlArrowColor:"#fff",verticalCentered:!0,sectionsColor:[],paddingTop:0,paddingBottom:0,fixedElements:null,responsive:0,responsiveWidth:0,responsiveHeight:0,responsiveSlides:!1,parallax:!1,parallaxOptions:{type:"reveal",percentage:62,property:"translate"},cards:!1,cardsOptions:{perspective:100,fadeContent:!0,fadeBackground:!0},sectionSelector:".section",slideSelector:".slide",v2compatible:!1,afterLoad:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null,afterResponsive:null,lazyLoading:!0},K);var Ot,Rt,Pt,Ct,It=!1,Mt=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),Dt="ontouchstart"in t||0<navigator.msMaxTouchPoints||navigator.maxTouchPoints,Lt="string"==typeof z?B(z)[0]:z,Nt=X(),kt=j(),Ft=!1,Bt=!0,Ut=!0,Gt=[],Xt={m:{up:!0,down:!0,left:!0,right:!0}};Xt.k=U({},Xt.m);var jt,Ht,zt,Yt,Vt,$t,Wt,qt,Zt,Kt,Jt=lr(),Qt={touchmove:"ontouchmove"in t?"touchmove":Jt.move,touchstart:"ontouchstart"in t?"touchstart":Jt.down},te=!1,ee=!G(St,wn("OHNsd3AtZnVsbHBhZ2UtanM5T20=")),ne='a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]',re=!1;try{var ie=Object.defineProperty({},"passive",{get:function(){re=!0}});t.addEventListener("testPassive",null,ie),t.removeEventListener("testPassive",null,ie)}catch(z){}var oe,se,ae,ue=U({},K),le=!1,ce=!0,he={};xr(),t.fp_easings=U(t.fp_easings,{easeInOutCubic:function(t,e,n,r){return(t/=r/2)<1?n/2*t*t*t+e:n/2*((t-=2)*t*t+2)+e}}),Lt&&(At.version="3.1.0",At.setAutoScrolling=we,At.setRecordHistory=Se,At.setScrollingSpeed=Ae,At.setFitToSection=Oe,At.setLockAnchors=function(t){K.lockAnchors=t},At.setMouseWheelScrolling=Re,At.setAllowScrolling=Pe,At.setKeyboardScrolling=Ie,At.moveSectionUp=Me,At.moveSectionDown=De,At.silentMoveTo=Le,At.moveTo=Ne,At.moveSlideRight=ke,At.moveSlideLeft=Fe,At.fitToSection=Je,At.reBuild=Be,At.setResponsive=Ge,At.getFullpageData=function(){return{options:K,internals:{container:Lt,canScroll:Ut,isScrollAllowed:Xt,getDestinationPosition:ln,isTouch:Dt,c:Rn,getXmovement:Jn,removeAnimation:qn,getTransforms:dr,lazyLoad:yn,addAnimation:Wn,performHorizontalMove:zn,landscape
2Scroll:Xn,silentLandscapeScroll:hr,keepSlidesPosition:un,silentScroll:fr,styleSlides:Ve,styleSection:We,scrollHandler:Ke,getEventsPage:cr,getMSPointer:lr,isReallyTouch:nn,usingExtension:mr,toggleControlArrows:jn,touchStartHandler:rn,touchMoveHandler:en}}},At.destroy=function(n){mt(Lt,"destroy",n),we(!1,"internal"),Pe(!0),Ce(!1),Ie(!1),et(Lt,s),[Vt,Yt,Ht,$t,Wt,Zt,zt,ae].forEach((function(t){clearTimeout(t)})),t.removeEventListener("scroll",Ke),t.removeEventListener("hashchange",In),t.removeEventListener("resize",Yn),e.removeEventListener("keydown",Dn),e.removeEventListener("keyup",Ln),["click","touchstart"].forEach((function(t){e.removeEventListener(t,Xe)})),["mouseenter","touchstart","mouseleave","touchend"].forEach((function(t){e.removeEventListener(t,He,!0)})),gr("dragAndMove","destroy"),n&&(fr(0),B("img[data-src], source[data-src], audio[data-src], iframe[data-src]",Lt).forEach((function(t){mn(t,"src")})),B("img[data-srcset]").forEach((function(t){mn(t,"srcset")})),bt(B(b+", "+I+", "+D)),H(B(d),{height:"","background-color":"",padding:""}),H(B(E),{width:""}),H(Lt,{height:"",position:"","-ms-touch-action":"","touch-action":""}),H(ht,{overflow:"",height:""}),nt(xt,a),nt(St,i),St.className.split(/\s+/).forEach((function(t){0===t.indexOf(u)&&nt(St,t)})),B(d+", "+E).forEach((function(t){K.scrollOverflowHandler&&K.scrollOverflow&&K.scrollOverflowHandler.remove(t),nt(t,P+" "+l+" "+h),t.getAttribute("data-fp-styles")&&t.setAttribute("style",t.getAttribute("data-fp-styles")),G(t,f)&&!le&&t.removeAttribute("data-anchor")})),vr(Lt),[m,R,A].forEach((function(t){B(t,Lt).forEach((function(t){at(t)}))})),t.scrollTo(0,0),[f,T,O].forEach((function(t){nt(B("."+t),t)})))},At.getActiveSection=function(){return new Sr(B(p)[0])},At.getActiveSlide=function(){return dn(B(w,B(p)[0])[0])},At.landscapeScroll=Xn,At.test={top:"0px",translate3d:"translate3d(0px, 0px, 0px)",translate3dH:function(){for(var t=[],e=0;e<B(K.sectionSelector,Lt).length;e++)t.push("translate3d(0px, 0px, 0px)");return t}(),left:function(){for(var t=[],e=0;e<B(K.sectionSelector,Lt).length;e++)t.push(0);return t}(),options:K,setAutoScrolling:we},At.shared={afterRenderActions:Ze,isNormalScrollElement:!1},t.fullpage_api=At,t.fullpage_extensions=!0,K.$&&Object.keys(At).forEach((function(t){K.$.fn.fullpage[t]=At[t]})),Ye("continuousHorizontal"),Ye("scrollHorizontally"),Ye("resetSliders"),Ye("interlockedSlides"),Ye("responsiveSlides"),Ye("fadingEffect"),Ye("dragAndMove"),Ye("offsetSections"),Ye("scrollOverflowReset"),Ye("parallax"),Ye("cards"),Ye("dropEffect"),gr("dragAndMove","init"),K.css3&&(K.css3=function(){var n,r=e.createElement("p"),i={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};for(var o in r.style.display="block",e.body.insertBefore(r,null),i)void 0!==r.style[o]&&(r.style[o]="translate3d(1px,1px,1px)",n=t.getComputedStyle(r).getPropertyValue(i[o]));return e.body.removeChild(r),void 0!==n&&0<n.length&&"none"!==n}()),K.scrollBar=K.scrollBar||K.hybrid,function(){if(!K.anchors.length){var t="[data-anchor]",e=B(K.sectionSelector.split(",").join(t+",")+t,Lt);e.length&&e.length===B(K.sectionSelector,Lt).length&&(le=!0,e.forEach((function(t){K.anchors.push(t.getAttribute("data-anchor").toString())})))}if(!K.navigationTooltips.length){var n="[data-tooltip]",r=B(K.sectionSelector.split(",").join(n+",")+n,Lt);r.length&&r.forEach((function(t){K.navigationTooltips.push(t.getAttribute("data-tooltip").toString())}))}}(),function(){H(Lt,{height:"100%",position:"relative"}),et(Lt,n),et(xt,a),Nt=X(),nt(Lt,s),et(B(K.sectionSelector,Lt),f),et(B(K.slideSelector,Lt),T),gr("parallax","init");for(var t=B(d),i=0;i<t.length;i++){var o=i,u=t[i],c=B(E,u),h=c.length;u.setAttribute("data-fp-styles",u.getAttribute("style")),We(u,o),v=u,m=o,void 0!==K.anchors[m]&&G(v,l)&&Zn(K.anchors[m],m),K.menu&&K.css3&&null!=ut(B(K.menu)[0],r)&&B(K.menu).forEach((function(t){St.appendChild(t)})),0<h?Ve(u,c,h):K.verticalCentered&&Qn(u)}var v,m;K.fixedElements&&K.css3&&B(K.fixedElements).forEach((function(t){St.appendChild(t)})),K.navigation&&function(){var t=e.createElement("div");t.setAttribute("id",_);var n=e.createElement("ul");t.appendChild(n),rt(t,St);var r=B(b)[0];et(r,"fp-"+K.navigationPosition),K.showActiveTooltip&&et(r,"fp-show-active");for(var i="",o=0;o<B(d).length;o++){var s="";K.anchors.length&&(s=K.anchors[o]),i+='<li><a href="#'+s+'"><span class="fp-sr-only">'+qe(o,"Section")+"</span><span></span></a>";var a=K.navigationTooltips[o];void 0!==a&&""!==a&&(i+='<div class="'+x+" fp-"+K.navigationPosition+'">'+a+"</div>"),i+="</li>"}B("ul",r)[0].innerHTML=i,et(B("a",B("li",B(b)[0])[Z(B(p)[0],d)]),l)}(),B('iframe[src*="youtube.com/embed/"]',Lt).forEach((function(t){var e,n,r;n="enablejsapi=1",r=(e=t).getAttribute("src"),e.setAttribute("src",r+(/\?/.test(r)?"&":"?")+n)})),gr("fadingEffect","apply"),gr("dropEffect","init"),gr("cards","init"),K.scrollOverflow&&(jt=K.scrollOverflowHandler.init(K))}(),Pe(!0),Ce(!0),we(K.autoScrolling,"internal"),$n(),ur(),"complete"===e.readyState&&Cn(),t.addEventListener("load",Cn),K.scrollOverflow||Ze(),function(){for(var t=1;t<4;t++)Zt=setTimeout(ze,350*t)}(),ee||Rn("l"),t.addEventListener("scroll",Ke),t.addEventListener("hashchange",In),t.addEventListener("focus",Bn),t.addEventListener("blur",Un),t.addEventListener("resize",Yn),e.addEventListener("keydown",Dn),e.addEventListener("keyup",Ln),["click","touchstart"].forEach((function(t){e.addEventListener(t,Xe)})),K.normalScrollElements&&(["mouseenter","touchstart"].forEach((function(t){je(t,!1)})),["mouseleave","touchend"].forEach((function(t){je(t,!0)}))),gr("dragAndMove","turnOffTouch"));var fe,de,pe,ve=!1,me=0,ge=0,ye=0,_e=0,be=(new Date).getTime(),xe=0,Te=0,Ee=Nt;return At}function we(t,e){t||fr(0),br("autoScrolling",t,e);var n=B(p)[0];if(K.autoScrolling&&!K.scrollBar)H(ht,{overflow:"hidden",height:"100%"}),Se(ue.recordHistory,"internal"),H(Lt,{"-ms-touch-action":"none","touch-action":"none"}),null!=n&&fr(n.offsetTop);else if(H(ht,{overflow:"visible",height:"initial"}),Se(!!K.autoScrolling&&ue.recordHistory,"internal"),H(Lt,{"-ms-touch-action":"","touch-action":""}),vr(Lt),null!=n){var r=pn(n.offsetTop);r.element.scrollTo(0,r.options)}mt(Lt,"setAutoScrolling",t)}function Se(t,e){br("recordHistory",t,e)}function Ae(t,e){"internal"!==e&&mr("fadingEffect")&&At.fadingEffect.update(t),mr("cards")&&At.cards.update(t),br("scrollingSpeed",t,e)}function Oe(t,e){br("fitToSection",t,e)}function Re(n){n?(function(){var n,r="";t.addEventListener?n="addEventListener":(n="attachEvent",r="on");var i="onwheel"in e.createElement("div")?"wheel":void 0!==e.onmousewheel?"mousewheel":"DOMMouseScroll",o=!!re&&{passive:!1};"DOMMouseScroll"==i?e[n](r+"MozMousePixelScroll",sn,o):e[n](r+i,sn,o)}(),Lt.addEventListener("mousedown",Nn),Lt.addEventListener("mouseup",kn)):(e.addEventListener?(e.removeEventListener("mousewheel",sn,!1),e.removeEventListener("wheel",sn,!1),e.removeEventListener("MozMousePixelScroll",sn,!1)):e.detachEvent("onmousewheel",sn),Lt.removeEventListener("mousedown",Nn),Lt.removeEventListener("mouseup",kn))}function Pe(t,e){void 0!==e?(e=e.replace(/ /g,"").split(",")).forEac
2h((function(e){pr(t,e,"m")})):pr(t,"all","m"),mt(Lt,"setAllowScrolling",{value:t,directions:e})}function Ce(t){t?(Re(!0),function(){if((Mt||Dt)&&(!mr("dragAndMove")||"mouseonly"===K.dragAndMove)){K.autoScrolling&&(St.removeEventListener(Qt.touchmove,tn,{passive:!1}),St.addEventListener(Qt.touchmove,tn,{passive:!1}));var t=K.touchWrapper;t.removeEventListener(Qt.touchstart,rn),t.removeEventListener(Qt.touchmove,en,{passive:!1}),t.addEventListener(Qt.touchstart,rn),t.addEventListener(Qt.touchmove,en,{passive:!1})}}()):(Re(!1),function(){if(Mt||Dt){K.autoScrolling&&(St.removeEventListener(Qt.touchmove,en,{passive:!1}),St.removeEventListener(Qt.touchmove,tn,{passive:!1}));var t=K.touchWrapper;t.removeEventListener(Qt.touchstart,rn),t.removeEventListener(Qt.touchmove,en,{passive:!1})}}())}function Ie(t,e){void 0!==e?(e=e.replace(/ /g,"").split(",")).forEach((function(e){pr(t,e,"k")})):(pr(t,"all","k"),K.keyboardScrolling=t)}function Me(){var t=Y(B(p)[0],d);t||!K.loopTop&&!K.continuousVertical||(t=q(B(d))),null!=t&&cn(t,null,!0)}function De(){var t=V(B(p)[0],d);t||!K.loopBottom&&!K.continuousVertical||(t=B(d)[0]),null!=t&&cn(t,null,!1)}function Le(t,e){Ae(0,"internal"),Ne(t,e),Ae(ue.scrollingSpeed,"internal")}function Ne(t,e){var n=nr(t);void 0!==e?rr(t,e):null!=n&&cn(n)}function ke(t){an("right",t)}function Fe(t){an("left",t)}function Be(e){if(!G(Lt,s)){Ft=!0,Nt=X(),kt=j();for(var n=B(d),r=0;r<n.length;++r){var i=n[r],o=B(A,i)[0],a=B(E,i);K.verticalCentered&&H(B(m,i),{height:tr(i)+"px"}),H(i,{height:$e(i)+"px"}),1<a.length&&Xn(o,B(w,o)[0])}K.scrollOverflow&&jt.createScrollBarForAll();var u=Z(B(p)[0],d);!u||mr("fadingEffect")||mr("dropEffect")||Le(u+1),Ft=!1,vt(K.afterResize)&&e&&K.afterResize.call(Lt,t.innerWidth,t.innerHeight),vt(K.afterReBuild)&&!e&&K.afterReBuild.call(Lt),mt(Lt,"afterRebuild")}}function Ue(){return G(St,i)}function Ge(t){var e=Ue();t?e||(we(!1,"internal"),Oe(!1,"internal"),J(B(b)),et(St,i),vt(K.afterResponsive)&&K.afterResponsive.call(Lt,t),gr("responsiveSlides","toSections"),mt(Lt,"afterResponsive",t),K.scrollOverflow&&jt.createScrollBarForAll()):e&&(we(ue.autoScrolling,"internal"),Oe(ue.autoScrolling,"internal"),Q(B(b)),nt(St,i),vt(K.afterResponsive)&&K.afterResponsive.call(Lt,t),gr("responsiveSlides","toSlides"),mt(Lt,"afterResponsive",t))}function Xe(t){var e=t.target;e&&ut(e,b+" a")?function(t){pt(t);var e=Z(ut(this,b+" li"));cn(B(d)[e])}.call(e,t):gt(e,".fp-tooltip")?function(){mt($(this),"click")}.call(e):gt(e,D)?function(){var t=ut(this,d);G(this,L)?Xt.m.left&&Fe(t):Xt.m.right&&ke(t)}.call(e,t):gt(e,M)||null!=ut(e,M)?function(t){pt(t);var e=B(A,ut(this,d))[0];Xn(e,B(E,e)[Z(ut(this,"li"))])}.call(e,t):ut(e,K.menu+" [data-menuanchor]")&&function(t){!B(K.menu)[0]||!K.lockAnchors&&K.anchors.length||(pt(t),Ne(this.getAttribute("data-menuanchor")))}.call(e,t)}function je(t,n){e["fp_"+t]=n,e.addEventListener(t,He,!0)}function He(t){var n=t.type,r=!1,i=K.scrollOverflow,o="mouseleave"===n?t.toElement||t.relatedTarget:t.target;if(o==e||!o)return Ce(!0),void(i&&K.scrollOverflowHandler.setIscroll(o,!0));"touchend"===n&&(ce=!1,setTimeout((function(){ce=!0}),800)),("mouseenter"!==n||ce)&&(K.normalScrollElements.split(",").forEach((function(t){if(!r){var e=gt(o,t),n=ut(o,t);(e||n)&&(At.shared.isNormalScrollElement||(Ce(!1),i&&K.scrollOverflowHandler.setIscroll(o,!1)),At.shared.isNormalScrollElement=!0,r=!0)}})),!r&&At.shared.isNormalScrollElement&&(Ce(!0),i&&K.scrollOverflowHandler.setIscroll(o,!0),At.shared.isNormalScrollElement=!1))}function ze(){var t=X(),e=j();Nt===t&&kt===e||(Nt=t,kt=e,Be(!0))}function Ye(e){var n=["NTY3YnVuZGxlNzg5","NTU1S2V5Nzc3"],r=wn(n[0]),i=wn(n[1]),o=void 0!==K[r+i],s="fp_"+e+"Extension";he[e]=o?K[r+i]:K[e+i],At[e]=void 0!==t[s]?new t[s]:null,At[e]&&At[e].c(e)}function Ve(t,n,r){var i=100*r,o=100/r,s=e.createElement("div");s.className=S,ot(n,s);var a,u,c=e.createElement("div");c.className=O,ot(n,c),H(B(R,t),{width:i+"%"}),1<r&&(K.controlArrows&&(a=t,u=[_t('<div class="fp-controlArrow fp-prev"></div>'),_t('<div class="fp-controlArrow fp-next"></div>')],lt(B(A,a)[0],u),"#fff"!==K.controlArrowColor&&(H(B(k,a),{"border-color":"transparent transparent transparent "+K.controlArrowColor}),H(B(N,a),{"border-color":"transparent "+K.controlArrowColor+" transparent transparent"})),K.loopHorizontal||J(B(N,a))),K.slidesNavigation&&function(t,e){rt(_t('<div class="'+C+'"><ul></ul></div>'),t);var n=B(I,t)[0];et(n,"fp-"+K.slidesNavPosition);for(var r=0;r<e;r++)rt(_t('<li><a href="#"><span class="fp-sr-only">'+qe(r,"Slide",B(E,t)[r])+"</span><span></span></a></li>"),B("ul",n)[0]);H(n,{"margin-left":"-"+n.innerWidth/2+"px"}),et(B("a",B("li",n)[0]),l)}
2(t,r)),n.forEach((function(t){H(t,{width:o+"%"}),K.verticalCentered&&Qn(t)}));var h=B(w,t)[0];null!=h&&(0!==Z(B(p),d)||0===Z(B(p),d)&&0!==Z(h))?(hr(h,"internal"),et(h,"fp-initial")):et(n[0],l)}function $e(t){return K.offsetSections&&At.offsetSections?Math.round(At.offsetSections.getWindowHeight(t)):X()}function We(t,e){e||null!=B(p)[0]||et(t,l),Ct=B(p)[0],H(t,{height:$e(t)+"px"}),K.paddingTop&&H(t,{"padding-top":K.paddingTop}),K.paddingBottom&&H(t,{"padding-bottom":K.paddingBottom}),void 0!==K.sectionsColor[e]&&H(t,{"background-color":K.sectionsColor[e]}),void 0!==K.anchors[e]&&t.setAttribute("data-anchor",K.anchors[e])}function qe(t,e,n){var r="Section"===e?K.anchors[t]:n.getAttribute("data-anchor");return K.navigationTooltips[t]||r||e+" "+(t+1)}function Ze(){var t,e,n=B(p)[0];et(n,h),yn(n),gn(),bn(n),K.scrollOverflow&&K.scrollOverflowHandler.afterLoad(),e=nr((t=Mn()).section),t.section&&e&&(void 0===e||Z(e)!==Z(Ct))||!vt(K.afterLoad)||hn("afterLoad",{activeSection:n,element:n,direction:null,anchorLink:n.getAttribute("data-anchor"),sectionIndex:Z(n,d)}),vt(K.afterRender)&&hn("afterRender"),mt(Lt,"afterRender")}function Ke(){var t;if(mt(Lt,"onScroll"),!Ft&&(!K.autoScrolling||K.scrollBar||mr("dragAndMove"))&&!_r()){var e=mr("dragAndMove")?Math.abs(At.dragAndMove.getCurrentScroll()):ft(),n=0,r=e+X()/2,i=(mr("dragAndMove")?At.dragAndMove.getDocumentHeight():St.offsetHeight-X())===e,o=B(d);if(i)n=o.length-1;else if(e)for(var s=0;s<o.length;++s)o[s].offsetTop<=r&&(n=s);else n=0;if(!G(t=o[n],l)){ve=!0;var a,u,c=B(p)[0],h=Z(c,d)+1,f=Kn(t),v=t.getAttribute("data-anchor"),m=Z(t,d)+1,g=B(w,t)[0],y={activeSection:c,sectionIndex:m-1,anchorLink:v,element:t,leavingSection:h,direction:f};g&&(u=g.getAttribute("data-anchor"),a=Z(g)),Ut&&(et(t,l),nt(dt(t),l),gr("parallax","afterLoad"),vt(K.onLeave)&&hn("onLeave",y),vt(K.afterLoad)&&hn("afterLoad",y),mr("resetSliders")&&At.resetSliders.apply({localIsResizing:Ft,leavingSection:h}),Tn(c),yn(t),bn(t),Zn(v,m-1),K.anchors.length&&(Ot=v),or(a,u,v)),clearTimeout($t),$t=setTimeout((function(){ve=!1}),100)}K.fitToSection&&(clearTimeout(Wt),Wt=setTimeout((function(){K.fitToSection&&B(p)[0].offsetHeight<=Nt&&Je()}),K.fitToSectionDelay))}}function Je(){Ut&&(Ft=!0,cn(B(p)[0]),Ft=!1)}function Qe(t){if(Xt.m[t]){var e="down"===t?De:Me;if(mr("scrollHorizontally")&&(e=At.scrollHorizontally.getScrollSection(t,e)),K.scrollOverflow){var n=K.scrollOverflowHandler.scrollable(B(p)[0]),r="down"===t?"bottom":"top";if(null!=n){if(!K.scrollOverflowHandler.isScrolled(r,n))return!0;e()}else e()}else e()}}function tn(t){K.autoScrolling&&nn(t)&&Xt.m.up&&pt(t)}function en(e){var n=ut(e.target,d)||B(p)[0];if(nn(e)){K.autoScrolling&&pt(e);var r=cr(e);ye=r.y,_e=r.x,B(A,n).length&&Math.abs(ge-_e)>Math.abs(me-ye)?!It&&Math.abs(ge-_e)>j()/100*K.touchSensitivity&&(_e<ge?Xt.m.right&&ke(n):Xt.m.left&&Fe(n)):K.autoScrolling&&Ut&&Math.abs(me-ye)>t.innerHeight/100*K.touchSensitivity&&(ye<me?Qe("down"):me<ye&&Qe("up"))}}function nn(t){return void 0===t.pointerType||"mouse"!=t.pointerType}function rn(t){if(K.fitToSection&&(oe=!1),nn(t)){var e=cr(t);me=e.y,ge=e.x}}function on(t,e){for(var n=0,r=t.slice(Math.max(t.length-e,1)),i=0;i<r.length;i++)n+=r[i];return Math.ceil(n/e)}function sn(e){var n=(new Date).getTime(),r=G(B(".fp-completely")[0],y);if(!Xt.m.down&&!Xt.m.up)return pt(e),!1;if(K.autoScrolling&&!Pt&&!r){var i=(e=e||t.event).wheelDelta||-e.deltaY||-e.detail,o=Math.max(-1,Math.min(1,i)),s=void 0!==e.wheelDeltaX||void 0!==e.deltaX,a=Math.abs(e.wheelDeltaX)<Math.abs(e.wheelDelta)||Math.abs(e.deltaX)<Math.abs(e.deltaY)||!s;149<Gt.length&&Gt.shift(),Gt.push(Math.abs(i)),K.scrollBar&&pt(e);var u=n-be;if(be=n,200<u&&(Gt=[]),Ut&&!yr()){var l=on(Gt,10);on(Gt,70)<=l&&a&&Qe(o<0?"down":"up")}return!1}K.fitToSection&&(oe=!1)}function an(t,e){var n=null==e?B(p)[0]:e,r=B(A,n)[0];if(!(null==r||yr()||It||B(E,r).length<2)){var i=B(w,r)[0],o=null;if(null==(o="left"===t?Y(i,E):V(i,E))){if(!K.loopHorizontal)return;var s=dt(i);o="left"===t?s[s.length-1]:s[0]}It=!At.test.isTesting,Xn(r,o,t)}}function un(){for(var t=B(w),e=0;e<t.length;e++)hr(t[e],"internal")}function ln(t){var e=t.offsetHeight,n=t.offsetTop,r=n,i=mr("dragAndMove")&&At.dragAndMove.isGrabbing?At.dragAndMove.isScrollingDown():xe<n,o=r-Nt+e,s=K.bigSectionsDestination;
2return Nt<e?(i||s)&&"bottom"!==s||(r=o):(i||Ft&&null==W(t))&&(r=o),K.offsetSections&&At.offsetSections&&(r=At.offsetSections.getSectionPosition(i,r,t)),xe=r}function cn(e,n,i){if(null!=e){var o,s,a={element:e,callback:n,isMovementUp:i,dtop:ln(e),yMovement:Kn(e),anchorLink:e.getAttribute("data-anchor"),sectionIndex:Z(e,d),activeSlide:B(w,e)[0],activeSection:B(p)[0],leavingSection:Z(B(p),d)+1,localIsResizing:Ft};if(!(a.activeSection==e&&!Ft||K.scrollBar&&ft()===a.dtop&&!G(e,g))){if(null!=a.activeSlide&&(o=a.activeSlide.getAttribute("data-anchor"),s=Z(a.activeSlide)),!a.localIsResizing){var u=a.yMovement;if(void 0!==i&&(u=i?"up":"down"),a.direction=u,void 0!==t.fp_dropEffectExtension&&At.dropEffect.onLeave(a),vt(K.onLeave)&&!1===hn("onLeave",a))return}var c;gr("parallax","apply",a),gr("cards","apply",a),gr("dropEffect","apply",a),K.autoScrolling&&K.continuousVertical&&void 0!==a.isMovementUp&&(!a.isMovementUp&&"up"==a.yMovement||a.isMovementUp&&"down"==a.yMovement)&&((h=a).isMovementUp?ct(B(p)[0],Tt(h.activeSection,d)):lt(B(p)[0],Et(h.activeSection,d).reverse()),fr(B(p)[0].offsetTop),un(),h.wrapAroundElements=h.activeSection,h.dtop=h.element.offsetTop,h.yMovement=Kn(h.element),h.leavingSection=Z(h.activeSection,d)+1,h.sectionIndex=Z(h.element,d),mt(B(r)[0],"onContinuousVertical",h),a=h),mr("scrollOverflowReset")&&At.scrollOverflowReset.setPrevious(a.activeSection),a.localIsResizing||Tn(a.activeSection),K.scrollOverflow&&K.scrollOverflowHandler.beforeLeave(),mr("dropEffect")&&K.dropEffect||(et(e,l),nt(dt(e),l)),yn(e),K.scrollOverflow&&K.scrollOverflowHandler.onLeave(),Ut=At.test.isTesting,or(s,o,a.anchorLink,a.sectionIndex),function(t){var e=K.scrollingSpeed<700,n=e?700:K.scrollingSpeed;if(K.css3&&K.autoScrolling&&!K.scrollBar)er("translate3d(0px, -"+Math.round(t.dtop)+"px, 0px)",!0),K.scrollingSpeed?(clearTimeout(Yt),Yt=setTimeout((function(){vn(t),Ut=!e}),K.scrollingSpeed)):vn(t);else{var r=pn(t.dtop);At.test.top=-t.dtop+"px",H(ht,{"scroll-behavior":"unset"}),Tr(r.element,r.options,K.scrollingSpeed,(function(){K.scrollBar?setTimeout((function(){vn(t)}),30):(vn(t),Ut=!e)}))}e&&(clearTimeout(ae),ae=setTimeout((function(){Ut=!0}),n))}(a),Ot=a.anchorLink,Zn(a.anchorLink,null==(c=a).wrapAroundElements?c.sectionIndex:c.isMovementUp?B(d).length-1:0)}}var h}function hn(t,e){var n,r,i,o,s=(r=t,i=e,(o=K.v2compatible?{afterRender:function(){return[Lt]},onLeave:function(){return[i.activeSection,i.leavingSection,i.sectionIndex+1,i.direction]},afterLoad:function(){return[i.element,i.anchorLink,i.sectionIndex+1]},afterSlideLoad:function(){return[i.destiny,i.anchorLink,i.sectionIndex+1,i.slideAnchor,i.slideIndex]},onSlideLeave:function(){return[i.prevSlide,i.anchorLink,i.sectionIndex+1,i.prevSlideIndex,i.direction,i.slideIndex]}}
2:{afterRender:function(){return{section:fn(B(p)[0]),slide:dn(B(w,B(p)[0])[0])}},onLeave:function(){return{origin:fn(i.activeSection),destination:fn(i.element),direction:i.direction}},afterLoad:function(){return o.onLeave()},afterSlideLoad:function(){return{section:fn(i.section),origin:dn(i.prevSlide),destination:dn(i.destiny),direction:i.direction}},onSlideLeave:function(){return o.afterSlideLoad()}})[r]());if(K.v2compatible){if(!1===K[t].apply(s[0],s.slice(1)))return!1}else if(mt(Lt,t,s),!1===K[t].apply(s[Object.keys(s)[0]],(n=s,Object.keys(n).map((function(t){return n[t]})))))return!1;return!0}function fn(t){return t?new Sr(t):null}function dn(t){return t?new Ar(t):null}function pn(e){var n={};return K.autoScrolling&&!K.scrollBar?(n.options=-e,n.element=B(r)[0]):(n.options=e,n.element=t),n}function vn(t){var e;null!=(e=t).wrapAroundElements&&(e.isMovementUp?ct(B(d)[0],e.wrapAroundElements):lt(B(d)[B(d).length-1],e.wrapAroundElements),fr(B(p)[0].offsetTop),un(),e.sectionIndex=Z(e.element,d),e.leavingSection=Z(e.activeSection,d)+1),vt(K.afterLoad)&&!t.localIsResizing&&hn("afterLoad",t),K.scrollOverflow&&K.scrollOverflowHandler.afterLoad(),gr("parallax","afterLoad"),gr("dropEffect","afterLoad"),gr("scrollOverflowReset","reset"),mr("resetSliders")&&At.resetSliders.apply(t),t.localIsResizing||bn(t.element),et(t.element,h),nt(dt(t.element),h),gn(),Ut=!0,vt(t.callback)&&t.callback()}function mn(t,e){t.setAttribute(e,t.getAttribute("data-"+e)),t.removeAttribute("data-"+e)}function gn(){var t=B(".fp-auto-height")[0]||Ue()&&B(".fp-auto-height-responsive")[0];K.lazyLoading&&t&&B(d+":not("+c+")").forEach((function(t){var e,n,r;n=(e=t.getBoundingClientRect()).top,r=e.bottom,(n+2<Nt&&0<n||2<r&&r<Nt)&&yn(t)}))}function yn(t){K.lazyLoading&&B("img[data-src], img[data-srcset], source[data-src], source[data-srcset], video[data-src], audio[data-src], iframe[data-src]",En(t)).forEach((function(e){if(["src","srcset"].forEach((function(n){var r=e.getAttribute("data-"+n);null!=r&&r&&(mn(e,n),e.addEventListener("load",(function(){_n(t)})))})),gt(e,"source")){var n=ut(e,"video, audio");n&&(n.load(),n.onloadeddata=function(){_n(t)})}}))}function _n(t){K.scrollOverflow&&(clearTimeout(se),se=setTimeout((function(){G(St,i)||jt.createScrollBar(t)}),200))}function bn(t){var e=En(t);B("video, audio",e).forEach((function(t){t.hasAttribute("data-autoplay")&&"function"==typeof t.play&&t.play()})),B('iframe[src*="youtube.com/embed/"]',e).forEach((function(t){t.hasAttribute("data-autoplay")&&xn(t),t.onload=function(){t.hasAttribute("data-autoplay")&&xn(t)}}))}function xn(t){t.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}function Tn(t){var e=En(t);B("video, audio",e).forEach((function(t){t.hasAttribute("data-keepplaying")||"function"!=typeof t.pause||t.pause()})),B('iframe[src*="youtube.com/embed/"]',e).forEach((function(t){/youtube\.com\/embed\//.test(t.getAttribute("src"))&&!t.hasAttribute("data-keepplaying")&&t.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function En(t){var e=B(w,t);return e.length&&(t=e[0]),t}function wn(t){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function n(t){var n,r,i,o,s,a,u="",l=0;for(t=t.replace(/[^A-Za-z0-9+/=]/g,"");l<t.length;)n=e.indexOf(t.charAt(l++))<<2|(o=e.indexOf(t.charAt(l++)))>>4,r=(15&o)<<4|(s=e.indexOf(t.charAt(l++)))>>2,i=(3&s)<<6|(a=e.indexOf(t.charAt(l++))),u+=String.fromCharCode(n),64!=s&&(u+=String.fromCharCode(r)),64!=a&&(u+=String.fromCharCode(i));return function(t){for(var e,n="",r=0,i=0,o=0;r<t.length;)(i=t.charCodeAt(r))<128?(n+=String.fromCharCode(i),r++):191<i&&i<224?(o=t.charCodeAt(r+1),n+=String.fromCharCode((31&i)<<6|63&o),r+=2):(o=t.charCodeAt(r+1),e=t.charCodeAt(r+2),n+=String.fromCharCode((15&i)<<12|(63&o)<<6|63&e),r+=3);return n}(u)}function r(t){return t.slice(3).slice(0,-3)}return function(t){var e=t.split("_");if(1<e.length){var i=e[1];return t.replace(r(e[1]),"").split("_")[0]+"_"+n(i.slice(3).slice(0,-3))}return r(t)}(n(t))}function Sn(t){var n=void 0!==he[t]&&he[t].length,r=[],i=!1;return tt(he[t])?r=he[t]:r.push(he[t]),r.forEach((function(r){var o=function(){if(e.domain.length){for(var t=e.domain.replace(/^(www\.)/,"").split(".");2<t.length;)t.shift();return t.join(".").replace(/(^\.*)|(\.*$)/g,"")}return""}(),s=["MTM0bG9jYWxob3N0MjM0","MTM0MC4xMjM0","MTM0anNoZWxsLm5ldDIzNA==","UDdDQU5ZNlNN","NTY3YnVuZGxlNzg5","NTU1S2V5Nzc3"],a=wn(s[0]),u=wn(s[1]),l=wn(s[2]),c=wn(s[3]),h=wn(s[4]),f=wn(s[5]),d=void 0!==K[h+f];n=n||d;var p=[a,u,l].indexOf(o)<0&&0!==o.length;if(!n&&!d&&p)return!1;var v=n?wn(r):"",m=1<(v=v.split("_")).length&&-1<v[1].indexOf(t,v[1].length-t.length),g=1<v.length&&-1<v[1].toLowerCase().indexOf(h),y=v[0].indexOf(o,v[0].length-o.length)<0,_=m||g;i=i||!(y&&p&&c!=v[0])&&_||!p})),i}function An(e){e.forEach((function(e){if(e.removedNodes[0]&&e.removedNodes[0].isEqualNode(de)){clearTimeout(pe);var n=wn("bDIwc2V0VGltZW91dDAzbA==");pe=t[n](On,900)}}))}function On(){te=!1}
2function Rn(n){if(de=e.createElement("div"),fe=wn("MTIzPGRpdj48YSBocmVmPSJodHRwOi8vYWx2YXJvdHJpZ28uY29tL2Z1bGxQYWdlL2V4dGVuc2lvbnMvIiBzdHlsZT0iY29sb3I6ICNmZmYgIWltcG9ydGFudDsgdGV4dC1kZWNvcmF0aW9uOm5vbmUgIWltcG9ydGFudDsiPlVubGljZW5zZWQgZnVsbFBhZ2UuanMgRXh0ZW5zaW9uPC9hPjwvZGl2PjEyMw=="),ee||(fe=fe.replace("extensions/","").replace("Extension","")),de.innerHTML=fe,de=de.firstChild,"MutationObserver"in t&&new MutationObserver(An).observe(e.body,{childList:!0,subtree:!1}),(!ee||mr(n)&&At[n])&&(!Sn(n)||!ee)){Pn();var r=wn("MzQ1c2V0SW50ZXJ2YWwxMjM=");t[r](Pn,2e3)}}function Pn(){de&&(te||(Math.random()<.5?wt(St,de):rt(de,St),te=!0),de.setAttribute("style",wn("MTIzei1pbmRleDo5OTk5OTk5O3Bvc2l0aW9uOmZpeGVkO3RvcDoyMHB4O2JvdHRvbTphdXRvO2xlZnQ6MjBweDtyaWdodDphdXRvO2JhY2tncm91bmQ6cmVkO3BhZGRpbmc6N3B4IDE1cHg7Zm9udC1zaXplOjE0cHg7Zm9udC1mYW1pbHk6YXJpYWw7Y29sb3I6I2ZmZjtkaXNwbGF5OmlubGluZS1ibG9jazt0cmFuc2Zvcm06dHJhbnNsYXRlM2QoMCwwLDApO29wYWNpdHk6MTtoZWlnaHQ6YXV0bzt3aWR0aDphdXRvO3pvb206MTttYXJnaW46YXV0bztib3JkZXI6bm9uZTt2aXNpYmlsaXR5OnZpc2libGU7Y2xpcC1wYXRoOm5vbmU7MTIz").replace(/;/g,wn("MTIzICFpbXBvcnRhbnQ7MzQ1"))))}function Cn(){var t=Mn(),e=t.section,n=t.slide;e&&(K.animateAnchor?rr(e,n):Le(e,n))}function In(t){if(!ve&&!K.lockAnchors){var e=Mn(),n=e.section,r=e.slide,i=void 0===Ot,o=void 0===Ot&&void 0===r&&!It;n&&n.length&&(n&&n!==Ot&&!i||o&&!yr()||!It&&Rt!=r&&!yr())&&rr(n,r)}}function Mn(){var e,n,r=t.location.hash;if(r.length){var i=r.replace("#","").split("/"),o=-1<r.indexOf("#/");e=o?"/"+i[1]:decodeURIComponent(i[0]);var s=o?i[2]:i[1];s&&s.length&&(n=decodeURIComponent(s))}return{section:e,slide:n}}function Dn(t){clearTimeout(qt);var n=e.activeElement,r=t.keyCode;9===r?function(t){var n,r,i,o,s,a,u=t.shiftKey,l=e.activeElement,c=Fn(En(B(p)[0]));function h(t){return pt(t),c[0]?c[0].focus():null}n=t,i=(r=Fn(e)).indexOf(e.activeElement),s=dn(ut(o=r[n.shiftKey?i-1:i+1],E)),a=fn(ut(o,d)),(s||a)&&(l?null==ut(l,p+","+p+" "+w)&&(l=h(t)):h(t),(!u&&l==c[c.length-1]||u&&l==c[0])&&pt(t))}(t):gt(n,"textarea")||gt(n,"input")||gt(n,"select")||"true"===n.getAttribute("contentEditable")||""===n.getAttribute("contentEditable")||!K.keyboardScrolling||!K.autoScrolling||(-1<[40,38,32,33,34].indexOf(r)&&pt(t),Pt=t.ctrlKey,qt=setTimeout((function(){!function(t){var n=t.shiftKey,r=e.activeElement,i=gt(r,"video")||gt(r,"audio");if(Ut||!([37,39].indexOf(t.keyCode)<0))switch(t.keyCode){case 38:case 33:Xt.k.up&&Me();break;case 32:if(n&&Xt.k.up&&!i){Me();break}case 40:case 34:Xt.k.down&&(32===t.keyCode&&i||De());break;case 36:Xt.k.up&&Ne(1);break;case 35:Xt.k.down&&Ne(B(d).length);break;case 37:Xt.k.left&&Fe();break;case 39:Xt.k.right&&ke()}}(t)}),150))}function Ln(t){Bt&&(Pt=t.ctrlKey)}function Nn(t){2==t.which&&(Te=t.pageY,Lt.addEventListener("mousemove",Gn))}function kn(t){2==t.which&&Lt.removeEventListener("mousemove",Gn)}function Fn(t){return[].slice.call(B(ne,t)).filter((function(t){return"-1"!==t.getAttribute("tabindex")&&null!==t.offsetParent}))}function Bn(){Bt=!0}function Un(){Pt=Bt=!1}function Gn(t){K.autoScrolling&&(Ut&&(t.pageY<Te&&Xt.m.up?Me():t.pageY>Te&&Xt.m.down&&De()),Te=t.pageY)}function Xn(t,e,n){var r=ut(t,d),i={slides:t,destiny:e,direction:n,destinyPos:{left:e.offsetLeft},slideIndex:Z(e),section:r,sectionIndex:Z(r,d),anchorLink:r.getAttribute("data-anchor"),slidesNav:B(I,r)[0],slideAnchor:ar(e),prevSlide:B(w,r)[0],prevSlideIndex:Z(B(w,r)[0]),localIsResizing:Ft};i.xMovement=Jn(i.prevSlideIndex,i.slideIndex),i.direction=i.direction?i.direction:i.xMovement,i.localIsResizing||(Ut=!1),gr("parallax","applyHorizontal",i),gr("cards","apply",i),gr("dropEffect","apply",i),K.onSlideLeave&&!i.localIsResizing&&"none"!==i.xMovement&&vt(K.onSlideLeave)&&!1===hn("onSlideLeave",i)?It=!1:(mr("dropEffect")&&K.dropEffect||(et(e,l),nt(dt(e),l)),i.localIsResizing||(Tn(i.prevSlide),yn(e)),jn(i),G(r,l)&&!i.localIsResizing&&or(i.slideIndex,i.slideAnchor,i.anchorLink,i.sectionIndex),At.continuousHorizontal&&At.continuousHorizontal.apply(i),_r()?Hn(i):zn(t,i,!0),K.interlockedSlides&&At.interlockedSlides&&(mr("continuousHorizontal")&&void 0!==n&&n!==i.xMovement||At.interlockedSlides.apply(i)))}
2function jn(t){!K.loopHorizontal&&K.controlArrows&&(yt(B(N,t.section),0!==t.slideIndex),yt(B(k,t.section),null!=W(t.destiny)))}function Hn(t){var e,n;At.continuousHorizontal&&At.continuousHorizontal.afterSlideLoads(t),e=t.slidesNav,n=t.slideIndex,K.slidesNavigation&&null!=e&&(nt(B(c,e),l),et(B("a",B("li",e)[n]),l)),t.localIsResizing||(gr("parallax","afterSlideLoads"),gr("scrollOverflowReset","setPrevious",t.prevSlide),gr("scrollOverflowReset","reset"),vt(K.afterSlideLoad)&&hn("afterSlideLoad",t),Ut=!0,bn(t.destiny)),It=!1,mr("interlockedSlides")&&At.interlockedSlides.apply(t)}function zn(t,e,n){var r=e.destinyPos;if(K.css3){var i="translate3d(-"+Math.round(r.left)+"px, 0px, 0px)";At.test.translate3dH[e.sectionIndex]=i,mr("dragAndMove")&&void 0!==e.isInterlockedSlide||Wn(B(R,t)),H(B(R,t),dr(i)),Vt=setTimeout((function(){n&&Hn(e)}),K.scrollingSpeed)}else At.test.left[e.sectionIndex]=Math.round(r.left),Tr(t,Math.round(r.left),K.scrollingSpeed,(function(){n&&Hn(e)}))}function Yn(){clearTimeout(Ht),Ht=setTimeout((function(){for(var t=0;t<4;t++)zt=setTimeout(Vn,200*t)}),200)}function Vn(){if(Ft=!0,mt(Lt,"onResize"),$n(),Mt){var t=e.activeElement;if(!gt(t,"textarea")&&!gt(t,"input")&&!gt(t,"select")){var n=X();Math.abs(n-Ee)>20*Math.max(Ee,n)/100&&(Be(!0),Ee=n)}}else ze();Ft=!1}function $n(){var e=K.responsive||K.responsiveWidth,n=K.responsiveHeight,r=e&&t.innerWidth<e,i=n&&t.innerHeight<n;e&&n?Ge(r||i):e?Ge(r):n&&Ge(i)}function Wn(t){var e="all "+K.scrollingSpeed+"ms "+K.easingcss3;return nt(t,o),H(t,{"-webkit-transition":e,transition:e})}function qn(t){return et(t,o)}function Zn(t,e){var n,r,i,o;n=t,B(K.menu).forEach((function(t){K.menu&&null!=t&&(nt(B(c,t),l),et(B('[data-menuanchor="'+n+'"]',t),l))})),r=t,i=e,o=B(b)[0],K.navigation&&null!=o&&"none"!==o.style.display&&(nt(B(c,B(b)[0]),l),et(r?B('a[href="#'+r+'"]',B(b)[0]):B("a",B("li",B(b)[0])[i]),l))}function Kn(t){var e=Z(B(p)[0],d),n=Z(t,d);return e==n?"none":n<e?"up":"down"}function Jn(t,e){return t==e?"none":e<t?"left":"right"}function Qn(t){if(!G(t,P)){var n=e.createElement("div");n.className=v,n.style.height=tr(t)+"px",et(t,P),st(t,n)}}function tr(t){var e=$e(t);if(K.paddingTop||K.paddingBottom){var n=t;G(n,f)||(n=ut(t,d)),e-=parseInt(getComputedStyle(n)["padding-top"])+parseInt(getComputedStyle(n)["padding-bottom"])}return e}function er(t,e){e?Wn(Lt):qn(Lt),clearTimeout(Kt),H(Lt,dr(t)),At.test.translate3d=t,Kt=setTimeout((function(){nt(Lt,o)}),10)}function nr(t){var e=B(d+'[data-anchor="'+t+'"]',Lt)[0];if(!e){var n=void 0!==t?t-1:0;e=B(d)[n]}return e}function rr(t,e){var n=nr(t);if(null!=n){var r,i,o,s=(null==(o=B(E+'[data-anchor="'+(r=e)+'"]',i=n)[0])&&(r=void 0!==r?r:0,o=B(E,i)[r]),o);ar(n)===Ot||G(n,l)?ir(s):cn(n,(function(){ir(s)}))}}function ir(t){null!=t&&Xn(ut(t,A),t)}function or(t,e,n,r){var i="";K.anchors.length&&!K.lockAnchors&&(t?(null!=n&&(i=n),null==e&&(e=t),sr(i+"/"+(Rt=e))):(null!=t&&(Rt=e),sr(n))),ur()}function sr(e){if(K.recordHistory)location.hash=e;else if(Mt||Dt)t.history.replaceState(void 0,void 0,"#"+e);else{var n=t.location.href.split("#")[0];t.location.replace(n+"#"+e)}}function ar(t){if(!t)return null;var e=t.getAttribute("data-anchor"),n=Z(t);return null==e&&(e=n),e}function ur(){var t=B(p)[0],e=B(w,t)[0],n=ar(t),r=ar(e),i=String(n);e&&(i=i+"-"+r),i=i.replace("/","-").replace("#","");var o=new RegExp("\\b\\s?"+u+"-[^\\s]+\\b","g");St.className=St.className.replace(o,""),et(St,u+"-"+i)}function lr(){return t.PointerEvent?{down:"pointerdown",move:"pointermove"}:{down:"MSPointerDown",move:"MSPointerMove"}}function cr(t){var e=[];return e.y=void 0!==t.pageY&&(t.pageY||t.pageX)?t.pageY:t.touches[0].pageY,e.x=void 0!==t.pageX&&(t.pageY||t.pageX)?t.pageX:t.touches[0].pageX,Dt&&nn(t)&&K.scrollBar&&void 0!==t.touches&&(e.y=t.touches[0].pageY,e.x=t.touches[0].pageX),e}function hr(t,e){Ae(0,"internal"),void 0!==e&&(Ft=!0),Xn(ut(t,A),t),void 0!==e&&(Ft=!1),Ae(ue.scrollingSpeed,"internal")}function fr(t){var e=Math.round(t);if(K.css3&&K.autoScrolling&&!K.scrollBar)er("translate3d(0px, -"+e+"px, 0px)",!1);else if(K.autoScrolling&&!K.scrollBar)H(Lt,{top:-e+"px"}),At.test.top=-e+"px";else{var n=pn(e);Er(n.element,n.options)}}function dr(t){return{"-webkit-transform":t,"-moz-transform":t,"-ms-transform":t,transform:t}}function pr(t,e,n){"all"!==e?Xt[n][e]=t:Object.keys(Xt[n]).forEac
2h((function(e){Xt[n][e]=t}))}function vr(t){return H(t,{"-webkit-transition":"none",transition:"none"})}function mr(t){return null!==K[t]&&"[object Array]"===Object.prototype.toString.call(K[t])?K[t].length&&At[t]:K[t]&&At[t]}function gr(t,e,n){if(mr(t))return At[t][e](n)}function yr(){return mr("dragAndMove")&&At.dragAndMove.isAnimating}function _r(){return mr("dragAndMove")&&At.dragAndMove.isGrabbing}function br(t,e,n){K[t]=e,"internal"!==n&&(ue[t]=e)}function xr(){var t=K.licenseKey,e="font-size: 15px;background:yellow;";it?t&&t.length<20&&(console.warn("%c This website was made using fullPage.js slider. More info on the following website:",e),console.warn("%c https://alvarotrigo.com/fullPage/",e)):(F("error","Fullpage.js version 3 has changed its license to GPLv3 and it requires a `licenseKey` option. Read about it here:"),F("error","https://github.com/alvarotrigo/fullPage.js#options")),G(xt,a)?F("error","Fullpage.js can only be initialized once and you are doing it multiple times!"):(K.continuousVertical&&(K.loopTop||K.loopBottom)&&(K.continuousVertical=!1,F("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),!K.scrollOverflow||!K.scrollBar&&K.autoScrolling||F("warn","Options scrollBar:true and autoScrolling:false are mutually exclusive with scrollOverflow:true. Sections with scrollOverflow might not work well in Firefox"),!K.continuousVertical||!K.scrollBar&&K.autoScrolling||(K.continuousVertical=!1,F("warn","Scroll bars (`scrollBar:true` or `autoScrolling:false`) are mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),K.scrollOverflow&&null==K.scrollOverflowHandler&&(K.scrollOverflow=!1,F("error","The option `scrollOverflow:true` requires the file `scrolloverflow.min.js`. Please include it before fullPage.js.")),K.anchors.forEach((function(t){var e=[].slice.call(B("[name]")).filter((function(e){return e.getAttribute("name")&&e.getAttribute("name").toLowerCase()==t.toLowerCase()})),n=[].slice.call(B("[id]")).filter((function(e){return e.getAttribute("id")&&e.getAttribute("id").toLowerCase()==t.toLowerCase()}));if(n.length||e.length){F("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE).");var r=n.length?"id":"name";(n.length||e.length)&&F("error",'"'+t+'" is is being used by another element `'+r+"` property")}})))}function Tr(e,n,r,i){var o,s=(o=e).self!=t&&G(o,S)?o.scrollLeft:!K.autoScrolling||K.scrollBar?ft():o.offsetTop,a=n-s,u=0;oe=!0;var l=function(){if(oe){var o=n;u+=20,r&&(o=t.fp_easings[K.easing](u,s,a,r)),Er(e,o),u<r?setTimeout(l,20):void 0!==i&&i()}else u<r&&i()};l()}function Er(e,n){!K.autoScrolling||K.scrollBar||e.self!=t&&G(e,S)?e.self!=t&&G(e,S)?e.scrollLeft=n:e.scrollTo(0,n):e.style.top=n+"px"}function wr(t,e){this.anchor=t.getAttribute("data-anchor"),this.item=t,this.index=Z(t,e),this.isLast=this.index===t.parentElement.querySelectorAll(e).length-1,this.isFirst=!this.index}function Sr(t){wr.call(this,t,d)}function Ar(t){wr.call(this,t,E)}xr()}}(o,s),i.fullpage}.call(e,n,e,t))||(t.exports=r),window.jQuery&&window.fullpage&&function(t,e){"use strict";t&&e?t.fn.fullpage=function(n){n=t.extend({},n,{$:t}),new e(this[0],n)}:window.fp_utils.showError("error","jQuery is required to use the jQuery fullpage adapter!")}(window.jQuery,window.fullpage)},function(t,e,n){var r=n(5)(n(2),n(6),null,null,null);r.options.__file="/Users/alvarotrigolopez/Sites/vue-fullpage.js/src/FullPage.vue",r.esModule&&Object.keys(r.esModule).some((function(t){return"default"!==t&&"__"!==t.substr(0,2)}))&&console.error("named exports are not supported in *.vue files."),r.options.functional&&console.error("[vue-loader] FullPage.vue: functional components are not supported with templates, they should use render functions."),t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=n(0),s=(r=o)&&r.__esModule?r:{default:r},a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(3));e.default={methods:{build:function(){var t=this.options.slideSelector||".slide",e=this.options.sectionSelector||".section",n=fp_utils.index(document.querySelector(e+".active")),r=document.querySelector(e+".active "+t+".active"),i=r?fp_utils.index(r):-1;this.destroy(),n>-1&&fp_utils.addClass(document.querySelectorAll(e)[n],"active"),i>-1&&fp_utils.addClass(r,"active"),this.init()},destroy:function(){"undefined"!=typeof fullpage_api&&void 0!==fullpage_api.destroy&&fullpage_api.destroy("all")},emitEvent:function(t,e){var n;
2this.$emit.apply(this,[(n=t,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(e))),this.options.hasOwnProperty(t)&&this.options[t].apply(this,e)},init:function(){this.api=new s.default(this.$refs.fullpage,this.options)}},mounted:function(){!this.skipInit&&this.init()},beforeDestroy:function(){void 0!==this.api&&this.destroy()},data:function(){var t=this;return{events:a.EVENTS.reduce((function(e,n){return i({},e,function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},n,(function(){for(var e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=arguments[i];t.emitEvent(n,r)})))}),{}),api:void 0}},props:{options:{type:Object,required:!0},skipInit:{type:Boolean,default:!1}},watch:{options:{deep:!0,handler:function(){this.build()}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EVENTS=["afterLoad","onLeave","afterRender","afterResize","afterResponsive","afterSlideLoad","onSlideLeave"],e.METHODS=["moveSectionUp","moveSectionDown","moveTo","silentMoveTo","moveSlideRight","moveSlideLeft","setAutoScrolling","setFitToSection","fitToSection","setLockAnchors","setAllowScrolling","setKeyboardScrolling","setRecordHistory","setScrollingSpeed","destroy","reBuild","setResponsive","responsiveSlidesToSections","responsiveSlidesToSlides"]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.version=e.FullPage=void 0;var r=o(n(1)),i=o(n(0));function o(t){return t&&t.__esModule?t:{default:t}}function s(t){t.component("full-page",r.default)}"undefined"!=typeof window&&window.Vue&&window.Vue.use(s),window.fullpage_api||(window.fullpage=i.default),e.default=s,e.FullPage=r.default,e.version="__VERSION__"},function(t,e){t.exports=function(t,e,n,r,i){var o,s=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(o=t,s=t.default);var u,l="function"==typeof s?s.options:s;if(e&&(l.render=e.render,l.staticRenderFns=e.staticRenderFns),r&&(l._scopeId=r),i?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},l._ssrRegister=u):n&&(u=n),u){var c=l.functional,h=c?l.render:l.beforeCreate;c?l.render=function(t,e){return u.call(e),h(t,e)}:l.beforeCreate=h?[].concat(h,u):[u]}return{esModule:o,exports:s,options:l}}},function(t,e,n){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{ref:"fullpage"},[t._t("default")],2)},staticRenderFns:[]},t.exports.render._withStripped=!0}])},t.exports=e()},1900:function(t,e,n){"use strict";function r(t,e,n,r,i,o,s,a){var u,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),s?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=u):i&&(u=a?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(l.functional){l._injectStyles=u;var c=l.render;l.render=function(t,e){return u.call(e),c(t,e)}}else{var h=l.beforeCreate;l.beforeCreate=h?[].concat(h,u):[u]}return{exports:t,options:l}}n.d(e,{Z:function(){return r}})},9735:function(t,e,n){var r=n(8834);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[t.id,r,""]]),r.locals&&(t.exports=r.locals);(0,n(5346).Z)("591e29f8",r,!0,{})},1197:function(t,e,n){var r=n(1850);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[t.id,r,""]]),r.locals&&(t.exports=r.locals);(0,n(5346).Z)("028db6b3",r,!0,{})},8634:function(t,e,n){var r=n(3754);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[t.id,r,""]]),r.locals&&(t.exports=r.locals);(0,n(5346).Z)("066b51e2",r,!0,{})},9778:function(t,e,n){var r=n(9048);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[t.id,r,""]]),r.locals&&(t.exports=r.locals);(0,n(5346).Z)("5341bcdf",r,!0,{})},5346:function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],s=o[0],a={id:t+":"+i,css:o[1],media:o[2],sourceMap:o[3]};r[s]?r[s].parts.push(a):n.push(r[s]={id:s,parts:[a]})}return n}n.d(e,{Z:function(){return p}});var i="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},s=i&&(document.head||document.getElementsByTagName("head")[0]),a=null,u=0,l=!1,c=function(){},h=null,f="data-vue-ssr-id",d="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,n,i){l=n,h=i||{};var s=r(t,e);return v(s),function(e){for(var n=[],i=0;i<s.length;i++){var a=s[i];(u=o[a.id]).refs--,n.push(u)}e?v(s=r(t,e)):s=[];for(i=0;i<n.length;i++){var u;if(0===(u=n[i]).refs){for(var l=0;l<u.parts.length;l++)u.parts[l]();delete o[u.id]}}}}function v(t){for(var e=0;e<t.length;e++){var n=t[e],r=o[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;
2i++)r.parts.push(g(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var s=[];for(i=0;i<n.parts.length;i++)s.push(g(n.parts[i]));o[n.id]={id:n.id,refs:1,parts:s}}}}function m(){var t=document.createElement("style");return t.type="text/css",s.appendChild(t),t}function g(t){var e,n,r=document.querySelector("style["+f+'~="'+t.id+'"]');if(r){if(l)return c;r.parentNode.removeChild(r)}if(d){var i=u++;r=a||(a=m()),e=b.bind(null,r,i,!1),n=b.bind(null,r,i,!0)}else r=m(),e=x.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}var y,_=(y=[],function(t,e){return y[t]=e,y.filter(Boolean).join("\n")});function b(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=_(e,i);else{var o=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function x(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),h.ssrId&&t.setAttribute(f,e.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},6474:function(t){var e;e=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=t,n.c=e,n.p="",n(0)}([function(t,e){"use strict";t.exports=function(){if("undefined"==typeof document||"undefined"==typeof window)return{ask:function(){return"initial"},element:function(){return null},ignoreKeys:function(){},specificKeys:function(){},registerOnChange:function(){},unRegisterOnChange:function(){}};var t=document.documentElement,e=null,n="initial",r=n,i=Date.now(),o="false",s=["button","input","select","textarea"],a=[],u=[16,17,18,91,93],l=[],c={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch",touchend:"touch"},h=!1,f={x:null,y:null},d={2:"touch",3:"touch",4:"mouse"},p=!1;try{var v=Object.defineProperty({},"passive",{get:function(){p=!0}});window.addEventListener("test",null,v)}catch(t){}var m=function(){var t=!!p&&{passive:!0};document.addEventListener("DOMContentLoaded",g),window.PointerEvent?(window.addEventListener("pointerdown",y),window.addEventListener("pointermove",b)):window.MSPointerEvent?(window.addEventListener("MSPointerDown",y),window.addEventListener("MSPointerMove",b)):(window.addEventListener("mousedown",y),window.addEventListener("mousemove",b),"ontouchstart"in window&&(window.addEventListener("touchstart",y,t),window.addEventListener("touchend",y))),window.addEventListener(A(),b,t),window.addEventListener("keydown",y),window.addEventListener("keyup",y),window.addEventListener("focusin",x),window.addEventListener("focusout",T)},g=function(){if(o=!(t.getAttribute("data-whatpersist")||"false"===document.body.getAttribute("data-whatpersist")))try{window.sessionStorage.getItem("what-input")&&(n=window.sessionStorage.getItem("what-input")),window.sessionStorage.getItem("what-intent")&&(r=window.sessionStorage.getItem("what-intent"))}catch(t){}_("input"),_("intent")},y=function(t){var e=t.which,i=c[t.type];"pointer"===i&&(i=w(t));var o=!l.length&&-1===u.indexOf(e),a=l.length&&-1!==l.indexOf(e),h="keyboard"===i&&e&&(o||a)||"mouse"===i||"touch"===i;if(S(i)&&(h=!1),h&&n!==i&&(E("input",n=i),_("input")),h&&r!==i){var f=document.activeElement;f&&f.nodeName&&(-1===s.indexOf(f.nodeName.toLowerCase())||"button"===f.nodeName.toLowerCase()&&!P(f,"form"))&&(E("intent",r=i),_("intent"))}},_=function(e){t.setAttribute("data-what"+e,"input"===e?n:r),O(e)},b=function(t){var e=c[t.type];"pointer"===e&&(e=w(t)),R(t),(!h&&!S(e)||h&&"wheel"===t.type||"mousewheel"===t.type||"DOMMouseScroll"===t.type)&&r!==e&&(E("intent",r=e),_("intent"))},x=function(n){n.target.nodeName?(e=n.target.nodeName.toLowerCase(),t.setAttribute("data-whatelement",e),n.target.classList&&n.target.classList.length&&t.setAttribute("data-whatclasses",n.target.classList.toString().replace(" ",","))):T()},T=function(){e=null,t.removeAttribute("data-whatelement"),t.removeAttribute("data-whatclasses")},E=function(t,e){if(o)try{window.sessionStorage.setItem("what-"+t,e)}catch(t){}},w=function(t){return"number"==typeof t.pointerType?d[t.pointerType]:"pen"===t.pointerType?"touch":t.pointerType},S=function(t){var e=Date.now(),r="mouse"===t&&"touch"===n&&e-i<200;return i=e,r},A=function(){return"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll"},O=function(t){for(var e=0,i=a.length;e<i;e++)a[e].type===t&&a[e].fn.call(void 0,"input"===t?n:r)},R=function(t){f.x!==t.screenX||f.y!==t.screenY?(h=!1,f.x=t.screenX,f.y=t.screenY):h=!0},P=function(t,e){var n=window.Element.prototype;if(n.matches||(n.matches=n.msMatchesSelector||n.webkitMatchesSelector),n.closest)return t.closest(e);do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null};return"addEventListener"in window&&Array.prototype.indexOf&&(c[A()]="mouse",m()),{ask:function(t){return"intent"===t?r:n},element:function(){return e},ignoreKeys:function(t){u=t},specificKeys:function(t){l=t},registerOnChange:function(t,e){a.push({fn:t,type:e||"input"})},unRegisterOnChange:function(t){var e=function(t){for(var e=0,n=a.length;e<n;e++)if(a[e].fn===t)return e}(t);(e||0===e)&&a.splice(e,1)},clearStorage:function(){window.sessionStorage.clear()}}}()}])},t.exports=e()},619:function(t,e,n){var r={"./arrow-hero.svg":7435,"./arrow-left.svg":3665,"./arrow-right.svg":6835,"./back.svg":7580,"./close.svg":739,"./copyright-close.svg":7719,"./copyright-open.svg":5093,"./dot.svg":5644,"./icon-print.svg":969,"./info-open.svg":513,"./logo.svg":7150,"./marker.svg":8744,"./navpoint.svg":9157,"./pause.svg":2646,"./play-big.svg":5823,"./play.svg":3560,"./plus-event.svg":4539,"./plus.svg":252,"./search.svg":6519,"./social-facebook.svg":9681,"./social-instagram.svg":1447,"./social-twitter.svg":2494,"./social-youtube.svg":8508,"./sound-off.svg":8327,"./sound-on.svg":9966,"./subtitle-de.svg":8090,"./subtitle-en.svg":1906};function i(t){var e=o(t);return n(e)}function o(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}i.keys=function(){return Object.keys(r)},i.resolve=o,t.exports=i,i.id=619}},r={};function i(t){var e=r[t];if(void 0!==e)return e.exports;var o=r[t]={id:t,loaded:!1,exports:{}};return n[t].call(o.exports,o,o.exports,i),o.loaded=!0,o.exports}i.m=n,t=[],i.O=function(e,n,r,o){if(!n){var s=1/0;for(l=0;l<t.length;l++){n=t[l][0],r=t[l][1],o=t[l][2];for(var a=!0,u=0;u<n.length;u++)(!1&o||s>=o)&&Object.keys(i.O).every((function(t){return i.O[t](n[u])}))?n.splice(u--,1):(a=!1,o<s&&(s=o));a&&(t.splice(l--,1),e=r())}return e}o=o||0;for(var l=t.length;l>0&&t[l-1][2]>o;l--)t[l]=t[l-1];
2t[l]=[n,r,o]},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,{a:e}),e},i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.f={},i.e=function(t){return Promise.all(Object.keys(i.f).reduce((function(e,n){return i.f[n](t,e),e}),[]))},i.u=function(t){return 177===t?"js/home.js?id=36805292c33de002689f":535===t?"js/login.js?id=dfe43f9188601e502cc8":void 0},i.miniCssF=function(t){return"css/main.css"},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e={},i.l=function(t,n,r,o){if(e[t])e[t].push(n);else{var s,a;if(void 0!==r)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var c=u[l];if(c.getAttribute("src")==t){s=c;break}}s||(a=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.src=t),e[t]=[n];var h=function(n,r){s.onerror=s.onload=null,clearTimeout(f);var i=e[t];if(delete e[t],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((function(t){return t(r)})),n)return n(r)},f=setTimeout(h.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=h.bind(null,s.onerror),s.onload=h.bind(null,s.onload),a&&document.head.appendChild(s)}},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},i.p="/",function(){var t={522:0,870:0};i.f.j=function(e,n){var r=i.o(t,e)?t[e]:void 0;if(0!==r)if(r)n.push(r[2]);else if(870!=e){var o=new Promise((function(n,i){r=t[e]=[n,i]}));n.push(r[2]=o);var s=i.p+i.u(e),a=new Error;i.l(s,(function(n){if(i.o(t,e)&&(0!==(r=t[e])&&(t[e]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),s=n&&n.target&&n.target.src;a.message="Loading chunk "+e+" failed.\n("+o+": "+s+")",a.name="ChunkLoadError",a.type=o,a.request=s,r[1](a)}}),"chunk-"+e,e)}else t[e]=0},i.O.j=function(e){return 0===t[e]};var e=function(e,n){var r,o,s=n[0],a=n[1],u=n[2],l=0;for(r in a)i.o(a,r)&&(i.m[r]=a[r]);if(u)var c=u(i);for(e&&e(n);l<s.length;l++)o=s[l],i.o(t,o)&&t[o]&&t[o][0](),t[s[l]]=0;return i.O(c)},n=self.webpackChunk=self.webpackChunk||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))}(),i.O(void 0,[870],(function(){return i(4583)}));var o=i.O(void 0,[870],(function(){return i(5863)}));o=i.O(o)}();

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.