vendor: 5,919 bytes, lines 1-7
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Home-BN9beKSy.js","assets/EventHeader-BQUHJv_Z.js","assets/EventHeader-DMKpy3OO.css","assets/usePage-DOkdvXD5.js","assets/Home-DDz20A_c.css","assets/Article-D_FJ3J78.js","assets/Article-365oKLxF.css","assets/Newsletter-BYMBpp_h.js","assets/Newsletter-_gjWvDYF.css","assets/Upcoming-CBD1HKWm.js","assets/Upcoming-3aYqZnN7.css","assets/Artists-CC2lyuAh.js","assets/Artists-IJ2VhNk0.css","assets/Artist-DsrQTxsC.js","assets/Artist-ytZBamRg.css","assets/Archives-RpAcFZ71.js","assets/Archives-BrUZbZja.css","assets/Event-ColBqzvF.js","assets/Event-FtNQXqsT.css"])))=>i.map(i=>d[i]); 2/** 3 * @license 4 * Copyright 2010-2024 Three.js Authors 5 * SPDX-License-Identifier: MIT 6 */ 7var t;const e=0,n=1,r=1001,i=1006,s="srgb",o="srgb-linear",a="display-p3",l="display-p3-linear",u="linear",c="srgb",h="rec709",p=7680,d=2e3;class f{addEventListener(t,e){void 0===this._listeners&&(this._listeners={});const n=this._listeners;void 0===n[t]&&(n[t]=[]),-1===n[t].indexOf(e)&&n[t].push(e)}hasEventListener(t,e){if(void 0===this._listeners)return!1;const n=this._listeners;return void 0!==n[t]&&-1!==n[t].indexOf(e)}removeEventListener(t,e){if(void 0===this._listeners)return;const n=this._listeners[t];if(void 0!==n){const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}dispatchEvent(t){if(void 0===this._listeners)return;const e=this._listeners[t.type];if(void 0!==e){t.target=this;const n=e.slice(0);for(let e=0,r=n.length;e<r;e++)n[e].call(this,t);t.target=null}}}const m=["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"];function g(){const t=4294967295*Math.random()|0,e=4294967295*Math.random()|0,n=4294967295*Math.random()|0,r=4294967295*Math.random()|0;return(m[255&t]+m[t>>8&255]+m[t>>16&255]+m[t>>24&255]+"-"+m[255&e]+m[e>>8&255]+"-"+m[e>>16&15|64]+m[e>>24&255]+"-"+m[63&n|128]+m[n>>8&255]+"-"+m[n>>16&255]+m[n>>24&255]+m[255&r]+m[r>>8&255]+m[r>>16&255]+m[r>>24&255]).toLowerCase()}function y(t,e,n){return Math.max(e,Math.min(n,t))}function v(t,e,n){return(1-n)*t+n*e}function _(t,e){switch(e.constructor){case Float32Array:return t;case Uint32Array:return t/4294967295;case Uint16Array:return t/65535;case Uint8Array:return t/255;case Int32Array:return Math.max(t/2147483647,-1);case Int16Array:return Math.max(t/32767,-1);case Int8Array:return Math.max(t/127,-1);default:throw new Error("Invalid component type.")}}function x(t,e){switch(e.constructor){case Float32Array:return t;case Uint32Array:return Math.round(4294967295*t);case Uint16Array:return Math.round(65535*t);case Uint8Array:return Math.round(255*t);case Int32Array:return Math.round(2147483647*t);case Int16Array:return Math.round(32767*t);case Int8Array:return Math.round(127*t);default:throw new Error("Invalid component type.")}}class b{constructor(t=0,e=0){b.prototype.isVector2=!0,this.x=t,this.y=e}get width(){return this.x}set width(t){this.x=t}get height(){return this.y}set height(t){this.y=t}set(t,e){return this.x=t,this.y=e,this}setScalar(t){return this.x=t,this.y=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;default:throw new Error("index is out of range: "+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+t)}}clone(){return new this.constructor(this.x,this.y)}copy(t){return this.x=t.x,this.y=t.y,this}add(t){return this.x+=t.x,this.y+=t.y,this}addScalar(t){return this.x+=t,this.y+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this}subScalar(t){return this.x-=t,this.y-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this}multiply(t){return this.x*=t.x,this.y*=t.y,this}multiplyScalar(t){return this.x*=t,this.y*=t,this}divide(t){return this.x/=t.x,this.y/=t.y,this}divideScalar(t){return this.multiplyScalar(1/t)}applyMatrix3(t){const e=this.x,n=this.y,r=t.elements;return this.x=r[0]*e+r[3]*n+r[6],this.y=r[1]*e+r[4]*n+r[7],this}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this}clamp(t,e){return this.x=Math.max(t.x,Math.min(e.x,this.x)),this.y=Math.max(t.y,Math.min(e.y,this.y)),this}clampScalar(t,e){return this.x=Math.max(t,Math.min(e,this.x)),this.y=Math.max(t,Math.min(e,this.y)),this}clampLength(t,e){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(t,Math.min(e,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}
vendor: 33,578 bytes, line 7
7round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(t){return this.x*t.x+this.y*t.y}cross(t){return this.x*t.y-this.y*t.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}angleTo(t){const e=Math.sqrt(this.lengthSq()*t.lengthSq());if(0===e)return Math.PI/2;const n=this.dot(t)/e;return Math.acos(y(n,-1,1))}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){const e=this.x-t.x,n=this.y-t.y;return e*e+n*n}manhattanDistanceTo(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this}lerpVectors(t,e,n){return this.x=t.x+(e.x-t.x)*n,this.y=t.y+(e.y-t.y)*n,this}equals(t){return t.x===this.x&&t.y===this.y}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t}fromBufferAttribute(t,e){return this.x=t.getX(e),this.y=t.getY(e),this}rotateAround(t,e){const n=Math.cos(e),r=Math.sin(e),i=this.x-t.x,s=this.y-t.y;return this.x=i*n-s*r+t.x,this.y=i*r+s*n+t.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class w{constructor(t,e,n,r,i,s,o,a,l){w.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1],void 0!==t&&this.set(t,e,n,r,i,s,o,a,l)}set(t,e,n,r,i,s,o,a,l){const u=this.elements;return u[0]=t,u[1]=r,u[2]=o,u[3]=e,u[4]=i,u[5]=a,u[6]=n,u[7]=s,u[8]=l,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(t){const e=this.elements,n=t.elements;return e[0]=n[0],e[1]=n[1],e[2]=n[2],e[3]=n[3],e[4]=n[4],e[5]=n[5],e[6]=n[6],e[7]=n[7],e[8]=n[8],this}extractBasis(t,e,n){return t.setFromMatrix3Column(this,0),e.setFromMatrix3Column(this,1),n.setFromMatrix3Column(this,2),this}setFromMatrix4(t){const e=t.elements;return this.set(e[0],e[4],e[8],e[1],e[5],e[9],e[2],e[6],e[10]),this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyMatrices(t,e){const n=t.elements,r=e.elements,i=this.elements,s=n[0],o=n[3],a=n[6],l=n[1],u=n[4],c=n[7],h=n[2],p=n[5],d=n[8],f=r[0],m=r[3],g=r[6],y=r[1],v=r[4],_=r[7],x=r[2],b=r[5],w=r[8];return i[0]=s*f+o*y+a*x,i[3]=s*m+o*v+a*b,i[6]=s*g+o*_+a*w,i[1]=l*f+u*y+c*x,i[4]=l*m+u*v+c*b,i[7]=l*g+u*_+c*w,i[2]=h*f+p*y+d*x,i[5]=h*m+p*v+d*b,i[8]=h*g+p*_+d*w,this}multiplyScalar(t){const e=this.elements;return e[0]*=t,e[3]*=t,e[6]*=t,e[1]*=t,e[4]*=t,e[7]*=t,e[2]*=t,e[5]*=t,e[8]*=t,this}determinant(){const t=this.elements,e=t[0],n=t[1],r=t[2],i=t[3],s=t[4],o=t[5],a=t[6],l=t[7],u=t[8];return e*s*u-e*o*l-n*i*u+n*o*a+r*i*l-r*s*a}invert(){const t=this.elements,e=t[0],n=t[1],r=t[2],i=t[3],s=t[4],o=t[5],a=t[6],l=t[7],u=t[8],c=u*s-o*l,h=o*a-u*i,p=l*i-s*a,d=e*c+n*h+r*p;if(0===d)return this.set(0,0,0,0,0,0,0,0,0);const f=1/d;return t[0]=c*f,t[1]=(r*l-u*n)*f,t[2]=(o*n-r*s)*f,t[3]=h*f,t[4]=(u*e-r*a)*f,t[5]=(r*i-o*e)*f,t[6]=p*f,t[7]=(n*a-l*e)*f,t[8]=(s*e-n*i)*f,this}transpose(){let t;const e=this.elements;return t=e[1],e[1]=e[3],e[3]=t,t=e[2],e[2]=e[6],e[6]=t,t=e[5],e[5]=e[7],e[7]=t,this}getNormalMatrix(t){return this.setFromMatrix4(t).invert().transpose()}transposeIntoArray(t){const e=this.elements;return t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8],this}setUvTransform(t,e,n,r,i,s,o){const a=Math.cos(i),l=Math.sin(i);return this.set(n*a,n*l,-n*(a*s+l*o)+s+t,-r*l,r*a,-r*(-l*s+a*o)+o+e,0,0,1),this}scale(t,e){return this.premultiply(M.makeScale(t,e)),this}rotate(t){return this.premultiply(M.makeRotation(-t)),this}translate(t,e){return this.premultiply(M.makeTranslation(t,e)),this}makeTranslation(t,e){return t.isVector2?this.set(1,0,t.x,0,1,t.y,0,0,1):this.set(1,0,t,0,1,e,0,0,1),this}makeRotation(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,-n,0,n,e,0,0,0,1),this}makeScale(t,e){return this.set(t,0,0,0,e,0,0,0,1),this}equals(t){const e=this.elements,n=t.elements;for(let r=0;r<9;r++)if(e[r]!==n[r])return!1;return!0}fromArray(t,e=0){for(let n=0;n<9;n++)this.elements[n]=t[n+e];return this}toArray(t=[],e=0){const n=this.elements;return t[e]=n[0],t[e+1]=n[1],t[e+2]=n[2],t[e+3]=n[3],t[e+4]=n[4],t[e+5]=n[5],t[e+6]=n[6],t[e+7]=n[7],t[e+8]=n[8],t}clone(){return(new this.constructor).fromArray(this.elements)}}const M=new w;function T(t){return document.createElementNS("http://www.w3.org/1999/xhtml",t)}const S={};const E=(new w).set(.8224621,.177538,0,.0331941,.9668058,0,.0170827,.0723974,.9105199),k=(new w).set(1.2249401,-.2249404,0,-.0420569,1.0420571,0,-.0196376,-.0786361,1.0982735),A={[o]:{transfer:u,primaries:h,luminanceCoefficients:[.2126,.7152,.0722],toReference:t=>t,fromReference:t=>t},[s]:{transfer:c,primaries:h,luminanceCoefficients:[.2126,.7152,.0722],toReference:t=>t.convertSRGBToLinear(),fromReference:t=>t.convertLinearToSRGB()},[l]:{transfer:u,primaries:"p3",luminanceCoefficients:[.2289,.6917,.0793],toReference:t=>t.applyMatrix3(k),fromReference:t=>t.applyMatrix3(E)},[a]:{transfer:c,primaries:"p3",luminanceCoefficients:[.2289,.6917,.0793],toReference:t=>t.convertSRGBToLinear().applyMatrix3(k),fromReference:t=>t.applyMatrix3(E).convertLinearToSRGB()}},C=new Set([o,l]),O={enabled:!0,_workingColorSpace:o,get workingColorSpace(){return this._workingColorSpace},set workingColorSpace(t){if(!C.has(t))throw new Error(`Unsupported working color space, "${t}".`);this._workingColorSpace=t},convert:function(t,e,n){if(!1===this.enabled||e===n||!e||!n)return t;const r=A[e].toReference;return(0,A[n].fromReference)(r(t))},fromWorkingColorSpace:function(t,e){return this.convert(t,this._workingColorSpace,e)},toWorkingColorSpace:function(t,e){return this.convert(t,e,this._workingColorSpace)},getPrimaries:function(t){return A[t].primaries},getTransfer:function(t){return""===t?u:A[t].transfer},getLuminanceCoefficients:function(t,e=this._workingColorSpace){return t.fromArray(A[e].luminanceCoefficients)}};function L(t){return t<.04045?.0773993808*t:Math.pow(.9478672986*t+.0521327014,2.4)}function z(t){return t<.0031308?12.92*t:1.055*Math.pow(t,.41666)-.055}let P;class R{static getDataURL(t){if(/^data:/i.test(t.src))return t.src;if("undefined"==typeof HTMLCanvasElement)return t.src;let e;if(t instanceof HTMLCanvasElement)e=t;else{void 0===P&&(P=T("canvas")),P.width=t.width,P.height=t.height;const n=P.getContext("2d");t instanceof ImageData?n.putImageData(t,0,0):n.drawImage(t,0,0,t.width,t.height),e=P}return e.width>2048||e.height>2048?(console.warn("THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons",t),e.toDataURL("image/jpeg",.6)):e.toDataURL("image/png")}static sRGBToLinear(t){if("undefined"!=typeof HTMLImageElement&&t instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&t instanceof ImageBitmap){const e=T("canvas");e.width=t.width,e.height=t.height;const n=e.getContext("2d");n.drawImage(t,0,0,t.width,t.height);const r=n.getImageData(0,0,t.width,t.height),i=r.data;for(let t=0;t<i.length;t++)i[t]=255*L(i[t]/255);return n.putImageData(r,0,0),e}if(t.data){const e=t.data.slice(0);for(let t=0;t<e.length;t++)e instanceof Uint8Array||e instanceof Uint8ClampedArray?e[t]=Math.floor(255*L(e[t]/255)):e[t]=L(e[t]);return{data:e,width:t.width,height:t.height}}return console.warn("THREE.ImageUtils.sRGBToLinear(): Unsupported image type. No color space conversion applied."),t}}let N=0;class I{constructor(t=null){this.isSource=!0,Object.defineProperty(this,"id",{value:N++}),this.uuid=g(),this.data=t,this.dataReady=!0,this.version=0}set needsUpdate(t){!0===t&&this.version++}toJSON(t){const e=void 0===t||"string"==typeof t;if(!e&&void 0!==t.images[this.uuid])return t.images[this.uuid];const n={uuid:this.uuid,url:""},r=this.data;if(null!==r){let t;if(Array.isArray(r)){t=[];for(let e=0,n=r.length;e<n;e++)r[e].isDataTexture?t.push(D(r[e].image)):t.push(D(r[e]))}else t=D(r);n.url=t}return e||(t.images[this.uuid]=n),n}}function D(t){return"undefined"!=typeof HTMLImageElement&&t instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&t instanceof ImageBitmap?R.getDataURL(t):t.data?{data:Array.from(t.data),width:t.width,height:t.height,type:t.data.constructor.name}:(console.warn("THREE.Texture: Unable to serialize Texture."),{})}let F=0;class B extends f{constructor(t=B.DEFAULT_IMAGE,e=B.DEFAULT_MAPPING,n=1001,r=1001,i=1006,s=1008,o=1023,a=1009,l=B.DEFAULT_ANISOTROPY,u=""){super(),this.isTexture=!0,Object.defineProperty(this,"id",{value:F++}),this.uuid=g(),this.name="",this.source=new I(t),this.mipmaps=[],this.mapping=e,this.channel=0,this.wrapS=n,this.wrapT=r,this.magFilter=i,this.minFilter=s,this.anisotropy=l,this.format=o,this.internalFormat=null,this.type=a,this.offset=new b(0,0),this.repeat=new b(1,1),this.center=new b(0,0),this.rotation=0,this.matrixAutoUpdate=!0,this.matrix=new w,this.generateMipmaps=!0,this.premultiplyAlpha=!1,this.flipY=!0,this.unpackAlignment=4,this.colorSpace=u,this.userData={},this.version=0,this.onUpdate=null,this.isRenderTargetTexture=!1,this.pmremVersion=0}get image(){return this.source.data}set image(t=null){this.source.data=t}updateMatrix(){this.matrix.setUvTransform(this.offset.x,this.offset.y,this.repeat.x,this.repeat.y,this.rotation,this.center.x,this.center.y)}clone(){return(new this.constructor).copy(this)}copy(t){return this.name=t.name,this.source=t.source,this.mipmaps=t.mipmaps.slice(0),this.mapping=t.mapping,this.channel=t.channel,this.wrapS=t.wrapS,this.wrapT=t.wrapT,this.magFilter=t.magFilter,this.minFilter=t.minFilter,this.anisotropy=t.anisotropy,this.format=t.format,this.internalFormat=t.internalFormat,this.type=t.type,this.offset.copy(t.offset),this.repeat.copy(t.repeat),this.center.copy(t.center),this.rotation=t.rotation,this.matrixAutoUpdate=t.matrixAutoUpdate,this.matrix.copy(t.matrix),this.generateMipmaps=t.generateMipmaps,this.premultiplyAlpha=t.premultiplyAlpha,this.flipY=t.flipY,this.unpackAlignment=t.unpackAlignment,this.colorSpace=t.colorSpace,this.userData=JSON.parse(JSON.stringify(t.userData)),this.needsUpdate=!0,this}toJSON(t){const e=void 0===t||"string"==typeof t;if(!e&&void 0!==t.textures[this.uuid])return t.textures[this.uuid];const n={metadata:{version:4.6,type:"Texture",generator:"Texture.toJSON"},uuid:this.uuid,name:this.name,image:this.source.toJSON(t).uuid,mapping:this.mapping,channel:this.channel,repeat:[this.repeat.x,this.repeat.y],offset:[this.offset.x,this.offset.y],center:[this.center.x,this.center.y],rotation:this.rotation,wrap:[this.wrapS,this.wrapT],format:this.format,internalFormat:this.internalFormat,type:this.type,colorSpace:this.colorSpace,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,generateMipmaps:this.generateMipmaps,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};return Object.keys(this.userData).length>0&&(n.userData=this.userData),e||(t.textures[this.uuid]=n),n}dispose(){this.dispatchEvent({type:"dispose"})}transformUv(t){if(300!==this.mapping)return t;if(t.applyMatrix3(this.matrix),t.x<0||t.x>1)switch(this.wrapS){case 1e3:t.x=t.x-Math.floor(t.x);break;case r:t.x=t.x<0?0:1;break;case 1002:1===Math.abs(Math.floor(t.x)%2)?t.x=Math.ceil(t.x)-t.x:t.x=t.x-Math.floor(t.x)}if(t.y<0||t.y>1)switch(this.wrapT){case 1e3:t.y=t.y-Math.floor(t.y);break;case r:t.y=t.y<0?0:1;break;case 1002:1===Math.abs(Math.floor(t.y)%2)?t.y=Math.ceil(t.y)-t.y:t.y=t.y-Math.floor(t.y)}return this.flipY&&(t.y=1-t.y),t}set needsUpdate(t){!0===t&&(this.version++,this.source.needsUpdate=!0)}set needsPMREMUpdate(t){!0===t&&this.pmremVersion++}}B.DEFAULT_IMAGE=null,B.DEFAULT_MAPPING=300,B.DEFAULT_ANISOTROPY=1;class U{constructor(t=0,e=0,n=0,r=1){U.prototype.isVector4=!0,this.x=t,this.y=e,this.z=n,this.w=r}get width(){return this.z}set width(t){this.z=t}get height(){return this.w}set height(t){this.w=t}set(t,e,n,r){return this.x=t,this.y=e,this.z=n,this.w=r,this}setScalar(t){return this.x=t,this.y=t,this.z=t,this.w=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setZ(t){return this.z=t,this}setW(t){return this.w=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;case 2:this.z=e;break;case 3:this.w=e;break;default:throw new Error("index is out of range: "+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw new Error("index is out of range: "+t)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this.w=void 0!==t.w?t.w:1,this}add(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this.w+=t.w,this}addScalar(t){return this.x+=t,this.y+=t,this.z+=t,this.w+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this.z=t.z+e.z,this.w=t.w+e.w,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this.z+=t.z*e,this.w+=t.w*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this.w-=t.w,this}subScalar(t){return this.x-=t,this.y-=t,this.z-=t,this.w-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this.z=t.z-e.z,this.w=t.w-e.w,this}multiply(t){return this.x*=t.x,this.y*=t.y,this.z*=t.z,this.w*=t.w,this}multiplyScalar(t){return this.x*=t,this.y*=t,this.z*=t,this.w*=t,this}applyMatrix4(t){const e=this.x,n=this.y,r=this.z,i=this.w,s=t.elements;return this.x=s[0]*e+s[4]*n+s[8]*r+s[12]*i,this.y=s[1]*e+s[5]*n+s[9]*r+s[13]*i,this.z=s[2]*e+s[6]*n+s[10]*r+s[14]*i,this.w=s[3]*e+s[7]*n+s[11]*r+s[15]*i,this}divideScalar(t){return this.multiplyScalar(1/t)}setAxisAngleFromQuaternion(t){this.w=2*Math.acos(t.w);const e=Math.sqrt(1-t.w*t.w);return e<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=t.x/e,this.y=t.y/e,this.z=t.z/e),this}setAxisAngleFromRotationMatrix(t){let e,n,r,i;const s=.01,o=.1,a=t.elements,l=a[0],u=a[4],c=a[8],h=a[1],p=a[5],d=a[9],f=a[2],m=a[6],g=a[10];if(Math.abs(u-h)<s&&Math.abs(c-f)<s&&Math.abs(d-m)<s){if(Math.abs(u+h)<o&&Math.abs(c+f)<o&&Math.abs(d+m)<o&&Math.abs(l+p+g-3)<o)return this.set(1,0,0,0),this;e=Math.PI;const t=(l+1)/2,a=(p+1)/2,y=(g+1)/2,v=(u+h)/4,_=(c+f)/4,x=(d+m)/4;return t>a&&t>y?t<s?(n=0,r=.707106781,i=.707106781):(n=Math.sqrt(t),r=v/n,i=_/n):a>y?a<s?(n=.707106781,r=0,i=.707106781):(r=Math.sqrt(a),n=v/r,i=x/r):y<s?(n=.707106781,r=.707106781,i=0):(i=Math.sqrt(y),n=_/i,r=x/i),this.set(n,r,i,e),this}let y=Math.sqrt((m-d)*(m-d)+(c-f)*(c-f)+(h-u)*(h-u));return Math.abs(y)<.001&&(y=1),this.x=(m-d)/y,this.y=(c-f)/y,this.z=(h-u)/y,this.w=Math.acos((l+p+g-1)/2),this}setFromMatrixPosition(t){const e=t.elements;return this.x=e[12],this.y=e[13],this.z=e[14],this.w=e[15],this}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this.w=Math.min(this.w,t.w),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this.w=Math.max(this.w,t.w),this}clamp(t,e){return this.x=Math.max(t.x,Math.min(e.x,this.x)),this.y=Math.max(t.y,Math.min(e.y,this.y)),this.z=Math.max(t.z,Math.min(e.z,this.z)),this.w=Math.max(t.w,Math.min(e.w,this.w)),this}clampScalar(t,e){return this.x=Math.max(t,Math.min(e,this.x)),this.y=Math.max(t,Math.min(e,this.y)),this.z=Math.max(t,Math.min(e,this.z)),this.w=Math.max(t,Math.min(e,this.w)),this}clampLength(t,e){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(t,Math.min(e,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this.w=Math.trunc(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z+this.w*t.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this.z+=(t.z-this.z)*e,this.w+=(t.w-this.w)*e,this}lerpVectors(t,e,n){return this.x=t.x+(e.x-t.x)*n,this.y=t.y+(e.y-t.y)*n,this.z=t.z+(e.z-t.z)*n,this.w=t.w+(e.w-t.w)*n,this}equals(t){return t.x===this.x&&t.y===this.y&&t.z===this.z&&t.w===this.w}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this.z=t[e+2],this.w=t[e+3],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,t[e+3]=this.w,t}fromBufferAttribute(t,e){return this.x=t.getX(e),this.y=t.getY(e),this.z=t.getZ(e),this.w=t.getW(e),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}}class j extends f{constructor(t=1,e=1,n={}){super(),this.isRenderTarget=!0,this.width=t,this.height=e,this.depth=1,this.scissor=new U(0,0,t,e),this.scissorTest=!1,this.viewport=new U(0,0,t,e);const r={width:t,height:e,depth:1};n=Object.assign({generateMipmaps:!1,internalFormat:null,minFilter:i,depthBuffer:!0,stencilBuffer:!1,resolveDepthBuffer:!0,resolveStencilBuffer:!0,depthTexture:null,samples:0,count:1},n);const s=new B(r,n.mapping,n.wrapS,n.wrapT,n.magFilter,n.minFilter,n.format,n.type,n.anisotropy,n.colorSpace);s.flipY=!1,s.generateMipmaps=n.generateMipmaps,s.internalFormat=n.internalFormat,this.textures=[];const o=n.count;for(let i=0;i<o;i++)this.textures[i]=s.clone(),this.textures[i].isRenderTargetTexture=!0;this.depthBuffer=n.depthBuffer,this.stencilBuffer=n.stencilBuffer,this.resolveDepthBuffer=n.resolveDepthBuffer,this.resolveStencilBuffer=n.resolveStencilBuffer,this.depthTexture=n.depthTexture,this.samples=n.samples}get texture(){return this.textures[0]}set texture(t){this.textures[0]=t}setSize(t,e,n=1){if(this.width!==t||this.height!==e||this.depth!==n){this.width=t,this.height=e,this.depth=n;for(let r=0,i=this.textures.length;r<i;r++)this.textures[r].image.width=t,this.textures[r].image.height=e,this.textures[r].image.depth=n;this.dispose()}this.viewport.set(0,0,t,e),this.scissor.set(0,0,t,e)}clone(){return(new this.constructor).copy(this)}copy(t){this.width=t.width,this.height=t.height,this.depth=t.depth,this.scissor.copy(t.scissor),this.scissorTest=t.scissorTest,this.viewport.copy(t.viewport),this.textures.length=0;for(let n=0,r=t.textures.length;n<r;n++)this.textures[n]=t.textures[n].clone(),this.textures[n].isRenderTargetTexture=!0;const e=Object.assign({},t.texture.image);return this.texture.source=new I(e),this.depthBuffer=t.depthBuffer,this.stencilBuffer=t.stencilBuffer,this.resolveDepthBuffer=t.resolveDepthBuffer,this.resolveStencilBuffer=t.resolveStencilBuffer,null!==t.depthTexture&&(this.depthTexture=t.depthTexture.clone()),this.samples=t.samples,this}dispose(){this.dispatchEvent({type:"dispose"})}}class V extends j{constructor(t=1,e=1,n={}){super(t,e,n),this.isWebGLRenderTarget=!0}}class W{constructor(t=0,e=0,n=0,r=1){this.isQuaternion=!0,this._x=t,this._y=e,this._z=n,this._w=r}static slerpFlat(t,e,n,r,i,s,o){let a=n[r+0],l=n[r+1],u=n[r+2],c=n[r+3];const h=i[s+0],p=i[s+1],d=i[s+2],f=i[s+3];if(0===o)return t[e+0]=a,t[e+1]=l,t[e+2]=u,void(t[e+3]=c);if(1===o)return t[e+0]=h,t[e+1]=p,t[e+2]=d,void(t[e+3]=f);if(c!==f||a!==h||l!==p||u!==d){let t=1-o;const e=a*h+l*p+u*d+c*f,n=e>=0?1:-1,r=1-e*e;if(r>Number.EPSILON){const i=Math.sqrt(r),s=Math.atan2(i,e*n);t=Math.sin(t*s)/i,o=Math.sin(o*s)/i}const i=o*n;if(a=a*t+h*i,l=l*t+p*i,u=u*t+d*i,c=c*t+f*i,t===1-o){const t=1/Math.sqrt(a*a+l*l+u*u+c*c);a*=t,l*=t,u*=t,c*=t}}t[e]=a,t[e+1]=l,t[e+2]=u,t[e+3]=c}static multiplyQuaternionsFlat(t,e,n,r,i,s){const o=n[r],a=n[r+1],l=n[r+2],u=n[r+3],c=i[s],h=i[s+1],p=i[s+2],d=i[s+3];return t[e]=o*d+u*c+a*p-l*h,t[e+1]=a*d+u*h+l*c-o*p,t[e+2]=l*d+u*p+o*h-a*c,t[e+3]=u*d-o*c-a*h-l*p,t}get x(){return this._x}set x(t){this._x=t,this._onChangeCallback()}get y(){return this._y}set y(t){this._y=t,this._onChangeCallback()}get z(){return this._z}set z(t){this._z=t,this._onChangeCallback()}get w(){return this._w}set w(t){this._w=t,this._onChangeCallback()}set(t,e,n,r){return this._x=t,this._y=e,this._z=n,this._w=r,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(t){return this._x=t.x,this._y=t.y,this._z=t.z,this._w=t.w,this._onChangeCallback(),this}setFromEuler(t,e=!0){const n=t._x,r=t._y,i=t._z,s=t._order,o=Math.cos,a=Math.sin,l=o(n/2),u=o(r/2),c=o(i/2),h=a(n/2),p=a(r/2),d=a(i/2);switch(s){case"XYZ":this._x=h*u*c+l*p*d,this._y=l*p*c-h*u*d,this._z=l*u*d+h*p*c,this._w=l*u*c-h*p*d;break;case"YXZ":this._x=h*u*c+l*p*d,this._y=l*p*c-h*u*d,this._z=l*u*d-h*p*c,this._w=l*u*c+h*p*d;break;case"ZXY":this._x=h*u*c-l*p*d,this._y=l*p*c+h*u*d,this._z=l*u*d+h*p*c,this._w=l*u*c-h*p*d;break;case"ZYX":this._x=h*u*c-l*p*d,this._y=l*p*c+h*u*d,this._z=l*u*d-h*p*c,this._w=l*u*c+h*p*d;break;case"YZX":this._x=h*u*c+l*p*d,this._y=l*p*c+h*u*d,this._z=l*u*d-h*p*c,this._w=l*u*c-h*p*d;break;case"XZY":this._x=h*u*c-l*p*d,this._y=l*p*c-h*u*d,this._z=l*u*d+h*p*c,this._w=l*u*c+h*p*d;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+s)}return!0===e&&this._onChangeCallback(),this}setFromAxisAngle(t,e){const n=e/2,r=Math.sin(n);return this._x=t.x*r,this._y=t.y*r,this._z=t.z*r,this._w=Math.cos(n),this._onChangeCallback(),this}setFromRotationMatrix(t){const e=t.elements,n=e[0],r=e[4],i=e[8],s=e[1],o=e[5],a=e[9],l=e[2],u=e[6],c=e[10],h=n+o+c;if(h>0){const t=.5/Math.sqrt(h+1);this._w=.25/t,this._x=(u-a)*t,this._y=(i-l)*t,this._z=(s-r)*t}else if(n>o&&n>c){const t=2*Math.sqrt(1+n-o-c);this._w=(u-a)/t,this._x=.25*t,this._y=(r+s)/t,this._z=(i+l)/t}else if(o>c){const t=2*Math.sqrt(1+o-n-c);this._w=(i-l)/t,this._x=(r+s)/t,this._y=.25*t,this._z=(a+u)/t}else{const t=2*Math.sqrt(1+c-n-o);this._w=(s-r)/t,this._x=(i+l)/t,this._y=(a+u)/t,this._z=.25*t}return this._onChangeCallback(),this}setFromUnitVectors(t,e){let n=t.dot(e)+1;return n<Number.EPSILON?(n=0,Math.abs(t.x)>Math.abs(t.z)?(this._x=-t.y,this._y=t.x,this._z=0,this._w=n):(this._x=0,this._y=-t.z,this._z=t.y,this._w=n)):(this._x=t.y*e.z-t.z*e.y,this._y=t.z*e.x-t.x*e.z,this._z=t.x*e.y-t.y*e.x,this._w=n),this.normalize()}angleTo(t){return 2*Math.acos(Math.abs(y(this.dot(t),-1,1)))}rotateTowards(t,e){const n=this.angleTo(t);if(0===n)return this;const r=Math.min(1,e/n);return this.slerp(t,r),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(t){return this._x*t._x+this._y*t._y+this._z*t._z+this._w*t._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let t=this.length();return 0===t?(this._x=0,this._y=0,this._z=0,this._w=1):(t=1/t,this._x=this._x*t,this._y=this._y*t,this._z=this._z*t,this._w=this._w*t),this._onChangeCallback(),this}multiply(t){return this.multiplyQuaternions(this,t)}premultiply(t){return this.multiplyQuaternions(t,this)}multiplyQuaternions(t,e){const n=t._x,r=t._y,i=t._z,s=t._w,o=e._x,a=e._y,l=e._z,u=e._w;return this._x=n*u+s*o+r*l-i*a,this._y=r*u+s*a+i*o-n*l,this._z=i*u+s*l+n*a-r*o,this._w=s*u-n*o-r*a-i*l,this._onChangeCallback(),this}slerp(t,e){if(0===e)return this;if(1===e)return this.copy(t);const n=this._x,r=this._y,i=this._z,s=this._w;let o=s*t._w+n*t._x+r*t._y+i*t._z;if(o<0?(this._w=-t._w,this._x=-t._x,this._y=-t._y,this._z=-t._z,o=-o):this.copy(t),o>=1)return this._w=s,this._x=n,this._y=r,this._z=i,this;const a=1-o*o;if(a<=Number.EPSILON){const t=1-e;return this._w=t*s+e*this._w,this._x=t*n+e*this._x,this._y=t*r+e*this._y,this._z=t*i+e*this._z,this.normalize(),this}const l=Math.sqrt(a),u=Math.atan2(l,o),c=Math.sin((1-e)*u)/l,h=Math.sin(e*u)/l;return this._w=s*c+this._w*h,this._x=n*c+this._x*h,this._y=r*c+this._y*h,this._z=i*c+this._z*h,this._onChangeCallback(),this}slerpQuaternions(t,e,n){return this.copy(t).slerp(e,n)}random(){const t=2*Math.PI*Math.random(),e=2*Math.PI*Math.random(),n=Math.random(),r=Math.sqrt(1-n),i=Math.sqrt(n);return this.set(r*Math.sin(t),r*Math.cos(t),i*Math.sin(e),i*Math.cos(e))}equals(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._w===this._w}fromArray(t,e=0){return this._x=t[e],this._y=t[e+1],this._z=t[e+2],this._w=t[e+3],this._onChangeCallback(),this}toArray(t=[],e=0){return t[e]=this._x,t[e+1]=this._y,t[e+2]=this._z,t[e+3]=this._w,t}fromBufferAttribute(t,e){return this._x=t.getX(e),this._y=t.getY(e),this._z=t.getZ(e),this._w=t.getW(e),this._onChangeCallback(),this}toJSON(){return this.toArray()}_onChange(t){return this._onChangeCallback=t,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class ${constructor(t=0,e=0,n=0){$.prototype.isVector3=!0,this.x=t,this.y=e,this.z=n}set(t,e,n){return void 0===n&&(n=this.z),this.x=t,this.y=e,this.z=n,this}setScalar(t){return this.x=t,this.y=t,this.z=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setZ(t){return this.z=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;case 2:this.z=e;break;default:throw new Error("index is out of range: "+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+t)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this}add(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this}addScalar(t){return this.x+=t,this.y+=t,this.z+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this.z=t.z+e.z,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this.z+=t.z*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this}subScalar(t){return this.x-=t,this.y-=t,this.z-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this.z=t.z-e.z,this}multiply(t){return this.x*=t.x,this.y*=t.y,this.z*=t.z,this}multiplyScalar(t){return this.x*=t,this.y*=t,this.z*=t,this}multiplyVectors(t,e){return this.x=t.x*e.x,this.y=t.y*e.y,this.z=t.z*e.z,this}applyEuler(t){return this.applyQuaternion(H.setFromEuler(t))}applyAxisAngle(t,e){return this.applyQuaternion(H.setFromAxisAngle(t,e))}applyMatrix3(t){const e=this.x,n=this.y,r=this.z,i=t.elements;return this.x=i[0]*e+i[3]*n+i[6]*r,this.y=i[1]*e+i[4]*n+i[7]*r,this.z=i[2]*e+i[5]*n+i[8]*r,this}applyNormalMatrix(t){return this.applyMatrix3(t).normalize()}applyMatrix4(t){const e=this.x,n=this.y,r=this.z,i=t.elements,s=1/(i[3]*e+i[7]*n+i[11]*r+i[15]);return this.x=(i[0]*e+i[4]*n+i[8]*r+i[12])*s,this.y=(i[1]*e+i[5]*n+i[9]*r+i[13])*s,this.z=(i[2]*e+i[6]*n+i[10]*r+i[14])*s,this}applyQuaternion(t){const e=this.x,n=this.y,r=this.z,i=t.x,s=t.y,o=t.z,a=t.w,l=2*(s*r-o*n),u=2*(o*e-i*r),c=2*(i*n-s*e);return this.x=e+a*l+s*c-o*u,this.y=n+a*u+o*l-i*c,this.z=r+a*c+i*u-s*l,this}project(t){return this.applyMatrix4(t.matrixWorldInverse).applyMatrix4(t.projectionMatrix)}unproject(t){return this.applyMatrix4(t.projectionMatrixInverse).applyMatrix4(t.matrixWorld)}transformDirection(t){const e=this.x,n=this.y,r=this.z,i=t.elements;return this.x=i[0]*e+i[4]*n+i[8]*r,this.y=i[1]*e+i[5]*n+i[9]*r,this.z=i[2]*e+i[6]*n+i[10]*r,this.normalize()}divide(t){return this.x/=t.x,this.y/=t.y,this.z/=t.z,this}divideScalar(t){return this.multiplyScalar(1/t)}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this}clamp(t,e){return this.x=Math.max(t.x,Math.min(e.x,this.x)),this.y=Math.max(t.y,Math.min(e.y,this.y)),this.z=Math.max(t.z,Math.min(e.z,this.z)),this}clampScalar(t,e){return this.x=Math.max(t,Math.min(e,this.x)),this.y=Math.max(t,Math.min(e,this.y)),this.z=Math.max(t,Math.min(e,this.z)),this}clampLength(t,e){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(t,Math.min(e,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this.z+=(t.z-this.z)*e,this}lerpVectors(t,e,n){return this.x=t.x+(e.x-t.x)*n,this.y=t.y+(e.y-t.y)*n,this.z=t.z+(e.z-t.z)*n,this}cross(t){return this.crossVectors(this,t)}crossVectors(t,e){const n=t.x,r=t.y,i=t.z,s=e.x,o=e.y,a=e.z;return this.x=r*a-i*o,this.y=i*s-n*a,this.z=n*o-r*s,this}projectOnVector(t){const e=t.lengthSq();if(0===e)return this.set(0,0,0);const n=t.dot(this)/e;return this.copy(t).multiplyScalar(n)}projectOnPlane(t){return q.copy(this).projectOnVector(t),this.sub(q)}reflect(t){return this.sub(q.copy(t).multiplyScalar(2*this.dot(t)))}angleTo(t){const e=Math.sqrt(this.lengthSq()*t.lengthSq());if(0===e)return Math.PI/2;const n=this.dot(t)/e;return Math.acos(y(n,-1,1))}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){const e=this.x-t.x,n=this.y-t.y,r=this.z-t.z;return e*e+n*n+r*r}manhattanDistanceTo(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)+Math.abs(this.z-t.z)}setFromSpherical(t){return this.setFromSphericalCoords(t.radius,t.phi,t.theta)}setFromSphericalCoords(t,e,n){const r=Math.sin(e)*t;return this.x=r*Math.sin(n),this.y=Math.cos(e)*t,this.z=r*Math.cos(n),this}setFromCylindrical(t){return this.setFromCylindricalCoords(t.radius,t.theta,t.y)}setFromCylindricalCoords(t,e,n){return this.x=t*Math.sin(e),this.y=n,this.z=t*Math.cos(e),this}setFromMatrixPosition(t){const e=t.elements;return this.x=e[12],this.y=e[13],this.z=e[14],this}setFromMatrixScale(t){const e=this.setFromMatrixColumn(t,0).length(),n=this.setFromMatrixColumn(t,1).length(),r=this.setFromMatrixColumn(t,2).length();return this.x=e,this.y=n,this.z=r,this}setFromMatrixColumn(t,e){return this.fromArray(t.elements,4*e)}setFromMatrix3Column(t,e){return this.fromArray(t.elements,3*e)}setFromEuler(t){return this.x=t._x,this.y=t._y,this.z=t._z,this}setFromColor(t){return this.x=t.r,this.y=t.g,this.z=t.b,this}equals(t){return t.x===this.x&&t.y===this.y&&t.z===this.z}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this.z=t[e+2],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,t}fromBufferAttribute(t,e){return this.x=t.getX(e),this.y=t.getY(e),this.z=t.getZ(e),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const t=Math.random()*Math.PI*2,e=2*Math.random()-1,n=Math.sqrt(1-e*e);return this.x=n*Math.cos(t),this.y=e,this.z=n*Math.sin(t),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const q=new $,H=new W;class Y{constructor(t=new $(1/0,1/0,1/0),e=new $(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=t,this.max=e}set(t,e){return this.min.copy(t),this.max.copy(e),this}setFromArray(t){this.makeEmpty();for(let e=0,n=t.length;e<n;e+=3)this.expandByPoint(G.fromArray(t,e));return this}setFromBufferAttribute(t){this.makeEmpty();for(let e=0,n=t.count;e<n;e++)this.expandByPoint(G.fromBufferAttribute(t,e));return this}setFromPoints(t){this.makeEmpty();for(let e=0,n=t.length;e<n;e++)this.expandByPoint(t[e]);return this}setFromCenterAndSize(t,e){const n=G.copy(e).multiplyScalar(.5);return this.min.copy(t).sub(n),this.max.copy(t).add(n),this}setFromObject(t,e=!1){return this.makeEmpty(),this.expandByObject(t,e)}clone(){return(new this.constructor).copy(this)}copy(t){return this.min.copy(t.min),this.max.copy(t.max),this}makeEmpty(){return this.min.x=this.min.y=this.min.z=1/0,this.max.x=this.max.y=this.max.z=-1/0,this}isEmpty(){return this.max.x<this.min.x||this.max.y<this.min.y||this.max.z<this.min.z}getCenter(t){return this.isEmpty()?t.set(0,0,0):t.addVectors(this.min,this.max).multiplyScalar(.5)}getSize(t){return this.isEmpty()?t.set(0,0,0):t.subVectors(this.max,this.min)}expandByPoint(t){return this.min.min(t),this.max.max(t),this}expandByVector(t){return this.min.sub(t),this.max.add(t),this}expandByScalar(t){return this.min.addScalar(-t),this.max.addScalar(t),this}expandByObject(t,e=!1){t.updateWorldMatrix(!1,!1);const n=t.geometry;if(void 0!==n){const r=n.getAttribute("position");if(!0===e&&void 0!==r&&!0!==t.isInstancedMesh)for(let e=0,n=r.count;e<n;e++)!0===t.isMesh?t.getVertexPosition(e,G):G.fromBufferAttribute(r,e),G.applyM
vendor: 1,485 bytes, line 7
7atrix4(t.matrixWorld),this.expandByPoint(G);else void 0!==t.boundingBox?(null===t.boundingBox&&t.computeBoundingBox(),Z.copy(t.boundingBox)):(null===n.boundingBox&&n.computeBoundingBox(),Z.copy(n.boundingBox)),Z.applyMatrix4(t.matrixWorld),this.union(Z)}const r=t.children;for(let i=0,s=r.length;i<s;i++)this.expandByObject(r[i],e);return this}containsPoint(t){return t.x>=this.min.x&&t.x<=this.max.x&&t.y>=this.min.y&&t.y<=this.max.y&&t.z>=this.min.z&&t.z<=this.max.z}containsBox(t){return this.min.x<=t.min.x&&t.max.x<=this.max.x&&this.min.y<=t.min.y&&t.max.y<=this.max.y&&this.min.z<=t.min.z&&t.max.z<=this.max.z}getParameter(t,e){return e.set((t.x-this.min.x)/(this.max.x-this.min.x),(t.y-this.min.y)/(this.max.y-this.min.y),(t.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(t){return t.max.x>=this.min.x&&t.min.x<=this.max.x&&t.max.y>=this.min.y&&t.min.y<=this.max.y&&t.max.z>=this.min.z&&t.min.z<=this.max.z}intersectsSphere(t){return this.clampPoint(t.center,G),G.distanceToSquared(t.center)<=t.radius*t.radius}intersectsPlane(t){let e,n;return t.normal.x>0?(e=t.normal.x*this.min.x,n=t.normal.x*this.max.x):(e=t.normal.x*this.max.x,n=t.normal.x*this.min.x),t.normal.y>0?(e+=t.normal.y*this.min.y,n+=t.normal.y*this.max.y):(e+=t.normal.y*this.max.y,n+=t.normal.y*this.min.y),t.normal.z>0?(e+=t.normal.z*this.min.z,n+=t.normal.z*this.max.z):(e+=t.normal.z*this.max.z,n+=t.normal.z*this.min.z),e<=-t.constant&&n>=-t.constant}intersectsTriangle(t){if(this.isEmpty())return!1;
vendor: 9,063 bytes, line 7
7this.getCenter(rt),it.subVectors(this.max,rt),J.subVectors(t.a,rt),Q.subVectors(t.b,rt),K.subVectors(t.c,rt),tt.subVectors(Q,J),et.subVectors(K,Q),nt.subVectors(J,K);let e=[0,-tt.z,tt.y,0,-et.z,et.y,0,-nt.z,nt.y,tt.z,0,-tt.x,et.z,0,-et.x,nt.z,0,-nt.x,-tt.y,tt.x,0,-et.y,et.x,0,-nt.y,nt.x,0];return!!at(e,J,Q,K,it)&&(e=[1,0,0,0,1,0,0,0,1],!!at(e,J,Q,K,it)&&(st.crossVectors(tt,et),e=[st.x,st.y,st.z],at(e,J,Q,K,it)))}clampPoint(t,e){return e.copy(t).clamp(this.min,this.max)}distanceToPoint(t){return this.clampPoint(t,G).distanceTo(t)}getBoundingSphere(t){return this.isEmpty()?t.makeEmpty():(this.getCenter(t.center),t.radius=.5*this.getSize(G).length()),t}intersect(t){return this.min.max(t.min),this.max.min(t.max),this.isEmpty()&&this.makeEmpty(),this}union(t){return this.min.min(t.min),this.max.max(t.max),this}applyMatrix4(t){return this.isEmpty()||(X[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(t),X[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(t),X[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(t),X[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(t),X[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(t),X[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(t),X[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(t),X[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(t),this.setFromPoints(X)),this}translate(t){return this.min.add(t),this.max.add(t),this}equals(t){return t.min.equals(this.min)&&t.max.equals(this.max)}}const X=[new $,new $,new $,new $,new $,new $,new $,new $],G=new $,Z=new Y,J=new $,Q=new $,K=new $,tt=new $,et=new $,nt=new $,rt=new $,it=new $,st=new $,ot=new $;function at(t,e,n,r,i){for(let s=0,o=t.length-3;s<=o;s+=3){ot.fromArray(t,s);const o=i.x*Math.abs(ot.x)+i.y*Math.abs(ot.y)+i.z*Math.abs(ot.z),a=e.dot(ot),l=n.dot(ot),u=r.dot(ot);if(Math.max(-Math.max(a,l,u),Math.min(a,l,u))>o)return!1}return!0}const lt=new Y,ut=new $,ct=new $;class ht{constructor(t=new $,e=-1){this.isSphere=!0,this.center=t,this.radius=e}set(t,e){return this.center.copy(t),this.radius=e,this}setFromPoints(t,e){const n=this.center;void 0!==e?n.copy(e):lt.setFromPoints(t).getCenter(n);let r=0;for(let i=0,s=t.length;i<s;i++)r=Math.max(r,n.distanceToSquared(t[i]));return this.radius=Math.sqrt(r),this}copy(t){return this.center.copy(t.center),this.radius=t.radius,this}isEmpty(){return this.radius<0}makeEmpty(){return this.center.set(0,0,0),this.radius=-1,this}containsPoint(t){return t.distanceToSquared(this.center)<=this.radius*this.radius}distanceToPoint(t){return t.distanceTo(this.center)-this.radius}intersectsSphere(t){const e=this.radius+t.radius;return t.center.distanceToSquared(this.center)<=e*e}intersectsBox(t){return t.intersectsSphere(this)}intersectsPlane(t){return Math.abs(t.distanceToPoint(this.center))<=this.radius}clampPoint(t,e){const n=this.center.distanceToSquared(t);return e.copy(t),n>this.radius*this.radius&&(e.sub(this.center).normalize(),e.multiplyScalar(this.radius).add(this.center)),e}getBoundingBox(t){return this.isEmpty()?(t.makeEmpty(),t):(t.set(this.center,this.center),t.expandByScalar(this.radius),t)}applyMatrix4(t){return this.center.applyMatrix4(t),this.radius=this.radius*t.getMaxScaleOnAxis(),this}translate(t){return this.center.add(t),this}expandByPoint(t){if(this.isEmpty())return this.center.copy(t),this.radius=0,this;ut.subVectors(t,this.center);const e=ut.lengthSq();if(e>this.radius*this.radius){const t=Math.sqrt(e),n=.5*(t-this.radius);this.center.addScaledVector(ut,n/t),this.radius+=n}return this}union(t){return t.isEmpty()?this:this.isEmpty()?(this.copy(t),this):(!0===this.center.equals(t.center)?this.radius=Math.max(this.radius,t.radius):(ct.subVectors(t.center,this.center).setLength(t.radius),this.expandByPoint(ut.copy(t.center).add(ct)),this.expandByPoint(ut.copy(t.center).sub(ct))),this)}equals(t){return t.center.equals(this.center)&&t.radius===this.radius}clone(){return(new this.constructor).copy(this)}}const pt=new $,dt=new $,ft=new $,mt=new $,gt=new $,yt=new $,vt=new $;class _t{constructor(t=new $,e=new $(0,0,-1)){this.origin=t,this.direction=e}set(t,e){return this.origin.copy(t),this.direction.copy(e),this}copy(t){return this.origin.copy(t.origin),this.direction.copy(t.direction),this}at(t,e){return e.copy(this.origin).addScaledVector(this.direction,t)}lookAt(t){return this.direction.copy(t).sub(this.origin).normalize(),this}recast(t){return this.origin.copy(this.at(t,pt)),this}closestPointToPoint(t,e){e.subVectors(t,this.origin);const n=e.dot(this.direction);return n<0?e.copy(this.origin):e.copy(this.origin).addScaledVector(this.direction,n)}distanceToPoint(t){return Math.sqrt(this.distanceSqToPoint(t))}distanceSqToPoint(t){const e=pt.subVectors(t,this.origin).dot(this.direction);return e<0?this.origin.distanceToSquared(t):(pt.copy(this.origin).addScaledVector(this.direction,e),pt.distanceToSquared(t))}distanceSqToSegment(t,e,n,r){dt.copy(t).add(e).multiplyScalar(.5),ft.copy(e).sub(t).normalize(),mt.copy(this.origin).sub(dt);const i=.5*t.distanceTo(e),s=-this.direction.dot(ft),o=mt.dot(this.direction),a=-mt.dot(ft),l=mt.lengthSq(),u=Math.abs(1-s*s);let c,h,p,d;if(u>0)if(c=s*a-o,h=s*o-a,d=i*u,c>=0)if(h>=-d)if(h<=d){const t=1/u;c*=t,h*=t,p=c*(c+s*h+2*o)+h*(s*c+h+2*a)+l}else h=i,c=Math.max(0,-(s*h+o)),p=-c*c+h*(h+2*a)+l;else h=-i,c=Math.max(0,-(s*h+o)),p=-c*c+h*(h+2*a)+l;else h<=-d?(c=Math.max(0,-(-s*i+o)),h=c>0?-i:Math.min(Math.max(-i,-a),i),p=-c*c+h*(h+2*a)+l):h<=d?(c=0,h=Math.min(Math.max(-i,-a),i),p=h*(h+2*a)+l):(c=Math.max(0,-(s*i+o)),h=c>0?i:Math.min(Math.max(-i,-a),i),p=-c*c+h*(h+2*a)+l);else h=s>0?-i:i,c=Math.max(0,-(s*h+o)),p=-c*c+h*(h+2*a)+l;return n&&n.copy(this.origin).addScaledVector(this.direction,c),r&&r.copy(dt).addScaledVector(ft,h),p}intersectSphere(t,e){pt.subVectors(t.center,this.origin);const n=pt.dot(this.direction),r=pt.dot(pt)-n*n,i=t.radius*t.radius;if(r>i)return null;const s=Math.sqrt(i-r),o=n-s,a=n+s;return a<0?null:o<0?this.at(a,e):this.at(o,e)}intersectsSphere(t){return this.distanceSqToPoint(t.center)<=t.radius*t.radius}distanceToPlane(t){const e=t.normal.dot(this.direction);if(0===e)return 0===t.distanceToPoint(this.origin)?0:null;const n=-(this.origin.dot(t.normal)+t.constant)/e;return n>=0?n:null}intersectPlane(t,e){const n=this.distanceToPlane(t);return null===n?null:this.at(n,e)}intersectsPlane(t){const e=t.distanceToPoint(this.origin);if(0===e)return!0;return t.normal.dot(this.direction)*e<0}intersectBox(t,e){let n,r,i,s,o,a;const l=1/this.direction.x,u=1/this.direction.y,c=1/this.direction.z,h=this.origin;return l>=0?(n=(t.min.x-h.x)*l,r=(t.max.x-h.x)*l):(n=(t.max.x-h.x)*l,r=(t.min.x-h.x)*l),u>=0?(i=(t.min.y-h.y)*u,s=(t.max.y-h.y)*u):(i=(t.max.y-h.y)*u,s=(t.min.y-h.y)*u),n>s||i>r?null:((i>n||isNaN(n))&&(n=i),(s<r||isNaN(r))&&(r=s),c>=0?(o=(t.min.z-h.z)*c,a=(t.max.z-h.z)*c):(o=(t.max.z-h.z)*c,a=(t.min.z-h.z)*c),n>a||o>r?null:((o>n||n!=n)&&(n=o),(a<r||r!=r)&&(r=a),r<0?null:this.at(n>=0?n:r,e)))}intersectsBox(t){return null!==this.intersectBox(t,pt)}intersectTriangle(t,e,n,r,i){gt.subVectors(e,t),yt.subVectors(n,t),vt.crossVectors(gt,yt);let s,o=this.direction.dot(vt);if(o>0){if(r)return null;s=1}else{if(!(o<0))return null;s=-1,o=-o}mt.subVectors(this.origin,t);const a=s*this.direction.dot(yt.crossVectors(mt,yt));if(a<0)return null;const l=s*this.direction.dot(gt.cross(mt));if(l<0)return null;if(a+l>o)return null;const u=-s*mt.dot(vt);return u<0?null:this.at(u/o,i)}applyMatrix4(t){return this.origin.applyMatrix4(t),this.direction.transformDirection(t),this}equals(t){return t.origin.equals(this.origin)&&t.direction.equals(this.direction)}clone(){return(new this.constructor).copy(this)}}class xt{constructor(t,e,n,r,i,s,o,a,l,u,c,h,p,d,f,m){xt.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],void 0!==t&&this.set(t,e,n,r,i,s,o,a,l,u,c,h,p,d,f,m)}set(t,e,n,r,i,s,o,a,l,u,c,h,p,d,f,m){const g=this.elements;return g[0]=t,g[4]=e,g[8]=n,g[12]=r,g[1]=i,g[5]=s,g[9]=o,g[13]=a,g[2]=l,g[6]=u,g[10]=c,g[14]=h,g[3]=p,g[7]=d,g[11]=f,g[15]=m,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return(new xt).fromArray(this.elements)}copy(t){const e=this.elements,n=t.elements;return e[0]=n[0],e[1]=n[1],e[2]=n[2],e[3]=n[3],e[4]=n[4],e[5]=n[5],e[6]=n[6],e[7]=n[7],e[8]=n[8],e[9]=n[9],e[10]=n[10],e[11]=n[11],e[12]=n[12],e[13]=n[13],e[14]=n[14],e[15]=n[15],this}copyPosition(t){const e=this.elements,n=t.elements;return e[12]=n[12],e[13]=n[13],e[14]=n[14],this}setFromMatrix3(t){const e=t.elements;return this.set(e[0],e[3],e[6],0,e[1],e[4],e[7],0,e[2],e[5],e[8],0,0,0,0,1),this}extractBasis(t,e,n){return t.setFromMatrixColumn(this,0),e.setFromMatrixColumn(this,1),n.setFromMatrixColumn(this,2),this}makeBasis(t,e,n){return this.set(t.x,e.x,n.x,0,t.y,e.y,n.y,0,t.z,e.z,n.z,0,0,0,0,1),this}extractRotation(t){const e=this.elements,n=t.elements,r=1/bt.setFromMatrixColumn(t,0).length(),i=1/bt.setFromMatrixColumn(t,1).length(),s=1/bt.setFromMatrixColumn(t,2).length();return e[0]=n[0]*r,e[1]=n[1]*r,e[2]=n[2]*r,e[3]=0,e[4]=n[4]*i,e[5]=n[5]*i,e[6]=n[6]*i,e[7]=0,e[8]=n[8]*s,e[9]=n[9]*s,e[10
vendor: 6,485 bytes, line 7
7]=n[10]*s,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromEuler(t){const e=this.elements,n=t.x,r=t.y,i=t.z,s=Math.cos(n),o=Math.sin(n),a=Math.cos(r),l=Math.sin(r),u=Math.cos(i),c=Math.sin(i);if("XYZ"===t.order){const t=s*u,n=s*c,r=o*u,i=o*c;e[0]=a*u,e[4]=-a*c,e[8]=l,e[1]=n+r*l,e[5]=t-i*l,e[9]=-o*a,e[2]=i-t*l,e[6]=r+n*l,e[10]=s*a}else if("YXZ"===t.order){const t=a*u,n=a*c,r=l*u,i=l*c;e[0]=t+i*o,e[4]=r*o-n,e[8]=s*l,e[1]=s*c,e[5]=s*u,e[9]=-o,e[2]=n*o-r,e[6]=i+t*o,e[10]=s*a}else if("ZXY"===t.order){const t=a*u,n=a*c,r=l*u,i=l*c;e[0]=t-i*o,e[4]=-s*c,e[8]=r+n*o,e[1]=n+r*o,e[5]=s*u,e[9]=i-t*o,e[2]=-s*l,e[6]=o,e[10]=s*a}else if("ZYX"===t.order){const t=s*u,n=s*c,r=o*u,i=o*c;e[0]=a*u,e[4]=r*l-n,e[8]=t*l+i,e[1]=a*c,e[5]=i*l+t,e[9]=n*l-r,e[2]=-l,e[6]=o*a,e[10]=s*a}else if("YZX"===t.order){const t=s*a,n=s*l,r=o*a,i=o*l;e[0]=a*u,e[4]=i-t*c,e[8]=r*c+n,e[1]=c,e[5]=s*u,e[9]=-o*u,e[2]=-l*u,e[6]=n*c+r,e[10]=t-i*c}else if("XZY"===t.order){const t=s*a,n=s*l,r=o*a,i=o*l;e[0]=a*u,e[4]=-c,e[8]=l*u,e[1]=t*c+i,e[5]=s*u,e[9]=n*c-r,e[2]=r*c-n,e[6]=o*u,e[10]=i*c+t}return e[3]=0,e[7]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromQuaternion(t){return this.compose(Mt,t,Tt)}lookAt(t,e,n){const r=this.elements;return kt.subVectors(t,e),0===kt.lengthSq()&&(kt.z=1),kt.normalize(),St.crossVectors(n,kt),0===St.lengthSq()&&(1===Math.abs(n.z)?kt.x+=1e-4:kt.z+=1e-4,kt.normalize(),St.crossVectors(n,kt)),St.normalize(),Et.crossVectors(kt,St),r[0]=St.x,r[4]=Et.x,r[8]=kt.x,r[1]=St.y,r[5]=Et.y,r[9]=kt.y,r[2]=St.z,r[6]=Et.z,r[10]=kt.z,this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyMatrices(t,e){const n=t.elements,r=e.elements,i=this.elements,s=n[0],o=n[4],a=n[8],l=n[12],u=n[1],c=n[5],h=n[9],p=n[13],d=n[2],f=n[6],m=n[10],g=n[14],y=n[3],v=n[7],_=n[11],x=n[15],b=r[0],w=r[4],M=r[8],T=r[12],S=r[1],E=r[5],k=r[9],A=r[13],C=r[2],O=r[6],L=r[10],z=r[14],P=r[3],R=r[7],N=r[11],I=r[15];return i[0]=s*b+o*S+a*C+l*P,i[4]=s*w+o*E+a*O+l*R,i[8]=s*M+o*k+a*L+l*N,i[12]=s*T+o*A+a*z+l*I,i[1]=u*b+c*S+h*C+p*P,i[5]=u*w+c*E+h*O+p*R,i[9]=u*M+c*k+h*L+p*N,i[13]=u*T+c*A+h*z+p*I,i[2]=d*b+f*S+m*C+g*P,i[6]=d*w+f*E+m*O+g*R,i[10]=d*M+f*k+m*L+g*N,i[14]=d*T+f*A+m*z+g*I,i[3]=y*b+v*S+_*C+x*P,i[7]=y*w+v*E+_*O+x*R,i[11]=y*M+v*k+_*L+x*N,i[15]=y*T+v*A+_*z+x*I,this}multiplyScalar(t){const e=this.elements;return e[0]*=t,e[4]*=t,e[8]*=t,e[12]*=t,e[1]*=t,e[5]*=t,e[9]*=t,e[13]*=t,e[2]*=t,e[6]*=t,e[10]*=t,e[14]*=t,e[3]*=t,e[7]*=t,e[11]*=t,e[15]*=t,this}determinant(){const t=this.elements,e=t[0],n=t[4],r=t[8],i=t[12],s=t[1],o=t[5],a=t[9],l=t[13],u=t[2],c=t[6],h=t[10],p=t[14];return t[3]*(+i*a*c-r*l*c-i*o*h+n*l*h+r*o*p-n*a*p)+t[7]*(+e*a*p-e*l*h+i*s*h-r*s*p+r*l*u-i*a*u)+t[11]*(+e*l*c-e*o*p-i*s*c+n*s*p+i*o*u-n*l*u)+t[15]*(-r*o*u-e*a*c+e*o*h+r*s*c-n*s*h+n*a*u)}transpose(){const t=this.elements;let e;return e=t[1],t[1]=t[4],t[4]=e,e=t[2],t[2]=t[8],t[8]=e,e=t[6],t[6]=t[9],t[9]=e,e=t[3],t[3]=t[12],t[12]=e,e=t[7],t[7]=t[13],t[13]=e,e=t[11],t[11]=t[14],t[14]=e,this}setPosition(t,e,n){const r=this.elements;return t.isVector3?(r[12]=t.x,r[13]=t.y,r[14]=t.z):(r[12]=t,r[13]=e,r[14]=n),this}invert(){const t=this.elements,e=t[0],n=t[1],r=t[2],i=t[3],s=t[4],o=t[5],a=t[6],l=t[7],u=t[8],c=t[9],h=t[10],p=t[11],d=t[12],f=t[13],m=t[14],g=t[15],y=c*m*l-f*h*l+f*a*p-o*m*p-c*a*g+o*h*g,v=d*h*l-u*m*l-d*a*p+s*m*p+u*a*g-s*h*g,_=u*f*l-d*c*l+d*o*p-s*f*p-u*o*g+s*c*g,x=d*c*a-u*f*a-d*o*h+s*f*h+u*o*m-s*c*m,b=e*y+n*v+r*_+i*x;if(0===b)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const w=1/b;return t[0]=y*w,t[1]=(f*h*i-c*m*i-f*r*p+n*m*p+c*r*g-n*h*g)*w,t[2]=(o*m*i-f*a*i+f*r*l-n*m*l-o*r*g+n*a*g)*w,t[3]=(c*a*i-o*h*i-c*r*l+n*h*l+o*r*p-n*a*p)*w,t[4]=v*w,t[5]=(u*m*i-d*h*i+d*r*p-e*m*p-u*r*g+e*h*g)*w,t[6]=(d*a*i-s*m*i-d*r*l+e*m*l+s*r*g-e*a*g)*w,t[7]=(s*h*i-u*a*i+u*r*l-e*h*l-s*r*p+e*a*p)*w,t[8]=_*w,t[9]=(d*c*i-u*f*i-d*n*p+e*f*p+u*n*g-e*c*g)*w,t[10]=(s*f*i-d*o*i+d*n*l-e*f*l-s*n*g+e*o*g)*w,t[11]=(u*o*i-s*c*i-u*n*l+e*c*l+s*n*p-e*o*p)*w,t[12]=x*w,t[13]=(u*f*r-d*c*r+d*n*h-e*f*h-u*n*m+e*c*m)*w,t[14]=(d*o*r-s*f*r-d*n*a+e*f*a+s*n*m-e*o*m)*w,t[15]=(s*c*r-u*o*r+u*n*a-e*c*a-s*n*h+e*o*h)*w,this}scale(t){const e=this.elements,n=t.x,r=t.y,i=t.z;return e[0]*=n,e[4]*=r,e[8]*=i,e[1]*=n,e[5]*=r,e[9]*=i,e[2]*=n,e[6]*=r,e[10]*=i,e[3]*=n,e[7]*=r,e[11]*=i,this}getMaxScaleOnAxis(){const t=this.elements,e=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],n=t[4]*t[4]+t[5]*t[5]+t[6]*t[6],r=t[8]*t[8]+t[9]*t[9]+t[10]*t[10];return Math.sqrt(Math.max(e,n,r))}makeTranslation(t,e,n){return t.isVector3?this.set(1,0,0,t.x,0,1,0,t.y,0,0,1,t.z,0,0,0,1):this.set(1,0,0,t,0,1,0,e,0,0,1,n,0,0,0,1),this}makeRotationX(t){const e=Math.cos(t),n=Math.sin(t);return this.set(1,0,0,0,0,e,-n,0,0,n,e,0,0,0,0,1),this}makeRotationY(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,0,n,0,0,1,0,0,-n,0,e,0,0,0,0,1),this}makeRotationZ(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,-n,0,0,n,e,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(t,e){const n=Math.cos(e),r=Math.sin(e),i=1-n,s=t.x,o=t.y,a=t.z,l=i*s,u=i*o;return this.set(l*s+n,l*o-r*a,l*a+r*o,0,l*o+r*a,u*o+n,u*a-r*s,0,l*a-r*o,u*a+r*s,i*a*a+n,0,0,0,0,1),this}makeScale(t,e,n){return this.set(t,0,0,0,0,e,0,0,0,0,n,0,0,0,0,1),this}makeShear(t,e,n,r,i,s){return this.set(1,n,i,0,t,1,s,0,e,r,1,0,0,0,0,1),this}compose(t,e,n){const r=this.elements,i=e._x,s=e._y,o=e._z,a=e._w,l=i+i,u=s+s,c=o+o,h=i*l,p=i*u,d=i*c,f=s*u,m=s*c,g=o*c,y=a*l,v=a*u,_=a*c,x=n.x,b=n.y,w=n.z;return r[0]=(1-(f+g))*x,r[1]=(p+_)*x,r[2]=(d-v)*x,r[3]=0,r[4]=(p-_)*b,r[5]=(1-(h+g))*b,r[6]=(m+y)*b,r[7]=0,r[8]=(d+v)*w,r[9]=(m-y)*w,r[10]=(1-(h+f))*w,r[11]=0,r[12]=t.x,r[13]=t.y,r[14]=t.z,r[15]=1,this}decompose(t,e,n){const r=this.elements;let i=bt.set(r[0],r[1],r[2]).length();const s=bt.set(r[4],r[5],r[6]).length(),o=bt.set(r[8],r[9],r[10]).length();this.determinant()<0&&(i=-i),t.x=r[12],t.y=r[13],t.z=r[14],wt.copy(this);const a=1/i,l=1/s,u=1/o;return wt.elements[0]*=a,wt.elements[1]*=a,wt.elements[2]*=a,wt.elements[4]*=l,wt.elements[5]*=l,wt.elements[6]*=l,wt.elements[8]*=u,wt.elements[9]*=u,wt.elements[10]*=u,e.setFromRotationMatrix(wt),n.x=i,n.y=s,n.z=o,this}makePerspective(t,e,n,r,i,s,o=2e3){const a=this.elements,l=2*i/(e-t),u=2*i/(n-r),c=(e+t)/(e-t),h=(n+r)/(n-r);let p,f;if(o===d)p=-(s+i)/(s-i),f=-2*s*i/(s-i);else{if(2001!==o)throw new Error("THREE.Matrix4.makePerspective(): Invalid coordinate system: "+o);p=-s/(s-i),f=-s*i/(s-i)}return a[0]=l,a[4]=0,a[8]=c,a[12]=0,a[1]=0,a[5]=u,a[9]=h,a[13]=0,a[2]=0,a[6]=0,a[10]=p,a[14]=f,a[3]=0,a[7]=0,a[11]=-1,a[15]=0,this}
vendor: 5,434 bytes, line 7
7makeOrthographic(t,e,n,r,i,s,o=2e3){const a=this.elements,l=1/(e-t),u=1/(n-r),c=1/(s-i),h=(e+t)*l,p=(n+r)*u;let f,m;if(o===d)f=(s+i)*c,m=-2*c;else{if(2001!==o)throw new Error("THREE.Matrix4.makeOrthographic(): Invalid coordinate system: "+o);f=i*c,m=-1*c}return a[0]=2*l,a[4]=0,a[8]=0,a[12]=-h,a[1]=0,a[5]=2*u,a[9]=0,a[13]=-p,a[2]=0,a[6]=0,a[10]=m,a[14]=-f,a[3]=0,a[7]=0,a[11]=0,a[15]=1,this}equals(t){const e=this.elements,n=t.elements;for(let r=0;r<16;r++)if(e[r]!==n[r])return!1;return!0}fromArray(t,e=0){for(let n=0;n<16;n++)this.elements[n]=t[n+e];return this}toArray(t=[],e=0){const n=this.elements;return t[e]=n[0],t[e+1]=n[1],t[e+2]=n[2],t[e+3]=n[3],t[e+4]=n[4],t[e+5]=n[5],t[e+6]=n[6],t[e+7]=n[7],t[e+8]=n[8],t[e+9]=n[9],t[e+10]=n[10],t[e+11]=n[11],t[e+12]=n[12],t[e+13]=n[13],t[e+14]=n[14],t[e+15]=n[15],t}}const bt=new $,wt=new xt,Mt=new $(0,0,0),Tt=new $(1,1,1),St=new $,Et=new $,kt=new $,At=new xt,Ct=new W;class Ot{constructor(t=0,e=0,n=0,r=Ot.DEFAULT_ORDER){this.isEuler=!0,this._x=t,this._y=e,this._z=n,this._order=r}get x(){return this._x}set x(t){this._x=t,this._onChangeCallback()}get y(){return this._y}set y(t){this._y=t,this._onChangeCallback()}get z(){return this._z}set z(t){this._z=t,this._onChangeCallback()}get order(){return this._order}set order(t){this._order=t,this._onChangeCallback()}set(t,e,n,r=this._order){return this._x=t,this._y=e,this._z=n,this._order=r,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(t){return this._x=t._x,this._y=t._y,this._z=t._z,this._order=t._order,this._onChangeCallback(),this}setFromRotationMatrix(t,e=this._order,n=!0){const r=t.elements,i=r[0],s=r[4],o=r[8],a=r[1],l=r[5],u=r[9],c=r[2],h=r[6],p=r[10];switch(e){case"XYZ":this._y=Math.asin(y(o,-1,1)),Math.abs(o)<.9999999?(this._x=Math.atan2(-u,p),this._z=Math.atan2(-s,i)):(this._x=Math.atan2(h,l),this._z=0);break;case"YXZ":this._x=Math.asin(-y(u,-1,1)),Math.abs(u)<.9999999?(this._y=Math.atan2(o,p),this._z=Math.atan2(a,l)):(this._y=Math.atan2(-c,i),this._z=0);break;case"ZXY":this._x=Math.asin(y(h,-1,1)),Math.abs(h)<.9999999?(this._y=Math.atan2(-c,p),this._z=Math.atan2(-s,l)):(this._y=0,this._z=Math.atan2(a,i));break;case"ZYX":this._y=Math.asin(-y(c,-1,1)),Math.abs(c)<.9999999?(this._x=Math.atan2(h,p),this._z=Math.atan2(a,i)):(this._x=0,this._z=Math.atan2(-s,l));break;case"YZX":this._z=Math.asin(y(a,-1,1)),Math.abs(a)<.9999999?(this._x=Math.atan2(-u,l),this._y=Math.atan2(-c,i)):(this._x=0,this._y=Math.atan2(o,p));break;case"XZY":this._z=Math.asin(-y(s,-1,1)),Math.abs(s)<.9999999?(this._x=Math.atan2(h,l),this._y=Math.atan2(o,i)):(this._x=Math.atan2(-u,p),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+e)}return this._order=e,!0===n&&this._onChangeCallback(),this}setFromQuaternion(t,e,n){return At.makeRotationFromQuaternion(t),this.setFromRotationMatrix(At,e,n)}setFromVector3(t,e=this._order){return this.set(t.x,t.y,t.z,e)}reorder(t){return Ct.setFromEuler(this),this.setFromQuaternion(Ct,t)}equals(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._order===this._order}fromArray(t){return this._x=t[0],this._y=t[1],this._z=t[2],void 0!==t[3]&&(this._order=t[3]),this._onChangeCallback(),this}toArray(t=[],e=0){return t[e]=this._x,t[e+1]=this._y,t[e+2]=this._z,t[e+3]=this._order,t}_onChange(t){return this._onChangeCallback=t,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}}Ot.DEFAULT_ORDER="XYZ";class Lt{constructor(){this.mask=1}set(t){this.mask=1<<t>>>0}enable(t){this.mask|=1<<t}enableAll(){this.mask=-1}toggle(t){this.mask^=1<<t}disable(t){this.mask&=~(1<<t)}disableAll(){this.mask=0}test(t){return!!(this.mask&t.mask)}isEnabled(t){return!!(this.mask&1<<t)}}let zt=0;const Pt=new $,Rt=new W,Nt=new xt,It=new $,Dt=new $,Ft=new $,Bt=new W,Ut=new $(1,0,0),jt=new $(0,1,0),Vt=new $(0,0,1),Wt={type:"added"},$t={type:"removed"},qt={type:"childadded",child:null},Ht={type:"childremoved",child:null};class Yt extends f{constructor(){super(),this.isObject3D=!0,Object.defineProperty(this,"id",{value:zt++}),this.uuid=g(),this.name="",this.type="Object3D",this.parent=null,this.children=[],this.up=Yt.DEFAULT_UP.clone();const t=new $,e=new Ot,n=new W,r=new $(1,1,1);e._onChange((function(){n.setFromEuler(e,!1)})),n._onChange((function(){e.setFromQuaternion(n,void 0,!1)})),Object.defineProperties(this,{position:{configurable:!0,enumerable:!0,value:t},rotation:{configurable:!0,enumerable:!0,value:e},quaternion:{configurable:!0,enumerable:!0,value:n},scale:{configurable:!0,enumerable:!0,value:r},modelViewMatrix:{value:new xt},normalMatrix:{value:new w}}),this.matrix=new xt,this.matrixWorld=new xt,this.matrixAutoUpdate=Yt.DEFAULT_MATRIX_AUTO_UPDATE,this.matrixWorldAutoUpdate=Yt.DEFAULT_MATRIX_WORLD_AUTO_UPDATE,this.matrixWorldNeedsUpdate=!1,this.layers=new Lt,this.visible=!0,this.castShadow=!1,this.receiveShadow=!1,this.frustumCulled=!0,this.renderOrder=0,this.animations=[],this.userData={}}onBeforeShadow(){}onAfterShadow(){}onBeforeRender(){}onAfterRender(){}applyMatrix4(t){this.matrixAutoUpdate&&this.updateMatrix(),this.matrix.premultiply(t),this.matrix.decompose(this.position,this.quaternion,this.scale)}applyQuaternion(t){return this.quaternion.premultiply(t),this}setRotationFromAxisAngle(t,e){this.quaternion.setFromAxisAngle(t,e)}setRotationFromEuler(t){this.quaternion.setFromEuler(t,!0)}
vendor: 4,290 bytes, line 7
7setRotationFromMatrix(t){this.quaternion.setFromRotationMatrix(t)}setRotationFromQuaternion(t){this.quaternion.copy(t)}rotateOnAxis(t,e){return Rt.setFromAxisAngle(t,e),this.quaternion.multiply(Rt),this}rotateOnWorldAxis(t,e){return Rt.setFromAxisAngle(t,e),this.quaternion.premultiply(Rt),this}rotateX(t){return this.rotateOnAxis(Ut,t)}rotateY(t){return this.rotateOnAxis(jt,t)}rotateZ(t){return this.rotateOnAxis(Vt,t)}translateOnAxis(t,e){return Pt.copy(t).applyQuaternion(this.quaternion),this.position.add(Pt.multiplyScalar(e)),this}translateX(t){return this.translateOnAxis(Ut,t)}translateY(t){return this.translateOnAxis(jt,t)}translateZ(t){return this.translateOnAxis(Vt,t)}localToWorld(t){return this.updateWorldMatrix(!0,!1),t.applyMatrix4(this.matrixWorld)}worldToLocal(t){return this.updateWorldMatrix(!0,!1),t.applyMatrix4(Nt.copy(this.matrixWorld).invert())}lookAt(t,e,n){t.isVector3?It.copy(t):It.set(t,e,n);const r=this.parent;this.updateWorldMatrix(!0,!1),Dt.setFromMatrixPosition(this.matrixWorld),this.isCamera||this.isLight?Nt.lookAt(Dt,It,this.up):Nt.lookAt(It,Dt,this.up),this.quaternion.setFromRotationMatrix(Nt),r&&(Nt.extractRotation(r.matrixWorld),Rt.setFromRotationMatrix(Nt),this.quaternion.premultiply(Rt.invert()))}add(t){if(arguments.length>1){for(let t=0;t<arguments.length;t++)this.add(arguments[t]);return this}return t===this?(console.error("THREE.Object3D.add: object can't be added as a child of itself.",t),this):(t&&t.isObject3D?(t.removeFromParent(),t.parent=this,this.children.push(t),t.dispatchEvent(Wt),qt.child=t,this.dispatchEvent(qt),qt.child=null):console.error("THREE.Object3D.add: object not an instance of THREE.Object3D.",t),this)}remove(t){if(arguments.length>1){for(let t=0;t<arguments.length;t++)this.remove(arguments[t]);return this}const e=this.children.indexOf(t);return-1!==e&&(t.parent=null,this.children.splice(e,1),t.dispatchEvent($t),Ht.child=t,this.dispatchEvent(Ht),Ht.child=null),this}removeFromParent(){const t=this.parent;return null!==t&&t.remove(this),this}clear(){return this.remove(...this.children)}attach(t){return this.updateWorldMatrix(!0,!1),Nt.copy(this.matrixWorld).invert(),null!==t.parent&&(t.parent.updateWorldMatrix(!0,!1),Nt.multiply(t.parent.matrixWorld)),t.applyMatrix4(Nt),t.removeFromParent(),t.parent=this,this.children.push(t),t.updateWorldMatrix(!1,!0),t.dispatchEvent(Wt),qt.child=t,this.dispatchEvent(qt),qt.child=null,this}getObjectById(t){return this.getObjectByProperty("id",t)}getObjectByName(t){return this.getObjectByProperty("name",t)}getObjectByProperty(t,e){if(this[t]===e)return this;for(let n=0,r=this.children.length;n<r;n++){const r=this.children[n].getObjectByProperty(t,e);if(void 0!==r)return r}}getObjectsByProperty(t,e,n=[]){this[t]===e&&n.push(this);const r=this.children;for(let i=0,s=r.length;i<s;i++)r[i].getObjectsByProperty(t,e,n);return n}getWorldPosition(t){return this.updateWorldMatrix(!0,!1),t.setFromMatrixPosition(this.matrixWorld)}getWorldQuaternion(t){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(Dt,t,Ft),t}getWorldScale(t){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(Dt,Bt,t),t}getWorldDirection(t){this.updateWorldMatrix(!0,!1);const e=this.matrixWorld.elements;return t.set(e[8],e[9],e[10]).normalize()}raycast(){}traverse(t){t(this);const e=this.children;for(let n=0,r=e.length;n<r;n++)e[n].traverse(t)}traverseVisible(t){if(!1===this.visible)return;t(this);const e=this.children;for(let n=0,r=e.length;n<r;n++)e[n].traverseVisible(t)}traverseAncestors(t){const e=this.parent;null!==e&&(t(e),e.traverseAncestors(t))}updateMatrix(){this.matrix.compose(this.position,this.quaternion,this.scale),this.matrixWorldNeedsUpdate=!0}updateMatrixWorld(t){this.matrixAutoUpdate&&this.updateMatrix(),(this.matrixWorldNeedsUpdate||t)&&(!0===this.matrixWorldAutoUpdate&&(null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix)),this.matrixWorldNeedsUpdate=!1,t=!0);const e=this.children;for(let n=0,r=e.length;n<r;n++){e[n].updateMatrixWorld(t)}}updateWorldMatrix(t,e){const n=this.parent;if(!0===t&&null!==n&&n.updateWorldMatrix(!0,!1),this.matrixAutoUpdate&&this.updateMatrix(),!0===this.matrixWorldAutoUpdate&&(null===this.parent?this.matrixWorld.copy(this.matrix
vendor: 13,241 bytes, line 7
7):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix)),!0===e){const t=this.children;for(let e=0,n=t.length;e<n;e++){t[e].updateWorldMatrix(!1,!0)}}}toJSON(t){const e=void 0===t||"string"==typeof t,n={};e&&(t={geometries:{},materials:{},textures:{},images:{},shapes:{},skeletons:{},animations:{},nodes:{}},n.metadata={version:4.6,type:"Object",generator:"Object3D.toJSON"});const r={};function i(e,n){return void 0===e[n.uuid]&&(e[n.uuid]=n.toJSON(t)),n.uuid}if(r.uuid=this.uuid,r.type=this.type,""!==this.name&&(r.name=this.name),!0===this.castShadow&&(r.castShadow=!0),!0===this.receiveShadow&&(r.receiveShadow=!0),!1===this.visible&&(r.visible=!1),!1===this.frustumCulled&&(r.frustumCulled=!1),0!==this.renderOrder&&(r.renderOrder=this.renderOrder),Object.keys(this.userData).length>0&&(r.userData=this.userData),r.layers=this.layers.mask,r.matrix=this.matrix.toArray(),r.up=this.up.toArray(),!1===this.matrixAutoUpdate&&(r.matrixAutoUpdate=!1),this.isInstancedMesh&&(r.type="InstancedMesh",r.count=this.count,r.instanceMatrix=this.instanceMatrix.toJSON(),null!==this.instanceColor&&(r.instanceColor=this.instanceColor.toJSON())),this.isBatchedMesh&&(r.type="BatchedMesh",r.perObjectFrustumCulled=this.perObjectFrustumCulled,r.sortObjects=this.sortObjects,r.drawRanges=this._drawRanges,r.reservedRanges=this._reservedRanges,r.visibility=this._visibility,r.active=this._active,r.bounds=this._bounds.map((t=>({boxInitialized:t.boxInitialized,boxMin:t.box.min.toArray(),boxMax:t.box.max.toArray(),sphereInitialized:t.sphereInitialized,sphereRadius:t.sphere.radius,sphereCenter:t.sphere.center.toArray()}))),r.maxInstanceCount=this._maxInstanceCount,r.maxVertexCount=this._maxVertexCount,r.maxIndexCount=this._maxIndexCount,r.geometryInitialized=this._geometryInitialized,r.geometryCount=this._geometryCount,r.matricesTexture=this._matricesTexture.toJSON(t),null!==this._colorsTexture&&(r.colorsTexture=this._colorsTexture.toJSON(t)),null!==this.boundingSphere&&(r.boundingSphere={center:r.boundingSphere.center.toArray(),radius:r.boundingSphere.radius}),null!==this.boundingBox&&(r.boundingBox={min:r.boundingBox.min.toArray(),max:r.boundingBox.max.toArray()})),this.isScene)this.background&&(this.background.isColor?r.background=this.background.toJSON():this.background.isTexture&&(r.background=this.background.toJSON(t).uuid)),this.environment&&this.environment.isTexture&&!0!==this.environment.isRenderTargetTexture&&(r.environment=this.environment.toJSON(t).uuid);else if(this.isMesh||this.isLine||this.isPoints){r.geometry=i(t.geometries,this.geometry);const e=this.geometry.parameters;if(void 0!==e&&void 0!==e.shapes){const n=e.shapes;if(Array.isArray(n))for(let e=0,r=n.length;e<r;e++){const r=n[e];i(t.shapes,r)}else i(t.shapes,n)}}if(this.isSkinnedMesh&&(r.bindMode=this.bindMode,r.bindMatrix=this.bindMatrix.toArray(),void 0!==this.skeleton&&(i(t.skeletons,this.skeleton),r.skeleton=this.skeleton.uuid)),void 0!==this.material)if(Array.isArray(this.material)){const e=[];for(let n=0,r=this.material.length;n<r;n++)e.push(i(t.materials,this.material[n]));r.material=e}else r.material=i(t.materials,this.material);if(this.children.length>0){r.children=[];for(let e=0;e<this.children.length;e++)r.children.push(this.children[e].toJSON(t).object)}if(this.animations.length>0){r.animations=[];for(let e=0;e<this.animations.length;e++){const n=this.animations[e];r.animations.push(i(t.animations,n))}}if(e){const e=s(t.geometries),r=s(t.materials),i=s(t.textures),o=s(t.images),a=s(t.shapes),l=s(t.skeletons),u=s(t.animations),c=s(t.nodes);e.length>0&&(n.geometries=e),r.length>0&&(n.materials=r),i.length>0&&(n.textures=i),o.length>0&&(n.images=o),a.length>0&&(n.shapes=a),l.length>0&&(n.skeletons=l),u.length>0&&(n.animations=u),c.length>0&&(n.nodes=c)}return n.object=r,n;function s(t){const e=[];for(const n in t){const r=t[n];delete r.metadata,e.push(r)}return e}}clone(t){return(new this.constructor).copy(this,t)}copy(t,e=!0){if(this.name=t.name,this.up.copy(t.up),this.position.copy(t.position),this.rotation.order=t.rotation.order,this.quaternion.copy(t.quaternion),this.scale.copy(t.scale),this.matrix.copy(t.matrix),this.matrixWorld.copy(t.matrixWorld),this.matrixAutoUpdate=t.matrixAutoUpdate,this.matrixWorldAutoUpdate=t.matrixWorldAutoUpdate,this.matrixWorldNeedsUpdate=t.matrixWorldNeedsUpdate,this.layers.mask=t.layers.mask,this.visible=t.visible,this.castShadow=t.castShadow,this.receiveShadow=t.receiveShadow,this.frustumCulled=t.frustumCulled,this.renderOrder=t.renderOrder,this.animations=t.animations.slice(),this.userData=JSON.parse(JSON.stringify(t.userData)),!0===e)for(let n=0;n<t.children.length;n++){const e=t.children[n];this.add(e.clone())}return this}}Yt.DEFAULT_UP=new $(0,1,0),Yt.DEFAULT_MATRIX_AUTO_UPDATE=!0,Yt.DEFAULT_MATRIX_WORLD_AUTO_UPDATE=!0;const Xt=new $,Gt=new $,Zt=new $,Jt=new $,Qt=new $,Kt=new $,te=new $,ee=new $,ne=new $,re=new $;class ie{constructor(t=new $,e=new $,n=new $){this.a=t,this.b=e,this.c=n}static getNormal(t,e,n,r){r.subVectors(n,e),Xt.subVectors(t,e),r.cross(Xt);const i=r.lengthSq();return i>0?r.multiplyScalar(1/Math.sqrt(i)):r.set(0,0,0)}static getBarycoord(t,e,n,r,i){Xt.subVectors(r,e),Gt.subVectors(n,e),Zt.subVectors(t,e);const s=Xt.dot(Xt),o=Xt.dot(Gt),a=Xt.dot(Zt),l=Gt.dot(Gt),u=Gt.dot(Zt),c=s*l-o*o;if(0===c)return i.set(0,0,0),null;const h=1/c,p=(l*a-o*u)*h,d=(s*u-o*a)*h;return i.set(1-p-d,d,p)}static containsPoint(t,e,n,r){return null!==this.getBarycoord(t,e,n,r,Jt)&&(Jt.x>=0&&Jt.y>=0&&Jt.x+Jt.y<=1)}static getInterpolation(t,e,n,r,i,s,o,a){return null===this.getBarycoord(t,e,n,r,Jt)?(a.x=0,a.y=0,"z"in a&&(a.z=0),"w"in a&&(a.w=0),null):(a.setScalar(0),a.addScaledVector(i,Jt.x),a.addScaledVector(s,Jt.y),a.addScaledVector(o,Jt.z),a)}static isFrontFacing(t,e,n,r){return Xt.subVectors(n,e),Gt.subVectors(t,e),Xt.cross(Gt).dot(r)<0}set(t,e,n){return this.a.copy(t),this.b.copy(e),this.c.copy(n),this}setFromPointsAndIndices(t,e,n,r){return this.a.copy(t[e]),this.b.copy(t[n]),this.c.copy(t[r]),this}setFromAttributeAndIndices(t,e,n,r){return this.a.fromBufferAttribute(t,e),this.b.fromBufferAttribute(t,n),this.c.fromBufferAttribute(t,r),this}clone(){return(new this.constructor).copy(this)}copy(t){return this.a.copy(t.a),this.b.copy(t.b),this.c.copy(t.c),this}getArea(){return Xt.subVectors(this.c,this.b),Gt.subVectors(this.a,this.b),.5*Xt.cross(Gt).length()}getMidpoint(t){return t.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(t){return ie.getNormal(this.a,this.b,this.c,t)}getPlane(t){return t.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(t,e){return ie.getBarycoord(t,this.a,this.b,this.c,e)}getInterpolation(t,e,n,r,i){return ie.getInterpolation(t,this.a,this.b,this.c,e,n,r,i)}containsPoint(t){return ie.containsPoint(t,this.a,this.b,this.c)}isFrontFacing(t){return ie.isFrontFacing(this.a,this.b,this.c,t)}intersectsBox(t){return t.intersectsTriangle(this)}closestPointToPoint(t,e){const n=this.a,r=this.b,i=this.c;let s,o;Qt.subVectors(r,n),Kt.subVectors(i,n),ee.subVectors(t,n);const a=Qt.dot(ee),l=Kt.dot(ee);if(a<=0&&l<=0)return e.copy(n);ne.subVectors(t,r);const u=Qt.dot(ne),c=Kt.dot(ne);if(u>=0&&c<=u)return e.copy(r);const h=a*c-u*l;if(h<=0&&a>=0&&u<=0)return s=a/(a-u),e.copy(n).addScaledVector(Qt,s);re.subVectors(t,i);const p=Qt.dot(re),d=Kt.dot(re);if(d>=0&&p<=d)return e.copy(i);const f=p*l-a*d;if(f<=0&&l>=0&&d<=0)return o=l/(l-d),e.copy(n).addScaledVector(Kt,o);const m=u*d-p*c;if(m<=0&&c-u>=0&&p-d>=0)return te.subVectors(i,r),o=(c-u)/(c-u+(p-d)),e.copy(r).addScaledVector(te,o);const g=1/(m+f+h);return s=f*g,o=h*g,e.copy(n).addScaledVector(Qt,s).addScaledVector(Kt,o)}equals(t){return t.a.equals(this.a)&&t.b.equals(this.b)&&t.c.equals(this.c)}}const se={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},oe={h:0,s:0,l:0},ae={h:0,s:0,l:0};function le(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+6*(e-t)*(2/3-n):t}class ue{constructor(t,e,n){return this.isColor=!0,this.r=1,this.g=1,this.b=1,this.set(t,e,n)}set(t,e,n){if(void 0===e&&void 0===n){const e=t;e&&e.isColor?this.copy(e):"number"==typeof e?this.setHex(e):"string"==typeof e&&this.setStyle(e)}else this.setRGB(t,e,n);return this}setScalar(t){return this.r=t,this.g=t,this.b=t,this}setHex(t,e=s){return t=Math.floor(t),this.r=(t>>16&255)/255,this.g=(t>>8&255)/255,this.b=(255&t)/255,O.toWorkingColorSpace(this,e),this}setRGB(t,e,n,r=O.workingColorSpace){return this.r=t,this.g=e,this.b=n,O.toWorkingColorSpace(this,r),this}setHSL(t,e,n,r=O.workingColorSpace){var i;if(t=(t%(i=1)+i)%i,e=y(e,0,1),n=y(n,0,1),0===e)this.r=this.g=this.b=n;else{const r=n<=.5?n*(1+e):n+e-n*e,i=2*n-r;this.r=le(i,r,t+1/3),this.g=le(i,r,t),this.b=le(i,r,t-1/3)}return O.toWorkingColorSpace(this,r),this}setStyle(t,e=s){function n(e){void 0!==e&&parseFloat(e)<1&&console.warn("THREE.Color: Alpha component of "+t+" will be ignored.")}let r;if(r=/^(\w+)\(([^\)]*)\)/.exec(t)){let i;const s=r[1],o=r[2];switch(s){case"rgb":case"rgba":if(i=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(o))return n(i[4]),this.setRGB(Math.min(255,parseInt(i[1],10))/255,Math.min(255,parseInt(i[2],10))/255,Math.min(255,parseInt(i[3],10))/255,e);if(i=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(o))return n(i[4]),this.setRGB(Math.min(100,parseInt(i[1],10))/100,Math.min(100,parseInt(i[2],10))/100,Math.min(100,parseInt(i[3],10))/100,e);break;case"hsl":case"hsla":if(i=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(o))return n(i[4]),this.setHSL(parseFloat(i[1])/360,parseFloat(i[2])/100,parseFloat(i[3])/100,e);break;default:console.warn("THREE.Color: Unknown color model "+t)}}else if(r=/^\#([A-Fa-f\d]+)$/.exec(t)){const n=r[1],i=n.length;if(3===i)return this.setRGB(parseInt(n.charAt(0),16)/15,parseInt(n.charAt(1),16)/15,parseInt(n.charAt(2),16)/15,e);if(6===i)return this.setHex(parseInt(n,16),e);console.warn("THREE.Color: Invalid hex color "+t)}else if(t&&t.length>0)return this.setColorName(t,e);return this}setColorName(t,e=s){const n=se[t.toLowerCase()];return void 0!==n?this.setHex(n,e):console.warn("THREE.Color: Unknown color "+t),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(t){return this.r=t.r,this.g=t.g,this.b=t.b,this}copySRGBToLinear(t){return this.r=L(t.r),this.g=L(t.g),this.b=L(t.b),this}copyLinearToSRGB(t){return this.r=z(t.r),this.g=z(t.g),this.b=z(t.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(t=s){return O.fromWorkingColorSpace(ce.copy(this),t),65536
vendor: 4,107 bytes, line 7
7*Math.round(y(255*ce.r,0,255))+256*Math.round(y(255*ce.g,0,255))+Math.round(y(255*ce.b,0,255))}getHexString(t=s){return("000000"+this.getHex(t).toString(16)).slice(-6)}getHSL(t,e=O.workingColorSpace){O.fromWorkingColorSpace(ce.copy(this),e);const n=ce.r,r=ce.g,i=ce.b,s=Math.max(n,r,i),o=Math.min(n,r,i);let a,l;const u=(o+s)/2;if(o===s)a=0,l=0;else{const t=s-o;switch(l=u<=.5?t/(s+o):t/(2-s-o),s){case n:a=(r-i)/t+(r<i?6:0);break;case r:a=(i-n)/t+2;break;case i:a=(n-r)/t+4}a/=6}return t.h=a,t.s=l,t.l=u,t}getRGB(t,e=O.workingColorSpace){return O.fromWorkingColorSpace(ce.copy(this),e),t.r=ce.r,t.g=ce.g,t.b=ce.b,t}getStyle(t=s){O.fromWorkingColorSpace(ce.copy(this),t);const e=ce.r,n=ce.g,r=ce.b;return t!==s?`color(${t} ${e.toFixed(3)} ${n.toFixed(3)} ${r.toFixed(3)})`:`rgb(${Math.round(255*e)},${Math.round(255*n)},${Math.round(255*r)})`}offsetHSL(t,e,n){return this.getHSL(oe),this.setHSL(oe.h+t,oe.s+e,oe.l+n)}add(t){return this.r+=t.r,this.g+=t.g,this.b+=t.b,this}addColors(t,e){return this.r=t.r+e.r,this.g=t.g+e.g,this.b=t.b+e.b,this}addScalar(t){return this.r+=t,this.g+=t,this.b+=t,this}sub(t){return this.r=Math.max(0,this.r-t.r),this.g=Math.max(0,this.g-t.g),this.b=Math.max(0,this.b-t.b),this}multiply(t){return this.r*=t.r,this.g*=t.g,this.b*=t.b,this}multiplyScalar(t){return this.r*=t,this.g*=t,this.b*=t,this}lerp(t,e){return this.r+=(t.r-this.r)*e,this.g+=(t.g-this.g)*e,this.b+=(t.b-this.b)*e,this}lerpColors(t,e,n){return this.r=t.r+(e.r-t.r)*n,this.g=t.g+(e.g-t.g)*n,this.b=t.b+(e.b-t.b)*n,this}lerpHSL(t,e){this.getHSL(oe),t.getHSL(ae);const n=v(oe.h,ae.h,e),r=v(oe.s,ae.s,e),i=v(oe.l,ae.l,e);return this.setHSL(n,r,i),this}setFromVector3(t){return this.r=t.x,this.g=t.y,this.b=t.z,this}applyMatrix3(t){const e=this.r,n=this.g,r=this.b,i=t.elements;return this.r=i[0]*e+i[3]*n+i[6]*r,this.g=i[1]*e+i[4]*n+i[7]*r,this.b=i[2]*e+i[5]*n+i[8]*r,this}equals(t){return t.r===this.r&&t.g===this.g&&t.b===this.b}fromArray(t,e=0){return this.r=t[e],this.g=t[e+1],this.b=t[e+2],this}toArray(t=[],e=0){return t[e]=this.r,t[e+1]=this.g,t[e+2]=this.b,t}fromBufferAttribute(t,e){return this.r=t.getX(e),this.g=t.getY(e),this.b=t.getZ(e),this}toJSON(){return this.getHex()}*[Symbol.iterator](){yield this.r,yield this.g,yield this.b}}const ce=new ue;ue.NAMES=se;let he=0;class pe extends f{constructor(){super(),this.isMaterial=!0,Object.defineProperty(this,"id",{value:he++}),this.uuid=g(),this.name="",this.type="Material",this.blending=1,this.side=e,this.vertexColors=!1,this.opacity=1,this.transparent=!1,this.alphaHash=!1,this.blendSrc=204,this.blendDst=205,this.blendEquation=100,this.blendSrcAlpha=null,this.blendDstAlpha=null,this.blendEquationAlpha=null,this.blendColor=new ue(0,0,0),this.blendAlpha=0,this.depthFunc=3,this.depthTest=!0,this.depthWrite=!0,this.stencilWriteMask=255,this.stencilFunc=519,this.stencilRef=0,this.stencilFuncMask=255,this.stencilFail=p,this.stencilZFail=p,this.stencilZPass=p,this.stencilWrite=!1,this.clippingPlanes=null,this.clipIntersection=!1,this.clipShadows=!1,this.shadowSide=null,this.colorWrite=!0,this.precision=null,this.polygonOffset=!1,this.polygonOffsetFactor=0,this.polygonOffsetUnits=0,this.dithering=!1,this.alphaToCoverage=!1,this.premultipliedAlpha=!1,this.forceSinglePass=!1,this.visible=!0,this.toneMapped=!0,this.userData={},this.version=0,this._alphaTest=0}get alphaTest(){return this._alphaTest}set alphaTest(t){this._alphaTest>0!=t>0&&this.version++,this._alphaTest=t}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(t){if(void 0!==t)for(const e in t){const n=t[e];if(void 0===n){console.warn(`THREE.Material: parameter '${e}' has value of undefined.`);continue}const r=this[e];void 0!==r?r&&r.isColor?r.set(n):r&&r.isVector3&&n&&n.isVector3?r.copy(n):this[e]=n:console.warn(`THREE.Material: '${e}' is not a property of THREE.${this.type}.`)}}toJSON(t){const n=void 0===t||"string"==typeof t;n&&(t={textures:{},images:{}});const r={metadata:{version:4.6,type:"Material",generator:"Material.toJSON"}};function i(t){const e=[];for(const n in t){const r=t[n];delete r.metadata,e.push(r)}return e}
vendor: 5,428 bytes, line 7
7if(r.uuid=this.uuid,r.type=this.type,""!==this.name&&(r.name=this.name),this.color&&this.color.isColor&&(r.color=this.color.getHex()),void 0!==this.roughness&&(r.roughness=this.roughness),void 0!==this.metalness&&(r.metalness=this.metalness),void 0!==this.sheen&&(r.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(r.sheenColor=this.sheenColor.getHex()),void 0!==this.sheenRoughness&&(r.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(r.emissive=this.emissive.getHex()),void 0!==this.emissiveIntensity&&1!==this.emissiveIntensity&&(r.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(r.specular=this.specular.getHex()),void 0!==this.specularIntensity&&(r.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(r.specularColor=this.specularColor.getHex()),void 0!==this.shininess&&(r.shininess=this.shininess),void 0!==this.clearcoat&&(r.clearcoat=this.clearcoat),void 0!==this.clearcoatRoughness&&(r.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(r.clearcoatMap=this.clearcoatMap.toJSON(t).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(r.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(t).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(r.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(t).uuid,r.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),void 0!==this.dispersion&&(r.dispersion=this.dispersion),void 0!==this.iridescence&&(r.iridescence=this.iridescence),void 0!==this.iridescenceIOR&&(r.iridescenceIOR=this.iridescenceIOR),void 0!==this.iridescenceThicknessRange&&(r.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(r.iridescenceMap=this.iridescenceMap.toJSON(t).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(r.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(t).uuid),void 0!==this.anisotropy&&(r.anisotropy=this.anisotropy),void 0!==this.anisotropyRotation&&(r.anisotropyRotation=this.anisotropyRotation),this.anisotropyMap&&this.anisotropyMap.isTexture&&(r.anisotropyMap=this.anisotropyMap.toJSON(t).uuid),this.map&&this.map.isTexture&&(r.map=this.map.toJSON(t).uuid),this.matcap&&this.matcap.isTexture&&(r.matcap=this.matcap.toJSON(t).uuid),this.alphaMap&&this.alphaMap.isTexture&&(r.alphaMap=this.alphaMap.toJSON(t).uuid),this.lightMap&&this.lightMap.isTexture&&(r.lightMap=this.lightMap.toJSON(t).uuid,r.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(r.aoMap=this.aoMap.toJSON(t).uuid,r.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(r.bumpMap=this.bumpMap.toJSON(t).uuid,r.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(r.normalMap=this.normalMap.toJSON(t).uuid,r.normalMapType=this.normalMapType,r.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(r.displacementMap=this.displacementMap.toJSON(t).uuid,r.displacementScale=this.displacementScale,r.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(r.roughnessMap=this.roughnessMap.toJSON(t).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(r.metalnessMap=this.metalnessMap.toJSON(t).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(r.emissiveMap=this.emissiveMap.toJSON(t).uuid),this.specularMap&&this.specularMap.isTexture&&(r.specularMap=this.specularMap.toJSON(t).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(r.specularIntensityMap=this.specularIntensityMap.toJSON(t).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(r.specularColorMap=this.specularColorMap.toJSON(t).uuid),this.envMap&&this.envMap.isTexture&&(r.envMap=this.envMap.toJSON(t).uuid,void 0!==this.combine&&(r.combine=this.combine)),void 0!==this.envMapRotation&&(r.envMapRotation=this.envMapRotation.toArray()),void 0!==this.envMapIntensity&&(r.envMapIntensity=this.envMapIntensity),void 0!==this.reflectivity&&(r.reflectivity=this.reflectivity),void 0!==this.refractionRatio&&(r.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(r.gradientMap=this.gradientMap.toJSON(t).uuid),void 0!==this.transmission&&(r.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(r.transmissionMap=this.transmissionMap.toJSON(t).uuid),void 0!==this.thickness&&(r.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(r.thicknessMap=this.thicknessMap.toJSON(t).uuid),void 0!==this.attenuationDistance&&this.attenuationDistance!==1/0&&(r.attenuationDistance=this.attenuationDistance),void 0!==this.attenuationColor&&(r.attenuationColor=this.attenuationColor.getHex()),void 0!==this.size&&(r.size=this.size),null!==this.shadowSide&&(r.shadowSide=this.shadowSide),void 0!==this.sizeAttenuation&&(r.sizeAttenuation=this.sizeAttenuation),1!==this.blending&&(r.blending=this.blending),this.side!==e&&(r.side=this.side),!0===this.vertexColors&&(r.vertexColors=!0),this.opacity<1&&(r.opacity=this.opacity),!0===this.transparent&&(r.transparent=!0),204!==this.blendSrc&&(r.blendSrc=this.blendSrc),205!==this.blendDst&&(r.blendDst=this.blendDst),100!==this.blendEquation&&(r.blendEquation=this.blendEquation),null!==this.blendSrcAlpha&&(r.blendSrcAlpha=this.blendSrcAlpha),null!==this.blendDstAlpha&&
vendor: 6,188 bytes, line 7
7(r.blendDstAlpha=this.blendDstAlpha),null!==this.blendEquationAlpha&&(r.blendEquationAlpha=this.blendEquationAlpha),this.blendColor&&this.blendColor.isColor&&(r.blendColor=this.blendColor.getHex()),0!==this.blendAlpha&&(r.blendAlpha=this.blendAlpha),3!==this.depthFunc&&(r.depthFunc=this.depthFunc),!1===this.depthTest&&(r.depthTest=this.depthTest),!1===this.depthWrite&&(r.depthWrite=this.depthWrite),!1===this.colorWrite&&(r.colorWrite=this.colorWrite),255!==this.stencilWriteMask&&(r.stencilWriteMask=this.stencilWriteMask),519!==this.stencilFunc&&(r.stencilFunc=this.stencilFunc),0!==this.stencilRef&&(r.stencilRef=this.stencilRef),255!==this.stencilFuncMask&&(r.stencilFuncMask=this.stencilFuncMask),this.stencilFail!==p&&(r.stencilFail=this.stencilFail),this.stencilZFail!==p&&(r.stencilZFail=this.stencilZFail),this.stencilZPass!==p&&(r.stencilZPass=this.stencilZPass),!0===this.stencilWrite&&(r.stencilWrite=this.stencilWrite),void 0!==this.rotation&&0!==this.rotation&&(r.rotation=this.rotation),!0===this.polygonOffset&&(r.polygonOffset=!0),0!==this.polygonOffsetFactor&&(r.polygonOffsetFactor=this.polygonOffsetFactor),0!==this.polygonOffsetUnits&&(r.polygonOffsetUnits=this.polygonOffsetUnits),void 0!==this.linewidth&&1!==this.linewidth&&(r.linewidth=this.linewidth),void 0!==this.dashSize&&(r.dashSize=this.dashSize),void 0!==this.gapSize&&(r.gapSize=this.gapSize),void 0!==this.scale&&(r.scale=this.scale),!0===this.dithering&&(r.dithering=!0),this.alphaTest>0&&(r.alphaTest=this.alphaTest),!0===this.alphaHash&&(r.alphaHash=!0),!0===this.alphaToCoverage&&(r.alphaToCoverage=!0),!0===this.premultipliedAlpha&&(r.premultipliedAlpha=!0),!0===this.forceSinglePass&&(r.forceSinglePass=!0),!0===this.wireframe&&(r.wireframe=!0),this.wireframeLinewidth>1&&(r.wireframeLinewidth=this.wireframeLinewidth),"round"!==this.wireframeLinecap&&(r.wireframeLinecap=this.wireframeLinecap),"round"!==this.wireframeLinejoin&&(r.wireframeLinejoin=this.wireframeLinejoin),!0===this.flatShading&&(r.flatShading=!0),!1===this.visible&&(r.visible=!1),!1===this.toneMapped&&(r.toneMapped=!1),!1===this.fog&&(r.fog=!1),Object.keys(this.userData).length>0&&(r.userData=this.userData),n){const e=i(t.textures),n=i(t.images);e.length>0&&(r.textures=e),n.length>0&&(r.images=n)}return r}clone(){return(new this.constructor).copy(this)}copy(t){this.name=t.name,this.blending=t.blending,this.side=t.side,this.vertexColors=t.vertexColors,this.opacity=t.opacity,this.transparent=t.transparent,this.blendSrc=t.blendSrc,this.blendDst=t.blendDst,this.blendEquation=t.blendEquation,this.blendSrcAlpha=t.blendSrcAlpha,this.blendDstAlpha=t.blendDstAlpha,this.blendEquationAlpha=t.blendEquationAlpha,this.blendColor.copy(t.blendColor),this.blendAlpha=t.blendAlpha,this.depthFunc=t.depthFunc,this.depthTest=t.depthTest,this.depthWrite=t.depthWrite,this.stencilWriteMask=t.stencilWriteMask,this.stencilFunc=t.stencilFunc,this.stencilRef=t.stencilRef,this.stencilFuncMask=t.stencilFuncMask,this.stencilFail=t.stencilFail,this.stencilZFail=t.stencilZFail,this.stencilZPass=t.stencilZPass,this.stencilWrite=t.stencilWrite;const e=t.clippingPlanes;let n=null;if(null!==e){const t=e.length;n=new Array(t);for(let r=0;r!==t;++r)n[r]=e[r].clone()}return this.clippingPlanes=n,this.clipIntersection=t.clipIntersection,this.clipShadows=t.clipShadows,this.shadowSide=t.shadowSide,this.colorWrite=t.colorWrite,this.precision=t.precision,this.polygonOffset=t.polygonOffset,this.polygonOffsetFactor=t.polygonOffsetFactor,this.polygonOffsetUnits=t.polygonOffsetUnits,this.dithering=t.dithering,this.alphaTest=t.alphaTest,this.alphaHash=t.alphaHash,this.alphaToCoverage=t.alphaToCoverage,this.premultipliedAlpha=t.premultipliedAlpha,this.forceSinglePass=t.forceSinglePass,this.visible=t.visible,this.toneMapped=t.toneMapped,this.userData=JSON.parse(JSON.stringify(t.userData)),this}dispose(){this.dispatchEvent({type:"dispose"})}set needsUpdate(t){!0===t&&this.version++}onBuild(){console.warn("Material: onBuild() has been removed.")}onBeforeRender(){console.warn("Material: onBeforeRender() has been removed.")}}class de extends pe{constructor(t){super(),this.isMeshBasicMaterial=!0,this.type="MeshBasicMaterial",this.color=new ue(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new Ot,this.combine=0,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.specularMap=t.specularMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.envMapRotation.copy(t.envMapRotation),this.combine=t.combine,this.reflectivity=t.reflectivity,this.refractionRatio=t.refractionRatio,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.fog=t.fog,this}}const fe=new $,me=new b;class ge{constructor(t,e,n=!1){if(Array.isArray(t))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.isBufferAttribute=!0,this.name="",this.array=t,this.itemSize=e,this.count=void 0!==t?t.length/e:0,this.normalized=n,this.usage=35044,this._updateRange={offset:0,count:-1},this.updateRanges=[],this.gpuType=1015,this.version=0}onUploadCallback(){}set needsUpdate(t){!0===t&&this.version++}get updateRange(){var t;return(t="THREE.BufferAttribute: updateRange() is deprecated and will be removed in r169. Use addUpdateRange() instead.")in S||(S[t]=!0,console.warn(t)),this._updateRange}setUsage(t){return this.usage=t,this}addUpdateRange(t,e){this.updateRanges.push({start:t,count:e})}clearUpdateRanges(){this.updateRanges.length=0}copy(t){return this.name=t.name,this.array=new t.array.constructor(t.array),this.itemSize=t.itemSize,this.count=t.count,this.normalized=t.normalized,this.usage=t.usage,this.gpuType=t.gpuType,this}copyAt(t,e,n){t*=this.itemSize,n*=e.itemSize;
vendor: 5,081 bytes, line 7
7for(let r=0,i=this.itemSize;r<i;r++)this.array[t+r]=e.array[n+r];return this}copyArray(t){return this.array.set(t),this}applyMatrix3(t){if(2===this.itemSize)for(let e=0,n=this.count;e<n;e++)me.fromBufferAttribute(this,e),me.applyMatrix3(t),this.setXY(e,me.x,me.y);else if(3===this.itemSize)for(let e=0,n=this.count;e<n;e++)fe.fromBufferAttribute(this,e),fe.applyMatrix3(t),this.setXYZ(e,fe.x,fe.y,fe.z);return this}applyMatrix4(t){for(let e=0,n=this.count;e<n;e++)fe.fromBufferAttribute(this,e),fe.applyMatrix4(t),this.setXYZ(e,fe.x,fe.y,fe.z);return this}applyNormalMatrix(t){for(let e=0,n=this.count;e<n;e++)fe.fromBufferAttribute(this,e),fe.applyNormalMatrix(t),this.setXYZ(e,fe.x,fe.y,fe.z);return this}transformDirection(t){for(let e=0,n=this.count;e<n;e++)fe.fromBufferAttribute(this,e),fe.transformDirection(t),this.setXYZ(e,fe.x,fe.y,fe.z);return this}set(t,e=0){return this.array.set(t,e),this}getComponent(t,e){let n=this.array[t*this.itemSize+e];return this.normalized&&(n=_(n,this.array)),n}setComponent(t,e,n){return this.normalized&&(n=x(n,this.array)),this.array[t*this.itemSize+e]=n,this}getX(t){let e=this.array[t*this.itemSize];return this.normalized&&(e=_(e,this.array)),e}setX(t,e){return this.normalized&&(e=x(e,this.array)),this.array[t*this.itemSize]=e,this}getY(t){let e=this.array[t*this.itemSize+1];return this.normalized&&(e=_(e,this.array)),e}setY(t,e){return this.normalized&&(e=x(e,this.array)),this.array[t*this.itemSize+1]=e,this}getZ(t){let e=this.array[t*this.itemSize+2];return this.normalized&&(e=_(e,this.array)),e}setZ(t,e){return this.normalized&&(e=x(e,this.array)),this.array[t*this.itemSize+2]=e,this}getW(t){let e=this.array[t*this.itemSize+3];return this.normalized&&(e=_(e,this.array)),e}setW(t,e){return this.normalized&&(e=x(e,this.array)),this.array[t*this.itemSize+3]=e,this}setXY(t,e,n){return t*=this.itemSize,this.normalized&&(e=x(e,this.array),n=x(n,this.array)),this.array[t+0]=e,this.array[t+1]=n,this}setXYZ(t,e,n,r){return t*=this.itemSize,this.normalized&&(e=x(e,this.array),n=x(n,this.array),r=x(r,this.array)),this.array[t+0]=e,this.array[t+1]=n,this.array[t+2]=r,this}setXYZW(t,e,n,r,i){return t*=this.itemSize,this.normalized&&(e=x(e,this.array),n=x(n,this.array),r=x(r,this.array),i=x(i,this.array)),this.array[t+0]=e,this.array[t+1]=n,this.array[t+2]=r,this.array[t+3]=i,this}onUpload(t){return this.onUploadCallback=t,this}clone(){return new this.constructor(this.array,this.itemSize).copy(this)}toJSON(){const t={itemSize:this.itemSize,type:this.array.constructor.name,array:Array.from(this.array),normalized:this.normalized};return""!==this.name&&(t.name=this.name),35044!==this.usage&&(t.usage=this.usage),t}}class ye extends ge{constructor(t,e,n){super(new Uint16Array(t),e,n)}}class ve extends ge{constructor(t,e,n){super(new Uint32Array(t),e,n)}}class _e extends ge{constructor(t,e,n){super(new Float32Array(t),e,n)}}let xe=0;const be=new xt,we=new Yt,Me=new $,Te=new Y,Se=new Y,Ee=new $;class ke extends f{constructor(){super(),this.isBufferGeometry=!0,Object.defineProperty(this,"id",{value:xe++}),this.uuid=g(),this.name="",this.type="BufferGeometry",this.index=null,this.attributes={},this.morphAttributes={},this.morphTargetsRelative=!1,this.groups=[],this.boundingBox=null,this.boundingSphere=null,this.drawRange={start:0,count:1/0},this.userData={}}getIndex(){return this.index}setIndex(t){return Array.isArray(t)?this.index=new(function(t){for(let e=t.length-1;e>=0;--e)if(t[e]>=65535)return!0;return!1}(t)?ve:ye)(t,1):this.index=t,this}getAttribute(t){return this.attributes[t]}setAttribute(t,e){return this.attributes[t]=e,this}deleteAttribute(t){return delete this.attributes[t],this}hasAttribute(t){return void 0!==this.attributes[t]}addGroup(t,e,n=0){this.groups.push({start:t,count:e,materialIndex:n})}clearGroups(){this.groups=[]}setDrawRange(t,e){this.drawRange.start=t,this.drawRange.count=e}applyMatrix4(t){const e=this.attributes.position;void 0!==e&&(e.applyMatrix4(t),e.needsUpdate=!0);const n=this.attributes.normal;if(void 0!==n){const e=(new w).getNormalMatrix(t);n.applyNormalMatrix(e),n.needsUpdate=!0}const r=this.attributes.tangent;return void 0!==r&&(r.transformDirection(t),r.needsUpdate=!0),null!==this.boundingBox&&this.computeBoundingBox(),null!==this.boundingSphere&&this.computeBoundingSphere(),this}applyQuaternion(t){return be.makeRotationFromQuaternion(t),this.applyMatrix4(be),this}rotateX(t){return be.makeRotationX(t),this.applyMatrix4(be),this}rotateY(t){return be.makeRotationY(t),this.applyMatrix4(be),this}rotateZ(t){return be.makeRotationZ(t),this.applyMatrix4(be),this}translate(t,e,n){return be.makeTranslation(t,e,n),this.applyMatrix4(be),this}scale(t,e,n){return be.makeScale(t,e,n),this.applyMatrix4(be),this}lookAt(t){return we.lookAt(t),we.updateMatrix(),this.applyMatrix4(we.matrix),this}center(){return this.computeBoundingBox(),this.boundingBox.getCenter(Me).negate(),this.translate(Me.x,Me.y,Me.z),this}setFromPoints(t){const e=[];for(let n=0,r=t.length;n<r;n++){const r=t[n];e.push(r.x,r.y,r.z||0)}return this.setAttribute("position",new _e(e,3)),this}
vendor: 7,911 bytes, line 7
7computeBoundingBox(){null===this.boundingBox&&(this.boundingBox=new Y);const t=this.attributes.position,e=this.morphAttributes.position;if(t&&t.isGLBufferAttribute)return console.error("THREE.BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box.",this),void this.boundingBox.set(new $(-1/0,-1/0,-1/0),new $(1/0,1/0,1/0));if(void 0!==t){if(this.boundingBox.setFromBufferAttribute(t),e)for(let n=0,r=e.length;n<r;n++){const t=e[n];Te.setFromBufferAttribute(t),this.morphTargetsRelative?(Ee.addVectors(this.boundingBox.min,Te.min),this.boundingBox.expandByPoint(Ee),Ee.addVectors(this.boundingBox.max,Te.max),this.boundingBox.expandByPoint(Ee)):(this.boundingBox.expandByPoint(Te.min),this.boundingBox.expandByPoint(Te.max))}}else this.boundingBox.makeEmpty();(isNaN(this.boundingBox.min.x)||isNaN(this.boundingBox.min.y)||isNaN(this.boundingBox.min.z))&&console.error('THREE.BufferGeometry.computeBoundingBox(): Computed min/max have NaN values. The "position" attribute is likely to have NaN values.',this)}computeBoundingSphere(){null===this.boundingSphere&&(this.boundingSphere=new ht);const t=this.attributes.position,e=this.morphAttributes.position;if(t&&t.isGLBufferAttribute)return console.error("THREE.BufferGeometry.computeBoundingSphere(): GLBufferAttribute requires a manual bounding sphere.",this),void this.boundingSphere.set(new $,1/0);if(t){const n=this.boundingSphere.center;if(Te.setFromBufferAttribute(t),e)for(let t=0,i=e.length;t<i;t++){const n=e[t];Se.setFromBufferAttribute(n),this.morphTargetsRelative?(Ee.addVectors(Te.min,Se.min),Te.expandByPoint(Ee),Ee.addVectors(Te.max,Se.max),Te.expandByPoint(Ee)):(Te.expandByPoint(Se.min),Te.expandByPoint(Se.max))}Te.getCenter(n);let r=0;for(let e=0,i=t.count;e<i;e++)Ee.fromBufferAttribute(t,e),r=Math.max(r,n.distanceToSquared(Ee));if(e)for(let i=0,s=e.length;i<s;i++){const s=e[i],o=this.morphTargetsRelative;for(let e=0,i=s.count;e<i;e++)Ee.fromBufferAttribute(s,e),o&&(Me.fromBufferAttribute(t,e),Ee.add(Me)),r=Math.max(r,n.distanceToSquared(Ee))}this.boundingSphere.radius=Math.sqrt(r),isNaN(this.boundingSphere.radius)&&console.error('THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.',this)}}computeTangents(){const t=this.index,e=this.attributes;if(null===t||void 0===e.position||void 0===e.normal||void 0===e.uv)return void console.error("THREE.BufferGeometry: .computeTangents() failed. Missing required attributes (index, position, normal or uv)");const n=e.position,r=e.normal,i=e.uv;!1===this.hasAttribute("tangent")&&this.setAttribute("tangent",new ge(new Float32Array(4*n.count),4));const s=this.getAttribute("tangent"),o=[],a=[];for(let b=0;b<n.count;b++)o[b]=new $,a[b]=new $;const l=new $,u=new $,c=new $,h=new b,p=new b,d=new b,f=new $,m=new $;function g(t,e,r){l.fromBufferAttribute(n,t),u.fromBufferAttribute(n,e),c.fromBufferAttribute(n,r),h.fromBufferAttribute(i,t),p.fromBufferAttribute(i,e),d.fromBufferAttribute(i,r),u.sub(l),c.sub(l),p.sub(h),d.sub(h);const s=1/(p.x*d.y-d.x*p.y);isFinite(s)&&(f.copy(u).multiplyScalar(d.y).addScaledVector(c,-p.y).multiplyScalar(s),m.copy(c).multiplyScalar(p.x).addScaledVector(u,-d.x).multiplyScalar(s),o[t].add(f),o[e].add(f),o[r].add(f),a[t].add(m),a[e].add(m),a[r].add(m))}let y=this.groups;0===y.length&&(y=[{start:0,count:t.count}]);for(let b=0,T=y.length;b<T;++b){const e=y[b],n=e.start;for(let r=n,i=n+e.count;r<i;r+=3)g(t.getX(r+0),t.getX(r+1),t.getX(r+2))}const v=new $,_=new $,x=new $,w=new $;function M(t){x.fromBufferAttribute(r,t),w.copy(x);const e=o[t];v.copy(e),v.sub(x.multiplyScalar(x.dot(e))).normalize(),_.crossVectors(w,e);const n=_.dot(a[t])<0?-1:1;s.setXYZW(t,v.x,v.y,v.z,n)}for(let b=0,T=y.length;b<T;++b){const e=y[b],n=e.start;for(let r=n,i=n+e.count;r<i;r+=3)M(t.getX(r+0)),M(t.getX(r+1)),M(t.getX(r+2))}}computeVertexNormals(){const t=this.index,e=this.getAttribute("position");if(void 0!==e){let n=this.getAttribute("normal");if(void 0===n)n=new ge(new Float32Array(3*e.count),3),this.setAttribute("normal",n);else for(let t=0,e=n.count;t<e;t++)n.setXYZ(t,0,0,0);const r=new $,i=new $,s=new $,o=new $,a=new $,l=new $,u=new $,c=new $;if(t)for(let h=0,p=t.count;h<p;h+=3){const p=t.getX(h+0),d=t.getX(h+1),f=t.getX(h+2);r.fromBufferAttribute(e,p),i.fromBufferAttribute(e,d),s.fromBufferAttribute(e,f),u.subVectors(s,i),c.subVectors(r,i),u.cross(c),o.fromBufferAttribute(n,p),a.fromBufferAttribute(n,d),l.fromBufferAttribute(n,f),o.add(u),a.add(u),l.add(u),n.setXYZ(p,o.x,o.y,o.z),n.setXYZ(d,a.x,a.y,a.z),n.setXYZ(f,l.x,l.y,l.z)}else for(let t=0,h=e.count;t<h;t+=3)r.fromBufferAttribute(e,t+0),i.fromBufferAttribute(e,t+1),s.fromBufferAttribute(e,t+2),u.subVectors(s,i),c.subVectors(r,i),u.cross(c),n.setXYZ(t+0,u.x,u.y,u.z),n.setXYZ(t+1,u.x,u.y,u.z),n.setXYZ(t+2,u.x,u.y,u.z);this.normalizeNormals(),n.needsUpdate=!0}}normalizeNormals(){const t=this.attributes.normal;for(let e=0,n=t.count;e<n;e++)Ee.fromBufferAttribute(t,e),Ee.normalize(),t.setXYZ(e,Ee.x,Ee.y,Ee.z)}toNonIndexed(){function t(t,e){const n=t.array,r=t.itemSize,i=t.normalized,s=new n.constructor(e.length*r);let o=0,a=0;for(let l=0,u=e.length;l<u;l++){o=t.isInterleavedBufferAttribute?e[l]*t.data.stride+t.offset:e[l]*r;for(let t=0;t<r;t++)s[a++]=n[o++]}return new ge(s,r,i)}if(null===this.index)return console.warn("THREE.BufferGeometry.toNonIndexed(): BufferGeometry is already non-indexed."),this;const e=new ke,n=this.index.array,r=this.attributes;for(const o in r){const i=t(r[o],n);e.setAttribute(o,i)}const i=this.morphAttributes;for(const o in i){const r=[],s=i[o];for(let e=0,i=s.length;e<i;e++){const i=t(s[e],n);r.push(i)}e.morphAttributes[o]=r}e.morphTargetsRelative=this.morphTargetsRelative;const s=this.groups;for(let o=0,a=s.length;o<a;o++){const t=s[o];e.addGroup(t.start,t.count,t.materialIndex)}return e}toJSON(){const t={metadata:{version:4.6,type:"BufferGeometry",generator:"BufferGeometry.toJSON"}};if(t.uuid=this.uuid,t.type=this.type,""!==this.name&&(t.name=this.name),Object.keys(this.userData).length>0&&(t.userData=this.userData),void 0!==this.parameters){const e=this.parameters;for(const n in e)void 0!==e[n]&&(t[n]=e[n]);return t}t.data={attributes:{}};const e=this.index;null!==e&&(t.data.index={type:e.array.constructor.name,array:Array.prototype.slice.call(e.array)});const n=this.attributes;for(const a in n){const e=n[a];t.data.attributes[a]=e.toJSON(t.data)}const r={};let i=!1;for(const a in this.morphAttributes){const e=this.morphAttributes[a],n=[];for(let r=0,i=e.length;r<i;r++){const i=e[r];n.push(i.toJSON(t.data))}n.length>0&&(r[a]=n,i=!0)}i&&(t.data.morphAttributes=r,t.data.morphTargetsRelative=this.morphTargetsRelative);const s=this.groups;s.length>0&&(t.data.groups=JSON.parse(JSON.stringify(s)));const o=this.boundingSphere;return null!==o&&(t.data.boundingSphere={center:o.center.toArray(),radius:o.radius}),t}clone(){return(new this.constructor).copy(this)}copy(t){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;const e={};this.name=t.name;const n=t.index;null!==n&&this.setIndex(n.clone(e));const r=t.attributes;for(const l in r){const t=r[l];this.setAttribute(l,t.clone(e))}const i=t.morphAttributes;for(const l in i){const t=[],n=i[l];for(let r=0,i=n.length;r<i;r++)t.push(n[r].clone(e));this.morphAttributes[l]=t}this.morphTargetsRelative=t.morphTargetsRelative;const s=t.groups;for(let l=0,u=s.length;l<u;l++){const t=s[l];this.addGroup(t.start,t.count,t.materialIndex)}const o=t.boundingBox;null!==o&&(this.boundingBox=o.clone());const a=t.boundingSphere;return null!==a&&(this.boundingSphere=a.clone()),this.drawRange.start=t.drawRange.start,this.drawRange.count=t.drawRange.count,this.userData=t.userData,this}dispose(){this.dispatchEvent({type:"dispose"})}}const Ae=new xt,Ce=new _t,Oe=new ht,Le=new $,ze=new $,Pe=new $,Re=new $,Ne=new $,Ie=new $,De
vendor: 3,917 bytes, line 7
7=new b,Fe=new b,Be=new b,Ue=new $,je=new $,Ve=new $,We=new $,$e=new $;class qe extends Yt{constructor(t=new ke,e=new de){super(),this.isMesh=!0,this.type="Mesh",this.geometry=t,this.material=e,this.updateMorphTargets()}copy(t,e){return super.copy(t,e),void 0!==t.morphTargetInfluences&&(this.morphTargetInfluences=t.morphTargetInfluences.slice()),void 0!==t.morphTargetDictionary&&(this.morphTargetDictionary=Object.assign({},t.morphTargetDictionary)),this.material=Array.isArray(t.material)?t.material.slice():t.material,this.geometry=t.geometry,this}updateMorphTargets(){const t=this.geometry.morphAttributes,e=Object.keys(t);if(e.length>0){const n=t[e[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let t=0,e=n.length;t<e;t++){const e=n[t].name||String(t);this.morphTargetInfluences.push(0),this.morphTargetDictionary[e]=t}}}}getVertexPosition(t,e){const n=this.geometry,r=n.attributes.position,i=n.morphAttributes.position,s=n.morphTargetsRelative;e.fromBufferAttribute(r,t);const o=this.morphTargetInfluences;if(i&&o){Ie.set(0,0,0);for(let n=0,r=i.length;n<r;n++){const r=o[n],a=i[n];0!==r&&(Ne.fromBufferAttribute(a,t),s?Ie.addScaledVector(Ne,r):Ie.addScaledVector(Ne.sub(e),r))}e.add(Ie)}return e}raycast(t,e){const n=this.geometry,r=this.material,i=this.matrixWorld;if(void 0!==r){if(null===n.boundingSphere&&n.computeBoundingSphere(),Oe.copy(n.boundingSphere),Oe.applyMatrix4(i),Ce.copy(t.ray).recast(t.near),!1===Oe.containsPoint(Ce.origin)){if(null===Ce.intersectSphere(Oe,Le))return;if(Ce.origin.distanceToSquared(Le)>(t.far-t.near)**2)return}Ae.copy(i).invert(),Ce.copy(t.ray).applyMatrix4(Ae),null!==n.boundingBox&&!1===Ce.intersectsBox(n.boundingBox)||this._computeIntersections(t,e,Ce)}}_computeIntersections(t,e,n){let r;const i=this.geometry,s=this.material,o=i.index,a=i.attributes.position,l=i.attributes.uv,u=i.attributes.uv1,c=i.attributes.normal,h=i.groups,p=i.drawRange;if(null!==o)if(Array.isArray(s))for(let d=0,f=h.length;d<f;d++){const i=h[d],a=s[i.materialIndex];for(let s=Math.max(i.start,p.start),h=Math.min(o.count,Math.min(i.start+i.count,p.start+p.count));s<h;s+=3){r=He(this,a,t,n,l,u,c,o.getX(s),o.getX(s+1),o.getX(s+2)),r&&(r.faceIndex=Math.floor(s/3),r.face.materialIndex=i.materialIndex,e.push(r))}}else{for(let i=Math.max(0,p.start),a=Math.min(o.count,p.start+p.count);i<a;i+=3){r=He(this,s,t,n,l,u,c,o.getX(i),o.getX(i+1),o.getX(i+2)),r&&(r.faceIndex=Math.floor(i/3),e.push(r))}}else if(void 0!==a)if(Array.isArray(s))for(let d=0,f=h.length;d<f;d++){const i=h[d],o=s[i.materialIndex];for(let s=Math.max(i.start,p.start),h=Math.min(a.count,Math.min(i.start+i.count,p.start+p.count));s<h;s+=3){r=He(this,o,t,n,l,u,c,s,s+1,s+2),r&&(r.faceIndex=Math.floor(s/3),r.face.materialIndex=i.materialIndex,e.push(r))}}else{for(let i=Math.max(0,p.start),o=Math.min(a.count,p.start+p.count);i<o;i+=3){r=He(this,s,t,n,l,u,c,i,i+1,i+2),r&&(r.faceIndex=Math.floor(i/3),e.push(r))}}}}function He(t,r,i,s,o,a,l,u,c,h){t.getVertexPosition(u,ze),t.getVertexPosition(c,Pe),t.getVertexPosition(h,Re);const p=function(t,r,i,s,o,a,l,u){let c;if(c=r.side===n?s.intersectTriangle(l,a,o,!0,u):s.intersectTriangle(o,a,l,r.side===e,u),null===c)return null;$e.copy(u),$e.applyMatrix4(t.matrixWorld);const h=i.ray.origin.distanceTo($e);return h<i.near||h>i.far?null:{distance:h,point:$e.clone(),object:t}}(t,r,i,s,ze,Pe,Re,We);if(p){o&&(De.fromBufferAttribute(o,u),Fe.fromBufferAttribute(o,c),Be.fromBufferAttribute(o,h),p.uv=ie.getInterpolation(We,ze,Pe,Re,De,Fe,Be,new b)),a&&(De.fromBufferAttribute(a,u),Fe.fromBufferAttribute(a,c),Be.fromBufferAttribute(a,h),p.uv1=ie.getInterpolation(We,ze,Pe,Re,De,Fe,Be,new b)),l&&(Ue.fromBufferAttribute(l,u),je.fromBufferAttribute(l,c),Ve.fromBufferAttribute(l,h),p.normal=ie.getInterpolation(We,ze,Pe,Re,Ue,je,Ve,new $),p.normal.dot(s.direction)>0&&p.normal.multiplyScalar(-1));const t={a:u,b:c,c:h,normal:new $,materialIndex:0};
vendor: 15,946 bytes, line 7
7ie.getNormal(ze,Pe,Re,t.normal),p.face=t}return p}function Ye(t){const e={};for(const n in t){e[n]={};for(const r in t[n]){const i=t[n][r];i&&(i.isColor||i.isMatrix3||i.isMatrix4||i.isVector2||i.isVector3||i.isVector4||i.isTexture||i.isQuaternion)?i.isRenderTargetTexture?(console.warn("UniformsUtils: Textures of render targets cannot be cloned via cloneUniforms() or mergeUniforms()."),e[n][r]=null):e[n][r]=i.clone():Array.isArray(i)?e[n][r]=i.slice():e[n][r]=i}}return e}const Xe={clone:Ye,merge:function(t){const e={};for(let n=0;n<t.length;n++){const r=Ye(t[n]);for(const t in r)e[t]=r[t]}return e}};class Ge extends pe{constructor(t){super(),this.isShaderMaterial=!0,this.type="ShaderMaterial",this.defines={},this.uniforms={},this.uniformsGroups=[],this.vertexShader="void main() {\n\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",this.fragmentShader="void main() {\n\tgl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 );\n}",this.linewidth=1,this.wireframe=!1,this.wireframeLinewidth=1,this.fog=!1,this.lights=!1,this.clipping=!1,this.forceSinglePass=!0,this.extensions={clipCullDistance:!1,multiDraw:!1},this.defaultAttributeValues={color:[1,1,1],uv:[0,0],uv1:[0,0]},this.index0AttributeName=void 0,this.uniformsNeedUpdate=!1,this.glslVersion=null,void 0!==t&&this.setValues(t)}copy(t){return super.copy(t),this.fragmentShader=t.fragmentShader,this.vertexShader=t.vertexShader,this.uniforms=Ye(t.uniforms),this.uniformsGroups=function(t){const e=[];for(let n=0;n<t.length;n++)e.push(t[n].clone());return e}(t.uniformsGroups),this.defines=Object.assign({},t.defines),this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.fog=t.fog,this.lights=t.lights,this.clipping=t.clipping,this.extensions=Object.assign({},t.extensions),this.glslVersion=t.glslVersion,this}toJSON(t){const e=super.toJSON(t);e.glslVersion=this.glslVersion,e.uniforms={};for(const r in this.uniforms){const n=this.uniforms[r].value;n&&n.isTexture?e.uniforms[r]={type:"t",value:n.toJSON(t).uuid}:n&&n.isColor?e.uniforms[r]={type:"c",value:n.getHex()}:n&&n.isVector2?e.uniforms[r]={type:"v2",value:n.toArray()}:n&&n.isVector3?e.uniforms[r]={type:"v3",value:n.toArray()}:n&&n.isVector4?e.uniforms[r]={type:"v4",value:n.toArray()}:n&&n.isMatrix3?e.uniforms[r]={type:"m3",value:n.toArray()}:n&&n.isMatrix4?e.uniforms[r]={type:"m4",value:n.toArray()}:e.uniforms[r]={value:n}}Object.keys(this.defines).length>0&&(e.defines=this.defines),e.vertexShader=this.vertexShader,e.fragmentShader=this.fragmentShader,e.lights=this.lights,e.clipping=this.clipping;const n={};for(const r in this.extensions)!0===this.extensions[r]&&(n[r]=!0);return Object.keys(n).length>0&&(e.extensions=n),e}}class Ze extends Yt{constructor(){super(),this.isCamera=!0,this.type="Camera",this.matrixWorldInverse=new xt,this.projectionMatrix=new xt,this.projectionMatrixInverse=new xt,this.coordinateSystem=d}copy(t,e){return super.copy(t,e),this.matrixWorldInverse.copy(t.matrixWorldInverse),this.projectionMatrix.copy(t.projectionMatrix),this.projectionMatrixInverse.copy(t.projectionMatrixInverse),this.coordinateSystem=t.coordinateSystem,this}getWorldDirection(t){return super.getWorldDirection(t).negate()}updateMatrixWorld(t){super.updateMatrixWorld(t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(t,e){super.updateWorldMatrix(t,e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return(new this.constructor).copy(this)}}"undefined"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:"167"}})),"undefined"!=typeof window&&(window.__THREE__?console.warn("WARNING: Multiple instances of Three.js being imported."):window.__THREE__="167");class Je{constructor(){this.isPass=!0,this.enabled=!0,this.needsSwap=!0,this.clear=!1,this.renderToScreen=!1}setSize(){}render(){console.error("THREE.Pass: .render() must be implemented in derived pass.")}dispose(){}}const Qe=new class extends Ze{constructor(t=-1,e=1,n=1,r=-1,i=.1,s=2e3){super(),this.isOrthographicCamera=!0,this.type="OrthographicCamera",this.zoom=1,this.view=null,this.left=t,this.right=e,this.top=n,this.bottom=r,this.near=i,this.far=s,this.updateProjectionMatrix()}copy(t,e){return super.copy(t,e),this.left=t.left,this.right=t.right,this.top=t.top,this.bottom=t.bottom,this.near=t.near,this.far=t.far,this.zoom=t.zoom,this.view=null===t.view?null:Object.assign({},t.view),this}setViewOffset(t,e,n,r,i,s){null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=t,this.view.fullHeight=e,this.view.offsetX=n,this.view.offsetY=r,this.view.width=i,this.view.height=s,this.updateProjectionMatrix()}clearViewOffset(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const t=(this.right-this.left)/(2*this.zoom),e=(this.top-this.bottom)/(2*this.zoom),n=(this.right+this.left)/2,r=(this.top+this.bottom)/2;let i=n-t,s=n+t,o=r+e,a=r-e;if(null!==this.view&&this.view.enabled){const t=(this.right-this.left)/this.view.fullWidth/this.zoom,e=(this.top-this.bottom)/this.view.fullHeight/this.zoom;i+=t*this.view.offsetX,s=i+t*this.view.width,o-=e*this.view.offsetY,a=o-e*this.view.height}this.projectionMatrix.makeOrthographic(i,s,o,a,this.near,this.far,this.coordinateSystem),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(t){const e=super.toJSON(t);return e.object.zoom=this.zoom,e.object.left=this.left,e.object.right=this.right,e.object.top=this.top,e.object.bottom=this.bottom,e.object.near=this.near,e.object.far=this.far,null!==this.view&&(e.object.view=Object.assign({},this.view)),e}}(-1,1,1,-1,0,1);const Ke=new class extends ke{constructor(){super(),this.setAttribute("position",new _e([-1,3,0,-1,-1,0,3,-1,0],3)),this.setAttribute("uv",new _e([0,2,0,0,2,0],2))}};class tn{constructor(t){this._mesh=new qe(Ke,t)}dispose(){this._mesh.geometry.dispose()}render(t){t.render(this._mesh,Qe)}get material(){return this._mesh.material}set material(t){this._mesh.material=t}}const en={name:"CopyShader",uniforms:{tDiffuse:{value:null},opacity:{value:1}},vertexShader:"\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvUv = uv;\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}",fragmentShader:"\n\n\t\tuniform float opacity;\n\n\t\tuniform sampler2D tDiffuse;\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvec4 texel = texture2D( tDiffuse, vUv );\n\t\t\tgl_FragColor = opacity * texel;\n\n\n\t\t}"},nn={name:"LuminosityHighPassShader",shaderID:"luminosityHighPass",uniforms:{tDiffuse:{value:null},luminosityThreshold:{value:1},smoothWidth:{value:1},defaultColor:{value:new ue(0)},defaultOpacity:{value:0}},vertexShader:"\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvUv = uv;\n\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}",fragmentShader:"\n\n\t\tuniform sampler2D tDiffuse;\n\t\tuniform vec3 defaultColor;\n\t\tuniform float defaultOpacity;\n\t\tuniform float luminosityThreshold;\n\t\tuniform float smoothWidth;\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvec4 texel = texture2D( tDiffuse, vUv );\n\n\t\t\tfloat v = luminance( texel.xyz );\n\n\t\t\tvec4 outputColor = vec4( defaultColor.rgb, defaultOpacity );\n\n\t\t\tfloat alpha = smoothstep( luminosityThreshold, luminosityThreshold + smoothWidth, v );\n\n\t\t\tgl_FragColor = mix( outputColor, texel, alpha );\n\n\t\t}"};class rn extends Je{constructor(t,e,n,r){super(),this.strength=void 0!==e?e:1,this.radius=n,this.threshold=r,this.resolution=void 0!==t?new b(t.x,t.y):new b(256,256),this.clearColor=new ue(0,0,0);const s={minFilter:i,magFilter:i,format:1023};this.renderTargetsHorizontal=[],this.renderTargetsVertical=[],this.nMips=5;let o=Math.round(this.resolution.x/2),a=Math.round(this.resolution.y/2);this.renderTargetBright=new V(o,a,s),this.renderTargetBright.texture.name="UnrealBloomPass.bright",this.renderTargetBright.texture.generateMipmaps=!1;for(let i=0;i<this.nMips;i++){const t=new V(o,a,s);t.texture.name="UnrealBloomPass.h"+i,t.texture.generateMipmaps=!1,this.renderTargetsHorizontal.push(t);const e=new V(o,a,s);e.texture.name="UnrealBloomPass.v"+i,e.texture.generateMipmaps=!1,this.renderTargetsVertical.push(e),o=Math.round(o/2),a=Math.round(a/2)}void 0===nn&&console.error("THREE.UnrealBloomPass relies on LuminosityHighPassShader");const l=nn;this.highPassUniforms=Xe.clone(l.uniforms),this.highPassUniforms.luminosityThreshold.value=r,this.highPassUniforms.smoothWidth.value=.01,this.materialHighPassFilter=new Ge({uniforms:this.highPassUniforms,vertexShader:l.vertexShader,fragmentShader:l.fragmentShader,defines:{}}),this.separableBlurMaterials=[];const u=[3,5,7,9,11];o=Math.round(this.resolution.x/2),a=Math.round(this.resolution.y/2);for(let i=0;i<this.nMips;i++)this.separableBlurMaterials.push(this.getSeperableBlurMaterial(u[i])),this.separableBlurMaterials[i].uniforms.texSize.value=new b(o,a),o=Math.round(o/2),a=Math.round(a/2);this.compositeMaterial=this.getCompositeMaterial(this.nMips),this.compositeMaterial.uniforms.blurTexture1.value=this.renderTargetsVertical[0].texture,this.compositeMaterial.uniforms.blurTexture2.value=this.renderTargetsVertical[1].texture,this.compositeMaterial.uniforms.blurTexture3.value=this.renderTargetsVertical[2].texture,this.compositeMaterial.uniforms.blurTexture4.value=this.renderTargetsVertical[3].texture,this.compositeMaterial.uniforms.blurTexture5.value=this.renderTargetsVertical[4].texture,this.compositeMaterial.uniforms.bloomStrength.value=e,this.compositeMaterial.uniforms.bloomRadius.value=.1,this.compositeMaterial.needsUpdate=!0;this.compositeMaterial.uniforms.bloomFactors.value=[1,.8,.6,.4,.2],this.bloomTintColors=[new $(1,1,1),new $(1,1,1),new $(1,1,1),new $(1,1,1),new $(1,1,1)],this.compositeMaterial.uniforms.bloomTintColors.value=this.bloomTintColors,void 0===en&&console.error("THREE.UnrealBloomPass relies on CopyShader");const c=en;this.copyUniforms=Xe.clone(c.uniforms),this.copyUniforms.opacity.value=1,this.materialCopy=new Ge({uniforms:this.copyUniforms,vertexShader:c.vertexShader,fragmentShader:c.fragmentShader,blending:2,depthTest:!1,depthWrite:!1,transparent:!0}),this.enabled=!0,this.needsSwap=!1,this._oldClearColor=new ue,this.oldClearAlpha=1,this.basic=new de,this.fsQuad=new tn(null)}dispose(){for(let t=0;t<this.renderTargetsHorizontal.length;t++)this.renderTargetsHorizontal[t].dispose();for(let t=0;t<this.renderTargetsVertical.length;t++)this.renderTargetsVertical[t].dispose();this.renderTargetBright.dispose()}setSize(t,e){let n=Math.round(t/2),r=Math.round(e/2);this.renderTargetBright.setSize(n,r);for(let i=0;i<this.nMips;i++)this.renderTargetsHorizontal[i].setSize(n,r),this.renderTargetsVertical[i].setSize(n,r),this.separableBlurMaterials[i].uniforms.texSize.value=new b(n,r),n=Math.round(n/2),r=Math.round(r/2)}render(t,e,n,r,i){t.getClearColor(this._oldClearColor),this.oldClearAlpha=t.getClearAlpha();const s=t.autoClear;t.autoClear=!1,t.setClearColor(this.clearColor,0),i&&t.state.buffers.stencil.setTest(!1),this.renderToScreen&&(this.fsQuad.material=this.basic,this.basic.map=n.texture,t.setRenderTarget(null),t.clear(),this.fsQuad.render(t)),this.highPassUniforms.tDiffuse.value=n.texture,this.highPassUniforms.luminosityThreshold.value=this.threshold,this.fsQuad.material=this.materialHighPassFilter,t.setRenderTarget(this.renderTargetBright),t.clear(),this.fsQuad.render(t);let o=this.renderTargetBright;for(let a=0;a<this.nMips;a++)this.fsQuad.material=this.separableBlurMaterials[a],this.separableBlurMaterials[a].uniforms.colorTexture.value=o.texture,this.separableBlurMaterials[a].uniforms.direction.value=rn.BlurDirectionX,t.setRenderTarget(this.renderTargetsHorizontal[a]),t.clear(),this.fsQuad.render(t),this.separableBlurMaterials[a].uniforms.colorTexture.value=this.renderTargetsHorizontal[a].texture,this.separableBlurMaterials[a].uniforms.direction.value=rn.BlurDirectionY,t.setRenderTarget(this.renderTargetsVertical[a]),t.clear(),this.fsQuad.render(t),o=this.renderTargetsVertical[a];this.fsQuad.material=this.compositeMaterial,this.compositeMaterial.uniforms.bloomStrength.value=this.strength,this.compositeMaterial.uniforms.bloomRadius.value=this.radius,this.compositeMaterial.uniforms.bloomTintColors.value=this.bloomTintColors,t.setRenderTarget(this.renderTargetsHorizontal[0]),t.clear(),this.fsQuad.render(t),this.fsQuad.material=this.materialCopy,this.copyUniforms.tDiffuse.value=this.renderTargetsHorizontal[0].texture,i&&t.state.buffers.stencil.setTest(!0),this.renderToScreen?(t.setRenderTarget(null),this.fsQuad.render(t)):(t.setRenderTarget(n),this.fsQuad.render(t)),t.setClearColor(this._oldClearColor,this.oldClearAlpha),t.autoClear=s}getSeperableBlurMaterial(t){return new Ge({defines:{KERNEL_RADIUS:t,SIGMA:t},uniforms:{colorTexture:{value:null},texSize:{value:new b(.5,.5)},direction:{value:new b(.5,.5)}},vertexShader:"varying vec2 vUv;\n\t\t\t\tvoid main() {\n\t\t\t\t\tvUv = uv;\n\t\t\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\t\t\t\t}",fragmentShader:"#include <common>\n\t\t\t\tvarying vec2 vUv;\n\t\t\t\tuniform sampler2D colorTexture;\n\t\t\t\tuniform vec2 texSize;\n\t\t\t\tuniform vec2 direction;\n\n\t\t\t\tfloat gaussianPdf(in float x, in float sigma) {\n\t\t\t\t\treturn 0.39894 * exp( -0.5 * x * x/( sigma * sigma))/sigma;\n\t\t\t\t}\n\t\t\t\tvoid main() {\n vec2 invSize = 1.0 / texSize; float fSigma = float(SIGMA); float weightSum = gaussianPdf(0.0, fSigma); float alphaSum = 0.0; vec3 diffuseSum = texture2D( colorTexture, vUv).rgb * weightSum; for( int i = 1; i < KERNEL_RADIUS; i ++ ) { float x = float(i); float w = gaussianPdf(x, fSigma); vec2 uvOffset = direction * invSize * x; vec4 sample1 = texture2D( colorTexture, vUv + uvOffset); vec4 sample2 = texture2D( colorTexture, vUv - uvOffset); diffuseSum += (sample1.rgb + sample2.rgb) * w; alphaSum += (sample1.a + sample2.a) * w; weightSum += 2.0 * w; } gl_FragColor = vec4(diffuseSum/weightSum, alphaSum/weightSum);\n }"})}getCompositeMaterial(t){return new Ge({defines:{NUM_MIPS:t},uniforms:{blurTexture1:{value:null},blurTexture2:{value:null},blurTexture3:{value:null},blurTexture4:{value:null},blurTexture5:{value:null},dirtTexture:{value:null},bloomStrength:{value:1},bloomFactors:{value:null},bloomTintColors:{value:null},bloomRadius:{value:0}},vertexShader:"varying vec2 vUv;\n\t\t\t\tvoid main() {\n\t\t\t\t\tvUv = uv;\n\t\t\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\t\t\t\t}",fragmentShader:"varying vec2 vUv;\n\t\t\t\tuniform sampler2D blurTexture1;\n\t\t\t\tuniform sampler2D blurTexture2;\n\t\t\t\tuniform sampler2D blurTexture3;\n\t\t\t\tuniform sampler2D blurTexture4;\n\t\t\t\tuniform sampler2D blurTexture5;\n\t\t\t\tuniform sampler2D dirtTexture;\n\t\t\t\tuniform float bloomStrength;\n\t\t\t\tuniform float bloomRadius;\n\t\t\t\tuniform float bloomFactors[NUM_MIPS];\n\t\t\t\tuniform vec3 bloomTintColors[NUM_MIPS];\n\n\t\t\t\tfloat lerpBloomFactor(const in float factor) {\n\t\t\t\t\tfloat mirrorFactor = 1.2 - factor;\n\t\t\t\t\treturn mix(factor, mirrorFactor, bloomRadius);\n\t\t\t\t}\n\n\t\t\t\tvoid main() {\n\t\t\t\t\tgl_FragColor = bloomStrength * ( lerpBloomFactor(bloomFactors[0]) * vec4(bloomTintColors[0], 1.0) * texture2D(blurTexture1, vUv) +\n\t\t\t\t\t\tlerpBloomFactor(bloomFactors[1]) * vec4(bloomTintColors[1], 1.0) * texture2D(blurTexture2, vUv) +\n\t\t\t\t\t\tlerpBloomFactor(bloomFactors[2]) * vec4(bloomTintColors[2], 1.0) * texture2D(blurTexture3, vUv) +\n\t\t\t\t\t\tlerpBloomFactor(bloomFactors[3]) * vec4(bloomTintColors[3], 1.0) * texture2D(blurTexture4, vUv) +\n\t\t\t\t\t\tlerpBloomFactor(bloomFactors[4]) * vec4(bloomTintColors[4], 1.0
7) * texture2D(blurTexture5, vUv) );\n\t\t\t\t}"})}}rn.BlurDirectionX=new b(1,0),rn.BlurDirectionY=new b(0,1);const sn=Object.freeze(Object.defineProperty({__proto__:null,UnrealBloomPass:rn},Symbol.toStringTag,{value:"Module"}));let on;const an=window.location.origin;function ln(t){const e=t.target.closest("a");!e||!e.href.startsWith(an)||"_blank"===e.target||t.defaultPrevented||0!==t.button||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||(t.preventDefault(),on.push({path:e.href.slice(an.length)}))}const un=Object.freeze(Object.defineProperty({__proto__:null,install:t=>{t.directive("kirbytext",{mounted(t,e){on=e.instance.$router,t.addEventListener("click",ln)},beforeUnmount(t){t.removeEventListener("click",ln)}})}},Symbol.toStringTag,{value:"Module"})),cn={},hn=function(t,e,n){let r=Promise.resolve();if(e&&e.length>0){document.getElementsByTagName("link");const t=document.querySelector("meta[property=csp-nonce]"),n=(null==t?void 0:t.nonce)||(null==t?void 0:t.getAttribute("nonce"));r=Promise.all(e.map((t=>{if((t=function(t){return"/dist/"+t}(t))in cn)return;cn[t]=!0;const e=t.endsWith(".css"),r=e?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${t}"]${r}`))return;const i=document.createElement("link");return i.rel=e?"stylesheet":"modulepreload",e||(i.as="script",i.crossOrigin=""),i.href=t,n&&i.setAttribute("nonce",n),document.head.appendChild(i),e?new Promise(((e,n)=>{i.addEventListener("load",e),i.addEventListener("error",(()=>n(new Error(`Unable to preload CSS for ${t}`))))})):void 0})))}return r.then((()=>t())).catch((t=>{const e=new Event("vite:preloadError",{cancelable:!0});if(e.payload=t,window.dispatchEvent(e),!e.defaultPrevented)throw t}))}; 8/** 9* @vue/shared v3.4.34 10* (c) 2018-present Yuxi (Evan) You and Vue contributors 11* @license MIT
vendor: 2,883 bytes, lines 12-18
12**/ 13/*! #__NO_SIDE_EFFECTS__ */ 14function pn(t,e){const n=new Set(t.split(","));return t=>n.has(t)}const dn={},fn=[],mn=()=>{},gn=()=>!1,yn=t=>111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),vn=t=>t.startsWith("onUpdate:"),_n=Object.assign,xn=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},bn=Object.prototype.hasOwnProperty,wn=(t,e)=>bn.call(t,e),Mn=Array.isArray,Tn=t=>"[object Map]"===zn(t),Sn=t=>"[object Set]"===zn(t),En=t=>"function"==typeof t,kn=t=>"string"==typeof t,An=t=>"symbol"==typeof t,Cn=t=>null!==t&&"object"==typeof t,On=t=>(Cn(t)||En(t))&&En(t.then)&&En(t.catch),Ln=Object.prototype.toString,zn=t=>Ln.call(t),Pn=t=>zn(t).slice(8,-1),Rn=t=>"[object Object]"===zn(t),Nn=t=>kn(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,In=pn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Dn=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Fn=/-(\w)/g,Bn=Dn((t=>t.replace(Fn,((t,e)=>e?e.toUpperCase():"")))),Un=/\B([A-Z])/g,jn=Dn((t=>t.replace(Un,"-$1").toLowerCase())),Vn=Dn((t=>t.charAt(0).toUpperCase()+t.slice(1))),Wn=Dn((t=>t?`on${Vn(t)}`:"")),$n=(t,e)=>!Object.is(t,e),qn=(t,...e)=>{for(let n=0;n<t.length;n++)t[n](...e)},Hn=(t,e,n,r=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:r,value:n})},Yn=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Xn=t=>{const e=kn(t)?Number(t):NaN;return isNaN(e)?t:e};let Gn;const Zn=()=>Gn||(Gn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function Jn(t){if(Mn(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],i=kn(r)?er(r):Jn(r);if(i)for(const t in i)e[t]=i[t]}return e}if(kn(t)||Cn(t))return t}const Qn=/;(?![^(]*\))/g,Kn=/:([^]+)/,tr=/\/\*[^]*?\*\//g;function er(t){const e={};return t.replace(tr,"").split(Qn).forEach((t=>{if(t){const n=t.split(Kn);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}function nr(t){let e="";if(kn(t))e=t;else if(Mn(t))for(let n=0;n<t.length;n++){const r=nr(t[n]);r&&(e+=r+" ")}else if(Cn(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const rr=pn("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function ir(t){return!!t||""===t}const sr=t=>!(!t||!0!==t.__v_isRef),or=t=>kn(t)?t:null==t?"":Mn(t)||Cn(t)&&(t.toString===Ln||!En(t.toString))?sr(t)?or(t.value):JSON.stringify(t,ar,2):String(t),ar=(t,e)=>sr(e)?ar(t,e.value):Tn(e)?{[`Map(${e.size})`]:[...e.entries()].reduce(((t,[e,n],r)=>(t[lr(e,r)+" =>"]=n,t)),{})}:Sn(e)?{[`Set(${e.size})`]:[...e.values()].map((t=>lr(t)))}:An(e)?lr(e):!Cn(e)||Mn(e)||Rn(e)?e:String(e),lr=(t,e="")=>{var n;return An(t)?`Symbol(${null!=(n=t.description)?n:e})`:t}; 15/** 16* @vue/reactivity v3.4.34 17* (c) 2018-present Yuxi (Evan) You and Vue contributors 18* @license MIT
vendor: 10,776 bytes, lines 19-24
19**/ 20let ur,cr;class hr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ur,!t&&ur&&(this.index=(ur.scopes||(ur.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const e=ur;try{return ur=this,t()}finally{ur=e}}}on(){ur=this}off(){ur=this.parent}stop(t){if(this._active){let e,n;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].stop();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){const t=this.parent.scopes.pop();t&&t!==this&&(this.parent.scopes[this.index]=t,t.index=this.index)}this.parent=void 0,this._active=!1}}}function pr(t){return new hr(t)}function dr(){return ur}class fr{constructor(t,e,n,r){this.fn=t,this.trigger=e,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,function(t,e=ur){e&&e.active&&e.effects.push(t)}(this,r)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,br();for(let t=0;t<this._depsLength;t++){const e=this.deps[t];if(e.computed&&(e.computed.value,this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),wr()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=vr,e=cr;try{return vr=!0,cr=this,this._runnings++,mr(this),this.fn()}finally{gr(this),this._runnings--,cr=e,vr=t}}stop(){this.active&&(mr(this),gr(this),this.onStop&&this.onStop(),this.active=!1)}}function mr(t){t._trackId++,t._depsLength=0}function gr(t){if(t.deps.length>t._depsLength){for(let e=t._depsLength;e<t.deps.length;e++)yr(t.deps[e],t);t.deps.length=t._depsLength}}function yr(t,e){const n=t.get(e);void 0!==n&&e._trackId!==n&&(t.delete(e),0===t.size&&t.cleanup())}let vr=!0,_r=0;const xr=[];function br(){xr.push(vr),vr=!1}function wr(){const t=xr.pop();vr=void 0===t||t}function Mr(){_r++}function Tr(){for(_r--;!_r&&Er.length;)Er.shift()()}function Sr(t,e,n){if(e.get(t)!==t._trackId){e.set(t,t._trackId);const n=t.deps[t._depsLength];n!==e?(n&&yr(n,t),t.deps[t._depsLength++]=e):t._depsLength++}}const Er=[];function kr(t,e,n){Mr();for(const r of t.keys()){let n;r._dirtyLevel<e&&(null!=n?n:n=t.get(r)===r._trackId)&&(r._shouldSchedule||(r._shouldSchedule=0===r._dirtyLevel),r._dirtyLevel=e),r._shouldSchedule&&(null!=n?n:n=t.get(r)===r._trackId)&&(r.trigger(),r._runnings&&!r.allowRecurse||2===r._dirtyLevel||(r._shouldSchedule=!1,r.scheduler&&Er.push(r.scheduler)))}Tr()}const Ar=(t,e)=>{const n=new Map;return n.cleanup=t,n.computed=e,n},Cr=new WeakMap,Or=Symbol(""),Lr=Symbol("");function zr(t,e,n){if(vr&&cr){let e=Cr.get(t);e||Cr.set(t,e=new Map);let r=e.get(n);r||e.set(n,r=Ar((()=>e.delete(n)))),Sr(cr,r)}}function Pr(t,e,n,r,i,s){const o=Cr.get(t);if(!o)return;let a=[];if("clear"===e)a=[...o.values()];else if("length"===n&&Mn(t)){const t=Number(r);o.forEach(((e,n)=>{("length"===n||!An(n)&&n>=t)&&a.push(e)}))}else switch(void 0!==n&&a.push(o.get(n)),e){case"add":Mn(t)?Nn(n)&&a.push(o.get("length")):(a.push(o.get(Or)),Tn(t)&&a.push(o.get(Lr)));break;case"delete":Mn(t)||(a.push(o.get(Or)),Tn(t)&&a.push(o.get(Lr)));break;case"set":Tn(t)&&a.push(o.get(Or))}Mr();for(const l of a)l&&kr(l,4);Tr()}const Rr=pn("__proto__,__v_isRef,__isVue"),Nr=new Set(Object.getOwnPropertyNames(Symbol).filter((t=>"arguments"!==t&&"caller"!==t)).map((t=>Symbol[t])).filter(An)),Ir=Dr();function Dr(){const t={};return["includes","indexOf","lastIndexOf"].forEach((e=>{t[e]=function(...t){const n=Ti(this);for(let e=0,i=this.length;e<i;e++)zr(n,0,e+"");const r=n[e](...t);return-1===r||!1===r?n[e](...t.map(Ti)):r}})),["push","pop","shift","unshift","splice"].forEach((e=>{t[e]=function(...t){br(),Mr();const n=Ti(this)[e].apply(this,t);return Tr(),wr(),n}})),t}function Fr(t){An(t)||(t=String(t));const e=Ti(this);return zr(e,0,t),e.hasOwnProperty(t)}class Br{constructor(t=!1,e=!1){this._isReadonly=t,this._isShallow=e}get(t,e,n){const r=this._isReadonly,i=this._isShallow;if("__v_isReactive"===e)return!r;if("__v_isReadonly"===e)return r;if("__v_isShallow"===e)return i;if("__v_raw"===e)return n===(r?i?mi:fi:i?di:pi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const s=Mn(t);if(!r){if(s&&wn(Ir,e))return Reflect.get(Ir,e,n);if("hasOwnProperty"===e)return Fr}const o=Reflect.get(t,e,n);return(An(e)?Nr.has(e):Rr(e))?o:(r||zr(t,0,e),i?o:Li(o)?s&&Nn(e)?o:o.value:Cn(o)?r?vi(o):gi(o):o)}}class Ur extends Br{constructor(t=!1){super(!1,t)}set(t,e,n,r){let i=t[e];if(!this._isShallow){const e=bi(i);if(wi(n)||bi(n)||(i=Ti(i),n=Ti(n)),!Mn(t)&&Li(i)&&!Li(n))return!e&&(i.value=n,!0)}const s=Mn(t)&&Nn(e)?Number(e)<t.length:wn(t,e),o=Reflect.set(t,e,n,r);return t===Ti(r)&&(s?$n(n,i)&&Pr(t,"set",e,n):Pr(t,"add",e,n)),o}deleteProperty(t,e){const n=wn(t,e);t[e];const r=Reflect.deleteProperty(t,e);return r&&n&&Pr(t,"delete",e,void 0),r}has(t,e){const n=Reflect.has(t,e);return An(e)&&Nr.has(e)||zr(t,0,e),n}ownKeys(t){return zr(t,0,Mn(t)?"length":Or),Reflect.ownKeys(t)}}class jr extends Br{constructor(t=!1){super(!0,t)}set(t,e){return!0}deleteProperty(t,e){return!0}}const Vr=new Ur,Wr=new jr,$r=new Ur(!0),qr=t=>t,Hr=t=>Reflect.getPrototypeOf(t);function Yr(t,e,n=!1,r=!1){const i=Ti(t=t.__v_raw),s=Ti(e);n||($n(e,s)&&zr(i,0,e),zr(i,0,s));const{has:o}=Hr(i),a=r?qr:n?ki:Ei;return o.call(i,e)?a(t.get(e)):o.call(i,s)?a(t.get(s)):void(t!==i&&t.get(e))}function Xr(t,e=!1){const n=this.__v_raw,r=Ti(n),i=Ti(t);return e||($n(t,i)&&zr(r,0,t),zr(r,0,i)),t===i?n.has(t):n.has(t)||n.has(i)}function Gr(t,e=!1){return t=t.__v_raw,!e&&zr(Ti(t),0,Or),Reflect.get(t,"size",t)}function Zr(t,e=!1){e||wi(t)||bi(t)||(t=Ti(t));const n=Ti(this);return Hr(n).has.call(n,t)||(n.add(t),Pr(n,"add",t,t)),this}function Jr(t,e,n=!1){n||wi(e)||bi(e)||(e=Ti(e));const r=Ti(this),{has:i,get:s}=Hr(r);let o=i.call(r,t);o||(t=Ti(t),o=i.call(r,t));const a=s.call(r,t);return r.set(t,e),o?$n(e,a)&&Pr(r,"set",t,e):Pr(r,"add",t,e),this}function Qr(t){const e=Ti(this),{has:n,get:r}=Hr(e);let i=n.call(e,t);i||(t=Ti(t),i=n.call(e,t)),r&&r.call(e,t);const s=e.delete(t);return i&&Pr(e,"delete",t,void 0),s}function Kr(){const t=Ti(this),e=0!==t.size,n=t.clear();return e&&Pr(t,"clear",void 0,void 0),n}function ti(t,e){return function(n,r){const i=this,s=i.__v_raw,o=Ti(s),a=e?qr:t?ki:Ei;return!t&&zr(o,0,Or),s.forEach(((t,e)=>n.call(r,a(t),a(e),i)))}}function ei(t,e,n){return function(...r){const i=this.__v_raw,s=Ti(i),o=Tn(s),a="entries"===t||t===Symbol.iterator&&o,l="keys"===t&&o,u=i[t](...r),c=n?qr:e?ki:Ei;return!e&&zr(s,0,l?Lr:Or),{next(){const{value:t,done:e}=u.next();return e?{value:t,done:e}:{value:a?[c(t[0]),c(t[1])]:c(t),done:e}},[Symbol.iterator](){return this}}}}function ni(t){return function(...e){return"delete"!==t&&("clear"===t?void 0:this)}}function ri(){const t={get(t){return Yr(this,t)},get size(){return Gr(this)},has:Xr,add:Zr,set:Jr,delete:Qr,clear:Kr,forEach:ti(!1,!1)},e={get(t){return Yr(this,t,!1,!0)},get size(){return Gr(this)},has:Xr,add(t){return Zr.call(this,t,!0)},set(t,e){return Jr.call(this,t,e,!0)},delete:Qr,clear:Kr,forEach:ti(!1,!0)},n={get(t){return Yr(this,t,!0)},get size(){return Gr(this,!0)},has(t){return Xr.call(this,t,!0)},add:ni("add"),set:ni("set"),delete:ni("delete"),clear:ni("clear"),forEach:ti(!0,!1)},r={get(t){return Yr(this,t,!0,!0)},get size(){return Gr(this,!0)},has(t){return Xr.call(this,t,!0)},add:ni("add"),set:ni("set"),delete:ni("delete"),clear:ni("clear"),forEach:ti(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((i=>{t[i]=ei(i,!1,!1),n[i]=ei(i,!0,!1),e[i]=ei(i,!1,!0),r[i]=ei(i,!0,!0)})),[t,n,e,r]}const[ii,si,oi,ai]=ri();function li(t,e){const n=e?t?ai:oi:t?si:ii;return(e,r,i)=>"__v_isReactive"===r?!t:"__v_isReadonly"===r?t:"__v_raw"===r?e:Reflect.get(wn(n,r)&&r in e?n:e,r,i)}const ui={get:li(!1,!1)},ci={get:li(!1,!0)},hi={get:li(!0,!1)},pi=new WeakMap,di=new WeakMap,fi=new WeakMap,mi=new WeakMap;function gi(t){return bi(t)?t:_i(t,!1,Vr,ui,pi)}function yi(t){return _i(t,!1,$r,ci,di)}function vi(t){return _i(t,!0,Wr,hi,fi)}function _i(t,e,n,r,i){if(!Cn(t))return t;if(t.__v_raw&&(!e||!t.__v_isReactive))return t;const s=i.get(t);if(s)return s;const o=(a=t).__v_skip||!Object.isExtensible(a)?0:function(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(Pn(a));var a;if(0===o)return t;const l=new Proxy(t,2===o?r:n);return i.set(t,l),l}function xi(t){return bi(t)?xi(t.__v_raw):!(!t||!t.__v_isReactive)}function bi(t){return!(!t||!t.__v_isReadonly)}function wi(t){return!(!t||!t.__v_isShallow)}function Mi(t){return!!t&&!!t.__v_raw}function Ti(t){const e=t&&t.__v_raw;return e?Ti(e):t}function Si(t){return Object.isExtensible(t)&&Hn(t,"__v_skip",!0),t}const Ei=t=>Cn(t)?gi(t):t,ki=t=>Cn(t)?vi(t):t;class Ai{constructor(t,e,n,r){this.getter=t,this._setter=e,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new fr((()=>t(this._value)),(()=>Oi(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){const t=Ti(this);return t._cacheable&&!t.effect.dirty||!$n(t._value,t._value=t.effect.run())||Oi(t,4),Ci(t),t.effect._dirtyLevel>=2&&Oi(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Ci(t){var e;vr&&cr&&(t=Ti(t),Sr(cr,null!=(e=t.dep)?e:t.dep=Ar((()=>t.dep=void 0),t instanceof Ai?t:void 0)))}function Oi(t,e=4,n,r){const i=(t=Ti(t)).dep;i&&kr(i,e)}function Li(t){return!(!t||!0!==t.__v_isRef)}function zi(t){return Ri(t,!1)}function Pi(t){return Ri(t,!0)}function Ri(t,e){return Li(t)?t:new Ni(t,e)}class Ni{constructor(t,e){this.__v_isShallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?t:Ti(t),this._value=e?t:Ei(t)}get value(){return Ci(this),this._value}set value(t){const e=this.__v_isShallow||wi(t)||bi(t);t=e?t:Ti(t),$n(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=e?t:Ei(t),Oi(this,4))}}function Ii(t){return Li(t)?t.value:t}const Di={get:(t,e,n)=>Ii(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const i=t[e];return Li(i)&&!Li(n)?(i.value=n,!0):Reflect.set(t,e,n,r)}};function Fi(t){return xi(t)?t:new Proxy(t,Di)}class Bi{constructor(t,e,n){this._object=t,this._key=e,this._defaultValue=n,this.__v_isRef=!0}get value(){const t=this._object[this._key];return void 0===t?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return function(t,e){const n=Cr.get(t);return n&&n.get(e)}(Ti(this._object),this._key)}}function Ui(t,e,n){const r=t[e];return Li(r)?r:new Bi(t,e,n)} 21/** 22* @vue/runtime-core v3.4.34 23* (c) 2018-present Yuxi (Evan) You and Vue contributors 24* @license MIT
25**/function ji(t,e,n,r){try{return r?t(...r):t()}catch(i){Wi(i,e,n)}}function Vi(t,e,n,r){if(En(t)){const i=ji(t,e,n,r);return i&&On(i)&&i.catch((t=>{Wi(t,e,n)})),i}if(Mn(t)){const i=[];for(let s=0;s<t.length;s++)i.push(Vi(t[s],e,n,r));return i}}function Wi(t,e,n,r=!0){e&&e.vnode;if(e){let r=e.parent;const i=e.proxy,s=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){const e=r.ec;if(e)for(let n=0;n<e.length;n++)if(!1===e[n](t,i,s))return;r=r.parent}const o=e.appContext.config.errorHandler;if(o)return br(),ji(o,null,10,[t,i,s]),void wr()}!function(t){console.error(t)}(t,0,0,r)}let $i=!1,qi=!1;const Hi=[];let Yi=0;const Xi=[];let Gi=null,Zi=0;const Ji=Promise.resolve();let Qi=null;function Ki(t){const e=Qi||Ji;return t?e.then(this?t.bind(this):t):e}function ts(t){Hi.length&&Hi.includes(t,$i&&t.allowRecurse?Yi+1:Yi)||(null==t.id?Hi.push(t):Hi.splice(function(t){let e=Yi+1,n=Hi.length;for(;e<n;){const r=e+n>>>1,i=Hi[r],s=is(i);s<t||s===t&&i.pre?e=r+1:n=r}return e}(t.id),0,t),es())}function es(){$i||qi||(qi=!0,Qi=Ji.then(os))}function ns(t,e,n=($i?Yi+1:0)){for(;n<Hi.length;n++){const e=Hi[n];if(e&&e.pre){if(t&&e.id!==t.uid)continue;Hi.splice(n,1),n--,e()}}}function rs(t){if(Xi.length){const t=[...new Set(Xi)].sort(((t,e)=>is(t)-is(e)));if(Xi.length=0,Gi)return void Gi.push(...t);for(Gi=t,Zi=0;Zi<Gi.length;Zi++){const t=Gi[Zi];!1!==t.active&&t()}Gi=null,Zi=0}}const is=t=>null==t.id?1/0:t.id,ss=(t,e)=>{const n=is(t)-is(e);if(0===n){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function os(t){qi=!1,$i=!0,Hi.sort(ss);try{for(Yi=0;Yi<Hi.length;Yi++){const t=Hi[Yi];t&&!1!==t.active&&ji(t,t.i,t.i?15:14)}}finally{Yi=0,Hi.length=0,rs(),$i=!1,Qi=null,(Hi.length||Xi.length)&&os()}}let as=null,ls=null;function us(t){const e=as;return as=t,ls=t&&t.type.__scopeId||null,e}function cs(t){ls=t}function hs(){ls=null}
25function ps(t,e=as,n){if(!e)return t;if(t._n)return t;const r=(...n)=>{r._d&&Ta(-1);const i=us(e);let s;try{s=t(...n)}finally{us(i),r._d&&Ta(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function ds(t,e){if(null===as)return t;const n=nl(as),r=t.dirs||(t.dirs=[]);for(let i=0;i<e.length;i++){let[t,s,o,a=dn]=e[i];t&&(En(t)&&(t={mounted:t,updated:t}),t.deep&&aa(s),r.push({dir:t,instance:n,value:s,oldValue:void 0,arg:o,modifiers:a}))}return t}function fs(t,e,n,r){const i=t.dirs,s=e&&e.dirs;for(let o=0;o<i.length;o++){const a=i[o];s&&(a.oldValue=s[o].value);let l=a.dir[r];l&&(br(),Vi(l,n,8,[t.el,a,t,e]),wr())}}const ms=Symbol("_leaveCb"),gs=Symbol("_enterCb");const ys=[Function,Array],vs={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ys,onEnter:ys,onAfterEnter:ys,onEnterCancelled:ys,onBeforeLeave:ys,onLeave:ys,onAfterLeave:ys,onLeaveCancelled:ys,onBeforeAppear:ys,onAppear:ys,onAfterAppear:ys,onAppearCancelled:ys},_s=t=>{const e=t.subTree;return e.component?_s(e.component):e},xs={name:"BaseTransition",props:vs,setup(t,{slots:e}){const n=qa(),r=function(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Fs((()=>{t.isMounted=!0})),js((()=>{t.isUnmounting=!0})),t}();return()=>{const i=e.default&&ks(e.default(),!0);if(!i||!i.length)return;let s=i[0];if(i.length>1)for(const t of i)if(t.type!==va){s=t;break}const o=Ti(t),{mode:a}=o;if(r.isLeaving)return Ts(s);const l=Ss(s);if(!l)return Ts(s);let u=Ms(l,o,r,n,(t=>u=t));Es(l,u);const c=n.subTree,h=c&&Ss(c);if(h&&h.type!==va&&!Ca(l,h)&&_s(n).type!==va){const t=Ms(h,o,r,n);if(Es(h,t),"out-in"===a&&l.type!==va)return r.isLeaving=!0,t.afterLeave=()=>{r.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},Ts(s);"in-out"===a&&l.type!==va&&(t.delayLeave=(t,e,n)=>{ws(r,h)[String(h.key)]=h,t[ms]=()=>{e(),t[ms]=void 0,delete u.delayedLeave},u.delayedLeave=n})}return s}}},bs=xs;function ws(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function Ms(t,e,n,r,i){const{appear:s,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:h,onBeforeLeave:p,onLeave:d,onAfterLeave:f,onLeaveCancelled:m,onBeforeAppear:g,onAppear:y,onAfterAppear:v,onAppearCancelled:_}=e,x=String(t.key),b=ws(n,t),w=(t,e)=>{t&&Vi(t,r,9,e)},M=(t,e)=>{const n=e[1];w(t,e),Mn(t)?t.every((t=>t.length<=1))&&n():t.length<=1&&n()},T={mode:o,persisted:a,beforeEnter(e){let r=l;if(!n.isMounted){if(!s)return;r=g||l}e[ms]&&e[ms](!0);const i=b[x];i&&Ca(t,i)&&i.el[ms]&&i.el[ms](),w(r,[e])},enter(t){let e=u,r=c,i=h;if(!n.isMounted){if(!s)return;e=y||u,r=v||c,i=_||h}let o=!1;const a=t[gs]=e=>{o||(o=!0,w(e?i:r,[t]),T.delayedLeave&&T.delayedLeave(),t[gs]=void 0)};e?M(e,[t,a]):a()},leave(e,r){const i=String(t.key);if(e[gs]&&e[gs](!0),n.isUnmounting)return r();w(p,[e]);let s=!1;const o=e[ms]=n=>{s||(s=!0,r(),w(n?m:f,[e]),e[ms]=void 0,b[i]===t&&delete b[i])};b[i]=t,d?M(d,[e,o]):o()},clone(t){const s=Ms(t,e,n,r,i);return i&&i(s),s}};return T}function Ts(t){if(Os(t))return(t=Ra(t)).children=null,t}function Ss(t){if(!Os(t))return t;const{shapeFlag:e,children:n}=t;if(n){if(16&e)return n[0];if(32&e&&En(n.default))return n.default()}}function Es(t,e){6&t.shapeFlag&&t.component?Es(t.component.subTree,e):128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function ks(t,e=!1,n){let r=[],i=0;for(let s=0;s<t.length;s++){let o=t[s];const a=null==n?o.key:String(n)+String(null!=o.key?o.key:s);o.type===ga?(128&o.patchFlag&&i++,r=r.concat(ks(o.children,e,a))):(e||o.type!==va)&&r.push(null!=a?Ra(o,{key:a}):o)}if(i>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r} 26/*! #__NO_SIDE_EFFECTS__ */function As(t,e){return En(t)?(()=>_n({name:t.name},e,{setup:t}))():t}const Cs=t=>!!t.type.__asyncLoader,Os=t=>t.type.__isKeepAlive;function Ls(t,e){Ps(t,"a",e)}function zs(t,e){Ps(t,"da",e)}function Ps(t,e,n=$a){const r=t.__wdc||(t.__wdc=()=>{let e=n;for(;e;){if(e.isDeactivated)return;e=e.parent}return t()});if(Ns(e,r,n),n){let t=n.parent;for(;t&&t.parent;)Os(t.parent.vnode)&&Rs(r,e,n,t),t=t.parent}}function Rs(t,e,n,r){const i=Ns(e,t,r,!0);Vs((()=>{xn(r[e],i)}),n)}function Ns(t,e,n=$a,r=!1){if(n){const i=n[t]||(n[t]=[]),s=e.__weh||(e.__weh=(...r)=>{br();const i=Xa(n),s=Vi(e,n,t,r);return i(),wr(),s});return r?i.unshift(s):i.push(s),s}}const Is=t=>(e,n=$a)=>{Qa&&"sp"!==t||Ns(t,((...t)=>e(...t)),n)},Ds=Is("bm"),Fs=Is("m"),Bs=Is("bu"),Us=Is("u"),js=Is("bum"),Vs=Is("um"),Ws=Is("sp"),$s=Is("rtg"),qs=Is("rtc");function Hs(t,e=$a){Ns("ec",t,e)}const Ys="components";function Xs(t,e){return Js(Ys,t,!0,e)||t}const Gs=Symbol.for("v-ndc");function Zs(t){return kn(t)?Js(Ys,t,!1)||t:t||Gs}function Js(t,e,n=!0,r=!1){const i=as||$a;if(i){const n=i.type;{const t=rl(n,!1);if(t&&(t===e||t===Bn(e)||t===Vn(Bn(e))))return n}const s=Qs(i[t]||n[t],e)||Qs(i.appContext[t],e);return!s&&r?n:s}}function Qs(t,e){return t&&(t[e]||t[Bn(e)]||t[Vn(Bn(e))])}function Ks(t,e,n,r){let i;const s=n;
vendor: 21,220 bytes, line 26
26if(Mn(t)||kn(t)){i=new Array(t.length);for(let n=0,r=t.length;n<r;n++)i[n]=e(t[n],n,void 0,s)}else if("number"==typeof t){i=new Array(t);for(let n=0;n<t;n++)i[n]=e(n+1,n,void 0,s)}else if(Cn(t))if(t[Symbol.iterator])i=Array.from(t,((t,n)=>e(t,n,void 0,s)));else{const n=Object.keys(t);i=new Array(n.length);for(let r=0,o=n.length;r<o;r++){const o=n[r];i[r]=e(t[o],o,r,s)}}else i=[];return i}function to(t,e,n={},r,i){if(as.isCE||as.parent&&Cs(as.parent)&&as.parent.isCE)return Pa("slot",n,r);let s=t[e];s&&s._c&&(s._d=!1),wa();const o=s&&eo(s(n)),a=ka(ga,{key:(n.key||o&&o.key||`_${e}`)+(!o&&r?"_fb":"")},o||[],o&&1===t._?64:-2);return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function eo(t){return t.some((t=>!Aa(t)||t.type!==va&&!(t.type===ga&&!eo(t.children))))?t:null}const no=t=>t?Za(t)?nl(t):no(t.parent):null,ro=_n(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>no(t.parent),$root:t=>no(t.root),$emit:t=>t.emit,$options:t=>ho(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,ts(t.update)}),$nextTick:t=>t.n||(t.n=Ki.bind(t.proxy)),$watch:t=>sa.bind(t)}),io=(t,e)=>t!==dn&&!t.__isScriptSetup&&wn(t,e),so={get({_:t},e){if("__v_skip"===e)return!0;const{ctx:n,setupState:r,data:i,props:s,accessCache:o,type:a,appContext:l}=t;let u;if("$"!==e[0]){const a=o[e];if(void 0!==a)switch(a){case 1:return r[e];case 2:return i[e];case 4:return n[e];case 3:return s[e]}else{if(io(r,e))return o[e]=1,r[e];if(i!==dn&&wn(i,e))return o[e]=2,i[e];if((u=t.propsOptions[0])&&wn(u,e))return o[e]=3,s[e];if(n!==dn&&wn(n,e))return o[e]=4,n[e];ao&&(o[e]=0)}}const c=ro[e];let h,p;return c?("$attrs"===e&&zr(t.attrs,0,""),c(t)):(h=a.__cssModules)&&(h=h[e])?h:n!==dn&&wn(n,e)?(o[e]=4,n[e]):(p=l.config.globalProperties,wn(p,e)?p[e]:void 0)},set({_:t},e,n){const{data:r,setupState:i,ctx:s}=t;return io(i,e)?(i[e]=n,!0):r!==dn&&wn(r,e)?(r[e]=n,!0):!wn(t.props,e)&&(("$"!==e[0]||!(e.slice(1)in t))&&(s[e]=n,!0))},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:i,propsOptions:s}},o){let a;return!!n[o]||t!==dn&&wn(t,o)||io(e,o)||(a=s[0])&&wn(a,o)||wn(r,o)||wn(ro,o)||wn(i.config.globalProperties,o)},defineProperty(t,e,n){return null!=n.get?t._.accessCache[e]=0:wn(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function oo(t){return Mn(t)?t.reduce(((t,e)=>(t[e]=null,t)),{}):t}let ao=!0;function lo(t){const e=ho(t),n=t.proxy,r=t.ctx;ao=!1,e.beforeCreate&&uo(e.beforeCreate,t,"bc");const{data:i,computed:s,methods:o,watch:a,provide:l,inject:u,created:c,beforeMount:h,mounted:p,beforeUpdate:d,updated:f,activated:m,deactivated:g,beforeDestroy:y,beforeUnmount:v,destroyed:_,unmounted:x,render:b,renderTracked:w,renderTriggered:M,errorCaptured:T,serverPrefetch:S,expose:E,inheritAttrs:k,components:A,directives:C,filters:O}=e;if(u&&function(t,e){Mn(t)&&(t=go(t));for(const n in t){const r=t[n];let i;i=Cn(r)?"default"in r?So(r.from||n,r.default,!0):So(r.from||n):So(r),Li(i)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:t=>i.value=t}):e[n]=i}}(u,r,null),o)for(const z in o){const t=o[z];En(t)&&(r[z]=t.bind(n))}if(i){const e=i.call(n,n);Cn(e)&&(t.data=gi(e))}if(ao=!0,s)for(const z in s){const t=s[z],e=En(t)?t.bind(n,n):En(t.get)?t.get.bind(n,n):mn,i=!En(t)&&En(t.set)?t.set.bind(n):mn,o=il({get:e,set:i});Object.defineProperty(r,z,{enumerable:!0,configurable:!0,get:()=>o.value,set:t=>o.value=t})}if(a)for(const z in a)co(a[z],r,n,z);if(l){const t=En(l)?l.call(n):l;Reflect.ownKeys(t).forEach((e=>{To(e,t[e])}))}function L(t,e){Mn(e)?e.forEach((e=>t(e.bind(n)))):e&&t(e.bind(n))}if(c&&uo(c,t,"c"),L(Ds,h),L(Fs,p),L(Bs,d),L(Us,f),L(Ls,m),L(zs,g),L(Hs,T),L(qs,w),L($s,M),L(js,v),L(Vs,x),L(Ws,S),Mn(E))if(E.length){const e=t.exposed||(t.exposed={});E.forEach((t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e})}))}else t.exposed||(t.exposed={});b&&t.render===mn&&(t.render=b),null!=k&&(t.inheritAttrs=k),A&&(t.components=A),C&&(t.directives=C)}function uo(t,e,n){Vi(Mn(t)?t.map((t=>t.bind(e.proxy))):t.bind(e.proxy),e,n)}function co(t,e,n,r){const i=r.includes(".")?oa(n,r):()=>n[r];if(kn(t)){const n=e[t];En(n)&&ra(i,n)}else if(En(t))ra(i,t.bind(n));else if(Cn(t))if(Mn(t))t.forEach((t=>co(t,e,n,r)));else{const r=En(t.handler)?t.handler.bind(n):e[t.handler];En(r)&&ra(i,r,t)}}function ho(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=t.appContext,a=s.get(e);let l;return a?l=a:i.length||n||r?(l={},i.length&&i.forEach((t=>po(l,t,o,!0))),po(l,e,o)):l=e,Cn(e)&&s.set(e,l),l}function po(t,e,n,r=!1){const{mixins:i,extends:s}=e;s&&po(t,s,n,!0),i&&i.forEach((e=>po(t,e,n,!0)));for(const o in e)if(r&&"expose"===o);else{const r=fo[o]||n&&n[o];t[o]=r?r(t[o],e[o]):e[o]}return t}const fo={data:mo,props:_o,emits:_o,methods:vo,computed:vo,beforeCreate:yo,created:yo,beforeMount:yo,mounted:yo,beforeUpdate:yo,updated:yo,beforeDestroy:yo,beforeUnmount:yo,destroyed:yo,unmounted:yo,activated:yo,deactivated:yo,errorCaptured:yo,serverPrefetch:yo,components:vo,directives:vo,watch:function(t,e){if(!t)return e;if(!e)return t;const n=_n(Object.create(null),t);for(const r in e)n[r]=yo(t[r],e[r]);return n},provide:mo,inject:function(t,e){return vo(go(t),go(e))}};function mo(t,e){return e?t?function(){return _n(En(t)?t.call(this,this):t,En(e)?e.call(this,this):e)}:e:t}function go(t){if(Mn(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function yo(t,e){return t?[...new Set([].concat(t,e))]:e}function vo(t,e){return t?_n(Object.create(null),t,e):e}function _o(t,e){return t?Mn(t)&&Mn(e)?[...new Set([...t,...e])]:_n(Object.create(null),oo(t),oo(null!=e?e:{})):e}function xo(){return{app:null,config:{isNativeTag:gn,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let bo=0;function wo(t,e){return function(n,r=null){En(n)||(n=_n({},n)),null==r||Cn(r)||(r=null);const i=xo(),s=new WeakSet;let o=!1;const a=i.app={_uid:bo++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:ol,get config(){return i.config},set config(t){},use:(t,...e)=>(s.has(t)||(t&&En(t.install)?(s.add(t),t.install(a,...e)):En(t)&&(s.add(t),t(a,...e))),a),mixin:t=>(i.mixins.includes(t)||i.mixins.push(t),a),component:(t,e)=>e?(i.components[t]=e,a):i.components[t],directive:(t,e)=>e?(i.directives[t]=e,a):i.directives[t],mount(s,l,u){if(!o){const c=Pa(n,r);return c.appContext=i,!0===u?u="svg":!1===u&&(u=void 0),l&&e?e(c,s):t(c,s,u),o=!0,a._container=s,s.__vue_app__=a,nl(c.component)}},unmount(){o&&(t(null,a._container),delete a._container.__vue_app__)},provide:(t,e)=>(i.provides[t]=e,a),runWithContext(t){const e=Mo;Mo=a;try{return t()}finally{Mo=e}}};return a}}let Mo=null;function To(t,e){if($a){let n=$a.provides;const r=$a.parent&&$a.parent.provides;r===n&&(n=$a.provides=Object.create(r)),n[t]=e}else;}function So(t,e,n=!1){const r=$a||as;if(r||Mo){const i=r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Mo._context.provides;if(i&&t in i)return i[t];if(arguments.length>1)return n&&En(e)?e.call(r&&r.proxy):e}}const Eo={},ko=()=>Object.create(Eo),Ao=t=>Object.getPrototypeOf(t)===Eo;function Co(t,e,n,r){const[i,s]=t.propsOptions;let o,a=!1;if(e)for(let l in e){if(In(l))continue;const u=e[l];let c;i&&wn(i,c=Bn(l))?s&&s.includes(c)?(o||(o={}))[c]=u:n[c]=u:ha(t.emitsOptions,l)||l in r&&u===r[l]||(r[l]=u,a=!0)}if(s){const e=Ti(n),r=o||dn;for(let o=0;o<s.length;o++){const a=s[o];n[a]=Oo(i,e,a,r[a],t,!wn(r,a))}}return a}function Oo(t,e,n,r,i,s){const o=t[n];if(null!=o){const t=wn(o,"default");if(t&&void 0===r){const t=o.default;if(o.type!==Function&&!o.skipFactory&&En(t)){const{propsDefaults:s}=i;if(n in s)r=s[n];else{const o=Xa(i);r=s[n]=t.call(null,e),o()}}else r=t}o[0]&&(s&&!t?r=!1:!o[1]||""!==r&&r!==jn(n)||(r=!0))}return r}const Lo=new WeakMap;function zo(t,e,n=!1){const r=n?Lo:e.propsCache,i=r.get(t);if(i)return i;const s=t.props,o={},a=[];let l=!1;if(!En(t)){const r=t=>{l=!0;const[n,r]=zo(t,e,!0);_n(o,n),r&&a.push(...r)};!n&&e.mixins.length&&e.mixins.forEach(r),t.extends&&r(t.extends),t.mixins&&t.mixins.forEach(r)}if(!s&&!l)return Cn(t)&&r.set(t,fn),fn;if(Mn(s))for(let c=0;c<s.length;c++){const t=Bn(s[c]);Po(t)&&(o[t]=dn)}else if(s)for(const c in s){const t=Bn(c);if(Po(t)){const e=s[c],n=o[t]=Mn(e)||En(e)?{type:e}:_n({},e);if(n){const e=Io(Boolean,n.type),r=Io(String,n.type);n[0]=e>-1,n[1]=r<0||e<r,(e>-1||wn(n,"default"))&&a.push(t)}}}const u=[o,a];return Cn(t)&&r.set(t,u),u}function Po(t){return"$"!==t[0]&&!In(t)}function Ro(t){if(null===t)return"null";if("function"==typeof t)return t.name||"";if("object"==typeof t){return t.constructor&&t.constructor.name||""}return""}function No(t,e){return Ro(t)===Ro(e)}function Io(t,e){return Mn(e)?e.findIndex((e=>No(e,t))):En(e)&&No(e,t)?0:-1}const Do=t=>"_"===t[0]||"$stable"===t,Fo=t=>Mn(t)?t.map(Fa):[Fa(t)],Bo=(t,e,n)=>{if(e._n)return e;const r=ps(((...t)=>Fo(e(...t))),n);return r._c=!1,r},Uo=(t,e,n)=>{const r=t._ctx;for(const i in t){if(Do(i))continue;const n=t[i];if(En(n))e[i]=Bo(0,n,r);else if(null!=n){const t=Fo(n);e[i]=()=>t}}},jo=(t,e)=>{const n=Fo(e);t.slots.default=()=>n},Vo=(t,e,n)=>{for(const r in e)(n||"_"!==r)&&(t[r]=e[r])},Wo=(t,e,n)=>{const r=t.slots=ko();if(32&t.vnode.shapeFlag){const t=e._;t?(Vo(r,e,n),n&&Hn(r,"_",t,!0)):Uo(e,r)}else e&&jo(t,e)},$o=(t,e,n)=>{const{vnode:r,slots:i}=t;let s=!0,o=dn;if(32&r.shapeFlag){const t=e._;t?n&&1===t?s=!1:Vo(i,e,n):(s=!e.$stable,Uo(e,i)),o=e}else e&&(jo(t,e),o={default:1});if(s)for(const a in i)Do(a)||null!=o[a]||delete i[a]};function qo(t,e,n,r,i=!1){if(Mn(t))return void t.forEach(((t,s)=>qo(t,e&&(Mn(e)?e[s]:e),n,r,i)));if(Cs(r)&&!i)return;const s=4&r.shapeFlag?nl(r.component):r.el,o=i?null:s,{i:a,r:l}=t,u=e&&e.r,c=a.refs===dn?a.refs={}:a.refs,h=a.setupState;if(null!=u&&u!==l&&(kn(u)?(c[u]=null,wn(h,u)&&(h[u]=null)):Li(u)&&(u.value=null)),En(l))ji(l,a,12,[o,c]);else{const e=kn(l),r=Li(l);if(e||r){const a=()=>{if(t.f){const n=e?wn(h,l)?h[l]:c[l]:l.value;i?Mn(n)&&xn(n,s):Mn(n)?n.includes(s)||n.push(s):e?(c[l]=[s],wn(h,l)&&(h[l]=c[l])):(l.value=[s],t.k&&(c[t.k]=l.value))}else e?(c[l]=o,wn(h,l)&&(h[l]=o)):r&&(l.value=o,t.k&&(c[t.k]=o))};o?(a.id=-1,Yo(a,n)):a()}}}const Ho=Symbol("_vte"),Yo=function(t,e){e&&e.pendingBranch?Mn(t)?e.effects.push(...t):e.effects.push(t):(Mn(n=t)?Xi.push(...n):Gi&&Gi.includes(n,n.allowRecurse?Zi+1:Zi)||Xi.push(n),es());var n};function Xo(t){return function(t){Zn().__VUE__=!0;const{insert:e,remove:n,patchProp:r,createElement:i,createText:s,createComment:o,setText:a,setElementText:l,parentNode:u,nextSibling:c,setScopeId:h=mn,insertStaticContent:p}=t,d=(t,e,n,r=null,i=null,s=null,o=void 0,a=null,l=!!e.dynamicChildren)=>{if(t===e)return;t&&!Ca(t,e)&&(r=j(t),I(t,i,s,!0),t=null),-2===e.patchFlag&&(l=!1,e.dynamicChildren=null);const{type:u,ref:c,shapeFlag:h}=e;switch(u){case ya:f(t,e,n,r);break;case va:m(t,e,n,r);break;case _a:null==t&&g(e,n,r,o);break;case ga:E(t,e,n,r,i,s,o,a,l);break;default:1&h?_(t,e,n,r,i,s,o,a,l):6&h?k(t,e,n,r,i,s,o,a,l):(64&h||128&h)&&u.process(t,e,n,r,i,s,o,a,l,$)}null!=c&&i&&qo(c,t&&t.ref,s,e||t,!e)},f=(t,n,r,i)=>{if(null==t)e(n.el=s(n.children),r,i);else{const e=n.el=t.el;n.children!==t.children&&a(e,n.children)}},m=(t,n,r,i)=>{null==t?e(n.el=o(n.children||""),r,i):n.el=t.el},g=(t,e,n,r)=>{[t.el,t.anchor]=p(t.children,e,n,r,t.el,t.anchor)},y=({el:t,anchor:n},r,i)=>{let s;for(;t&&t!==n;)s=c(t),e(t,r,i),t=s;e(n,r,i)},v=({el:t,anchor:e})=>{let r;for(;t&&t!==e;)r=c(t),n(t),t=r;n(e)},_=(t,e,n,r,i,s,o,a,l)=>{"svg"===e.type?o="svg":"math"===e.type&&(o="mathml"),null==t?x(e,n,r,i,s,o,a,l):M(t,e,i,s,o,a,l)},x=(t,n,s,o,a,u,c,h)=>{let p,d;const{props:f,shapeFlag:m,transition:g,dirs:y}=t;if(p=t.el=i(t.type,u,f&&f.is,f),8&m?l(p,t.children):16&m&&w(t.children,p,null,o,a,Go(t,u),c,h),y&&fs(t,null,o,"created"),b(p,t,t.scopeId,c,o),f){for(const t in f)"value"===t||In(t)||r(p,t,null,f[t],u,o);"value"in f&&r(p,"value",null,f.value,u),(d=f.onVnodeBeforeMount)&&ja(d,o,t)}y&&fs(t,null,o,"beforeMount");const v=function(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}(a,g);v&&g.beforeEnter(p),e(p,n,s),((d=f&&f.onVnodeMounted)||v||y)&&Yo((()=>{d&&ja(d,o,t),v&&g.enter(p),y&&fs(t,null,o,"mounted")}),a)},b=(t,e,n,r,i)=>{if(n&&h(t,n),r)for(let s=0;s<r.length;s++)h(t,r[s]);if(i){if(e===i.subTree){const e=i.vnode;b(t,e,e.scopeId,e.slotScopeIds,i.parent)}}},w=(t,e,n,r,i,s,o,a,l=0)=>{for(let u=l;u<t.length;u++){const l=t[u]=a?Ba(t[u]):Fa(t[u]);d(null,l,e,n,r,i,s,o,a)}},M=(t,e,n,i,s,o,a)=>{const u=e.el=t.el;let{patchFlag:c,dynamicChildren:h,dirs:p}=e;c|=16&t.patchFlag;const d=t.props||dn,f=e.props||dn;let m;if(n&&Zo(n,!1),(m=f.onVnodeBeforeUpdate)&&ja(m,n,e,t),p&&fs(e,t,n,"beforeUpdate"),n&&Zo(n,!0),(d.innerHTML&&null==f.innerHTML||d.textContent&&null==f.textContent)&&l(u,""),h?T(t.dynamicChildren,h,u,n,i,Go(e,s),o):a||z(t,e,u,null,n,i,Go(e,s),o,!1),c>0){if(16&c)S(u,d,f,n,s);else if(2&c&&d.class!==f.class&&r(u,"class",null,f.class,s),4&c&&r(u,"style",d.style,f.style,s),8&c){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const i=t[e],o=d[i],a=f[i];a===o&&"value"!==i||r(u,i,o,a,s,n)}}1&c&&t.children!==e.children&&l(u,e.children)}else a||null!=h||S(u,d,f,n,s);((m=f.onVnodeUpdated)||p)&&Yo((()=>{m&&ja(m,n,e,t),p&&fs(e,t,n,"updated")}),i)},T=(t,e,n,r,i,s,o)=>{for(let a=0;a<e.length;a++){const l=t[a],c=e[a],h=l.el&&(l.type===ga||!Ca(l,c)||70&l.shapeFlag)?u(l.el):n;d(l,c,h,null,r,i,s,o,!0)}},S=(t,e,n,i,s)=>{if(e!==n){if(e!==dn)for(const o in e)In(o)||o in n||r(t,o,e[o],null,s,i);for(const o in n){if(In(o))continue;const a=n[o],l=e[o];a!==l&&"value"!==o&&r(t,o,l,a,s,i)}"value"in n&&r(t,"value",e.value,n.value,s)}},E=(t,n,r,i,o,a,l,u,c)=>{const h=n.el=t?t.el:s(""),p=n.anchor=t?t.anchor:s("");let{patchFlag:d,dynamicChildren:f,slotScopeIds:m}=n;m&&(u=u?u.concat(m):m),null==t?(e(h,r,i),e(p,r,i),w(n.children||[],r,p,o,a,l,u,c)):d>0&&64&d&&f&&t.dynamicChildren?(T(t.dynamicChildren,f,r,o,a,l,u),(null!=n.key||o&&n===o.subTree)&&Jo(t,n,!0)):z(t,n,r,p,o,a,l,u,c)},k=(t,e,n,r,i,s,o,a,l)=>{e.slotScopeIds=a,null==t?512&e.shapeFlag?i.ctx.activate(e,n,r,o,l):A(e,n,r,i,s,o,l):C(t,e,l)},A=(t,e,n,r,i,s,o)=>{const a=t.component=function(t,e,n){const r=t.type,i=(e?e.appContext:t.appContext)||Va,s={uid:Wa++,vnode:t,type:r,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new hr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:zo(r,i),emitsOptions:ca(r,i),emit:null,emitted:null,propsDefaults:dn,inheritAttrs:r.inheritAttrs,ctx:dn,data:dn,props:dn,attrs:dn,slots:dn,refs:dn,setupState:dn,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};s.ctx={_:s},s.root=e?e.root:s,s.emit=ua.bind(null,s),t.ce&&t.ce(s);return s}(t,r,i);if(Os(t)&&(a.ctx.renderer=$),function(t,e=!1,n=!1){e&&Ya(e);const{props:r,children:i}=t.vnode,s=Za(t);(function(t,e,n,r=!1){const i={},s=ko();t.propsDefaults=Object.create(null),Co(t,e,i,s);for(const o in t.propsOptions[0])o in i||(i[o]=void 0);n?t.props=r?i:yi(i):t.type.props?t.props=i:t.props=s,t.attrs=s})(t,r,s,e),Wo(t,i,n);const o=s?function(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,so);const{setup:r}=n;if(r){const n=t.setupContext=r.length>1?function(t){const e=e=>{t.exposed=e||{}};return{attrs:new Proxy(t.attrs,el),slots:t.slots,emit:t.emit,expose:e}}(t):null,i=Xa(t);br();const s=ji(r,t,0,[t.props,n]);if(wr(),i(),On(s)){if(s.then(Ga,Ga),e)return s.then((n=>{Ka(t,n,e)})).catch((e=>{Wi(e,t,0)}));t.asyncDep=s}else Ka(t,s,e)}else tl(t,e)}(t,e):void 0;e&&Ya(!1)}(a,!1,o),a.asyncDep){if(i&&i.registerDep(a,O,o),!t.el){const t=a.subTree=Pa(va);m(null,t,e,n)}}else O(a,t,e,n,i,s,o)},C=(t,e,n)=>{const r=e.component=t.component;if(function(t,e,n){const{props:r,children:i,component:s}=t,{props:o,children:a,patchFlag:l}=e,u=s.emitsOptions;if(e.dirs||e.transition)return!0;if(!(n&&l>=0))return!(!i&&!a||a&&a.$stable)||r!==o&&(r?!o||ma(r,o,u):!!o);if(1024&l)return!0;if(16&l)return r?ma(r,o,u):!!o;if(8&l){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const n=t[e];if(o[n]!==r[n]&&!ha(u,n))return!0}}return!1}(t,e,n)){if(r.asyncDep&&!r.asyncResolved)return void L(r,e,n);r.next=e,function(t){const e=Hi.indexOf(t);e>Yi&&Hi.splice(e,1)}(r.update),r.effect.dirty=!0,r.update()}else e.el=t.el,r.vnode=e},O=(t,e,n,r,i,s,o)=>{const a=()=>{if(t.isMounted){let{next:e,bu:n,u:r,parent:l,vnode:c}=t;{const n=Qo(t);if(n)return e&&(e.el=c.el,L(t,e,o)),void n.asyncDep.then((()=>{t.isUnmounted||a()}))}let h,p=e;Zo(t,!1),e?(e.el=c.el,L(t,e,o)):e=c,n&&qn(n),(h=e.props&&e.props.onVnodeBeforeUpdate)&&ja(h,l,e,c),Zo(t,!0);const f=pa(t),m=t.subTree;t.subTree=f,d(m,f,u(m.el),j(m),t,i,s),e.el=f.el,null===p&&function({vnode:t,parent:e},n){for(;e;){const r=e.subTree;if(r.suspense&&r.suspense.activeBranch===t&&(r.el=t.el),r!==t)break;(t=e.vnode).el=n,e=e.parent}}(t,f.el),r&&Yo(r,i),(h=e.props&&e.props.onVnodeUpdated)&&Yo((()=>ja(h,l,e,c)),i)}else{let o;const{el:a,props:l}=e,{bm:u,m:c,parent:h}=t,p=Cs(e);if(Zo(t,!1),u&&qn(u),!p&&(o=l&&l.onVnodeBeforeMount)&&ja(o,h,e),Zo(t,!0),a&&H){const n=()=>{t.subTree=pa(t),H(a,t.subTree,t,i,null)};p?e.type.__asyncLoader().then((()=>!t.isUnmounted&&n())):n()}else{const o=t.subTree=pa(t);d(null,o,n,r,t,i,s),e.el=o.el}if(c&&Yo(c,i),!p&&(o=l&&l.onVnodeMounted)){const t=e;Yo((()=>ja(o,h,t)),i)}(256&e.shapeFlag||h&&Cs(h.vnode)&&256&h.vnode.shapeFlag)&&t.a&&Yo(t.a,i),t.isMounted=!0,e=n=r=null}},l=t.effect=new fr(a,mn,(()=>ts(c)),t.scope),c=t.update=()=>{l.dirty&&l.run()};c.i=t,c.id=t.uid,Zo(t,!0),c()},L=(t,e,n)=>{e.component=t;const r=t.vnode.props;t.vnode=e,t.next=null,function(t,e,n,r){const{props:i,attrs:s,vnode:{patchFlag:o}}=t,a=Ti(i),[l]=t.propsOptions;let u=!1;if(!(r||o>0)||16&o){let r;Co(t,e,i,s)&&(u=!0);for(const s in a)e&&(wn(e,s)||(r=jn(s))!==s&&wn(e,r))||(l?!n||void 0===n[s]&&void 0===n[r]||(i[s]=Oo(l,a,s,void 0,t,!0)):delete i[s]);if(s!==a)for(const t in s)e&&wn(e,t)||(delete s[t],u=!0)}else if(8&o){const n=t.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(ha(t.emitsOptions,o))continue;const c=e[o];if(l)if(wn(s,o))c!==s[o]&&(s[o]=c,u=!0);else{const e=Bn(o);i[e]=Oo(l,a,e,c,t,!1)}else c!==s[o]&&(s[o]=c,u=!0)}}u&&Pr(t.attrs,"set","")}(t,e.props,r,n),$o(t,e.children,n),br(),ns(t),wr()},z=(t,e,n,r,i,s,o,a,u=!1)=>{const c=t&&t.children,h=t?t.shapeFlag:0,p=e.children,{patchFlag:d,shapeFlag:f}=e;if(d>0){if(128&d)return void R(c,p,n,r,i,s,o,a,u);if(256&d)return void P(c,p,n,r,i,s,o,a,u)}8&f?(16&h&&U(c,i,s),p!==c&&l(n,p)):16&h?16&f?R(c,p,n,r,i,s,o,a,u):U(c,i,s,!0):(8&h&&l(n,""),16&f&&w(p,n,r,i,s,o,a,u))},P=(t,e,n,r,i,s,o,a,l)=>{e=e||fn;const u=(t=t||fn).length,c=e.length,h=Math.min(u,c);let p;for(p=0;p<h;p++){const r=e[p]=l?Ba(e[p]):Fa(e[p]);d(t[p],r,n,null,i,s,o,a,l)}u>c?U(t,i,s,!0,!1,h):w(e,n,r,i,s,o,a,l,h)},R=(t,e,n,r,i,s,o,a,l)=>{let u=0;const c=e.length;let h=t.length-1,p=c-1;for(;u<=h&&u<=p;){const r=t[u],c=e[u]=l?Ba(e[u]):Fa(e[u]);if(!Ca(r,c))break;d(r,c,n,null,i,s,o,a,l),u++}for(;u<=h&&u<=p;){const r=t[h],u=e[p]=l?Ba(e[p]):Fa(e[p]);if(!Ca(r,u))break;d(r,u,n,null,i,s,o,a,l),h--,p--}if(u>h){if(u<=p){const t=p+1,h=t<c?e[t].el:r;for(;u<=p;)d(null,e[u]=l?Ba(e[u]):Fa(e[u]),n,h,i,s,o,a,l),u++}}else if(u>p)for(;u<=h;)I(t[u],i,s,!0),u++;else{const f=u,m=u,g=new Map;for(u=m;u<=p;u++){const t=e[u]=l?Ba(e[u]):Fa(e[u]);null!=t.key&&g.set(t.key,u)}let y,v=0;const _=p-m+1;let x=!1,b=0;const w=new Array(_);for(u=0;u<_;u++)w[u]=0;for(u=f;u<=h;u++){const r=t[u];if(v>=_){I(r,i,s,!0);continue}let c;if(null!=r.key)c=g.get(r.key);else for(y=m;y<=p;y++)if(0===w[y-m]&&Ca(r,e[y])){c=y;break}void 0===c?I(r,i,s,!0):(w[c-m]=u+1,c>=b?b=c:x=!0,d(r,e[c],n,null,i,s,o,a,l),v++)}const M=x?function(t){const e=t.slice(),n=[0];let r,i,s,o,a;const l=t.length;for(r=0;r<l;r++){const l=t[r];if(0!==l){if(i=n[n.length-1],t[i]<l){e[r]=i,n.push(r);continue}for(s=0,o=n.length-1;s<o;)a=s+o>>1,t[n[a]]<l?s=a+1:o=a;l<t[n[s]]&&(s>0&&(e[r]=n[s-1]),n[s]=r)}}s=n.length,o=n[s-1];for(;s-- >0;)n[s]=o,o=e[o];return n}(w):fn;for(y=M.length-1,u=_-1;u>=0;u--){const t=m+u,h=e[t],p=t+1<c?e[t+1].el:r;0===w[u]?d(null,h,n,p,i,s,o,a,l):x&&(y<0||u!==M[y]?N(h,n,p,2):y--)}}},N=(t,n,r,i,s=null)=>{const{el:o,type:a,transition:l,children:u,shapeFlag:c}=t;if(6&c)return void N(t.component.subTree,n,r,i);if(128&c)return void t.suspense.move(n,r,i);if(64&c)return void a.move(t,n,r,$);if(a===ga){e(o,n,r);for(let t=0;t<u.length;t++)N(u[t],n,r,i);return void e(t.anchor,n,r)}if(a===_a)return void y(t,n,r);if(2!==i&&1&c&&l)if(0===i)l.beforeEnter(o),e(o,n,r),Yo((()=>l.enter(o)),s);else{const{leave:t,delayLeave:i,afterLeave:s}=l,a=()=>e(o,n,r),u=()=>{t(o,(()=>{a(),s&&s()}))};i?i(o,a,u):u()}else e(o,n,r)},I=(t,e,n,r=!1,i=!1)=>{const{type:s,props:o,ref:a,children:l,dynamicChildren:u,shapeFlag:c,patchFlag:h,dirs:p,cacheIndex:d}=t;
26if(-2===h&&(i=!1),null!=a&&qo(a,null,n,t,!0),null!=d&&(e.renderCache[d]=void 0),256&c)return void e.ctx.deactivate(t);const f=1&c&&p,m=!Cs(t);let g;if(m&&(g=o&&o.onVnodeBeforeUnmount)&&ja(g,e,t),6&c)B(t.component,n,r);else{if(128&c)return void t.suspense.unmount(n,r);f&&fs(t,null,e,"beforeUnmount"),64&c?t.type.remove(t,e,n,$,r):u&&!u.hasOnce&&(s!==ga||h>0&&64&h)?U(u,e,n,!1,!0):(s===ga&&384&h||!i&&16&c)&&U(l,e,n),r&&D(t)}(m&&(g=o&&o.onVnodeUnmounted)||f)&&Yo((()=>{g&&ja(g,e,t),f&&fs(t,null,e,"unmounted")}),n)},D=t=>{const{type:e,el:r,anchor:i,transition:s}=t;if(e===ga)return void F(r,i);if(e===_a)return void v(t);const o=()=>{n(r),s&&!s.persisted&&s.afterLeave&&s.afterLeave()};if(1&t.shapeFlag&&s&&!s.persisted){const{leave:e,delayLeave:n}=s,i=()=>e(r,o);n?n(t.el,o,i):i()}else o()},F=(t,e)=>{let r;for(;t!==e;)r=c(t),n(t),t=r;n(e)},B=(t,e,n)=>{const{bum:r,scope:i,update:s,subTree:o,um:a,m:l,a:u}=t;Ko(l),Ko(u),r&&qn(r),i.stop(),s&&(s.active=!1,I(o,t,e,n)),a&&Yo(a,e),Yo((()=>{t.isUnmounted=!0}),e),e&&e.pendingBranch&&!e.isUnmounted&&t.asyncDep&&!t.asyncResolved&&t.suspenseId===e.pendingId&&(e.deps--,0===e.deps&&e.resolve())},U=(t,e,n,r=!1,i=!1,s=0)=>{for(let o=s;o<t.length;o++)I(t[o],e,n,r,i)},j=t=>{if(6&t.shapeFlag)return j(t.component.subTree);if(128&t.shapeFlag)return t.suspense.next();const e=c(t.anchor||t.el),n=e&&e[Ho];return n?c(n):e};let V=!1;const W=(t,e,n)=>{null==t?e._vnode&&I(e._vnode,null,null,!0):d(e._vnode||null,t,e,null,null,null,n),V||(V=!0,ns(),rs(),V=!1),e._vnode=t},$={p:d,um:I,m:N,r:D,mt:A,mc:w,pc:z,pbc:T,n:j,o:t};let q,H;return{render:W,hydrate:q,createApp:wo(W,q)}}(t)}function Go({type:t,props:e},n){return"svg"===n&&"foreignObject"===t||"mathml"===n&&"annotation-xml"===t&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function Zo({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Jo(t,e,n=!1){const r=t.children,i=e.children;if(Mn(r)&&Mn(i))for(let s=0;s<r.length;s++){const t=r[s];let e=i[s];1&e.shapeFlag&&!e.dynamicChildren&&((e.patchFlag<=0||32===e.patchFlag)&&(e=i[s]=Ba(i[s]),e.el=t.el),n||-2===e.patchFlag||Jo(t,e)),e.type===ya&&(e.el=t.el)}}function Qo(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Qo(e)}function Ko(t){if(t)for(let e=0;e<t.length;e++)t[e].active=!1}const ta=Symbol.for("v-scx"),ea=()=>So(ta),na={};function ra(t,e,n){return ia(t,e,n)}function ia(t,e,{immediate:n,deep:r,flush:i,once:s,onTrack:o,onTrigger:a}=dn){if(e&&s){const t=e;e=(...e)=>{t(...e),b()}}const l=$a,u=t=>!0===r?t:aa(t,!1===r?1:void 0);let c,h,p=!1,d=!1;if(Li(t)?(c=()=>t.value,p=wi(t)):xi(t)?(c=()=>u(t),p=!0):Mn(t)?(d=!0,p=t.some((t=>xi(t)||wi(t))),c=()=>t.map((t=>Li(t)?t.value:xi(t)?u(t):En(t)?ji(t,l,2):void 0))):c=En(t)?e?()=>ji(t,l,2):()=>(h&&h(),Vi(t,l,3,[m])):mn,e&&r){const t=c;c=()=>aa(t())}let f,m=t=>{h=_.onStop=()=>{ji(t,l,4),h=_.onStop=void 0}};if(Qa){if(m=mn,e?n&&Vi(e,l,3,[c(),d?[]:void 0,m]):c(),"sync"!==i)return mn;{const t=ea();f=t.__watcherHandles||(t.__watcherHandles=[])}}let g=d?new Array(t.length).fill(na):na;const y=()=>{if(_.active&&_.dirty)if(e){const t=_.run();(r||p||(d?t.some(((t,e)=>$n(t,g[e]))):$n(t,g)))&&(h&&h(),Vi(e,l,3,[t,g===na?void 0:d&&g[0]===na?[]:g,m]),g=t)}else _.run()};let v;y.allowRecurse=!!e,"sync"===i?v=y:"post"===i?v=()=>Yo(y,l&&l.suspense):(y.pre=!0,l&&(y.id=l.uid),v=()=>ts(y));const _=new fr(c,mn,v),x=dr(),b=()=>{_.stop(),x&&xn(x.effects,_)};return e?n?y():g=_.run():"post"===i?Yo(_.run.bind(_),l&&l.suspense):_.run(),f&&f.push(b),b}function sa(t,e,n){const r=this.proxy,i=kn(t)?t.includes(".")?oa(r,t):()=>r[t]:t.bind(r,r);let s;En(e)?s=e:(s=e.handler,n=e);const o=Xa(this),a=ia(i,s.bind(r),n);return o(),a}function oa(t,e){const n=e.split(".");return()=>{let e=t;for(let t=0;t<n.length&&e;t++)e=e[n[t]];return e}}function aa(t,e=1/0,n){if(e<=0||!Cn(t)||t.__v_skip)return t;if((n=n||new Set).has(t))return t;if(n.add(t),e--,Li(t))aa(t.value,e,n);else if(Mn(t))for(let r=0;r<t.length;r++)aa(t[r],e,n);else if(Sn(t)||Tn(t))t.forEach((t=>{aa(t,e,n)}));else if(Rn(t)){for(const r in t)aa(t[r],e,n);for(const r of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,r)&&aa(t[r],e,n)}return t}const la=(t,e)=>"modelValue"===e||"model-value"===e?t.modelModifiers:t[`${e}Modifiers`]||t[`${Bn(e)}Modifiers`]||t[`${jn(e)}Modifiers`];function ua(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||dn;let i=n;const s=e.startsWith("update:"),o=s&&la(r,e.slice(7));let a;o&&(o.trim&&(i=n.map((t=>kn(t)?t.trim():t))),o.number&&(i=n.map(Yn)));let l=r[a=Wn(e)]||r[a=Wn(Bn(e))];!l&&s&&(l=r[a=Wn(jn(e))]),l&&Vi(l,t,6,i);const u=r[a+"Once"];if(u){if(t.emitted){if(t.emitted[a])return}else t.emitted={};t.emitted[a]=!0,Vi(u,t,6,i)}}function ca(t,e,n=!1){const r=e.emitsCache,i=r.get(t);if(void 0!==i)return i;const s=t.emits;let o={},a=!1;if(!En(t)){const r=t=>{const n=ca(t,e,!0);n&&(a=!0,_n(o,n))};!n&&e.mixins.length&&e.mixins.forEach(r),t.extends&&r(t.extends),t.mixins&&t.mixins.forEach(r)}
vendor: 5,345 bytes, line 26
26return s||a?(Mn(s)?s.forEach((t=>o[t]=null)):_n(o,s),Cn(t)&&r.set(t,o),o):(Cn(t)&&r.set(t,null),null)}function ha(t,e){return!(!t||!yn(e))&&(e=e.slice(2).replace(/Once$/,""),wn(t,e[0].toLowerCase()+e.slice(1))||wn(t,jn(e))||wn(t,e))}function pa(t){const{type:e,vnode:n,proxy:r,withProxy:i,propsOptions:[s],slots:o,attrs:a,emit:l,render:u,renderCache:c,props:h,data:p,setupState:d,ctx:f,inheritAttrs:m}=t,g=us(t);let y,v;try{if(4&n.shapeFlag){const t=i||r,e=t;y=Fa(u.call(e,t,c,h,d,p,f)),v=a}else{const t=e;0,y=Fa(t.length>1?t(h,{attrs:a,slots:o,emit:l}):t(h,null)),v=e.props?a:da(a)}}catch(x){xa.length=0,Wi(x,t,1),y=Pa(va)}let _=y;if(v&&!1!==m){const t=Object.keys(v),{shapeFlag:e}=_;t.length&&7&e&&(s&&t.some(vn)&&(v=fa(v,s)),_=Ra(_,v,!1,!0))}return n.dirs&&(_=Ra(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),y=_,us(g),y}const da=t=>{let e;for(const n in t)("class"===n||"style"===n||yn(n))&&((e||(e={}))[n]=t[n]);return e},fa=(t,e)=>{const n={};for(const r in t)vn(r)&&r.slice(9)in e||(n[r]=t[r]);return n};function ma(t,e,n){const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!0;for(let i=0;i<r.length;i++){const s=r[i];if(e[s]!==t[s]&&!ha(n,s))return!0}return!1}const ga=Symbol.for("v-fgt"),ya=Symbol.for("v-txt"),va=Symbol.for("v-cmt"),_a=Symbol.for("v-stc"),xa=[];let ba=null;function wa(t=!1){xa.push(ba=t?null:[])}let Ma=1;function Ta(t){Ma+=t,t<0&&ba&&(ba.hasOnce=!0)}function Sa(t){return t.dynamicChildren=Ma>0?ba||fn:null,xa.pop(),ba=xa[xa.length-1]||null,Ma>0&&ba&&ba.push(t),t}function Ea(t,e,n,r,i,s){return Sa(za(t,e,n,r,i,s,!0))}function ka(t,e,n,r,i){return Sa(Pa(t,e,n,r,i,!0))}function Aa(t){return!!t&&!0===t.__v_isVNode}function Ca(t,e){return t.type===e.type&&t.key===e.key}const Oa=({key:t})=>null!=t?t:null,La=({ref:t,ref_key:e,ref_for:n})=>("number"==typeof t&&(t=""+t),null!=t?kn(t)||Li(t)||En(t)?{i:as,r:t,k:e,f:!!n}:t:null);function za(t,e=null,n=null,r=0,i=null,s=(t===ga?0:1),o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Oa(e),ref:e&&La(e),scopeId:ls,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:as};return a?(Ua(l,n),128&s&&t.normalize(l)):n&&(l.shapeFlag|=kn(n)?8:16),Ma>0&&!o&&ba&&(l.patchFlag>0||6&s)&&32!==l.patchFlag&&ba.push(l),l}const Pa=function(t,e=null,n=null,r=0,i=null,s=!1){t&&t!==Gs||(t=va);if(Aa(t)){const r=Ra(t,e,!0);return n&&Ua(r,n),Ma>0&&!s&&ba&&(6&r.shapeFlag?ba[ba.indexOf(t)]=r:ba.push(r)),r.patchFlag=-2,r}o=t,En(o)&&"__vccOpts"in o&&(t=t.__vccOpts);var o;if(e){e=function(t){return t?Mi(t)||Ao(t)?_n({},t):t:null}(e);let{class:t,style:n}=e;t&&!kn(t)&&(e.class=nr(t)),Cn(n)&&(Mi(n)&&!Mn(n)&&(n=_n({},n)),e.style=Jn(n))}const a=kn(t)?1:(t=>t.__isSuspense)(t)?128:(t=>t.__isTeleport)(t)?64:Cn(t)?4:En(t)?2:0;return za(t,e,n,r,i,a,s,!0)};function Ra(t,e,n=!1,r=!1){const{props:i,ref:s,patchFlag:o,children:a,transition:l}=t,u=e?function(...t){const e={};for(let n=0;n<t.length;n++){const r=t[n];for(const t in r)if("class"===t)e.class!==r.class&&(e.class=nr([e.class,r.class]));else if("style"===t)e.style=Jn([e.style,r.style]);else if(yn(t)){const n=e[t],i=r[t];!i||n===i||Mn(n)&&n.includes(i)||(e[t]=n?[].concat(n,i):i)}else""!==t&&(e[t]=r[t])}return e}(i||{},e):i,c={__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&Oa(u),ref:e&&e.ref?n&&s?Mn(s)?s.concat(La(e)):[s,La(e)]:La(e):s,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==ga?-1===o?16:16|o:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Ra(t.ssContent),ssFallback:t.ssFallback&&Ra(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&r&&Es(c,l.clone(c)),c}function Na(t=" ",e=0){return Pa(ya,null,t,e)}function Ia(t,e){const n=Pa(_a,null,t);return n.staticCount=e,n}function Da(t="",e=!1){return e?(wa(),ka(va,null,t)):Pa(va,null,t)}function Fa(t){return null==t||"boolean"==typeof t?Pa(va):Mn(t)?Pa(ga,null,t.slice()):"object"==typeof t?Ba(t):Pa(ya,null,String(t))}function Ba(t){return null===t.el&&-1!==t.patchFlag||t.memo?t:Ra(t)}function Ua(t,e){let n=0;const{shapeFlag:r}=t;if(null==e)e=null;else if(Mn(e))n=16;else if("object"==typeof e){if(65&r){const n=e.default;return void(n&&(n._c&&(n._d=!1),Ua(t,n()),n._c&&(n._d=!0)))}{n=32;const r=e._;r||Ao(e)?3===r&&as&&(1===as.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=as}}else En(e)?(e={default:e,_ctx:as},n=32):(e=String(e),64&r?(n=16,e=[Na(e)]):n=8);t.children=e,t.shapeFlag|=n}function ja(t,e,n,r=null){Vi(t,e,7,[n,r])}const Va=xo();let Wa=0;let $a=null;const qa=()=>$a||as;let Ha,Ya;{const t=Zn(),e=(e,n)=>{let r;return(r=t[e])||(r=t[e]=[]),r.push(n),t=>{r.length>1?r.forEach((e=>e(t))):r[0](t)}};Ha=e("__VUE_INSTANCE_SETTERS__",(t=>$a=t)),Ya=e("__VUE_SSR_SETTERS__",(t=>Qa=t))}const Xa=t=>{const e=$a;return Ha(t),t.scope.on(),()=>{t.scope.off(),Ha(e)}},Ga=()=>{$a&&$a.scope.off(),Ha(null)};function Za(t){return 4&t.vnode.shapeFlag}let Ja,Qa=!1;
26function Ka(t,e,n){En(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Cn(e)&&(t.setupState=Fi(e)),tl(t,n)}function tl(t,e,n){const r=t.type;if(!t.render){if(!e&&Ja&&!r.render){const e=r.template||ho(t).template;if(e){const{isCustomElement:n,compilerOptions:i}=t.appContext.config,{delimiters:s,compilerOptions:o}=r,a=_n(_n({isCustomElement:n,delimiters:s},i),o);r.render=Ja(e,a)}}t.render=r.render||mn}{const e=Xa(t);br();try{lo(t)}finally{wr(),e()}}}const el={get:(t,e)=>(zr(t,0,""),t[e])};function nl(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Fi(Si(t.exposed)),{get:(e,n)=>n in e?e[n]:n in ro?ro[n](t):void 0,has:(t,e)=>e in t||e in ro})):t.proxy}function rl(t,e=!0){return En(t)?t.displayName||t.name:t.name||e&&t.__name}const il=(t,e)=>{const n=function(t,e,n=!1){let r,i;const s=En(t);return s?(r=t,i=mn):(r=t.get,i=t.set),new Ai(r,i,s||!i,n)}(t,0,Qa);return n};function sl(t,e,n){const r=arguments.length;return 2===r?Cn(e)&&!Mn(e)?Aa(e)?Pa(t,null,[e]):Pa(t,e):Pa(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Aa(n)&&(n=[n]),Pa(t,e,n))}const ol="3.4.34",al="undefined"!=typeof document?document:null,ll=al&&al.createElement("template"),ul={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const i="svg"===e?al.createElementNS("http://www.w3.org/2000/svg",t):"mathml"===e?al.createElementNS("http://www.w3.org/1998/Math/MathML",t):n?al.createElement(t,{is:n}):al.createElement(t);return"select"===t&&r&&null!=r.multiple&&i.setAttribute("multiple",r.multiple),i},createText:t=>al.createTextNode(t),createComment:t=>al.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>al.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,i,s){const o=n?n.previousSibling:e.lastChild;if(i&&(i===s||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),i!==s&&(i=i.nextSibling););else{ll.innerHTML="svg"===r?`<svg>${t}</svg>`:"mathml"===r?`<math>${t}</math>`:t;const i=ll.content;if("svg"===r||"mathml"===r){const t=i.firstChild;for(;t.firstChild;)i.appendChild(t.firstChild);i.removeChild(t)}e.insertBefore(i,n)}return[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},cl="transition",hl="animation",pl=Symbol("_vtc"),dl=(t,{slots:e})=>sl(bs,function(t){const e={};for(const A in t)A in fl||(e[A]=t[A]);if(!1===t.css)return e;const{name:n="v",type:r,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:u=o,appearToClass:c=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=t,f=function(t){if(null==t)return null;if(Cn(t))return[yl(t.enter),yl(t.leave)];{const e=yl(t);return[e,e]}}(i),m=f&&f[0],g=f&&f[1],{onBeforeEnter:y,onEnter:v,onEnterCancelled:_,onLeave:x,onLeaveCancelled:b,onBeforeAppear:w=y,onAppear:M=v,onAppearCancelled:T=_}=e,S=(t,e,n)=>{_l(t,e?c:a),_l(t,e?u:o),n&&n()},E=(t,e)=>{t._isLeaving=!1,_l(t,h),_l(t,d),_l(t,p),e&&e()},k=t=>(e,n)=>{const i=t?M:v,o=()=>S(e,t,n);ml(i,[e,o]),xl((()=>{_l(e,t?l:s),vl(e,t?c:a),gl(i)||wl(e,r,m,o)}))};return _n(e,{onBeforeEnter(t){ml(y,[t]),vl(t,s),vl(t,o)},onBeforeAppear(t){ml(w,[t]),vl(t,l),vl(t,u)},onEnter:k(!1),onAppear:k(!0),onLeave(t,e){t._isLeaving=!0;const n=()=>E(t,e);vl(t,h),vl(t,p),document.body.offsetHeight,xl((()=>{t._isLeaving&&(_l(t,h),vl(t,d),gl(x)||wl(t,r,g,n))})),ml(x,[t,n])},onEnterCancelled(t){S(t,!1),ml(_,[t])},onAppearCancelled(t){S(t,!0),ml(T,[t])},onLeaveCancelled(t){E(t),ml(b,[t])}})}(t),e); 27/** 28* @vue/runtime-dom v3.4.34 29* (c) 2018-present Yuxi (Evan) You and Vue contributors 30* @license MIT
vendor: 2,473 bytes, line 31
31**/dl.displayName="Transition";const fl={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};dl.props=_n({},vs,fl);const ml=(t,e=[])=>{Mn(t)?t.forEach((t=>t(...e))):t&&t(...e)},gl=t=>!!t&&(Mn(t)?t.some((t=>t.length>1)):t.length>1);function yl(t){return Xn(t)}function vl(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.add(e))),(t[pl]||(t[pl]=new Set)).add(e)}function _l(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.remove(e)));const n=t[pl];n&&(n.delete(e),n.size||(t[pl]=void 0))}function xl(t){requestAnimationFrame((()=>{requestAnimationFrame(t)}))}let bl=0;function wl(t,e,n,r){const i=t._endId=++bl,s=()=>{i===t._endId&&r()};if(n)return setTimeout(s,n);const{type:o,timeout:a,propCount:l}=function(t,e){const n=window.getComputedStyle(t),r=t=>(n[t]||"").split(", "),i=r(`${cl}Delay`),s=r(`${cl}Duration`),o=Ml(i,s),a=r(`${hl}Delay`),l=r(`${hl}Duration`),u=Ml(a,l);let c=null,h=0,p=0;e===cl?o>0&&(c=cl,h=o,p=s.length):e===hl?u>0&&(c=hl,h=u,p=l.length):(h=Math.max(o,u),c=h>0?o>u?cl:hl:null,p=c?c===cl?s.length:l.length:0);const d=c===cl&&/\b(transform|all)(,|$)/.test(r(`${cl}Property`).toString());return{type:c,timeout:h,propCount:p,hasTransform:d}}(t,e);if(!o)return r();const u=o+"end";let c=0;const h=()=>{t.removeEventListener(u,p),s()},p=e=>{e.target===t&&++c>=l&&h()};setTimeout((()=>{c<l&&h()}),a+1),t.addEventListener(u,p)}function Ml(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map(((e,n)=>Tl(e)+Tl(t[n]))))}function Tl(t){return"auto"===t?0:1e3*Number(t.slice(0,-1).replace(",","."))}const Sl=Symbol("_vod"),El=Symbol("_vsh"),kl=Symbol(""),Al=/(^|;)\s*display\s*:/;const Cl=/\s*!important$/;function Ol(t,e,n){if(Mn(n))n.forEach((n=>Ol(t,e,n)));else if(null==n&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=function(t,e){const n=zl[e];if(n)return n;let r=Bn(e);if("filter"!==r&&r in t)return zl[e]=r;r=Vn(r);for(let i=0;i<Ll.length;i++){const n=Ll[i]+r;if(n in t)return zl[e]=n}return e}(t,e);Cl.test(n)?t.setProperty(jn(r),n.replace(Cl,""),"important"):t[r]=n}}const Ll=["Webkit","Moz","ms"],zl={};const Pl="http://www.w3.org/1999/xlink";function Rl(t,e,n,r,i,s=rr(e)){r&&e.startsWith("xlink:")?null==n?t.removeAttributeNS(Pl,e.slice(6,e.length)):t.setAttributeNS(Pl,e,n):null==n||s&&
31!ir(n)?t.removeAttribute(e):t.setAttribute(e,s?"":An(n)?String(n):n)}function Nl(t,e,n,r){t.addEventListener(e,n,r)}const Il=Symbol("_vei");function Dl(t,e,n,r,i=null){const s=t[Il]||(t[Il]={}),o=s[e];if(r&&o)o.value=r;else{const[n,a]=function(t){let e;if(Fl.test(t)){let n;for(e={};n=t.match(Fl);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}const n=":"===t[2]?t.slice(3):jn(t.slice(2));return[n,e]}(e);if(r){const o=s[e]=function(t,e){const n=t=>{if(t._vts){if(t._vts<=n.attached)return}else t._vts=Date.now();Vi(function(t,e){if(Mn(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map((t=>e=>!e._stopped&&t&&t(e)))}return e}(t,n.value),e,5,[t])};return n.value=t,n.attached=jl(),n}(r,i);Nl(t,n,o,a)}else o&&(!function(t,e,n,r){t.removeEventListener(e,n,r)}(t,n,o,a),s[e]=void 0)}}const Fl=/(?:Once|Passive|Capture)$/;let Bl=0;const Ul=Promise.resolve(),jl=()=>Bl||(Ul.then((()=>Bl=0)),Bl=Date.now());const Vl=t=>111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123;const Wl=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Mn(e)?t=>qn(e,t):e};function $l(t){t.target.composing=!0}function ql(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Hl=Symbol("_assign"),Yl={created(t,{modifiers:{lazy:e,trim:n,number:r}},i){t[Hl]=Wl(i);const s=r||i.props&&"number"===i.props.type;Nl(t,e?"change":"input",(e=>{if(e.target.composing)return;let r=t.value;n&&(r=r.trim()),s&&(r=Yn(r)),t[Hl](r)})),n&&Nl(t,"change",(()=>{t.value=t.value.trim()})),e||(Nl(t,"compositionstart",$l),Nl(t,"compositionend",ql),Nl(t,"change",ql))},mounted(t,{value:e}){t.value=null==e?"":e},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:r,trim:i,number:s}},o){if(t[Hl]=Wl(o),t.composing)return;const a=null==e?"":e;if((!s&&"number"!==t.type||/^0\d/.test(t.value)?t.value:Yn(t.value))!==a){if(document.activeElement===t&&"range"!==t.type){if(r&&e===n)return;if(i&&t.value.trim()===a)return}t.value=a}}},Xl=_n({patchProp:(t,e,n,r,i,s)=>{const o="svg"===i;"class"===e?function(t,e,n){const r=t[pl];r&&(e=(e?[e,...r]:[...r]).join(" ")),null==e?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}(t,r,o):"style"===e?function(t,e,n){const r=t.style,i=kn(n);let s=!1;if(n&&!i){if(e)if(kn(e))for(const t of e.split(";")){const e=t.slice(0,t.indexOf(":")).trim();null==n[e]&&Ol(r,e,"")}else for(const t in e)null==n[t]&&Ol(r,t,"");for(const t in n)"display"===t&&(s=!0),Ol(r,t,n[t])}else if(i){if(e!==n){const t=r[kl];t&&(n+=";"+t),r.cssText=n,s=Al.test(n)}}else e&&t.removeAttribute("style");Sl in t&&(t[Sl]=s?r.display:"",t[El]&&(r.display="none"))}(t,n,r):yn(e)?vn(e)||Dl(t,e,0,r,s):("."===e[0]?(e=e.slice(1),1):"^"===e[0]?(e=e.slice(1),0):function(t,e,n,r){if(r)return"innerHTML"===e||"textContent"===e||!!(e in t&&Vl(e)&&En(n));if("spellcheck"===e||"draggable"===e||"translate"===e)return!1;if("form"===e)return!1;if("list"===e&&"INPUT"===t.tagName)return!1;if("type"===e&&"TEXTAREA"===t.tagName)return!1;if("width"===e||"height"===e){const e=t.tagName;if("IMG"===e||"VIDEO"===e||"CANVAS"===e||"SOURCE"===e)return!1}if(Vl(e)&&kn(n))return!1;return e in t}(t,e,r,o))?(!function(t,e,n){if("innerHTML"===e||"textContent"===e){if(null==n)return;return void(t[e]=n)}const r=t.tagName;if("value"===e&&"PROGRESS"!==r&&!r.includes("-")){const i="OPTION"===r?t.getAttribute("value")||"":t.value,s=null==n?"":String(n);return i===s&&"_value"in t||(t.value=s),null==n&&t.removeAttribute(e),void(t._value=n)}let i=!1;if(""===n||null==n){const r=typeof t[e];"boolean"===r?n=ir(n):null==n&&"string"===r?(n="",i=!0):"number"===r&&(n=0,i=!0)}try{t[e]=n}catch(s){}i&&t.removeAttribute(e)}(t,e,r),t.tagName.includes("-")||"value"!==e&&"checked"!==e&&"selected"!==e||Rl(t,e,r,o,0,"value"!==e)):("true-value"===e?t._trueValue=r:"false-value"===e&&(t._falseValue=r),Rl(t,e,r,o))}},ul);let Gl; 32/*! 33 * vue-router v4.4.0 34 * (c) 2024 Eduardo San Martin Morote 35 * @license MIT 36 */ 37const Zl="undefined"!=typeof document;const Jl=Object.assign;function Ql(t,e){const n={};for(const r in e){const i=e[r];n[r]=tu(i)?i.map(t):t(i)}return n}const Kl=()=>{},tu=Array.isArray,eu=/#/g,nu=/&/g,ru=/\//g,iu=/=/g,su=/\?/g,ou=/\+/g,au=/%5B/g,lu=/%5D/g,uu=/%5E/g,cu=/%60/g,hu=/%7B/g,pu=/%7C/g,du=/%7D/g,fu=/%20/g;function mu(t){return encodeURI(""+t).replace(pu,"|").replace(au,"[").replace(lu,"]")}function gu(t){return mu(t).replace(ou,"%2B").replace(fu,"+").replace(eu,"%23").replace(nu,"%26").replace(cu,"`").replace(hu,"{").replace(du,"}").replace(uu,"^")}function yu(t){return null==t?"":function(t){return mu(t).replace(eu,"%23").replace(su,"%3F")}(t).replace(ru,"%2F")}function vu(t){try{return decodeURIComponent(""+t)}catch(e){}return""+t}const _u=/\/$/,xu=t=>t.replace(_u,"");function bu(t,e,n="/"){let r,i={},s="",o="";const a=e.indexOf("#");let l=e.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=e.slice(0,l),s=e.slice(l+1,a>-1?a:e.length),i=t(s)),a>-1&&(r=r||e.slice(0,a),o=e.slice(a,e.length)),r=function(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),r=t.split("/"),i=r[r.length-1];".."!==i&&"."!==i||r.push("");let s,o,a=n.length-1;for(s=0;s<r.length;s++)if(o=r[s],"."!==o){if(".."!==o)break;a>1&&a--}return n.slice(0,a).join("/")+"/"+r.slice(s).join("/")}(null!=r?r:e,n),{fullPath:r+(s&&"?")+s+o,path:r,query:i,hash:vu(o)}}function wu(t,e){return e&&t.toLowerCase().startsWith(e.toLowerCase())?t.slice(e.length)||"/":t}function Mu(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Tu(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!Su(t[n],e[n]))return!1;return!0}function Su(t,e){return tu(t)?Eu(t,e):tu(e)?Eu(e,t):t===e}function Eu(t,e){return tu(e)?t.length===e.length&&t.every(((t,n)=>t===e[n])):1===t.length&&t[0]===e}const ku={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Au,Cu,Ou,Lu;(Cu=Au||(Au={})).pop="pop",Cu.push="push",(Lu=Ou||(Ou={})).back="back",Lu.forward="forward",Lu.unknown="";const zu=/^[^#]+#/;function Pu(t,e){return t.replace(zu,"#")+e}const Ru=()=>({left:window.scrollX,top:window.scrollY});function Nu(t){let e;if("el"in t){const n=t.el,r="string"==typeof n&&n.startsWith("#"),i="string"==typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;e=function(t,e){const n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{behavior:e.behavior,left:r.left-n.left-(e.left||0),top:r.top-n.top-(e.top||0)}}(i,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(null!=e.left?e.left:window.scrollX,null!=e.top?e.top:window.scrollY)}
37function Iu(t,e){return(history.state?history.state.position-e:-1)+t}const Du=new Map;let Fu=()=>location.protocol+"//"+location.host;function Bu(t,e){const{pathname:n,search:r,hash:i}=e,s=t.indexOf("#");if(s>-1){let e=i.includes(t.slice(s))?t.slice(s).length:1,n=i.slice(e);return"/"!==n[0]&&(n="/"+n),wu(n,"")}return wu(n,t)+r+i}function Uu(t,e,n,r=!1,i=!1){return{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:i?Ru():null}}function ju(t){const e=function(t){const{history:e,location:n}=window,r={value:Bu(t,n)},i={value:e.state};function s(r,s,o){const a=t.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?t:t.slice(a))+r:Fu()+t+r;try{e[o?"replaceState":"pushState"](s,"",l),i.value=s}catch(u){console.error(u),n[o?"replace":"assign"](l)}}return i.value||s(r.value,{back:null,current:r.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0),{location:r,state:i,push:function(t,n){const o=Jl({},i.value,e.state,{forward:t,scroll:Ru()});s(o.current,o,!0),s(t,Jl({},Uu(r.value,t,null),{position:o.position+1},n),!1),r.value=t},replace:function(t,n){s(t,Jl({},e.state,Uu(i.value.back,t,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=t}}}(t=function(t){if(!t)if(Zl){const e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return"/"!==t[0]&&"#"!==t[0]&&(t="/"+t),xu(t)}(t)),n=function(t,e,n,r){let i=[],s=[],o=null;const a=({state:s})=>{const a=Bu(t,location),l=n.value,u=e.value;let c=0;if(s){if(n.value=a,e.value=s,o&&o===l)return void(o=null);c=u?s.position-u.position:0}else r(a);i.forEach((t=>{t(n.value,l,{delta:c,type:Au.pop,direction:c?c>0?Ou.forward:Ou.back:Ou.unknown})}))};function l(){const{history:t}=window;t.state&&t.replaceState(Jl({},t.state,{scroll:Ru()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){o=n.value},listen:function(t){i.push(t);const e=()=>{const e=i.indexOf(t);e>-1&&i.splice(e,1)};return s.push(e),e},destroy:function(){for(const t of s)t();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}}}(t,e.state,e.location,e.replace);const r=Jl({location:"",base:t,go:function(t,e=!0){e||n.pauseListeners(),history.go(t)},createHref:Pu.bind(null,t)},e,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>e.state.value}),r}function Vu(t){return"string"==typeof t||"symbol"==typeof t}const Wu=Symbol("");var $u,qu;function Hu(t,e){return Jl(new Error,{type:t,[Wu]:!0},e)}function Yu(t,e){return t instanceof Error&&Wu in t&&(null==e||!!(t.type&e))}(qu=$u||($u={}))[qu.aborted=4]="aborted",qu[qu.cancelled=8]="cancelled",qu[qu.duplicated=16]="duplicated";const Xu="[^/]+?",Gu={sensitive:!1,strict:!1,start:!0,end:!0},Zu=/[.+*?^${}()[\]/\\]/g;function Ju(t,e){let n=0;for(;n<t.length&&n<e.length;){const r=e[n]-t[n];if(r)return r;n++}return t.length<e.length?1===t.length&&80===t[0]?-1:1:t.length>e.length?1===e.length&&80===e[0]?1:-1:0}function Qu(t,e){let n=0;const r=t.score,i=e.score;for(;n<r.length&&n<i.length;){const t=Ju(r[n],i[n]);if(t)return t;n++}if(1===Math.abs(i.length-r.length)){if(Ku(r))return 1;if(Ku(i))return-1}return i.length-r.length}function Ku(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const tc={type:0,value:""},ec=/[a-zA-Z0-9_]/;function nc(t,e,n){const r=function(t,e){const n=Jl({},Gu,e),r=[];let i=n.start?"^":"";const s=[];for(const l of t){const t=l.length?[]:[90];n.strict&&!l.length&&(i+="/");for(let e=0;e<l.length;e++){const r=l[e];let o=40+(n.sensitive?.25:0);if(0===r.type)e||(i+="/"),i+=r.value.replace(Zu,"\\$&"),o+=40;else if(1===r.type){const{value:t,repeatable:n,optional:u,regexp:c}=r;s.push({name:t,repeatable:n,optional:u});const h=c||Xu;if(h!==Xu){o+=10;try{new RegExp(`(${h})`)}catch(a){throw new Error(`Invalid custom RegExp for param "${t}" (${h}): `+a.message)}}let p=n?`((?:${h})(?:/(?:${h}))*)`:`(${h})`;e||(p=u&&l.length<2?`(?:/${p})`:"/"+p),u&&(p+="?"),i+=p,o+=20,u&&(o+=-8),n&&(o+=-20),".*"===h&&
37(o+=-50)}t.push(o)}r.push(t)}if(n.strict&&n.end){const t=r.length-1;r[t][r[t].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&(i+="(?:/|$)");const o=new RegExp(i,n.sensitive?"":"i");return{re:o,score:r,keys:s,parse:function(t){const e=t.match(o),n={};if(!e)return null;for(let r=1;r<e.length;r++){const t=e[r]||"",i=s[r-1];n[i.name]=t&&i.repeatable?t.split("/"):t}return n},stringify:function(e){let n="",r=!1;for(const i of t){r&&n.endsWith("/")||(n+="/"),r=!1;for(const t of i)if(0===t.type)n+=t.value;else if(1===t.type){const{value:s,repeatable:o,optional:a}=t,l=s in e?e[s]:"";if(tu(l)&&!o)throw new Error(`Provided param "${s}" is an array but it is not repeatable (* or + modifiers)`);const u=tu(l)?l.join("/"):l;if(!u){if(!a)throw new Error(`Missing required param "${s}"`);i.length<2&&(n.endsWith("/")?n=n.slice(0,-1):r=!0)}n+=u}}return n||"/"}}}(function(t){if(!t)return[[]];if("/"===t)return[[tc]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(t){throw new Error(`ERR (${n})/"${u}": ${t}`)}let n=0,r=n;const i=[];let s;function o(){s&&i.push(s),s=[]}let a,l=0,u="",c="";function h(){u&&(0===n?s.push({type:0,value:u}):1===n||2===n||3===n?(s.length>1&&("*"===a||"+"===a)&&e(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:u,regexp:c,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):e("Invalid state to consume buffer"),u="")}function p(){u+=a}for(;l<t.length;)if(a=t[l++],"\\"!==a||2===n)switch(n){case 0:"/"===a?(u&&h(),o()):":"===a?(h(),n=1):p();break;case 4:p(),n=r;break;case 1:"("===a?n=2:ec.test(a)?p():(h(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&l--);break;case 2:")"===a?"\\"==c[c.length-1]?c=c.slice(0,-1)+a:n=3:c+=a;break;case 3:h(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&l--,c="";break;default:e("Unknown state")}else r=n,n=4;return 2===n&&e(`Unfinished custom RegExp for param "${u}"`),h(),o(),i}
37(t.path),n),i=Jl(r,{record:t,parent:e,children:[],alias:[]});return e&&!i.record.aliasOf==!e.record.aliasOf&&e.children.push(i),i}function rc(t,e){const n=[],r=new Map;function i(t,n,r){const a=!r,l=function(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:sc(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}(t);l.aliasOf=r&&r.record;const u=lc(e,t),c=[l];if("alias"in t){const e="string"==typeof t.alias?[t.alias]:t.alias;for(const t of e)c.push(Jl({},l,{components:r?r.record.components:l.components,path:t,aliasOf:r?r.record:l}))}let h,p;for(const e of c){const{path:c}=e;if(n&&"/"!==c[0]){const t=n.record.path,r="/"===t[t.length-1]?"":"/";e.path=n.record.path+(c&&r+c)}if(h=nc(e,n,u),r?r.alias.push(h):(p=p||h,p!==h&&p.alias.push(h),a&&t.name&&!oc(h)&&s(t.name)),uc(h)&&o(h),l.children){const t=l.children;for(let e=0;e<t.length;e++)i(t[e],h,r&&r.children[e])}r=r||h}return p?()=>{s(p)}:Kl}function s(t){if(Vu(t)){const e=r.get(t);e&&(r.delete(t),n.splice(n.indexOf(e),1),e.children.forEach(s),e.alias.forEach(s))}else{const e=n.indexOf(t);e>-1&&(n.splice(e,1),t.record.name&&r.delete(t.record.name),t.children.forEach(s),t.alias.forEach(s))}}function o(t){const e=function(t,e){let n=0,r=e.length;for(;n!==r;){const i=n+r>>1;Qu(t,e[i])<0?r=i:n=i+1}const i=function(t){let e=t;for(;e=e.parent;)if(uc(e)&&0===Qu(t,e))return e;return}(t);i&&(r=e.lastIndexOf(i,r-1));return r}(t,n);n.splice(e,0,t),t.record.name&&!oc(t)&&r.set(t.record.name,t)}return e=lc({strict:!1,end:!0,sensitive:!1},e),t.forEach((t=>i(t))),{addRoute:i,resolve:function(t,e){let i,s,o,a={};if("name"in t&&t.name){if(i=r.get(t.name),!i)throw Hu(1,{location:t});o=i.record.name,a=Jl(ic(e.params,i.keys.filter((t=>!t.optional)).concat(i.parent?i.parent.keys.filter((t=>t.optional)):[]).map((t=>t.name))),t.params&&ic(t.params,i.keys.map((t=>t.name)))),s=i.stringify(a)}else if(null!=t.path)s=t.path,i=n.find((t=>t.re.test(s))),i&&(a=i.parse(s),o=i.record.name);else{if(i=e.name?r.get(e.name):n.find((t=>t.re.test(e.path))),!i)throw Hu(1,{location:t,currentLocation:e});o=i.record.name,a=Jl({},e.params,t.params),s=i.stringify(a)}const l=[];let u=i;for(;u;)l.unshift(u.record),u=u.parent;return{name:o,path:s,params:a,matched:l,meta:ac(l)}},removeRoute:s,clearRoutes:function(){n.length=0,r.clear()},getRoutes:function(){return n},getRecordMatcher:function(t){return r.get(t)}}}function ic(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}function sc(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const r in t.components)e[r]="object"==typeof n?n[r]:n;return e}function oc(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function ac(t){return t.reduce(((t,e)=>Jl(t,e.meta)),{})}function lc(t,e){const n={};for(const r in t)n[r]=r in e?e[r]:t[r];return n}function uc({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function cc(t){const e={};if(""===t||"?"===t)return e;const n=("?"===t[0]?t.slice(1):t).split("&");for(let r=0;r<n.length;++r){const t=n[r].replace(ou," "),i=t.indexOf("="),s=vu(i<0?t:t.slice(0,i)),o=i<0?null:vu(t.slice(i+1));if(s in e){let t=e[s];tu(t)||(t=e[s]=[t]),t.push(o)}else e[s]=o}return e}function hc(t){let e="";for(let n in t){const r=t[n];if(n=gu(n).replace(iu,"%3D"),null==r){void 0!==r&&(e+=(e.length?"&":"")+n);continue}(tu(r)?r.map((t=>t&&gu(t))):[r&&gu(r)]).forEach((t=>{void 0!==t&&(e+=(e.length?"&":"")+n,null!=t&&(e+="="+t))}))}return e}function pc(t){const e={};for(const n in t){const r=t[n];void 0!==r&&(e[n]=tu(r)?r.map((t=>null==t?null:""+t)):null==r?r:""+r)}return e}const dc=Symbol(""),fc=Symbol(""),mc=Symbol(""),gc=Symbol(""),yc=Symbol("");function vc(){let t=[];return{add:function(e){return t.push(e),()=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)}},list:()=>t.slice(),reset:function(){t=[]}}}function _c(t,e,n,r,i,s=t=>t()){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise(((a,l)=>{const u=t=>{var s;!1===t?l(Hu(4,{from:n,to:e})):t instanceof Error?l(t):"string"==typeof(s=t)||s&&"object"==typeof s?l(Hu(2,{from:e,to:t})):(o&&r.enterCallbacks[i]===o&&"function"==typeof t&&o.push(t),a())},c=s((()=>t.call(r&&r.instances[i],e,n,u)));let h=Promise.resolve(c);t.length<3&&(h=h.then(u)),h.catch((t=>l(t)))}))}function xc(t,e,n,r,i=t=>t()){const s=[];for(const a of t)for(const t in a.components){let l=a.components[t];if("beforeRouteEnter"===e||a.instances[t])if("object"==typeof(o=l)||"displayName"in o||"props"in o||"__vccOpts"in o){const o=(l.__vccOpts||l)[e];o&&s.push(_c(o,n,r,a,t,i))}else{let o=l();s.push((()=>o.then((s=>{if(!s)return Promise.reject(new Error(`Couldn't resolve component "${t}" at "${a.path}"`));const o=(l=s).__esModule||"Module"===l[Symbol.toStringTag]?s.default:s;var l;a.components[t]=o;const u=(o.__vccOpts||o)[e];return u&&_c(u,n,r,a,t,i)()}))))}}var o;return s}function bc(t){const e=So(mc),n=So(gc),r=il((()=>{const n=Ii(t.to);return e.resolve(n)})),i=il((()=>{const{matched:t}=r.value,{length:e}=t,i=t[e-1],s=n.matched;
37if(!i||!s.length)return-1;const o=s.findIndex(Mu.bind(null,i));if(o>-1)return o;const a=Mc(t[e-2]);return e>1&&Mc(i)===a&&s[s.length-1].path!==a?s.findIndex(Mu.bind(null,t[e-2])):o})),s=il((()=>i.value>-1&&function(t,e){for(const n in e){const r=e[n],i=t[n];if("string"==typeof r){if(r!==i)return!1}else if(!tu(i)||i.length!==r.length||r.some(((t,e)=>t!==i[e])))return!1}return!0}(n.params,r.value.params))),o=il((()=>i.value>-1&&i.value===n.matched.length-1&&Tu(n.params,r.value.params)));return{route:r,href:il((()=>r.value.href)),isActive:s,isExactActive:o,navigate:function(n={}){return function(t){if(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)return;if(t.defaultPrevented)return;if(void 0!==t.button&&0!==t.button)return;if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}t.preventDefault&&t.preventDefault();return!0}(n)?e[Ii(t.replace)?"replace":"push"](Ii(t.to)).catch(Kl):Promise.resolve()}}}const wc=As({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:bc,setup(t,{slots:e}){const n=gi(bc(t)),{options:r}=So(mc),i=il((()=>({[Tc(t.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Tc(t.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const r=e.default&&e.default(n);return t.custom?r:sl("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function Mc(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Tc=(t,e,n)=>null!=t?t:null!=e?e:n;function Sc(t,e){if(!t)return null;const n=t(e);return 1===n.length?n[0]:n}const Ec=As({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const r=So(yc),i=il((()=>t.route||r.value)),s=So(fc,0),o=il((()=>{let t=Ii(s);const{matched:e}=i.value;let n;for(;(n=e[t])&&!n.components;)t++;return t})),a=il((()=>i.value.matched[o.value]));To(fc,il((()=>o.value+1))),To(dc,a),To(yc,i);const l=zi();return ra((()=>[l.value,a.value,t.name]),(([t,e,n],[r,i,s])=>{e&&(e.instances[n]=t,i&&i!==e&&t&&t===r&&(e.leaveGuards.size||(e.leaveGuards=i.leaveGuards),e.updateGuards.size||(e.updateGuards=i.updateGuards))),!t||!e||i&&Mu(e,i)&&r||(e.enterCallbacks[n]||[]).forEach((e=>e(t)))}),{flush:"post"}),()=>{const r=i.value,s=t.name,o=a.value,u=o&&o.components[s];if(!u)return Sc(n.default,{Component:u,route:r});const c=o.props[s],h=c?!0===c?r.params:"function"==typeof c?c(r):c:null,p=sl(u,Jl({},h,e,{onVnodeUnmounted:t=>{t.component.isUnmounted&&(o.instances[s]=null)},ref:l}));return Sc(n.default,{Component:p,route:r})||p}}});function kc(t){const e=rc(t.routes,t),n=t.parseQuery||cc,r=t.stringifyQuery||hc,i=t.history,s=vc(),o=vc(),a=vc(),l=Pi(ku);let u=ku;Zl&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Ql.bind(null,(t=>""+t)),h=Ql.bind(null,yu),p=Ql.bind(null,vu);function d(t,s){if(s=Jl({},s||l.value),"string"==typeof t){const r=bu(n,t,s.path),o=e.resolve({path:r.path},s),a=i.createHref(r.fullPath);return Jl(r,o,{params:p(o.params),hash:vu(r.hash),redirectedFrom:void 0,href:a})}let o;if(null!=t.path)o=Jl({},t,{path:bu(n,t.path,s.path).path});else{const e=Jl({},t.params);for(const t in e)null==e[t]&&delete e[t];o=Jl({},t,{params:h(e)}),s.params=h(s.params)}const a=e.resolve(o,s),u=t.hash||"";a.params=c(p(a.params));const d=function(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}(r,Jl({},t,{hash:(f=u,mu(f).replace(hu,"{").replace(du,"}").replace(uu,"^")),path:a.path}));var f;const m=i.createHref(d);return Jl({fullPath:d,hash:u,query:r===hc?pc(t.query):t.query||{}},a,{redirectedFrom:void 0,href:m})}function f(t){return"string"==typeof t?bu(n,t,l.value.path):Jl({},t)}function m(t,e){if(u!==t)return Hu(8,{from:e,to:t})}function g(t){return v(t)}function y(t){const e=t.matched[t.matched.length-1];if(e&&e.redirect){const{redirect:n}=e;let r="function"==typeof n?n(t):n;return"string"==typeof r&&(r=r.includes("?")||r.includes("#")?r=f(r):{path:r},r.params={}),Jl({query:t.query,hash:t.hash,params:null!=r.path?{}:t.params},r)}}function v(t,e){const n=u=d(t),i=l.value,s=t.state,o=t.force,a=!0===t.replace,c=y(n);
37if(c)return v(Jl(f(c),{state:"object"==typeof c?Jl({},s,c.state):s,force:o,replace:a}),e||n);const h=n;let p;return h.redirectedFrom=e,!o&&function(t,e,n){const r=e.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Mu(e.matched[r],n.matched[i])&&Tu(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}(r,i,n)&&(p=Hu(16,{to:h,from:i}),L(i,i,!0,!1)),(p?Promise.resolve(p):b(h,i)).catch((t=>Yu(t)?Yu(t,2)?t:O(t):C(t,h,i))).then((t=>{if(t){if(Yu(t,2))return v(Jl({replace:a},f(t.to),{state:"object"==typeof t.to?Jl({},s,t.to.state):s,force:o}),e||h)}else t=M(h,i,!0,a,s);return w(h,i,t),t}))}function _(t,e){const n=m(t,e);return n?Promise.reject(n):Promise.resolve()}function x(t){const e=R.values().next().value;return e&&"function"==typeof e.runWithContext?e.runWithContext(t):t()}function b(t,e){let n;const[r,i,a]=function(t,e){const n=[],r=[],i=[],s=Math.max(e.matched.length,t.matched.length);for(let o=0;o<s;o++){const s=e.matched[o];s&&(t.matched.find((t=>Mu(t,s)))?r.push(s):n.push(s));const a=t.matched[o];a&&(e.matched.find((t=>Mu(t,a)))||i.push(a))}return[n,r,i]}(t,e);n=xc(r.reverse(),"beforeRouteLeave",t,e);for(const s of r)s.leaveGuards.forEach((r=>{n.push(_c(r,t,e))}));const l=_.bind(null,t,e);return n.push(l),I(n).then((()=>{n=[];for(const r of s.list())n.push(_c(r,t,e));return n.push(l),I(n)})).then((()=>{n=xc(i,"beforeRouteUpdate",t,e);for(const r of i)r.updateGuards.forEach((r=>{n.push(_c(r,t,e))}));return n.push(l),I(n)})).then((()=>{n=[];for(const r of a)if(r.beforeEnter)if(tu(r.beforeEnter))for(const i of r.beforeEnter)n.push(_c(i,t,e));else n.push(_c(r.beforeEnter,t,e));return n.push(l),I(n)})).then((()=>(t.matched.forEach((t=>t.enterCallbacks={})),n=xc(a,"beforeRouteEnter",t,e,x),n.push(l),I(n)))).then((()=>{n=[];for(const r of o.list())n.push(_c(r,t,e));return n.push(l),I(n)})).catch((t=>Yu(t,8)?t:Promise.reject(t)))}function w(t,e,n){a.list().forEach((r=>x((()=>r(t,e,n)))))}function M(t,e,n,r,s){const o=m(t,e);if(o)return o;const a=e===ku,u=Zl?history.state:{};n&&(r||a?i.replace(t.fullPath,Jl({scroll:a&&u&&u.scroll},s)):i.push(t.fullPath,s)),l.value=t,L(t,e,n,a),O()}let T;function S(){T||(T=i.listen(((t,e,n)=>{if(!N.listening)return;const r=d(t),s=y(r);if(s)return void v(Jl(s,{replace:!0}),r).catch(Kl);u=r;const o=l.value;var a,c;Zl&&(a=Iu(o.fullPath,n.delta),c=Ru(),Du.set(a,c)),b(r,o).catch((t=>Yu(t,12)?t:Yu(t,2)?(v(t.to,r).then((t=>{Yu(t,20)&&!n.delta&&n.type===Au.pop&&i.go(-1,!1)})).catch(Kl),Promise.reject()):(n.delta&&i.go(-n.delta,!1),C(t,r,o)))).then((t=>{(t=t||M(r,o,!1))&&(n.delta&&!Yu(t,8)?i.go(-n.delta,!1):n.type===Au.pop&&Yu(t,20)&&i.go(-1,!1)),w(r,o,t)})).catch(Kl)})))}let E,k=vc(),A=vc();function C(t,e,n){O(t);const r=A.list();return r.length?r.forEach((r=>r(t,e,n))):console.error(t),Promise.reject(t)}function O(t){return E||(E=!t,S(),k.list().forEach((([e,n])=>t?n(t):e())),k.reset()),t}function L(e,n,r,i){const{scrollBehavior:s}=t;if(!Zl||!s)return Promise.resolve();const o=!r&&function(t){const e=Du.get(t);return Du.delete(t),e}(Iu(e.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return Ki().then((()=>s(e,n,o))).then((t=>t&&Nu(t))).catch((t=>C(t,e,n)))}const z=t=>i.go(t);let P;const R=new Set,N={currentRoute:l,listening:!0,addRoute:function(t,n){let r,i;return Vu(t)?(r=e.getRecordMatcher(t),i=n):i=t,e.addRoute(i,r)},removeRoute:function(t){const n=e.getRecordMatcher(t);n&&e.removeRoute(n)},clearRoutes:e.clearRoutes,hasRoute:function(t){return!!e.getRecordMatcher(t)},getRoutes:function(){return e.getRoutes().map((t=>t.record))},resolve:d,options:t,push:g,replace:function(t){return g(Jl(f(t),{replace:!0}))},go:z,back:()=>z(-1),forward:()=>z(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:A.add,isReady:function(){return E&&l.value!==ku?Promise.resolve():new Promise(((t,e)=>{k.add([t,e])}))},install(t){t.component("RouterLink",wc),t.component("RouterView",Ec),t.config.globalProperties.$router=this,Object.defineProperty(t.config.globalProperties,"$route",{enumerable:!0,get:()=>Ii(l)}),Zl&&!P&&l.value===ku&&(P=!0,g(i.location).catch((t=>{})));const e={};for(const r in ku)Object.defineProperty(e,r,{get:()=>l.value[r],enumerable:!0});t.provide(mc,this),t.provide(gc,yi(e)),t.provide(yc,l);const n=t.unmount;
37R.add(t),t.unmount=function(){R.delete(t),R.size<1&&(u=ku,T&&T(),T=null,l.value=ku,P=!1,E=!1),n()}}};function I(t){return t.reduce(((t,e)=>t.then((()=>x(e)))),Promise.resolve())}return N}function Ac(){return So(mc)}function Cc(t){return So(gc)}const Oc={politeness:"polite"},Lc=gi({content:"",politeness:Oc.politeness});function zc(t,e=Oc.politeness){Nc(),Lc.politeness=e,Lc.content=t}const Pc=t=>{zc(t,"polite")};function Rc(t){zc(t,"assertive")}function Nc(){Lc.content="",Lc.politeness=Oc.politeness}function Ic(){return{announcer:Lc,setAnnouncer:zc,announcePolite:Pc,announceAssertive:Rc,resetAnnouncer:Nc}}const Dc=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Fc=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Bc=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Uc(t,e){if(!("__proto__"===t||"constructor"===t&&e&&"object"==typeof e&&"prototype"in e))return e;!function(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}(t)}function jc(t,e={}){if("string"!=typeof t)return t;const n=t.trim();if('"'===t[0]&&t.endsWith('"')&&!t.includes("\\"))return n.slice(1,-1);if(n.length<=9){const t=n.toLowerCase();if("true"===t)return!0;if("false"===t)return!1;if("undefined"===t)return;if("null"===t)return null;if("nan"===t)return Number.NaN;if("infinity"===t)return Number.POSITIVE_INFINITY;if("-infinity"===t)return Number.NEGATIVE_INFINITY}if(!Bc.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(Dc.test(t)||Fc.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,Uc)}return JSON.parse(t)}catch(r){if(e.strict)throw r;return t}}const Vc=/#/g,Wc=/&/g,$c=/\//g,qc=/=/g,Hc=/\+/g,Yc=/%5e/gi,Xc=/%60/gi,Gc=/%7c/gi,Zc=/%20/gi;function Jc(t){return(e="string"==typeof t?t:JSON.stringify(t),encodeURI(""+e).replace(Gc,"|")).replace(Hc,"%2B").replace(Zc,"+").replace(Vc,"%23").replace(Wc,"%26").replace(Xc,"`").replace(Yc,"^").replace($c,"%2F");var e}function Qc(t){return Jc(t).replace(qc,"%3D")}function Kc(t=""){try{return decodeURIComponent(""+t)}catch{return""+t}}function th(t){return Kc(t.replace(Hc," "))}function eh(t=""){const e={};"?"===t[0]&&(t=t.slice(1));for(const n of t.split("&")){const t=n.match(/([^=]+)=?(.*)/)||[];if(t.length<2)continue;const r=Kc(t[1].replace(Hc," "));if("__proto__"===r||"constructor"===r)continue;const i=th(t[2]||"");void 0===e[r]?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]}return e}function nh(t){return Object.keys(t).filter((e=>void 0!==t[e])).map((e=>{return n=e,"number"!=typeof(r=t[e])&&"boolean"!=typeof r||(r=String(r)),r?Array.isArray(r)?r.map((t=>`${Qc(n)}=${Jc(t)}`)).join("&"):`${Qc(n)}=${Jc(r)}`:Qc(n);var n,r})).filter(Boolean).join("&")}const rh=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,ih=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,sh=/^([/\\]\s*){2,}[^/\\]/,oh=/^\.?\//;function ah(t,e={}){return"boolean"==typeof e&&(e={acceptRelative:e}),e.strict?rh.test(t):ih.test(t)||!!e.acceptRelative&&sh.test(t)}function lh(t="",e){return t.endsWith("/")?t:t+"/"}function uh(t,e){const n=function(t=""){const e=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(e){const[,t,n=""]=e;return{protocol:t.toLowerCase(),pathname:n,href:t+n,auth:"",host:"",search:"",hash:""}}if(!ah(t,{acceptRelative:!0}))return ph(t);const[,n="",r,i=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,s="",o=""]=i.match(/([^#/?]*)(.*)?/)||[];"file:"===n&&(o=o.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:a,search:l,hash:u}=ph(o);return{protocol:n.toLowerCase(),auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:s,pathname:a,search:l,hash:u,[hh]:!n}}(t),r={...eh(n.search),...e};return n.search=nh(r),function(t){const e=t.pathname||"",n=t.search?(t.search.startsWith("?")?"":"?")+t.search:"",r=t.hash||"",i=t.auth?t.auth+"@":"",s=t.host||"",o=t.protocol||t[hh]?(t.protocol||"")+"//":"";return o+i+s+e+n+r}(n)}function ch(t,...e){let n=t||"";for(const r of e.filter((t=>function(t){return t&&"/"!==t}(t))))if(n){const t=r.replace(oh,"");n=lh(n)+t}else n=r;return n}const hh=Symbol.for("ufo:protocolRelative");function ph(t=""){const[e="",n="",r=""]=(t.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:e,search:n,hash:r}}
37class dh extends Error{constructor(t,e){super(t,e),this.name="FetchError",(null==e?void 0:e.cause)&&!this.cause&&(this.cause=e.cause)}}const fh=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function mh(t="GET"){return fh.has(t.toUpperCase())}const gh=new Set(["image/svg","application/xml","application/xhtml","application/html"]),yh=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function vh(t,e,n=globalThis.Headers){const r={...e,...t};if((null==e?void 0:e.params)&&(null==t?void 0:t.params)&&(r.params={...null==e?void 0:e.params,...null==t?void 0:t.params}),(null==e?void 0:e.query)&&(null==t?void 0:t.query)&&(r.query={...null==e?void 0:e.query,...null==t?void 0:t.query}),(null==e?void 0:e.headers)&&(null==t?void 0:t.headers)){r.headers=new n((null==e?void 0:e.headers)||{});for(const[e,i]of new n((null==t?void 0:t.headers)||{}))r.headers.set(e,i)}return r}const _h=new Set([408,409,425,429,500,502,503,504]),xh=new Set([101,204,205,304]);const bh=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw new Error("unable to locate global object")}(),wh=function t(e={}){const{fetch:n=globalThis.fetch,Headers:r=globalThis.Headers,AbortController:i=globalThis.AbortController}=e;async function s(t){const e=t.error&&"AbortError"===t.error.name&&!t.options.timeout||!1;if(!1!==t.options.retry&&!e){let e;e="number"==typeof t.options.retry?t.options.retry:mh(t.options.method)?0:1;const n=t.response&&t.response.status||500;if(e>0&&(Array.isArray(t.options.retryStatusCodes)?t.options.retryStatusCodes.includes(n):_h.has(n))){const n=t.options.retryDelay||0;return n>0&&await new Promise((t=>setTimeout(t,n))),o(t.request,{...t.options,retry:e-1})}}const n=function(t){var e,n,r,i,s;const o=(null==(e=t.error)?void 0:e.message)||(null==(n=t.error)?void 0:n.toString())||"",a=(null==(r=t.request)?void 0:r.method)||(null==(i=t.options)?void 0:i.method)||"GET",l=(null==(s=t.request)?void 0:s.url)||String(t.request)||"/",u=`[${a}] ${JSON.stringify(l)}`,c=t.response?`${t.response.status} ${t.response.statusText}`:"<no response>",h=new dh(`${u}: ${c}${o?` ${o}`:""}`,t.error?{cause:t.error}:void 0);for(const p of["request","options","response"])Object.defineProperty(h,p,{get:()=>t[p]});for(const[p,d]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(h,p,{get:()=>t.response&&t.response[d]});return h}(t);throw Error.captureStackTrace&&Error.captureStackTrace(n,o),n}const o=async function(t,o={}){var a;const l={request:t,options:vh(o,e.defaults,r),response:void 0,error:void 0};let u;if(l.options.method=null==(a=l.options.method)?void 0:a.toUpperCase(),l.options.onRequest&&await l.options.onRequest(l),"string"==typeof l.request&&(l.options.baseURL&&(l.request=function(t,e){if(!(n=e)||"/"===n||ah(t))return t;var n;const r=function(t=""){return(function(t=""){return t.endsWith("/")}(t)?t.slice(0,-1):t)||"/"}(e);return t.startsWith(r)?t:ch(r,t)}(l.request,l.options.baseURL)),(l.options.query||l.options.params)&&(l.request=uh(l.request,{...l.options.params,...l.options.query}))),l.options.body&&mh(l.options.method)&&(!function(t){if(void 0===t)return!1;const e=typeof t;return"string"===e||"number"===e||"boolean"===e||null===e||"object"===e&&(!!Array.isArray(t)||!t.buffer&&(t.constructor&&"Object"===t.constructor.name||"function"==typeof t.toJSON))}(l.options.body)?("pipeTo"in l.options.body&&"function"==typeof l.options.body.pipeTo||"function"==typeof l.options.body.pipe)&&("duplex"in l.options||(l.options.duplex="half")):(l.options.body="string"==typeof l.options.body?l.options.body:JSON.stringify(l.options.body),l.options.headers=new r(l.options.headers||{}),l.options.headers.has("content-type")||l.options.headers.set("content-type","application/json"),l.options.headers.has("accept")||l.options.headers.set("accept","application/json"))),!l.options.signal&&l.options.timeout){const t=new i;u=setTimeout((()=>t.abort()),l.options.timeout),l.options.signal=t.signal}try{l.response=await n(l.request,l.options)}catch(c){return l.error=c,l.options.onRequestError&&await l.options.onRequestError(l),await s(l)}finally{u&&clearTimeout(u)}if(l.response.body&&!xh.has(l.response.status)&&"HEAD"!==l.options.method){const t=(l.options.parseResponse?"json":l.options.responseType)||function(t=""){if(!t)return"json";const e=t.split(";").shift()||"";return yh.test(e)?"json":gh.has(e)||e.startsWith("text/")?"text":"blob"}(l.response.headers.get("content-type")||"");switch(t){case"json":{const t=await l.response.text(),e=l.options.parseResponse||jc;l.response._data=e(t);break}case"stream":l.response._data=l.response.body;break;default:l.response._data=await l.response[t]()}}return l.options.onResponse&&await l.options.onResponse(l),!l.options.ignoreResponseError&&l.response.status>=400&&l.response.status<600?(l.options.onResponseError&&await l.options.onResponseError(l),await s(l)):l.response},a=async function(t,e){return(await o(t,e))._data};return a.raw=o,a.native=(...t)=>n(...t),a.create=(n={})=>t({...e,defaults:{...e.defaults,...n}}),a}({fetch:bh.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Headers:bh.Headers,AbortController:bh.AbortController}),Mh=wh,Th="undefined"!=typeof window,Sh=(t,e=!1)=>e?Symbol.for(t):Symbol(t),Eh=(t,e,n)=>kh({l:t,k:e,s:n}),kh=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ah=t=>"number"==typeof t&&isFinite(t),Ch=t=>"[object Date]"===qh(t),Oh=t=>"[object RegExp]"===qh(t),Lh=t=>Hh(t)&&0===Object.keys(t).length,zh=Object.assign;let Ph;const Rh=()=>Ph||(Ph="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function Nh(t){return t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const Ih=Object.prototype.hasOwnProperty;function Dh(t,e){return Ih.call(t,e)}const Fh=Array.isArray,Bh=t=>"function"==typeof t,Uh=t=>"string"==typeof t,jh=t=>"boolean"==typeof t,Vh=t=>null!==t&&"object"==typeof t,Wh=t=>Vh(t)&&Bh(t.then)&&Bh(t.catch),$h=Object.prototype.toString,qh=t=>$h.call(t),Hh=t=>{if(!Vh(t))return!1;const e=Object.getPrototypeOf(t);return null===e||e.constructor===Object};function Yh(t){let e=t;return()=>++e}function Xh(t,e){"undefined"!=typeof console&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const Gh=t=>!Vh(t)||Fh(t);function Zh(t,e){if(Gh(t)||Gh(e))throw new Error("Invalid value");
vendor: 9,314 bytes, lines 37-42
37const n=[{src:t,des:e}];for(;n.length;){const{src:t,des:e}=n.pop();Object.keys(t).forEach((r=>{Gh(t[r])||Gh(e[r])?e[r]=t[r]:n.push({src:t[r],des:e[r]})}))}} 38/*! 39 * message-compiler v9.13.1 40 * (c) 2024 kazuya kawaguchi 41 * Released under the MIT License. 42 */function Jh(t,e,n){return{start:t,end:e}}const Qh=/\{([0-9a-zA-Z]+)\}/g;function Kh(t,...e){return 1===e.length&&np(e[0])&&(e=e[0]),e&&e.hasOwnProperty||(e={}),t.replace(Qh,((t,n)=>e.hasOwnProperty(n)?e[n]:""))}const tp=Object.assign,ep=t=>"string"==typeof t,np=t=>null!==t&&"object"==typeof t;function rp(t,e=""){return t.reduce(((t,n,r)=>0===r?t+n:t+e+n),"")}const ip={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},sp={[ip.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};const op={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},ap={[op.EXPECTED_TOKEN]:"Expected token: '{0}'",[op.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[op.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[op.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[op.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[op.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[op.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[op.EMPTY_PLACEHOLDER]:"Empty placeholder",[op.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[op.INVALID_LINKED_FORMAT]:"Invalid linked format",[op.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[op.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[op.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[op.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[op.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[op.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function lp(t,e,n={}){const{domain:r,messages:i,args:s}=n,o=Kh((i||ap)[t]||"",...s||[]),a=new SyntaxError(String(o));return a.code=t,e&&(a.location=e),a.domain=r,a}function up(t){throw t}const cp=" ",hp="\r",pp="\n",dp=String.fromCharCode(8232),fp=String.fromCharCode(8233);function mp(t){const e=t;let n=0,r=1,i=1,s=0;const o=t=>e[t]===hp&&e[t+1]===pp,a=t=>e[t]===fp,l=t=>e[t]===dp,u=t=>o(t)||(t=>e[t]===pp)(t)||a(t)||l(t),c=t=>o(t)||a(t)||l(t)?pp:e[t];function h(){return s=0,u(n)&&(r++,i=0),o(n)&&n++,n++,i++,e[n]}return{index:()=>n,line:()=>r,column:()=>i,peekOffset:()=>s,charAt:c,currentChar:()=>c(n),currentPeek:()=>c(n+s),next:h,peek:function(){return o(n+s)&&s++,s++,e[n+s]},reset:function(){n=0,r=1,i=1,s=0},resetPeek:function(t=0){s=t},skipToPeek:function(){const t=n+s;for(;t!==n;)h();s=0}}}const gp=void 0,yp="'",vp="tokenizer";function _p(t,e={}){const n=!1!==e.location,r=mp(t),i=()=>r.index(),s=()=>{return t=r.line(),e=r.column(),n=r.index(),{line:t,column:e,offset:n};var t,e,n},o=s(),a=i(),l={currentType:14,offset:a,startLoc:o,endLoc:o,lastType:14,lastOffset:a,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:c}=e;function h(t,e,r,...i){const s=u();if(e.column+=r,e.offset+=r,c){const r=lp(t,n?Jh(s.startLoc,e):null,{domain:vp,args:i});c(r)}}function p(t,e,r){t.endLoc=s(),t.currentType=e;const i={type:e};return n&&(i.loc=Jh(t.startLoc,t.endLoc)),null!=r&&(i.value=r),i}const d=t=>p(t,14);function f(t,e){return t.currentChar()===e?(t.next(),e):(h(op.EXPECTED_TOKEN,s(),0,e),"")}function m(t){let e="";for(;t.currentPeek()===cp||t.currentPeek()===pp;)e+=t.currentPeek(),t.peek();return e}function g(t){const e=m(t);return t.skipToPeek(),e}function y(t){if(t===gp)return!1;const e=t.charCodeAt(0);return e>=97&&e<=122||e>=65&&e<=90||95===e}function v(t,e){const{currentType:n}=e;if(2!==n)return!1;m(t);const r=function(t){if(t===gp)return!1;const e=t.charCodeAt(0);return e>=48&&e<=57}("-"===t.currentPeek()?t.peek():t.currentPeek());return t.resetPeek(),r}function _(t){m(t);const e="|"===t.currentPeek();return t.resetPeek(),e}function x(t,e=!0){const n=(e=!1,r="",i=!1)=>{const s=t.currentPeek();return"{"===s?"%"!==r&&e:"@"!==s&&s?"%"===s?(t.peek(),n(e,"%",!0)):"|"===s?!("%"!==r&&!i)||!(r===cp||r===pp):s===cp?(t.peek(),n(!0,cp,i)):s!==pp||(t.peek(),n(!0,pp,i)):"%"===r||e},r=n();return e&&t.resetPeek(),r}function b(t,e){const n=t.currentChar();return n===gp?gp:e(n)?(t.next(),n):null}function w(t){const e=t.charCodeAt(0);return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||95===e||36===e}function M(t){return b(t,w)}function T(t){const e=t.charCodeAt(0);return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||95===e||36===e||45===e}function S(t){return b(t,T)}function E(t){const e=t.charCodeAt(0);return e>=48&&e<=57}function k(t){return b(t,E)}function A(t){const e=t.charCodeAt(0);return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function C(t){return b(t,A)}function O(t){let e="",n="";for(;e=k(t);)n+=e;return n}function L(t){let e="";for(;;){const n=t.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if("%"===n){if(!x(t))break;e+=n,t.next()}else if(n===cp||n===pp)if(x(t))e+=n,t.next();else{if(_(t))break;e+=n,t.next()}else e+=n,t.next()}return e}function z(t){return t!==yp&&t!==pp}function P(t){const e=t.currentChar();switch(e){case"\\":case"'":return t.next(),`\\${e}`;case"u":return R(t,e,4);case"U":return R(t,e,6);default:return h(op.UNKNOWN_ESCAPE_SEQUENCE,s(),0,e),""}}function R(t,e,n){f(t,e);let r="";for(let i=0;i<n;i++){const n=C(t);if(!n){h(op.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${e}${r}${t.currentChar()}`);break}r+=n}return`\\${e}${r}`}function N(t){return"{"!==t&&"}"!==t&&t!==cp&&t!==pp}function I(t){g(t);const e=f(t,"|");return g(t),e}function D(t,e){let n=null;switch(t.currentChar()){case"{":return e.braceNest>=1&&h(op.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),t.next(),n=p(e,2,"{"),g(t),e.braceNest++,n;case"}":return e.braceNest>0&&2===e.currentType&&h(op.EMPTY_PLACEHOLDER,s(),0),t.next(),n=p(e,3,"}"),e.braceNest--,e.braceNest>0&&g(t),e.inLinked&&0===e.braceNest&&(e.inLinked=!1),n;case"@":return e.braceNest>0&&h(op.UNTERMINATED_CLOSING_BRACE,s(),0),n=F(t,e)||d(e),e.braceNest=0,n;default:{let r=!0,i=!0,o=!0;if(_(t))return e.braceNest>0&&h(op.UNTERMINATED_CLOSING_BRACE,s(),0),n=p(e,1,I(t)),e.braceNest=0,e.inLinked=!1,n;if(e.braceNest>0&&(5===e.currentType||6===e.currentType||7===e.currentType))return h(op.UNTERMINATED_CLOSING_BRACE,s(),0),e.braceNest=0,B(t,e);if(r=function(t,e){const{currentType:n}=e;if(2!==n)return!1;m(t);const r=y(t.currentPeek());return t.resetPeek(),r}(t,e))return n=p(e,5,function(t){g(t);let e="",n="";for(;e=S(t);)n+=e;return t.currentChar()===gp&&h(op.UNTERMINATED_CLOSING_BRACE,s(),0),n}(t)),g(t),n;if(i=v(t,e))return n=p(e,6,function(t){g(t);let e="";return"-"===t.currentChar()?(t.next(),e+=`-${O(t)}`):e+=O(t),t.currentChar()===gp&&h(op.UNTERMINATED_CLOSING_BRACE,s(),0),e}(t)),g(t),n;if(o=function(t,e){const{currentType:n}=e;if(2!==n)return!1;m(t);const r=t.currentPeek()===yp;return t.resetPeek(),r}(t,e))return n=p(e,7,function(t){g(t),f(t,"'");let e="",n="";for(;e=b(t,z);)n+="\\"===e?P(t):e;const r=t.currentChar();return r===pp||r===gp?(h(op.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),r===pp&&(t.next(),f(t,"'")),n):(f(t,"'"),n)}(t)),g(t),n;if(!r&&!i&&!o)return n=p(e,13,function(t){g(t);let e="",n="";for(;e=b(t,N);)n+=e;return n}(t)),h(op.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,n.value),g(t),n;break}}return n}function F(t,e){const{currentType:n}=e;let r=null;const i=t.currentChar();switch(8!==n&&9!==n&&12!==n&&10!==n||i!==pp&&i!==cp||h(op.INVALID_LINKED_FORMAT,s(),0),i){case"@":return t.next(),r=p(e,8,"@"),e.inLinked=!0,r;case".":return g(t),t.next(),p(e,9,".");case":":return g(t),t.next(),p(e,10,":");default:return _(t)?(r=p(e,1,I(t)),e.braceNest=0,e.inLinked=!1,r):function(t,e){const{currentType:n}=e;if(8!==n)return!1;m(t);const r="."===t.currentPeek();return t.resetPeek(),r}(t,e)||function(t,e){const{currentType:n}=e;if(8!==n&&12!==n)return!1;m(t);const r=":"===t.currentPeek();return t.resetPeek(),r}(t,e)?(g(t),F(t,e)):function(t,e){const{currentType:n}=e;if(9!==n)return!1;m(t);const r=y(t.currentPeek());return t.resetPeek(),r}(t,e)?(g(t),p(e,12,function(t){let e="",n="";for(;e=M(t);)n+=e;return n}(t))):function(t,e){const{currentType:n}=e;if(10!==n)return!1;const r=()=>{const e=t.currentPeek();return"{"===e?y(t.peek()):!("@"===e||"%"===e||"|"===e||":"===e||"."===e||e===cp||!e)&&(e===pp?(t.peek(),r()):x(t,!1))},i=r();return t.resetPeek(),i}(t,e)?(g(t),"{"===i?D(t,e)||r:p(e,11,function(t){const e=n=>{const r=t.currentChar();return"{"!==r&&"%"!==r&&"@"!==r&&"|"!==r&&"("!==r&&")"!==r&&r?r===cp?n:(n+=r,t.next(),e(n)):n};return e("")}(t))):(8===n&&h(op.INVALID_LINKED_FORMAT,s(),0),e.braceNest=0,e.inLinked=!1,B(t,e))}}function B(t,e){let n={type:14};if(e.braceNest>0)return D(t,e)||d(e);if(e.inLinked)return F(t,e)||d(e);switch(t.currentChar()){case"{":return D(t,e)||d(e);case"}":return h(op.UNBALANCED_CLOSING_BRACE,s(),0),t.next(),p(e,3,"}");case"@":return F(t,e)||d(e);
42default:{if(_(t))return n=p(e,1,I(t)),e.braceNest=0,e.inLinked=!1,n;const{isModulo:r,hasSpace:i}=function(t){const e=m(t),n="%"===t.currentPeek()&&"{"===t.peek();return t.resetPeek(),{isModulo:n,hasSpace:e.length>0}}(t);if(r)return i?p(e,0,L(t)):p(e,4,function(t){g(t);const e=t.currentChar();return"%"!==e&&h(op.EXPECTED_TOKEN,s(),0,e),t.next(),"%"}(t));if(x(t))return p(e,0,L(t));break}}return n}return{nextToken:function(){const{currentType:t,offset:e,startLoc:n,endLoc:o}=l;return l.lastType=t,l.lastOffset=e,l.lastStartLoc=n,l.lastEndLoc=o,l.offset=i(),l.startLoc=s(),r.currentChar()===gp?p(l,14):B(r,l)},currentOffset:i,currentPosition:s,context:u}}const xp="parser",bp=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function wp(t,e,n){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const t=parseInt(e||n,16);return t<=55295||t>=57344?String.fromCodePoint(t):"�"}}}function Mp(t={}){const e=!1!==t.location,{onError:n,onWarn:r}=t;function i(t,r,i,s,...o){const a=t.currentPosition();if(a.offset+=s,a.column+=s,n){const t=lp(r,e?Jh(i,a):null,{domain:xp,args:o});n(t)}}function s(t,n,i,s,...o){const a=t.currentPosition();if(a.offset+=s,a.column+=s,r){const t=e?Jh(i,a):null;r(function(t,e,...n){const r=Kh(sp[t],...n||[]),i={message:String(r),code:t};return e&&(i.location=e),i}(n,t,o))}}function o(t,n,r){const i={type:t};return e&&(i.start=n,i.end=n,i.loc={start:r,end:r}),i}function a(t,n,r,i){e&&(t.end=n,t.loc&&(t.loc.end=r))}function l(t,e){const n=t.context(),r=o(3,n.offset,n.startLoc);return r.value=e,a(r,t.currentOffset(),t.currentPosition()),r}function u(t,e){const n=t.context(),{lastOffset:r,lastStartLoc:i}=n,s=o(5,r,i);return s.index=parseInt(e,10),t.nextToken(),a(s,t.currentOffset(),t.currentPosition()),s}function c(t,e,n){const r=t.context(),{lastOffset:i,lastStartLoc:s}=r,l=o(4,i,s);return l.key=e,!0===n&&(l.modulo=!0),t.nextToken(),a(l,t.currentOffset(),t.currentPosition()),l}function h(t,e){const n=t.context(),{lastOffset:r,lastStartLoc:i}=n,s=o(9,r,i);return s.value=e.replace(bp,wp),t.nextToken(),a(s,t.currentOffset(),t.currentPosition()),s}function p(t){const e=t.context(),n=o(6,e.offset,e.startLoc);let r=t.nextToken();if(9===r.type){const e=function(t){const e=t.nextToken(),n=t.context(),{lastOffset:r,lastStartLoc:s}=n,l=o(8,r,s);return 12!==e.type?(i(t,op.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,0),l.value="",a(l,r,s),{nextConsumeToken:e,node:l}):(null==e.value&&i(t,op.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,0,Tp(e)),l.value=e.value||"",a(l,t.currentOffset(),t.currentPosition()),{node:l})}(t);n.modifier=e.node,r=e.nextConsumeToken||t.nextToken()}switch(10!==r.type&&i(t,op.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,Tp(r)),r=t.nextToken(),2===r.type&&(r=t.nextToken()),r.type){case 11:null==r.value&&i(t,op.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,Tp(r)),n.key=function(t,e){const n=t.context(),r=o(7,n.offset,n.startLoc);return r.value=e,a(r,t.currentOffset(),t.currentPosition()),r}(t,r.value||"");break;case 5:null==r.value&&i(t,op.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,Tp(r)),n.key=c(t,r.value||"");break;case 6:null==r.value&&i(t,op.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,Tp(r)),n.key=u(t,r.value||"");break;case 7:null==r.value&&i(t,op.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,Tp(r)),n.key=h(t,r.value||"");break;default:{i(t,op.UNEXPECTED_EMPTY_LINKED_KEY,e.lastStartLoc,0);const s=t.context(),l=o(7,s.offset,s.startLoc);return l.value="",a(l,s.offset,s.startLoc),n.key=l,a(n,s.offset,s.startLoc),{nextConsumeToken:r,node:n}}}return a(n,t.currentOffset(),t.currentPosition()),{node:n}}function d(t){const e=t.context(),n=o(2,1===e.currentType?t.currentOffset():e.offset,1===e.currentType?e.endLoc:e.startLoc);n.items=[];let r=null,d=null;do{const o=r||t.nextToken();switch(r=null,o.type){case 0:null==o.value&&i(t,op.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,Tp(o)),n.items.push(l(t,o.value||""));break;case 6:null==o.value&&i(t,op.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,Tp(o)),n.items.push(u(t,o.value||""));break;case 4:d=!0;break;case 5:null==o.value&&i(t,op.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,Tp(o)),n.items.push(c(t,o.value||"",!!d)),d&&(s(t,ip.USE_MODULO_SYNTAX,e.lastStartLoc,0,Tp(o)),d=null);break;case 7:null==o.value&&i(t,op.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,Tp(o)),n.items.push(h(t,o.value||""));break;case 8:{const e=p(t);n.items.push(e.node),r=e.nextConsumeToken||null;break}}}while(14!==e.currentType&&1!==e.currentType);return a(n,1===e.currentType?e.lastOffset:t.currentOffset(),1===e.currentType?e.lastEndLoc:t.currentPosition()),n}function f(t){const e=t.context(),{offset:n,startLoc:r}=e,s=d(t);return 14===e.currentType?s:function(t,e,n,r){const s=t.context();let l=0===r.items.length;const u=o(1,e,n);u.cases=[],u.cases.push(r);do{const e=d(t);l||(l=0===e.items.length),u.cases.push(e)}while(14!==s.currentType);return l&&i(t,op.MUST_HAVE_MESSAGES_IN_PLURAL,n,0),a(u,t.currentOffset(),t.currentPosition()),u}(t,n,r,s)}return{parse:function(n){const r=_p(n,tp({},t)),s=r.context(),l=o(0,s.offset,s.startLoc);return e&&l.loc&&(l.loc.source=n),l.body=f(r),t.onCacheKey&&(l.cac
vendor: 33,341 bytes, lines 42-53
42heKey=t.onCacheKey(n)),14!==s.currentType&&i(r,op.UNEXPECTED_LEXICAL_ANALYSIS,s.lastStartLoc,0,n[s.offset]||""),a(l,r.currentOffset(),r.currentPosition()),l}}}function Tp(t){if(14===t.type)return"EOF";const e=(t.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"â¦":e}function Sp(t,e){for(let n=0;n<t.length;n++)Ep(t[n],e)}function Ep(t,e){switch(t.type){case 1:Sp(t.cases,e),e.helper("plural");break;case 2:Sp(t.items,e);break;case 6:Ep(t.key,e),e.helper("linked"),e.helper("type");break;case 5:e.helper("interpolate"),e.helper("list");break;case 4:e.helper("interpolate"),e.helper("named")}}function kp(t,e={}){const n=function(t){const e={ast:t,helpers:new Set};return{context:()=>e,helper:t=>(e.helpers.add(t),t)}}(t);n.helper("normalize"),t.body&&Ep(t.body,n);const r=n.context();t.helpers=Array.from(r.helpers)}function Ap(t){if(1===t.items.length){const e=t.items[0];3!==e.type&&9!==e.type||(t.static=e.value,delete e.value)}else{const e=[];for(let n=0;n<t.items.length;n++){const r=t.items[n];if(3!==r.type&&9!==r.type)break;if(null==r.value)break;e.push(r.value)}if(e.length===t.items.length){t.static=rp(e);for(let e=0;e<t.items.length;e++){const n=t.items[e];3!==n.type&&9!==n.type||delete n.value}}}}const Cp="minifier";function Op(t){switch(t.t=t.type,t.type){case 0:{const e=t;Op(e.body),e.b=e.body,delete e.body;break}case 1:{const e=t,n=e.cases;for(let t=0;t<n.length;t++)Op(n[t]);e.c=n,delete e.cases;break}case 2:{const e=t,n=e.items;for(let t=0;t<n.length;t++)Op(n[t]);e.i=n,delete e.items,e.static&&(e.s=e.static,delete e.static);break}case 3:case 9:case 8:case 7:{const e=t;e.value&&(e.v=e.value,delete e.value);break}case 6:{const e=t;Op(e.key),e.k=e.key,delete e.key,e.modifier&&(Op(e.modifier),e.m=e.modifier,delete e.modifier);break}case 5:{const e=t;e.i=e.index,delete e.index;break}case 4:{const e=t;e.k=e.key,delete e.key;break}default:throw lp(op.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Cp,args:[t.type]})}delete t.type}const Lp="parser";function zp(t,e){const{helper:n}=t;switch(e.type){case 0:!function(t,e){e.body?zp(t,e.body):t.push("null")}(t,e);break;case 1:!function(t,e){const{helper:n,needIndent:r}=t;if(e.cases.length>1){t.push(`${n("plural")}([`),t.indent(r());const i=e.cases.length;for(let n=0;n<i&&(zp(t,e.cases[n]),n!==i-1);n++)t.push(", ");t.deindent(r()),t.push("])")}}(t,e);break;case 2:!function(t,e){const{helper:n,needIndent:r}=t;t.push(`${n("normalize")}([`),t.indent(r());const i=e.items.length;for(let s=0;s<i&&(zp(t,e.items[s]),s!==i-1);s++)t.push(", ");t.deindent(r()),t.push("])")}(t,e);break;case 6:!function(t,e){const{helper:n}=t;t.push(`${n("linked")}(`),zp(t,e.key),e.modifier?(t.push(", "),zp(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}(t,e);break;case 8:case 7:case 9:case 3:t.push(JSON.stringify(e.value),e);break;case 5:t.push(`${n("interpolate")}(${n("list")}(${e.index}))`,e);break;case 4:t.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(e.key)}))`,e);break;default:throw lp(op.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:Lp,args:[e.type]})}}const Pp=(t,e={})=>{const n=ep(e.mode)?e.mode:"normal",r=ep(e.filename)?e.filename:"message.intl",i=!!e.sourceMap,s=null!=e.breakLineCode?e.breakLineCode:"arrow"===n?";":"\n",o=e.needIndent?e.needIndent:"arrow"!==n,a=t.helpers||[],l=function(t,e){const{sourceMap:n,filename:r,breakLineCode:i,needIndent:s}=e,o=!1!==e.location,a={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:s,indentLevel:0};function l(t,e){a.code+=t}function u(t,e=!0){const n=e?i:"";l(s?n+" ".repeat(t):n)}return o&&t.loc&&(a.source=t.loc.source),{context:()=>a,push:l,indent:function(t=!0){const e=++a.indentLevel;t&&u(e)},deindent:function(t=!0){const e=--a.indentLevel;t&&u(e)},newline:function(){u(a.indentLevel)},helper:t=>`_${t}`,needIndent:()=>a.needIndent}}(t,{mode:n,filename:r,sourceMap:i,breakLineCode:s,needIndent:o});l.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(o),a.length>0&&(l.push(`const { ${rp(a.map((t=>`${t}: _${t}`)),", ")} } = ctx`),l.newline()),l.push("return "),zp(l,t),l.deindent(o),l.push("}"),delete t.helpers;const{code:u,map:c}=l.context();return{ast:t,code:u,map:c?c.toJSON():void 0}};function Rp(t,e={}){const n=tp({},e),r=!!n.jit,i=!!n.minify,s=null==n.optimize||n.optimize,o=Mp(n).parse(t);return r?(s&&function(t){const e=t.body;2===e.type?Ap(e):e.cases.forEach((t=>Ap(t)))}(o),i&&Op(o),{ast:o,code:""}):(kp(o,n),Pp(o,n))} 43/*! 44 * core-base v9.13.1 45 * (c) 2024 kazuya kawaguchi 46 * Released under the MIT License. 47 */const Np=[];Np[0]={w:[0],i:[3,0],"[":[4],o:[7]},Np[1]={w:[1],".":[2],"[":[4],o:[7]},Np[2]={w:[2],i:[3,0],0:[3,0]},Np[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},Np[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},Np[5]={"'":[4,0],o:8,l:[5,0]},Np[6]={'"':[4,0],o:8,l:[6,0]};const Ip=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Dp(t){if(null==t)return"o";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Fp(t){const e=t.trim();return("0"!==t.charAt(0)||!isNaN(parseInt(t)))&&(n=e,Ip.test(n)?function(t){const e=t.charCodeAt(0);return e!==t.charCodeAt(t.length-1)||34!==e&&39!==e?t:t.slice(1,-1)}(e):"*"+e);var n}const Bp=new Map;function Up(t,e){return Vh(t)?t[e]:null}const jp=t=>t,Vp=t=>"",Wp="text",$p=t=>0===t.length?"":function(t,e=""){return t.reduce(((t,n,r)=>0===r?t+n:t+e+n),"")}(t),qp=t=>null==t?"":Fh(t)||Hh(t)&&t.toString===$h?JSON.stringify(t,null,2):String(t);function Hp(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0}function Yp(t={}){const e=t.locale,n=function(t){const e=Ah(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(Ah(t.named.count)||Ah(t.named.n))?Ah(t.named.count)?t.named.count:Ah(t.named.n)?t.named.n:e:e}(t),r=Vh(t.pluralRules)&&Uh(e)&&Bh(t.pluralRules[e])?t.pluralRules[e]:Hp,i=Vh(t.pluralRules)&&Uh(e)&&Bh(t.pluralRules[e])?Hp:void 0,s=t.list||[],o=t.named||{};Ah(t.pluralIndex)&&function(t,e){e.count||(e.count=t),e.n||(e.n=t)}(n,o);function a(e){const n=Bh(t.messages)?t.messages(e):!!Vh(t.messages)&&t.messages[e];return n||(t.parent?t.parent.message(e):Vp)}const l=Hh(t.processor)&&Bh(t.processor.normalize)?t.processor.normalize:$p,u=Hh(t.processor)&&Bh(t.processor.interpolate)?t.processor.interpolate:qp,c={list:t=>s[t],named:t=>o[t],plural:t=>t[r(n,t.length,i)],linked:(e,...n)=>{const[r,i]=n;let s="text",o="";1===n.length?Vh(r)?(o=r.modifier||o,s=r.type||s):Uh(r)&&(o=r||o):2===n.length&&(Uh(r)&&(o=r||o),Uh(i)&&(s=i||s));const l=a(e)(c),u="vnode"===s&&Fh(l)&&o?l[0]:l;return o?(h=o,t.modifiers?t.modifiers[h]:jp)(u,s):u;var h},message:a,type:Hh(t.processor)&&Uh(t.processor.type)?t.processor.type:Wp,interpolate:u,normalize:l,values:zh({},s,o)};return c}let Xp=null;const Gp=Zp("function:translate");function Zp(t){return e=>Xp&&Xp.emit(t,e)}const Jp=ip.__EXTEND_POINT__,Qp=Yh(Jp),Kp={NOT_FOUND_KEY:Jp,FALLBACK_TO_TRANSLATE:Qp(),CANNOT_FORMAT_NUMBER:Qp(),FALLBACK_TO_NUMBER_FORMAT:Qp(),CANNOT_FORMAT_DATE:Qp(),FALLBACK_TO_DATE_FORMAT:Qp(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Qp(),__EXTEND_POINT__:Qp()},td=op.__EXTEND_POINT__,ed=Yh(td),nd={INVALID_ARGUMENT:td,INVALID_DATE_ARGUMENT:ed(),INVALID_ISO_DATE_ARGUMENT:ed(),NOT_SUPPORT_NON_STRING_MESSAGE:ed(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:ed(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:ed(),NOT_SUPPORT_LOCALE_TYPE:ed(),__EXTEND_POINT__:ed()};function rd(t){return lp(t,null,void 0)}function id(t,e){return null!=e.locale?od(e.locale):od(t.locale)}let sd;function od(t){if(Uh(t))return t;if(Bh(t)){if(t.resolvedOnce&&null!=sd)return sd;if("Function"===t.constructor.name){const e=t();if(Wh(e))throw rd(nd.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return sd=e}throw rd(nd.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw rd(nd.NOT_SUPPORT_LOCALE_TYPE)}function ad(t,e,n){return[...new Set([n,...Fh(e)?e:Vh(e)?Object.keys(e):Uh(e)?[e]:[n]])]}function ld(t,e,n){const r=Uh(n)?n:fd,i=t;i.__localeChainCache||(i.__localeChainCache=new Map);let s=i.__localeChainCache.get(r);if(!s){s=[];let t=[n];for(;Fh(t);)t=ud(s,t,e);const o=Fh(e)||!Hh(e)?e:e.default?e.default:null;t=Uh(o)?[o]:o,Fh(t)&&ud(s,t,!1),i.__localeChainCache.set(r,s)}return s}function ud(t,e,n){let r=!0;for(let i=0;i<e.length&&jh(r);i++){const s=e[i];Uh(s)&&(r=cd(t,e[i],n))}return r}function cd(t,e,n){let r;const i=e.split("-");do{r=hd(t,i.join("-"),n),i.splice(-1,1)}while(i.length&&!0===r);return r}function hd(t,e,n){let r=!1;if(!t.includes(e)&&(r=!0,e)){r="!"!==e[e.length-1];const i=e.replace(/!/g,"");t.push(i),(Fh(n)||Hh(n))&&n[i]&&(r=n[i])}return r}const pd="9.13.1",dd=-1,fd="en-US",md="",gd=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;let yd,vd,_d;let xd=null;const bd=()=>xd;let wd=null;const Md=t=>{wd=t},Td=()=>wd;let Sd=0;function Ed(t={}){const e=Bh(t.onWarn)?t.onWarn:Xh,n=Uh(t.version)?t.version:pd,r=Uh(t.locale)||Bh(t.locale)?t.locale:fd,i=Bh(r)?fd:r,s=Fh(t.fallbackLocale)||Hh(t.fallbackLocale)||Uh(t.fallbackLocale)||!1===t.fallbackLocale?t.fallbackLocale:i,o=Hh(t.messages)?t.messages:{[i]:{}},a=Hh(t.datetimeFormats)?t.datetimeFormats:{[i]:{}},l=Hh(t.numberFormats)?t.numberFormats:{[i]:{}},u=zh({},t.modifiers||{},{upper:(t,e)=>"text"===e&&Uh(t)?t.toUpperCase():"vnode"===e&&Vh(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>"text"===e&&Uh(t)?t.toLowerCase():"vnode"===e&&Vh(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>"text"===e&&Uh(t)?gd(t):"vnode"===e&&Vh(t)&&"__v_isVNode"in t?gd(t.children):t}),c=t.pluralRules||{},h=Bh(t.missing)?t.missing:null,p=!jh(t.missingWarn)&&!Oh(t.missingWarn)||t.missingWarn,d=!jh(t.fallbackWarn)&&!Oh(t.fallbackWarn)||t.fallbackWarn,f=!!t.fallbackFormat,m=!!t.unresolving,g=Bh(t.postTranslation)?t.postTranslation:null,y=Hh(t.processor)?t.processor:null,v=!jh(t.warnHtmlMessage)||t.warnHtmlMessage,_=!!t.escapeParameter,x=Bh(t.messageCompiler)?t.messageCompiler:yd,b=Bh(t.messageResolver)?t.messageResolver:vd||Up,w=Bh(t.localeFallbacker)?t.localeFallbacker:_d||ad,M=Vh(t.fallbackContext)?t.fallbackContext:void 0,T=t,S=Vh(T.__datetimeFormatters)?T.__datetimeFormatters:new Map,E=Vh(T.__numberFormatters)?T.__numberFormatters:new Map,k=Vh(T.__meta)?T.__meta:{};Sd++;const A={version:n,cid:Sd,locale:r,fallbackLocale:s,messages:o,modifiers:u,pluralRules:c,missing:h,missingWarn:p,fallbackWarn:d,fallbackFormat:f,unresolving:m,postTranslation:g,processor:y,warnHtmlMessage:v,escapeParameter:_,messageCompiler:x,messageResolver:b,localeFallbacker:w,fallbackContext:M,onWarn:e,__meta:k};return A.datetimeFormats=a,A.numberFormats=l,A.__datetimeFormatters=S,A.__numberFormatters=E,__INTLIFY_PROD_DEVTOOLS__&&function(t,e,n){Xp&&Xp.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:e,meta:n})}(A,n,k),A}function kd(t,e,n,r,i){const{missing:s,onWarn:o}=t;if(null!==s){const r=s(t,n,e,i);return Uh(r)?r:e}return e}function Ad(t,e,n){t.__localeChainCache=new Map,t.localeFallbacker(t,n,e)}function Cd(t,e){const n=e.indexOf(t);if(-1===n)return!1;for(let s=n+1;s<e.length;s++)if(r=t,i=e[s],r!==i&&r.split("-")[0]===i.split("-")[0])return!0;var r,i;return!1}function Od(t){return e=>function(t,e){const n=e.b||e.body;if(1===(n.t||n.type)){const e=n,r=e.c||e.cases;return t.plural(r.reduce(((e,n)=>[...e,Ld(t,n)]),[]))}return Ld(t,n)}(e,t)}function Ld(t,e){const n=e.s||e.static;if(n)return"text"===t.type?n:t.normalize([n]);{const n=(e.i||e.items).reduce(((e,n)=>[...e,zd(t,n)]),[]);return t.normalize(n)}}function zd(t,e){const n=e.t||e.type;switch(n){case 3:{const t=e;return t.v||t.value}case 9:{const t=e;return t.v||t.value}case 4:{const n=e;return t.interpolate(t.named(n.k||n.key))}case 5:{const n=e;return t.interpolate(t.list(null!=n.i?n.i:n.index))}case 6:{const n=e,r=n.m||n.modifier;return t.linked(zd(t,n.k||n.key),r?zd(t,r):void 0,t.type)}case 7:{const t=e;return t.v||t.value}case 8:{const t=e;return t.v||t.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Pd=t=>t;let Rd=Object.create(null);const Nd=t=>Vh(t)&&(0===t.t||0===t.type)&&("b"in t||"body"in t);const Id=()=>"",Dd=t=>Bh(t);function Fd(t,...e){const{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:s,fallbackLocale:o,messages:a}=t,[l,u]=jd(...e),c=jh(u.missingWarn)?u.missingWarn:t.missingWarn,h=jh(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn,p=jh(u.escapeParameter)?u.escapeParameter:t.escapeParameter,d=!!u.resolvedMessage,f=Uh(u.default)||jh(u.default)?jh(u.default)?s?l:()=>l:u.default:n?s?l:()=>l:"",m=n||""!==f,g=id(t,u);p&&function(t){Fh(t.list)?t.list=t.list.map((t=>Uh(t)?Nh(t):t)):Vh(t.named)&&Object.keys(t.named).forEach((e=>{Uh(t.named[e])&&(t.named[e]=Nh(t.named[e]))}))}(u);let[y,v,_]=d?[l,g,a[g]||{}]:Bd(t,l,g,o,h,c),x=y,b=l;if(d||Uh(x)||Nd(x)||Dd(x)||m&&(x=f,b=x),!(d||(Uh(x)||Nd(x)||Dd(x))&&Uh(v)))return i?dd:l;let w=!1;const M=Dd(x)?x:Ud(t,l,v,x,b,(()=>{w=!0}));if(w)return x;const T=function(t,e,n,r){const{modifiers:i,pluralRules:s,messageResolver:o,fallbackLocale:a,fallbackWarn:l,missingWarn:u,fallbackContext:c}=t,h=r=>{let i=o(n,r);if(null==i&&c){const[,,t]=Bd(c,r,e,a,l,u);i=o(t,r)}if(Uh(i)||Nd(i)){let n=!1;const s=Ud(t,r,e,i,r,(()=>{n=!0}));return n?Id:s}return Dd(i)?i:Id},p={locale:e,modifiers:i,pluralRules:s,messages:h};t.processor&&(p.processor=t.processor);r.list&&(p.list=r.list);r.named&&(p.named=r.named);Ah(r.plural)&&(p.pluralIndex=r.plural);return p}(t,v,_,u),S=function(t,e,n){const r=e(n);return r}(0,M,Yp(T)),E=r?r(S,l):S;if(__INTLIFY_PROD_DEVTOOLS__){const e={timestamp:Date.now(),key:Uh(l)?l:Dd(x)?x.key:"",locale:v||(Dd(x)?x.locale:""),format:Uh(x)?x:Dd(x)?x.source:"",message:E};e.meta=zh({},t.__meta,bd()||{}),Gp(e)}return E}function Bd(t,e,n,r,i,s){const{messages:o,onWarn:a,messageResolver:l,localeFallbacker:u}=t,c=u(t,r,n);let h,p={},d=null;for(let f=0;f<c.length&&(h=c[f],p=o[h]||{},null===(d=l(p,e))&&(d=p[e]),!(Uh(d)||Nd(d)||Dd(d)));f++)if(!Cd(h,c)){const n=kd(t,e,h,0,"translate");n!==e&&(d=n)}return[d,h,p]}function Ud(t,e,n,r,i,s){const{messageCompiler:o,warnHtmlMessage:a}=t;if(Dd(r)){const t=r;return t.locale=t.locale||n,t.key=t.key||e,t}if(null==o){const t=()=>r;return t.locale=n,t.key=e,t}const l=o(r,function(t,e,n,r,i,s){return{locale:e,key:n,warnHtmlMessage:i,onError:t=>{throw s&&s(t),t},onCacheKey:t=>Eh(e,n,t)}}(0,n,i,0,a,s));return l.locale=n,l.key=e,l.source=r,l}function jd(...t){const[e,n,r]=t,i={};if(!(Uh(e)||Ah(e)||Dd(e)||Nd(e)))throw rd(nd.INVALID_ARGUMENT);const s=Ah(e)?String(e):(Dd(e),e);return Ah(n)?i.plural=n:Uh(n)?i.default=n:Hh(n)&&!Lh(n)?i.named=n:Fh(n)&&(i.list=n),Ah(r)?i.plural=r:Uh(r)?i.default=r:Hh(r)&&zh(i,r),[s,i]}function Vd(t,...e){const{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:s,localeFallbacker:o}=t,{__datetimeFormatters:a}=t,[l,u,c,h]=$d(...e);jh(c.missingWarn)?c.missingWarn:t.missingWarn;jh(c.fallbackWarn)?c.fallbackWarn:t.fallbackWarn;const p=!!c.part,d=id(t,c),f=o(t,i,d);if(!Uh(l)||""===l)return new Intl.DateTimeFormat(d,h).format(u);let m,g={},y=null;for(let x=0;x<f.length&&(m=f[x],g=n[m]||{},y=g[l],!Hh(y));x++)kd(t,l,m,0,"datetime format");if(!Hh(y)||!Uh(m))return r?dd:l;let v=`${m}__${l}`;Lh(h)||(v=`${v}__${JSON.stringify(h)}`);let _=a.get(v);return _||(_=new Intl.DateTimeFormat(m,zh({},y,h)),a.set(v,_)),p?_.formatToParts(u):_.format(u)}const Wd=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function $d(...t){const[e,n,r,i]=t,s={};let o,a={};if(Uh(e)){const t=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!t)throw rd(nd.INVALID_ISO_DATE_ARGUMENT);const n=t[3]?t[3].trim().startsWith("T")?`${t[1].trim()}${t[3].trim()}`:`${t[1].trim()}T${t[3].trim()}`:t[1].trim();o=new Date(n);try{o.toISOString()}catch(l){throw rd(nd.INVALID_ISO_DATE_ARGUMENT)}}else if(Ch(e)){if(isNaN(e.getTime()))throw rd(nd.INVALID_DATE_ARGUMENT);o=e}else{if(!Ah(e))throw rd(nd.INVALID_ARGUMENT);o=e}return Uh(n)?s.key=n:Hh(n)&&Object.keys(n).forEach((t=>{Wd.includes(t)?a[t]=n[t]:s[t]=n[t]})),Uh(r)?s.locale=r:Hh(r)&&(a=r),Hh(i)&&(a=i),[s.key||"",o,s,a]}function qd(t,e,n){const r=t;for(const i in n){const t=`${e}__${i}`;r.__datetimeFormatters.has(t)&&r.__datetimeFormatters.delete(t)}}function Hd(t,...e){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:s,localeFallbacker:o}=t,{__numberFormatters:a}=t,[l,u,c,h]=Xd(...e);jh(c.missingWarn)?c.missingWarn:t.missingWarn;jh(c.fallbackWarn)?c.fallbackWarn:t.fallbackWarn;const p=!!c.part,d=id(t,c),f=o(t,i,d);if(!Uh(l)||""===l)return new Intl.NumberFormat(d,h).format(u);let m,g={},y=null;for(let x=0;x<f.length&&(m=f[x],g=n[m]||{},y=g[l],!Hh(y));x++)kd(t,l,m,0,"number format");if(!Hh(y)||!Uh(m))return r?dd:l;let v=`${m}__${l}`;Lh(h)||(v=`${v}__${JSON.stringify(h)}`);let _=a.get(v);return _||(_=new Intl.NumberFormat(m,zh({},y,h)),a.set(v,_)),p?_.formatToParts(u):_.format(u)}const Yd=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Xd(...t){const[e,n,r,i]=t,s={};let o={};if(!Ah(e))throw rd(nd.INVALID_ARGUMENT);const a=e;return Uh(n)?s.key=n:Hh(n)&&Object.keys(n).forEach((t=>{Yd.includes(t)?o[t]=n[t]:s[t]=n[t]})),Uh(r)?s.locale=r:Hh(r)&&(o=r),Hh(i)&&(o=i),[s.key||"",a,s,o]}function Gd(t,e,n){const r=t;for(const i in n){const t=`${e}__${i}`;r.__numberFormatters.has(t)&&r.__numberFormatters.delete(t)}}"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(Rh().__INTLIFY_PROD_DEVTOOLS__=!1); 48/*! 49 * vue-i18n v9.13.1 50 * (c) 2024 kazuya kawaguchi 51 * Released under the MIT License. 52 */ 53const Zd="9.13.1";const Jd=Kp.__EXTEND_POINT__,Qd=Yh(Jd);Qd(),Qd(),Qd(),Qd(),Qd(),Qd(),Qd(),Qd(),Qd();const Kd=nd.__EXTEND_POINT__,tf=Yh(Kd),ef={UNEXPECTED_RETURN_TYPE:Kd,INVALID_ARGUMENT:tf(),MUST_BE_CALL_SETUP_TOP:tf(),NOT_INSTALLED:tf(),NOT_AVAILABLE_IN_LEGACY_MODE:tf(),REQUIRED_VALUE:tf(),INVALID_VALUE:tf(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:tf(),NOT_INSTALLED_WITH_PROVIDE:tf(),UNEXPECTED_ERROR:tf(),NOT_COMPATIBLE_LEGACY_VUE_I18N:tf(),BRIDGE_SUPPORT_VUE_2_ONLY:tf(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:tf(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:tf(),__EXTEND_POINT__:tf()};function nf(t,...e){return lp(t,null,void 0)}const rf=Sh("__translateVNode"),sf=Sh("__datetimeParts"),of=Sh("__numberParts"),af=Sh("__setPluralRules"),lf=Sh("__injectWithOption"),uf=Sh("__dispose");function cf(t){if(!Vh(t))return t;for(const e in t)if(Dh(t,e))if(e.includes(".")){const n=e.split("."),r=n.length-1;let i=t,s=!1;for(let t=0;t<r;t++){if(n[t]in i||(i[n[t]]={}),!Vh(i[n[t]])){s=!0;break}i=i[n[t]]}s||(i[n[r]]=t[e],delete t[e]),Vh(i[n[r]])&&cf(i[n[r]])}else Vh(t[e])&&cf(t[e]);return t}function hf(t,e){const{messages:n,__i18n:r,messageResolver:i,flatJson:s}=e,o=Hh(n)?n:Fh(r)?{}:{[t]:{}};if(Fh(r)&&r.forEach((t=>{if("locale"in t&&"resource"in t){const{locale:e,resource:n}=t;e?(o[e]=o[e]||{},Zh(n,o[e])):Zh(n,o)}else Uh(t)&&Zh(JSON.parse(t),o)})),null==i&&s)for(const a in o)Dh(o,a)&&cf(o[a]);return o}function pf(t){return t.type}function df(t){return Pa(ya,null,t,0)}const ff=()=>[],mf=()=>!1;let gf=0;function yf(t){return(e,n,r,i)=>t(n,r,qa()||void 0,i)}function vf(t={},e){const{__root:n,__injectWithOption:r}=t,i=void 0===n,s=t.flatJson,o=Th?zi:Pi,a=!!t.translateExistCompatible;let l=!jh(t.inheritLocale)||t.inheritLocale;const u=o(n&&l?n.locale.value:Uh(t.locale)?t.locale:fd),c=o(n&&l?n.fallbackLocale.value:Uh(t.fallbackLocale)||Fh(t.fallbackLocale)||Hh(t.fallbackLocale)||!1===t.fallbackLocale?t.fallbackLocale:u.value),h=o(hf(u.value,t)),p=o(Hh(t.datetimeFormats)?t.datetimeFormats:{[u.value]:{}}),d=o(Hh(t.numberFormats)?t.numberFormats:{[u.value]:{}});let f=n?n.missingWarn:!jh(t.missingWarn)&&!Oh(t.missingWarn)||t.missingWarn,m=n?n.fallbackWarn:!jh(t.fallbackWarn)&&!Oh(t.fallbackWarn)||t.fallbackWarn,g=n?n.fallbackRoot:!jh(t.fallbackRoot)||t.fallbackRoot,y=!!t.fallbackFormat,v=Bh(t.missing)?t.missing:null,_=Bh(t.missing)?yf(t.missing):null,x=Bh(t.postTranslation)?t.postTranslation:null,b=n?n.warnHtmlMessage:!jh(t.warnHtmlMessage)||t.warnHtmlMessage,w=!!t.escapeParameter;const M=n?n.modifiers:Hh(t.modifiers)?t.modifiers:{};let T,S=t.pluralRules||n&&n.pluralRules;T=(()=>{i&&Md(null);const e={version:Zd,locale:u.value,fallbackLocale:c.value,messages:h.value,modifiers:M,pluralRules:S,missing:null===_?void 0:_,missingWarn:f,fallbackWarn:m,fallbackFormat:y,unresolving:!0,postTranslation:null===x?void 0:x,warnHtmlMessage:b,escapeParameter:w,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};e.datetimeFormats=p.value,e.numberFormats=d.value,e.__datetimeFormatters=Hh(T)?T.__datetimeFormatters:void 0,e.__numberFormatters=Hh(T)?T.__numberFormatters:void 0;const n=Ed(e);return i&&Md(n),n})(),Ad(T,u.value,c.value);const E=il({get:()=>u.value,set:t=>{u.value=t,T.locale=u.value}}),k=il({get:()=>c.value,set:t=>{c.value=t,T.fallbackLocale=c.value,Ad(T,u.value,t)}}),A=il((()=>h.value)),C=il((()=>p.value)),O=il((()=>d.value));const L=(t,e,r,s,o,a)=>{let l;u.value,c.value,h.value,p.value,d.value;try{__INTLIFY_PROD_DEVTOOLS__,i||(T.fallbackContext=n?Td():void 0),l=t(T)}finally{__INTLIFY_PROD_DEVTOOLS__,i||(T.fallbackContext=void 0)}if("translate exists"!==r&&Ah(l)&&l===dd||"translate exists"===r&&!l){const[t,r]=e();return n&&g?s(n):o(t)}if(a(l))return l;throw nf(ef.UNEXPECTED_RETURN_TYPE)};function z(...t){return L((e=>Reflect.apply(Fd,null,[e,...t])),(()=>jd(...t)),"translate",(e=>Reflect.apply(e.t,e,[...t])),(t=>t),(t=>Uh(t)))}const P={normalize:function(t){return t.map((t=>Uh(t)||Ah(t)||jh(t)?df(String(t)):t))},interpolate:t=>t,type:"vnode"};function R(t){return h.value[t]||{}}gf++,n&&Th&&(ra(n.locale,(t=>{l&&(u.value=t,T.locale=t,Ad(T,u.value,c.value))})),ra(n.fallbackLocale,(t=>{l&&(c.value=t,T.fallbackLocale=t,Ad(T,u.value,c.value))})));const N={id:gf,locale:E,fallbackLocale:k,get inheritLocale(){return l},set inheritLocale(t){l=t,t&&n&&(u.value=n.locale.value,c.value=n.fallbackLocale.value,Ad(T,u.value,c.value))},get availableLocales(){return Object.keys(h.value).sort()},messages:A,get modifiers(){return M},get pluralRules(){return S||{}},get isGlobal(){return i},get missingWarn(){return f},set missingWarn(t){f=t,T.missingWarn=f},get fallbackWarn(){return m},set fallbackWarn(t){m=t,T.fallbackWarn=m},get fallbackRoot(){return g},set fallbackRoot(t){g=t},get fallbackFormat(){return y},set fallbackFormat(t){y=t,T.fallbackFormat=y},get warnHtmlMessage(){return b},set warnHtmlMessage(t){b=t,T.warnHtmlMessage=t},get escapeParameter(){return w},set escapeParameter(t){w=t,T.escapeParameter=t},t:z,getLocaleMessage:R,setLocaleMessage:function(t,e){if(s){const n={[t]:e};for(const t in n)Dh(n,t)&&cf(n[t]);e=n[t]}h.value[t]=e,T.messages=h.value},mergeLocaleMessage:function(t,e){h.value[t]=h.value[t]||{};const n={[t]:e};if(s)for(const r in n)Dh(n,r)&&cf(n[r]);Zh(e=n[t],h.value[t]),T.messages=h.value},getPostTranslationHandler:function(){return Bh(x)?x:null},setPostTranslationHandler:function(t){x=t,T.postTranslation=t},getMissingHandler:function(){return v},setMissingHandler:function(t){null!==t&&(_=yf(t)),v=t,T.missing=_},[af]:function(t){S=t,T.pluralRules=S}};return N.datetimeFormats=C,N.numberFormats=O,N.rt=function(...t){const[e,n,r]=t;if(r&&!Vh(r))throw nf(ef.INVALID_ARGUMENT);return z(e,n,zh({resolvedMessage:!0},r||{}))},N.te=function(t,e){return L((()=>{if(!t)return!1;const n=R(Uh(e)?e:u.value),r=T.messageResolver(n,t);return a?null!=r:Nd(r)||Dd(r)||Uh(r)}),(()=>[t]),"translate exists",(n=>Reflect.apply(n.te,n,[t,e])),mf,(t=>jh(t)))},N.tm=function(t){const e=function(t){let e=null;const n=ld(T,c.value,u.value);for(let r=0;r<n.length;r++){const i=h.value[n[r]]||{},s=T.messageResolver(i,t);if(null!=s){e=s;break}}return e}(t);return null!=e?e:n&&n.tm(t)||{}},N.d=function(...t){return L((e=>Reflect.apply(Vd,null,[e,...t])),(()=>$d(...t)),"datetime format",(e=>Reflect.apply(e.d,e,[...t])),(()=>md),(t=>Uh(t)))},N.n=function(...t){return L((e=>Reflect.apply(Hd,null,[e,...t])),(()=>Xd(...t)),"number format",(e=>Reflect.apply(e.n,e,[...t])),(()=>md),(t=>Uh(t)))},N.getDateTimeFormat=function(t){return p.value[t]||{}},N.setDateTimeFormat=function(t,e){p.value[t]=e,T.datetimeFormats=p.value,qd(T,t,e)},N.mergeDateTimeFormat=function(t,e){p.value[t]=zh(p.value[t]||{},e),T.datetimeFormats=p.value,qd(T,t,e)},N.getNumberFormat=function(t){return d.value[t]||{}},N.setNumberFormat=function(t,e){d.value[t]=e,T.numberFormats=d.value,Gd(T,t,e)},N.mergeNumberFormat=function(t,e){d.value[t]=zh(d.value[t]||{},e),T.numberFormats=d.value,Gd(T,t,e)},N[lf]=r,N[rf]=function(...t){return L((e=>{let n;const r=e;try{r.processor=P,n=Reflect.apply(Fd,null,[r,...t])}finally{r.processor=null}return n}),(()=>jd(...t)),"translate",(e=>e[rf](...t)),(t=>[df(t)]),(t=>Fh(t)))},N[sf]=function(...t){return L((e=>Reflect.apply(Vd,null,[e,...t])),(()=>$d(...t)),"datetime format",(e=>e[sf](...t)),ff,(t=>Uh(t)||Fh(t)))},N[of]=function(...t){return L((e=>Reflect.apply(Hd,null,[e,...t])),(()=>Xd(...t)),"number format",(e=>e[of](...t)),ff,(t=>Uh(t)||Fh(t)))},N}const _f={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>"parent"===t||"global"===t,default:"parent"},i18n:{type:Object}};function xf(t){return ga}const bf=As({name:"i18n-t",props:zh({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>Ah(t)||!isNaN(t)}},_f),setup(t,e){const{slots:n,attrs:r}=e,i=t.i18n||Cf({useScope:t.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter((t=>"_"!==t)),o={};t.locale&&(o.locale=t.locale),void 0!==t.plural&&(o.plural=Uh(t.plural)?+t.plural:t.plural);const a=function({slots:t},e){if(1===e.length&&"default"===e[0])return(t.default?t.default():[]).reduce(((t,e)=>[...t,...e.type===ga?e.children:[e]]),[]);return e.reduce(((e,n)=>{const r=t[n];return r&&(e[n]=r()),e}),{})}(e,s),l=i[rf](t.keypath,a,o),u=zh({},r);return sl(Uh(t.tag)||Vh(t.tag)?t.tag:xf(),u,l)}}});function wf(t,e,n,r){const{slots:i,attrs:s}=e;return()=>{const e={part:!0};let o={};t.locale&&(e.locale=t.locale),Uh(t.format)?e.key=t.format:Vh(t.format)&&(Uh(t.format.key)&&(e.key=t.format.key),o=Object.keys(t.format).reduce(((e,r)=>n.includes(r)?zh({},e,{[r]:t.format[r]}):e),{}));const a=r(t.value,e,o);let l=[e.key];Fh(a)?l=a.map(((t,e)=>{const n=i[t.type],r=n?n({[t.type]:t.value,index:e,parts:a}):[t.value];var s;return Fh(s=r)&&!Uh(s[0])&&(r[0].key=`${t.type}-${e}`),r})):Uh(a)&&(l=[a]);const u=zh({},s);return sl(Uh(t.tag)||Vh(t.tag)?t.tag:xf(),u,l)}}const Mf=As({name:"i18n-n",props:zh({value:{type:Number,required:!0},format:{type:[String,Object]}},_f),setup(t,e){const n=t.i18n||Cf({useScope:t.scope,__useComponent:!0});return wf(t,e,Yd,((...t)=>n[of](...t)))}}),Tf=As({name:"i18n-d",props:zh({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},_f),setup(t,e){const n=t.i18n||Cf({useScope:t.scope,__useComponent:!0});return wf(t,e,Wd,((...t)=>n[sf](...t)))}});function Sf(t){if(Uh(t))return{path:t};if(Hh(t)){if(!("path"in t))throw nf(ef.REQUIRED_VALUE);return t}throw nf(ef.INVALID_VALUE)}function Ef(t){const{path:e,locale:n,args:r,choice:i,plural:s}=t,o={},a=r||{};return Uh(n)&&(o.locale=n),Ah(i)&&(o.plural=i),Ah(s)&&(o.plural=s),[e,a,o]}function kf(t,e,...n){const r=Hh(n[0])?n[0]:{},i=!!r.useI18nComponentName;(!jh(r.globalInstall)||r.globalInstall)&&([i?"i18n":bf.name,"I18nT"].forEach((e=>t.component(e,bf))),[Mf.name,"I18nN"].forEach((e=>t.component(e,Mf))),[Tf.name,"I18nD"].forEach((e=>t.component(e,Tf)))),t.directive("t",function(t){const e=e=>{const{instance:n,modifiers:r,value:i}=e;if(!n||!n.$)throw nf(ef.UNEXPECTED_ERROR);const s=function(t,e){const n=t;if("composition"===t.mode)return n.__getInstance(e)||t.global;{const r=n.__getInstance(e);return null!=r?r.__composer:t.global.__composer}}(t,n.$),o=Sf(i);return[Reflect.apply(s.t,s,[...Ef(o)]),s]};return{created:(n,r)=>{const[i,s]=e(r);Th&&t.global===s&&(n.__i18nWatcher=ra(s.locale,(()=>{r.instance&&r.instance.$forceUpdate()}))),n.__composer=s,n.textContent=i},unmounted:t=>{Th&&t.__i18nWatcher&&(t.__i18nWatcher(),t.__i18nWatcher=void 0,delete t.__i18nWatcher),t.__composer&&(t.__composer=void 0,delete t.__composer)},beforeUpdate:(t,{value:e})=>{if(t.__composer){const n=t.__composer,r=Sf(e);t.textContent=Reflect.apply(n.t,n,[...Ef(r)])}},getSSRProps:t=>{const[n]=e(t);return{textContent:n}}}}(e))}const Af=Sh("global-vue-i18n");function Cf(t={}){const e=qa();if(null==e)throw nf(ef.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&null!=e.appContext.app&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw nf(ef.NOT_INSTALLED);const n=function(t){{const e=So(t.isCE?Af:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw nf(t.isCE?ef.NOT_INSTALLED_WITH_PROVIDE:ef.UNEXPECTED_ERROR);return e}}(e),r=function(t){return"composition"===t.mode?t.global:t.global.__composer}(n),i=pf(e),s=function(t,e){return Lh(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}(t,i);if("global"===s)return function(t,e,n){let r=Vh(e.messages)?e.messages:{};"__i18nGlobal"in n&&(r=hf(t.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);if(i.length&&i.forEach((e=>{t.mergeLocaleMessage(e,r[e])})),Vh(e.datetimeFormats)){const n=Object.keys(e.datetimeFormats);n.length&&n.forEach((n=>{t.mergeDateTimeFormat(n,e.datetimeFormats[n])}))}if(Vh(e.numberFormats)){const n=Object.keys(e.numberFormats);n.length&&n.forEach((n=>{t.mergeNumberFormat(n,e.numberFormats[n])}))}}(r,t,i),r;if("parent"===s){let i=function(t,e,n=!1){let r=null;const i=e.root;let s=function(t,e=!1){if(null==t)return null;return e&&t.vnode.ctx||t.parent}(e,n);for(;null!=s;){const e=t;if("composition"===t.mode&&(r=e.__getInstance(s)),null!=r)break;if(i===s)break;s=s.parent}return r}(n,e,t.__useComponent);return null==i&&(i=r),i}const o=n;let a=o.__getInstance(e);if(null==a){const n=zh({},t);"__i18n"in i&&(n.__i18n=i.__i18n),r&&(n.__root=r),a=vf(n),o.__composerExtend&&(a[uf]=o.__composerExtend(a)),function(t,e,n){Fs((()=>{}),e),Vs((()=>{const r=n;t.__deleteInstance(e);const i=r[uf];i&&(i(),delete r[uf])}),e)}(o,e,a),o.__setInstance(e,a)}return a}const Of=["locale","fallbackLocale","availableLocales"],Lf=["t","rt","d","n","tm","te"];var zf,Pf;if("boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(Rh().__INTLIFY_PROD_DEVTOOLS__=!1),yd=function(t,e){if(Uh(t)){!jh(e.warnHtmlMessage)||e.warnHtmlMessage;const n=(e.onCacheKey||Pd)(t),r=Rd[n];if(r)return r;const{ast:i,detectError:s}=function(t,e={}){let n=!1;const r=e.onError||up;return e.onError=t=>{n=!0,r(t)},{...Rp(t,e),detectError:n}}(t,{...e,location:!1,jit:!0}),o=Od(i);return s?o:Rd[n]=o}{const e=t.cacheKey;return e?Rd[e]||(Rd[e]=Od(t)):Od(t)}},zf=function(t,e){if(!Vh(t))return null;let n=Bp.get(e);if(n||(n=function(t){const e=[];let n,r,i,s,o,a,l,u=-1,c=0,h=0;const p=[];function d(){const e=t[u+1];if(5===c&&"'"===e||6===c&&'"'===e)return u++,i="\\"+e,p[0](),!0}for(p[0]=()=>{void 0===r?r=i:r+=i},p[1]=()=>{void 0!==r&&(e.push(r),r=void 0)},p[2]=()=>{p[0](),h++},p[3]=()=>{if(h>0)h--,c=4,p[0]();else{if(h=0,void 0===r)return!1;if(r=Fp(r),!1===r)return!1;p[1]()}};null!==c;)if(u++,n=t[u],"\\"!==n||!d()){if(s=Dp(n),l=Np[c],o=l[s]||l.l||8,8===o)return;if(c=o[0],void 0!==o[1]&&(a=p[o[1]],a&&(i=n,!1===a())))return;if(7===c)return e}}(e),n&&Bp.set(e,n)),!n)return null;const r=n.length;let i=t,s=0;for(;s<r;){const t=i[n[s]];if(void 0===t)return null;if(Bh(i))return null;i=t,s++}return i},vd=zf,_d=ld,__INTLIFY_PROD_DEVTOOLS__){const t=Rh();t.__INTLIFY__=!0,Pf=t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__,Xp=Pf}const Rf=function(t={}){const e=!jh(t.globalInjection)||t.globalInjection,n=new Map,[r,i]=function(t){const e=pr();{const n=e.run((()=>vf(t)));if(null==n)throw nf(ef.UNEXPECTED_ERROR);return[e,n]}}(t),s=Sh("");{const t={get mode(){return"composition"},get allowComposition(){return true},async install(n,...r){if(n.__VUE_I18N_SYMBOL__=s,n.provide(n.__VUE_I18N_SYMBOL__,t),Hh(r[0])){const e=r[0];t.__composerExtend=e.__composerExtend,t.__vueI18nExtend=e.__vueI18nExtend}let i=null;e&&(i=function(t,e){const n=Object.create(null);Of.forEach((t=>{const r=Object.getOwnPropertyDescriptor(e,t);if(!r)throw nf(ef.UNEXPECTED_ERROR);const i=Li(r.value)?{get:()=>r.value.value,set(t){r.value.value=t}}:{get:()=>r.get&&r.get()};Object.defineProperty(n,t,i)})),t.config.globalProperties.$i18n=n,Lf.forEach((n=>{const r=Object.getOwnPropertyDescriptor(e,n);if(!r||!r.value)throw nf(ef.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${n}`,r)}));const r=()=>{delete t.config.globalProperties.$i18n,Lf.forEach((e=>{delete t.config.globalProperties[`$${e}`]}))};return r}(n,t.global)),kf(n,t,...r);const o=n.unmount;n.unmount=()=>{i&&i(),t.dispose(),o()}},get global(){return i},dispose(){r.stop()},__instances:n,__getInstance:function(t){return n.get(t)||null},__setInstance:function(t,e){n.set(t,e)},__deleteInstance:function(t){n.delete(t)}};return t}}({legacy:!1,locale:"fr",fallbackLocale:"en",globalInjection:!0,messages:{fr:{},en:{}}});console.log(Rf.global.locale.value);const Nf=new Map;function If(t){const{isMultilang:e,languageCode:n}={isMultilang:Uf,languageCode:jf};return ch(e?`/${Rf.global.locale.value}
53`:"/","app",t)}async function Df(t,{revalidate:e=!1,query:n={}}={}){let r;console.log(t);const i=Ff(t,n,Rf.global.locale.value),s=If(uh(`${t}.json`,n));if(console.log(s),!e&&i)return console.log(`[getPage] Pulling ${t} page data from cache.`),Nf.get(Rf.global.locale.value+"+"+t);console.log("[getPage] "+(e?`Revalidating ${t} page data.`:`Fetching ${s}â¦`));try{r=await Mh(s)}catch(o){return console.error(o),!1}return e||console.log(`[getPage] Fetched ${t} page data`,r),i&&!e||Nf.set(Rf.global.locale.value+"+"+t,r),r}function Ff(t,e={},n){return Nf.has(uh(n+"+"+t,e))}function Bf(){return{cache:Nf,hasPage:Ff,getPage:Df}}const Uf=!0,jf=document.documentElement.lang;console.log("[useLanguages] Current language code:",jf);const Vf=gi(JSON.parse(document.getElementById("site-data").textContent));function Wf(){return vi(Vf)}const $f=(t,e,n)=>{const r=document.documentElement.style.scrollBehavior||"auto";return n?{...n,behavior:r}:t.hash?{el:decodeURI(t.hash),top:Number(getComputedStyle(document.documentElement).getPropertyValue("--sticky-top").replace("px",""))-1,behavior:r}:{top:0,left:0,behavior:r}},qf=Object.freeze(Object.defineProperty({__proto__:null,install:t=>{Wf();const e=[{path:"/:locale",component:Ec,beforeEnter:(t,e,n)=>{["fr","en"].includes(t.params.locale)?n():n("/fr")},children:[{path:"",name:"home",component:()=>hn((()=>import("./Home-BN9beKSy.js")),__vite__mapDeps([0,1,2,3,4]))},{path:"about",name:"about",component:()=>hn((()=>import("./Article-D_FJ3J78.js")),__vite__mapDeps([5,3,6]))},{path:"contact",name:"contact",component:()=>hn((()=>import("./Article-D_FJ3J78.js")),__vite__mapDeps([5,3,6]))},{path:"apo",name:"apo",component:()=>hn((()=>import("./Article-D_FJ3J78.js")),__vite__mapDeps([5,3,6]))},{path:"newsletter",name:"newsletter",component:()=>hn((()=>import("./Newsletter-BYMBpp_h.js")),__vite__mapDeps([7,8]))},{path:"upcoming",name:"upcoming",component:()=>hn((()=>import("./Upcoming-CBD1HKWm.js")),__vite__mapDeps([9,1,2,3,10]))},{path:"artists",name:"artists",component:()=>hn((()=>import("./Artists-CC2lyuAh.js")),__vite__mapDeps([11,3,12]))},{path:"artists/:id",name:"artist",component:()=>hn((()=>import("./Artist-DsrQTxsC.js")),__vite__mapDeps([13,3,14]))},{path:"archives",name:"archives",component:()=>hn((()=>import("./Archives-RpAcFZ71.js")),__vite__mapDeps([15,3,16]))},{path:"program/:id",name:"event",component:()=>hn((()=>import("./Event-ColBqzvF.js")),__vite__mapDeps([17,1,2,3,18]))},{path:"event/:id",redirect:t=>({path:`/program/${t.params.id}`})},{path:":pathMatch(.*)*",redirect:"/fr"}]}],n=kc({history:ju(""),routes:e,scrollBehavior:$f});t.use(n)}},Symbol.toStringTag,{value:"Module"}));const Hf=Object.freeze(Object.defineProperty({__proto__:null,mapRange:function(t,e,n,r,i){return r+(i-r)*(t-e)/(n-e)},toDegrees:function(t){return 180*t/Math.PI},toRadians:function(t){return t*Math.PI/180}},Symbol.toStringTag,{value:"Module"})); 54/*! 55 * pinia v2.2.0 56 * (c) 2024 Eduardo San Martin Morote 57 * @license MIT 58 */ 59let Yf;const Xf=t=>Yf=t,Gf=Symbol();function Zf(t){return t&&"object"==typeof t&&"[object Object]"===Object.prototype.toString.call(t)&&"function"!=typeof t.toJSON}var Jf,Qf;(Qf=Jf||(Jf={})).direct="direct",Qf.patchObject="patch object",Qf.patchFunction="patch function";const Kf=()=>{};function tm(t,e,n,r=Kf){t.push(e);const i=()=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),r())};var s;return!n&&dr()&&(s=i,ur&&ur.cleanups.push(s)),i}function em(t,...e){t.slice().forEach((t=>{t(...e)}))}const nm=t=>t(),rm=Symbol(),im=Symbol();function sm(t,e){t instanceof Map&&e instanceof Map?e.forEach(((e,n)=>t.set(n,e))):t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const r=e[n],i=t[n];Zf(i)&&Zf(r)&&t.hasOwnProperty(n)&&!Li(r)&&!xi(r)?t[n]=sm(i,r):t[n]=r}return t}const om=Symbol();const{assign:am}=Object;function lm(t,e,n,r){const{state:i,actions:s,getters:o}=e,a=n.state.value[t];let l;return l=um(t,(function(){a||(n.state.value[t]=i?i():{});const e=function(t){const e=Mn(t)?new Array(t.length):{};for(const n in t)e[n]=Ui(t,n);return e}(n.state.value[t]);return am(e,s,Object.keys(o||{}).reduce(((e,r)=>(e[r]=Si(il((()=>{Xf(n);const e=n._s.get(t);return o[r].call(e,e)}))),e)),{}))}),e,n,r,!0),l}function um(t,e,n={},r,i,s){let o;const a=am({actions:{}},n),l={deep:!0};let u,c,h,p=[],d=[];const f=r.state.value[t];let m;function g(e){let n;u=c=!1,"function"==typeof e?(e(r.state.value[t]),n={type:Jf.patchFunction,storeId:t,events:h}):(sm(r.state.value[t],e),n={type:Jf.patchObject,payload:e,storeId:t,events:h});const i=m=Symbol();Ki().then((()=>{m===i&&(u=!0)})),c=!0,em(p,n,r.state.value[t])}s||f||(r.state.value[t]={}),zi({});const y=s?function(){const{state:t}=n,e=t?t():{};this.$patch((t=>{am(t,e)}))}:Kf;const v=(e,n="")=>{if(rm in e)return e[im]=n,e;const i=function(){Xf(r);const n=Array.from(arguments),s=[],o=[];let a;em(d,{args:n,name:i[im],store:_,after:function(t){s.push(t)},onError:function(t){o.push(t)}});try{a=e.apply(this&&this.$id===t?this:_,n)}
59catch(l){throw em(o,l),l}return a instanceof Promise?a.then((t=>(em(s,t),t))).catch((t=>(em(o,t),Promise.reject(t)))):(em(s,a),a)};return i[rm]=!0,i[im]=n,i},_=gi({_p:r,$id:t,$onAction:tm.bind(null,d),$patch:g,$reset:y,$subscribe(e,n={}){const i=tm(p,e,n.detached,(()=>s())),s=o.run((()=>ra((()=>r.state.value[t]),(r=>{("sync"===n.flush?c:u)&&e({storeId:t,type:Jf.direct,events:h},r)}),am({},l,n))));return i},$dispose:function(){o.stop(),p=[],d=[],r._s.delete(t)}});r._s.set(t,_);const x=(r._a&&r._a.runWithContext||nm)((()=>r._e.run((()=>(o=pr()).run((()=>e({action:v})))))));for(const M in x){const e=x[M];if(Li(e)&&(!Li(w=e)||!w.effect)||xi(e))s||(!f||Zf(b=e)&&b.hasOwnProperty(om)||(Li(e)?e.value=f[M]:sm(e,f[M])),r.state.value[t][M]=e);else if("function"==typeof e){const t=v(e,M);x[M]=t,a.actions[M]=e}}var b,w;return am(_,x),am(Ti(_),x),Object.defineProperty(_,"$state",{get:()=>r.state.value[t],set:t=>{g((e=>{am(e,t)}))}}),r._p.forEach((t=>{am(_,o.run((()=>t({store:_,app:r._a,pinia:r,options:a}))))})),f&&s&&n.hydrate&&n.hydrate(_.$state,f),u=!0,c=!0,_}!function(){try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('.vue3-marquee{display:flex!important;position:relative}.vue3-marquee.horizontal{overflow-x:hidden!important;flex-direction:row!important;width:100%;height:max-content}.vue3-marquee.vertical{overflow-y:hidden!important;flex-direction:column!important;height:100%;width:max-content}.vue3-marquee:hover>.marquee{animation-play-state:var(--pauseOnHover)}.vue3-marquee:active>.marquee{animation-play-state:var(--pauseOnClick)}.vue3-marquee>.marquee{flex:0 0 auto;min-width:var(--min-width);min-height:var(--min-height);z-index:1;animation:var(--orientation) var(--duration) linear var(--delay) var(--loops);animation-play-state:var(--pauseAnimation);animation-direction:var(--direction)}.vue3-marquee.horizontal>.marquee{display:flex;flex-direction:row;align-items:center}.vue3-marquee.vertical>.marquee{display:flex;flex-direction:column;align-items:center}@keyframes scrollX{0%{transform:translate(0)}to{transform:translate(-100%)}}@keyframes scrollY{0%{transform:translateY(0)}to{transform:translateY(-100%)}}.vue3-marquee>.overlay{position:absolute;width:100%;height:100%}.vue3-marquee>.transparent-overlay{position:absolute;width:100%;height:100%}.vue3-marquee>.overlay:before,.vue3-marquee>.overlay:after{content:"";position:absolute;z-index:2}.vue3-marquee.horizontal>.overlay:before,.vue3-marquee.horizontal>.overlay:after{background:linear-gradient(to right,var(--gradient-color));height:100%;width:var(--gradient-length)}.vue3-marquee.vertical>.overlay:before,.vue3-marquee.vertical>.overlay:after{background:linear-gradient(to bottom,var(--gradient-color));height:var(--gradient-length);width:100%}.vue3-marquee.horizontal>.overlay:after{transform:rotate(180deg)}.vue3-marquee.vertical>.overlay:after{transform:rotate(-180deg)}.vue3-marquee>.overlay:before{left:0;top:0}.vue3-marquee.horizontal>.overlay:after{right:0;top:0}.vue3-marquee.vertical>.overlay:after{left:0;bottom:0}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();var cm=Object.defineProperty,hm=Object.getOwnPropertySymbols,pm=Object.prototype.hasOwnProperty,dm=Object.prototype.propertyIsEnumerable,fm=(t,e,n)=>e in t?cm(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,mm=(t,e)=>{for(var n in e||(e={}))pm.call(e,n)&&fm(t,n,e[n]);if(hm)for(var n of hm(e))dm.call(e,n)&&fm(t,n,e[n]);return t},gm=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n};const ym=As({props:{vertical:{type:Boolean,default:!1},direction:{type:String,default:"normal"},duration:{type:Number,default:20},delay:{type:Number,default:0},loop:{type:Number,default:0},clone:{type:Boolean,default:!1},gradient:{type:Boolean,default:!1},gradientColor:{type:Array,default:[255,255,255]},gradientWidth:{type:String},gradientLength:{type:String},pauseOnHover:{type:Boolean,default:!1},pauseOnClick:{type:Boolean,default:!1},pause:{type:Boolean,default:!1},animateOnOverflowOnly:{type:Boolean,default:!1}},emits:["onComplete","onLoopComplete","onPause","onResume","onOverflowDetected","onOverflowCleared"],setup(t,{emit:e}){const n=zi(0),r=zi("100%"),i=zi("100%"),s=zi(0),o=zi(!1),a=zi(!1),l=zi(0),u=zi(0),c=zi(0),h=zi(0),p=zi(!1),d=zi(!1),f=zi(0),m=zi(null),g=zi("200px"),y=zi(!1),v=zi(null),_=zi(null),x=async()=>{await b(),s.value++},b=async()=>{t.vertical&&(o.value=!0),setInterval((()=>
59{if(r.value="0%",i.value="0%",null!==v.value&&null!==_.value&&v.value&&_.value){if(t.vertical&&"clientHeight"in v.value&&"clientHeight"in _.value){h.value=v.value.clientHeight,c.value=_.value.clientHeight;const t=Math.ceil(c.value/h.value);return n.value=isFinite(t)?t:0,o.value=!1,n.value}if(!t.vertical&&"clientWidth"in v.value&&"clientWidth"in _.value){if(u.value=v.value.clientWidth,l.value=_.value.clientWidth,t.animateOnOverflowOnly)return u.value<l.value?(a.value=!0,e("onOverflowDetected")):(a.value=!1,e("onOverflowCleared")),0;const r=Math.ceil(l.value/u.value);return n.value=isFinite(r)?r:0,n.value}return r.value="100%",i.value="100%",0}return r.value="100%",i.value="100%",0}),100)};ra(u,(async()=>{t.clone&&x()})),ra(l,(async()=>{(t.clone||t.animateOnOverflowOnly)&&x()})),ra((()=>t.pause),((t,n)=>{t!==n&&e(t?"onResume":"onPause")}));const w=il((()=>t.pause||t.vertical&&o.value||t.animateOnOverflowOnly&&a.value?"paused":"running")),M=il((()=>t.pauseOnHover&&(p.value||d.value)?"paused":t.pauseOnHover||"paused"!==w.value?"running":"paused")),T=il((()=>t.pauseOnHover&&p.value||t.pauseOnClick&&d.value?"paused":t.pauseOnHover||"paused"!==w.value?"running":"paused")),S=il((()=>{const e={"--duration":`${t.duration}s`,"--delay":`${t.delay}s`,"--direction":`${t.direction}`,"--pauseOnHover":`${M.value}`,"--pauseOnClick":`${T.value}`,"--pauseAnimation":`${w.value}`,"--loops":`${0===t.loop?"infinite":t.loop}`,"--gradient-color":`rgba(${t.gradientColor[0]}, ${t.gradientColor[1]}, ${t.gradientColor[2]}, 1), rgba(${t.gradientColor[0]}, ${t.gradientColor[1]}, ${t.gradientColor[2]}, 0)`,"--gradient-length":`${g.value}`,"--min-width":`${r.value}`,"--min-height":`${i.value}`},n={"--orientation":"scrollX",orientation:"horizontal"};t.vertical&&(n["--orientation"]="scrollY");return mm(mm({},e),n)})),E=il((()=>!!t.gradient)),k=async()=>{t.vertical?(i.value="100%",r.value="auto",t.animateOnOverflowOnly&&console.warn("The `animateOnOverflowOnly` prop is not supported for vertical marquees.")):(i.value="auto",t.animateOnOverflowOnly?r.value="auto":r.value="100%"),t.gradient&&(t.gradientWidth?(console.warn("The `gradientWidth` prop has been deprecated and will be removed in a future release. Please use `gradientLength` instead."),g.value=t.gradientWidth):t.gradientLength&&(g.value=t.gradientLength)),t.clone||t.animateOnOverflowOnly?(await b(),x(),y.value=!0):y.value=!0};return Fs((async()=>{k(),m.value=setInterval((()=>{f.value++,0!==t.loop&&f.value===t.loop&&(e("onComplete"),clearInterval(m.value)),e("onLoopComplete")}),1e3*t.duration)})),js((()=>{clearInterval(m.value)})),{ready:y,contentWidth:u,containerWidth:l,contentHeight:h,containerHeight:c,loopCounter:f,loopInterval:m,mouseOverMarquee:p,mouseDownMarquee:d,minWidth:r,minHeight:i,animateO
59nOverflowPause:a,marqueeContent:v,marqueeOverlayContainer:_,componentKey:s,showGradient:E,cloneAmount:n,ForcesUpdate:x,checkForClone:b,setupMarquee:k,getCurrentStyle:S,hoverStarted:()=>{t.pauseOnHover&&(e("onPause"),p.value=!0)},hoverEnded:()=>{t.pauseOnHover&&(e("onResume"),p.value=!1)},mouseDown:()=>{t.pauseOnClick&&(e("onPause"),d.value=!0)},mouseUp:()=>{t.pauseOnClick&&(e("onResume"),d.value=!1)}}}}),vm={class:"transparent-overlay",ref:"marqueeOverlayContainer","aria-hidden":!0},_m={class:"marquee",ref:"marqueeContent"},xm={key:1,"aria-hidden":!0,class:"marquee"};var bm=gm(ym,[["render",function(t,e,n,r,i,s){return t.ready?(wa(),Ea("div",{class:nr(["vue3-marquee",{vertical:t.vertical,horizontal:!t.vertical}]),style:Jn(t.getCurrentStyle),key:t.componentKey,onMouseenter:e[0]||(e[0]=(...e)=>t.hoverStarted&&t.hoverStarted(...e)),onMouseleave:e[1]||(e[1]=(...e)=>t.hoverEnded&&t.hoverEnded(...e)),onMousedown:e[2]||(e[2]=(...e)=>t.mouseDown&&t.mouseDown(...e)),onMouseup:e[3]||(e[3]=(...e)=>t.mouseUp&&t.mouseUp(...e))},[za("div",vm,null,512),t.showGradient?(wa(),Ea("div",{key:0,"aria-hidden":!0,class:nr(["overlay",{vertical:t.vertical,horizontal:!t.vertical}])},null,2)):Da("",!0),za("div",_m,[to(t.$slots,"default")],512),!t.animateOnOverflowOnly||t.animateOnOverflowOnly&&!t.animateOnOverflowPause?(wa(),Ea("div",xm,[to(t.$slots,"default")])):Da("",!0),(wa(!0),Ea(ga,null,Ks(t.cloneAmount,(e=>(wa(),Ea("div",{"aria-hidden":!0,class:"marquee cloned",key:e},[to(t.$slots,"default")])))),128))],38)):Da("",!0)}]]),wm={install(t,e){var n;const r=null!=(n=null==e?void 0:e.name)?n:"Vue3Marquee";t.component(r,bm)}};"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function Mm(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Tm={exports:{}};"undefined"!=typeof self&&self,Tm.exports=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.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return 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="fb15")}({8875:function(t,e,n){var r,i,s;"undefined"!=typeof self&&self,i=[],void 0===(s="function"==typeof(r=function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var n,r,i,s=/@([^@]*):(\d+):(\d+)\s*$/gi,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(p.stack)||s.exec(p.stack),a=o&&o[1]||!1,l=o&&o[2]||!1,u=document.location.href.replace(document.location.hash,""),c=document.getElementsByTagName("script");a===u&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(l-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=n.replace(r,"$1").trim());for(var h=0;h<c.length;h++){if("interactive"===c[h].readyState)return c[h];if(c[h].src===a)return c[h];if(a===u&&c[h].innerHTML&&c[h].innerHTML.trim()===i)return c[h]}return null}}return t})?r.apply(e,i):r)||(t.exports=s)},fb15:function(t,e,n){if(n.r(e),"undefined"!=typeof window){var r=window.document.currentScript,i=n("8875");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var s=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);s&&(n.p=s[1])}function o(){var t,e=!1;return t=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
59sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))&&(e=!0),e}var a={install:function(t){t.config.globalProperties.$isMobile=o}};e.default=a}});const Sm=Mm(Tm.exports),Em={class:"is-typed"},km={class:"typed"},Am=As({__name:"vue-writer",props:{array:{},eraseSpeed:{default:100},typeSpeed:{default:200},delay:{default:2e3},intervals:{default:500},start:{default:0},caret:{default:"cursor"},iterations:{default:0}},emits:["typed"],setup(t,{emit:e}){const{array:n,eraseSpeed:r,typeSpeed:i,delay:s,intervals:o,start:a,caret:l,iterations:u}=t,c=e,h=zi(""),p=zi(0),d=zi(!1),f=zi(0),m=zi(0);function g(){let t=0;if(m.value<n[f.value].length)d.value||(d.value=!0),h.value+=n[f.value].charAt(m.value),m.value+=1,setTimeout(g,i);else{if(p.value+=1,function(t){c("typed",t)}(n[f.value]),p.value===n.length&&(t+=1,t===u))return d.value=!1;d.value=!1,setTimeout(y,s)}}function y(){m.value>0?(d.value||(d.value=!0),h.value=n[f.value].substring(0,m.value-1),m.value-=1,setTimeout(y,r)):(d.value=!1,f.value+=1,f.value>=n.length&&(f.value=0),setTimeout(g,i+o))}return setTimeout(g,a),(t,e)=>(wa(),Ea("div",Em,[to(t.$slots,"default"),za("span",km,or(h.value),1),za("span",{class:nr(l+" "+{typing:d.value})}," ",2)]))}}),Cm={install:t=>{t.component("VueWriter",Am)}},Om=function(t,e,n){let r,i;const s="function"==typeof e;function o(t,n){(t=t||(!!($a||as||Mo)?So(Gf,null):null))&&Xf(t),(t=Yf)._s.has(r)||(s?um(r,e,i,t):lm(r,i,t));return t._s.get(r)}return r=t,i=s?n:e,o.$id=r,o}("states",(()=>{const t=zi(!1),e=zi("Brands And Institutions"),n=zi("Brands"),r=zi("And"),i=zi("Institutions"),s=zi(!1),o=zi(!1),a=zi(!1),l=zi(!1),u=zi(!1),c=zi(!1);return{barVisibility:t,tagline:e,leftText:n,middleText:r,rightText:i,resetToDefault:()=>{e.value="Brands And Institutions",n.value="Brands",r.value="And",i.value="Institutions"},infoOpen:s,menuOpen:o,introDone:a,isupcoming:l,iscurrent:u,isarchives:c,finishedIntro:()=>{a.value=!0},toggleMenu:t=>{o.value=t}}})),Lm=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n},zm=t=>(cs("data-v-aa876f0e"),t=t(),hs(),t),Pm={class:"footer"},Rm=["innerHTML"],Nm={class:"footer-grid"},Im={key:0,class:"left"},Dm=["href"],Fm=["href"],Bm={class:"middle"},Um=["innerHTML"],jm={key:1,class:"right"},Vm=zm((()=>za("a",{href:"https://ateliersportesouvertes.ch",target:"_blank"},"APO Genève",-1))),Wm=Lm({__name:"Footer",setup(t){const e=Wf(),{t:n,locale:r}=Cf({inheritLocale:!0,useScope:"local",messages:{en:{newsletter:"Newsletter",apo:"Apo Genève",address:e.en.address||"",openinghours:e.en.openinghours||""},fr:{newsletter:"Newsletter",apo:"Apo Genève",address:e.fr.address||"",openinghours:e.fr.openinghours||""}}});Cc(),Ac();const i=Om();il((()=>i.infoOpen)),il((()=>i.introDone));const s=zi(!1),o=zi(!1);s.value=matchMedia("(pointer:coarse)").matches,o.value=matchMedia("(max-width: 768px)").matches;const a=()=>{o.value=matchMedia("(max-width: 768px)").matches};return Fs((()=>{a(),window.addEventListener("resize",a)})),Vs((()=>{window.removeEventListener("resize",a)})),il((()=>atob("bWFpbEBmb3JkZS5jaA=="))),(t,i)=>{const s=Xs("router-link");return wa(),Ea("footer",Pm,[za("section",null,[za("address",{class:"address",innerHTML:Ii(n)("address")},null,8,Rm)]),za("div",Nm,[o.value?Da("",!0):(wa(),Ea("div",Im,[za("a",{href:`mailto:${Ii(e).email}`},or(Ii(e).email),9,Dm),za("a",{href:`tel:${Ii(e).phone}`},or(Ii(e).phone),9,Fm)])),za("div",Bm,[za("p",{innerHTML:Ii(n)("openinghours")},null,8,Um)]),o.value?Da("",!0):(wa(),Ea("div",jm,[Pa(s,{to:`/${Ii(r)}/newsletter`},{default:ps((()=>[Na(or(Ii(n)("newsletter")),1)])),_:1},8,["to"]),Vm]))])])}}},[["__scopeId","data-v-aa876f0e"]]);function $m(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qm(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e} 60/*! 61 * GSAP 3.12.5 62 * https://gsap.com 63 * 64 * @license Copyright 2008-2024, GreenSock. All rights reserved. 65 * Subject to the terms at https://gsap.com/standard-license or for 66 * Club GSAP members, the agreement issued with that membership. 67 * @author: Jack Doyle, [email protected] 68*/var Hm,Ym,Xm,Gm,Zm,Jm,Qm,Km,tg,eg,ng,rg,ig,sg,og,ag,lg,ug,cg,hg,pg,dg,fg,mg,gg,yg,vg,_g,xg,bg,wg,Mg,Tg={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Sg={duration:.5,overwrite:!1,delay:0},Eg=1e8,kg=1e-8,Ag=2*Math.PI,Cg=Ag/4,Og=0,Lg=Math.sqrt,zg=Math.cos,Pg=Math.sin,Rg=function(t){return"string"==typeof t},Ng=function(t){return"function"==typeof t},Ig=function(t){return"number"==typeof t},Dg=function(t){return void 0===t},Fg=function(t){return"object"==typeof t},Bg=function(t){return!1!==t},Ug=function(){return"undefined"!=typeof window},jg=function(t){return Ng(t)||Rg(t)},Vg="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},Wg=Array.isArray,$g=/(?:-?\.?\d|\.)+/gi,qg=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Hg=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Yg=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Xg=/[+-]=-?[.\d]+/,Gg=/[^,'"\[\]\s]+/gi,Zg=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Jg={},Qg={},Kg=function(t){return(Qg=Ay(t,Jg))&&A_},ty=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},ey=function(t,e){return!e&&console.warn(t)},ny=function(t,e){return t&&(Jg[t]=e)&&Qg&&(Qg[t]=e)||Jg},ry=function(){return 0},iy={suppressEvents:!0,isStart:!0,kill:!1},sy={suppressEvents:!0,kill:!1},oy={suppressEvents:!0},ay={},ly=[],uy={},cy={},hy={},py=30,dy=[],fy="",my=function(t){var e,n,r=t[0];if(Fg(r)||Ng(r)||(t=[t]),!(e=(r._gsap||{}).harness)){for(n=dy.length;
vendor: 5,229 bytes, line 68
68n--&&!dy[n].targetTest(r););e=dy[n]}for(n=t.length;n--;)t[n]&&(t[n]._gsap||(t[n]._gsap=new Vv(t[n],e)))||t.splice(n,1);return t},gy=function(t){return t._gsap||my(sv(t))[0]._gsap},yy=function(t,e,n){return(n=t[e])&&Ng(n)?t[e]():Dg(n)&&t.getAttribute&&t.getAttribute(e)||n},vy=function(t,e){return(t=t.split(",")).forEach(e)||t},_y=function(t){return Math.round(1e5*t)/1e5||0},xy=function(t){return Math.round(1e7*t)/1e7||0},by=function(t,e){var n=e.charAt(0),r=parseFloat(e.substr(2));return t=parseFloat(t),"+"===n?t+r:"-"===n?t-r:"*"===n?t*r:t/r},wy=function(t,e){for(var n=e.length,r=0;t.indexOf(e[r])<0&&++r<n;);return r<n},My=function(){var t,e,n=ly.length,r=ly.slice(0);for(uy={},ly.length=0,t=0;t<n;t++)(e=r[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},Ty=function(t,e,n,r){ly.length&&!Ym&&My(),t.render(e,n,Ym&&e<0&&(t._initted||t._startAt)),ly.length&&!Ym&&My()},Sy=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(Gg).length<2?e:Rg(t)?t.trim():t},Ey=function(t){return t},ky=function(t,e){for(var n in e)n in t||(t[n]=e[n]);return t},Ay=function(t,e){for(var n in e)t[n]=e[n];return t},Cy=function t(e,n){for(var r in n)"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&(e[r]=Fg(n[r])?t(e[r]||(e[r]={}),n[r]):n[r]);return e},Oy=function(t,e){var n,r={};for(n in t)n in e||(r[n]=t[n]);return r},Ly=function(t){var e,n=t.parent||Gm,r=t.keyframes?(e=Wg(t.keyframes),function(t,n){for(var r in n)r in t||"duration"===r&&e||"ease"===r||(t[r]=n[r])}):ky;if(Bg(t.inherit))for(;n;)r(t,n.vars.defaults),n=n.parent||n._dp;return t},zy=function(t,e,n,r,i){var s,o=t[r];if(i)for(s=e[i];o&&o[i]>s;)o=o._prev;return o?(e._next=o._next,o._next=e):(e._next=t[n],t[n]=e),e._next?e._next._prev=e:t[r]=e,e._prev=o,e.parent=e._dp=t,e},Py=function(t,e,n,r){void 0===n&&(n="_first"),void 0===r&&(r="_last");var i=e._prev,s=e._next;i?i._next=s:t[n]===e&&(t[n]=s),s?s._prev=i:t[r]===e&&(t[r]=i),e._next=e._prev=e.parent=null},Ry=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Ny=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var n=t;n;)n._dirty=1,n=n.parent;return t},Iy=function(t,e,n,r){return t._startAt&&(Ym?t._startAt.revert(sy):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,r))},Dy=function t(e){return!e||e._ts&&t(e.parent)},Fy=function(t){return t._repeat?By(t._tTime,t=t.duration()+t._rDelay)*t:0},By=function(t,e){var n=Math.floor(t/=e);return t&&n===t?n-1:n},Uy=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},jy=function(t){return t._end=xy(t._start+(t._tDur/Math.abs(t._ts||t._rts||kg)||0))},Vy=function(t,e){var n=t._dp;return n&&n.smoothChildTiming&&t._ts&&(t._start=xy(n._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),jy(t),n._dirty||Ny(n,t)),t},Wy=function(t,e){var n;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(n=Uy(t.rawTime(),e),(!e._dur||ev(0,e.totalDuration(),n)-e._tTime>kg)&&e.render(n,!0)),Ny(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(n=t;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;t._zTime=-1e-8}},$y=function(t,e,n,r){return e.parent&&Ry(e),e._start=xy((Ig(n)?n:n||t!==Gm?Qy(t,n,e):t._time)+e._delay),e._end=xy(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),zy(t,e,"_first","_last",t._sort?"_start":0),Xy(e)||(t._recent=e),r||Wy(t,e),t._ts<0&&Vy(t,t._tTime),t},qy=function(t,e){return(Jg.ScrollTrigger||ty("scrollTrigger",e))&&Jg.ScrollTrigger.create(e,t)},Hy=function(t,e,n,r,i){return Zv(t,e,i),t._initted?!n&&t._pt&&!Ym&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&tg!==Cv.frame?(ly.push(t),t._lazy=[i,r],1):void 0:1},Yy=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},Xy=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},Gy=function(t,e,n,r){var i=t._repeat,s=xy(e)||0,o=t._tTime/t._tDur;return o&&!r&&(t._time*=s/t._dur),t._dur=s,t._tDur=i?i<0?1e10:xy(s*(i+1)+t._rDelay*i):s,o>0&&!r&&Vy(t,t._tTime=t._tDur*o),t.parent&&jy(t),n||Ny(t.parent,t),t},Zy=function(t){return t instanceof $v?Ny(t):Gy(t,t._dur)},Jy={_start:0,endTime:ry,totalDuration:ry},Qy=function t(e,n,r){var i,s,o,a=e.labels,l=e._recent||Jy,u=e.duration()>=Eg?l.endTime(!1):e._dur;return Rg(n)&&(isNaN(n)||n in a)?(s=n.charAt(0),o="%"===n.substr(-1),i=n.indexOf("="),"<"===s||">"===s?(i>=0&&(n=n.replace(/=/,"")),("<"===s?l._start:l.endTime(l._repeat>=0))+(parseFloat(n.substr(1))||0)*(o?(i<0?l:r).totalDuration()/100:1)):i<0?(n in a||(a[n]=u),a[n]):(s=parseFloat(n.charAt(i-1)+n.substr(i+1)),o&&r&&(s=s/100*(Wg(r)?r[0]:r).totalDuration()),i>1?t(e,n.substr(0,i-1),r)+s:u+s)):null==n?u:+n},Ky=function(t,e,n){var r,i,s=Ig(e[1]),o=(s?2:1)+(t<2?0:1),a=e[o];if(s&&(a.duration=e[1]),a.parent=n,t){for(r=a,i=n;i&&!("immediateRender"in r);)r=i.vars.defaults||{},i=Bg(i.vars.inherit)&&i.parent;a.immediateRender=Bg(r.immediateRender),t<2?a.runBackwards=1:a.startAt=e[o-1]}return new e_(e[0],a,e[o+1])},tv=function(t,e){return t||0===t?e(t):e},ev=function(t,e,n){return n<t?t:n>e?e:n},nv=function(t,e){return Rg(t)&&(e=Zg.exec(t))?e[1]:""},rv=[].slice,iv=function(t,e){return t&&Fg(t)&&"length"in t&&(!e&&!t.length||t.length-1
vendor: 9,941 bytes, line 68
68in t&&Fg(t[0]))&&!t.nodeType&&t!==Zm},sv=function(t,e,n){return Xm&&!e&&Xm.selector?Xm.selector(t):!Rg(t)||n||!Jm&&Ov()?Wg(t)?function(t,e,n){return void 0===n&&(n=[]),t.forEach((function(t){var r;return Rg(t)&&!e||iv(t,1)?(r=n).push.apply(r,sv(t)):n.push(t)}))||n}(t,n):iv(t)?rv.call(t,0):t?[t]:[]:rv.call((e||Qm).querySelectorAll(t),0)},ov=function(t){return t=sv(t)[0]||ey("Invalid scope")||{},function(e){var n=t.current||t.nativeElement||t;return sv(e,n.querySelectorAll?n:n===t?ey("Invalid scope")||Qm.createElement("div"):t)}},av=function(t){return t.sort((function(){return.5-Math.random()}))},lv=function(t){if(Ng(t))return t;var e=Fg(t)?t:{each:t},n=Dv(e.ease),r=e.from||0,i=parseFloat(e.base)||0,s={},o=r>0&&r<1,a=isNaN(r)||o,l=e.axis,u=r,c=r;return Rg(r)?u=c={center:.5,edges:.5,end:1}[r]||0:!o&&a&&(u=r[0],c=r[1]),function(t,o,h){var p,d,f,m,g,y,v,_,x,b=(h||e).length,w=s[b];if(!w){if(!(x="auto"===e.grid?0:(e.grid||[1,Eg])[1])){for(v=-1e8;v<(v=h[x++].getBoundingClientRect().left)&&x<b;);x<b&&x--}for(w=s[b]=[],p=a?Math.min(x,b)*u-.5:r%x,d=x===Eg?0:a?b*c/x-.5:r/x|0,v=0,_=Eg,y=0;y<b;y++)f=y%x-p,m=d-(y/x|0),w[y]=g=l?Math.abs("y"===l?m:f):Lg(f*f+m*m),g>v&&(v=g),g<_&&(_=g);"random"===r&&av(w),w.max=v-_,w.min=_,w.v=b=(parseFloat(e.amount)||parseFloat(e.each)*(x>b?b-1:l?"y"===l?b/x:x:Math.max(x,b/x))||0)*("edges"===r?-1:1),w.b=b<0?i-b:i,w.u=nv(e.amount||e.each)||0,n=n&&b<0?Nv(n):n}return b=(w[t]-w.min)/w.max||0,xy(w.b+(n?n(b):b)*w.v)+w.u}},uv=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(n){var r=xy(Math.round(parseFloat(n)/t)*t*e);return(r-r%1)/e+(Ig(n)?0:nv(n))}},cv=function(t,e){var n,r,i=Wg(t);return!i&&Fg(t)&&(n=i=t.radius||Eg,t.values?(t=sv(t.values),(r=!Ig(t[0]))&&(n*=n)):t=uv(t.increment)),tv(e,i?Ng(t)?function(e){return r=t(e),Math.abs(r-e)<=n?r:e}:function(e){for(var i,s,o=parseFloat(r?e.x:e),a=parseFloat(r?e.y:0),l=Eg,u=0,c=t.length;c--;)(i=r?(i=t[c].x-o)*i+(s=t[c].y-a)*s:Math.abs(t[c]-o))<l&&(l=i,u=c);return u=!n||l<=n?t[u]:e,r||u===e||Ig(e)?u:u+nv(e)}:uv(t))},hv=function(t,e,n,r){return tv(Wg(t)?!e:!0===n?!!(n=0):!r,(function(){return Wg(t)?t[~~(Math.random()*t.length)]:(n=n||1e-5)&&(r=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((t-n/2+Math.random()*(e-t+.99*n))/n)*n*r)/r}))},pv=function(t,e,n){return tv(n,(function(n){return t[~~e(n)]}))},dv=function(t){for(var e,n,r,i,s=0,o="";~(e=t.indexOf("random(",s));)r=t.indexOf(")",e),i="["===t.charAt(e+7),n=t.substr(e+7,r-e-7).match(i?Gg:$g),o+=t.substr(s,e-s)+hv(i?n:+n[0],i?0:+n[1],+n[2]||1e-5),s=r+1;return o+t.substr(s,t.length-s)},fv=function(t,e,n,r,i){var s=e-t,o=r-n;return tv(i,(function(e){return n+((e-t)/s*o||0)}))},mv=function(t,e,n){var r,i,s,o=t.labels,a=Eg;for(r in o)(i=o[r]-e)<0==!!n&&i&&a>(i=Math.abs(i))&&(s=r,a=i);return s},gv=function(t,e,n){var r,i,s,o=t.vars,a=o[e],l=Xm,u=t._ctx;if(a)return r=o[e+"Params"],i=o.callbackScope||t,n&&ly.length&&My(),u&&(Xm=u),s=r?a.apply(i,r):a.call(i),Xm=l,s},yv=function(t){return Ry(t),t.scrollTrigger&&t.scrollTrigger.kill(!!Ym),t.progress()<1&&gv(t,"onInterrupt"),t},vv=[],_v=function(t){if(t)if(t=!t.name&&t.default||t,Ug()||t.headless){var e=t.name,n=Ng(t),r=e&&!n&&t.init?function(){this._props=[]}:t,i={init:ry,render:c_,add:Xv,kill:p_,modifier:h_,rawVars:0},s={targetTest:0,get:0,getSetter:o_,aliases:{},register:0};if(Ov(),t!==r){if(cy[e])return;ky(r,ky(Oy(t,i),s)),Ay(r.prototype,Ay(i,Oy(t,s))),cy[r.prop=e]=r,t.targetTest&&(dy.push(r),ay[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}ny(e,r),t.register&&t.register(A_,r,m_)}else vv.push(t)},xv=255,bv={aqua:[0,xv,xv],lime:[0,xv,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,xv],navy:[0,0,128],white:[xv,xv,xv],olive:[128,128,0],yellow:[xv,xv,0],orange:[xv,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[xv,0,0],pink:[xv,192,203],cyan:[0,xv,xv],transparent:[xv,xv,xv,0]},wv=function(t,e,n){return(6*(t+=t<0?1:t>1?-1:0)<1?e+(n-e)*t*6:t<.5?n:3*t<2?e+(n-e)*(2/3-t)*6:e)*xv+.5|0},Mv=function(t,e,n){var r,i,s,o,a,l,u,c,h,p,d=t?Ig(t)?[t>>16,t>>8&xv,t&xv]:0:bv.black;if(!d){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),bv[t])d=bv[t];else if("#"===t.charAt(0)){if(t.length<6&&(r=t.charAt(1),i=t.charAt(2),s=t.charAt(3),t="#"+r+r+i+i+s+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(d=parseInt(t.substr(1,6),16))>>16,d>>8&xv,d&xv,parseInt(t.substr(7),16)/255];d=[(t=parseInt(t.substr(1),16))>>16,t>>8&xv,t&xv]}else if("hsl"===t.substr(0,3))if(d=p=t.match($g),e){if(~t.indexOf("="))return d=t.match(qg),n&&d.length<4&&(d[3]=1),d}else o=+d[0]%360/360,a=+d[1]/100,r=2*(l=+d[2]/100)-(i=l<=.5?l*(a+1):l+a-l*a),d.length>3&&(d[3]*=1),d[0]=wv(o+1/3,r,i),d[1]=wv(o,r,i),d[2]=wv(o-1/3,r,i);else d=t.match($g)||bv.transparent;d=d.map(Number)}return e&&!p&&(r=d[0]/xv,i=d[1]/xv,s=d[2]/xv,l=((u=Math.max(r,i,s))+(c=Math.min(r,i,s)))/2,u===c?o=a=0:(h=u-c,a=l>.5?h/(2-u-c):h/(u+c),o=u===r?(i-s)/h+(i<s?6:0):u===i?(s-r)/h+2:(r-i)/h+4,o*=60),d[0]=~~(o+.5),d[1]=~~(100*a+.5),d[2]=~~(100*l+.5)),n&&d.length<4&&(d[3]=1),d},Tv=function(t){var e=[],n=[],r=-1;return t.split(Ev).forEach((function(t){var i=t.match(Hg)||[];e.push.apply(e,i),n.push(r+=i.length+1)})),e.c=n,e},Sv=function(t,e,n){var r,i,s,o,a="",l=(t+a).match(Ev),u=e?"hsla(":"rgba(",c=0;if(!l)return t;if(l=l.map((function(t){return(t=Mv(t,e,1))&&u+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"})),n&&(s=Tv(t),(r=n.c).join(a)!==s.c.join(a)))for(o=(i=t.replace(Ev,"1").split(Hg)).length-1;c<o;c++)a+=i[c]+(~r.indexOf(c)?l.shift()||u+"0,0,0,0)":(s.length?s:l.length?l:n).shift());if(!i)for(o=(i=t.split(Ev)).length-1;c<o;c++)a+=i[c]+l[c];return a+i[o]},Ev=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in bv)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),kv=/hsl[a]?\(/,Av=function(t){var e,n=t.join(" ");if(Ev.lastIndex=0,Ev.test(n))return e=kv.test(n),t[1]=Sv(t[1],e),t[0]=Sv(t[0],e,Tv(t[1])),!0},Cv=(ug=Date.now,cg=500,hg=33,pg=ug(),dg=pg,mg=fg=1e3/240,yg=function t(e){var n,r,i,s,o=ug()-dg,a=!0===e;if((o>cg||o<0)&&(pg+=o-hg),((n=(i=(dg+=o)-pg)-mg)>0||a)&&(s=++og.frame,ag=i-1e3*og.time,og.time=i/=1e3,mg+=n+(n>=fg?4:fg-n),r=1),a||(rg=ig(t)),r)for(lg=0;lg<gg.length;lg++)gg[lg](i,ag,s,e)},og={time:0,frame:0,tick:function(){yg(!0)},deltaRatio:function(t){return ag/(1e3/(t||60))},wake:function(){Km&&(!Jm&&Ug()&&(Zm=Jm=window,Qm=Zm.document||{},Jg.gsap=A_,(Zm.gsapVersions||(Zm.gsapVersions=[])).push(A_.version),Kg(Qg||Zm.GreenSockGlobals||!Zm.gsap&&Zm||{}),vv.forEach(_v)),sg="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame,rg&&og.sleep(),ig=sg||function(t){return setTimeout(t,mg-1e3*og.time+1|0)},ng=1,yg(2))},sleep:function(){(sg?cancelAnimationFrame:clearTimeout)(rg),ng=0,ig=ry},lagSmoothing:function(t,e){cg=t||1/0,hg=Math.min(e||33,cg)},fps:function(t){fg=1e3/(t||240),mg=1e3*og.time+fg},add:function(t,e,n){var r=e?function(e,n,i,s){t(e,n,i,s),og.remove(r)}:t;return og.remove(t),gg[n?"unshift":"push"](r),Ov(),r},remove:function(t,e){~(e=gg.indexOf(t))&&gg.splice(e,1)&&lg>=e&&lg--},_listeners:gg=[]}),Ov=function(){return!ng&&Cv.wake()},Lv={},zv=/^[\d.\-M][\d.\-,\s]/,Pv=/["']/g,Rv=function(t){for(var e,n,r,i={},s=t.substr(1,t.length-3).split(":"),o=s[0],a=1,l=s.length;a<l;a++)n=s[a],e=a!==l-1?n.lastIndexOf(","):n.length,r=n.substr(0,e),i[o]=isNaN(r)?r.replace(Pv,"").trim():+r,o=n.substr(e+1).trim();return i},Nv=function(t){return function(e){return 1-t(1-e)}},Iv=function t(e,n){for(var r,i=e._first;i;)i instanceof $v?t(i,n):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===n||(i.timeline?t(i.timeline,n):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=n)),i=i._next},Dv=function(t,e){return t&&(Ng(t)?t:Lv[t]||function(t){var e,n,r,i,s=(t+"").split("("),o=Lv[s[0]];return o&&s.length>1&&o.config?o.config.apply(null,~t.indexOf("{")?[Rv(s[1])]:(e=t,n=e.indexOf("(")+1,r=e.indexOf(")"),i=e.indexOf("(",n),e.substring(n,~i&&i<r?e.indexOf(")",r+1):r)).split(",").map(Sy)):Lv._CE&&zv.test(t)?Lv._CE("",t):o}(t))||e},Fv=function(t,e,n,r){void 0===n&&(n=function(t){return 1-e(1-t)}),void 0===r&&(r=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var i,s={easeIn:e,easeOut:n,easeInOut:r};return vy(t,(function(t){for(var e in Lv[t]=Jg[t]=s,Lv[i=t.toLowerCase()]=n,s)Lv[i+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=Lv[t+"."+e]=s[e]})),s},Bv=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2}},Uv=function t(e,n,r){var i=n>=1?n:1,s=(r||(e?.3:.45))/(n<1?n:1),o=s/Ag*(Math.asin(1/i)||0),a=function(t){return 1===t?1:i*Math.pow(2,-10*t)*Pg((t-o)*s)+1},l="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:Bv(a);return s=Ag/s,l.config=function(n,r){return t(e,n,r)},l},jv=function t(e,n){void 0===n&&(n=1.70158);var r=function(t){return t?--t*t*((n+1)*t+n)+1:0},i="out"===e?r:"in"===e?function(t){return 1-r(1-t)}:Bv(r);return i.config=function(n){return t(e,n)},i};vy("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var n=e<5?e+1:e;Fv(t+",Power"+(n-1),e?function(t){return Math.pow(t,n)}:function(t){return t},(function(t){return 1-Math.pow(1-t,n)}),(function(t){return t<.5?Math.pow(2*t,n)/2:1-Math.pow(2*(1-t),n)/2}))})),Lv.Linear.easeNone=Lv.none=Lv.Linear.easeIn,Fv("Elastic",Uv("in"),Uv("out"),Uv()),vg=7.5625,bg=2*(xg=1/(_g=2.75)),wg=2.5*xg,Fv("Bounce",(function(t){return 1-Mg(1-t)}),Mg=function(t){return t<xg?vg*t*t:t<bg?vg*Math.pow(t-1.5/_g,2)+.75:t<wg?vg*(t-=2.25/_g)*t+.9375:vg*Math.pow(t-2.625/_g,2)+.984375}),Fv("Expo",(function(t){return t?Math.pow(2,10*(t-1)):0})),Fv("Circ",(function(t){return-(Lg(1-t*t)-1)})),Fv("Sine",(function(t){return 1===t?1:1-zg(t*Cg)})),Fv("Back",jv("in"),jv("out"),jv()),Lv.SteppedEase=Lv.steps=Jg.SteppedEase={config:function(t,e){void 0===t&&(t=1);var n=1/t,r=t+(e?0:1),i=e?1:0;return function(t){return((r*ev(0,.99999999,t)|0)+i)*n}}},Sg.ease=Lv["quad.out"],vy("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(t){return fy+=t+","+t+"Param
68s,"}));var Vv=function(t,e){this.id=Og++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:yy,this.set=e?e.getSetter:o_},Wv=function(){function t(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Gy(this,+t.duration,1,1),this.data=t.data,Xm&&(this._ctx=Xm,Xm.data.push(this)),ng||Cv.wake()}var e=t.prototype;return e.delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,Gy(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(Ov(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Vy(this,t),!n._dp||n.parent||Wy(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&$y(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===kg||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Ty(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Fy(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Fy(this),e):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(t,e){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*n,e):this._repeat?By(this._tTime,n)+1:1},e.timeScale=function(t,e){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var n=this.parent&&this._ts?Uy(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(ev(-Math.abs(this._delay),this._tDur,n),!1!==e),jy(this),function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ov(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==kg&&(this._tTime-=kg)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&$y(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(Bg(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Uy(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=oy);var e=Ym;return Ym=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),Ym=e,this},e.globalTime=function(t){for(var e=this,n=arguments.length?t:e.rawTime();e;)n=e._start+n/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):n},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,Zy(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,Zy(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(Qy(this,t),Bg(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,Bg(e))},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0}
vendor: 9,112 bytes, line 68
68,e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,n=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=n&&t<this.endTime(!0)-kg))},e.eventCallback=function(t,e,n){var r=this.vars;return arguments.length>1?(e?(r[t]=e,n&&(r[t+"Params"]=n),"onUpdate"===t&&(this._onUpdate=e)):delete r[t],this):r[t]},e.then=function(t){var e=this;return new Promise((function(n){var r=Ng(t)?t:Ey,i=function(){var t=e.then;e.then=null,Ng(r)&&(r=r(e))&&(r.then||r===e)&&(e.then=t),n(r),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?i():e._prom=i}))},e.kill=function(){yv(this)},t}();ky(Wv.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var $v=function(t){function e(e,n){var r;return void 0===e&&(e={}),(r=t.call(this,e)||this).labels={},r.smoothChildTiming=!!e.smoothChildTiming,r.autoRemoveChildren=!!e.autoRemoveChildren,r._sort=Bg(e.sortChildren),Gm&&$y(e.parent||Gm,$m(r),n),e.reversed&&r.reverse(),e.paused&&r.paused(!0),e.scrollTrigger&&qy($m(r),e.scrollTrigger),r}qm(e,t);var n=e.prototype;return n.to=function(t,e,n){return Ky(0,arguments,this),this},n.from=function(t,e,n){return Ky(1,arguments,this),this},n.fromTo=function(t,e,n,r){return Ky(2,arguments,this),this},n.set=function(t,e,n){return e.duration=0,e.parent=this,Ly(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new e_(t,e,Qy(this,n),1),this},n.call=function(t,e,n){return $y(this,e_.delayedCall(0,t,e),n)},n.staggerTo=function(t,e,n,r,i,s,o){return n.duration=e,n.stagger=n.stagger||r,n.onComplete=s,n.onCompleteParams=o,n.parent=this,new e_(t,n,Qy(this,i)),this},n.staggerFrom=function(t,e,n,r,i,s,o){return n.runBackwards=1,Ly(n).immediateRender=Bg(n.immediateRender),this.staggerTo(t,e,n,r,i,s,o)},n.staggerFromTo=function(t,e,n,r,i,s,o,a){return r.startAt=n,Ly(r).immediateRender=Bg(r.immediateRender),this.staggerTo(t,e,r,i,s,o,a)},n.render=function(t,e,n){var r,i,s,o,a,l,u,c,h,p,d,f,m=this._time,g=this._dirty?this.totalDuration():this._tDur,y=this._dur,v=t<=0?0:xy(t),_=this._zTime<0!=t<0&&(this._initted||!y);if(this!==Gm&&v>g&&t>=0&&(v=g),v!==this._tTime||n||_){if(m!==this._time&&y&&(v+=this._time-m,t+=this._time-m),r=v,h=this._start,l=!(c=this._ts),_&&(y||(m=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(d=this._yoyo,a=y+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*a+t,e,n);if(r=xy(v%a),v===g?(o=this._repeat,r=y):((o=~~(v/a))&&o===v/a&&(r=y,o--),r>y&&(r=y)),p=By(this._tTime,a),!m&&this._tTime&&p!==o&&this._tTime-p*a-this._dur<=0&&(p=o),d&&1&o&&(r=y-r,f=1),o!==p&&!this._lock){var x=d&&1&p,b=x===(d&&1&o);if(o<p&&(x=!x),m=x?0:v%y?y:v,this._lock=1,this.render(m||(f?0:xy(o*a)),e,!y)._lock=0,this._tTime=v,!e&&this.parent&&gv(this,"onRepeat"),this.vars.repeatRefresh&&!f&&(this.invalidate()._lock=1),m&&m!==this._time||l!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(y=this._dur,g=this._tDur,b&&(this._lock=2,m=x?y:-1e-4,this.render(m,!0),this.vars.repeatRefresh&&!f&&this.invalidate()),this._lock=0,!this._ts&&!l)return this;Iv(this,f)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(u=function(t,e,n){var r;if(n>e)for(r=t._first;r&&r._start<=n;){if("isPause"===r.data&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=n;){if("isPause"===r.data&&r._start<e)return r;r=r._prev}}(this,xy(m),xy(r)),u&&(v-=r-(r=u._start))),this._tTime=v,this._time=r,this._act=!c,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,m=0),!m&&r&&!e&&!o&&(gv(this,"onStart"),this._tTime!==v))return this;if(r>=m&&t>=0)for(i=this._first;i;){if(s=i._next,(i._act||r>=i._start)&&i._ts&&u!==i){if(i.parent!==this)return this.render(t,e,n);if(i.render(i._ts>0?(r-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(r-i._start)*i._ts,e,n),r!==this._time||!this._ts&&!l){u=0,s&&(v+=this._zTime=-1e-8);break}}i=s}else{i=this._last;for(var w=t<0?t:r;i;){if(s=i._prev,(i._act||w<=i._end)&&i._ts&&u!==i){if(i.parent!==this)return this.render(t,e,n);if(i.render(i._ts>0?(w-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(w-i._start)*i._ts,e,n||Ym&&(i._initted||i._startAt)),r!==this._time||!this._ts&&!l){u=0,s&&(v+=this._zTime=w?-1e-8:kg);break}}i=s}}if(u&&!e&&(this.pause(),u.render(r>=m?0:-1e-8)._zTime=r>=m?1:-1,this._ts))return this._start=h,jy(this),this.render(t,e,n);this._onUpdate&&!e&&gv(this,"onUpdate",!0),(v===g&&this._tTime>=this.totalDuration()||!v&&m)&&(h!==this._start&&Math.abs(c)===Math.abs(this._ts)||this._lock||((t||!y)&&(v===g&&this._ts>0||!v&&this._ts<0)&&Ry(this,1),e||t<0&&!m||!v&&!m&&g||(gv(this,v===g&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(v<g&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(t,e){var n=this;if(Ig(e)||(e=Qy(this,e,t)),!(t instanceof Wv)){if(Wg(t))return t.forEach((function(t){return n.add(t,e)})),this;if(Rg(t))return this.addLabel(t,e);if(!Ng(t))return this;t=e_.delayedCall(0,t)}return this!==t?$y(this,t,e):this},n.getChildren=function(t,e,n,r){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===n&&(n=!0),void 0===r&&(r=-1e8);for(var i=[],s=this._first;s;)s._start>=r&&(s instanceof e_?e&&i.push(s):(n&&i.push(s),t&&i.push.apply(i,s.getChildren(!0,e,n)))),s=s._next;return i},n.getById=function(t){for(var e=this.getChildren(1,1,1),n=e.length;n--;)if(e[n].vars.id===t)return e[n]},n.remove=function(t){return Rg(t)?this.removeLabel(t):Ng(t)?this.killTweensOf(t):(Py(this,t),t===this._recent&&(this._recent=this._last),Ny(this))},n.totalTime=function(e,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=xy(Cv.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,n),this._forcing=0,this):this._tTime},n.addLabel=function(t,e){return this.labels[t]=Qy(this,e),this},n.removeLabel=function(t){return delete this.labels[t],this},n.addPause=function(t,e,n){var r=e_.delayedCall(0,e||ry,n);return r.data="isPause",this._hasPause=1,$y(this,r,Qy(this,t))},n.removePause=function(t){var e=this._first;for(t=Qy(this,t);e;)e._start===t&&"isPause"===e.data&&Ry(e),e=e._next},n.killTweensOf=function(t,e,n){for(var r=this.getTweensOf(t,n),i=r.length;i--;)qv!==r[i]&&r[i].kill(t,e);return this},n.getTweensOf=function(t,e){for(var n,r=[],i=sv(t),s=this._first,o=Ig(e);s;)s instanceof e_?wy(s._targets,i)&&(o?(!qv||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&r.push(s):(n=s.getTweensOf(i,e)).length&&r.push.apply(r,n),s=s._next;return r},n.tweenTo=function(t,e){e=e||{};var n,r=this,i=Qy(r,t),s=e,o=s.startAt,a=s.onStart,l=s.onStartParams,u=s.immediateRender,c=e_.to(r,ky({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:e.duration||Math.abs((i-(o&&"time"in o?o.time:r._time))/r.timeScale())||kg,onStart:function(){if(r.pause(),!n){var t=e.duration||Math.abs((i-(o&&"time"in o?o.time:r._time))/r.timeScale());c._dur!==t&&Gy(c,t,0,1).render(c._time,!0,!0),n=1}a&&a.apply(c,l||[])}},e));return u?c.render(0):c},n.tweenFromTo=function(t,e,n){return this.tweenTo(e,ky({startAt:{time:Qy(this,t)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(t){return void 0===t&&(t=this._time),mv(this,Qy(this,t))},n.previousLabel=function(t){return void 0===t&&(t=this._time),mv(this,Qy(this,t),1)},n.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+kg)},n.shiftChildren=function(t,e,n){void 0===n&&(n=0);for(var r,i=this._first,s=this.labels;i;)i._start>=n&&(i._start+=t,i._end+=t),i=i._next;if(e)for(r in s)s[r]>=n&&(s[r]+=t);return Ny(this)},n.invalidate=function(e){var n=this._first;for(this._lock=0;n;)n.invalidate(e),n=n._next;return t.prototype.invalidate.call(this,e)},n.clear=function(t){void 0===t&&(t=!0);for(var e,n=this._first;n;)e=n._next,this.remove(n),n=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Ny(this)},n.totalDuration=function(t){var e,n,r,i=0,s=this,o=s._last,a=Eg;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(r=s.parent;o;)e=o._prev,o._dirty&&o.totalDuration(),(n=o._start)>a&&s._sort&&o._ts&&!s._lock?(s._lock=1,$y(s,o,n-o._delay,1)._lock=0):a=n,n<0&&o._ts&&(i-=n,(!r&&!s._dp||r&&r.smoothChildTiming)&&(s._start+=n/s._ts,s._time-=n,s._tTime-=n),s.shiftChildren(-n,!1,-1/0),a=0),o._end>i&&o._ts&&(i=o._end),o=e;Gy(s,s===Gm&&s._time>i?s._time:i,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(t){if(Gm._ts&&(Ty(Gm,Uy(t,Gm)),tg=Cv.frame),Cv.frame>=py){py+=Tg.autoSleep||120;var e=Gm._first;if((!e||!e._ts)&&Tg.autoSleep&&Cv._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Cv.sleep()}}},e}(Wv);ky($v.prototype,{_lock:0,_hasPause:0,_forcing:0});var qv,Hv,Yv=function(t,e,n,r,i,s,o){var a,l,u,c,h,p,d,f,m=new m_(this._pt,t,e,0,1,u_,null,i),g=0,y=0;for(m.b=n,m.e=r,n+="",(d=~(r+="").indexOf("random("))&&(r=dv(r)),s&&(s(f=[n,r],t,e),n=f[0],r=f[1]),l=n.match(Yg)||[];a=Yg.exec(r);
vendor: 21,898 bytes, lines 68-78
68)c=a[0],h=r.substring(g,a.index),u?u=(u+1)%5:"rgba("===h.substr(-5)&&(u=1),c!==l[y++]&&(p=parseFloat(l[y-1])||0,m._pt={_next:m._pt,p:h||1===y?h:",",s:p,c:"="===c.charAt(1)?by(p,c)-p:parseFloat(c)-p,m:u&&u<4?Math.round:0},g=Yg.lastIndex);return m.c=g<r.length?r.substring(g,r.length):"",m.fp=o,(Xg.test(r)||d)&&(m.e=0),this._pt=m,m},Xv=function(t,e,n,r,i,s,o,a,l,u){Ng(r)&&(r=r(i||0,t,s));var c,h=t[e],p="get"!==n?n:Ng(h)?l?t[e.indexOf("set")||!Ng(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():h,d=Ng(h)?l?i_:r_:n_;if(Rg(r)&&(~r.indexOf("random(")&&(r=dv(r)),"="===r.charAt(1)&&((c=by(p,r)+(nv(p)||0))||0===c)&&(r=c)),!u||p!==r||Hv)return isNaN(p*r)||""===r?(!h&&!(e in t)&&ty(e,r),Yv.call(this,t,e,p,r,d,a||Tg.stringFilter,l)):(c=new m_(this._pt,t,e,+p||0,r-(p||0),"boolean"==typeof h?l_:a_,0,d),l&&(c.fp=l),o&&c.modifier(o,this,t),this._pt=c)},Gv=function(t,e,n,r,i,s){var o,a,l,u;if(cy[t]&&!1!==(o=new cy[t]).init(i,o.rawVars?e[t]:function(t,e,n,r,i){if(Ng(t)&&(t=Qv(t,i,e,n,r)),!Fg(t)||t.style&&t.nodeType||Wg(t)||Vg(t))return Rg(t)?Qv(t,i,e,n,r):t;var s,o={};for(s in t)o[s]=Qv(t[s],i,e,n,r);return o}(e[t],r,i,s,n),n,r,s)&&(n._pt=a=new m_(n._pt,i,t,0,1,o.render,o,0,o.priority),n!==eg))for(l=n._ptLookup[n._targets.indexOf(i)],u=o._props.length;u--;)l[o._props[u]]=a;return o},Zv=function t(e,n,r){var i,s,o,a,l,u,c,h,p,d,f,m,g,y=e.vars,v=y.ease,_=y.startAt,x=y.immediateRender,b=y.lazy,w=y.onUpdate,M=y.runBackwards,T=y.yoyoEase,S=y.keyframes,E=y.autoRevert,k=e._dur,A=e._startAt,C=e._targets,O=e.parent,L=O&&"nested"===O.data?O.vars.targets:C,z="auto"===e._overwrite&&!Hm,P=e.timeline;if(P&&(!S||!v)&&(v="none"),e._ease=Dv(v,Sg.ease),e._yEase=T?Nv(Dv(!0===T?v:T,Sg.ease)):0,T&&e._yoyo&&!e._repeat&&(T=e._yEase,e._yEase=e._ease,e._ease=T),e._from=!P&&!!y.runBackwards,!P||S&&!y.stagger){if(m=(h=C[0]?gy(C[0]).harness:0)&&y[h.prop],i=Oy(y,ay),A&&(A._zTime<0&&A.progress(1),n<0&&M&&x&&!E?A.render(-1,!0):A.revert(M&&k?sy:iy),A._lazy=0),_){if(Ry(e._startAt=e_.set(C,ky({data:"isStart",overwrite:!1,parent:O,immediateRender:!0,lazy:!A&&Bg(b),startAt:null,delay:0,onUpdate:w&&function(){return gv(e,"onUpdate")},stagger:0},_))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Ym||!x&&!E)&&e._startAt.revert(sy),x&&k&&n<=0&&r<=0)return void(n&&(e._zTime=n))}else if(M&&k&&!A)if(n&&(x=!1),o=ky({overwrite:!1,data:"isFromStart",lazy:x&&!A&&Bg(b),immediateRender:x,stagger:0,parent:O},i),m&&(o[h.prop]=m),Ry(e._startAt=e_.set(C,o)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Ym?e._startAt.revert(sy):e._startAt.render(-1,!0)),e._zTime=n,x){if(!n)return}else t(e._startAt,kg,kg);for(e._pt=e._ptCache=0,b=k&&Bg(b)||b&&!k,s=0;s<C.length;s++){if(c=(l=C[s])._gsap||my(C)[s]._gsap,e._ptLookup[s]=d={},uy[c.id]&&ly.length&&My(),f=L===C?s:L.indexOf(l),h&&!1!==(p=new h).init(l,m||i,e,f,L)&&(e._pt=a=new m_(e._pt,l,p.name,0,1,p.render,p,0,p.priority),p._props.forEach((function(t){d[t]=a})),p.priority&&(u=1)),!h||m)for(o in i)cy[o]&&(p=Gv(o,i,e,f,l,L))?p.priority&&(u=1):d[o]=a=Xv.call(e,l,o,"get",i[o],f,L,0,y.stringFilter);e._op&&e._op[s]&&e.kill(l,e._op[s]),z&&e._pt&&(qv=e,Gm.killTweensOf(l,d,e.globalTime(n)),g=!e.parent,qv=0),e._pt&&b&&(uy[c.id]=1)}u&&f_(e),e._onInit&&e._onInit(e)}e._onUpdate=w,e._initted=(!e._op||e._pt)&&!g,S&&n<=0&&P.render(Eg,!0,!0)},Jv=function(t,e,n,r){var i,s,o=e.ease||r||"power1.inOut";if(Wg(e))s=n[t]||(n[t]=[]),e.forEach((function(t,n){return s.push({t:n/(e.length-1)*100,v:t,e:o})}));else for(i in e)s=n[i]||(n[i]=[]),"ease"===i||s.push({t:parseFloat(t),v:e[i],e:o})},Qv=function(t,e,n,r,i){return Ng(t)?t.call(e,n,r,i):Rg(t)&&~t.indexOf("random(")?dv(t):t},Kv=fy+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",t_={};vy(Kv+",id,stagger,delay,duration,paused,scrollTrigger",(function(t){return t_[t]=1}));var e_=function(t){function e(e,n,r,i){var s;"number"==typeof n&&(r.duration=n,n=r,r=null);var o,a,l,u,c,h,p,d,f=(s=t.call(this,i?n:Ly(n))||this).vars,m=f.duration,g=f.delay,y=f.immediateRender,v=f.stagger,_=f.overwrite,x=f.keyframes,b=f.defaults,w=f.scrollTrigger,M=f.yoyoEase,T=n.parent||Gm,S=(Wg(e)||Vg(e)?Ig(e[0]):"length"in n)?[e]:sv(e);if(s._targets=S.length?my(S):ey("GSAP target "+e+" not found. https://gsap.com",!Tg.nullTargetWarn)||[],s._ptLookup=[],s._overwrite=_,x||v||jg(m)||jg(g)){if(n=s.vars,(o=s.timeline=new $v({data:"nested",defaults:b||{},targets:T&&"nested"===T.data?T.vars.targets:S})).kill(),o.parent=o._dp=$m(s),o._start=0,v||jg(m)||jg(g)){if(u=S.length,p=v&&lv(v),Fg(v))for(c in v)~Kv.indexOf(c)&&(d||(d={}),d[c]=v[c]);for(a=0;a<u;a++)(l=Oy(n,t_)).stagger=0,M&&(l.yoyoEase=M),d&&Ay(l,d),h=S[a],l.duration=+Qv(m,$m(s),a,h,S),l.delay=(+Qv(g,$m(s),a,h,S)||0)-s._delay,!v&&1===u&&l.delay&&(s._delay=g=l.delay,s._start+=g,l.delay=0),o.to(h,l,p?p(a,h,S):0),o._ease=Lv.none;o.duration()?m=g=0:s.timeline=0}else if(x){Ly(ky(o.vars.defaults,{ease:"none"})),o._ease=Dv(x.ease||n.ease||"none");var E,k,A,C=0;if(Wg(x))x.forEach((function(t){return o.to(S,t,">")})),o.duration();else{for(c in l={},x)"ease"===c||"easeEach"===c||Jv(c,x[c],l,x.easeEach);for(c in l)for(E=l[c].sort((function(t,e){return t.t-e.t})),C=0,a=0;a<E.length;a++)(A={ease:(k=E[a]).e,duration:(k.t-(a?E[a-1].t:0))/100*m})[c]=k.v,o.to(S,A,C),C+=A.duration;o.duration()<m&&o.to({},{duration:m-o.duration()})}}m||s.duration(m=o.duration())}else s.timeline=0;return!0!==_||Hm||(qv=$m(s),Gm.killTweensOf(S),qv=0),$y(T,$m(s),r),n.reversed&&s.reverse(),n.paused&&s.paused(!0),(y||!m&&!x&&s._start===xy(T._time)&&Bg(y)&&Dy($m(s))&&"nested"!==T.data)&&(s._tTime=-1e-8,s.render(Math.max(0,-g)||0)),w&&qy($m(s),w),s}qm(e,t);var n=e.prototype;return n.render=function(t,e,n){var r,i,s,o,a,l,u,c,h,p=this._time,d=this._tDur,f=this._dur,m=t<0,g=t>d-kg&&!m?d:t<kg?0:t;if(f){if(g!==this._tTime||!t||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==m){if(r=g,c=this.timeline,this._repeat){if(o=f+this._rDelay,this._repeat<-1&&m)return this.totalTime(100*o+t,e,n);if(r=xy(g%o),g===d?(s=this._repeat,r=f):((s=~~(g/o))&&s===xy(g/o)&&(r=f,s--),r>f&&(r=f)),(l=this._yoyo&&1&s)&&(h=this._yEase,r=f-r),a=By(this._tTime,o),r===p&&!n&&this._initted&&s===a)return this._tTime=g,this;s!==a&&(c&&this._yEase&&Iv(c,l),this.vars.repeatRefresh&&!l&&!this._lock&&this._time!==o&&this._initted&&(this._lock=n=1,this.render(xy(o*s),!0).invalidate()._lock=0))}if(!this._initted){if(Hy(this,m?t:r,n,e,g))return this._tTime=0,this;if(!(p===this._time||n&&this.vars.repeatRefresh&&s!==a))return this;if(f!==this._dur)return this.render(t,e,n)}if(this._tTime=g,this._time=r,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=u=(h||this._ease)(r/f),this._from&&(this.ratio=u=1-u),r&&!p&&!e&&!s&&(gv(this,"onStart"),this._tTime!==g))return this;for(i=this._pt;i;)i.r(u,i.d),i=i._next;c&&c.render(t<0?t:c._dur*c._ease(r/this._dur),e,n)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(m&&Iy(this,t,0,n),gv(this,"onUpdate")),this._repeat&&s!==a&&this.vars.onRepeat&&!e&&this.parent&&gv(this,"onRepeat"),g!==this._tDur&&g||this._tTime!==g||(m&&!this._onUpdate&&Iy(this,t,0,!0),(t||!f)&&(g===this._tDur&&this._ts>0||!g&&this._ts<0)&&Ry(this,1),e||m&&!p||!(g||p||l)||(gv(this,g===d?"onComplete":"onReverseComplete",!0),this._prom&&!(g<d&&this.timeScale()>0)&&this._prom()))}}else!function(t,e,n,r){var i,s,o,a=t.ratio,l=e<0||!e&&(!t._start&&Yy(t)&&(t._initted||!Xy(t))||(t._ts<0||t._dp._ts<0)&&!Xy(t))?0:1,u=t._rDelay,c=0;if(u&&t._repeat&&(c=ev(0,t._tDur,e),s=By(c,u),t._yoyo&&1&s&&(l=1-l),s!==By(t._tTime,u)&&(a=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==a||Ym||r||t._zTime===kg||!e&&t._zTime){if(!t._initted&&Hy(t,e,r,n,c))return;for(o=t._zTime,t._zTime=e||(n?kg:0),n||(n=e&&!o),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=c,i=t._pt;i;)i.r(l,i.d),i=i._next;e<0&&Iy(t,e,0,!0),t._onUpdate&&!n&&gv(t,"onUpdate"),c&&t._repeat&&!n&&t.parent&&gv(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&Ry(t,1),n||Ym||(gv(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,n);return this},n.targets=function(){return this._targets},n.invalidate=function(e){return(!e||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(e),t.prototype.invalidate.call(this,e)},n.resetTo=function(t,e,n,r,i){ng||Cv.wake(),this._ts||this.play();var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Zv(this,s),function(t,e,n,r,i,s,o,a){var l,u,c,h,p=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!p)for(p=t._ptCache[e]=[],c=t._ptLookup,h=t._targets.length;h--;){if((l=c[h][e])&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==e&&l.fp!==e;)l=l._next;if(!l)return Hv=1,t.vars[e]="+=0",Zv(t,o),Hv=0,a?ey(e+" not eligible for reset"):1;p.push(l)}for(h=p.length;h--;)(l=(u=p[h])._pt||u).s=!r&&0!==r||i?l.s+(r||0)+s*l.c:r,l.c=n-l.s,u.e&&(u.e=_y(n)+nv(u.e)),u.b&&(u.b=l.s+nv(u.b))}(this,t,e,n,r,this._ease(s/this._dur),s,i)?this.resetTo(t,e,n,r,1):(Vy(this,0),this.parent||zy(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?yv(this):this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,qv&&!0!==qv.vars.overwrite)._first||yv(this),this.parent&&n!==this.timeline.totalDuration()&&Gy(this,this._dur*this.timeline._tDur/n,0,1),this}var r,i,s,o,a,l,u,c=this._targets,h=t?sv(t):c,p=this._ptLookup,d=this._pt;if((!e||"all"===e)&&function(t,e){for(var n=t.length,r=n===e.length;r&&n--&&t[n]===e[n];);return n<0}(c,h))return"all"===e&&(this._pt=0),yv(this);for(r=this._op=this._op||[],"all"!==e&&(Rg(e)&&(a={},vy(e,(function(t){return a[t]=1})),e=a),e=function(t,e){var n,r,i,s,o=t[0]?gy(t[0]).harness:0,a=o&&o.aliases;if(!a)return e;for(r in n=Ay({},e),a)if(r in n)for(i=(s=a[r].split(",")).length;i--;)n[s[i]]=n[r];return n}(c,e)),u=c.length;u--;)if(~h.indexOf(c[u]))for(a in i=p[u],"all"===e?(r[u]=e,o=i,s={}):(s=r[u]=r[u]||{},o=e),o)(l=i&&i[a])&&("kill"in l.d&&!0!==l.d.kill(a)||Py(this,l,"_pt"),delete i[a]),"all"!==s&&(s[a]=1);return this._initted&&!this._pt&&d&&yv(this),this},e.to=function(t,n){return new e(t,n,arguments[2])},e.from=function(t,e){return Ky(1,arguments)},e.delayedCall=function(t,n,r,i){return new e(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},e.fromTo=function(t,e,n){return Ky(2,arguments)},e.set=function(t,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new e(t,n)},e.killTweensOf=function(t,e,n){return Gm.killTweensOf(t,e,n)},e}(Wv);ky(e_.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),vy("staggerTo,staggerFrom,staggerFromTo",(function(t){e_[t]=function(){var e=new $v,n=rv.call(arguments,0);return n.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,n)}}));var n_=function(t,e,n){return t[e]=n},r_=function(t,e,n){return t[e](n)},i_=function(t,e,n,r){return t[e](r.fp,n)},s_=function(t,e,n){return t.setAttribute(e,n)},o_=function(t,e){return Ng(t[e])?r_:Dg(t[e])&&t.setAttribute?s_:n_},a_=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},l_=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},u_=function(t,e){var n=e._pt,r="";if(!t&&e.b)r=e.b;else if(1===t&&e.e)r=e.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*t):Math.round(1e4*(n.s+n.c*t))/1e4)+r,n=n._next;r+=e.c}e.set(e.t,e.p,r,e)},c_=function(t,e){for(var n=e._pt;n;)n.r(t,n.d),n=n._next},h_=function(t,e,n,r){for(var i,s=this._pt;s;)i=s._next,s.p===r&&s.modifier(t,e,n),s=i},p_=function(t){for(var e,n,r=this._pt;r;)n=r._next,r.p===t&&!r.op||r.op===t?Py(this,r,"_pt"):r.dep||(e=1),r=n;return!e},d_=function(t,e,n,r){r.mSet(t,e,r.m.call(r.tween,n,r.mt),r)},f_=function(t){for(var e,n,r,i,s=t._pt;s;){for(e=s._next,n=r;n&&n.pr>s.pr;)n=n._next;(s._prev=n?n._prev:i)?s._prev._next=s:r=s,(s._next=n)?n._prev=s:i=s,s=e}t._pt=r},m_=function(){function t(t,e,n,r,i,s,o,a,l){this.t=e,this.s=r,this.c=i,this.p=n,this.r=s||a_,this.d=o||this,this.set=a||n_,this.pr=l||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,n){this.mSet=this.mSet||this.set,this.set=d_,this.m=t,this.mt=n,this.tween=e},t}();vy(fy+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return ay[t]=1})),Jg.TweenMax=Jg.TweenLite=e_,Jg.TimelineLite=Jg.TimelineMax=$v,Gm=new $v({sortChildren:!1,defaults:Sg,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Tg.stringFilter=Av;var g_=[],y_={},v_=[],__=0,x_=0,b_=function(t){return(y_[t]||v_).map((function(t){return t()}))},w_=function(){var t=Date.now(),e=[];t-__>2&&(b_("matchMediaInit"),g_.forEach((function(t){var n,r,i,s,o=t.queries,a=t.conditions;for(r in o)(n=Zm.matchMedia(o[r]).matches)&&(i=1),n!==a[r]&&(a[r]=n,s=1);s&&(t.revert(),i&&e.push(t))})),b_("matchMediaRevert"),e.forEach((function(t){return t.onMatch(t,(function(e){return t.add(null,e)}))})),__=t,b_("matchMedia"))},M_=function(){function t(t,e){this.selector=e&&ov(e),this.data=[],this._r=[],this.isReverted=!1,this.id=x_++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,n){Ng(t)&&(n=e,e=t,t=Ng);var r=this,i=function(){var t,i=Xm,s=r.selector;return i&&i!==r&&i.data.push(r),n&&(r.selector=ov(n)),Xm=r,t=e.apply(r,arguments),Ng(t)&&r._r.push(t),Xm=i,r.selector=s,r.isReverted=!1,t};return r.last=i,t===Ng?i(r,(function(t){return r.add(null,t)})):t?r[t]=i:i},e.ignore=function(t){var e=Xm;Xm=null,t(this),Xm=e},e.getTweens=function(){var e=[];return this.data.forEach((function(n){return n instanceof t?e.push.apply(e,n.getTweens()):n instanceof e_&&!(n.parent&&"nested"===n.parent.data)&&e.push(n)})),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var n=this;if(t?function(){for(var e,r=n.getTweens(),i=n.data.length;i--;)"isFlip"===(e=n.data[i]).data&&(e.revert(),e.getChildren(!0,!0,!1).forEach((function(t){return r.splice(r.indexOf(t),1)})));for(r.map((function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}})).sort((function(t,e){return e.g-t.g||-1/0})).forEach((function(e){return e.t.revert(t)})),i=n.data.length;i--;)(e=n.data[i])instanceof $v?"nested"!==e.data&&(e.scrollTrigger&&e.scrollTrigger.revert(),e.kill()):!(e instanceof e_)&&e.revert&&e.revert(t);n._r.forEach((function(e){return e(t,n)})),n.isReverted=!0}():this.data.forEach((function(t){return t.kill&&t.kill()})),this.clear(),e)for(var r=g_.length;r--;)g_[r].id===this.id&&g_.splice(r,1)},e.revert=function(t){this.kill(t||{})},t}(),T_=function(){function t(t){this.contexts=[],this.scope=t,Xm&&Xm.data.push(this)}var e=t.prototype;return e.add=function(t,e,n){Fg(t)||(t={matches:t});var r,i,s,o=new M_(0,n||this.scope),a=o.conditions={};for(i in Xm&&!o.selector&&(o.selector=Xm.selector),this.contexts.push(o),e=o.add("onMatch",e),o.queries=t,t)"all"===i?s=1:(r=Zm.matchMedia(t[i]))&&(g_.indexOf(o)<0&&g_.push(o),(a[i]=r.matches)&&(s=1),r.addListener?r.addListener(w_):r.addEventListener("change",w_));return s&&e(o,(function(t){return o.add(null,t)})),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach((function(e){return e.kill(t,!0)}))},t}(),S_={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e.forEach((function(t){return _v(t)}))},timeline:function(t){return new $v(t)},getTweensOf:function(t,e){return Gm.getTweensOf(t,e)},getProperty:function(t,e,n,r){Rg(t)&&(t=sv(t)[0]);var i=gy(t||{}).get,s=n?Ey:Sy;return"native"===n&&(n=""),t?e?s((cy[e]&&cy[e].get||i)(t,e,n,r)):function(e,n,r){return s((cy[e]&&cy[e].get||i)(t,e,n,r))}:t},quickSetter:function(t,e,n){if((t=sv(t)).length>1){var r=t.map((function(t){return A_.quickSetter(t,e,n)})),i=r.length;return function(t){for(var e=i;e--;)r[e](t)}}t=t[0]||{};var s=cy[e],o=gy(t),a=o.harness&&(o.harness.aliases||{})[e]||e,l=s?function(e){var r=new s;eg._pt=0,r.init(t,n?e+n:e,eg,0,[t]),r.render(1,r),eg._pt&&c_(1,eg)}:o.set(t,a);return s?l:function(e){return l(t,a,n?e+n:e,o,1)}},quickTo:function(t,e,n){var r,i=A_.to(t,Ay(((r={})[e]="+=0.1",r.paused=!0,r),n||{})),s=function(t,n,r){return i.resetTo(e,t,n,r)};return s.tween=i,s},isTweening:function(t){return Gm.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Dv(t.ease,Sg.ease)),Cy(Sg,t||{})},config:function(t){return Cy(Tg,t||{})},registerEffect:function(t){var e=t.name,n=t.effect,r=t.plugins,i=t.defaults,s=t.extendTimeline;(r||"").split(",").forEach((function(t){return t&&!cy[t]&&!Jg[t]&&ey(e+" effect requires "+t+" plugin.")})),hy[e]=function(t,e,r){return n(sv(t),ky(e||{},i),r)},s&&($v.prototype[e]=function(t,n,r){return this.add(hy[e](t,Fg(n)?n:(r=n)&&{},this),r)})},registerEase:function(t,e){Lv[t]=Dv(e)},parseEase:function(t,e){return arguments.length?Dv(t,e):Lv},getById:function(t){return Gm.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var n,r,i=new $v(t);for(i.smoothChildTiming=Bg(t.smoothChildTiming),Gm.remove(i),i._dp=0,i._time=i._tTime=Gm._time,n=Gm._first;n;)r=n._next,!e&&!n._dur&&n instanceof e_&&n.vars.onComplete===n._targets[0]||$y(i,n,n._start-n._delay),n=r;return $y(Gm,i,0),i},context:function(t,e){return t?new M_(t,e):Xm},matchMedia:function(t){return new T_(t)},matchMediaRefresh:function(){return g_.forEach((function(t){var e,n,r=t.conditions;for(n in r)r[n]&&(r[n]=!1,e=1);e&&t.revert()}))||w_()},addEventListener:function(t,e){var n=y_[t]||(y_[t]=[]);~n.indexOf(e)||n.push(e)},removeEventListener:function(t,e){var n=y_[t],r=n&&n.indexOf(e);r>=0&&n.splice(r,1)},utils:{wrap:function t(e,n,r){var i=n-e;return Wg(e)?pv(e,t(0,e.length),n):tv(r,(function(t){return(i+(t-e)%i)%i+e}))},wrapYoyo:function t(e,n,r){var i=n-e,s=2*i;return Wg(e)?pv(e,t(0,e.length-1),n):tv(r,(function(t){return e+((t=(s+(t-e)%s)%s||0)>i?s-t:t)}))},distribute:lv,random:hv,snap:cv,normalize:function(t,e,n){return fv(t,e,0,1,n)},getUnit:nv,clamp:function(t,e,n){return tv(n,(function(n){return ev(t,e,n)}))},splitColor:Mv,toArray:sv,selector:ov,mapRange:fv,pipe:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.reduce((function(t,e){return e(t)}),t)}},unitize:function(t,e){return function(n){return t(parseFloat(n))+(e||nv(n))}},interpolate:function t(e,n,r,i){var s=isNaN(e+n)?0:function(t){return(1-t)*e+t*n};if(!s){var o,a,l,u,c,h=Rg(e),p={};if(!0===r&&(i=1)&&(r=null),h)e={p:e},n={p:n};else if(Wg(e)&&!Wg(n)){for(l=[],u=e.length,c=u-2,a=1;a<u;a++)l.push(t(e[a-1],e[a]));u--,s=function(t){t*=u;var e=Math.min(c,~~t);return l[e](t-e)},r=n}else i||(e=Ay(Wg(e)?[]:{},e));if(!l){for(o in n)Xv.call(p,e,o,"get",n[o]);s=function(t){return c_(t,p)||(h?e.p:e)}}}return tv(r,s)},shuffle:av},install:Kg,effects:hy,ticker:Cv,updateRoot:$v.updateRoot,plugins:cy,globalTimeline:Gm,core:{PropTween:m_,globals:ny,Tween:e_,Timeline:$v,Animation:Wv,getCache:gy,_removeLinkedListItem:Py,reverting:function(){return Ym},context:function(t){return t&&Xm&&(Xm.data.push(t),t._ctx=Xm),Xm},suppressOverwrites:function(t){return Hm=t}}};vy("to,from,fromTo,delayedCall,set,killTweensOf",(function(t){return S_[t]=e_[t]})),Cv.add($v.updateRoot),eg=S_.to({},{duration:0});var E_=function(t,e){for(var n=t._pt;n&&n.p!==e&&n.op!==e&&n.fp!==e;)n=n._next;return n},k_=function(t,e){return{name:t,rawVars:1,init:function(t,n,r){r._onInit=function(t){var r,i;if(Rg(n)&&(r={},vy(n,(function(t){return r[t]=1})),n=r),e){for(i in r={},n)r[i]=e(n[i]);n=r}!function(t,e){var n,r,i,s=t._targets;for(n in e)for(r=s.length;r--;)(i=t._ptLookup[r][n])&&(i=i.d)&&(i._pt&&(i=E_(i,n)),i&&i.modifier&&i.modifier(e[n],t,s[r],n))}(t,n)}}}},A_=S_.registerPlugin({name:"attr",init:function(t,e,n,r,i){var s,o,a;for(s in this.tween=n,e)a=t.getAttribute(s)||"",(o=this.add(t,"setAttribute",(a||0)+"",e[s],r,i,0,0,s)).op=s,o.b=a,this._props.push(s)},render:function(t,e){for(var n=e._pt;n;)Ym?n.set(n.t,n.p,n.b,n):n.r(t,n.d),n=n._next}},{name:"endArray",init:function(t,e){for(var n=e.length;n--;)this.add(t,n,t[n]||0,e[n],0,0,0,0,0,1)}},k_("roundProps",uv),k_("modifiers"),k_("snap",cv))||S_;e_.version=$v.version=A_.version="3.12.5",Km=1,Ug()&&Ov(),Lv.Power0,Lv.Power1,Lv.Power2,Lv.Power3,Lv.Power4,Lv.Linear,Lv.Quad,Lv.Cubic,Lv.Quart,Lv.Quint,Lv.Strong,Lv.Elastic,Lv.Back,Lv.SteppedEase,Lv.Bounce,Lv.Sine,Lv.Expo,Lv.Circ; 69/*! 70 * CSSPlugin 3.12.5 71 * https://gsap.com 72 * 73 * Copyright 2008-2024, GreenSock. All rights reserved. 74 * Subject to the terms at https://gsap.com/standard-license or for 75 * Club GSAP members, the agreement issued with that membership. 76 * @author: Jack Doyle, [email protected] 77*/ 78var C_,O_,L_,z_,P_,R_,N_,I_,D_={},F_=180/Math.PI,B_=Math.PI/180,U_=Math.atan2,j_=/([A-Z])/g,V_=/(left|right|width|margin|padding|x)/i,W_=/[\s,\(]\S/,$_={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},q_=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},H_=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},Y_=function(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},X_=function(t,e){var n=e.s+e.c*t;e.set(e.t,e.p,~~(n+(n<0?-.5:.5))+e.u,e)},G_=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Z_=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},J_=function(t,e,n){return t.style[e]=n},Q_=function(t,e,n){return t.style.setProperty(e,n)},K_=function(t,e,n){return t._gsap[e]=n},tx=function(t,e,n){return t._gsap.scaleX=t._gsap.scaleY=n},ex=function(t,e,n,r,i){var s=t._gsap;s.scaleX=s.scaleY=n,s.renderTransform(i,s)},nx=function(t,e,n,r,i){var s=t._gsap;s[e]=n,s.renderTransform(i,s)},rx="transform",ix=rx+"Origin",sx=function t(e,n){var r=this,i=this.target,s=i.style,o=i._gsap;if(e in D_&&s){if(this.tfm=this.tfm||{},"transform"===e)return $_.transform.split(",").forEach((function(e){return t.call(r,e,n)}
78));if(~(e=$_[e]||e).indexOf(",")?e.split(",").forEach((function(t){return r.tfm[t]=Mx(i,t)})):this.tfm[e]=o.x?o[e]:Mx(i,e),e===ix&&(this.tfm.zOrigin=o.zOrigin),this.props.indexOf(rx)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(ix,n,"")),e=rx}(s||n)&&this.props.push(e,n,s[e])},ox=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},ax=function(){var t,e,n=this.props,r=this.target,i=r.style,s=r._gsap;for(t=0;t<n.length;t+=3)n[t+1]?r[n[t]]=n[t+2]:n[t+2]?i[n[t]]=n[t+2]:i.removeProperty("--"===n[t].substr(0,2)?n[t]:n[t].replace(j_,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)s[e]=this.tfm[e];s.svg&&(s.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),(t=N_())&&t.isStart||i[rx]||(ox(i),s.zOrigin&&i[ix]&&(i[ix]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},lx=function(t,e){var n={target:t,props:[],revert:ax,save:sx};return t._gsap||A_.core.getCache(t),e&&e.split(",").forEach((function(t){return n.save(t)})),n},ux=function(t,e){var n=O_.createElementNS?O_.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):O_.createElement(t);return n&&n.style?n:O_.createElement(t)},cx=function t(e,n,r){var i=getComputedStyle(e);return i[n]||i.getPropertyValue(n.replace(j_,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&t(e,px(n)||n,1)||""},hx="O,Moz,ms,Ms,Webkit".split(","),px=function(t,e,n){var r=(e||P_).style,i=5;if(t in r&&!n)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);i--&&!(hx[i]+t in r););return i<0?null:(3===i?"ms":i>=0?hx[i]:"")+t},dx=function(){"undefined"!=typeof window&&window.document&&(C_=window,O_=C_.document,L_=O_.documentElement,P_=ux("div")||{style:{}},ux("div"),rx=px(rx),ix=rx+"Origin",P_.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",I_=!!px("perspective"),N_=A_.core.reverting,z_=1)},fx=function t(e){var n,r=ux("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,s=this.nextSibling,o=this.style.cssText;if(L_.appendChild(r),r.appendChild(this),this.style.display="block",e)try{n=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(a){}else this._gsapBBox&&(n=this._gsapBBox());return i&&(s?i.insertBefore(this,s):i.appendChild(this)),L_.removeChild(r),this.style.cssText=o,n},mx=function(t,e){for(var n=e.length;n--;)if(t.hasAttribute(e[n]))return t.getAttribute(e[n])},gx=function(t){var e;try{e=t.getBBox()}catch(n){e=fx.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===fx||(e=fx.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+mx(t,["x","cx","x1"])||0,y:+mx(t,["y","cy","y1"])||0,width:0,height:0}},yx=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!gx(t))},vx=function(t,e){if(e){var n,r=t.style;e in D_&&e!==ix&&(e=rx),r.removeProperty?("ms"!==(n=e.substr(0,2))&&"webkit"!==e.substr(0,6)||(e="-"+e),r.removeProperty("--"===n?e:e.replace(j_,"-$1").toLowerCase())):r.removeAttribute(e)}},_x=function(t,e,n,r,i,s){var o=new m_(t._pt,e,n,0,1,s?Z_:G_);return t._pt=o,o.b=r,o.e=i,t._props.push(n),o},xx={deg:1,rad:1,turn:1},bx={grid:1,flex:1},wx=function t(e,n,r,i){var s,o,a,l,u=parseFloat(r)||0,c=(r+"").trim().substr((u+"").length)||"px",h=P_.style,p=V_.test(n),d="svg"===e.tagName.toLowerCase(),f=(d?"client":"offset")+(p?"Width":"Height"),m=100,g="px"===i,y="%"===i;if(i===c||!u||xx[i]||xx[c])return u;if("px"!==c&&!g&&(u=t(e,n,r,"px")),l=e.getCTM&&yx(e),(y||"%"===c)&&(D_[n]||~n.indexOf("adius")))return s=l?e.getBBox()[p?"width":"height"]:e[f],_y(y?u/s*m:u/100*s);if(h[p?"width":"height"]=m+(g?c:i),o=~n.indexOf("adius")||"em"===i&&e.appendChild&&!d?e:e.parentNode,l&&(o=(e.ownerSVGElement||{}).parentNode),o&&o!==O_&&o.appendChild||(o=O_.body),(a=o._gsap)&&y&&a.width&&p&&a.time===Cv.time&&!a.uncache)return _y(u/a.width*m);if(!y||"height"!==n&&"width"!==n)(y||"%"===c)&&!bx[cx(o,"display")]&&(h.position=cx(e,"position")),o===e&&(h.position="static"),o.appendChild(P_),s=P_[f],o.removeChild(P_),h.position="absolute";else{var v=e.style[n];e.style[n]=m+i,s=e[f],v?e.style[n]=v:vx(e,n)}return p&&y&&((a=gy(o)).time=Cv.time,a.width=o[f]),_y(g?s*u/m:s&&u?m/s*u:0)},Mx=function(t,e,n,r){var i;return z_||dx(),e in $_&&"transform"!==e&&~(e=$_[e]).indexOf(",")&&(e=e.split(",")[0]),D_[e]&&"transform"!==e?(i=Rx(t,r),i="transformOrigin"!==e?i[e]:i.svg?i.origin:Nx(cx(t,ix))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||r||~(i+"").indexOf("calc("))&&(i=kx[e]&&kx[e](t,e,n)||cx(t,e)||yy(t,e)||("op
78acity"===e?1:0)),n&&!~(i+"").trim().indexOf(" ")?wx(t,e,i,n)+n:i},Tx=function(t,e,n,r){if(!n||"none"===n){var i=px(e,t,1),s=i&&cx(t,i,1);s&&s!==n?(e=i,n=s):"borderColor"===e&&(n=cx(t,"borderTopColor"))}var o,a,l,u,c,h,p,d,f,m,g,y=new m_(this._pt,t.style,e,0,1,u_),v=0,_=0;if(y.b=n,y.e=r,n+="","auto"===(r+="")&&(h=t.style[e],t.style[e]=r,r=cx(t,e)||r,h?t.style[e]=h:vx(t,e)),Av(o=[n,r]),r=o[1],l=(n=o[0]).match(Hg)||[],(r.match(Hg)||[]).length){for(;a=Hg.exec(r);)p=a[0],f=r.substring(v,a.index),c?c=(c+1)%5:"rgba("!==f.substr(-5)&&"hsla("!==f.substr(-5)||(c=1),p!==(h=l[_++]||"")&&(u=parseFloat(h)||0,g=h.substr((u+"").length),"="===p.charAt(1)&&(p=by(u,p)+g),d=parseFloat(p),m=p.substr((d+"").length),v=Hg.lastIndex-m.length,m||(m=m||Tg.units[e]||g,v===r.length&&(r+=m,y.e+=m)),g!==m&&(u=wx(t,e,h,m)||0),y._pt={_next:y._pt,p:f||1===_?f:",",s:u,c:d-u,m:c&&c<4||"zIndex"===e?Math.round:0});y.c=v<r.length?r.substring(v,r.length):""}else y.r="display"===e&&"none"===r?Z_:G_;return Xg.test(r)&&(y.e=0),this._pt=y,y},Sx={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Ex=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var n,r,i,s=e.t,o=s.style,a=e.u,l=s._gsap;if("all"===a||!0===a)o.cssText="",r=1;else for(i=(a=a.split(",")).length;--i>-1;)n=a[i],D_[n]&&(r=1,n="transformOrigin"===n?ix:rx),vx(s,n);r&&(vx(s,rx),l&&(l.svg&&s.removeAttribute("transform"),Rx(s,1),l.uncache=1,ox(o)))}},kx={clearProps:function(t,e,n,r,i){if("isFromStart"!==i.data){var s=t._pt=new m_(t._pt,e,n,0,0,Ex);return s.u=r,s.pr=-10,s.tween=i,t._props.push(n),1}}},Ax=[1,0,0,1,0,0],Cx={},Ox=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},Lx=function(t){var e=cx(t,rx);return Ox(e)?Ax:e.substr(7).match(qg).map(_y)},zx=function(t,e){var n,r,i,s,o=t._gsap||gy(t),a=t.style,l=Lx(t);return o.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(i=t.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?Ax:l:(l!==Ax||t.offsetParent||t===L_||o.svg||(i=a.display,a.display="block",(n=t.parentNode)&&t.offsetParent||(s=1,r=t.nextElementSibling,L_.appendChild(t)),l=Lx(t),i?a.display=i:vx(t,"display"),s&&(r?n.insertBefore(t,r):n?n.appendChild(t):L_.removeChild(t))),e&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},Px=function(t,e,n,r,i,s){var o,a,l,u=t._gsap,c=i||zx(t,!0),h=u.xOrigin||0,p=u.yOrigin||0,d=u.xOffset||0,f=u.yOffset||0,m=c[0],g=c[1],y=c[2],v=c[3],_=c[4],x=c[5],b=e.split(" "),w=parseFloat(b[0])||0,M=parseFloat(b[1])||0;n?c!==Ax&&(a=m*v-g*y)&&(l=w*(-g/a)+M*(m/a)-(m*x-g*_)/a,w=w*(v/a)+M*(-y/a)+(y*x-v*_)/a,M=l):(w=(o=gx(t)).x+(~b[0].indexOf("%")?w/100*o.width:w),M=o.y+(~(b[1]||b[0]).indexOf("%")?M/100*o.height:M)),r||!1!==r&&u.smooth?(_=w-h,x=M-p,u.xOffset=d+(_*m+x*y)-_,u.yOffset=f+(_*g+x*v)-x):u.xOffset=u.yOffset=0,u.xOrigin=w,u.yOrigin=M,u.smooth=!!r,u.origin=e,u.originIsAbsolute=!!n,t.style[ix]="0px 0px",s&&(_x(s,u,"xOrigin",h,w),_x(s,u,"yOrigin",p,M),_x(s,u,"xOffset",d,u.xOffset),_x(s,u,"yOffset",f,u.yOffset)),t.setAttribute("data-svg-origin",w+" "+M)},Rx=function(t,e){var n=t._gsap||new Vv(t);if("x"in n&&!e&&!n.uncache)return n;var r,i,s,o,a,l,u,c,h,p,d,f,m,g,y,v,_,x,b,w,M,T,S,E,k,A,C,O,L,z,P,R,N=t.style,I=n.scaleX<0,D="px",F="deg",B=getComputedStyle(t),U=cx(t,ix)||"0";return r=i=s=l=u=c=h=p=d=0,o=a=1,n.svg=!(!t.getCTM||!yx(t)),B.translate&&("none"===B.translate&&"none"===B.scale&&"none"===B.rotate||(N[rx]=("none"!==B.translate?"translate3d("+(B.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==B.rotate?"rotate("+B.rotate+") ":"")+("none"!==B.scale?"scale("+B.scale.split(" ").join(",")+") ":"")+("none"!==B[rx]?B[rx]:"")),N.scale=N.rotate=N.translate="none"),g=zx(t,n.svg),n.svg&&(n.uncache?(k=t.getBBox(),U=n.xOrigin-k.x+"px "+(n.yOrigin-k.y)+"px",E=""):E=!e&&t.getAttribute("data-svg-origin"),Px(t,E||U,!!E||n.originIsAbsolute,!1!==n.smooth,g)),f=n.xOrigin||0,m=n.yOrigin||0,g!==Ax&&(x=g[0],b=g[1],w=g[2],M=g[3],r=T=g[4],i=S=g[5],6===g.length?(o=Math.sqrt(x*x+b*b),a=Math.sqrt(M*M+w*w),l=x||b?U_(b,x)*F_:0,(h=w||M?U_(w,M)*F_+l:0)&&(a*=Math.abs(Math.cos(h*B_))),n.svg&&(r-=f-(f*x+m*w),i-=m-(f*b+m*M))):(R=g[6],z=g[7],C=g[8],O=g[9],L=g[10
vendor: 2,024 bytes, line 78
78],P=g[11],r=g[12],i=g[13],s=g[14],u=(y=U_(R,L))*F_,y&&(E=T*(v=Math.cos(-y))+C*(_=Math.sin(-y)),k=S*v+O*_,A=R*v+L*_,C=T*-_+C*v,O=S*-_+O*v,L=R*-_+L*v,P=z*-_+P*v,T=E,S=k,R=A),c=(y=U_(-w,L))*F_,y&&(v=Math.cos(-y),P=M*(_=Math.sin(-y))+P*v,x=E=x*v-C*_,b=k=b*v-O*_,w=A=w*v-L*_),l=(y=U_(b,x))*F_,y&&(E=x*(v=Math.cos(y))+b*(_=Math.sin(y)),k=T*v+S*_,b=b*v-x*_,S=S*v-T*_,x=E,T=k),u&&Math.abs(u)+Math.abs(l)>359.9&&(u=l=0,c=180-c),o=_y(Math.sqrt(x*x+b*b+w*w)),a=_y(Math.sqrt(S*S+R*R)),y=U_(T,S),h=Math.abs(y)>2e-4?y*F_:0,d=P?1/(P<0?-P:P):0),n.svg&&(E=t.getAttribute("transform"),n.forceCSS=t.setAttribute("transform","")||!Ox(cx(t,rx)),E&&t.setAttribute("transform",E))),Math.abs(h)>90&&Math.abs(h)<270&&(I?(o*=-1,h+=l<=0?180:-180,l+=l<=0?180:-180):(a*=-1,h+=h<=0?180:-180)),e=e||n.uncache,n.x=r-((n.xPercent=r&&(!e&&n.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-r)?-50:0)))?t.offsetWidth*n.xPercent/100:0)+D,n.y=i-((n.yPercent=i&&(!e&&n.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-i)?-50:0)))?t.offsetHeight*n.yPercent/100:0)+D,n.z=s+D,n.scaleX=_y(o),n.scaleY=_y(a),n.rotation=_y(l)+F,n.rotationX=_y(u)+F,n.rotationY=_y(c)+F,n.skewX=h+F,n.skewY=p+F,n.transformPerspective=d+D,(n.zOrigin=parseFloat(U.split(" ")[2])||!e&&n.zOrigin||0)&&(N[ix]=Nx(U)),n.xOffset=n.yOffset=0,n.force3D=Tg.force3D,n.renderTransform=n.svg?Vx:I_?jx:Dx,n.uncache=0,n},Nx=function(t){return(t=t.split(" "))[0]+" "+t[1]},Ix=function(t,e,n){var r=nv(e);return _y(parseFloat(e)+parseFloat(wx(t,"x",n+"px",r)))+r},Dx=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,jx(t,e)},Fx="0deg",Bx="0px",Ux=") ",jx=function(t,e){var n=e||this,r=n.xPercent,i=n.yPercent,s=n.x,o=n.y,a=n.z,l=n.rotation,u=n.rotationY,c=n.rotationX,h=n.skewX,p=n.skewY,d=n.scaleX,f=n.scaleY,m=n.transformPerspective,g=n.force3D,y=n.target,v=n.zOrigin,_="",x="auto"===g&&t&&1!==t||!0===g;if(v&&(c!==Fx||u!==Fx)){var b,w=parseFloat(u)*B_,M=Math.sin(w),T=Math.cos(w);w=parseFloat(c)*B_,b=Math.cos(w),s=Ix(y,s,M*b*-v),o=Ix(y,o,-Math.sin(w)*-v),a=Ix(y,a,T*b*-v+v)}
vendor: 4,970 bytes, line 78
78m!==Bx&&(_+="perspective("+m+Ux),(r||i)&&(_+="translate("+r+"%, "+i+"%) "),(x||s!==Bx||o!==Bx||a!==Bx)&&(_+=a!==Bx||x?"translate3d("+s+", "+o+", "+a+") ":"translate("+s+", "+o+Ux),l!==Fx&&(_+="rotate("+l+Ux),u!==Fx&&(_+="rotateY("+u+Ux),c!==Fx&&(_+="rotateX("+c+Ux),h===Fx&&p===Fx||(_+="skew("+h+", "+p+Ux),1===d&&1===f||(_+="scale("+d+", "+f+Ux),y.style[rx]=_||"translate(0, 0)"},Vx=function(t,e){var n,r,i,s,o,a=e||this,l=a.xPercent,u=a.yPercent,c=a.x,h=a.y,p=a.rotation,d=a.skewX,f=a.skewY,m=a.scaleX,g=a.scaleY,y=a.target,v=a.xOrigin,_=a.yOrigin,x=a.xOffset,b=a.yOffset,w=a.forceCSS,M=parseFloat(c),T=parseFloat(h);p=parseFloat(p),d=parseFloat(d),(f=parseFloat(f))&&(d+=f=parseFloat(f),p+=f),p||d?(p*=B_,d*=B_,n=Math.cos(p)*m,r=Math.sin(p)*m,i=Math.sin(p-d)*-g,s=Math.cos(p-d)*g,d&&(f*=B_,o=Math.tan(d-f),i*=o=Math.sqrt(1+o*o),s*=o,f&&(o=Math.tan(f),n*=o=Math.sqrt(1+o*o),r*=o)),n=_y(n),r=_y(r),i=_y(i),s=_y(s)):(n=m,s=g,r=i=0),(M&&!~(c+"").indexOf("px")||T&&!~(h+"").indexOf("px"))&&(M=wx(y,"x",c,"px"),T=wx(y,"y",h,"px")),(v||_||x||b)&&(M=_y(M+v-(v*n+_*i)+x),T=_y(T+_-(v*r+_*s)+b)),(l||u)&&(o=y.getBBox(),M=_y(M+l/100*o.width),T=_y(T+u/100*o.height)),o="matrix("+n+","+r+","+i+","+s+","+M+","+T+")",y.setAttribute("transform",o),w&&(y.style[rx]=o)},Wx=function(t,e,n,r,i){var s,o,a=360,l=Rg(i),u=parseFloat(i)*(l&&~i.indexOf("rad")?F_:1)-r,c=r+u+"deg";return l&&("short"===(s=i.split("_")[1])&&(u%=a)!==u%180&&(u+=u<0?a:-360),"cw"===s&&u<0?u=(u+36e9)%a-~~(u/a)*a:"ccw"===s&&u>0&&(u=(u-36e9)%a-~~(u/a)*a)),t._pt=o=new m_(t._pt,e,n,r,u,H_),o.e=c,o.u="deg",t._props.push(n),o},$x=function(t,e){for(var n in e)t[n]=e[n];return t},qx=function(t,e,n){var r,i,s,o,a,l,u,c=$x({},n._gsap),h=n.style;for(i in c.svg?(s=n.getAttribute("transform"),n.setAttribute("transform",""),h[rx]=e,r=Rx(n,1),vx(n,rx),n.setAttribute("transform",s)):(s=getComputedStyle(n)[rx],h[rx]=e,r=Rx(n,1),h[rx]=s),D_)(s=c[i])!==(o=r[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(a=nv(s)!==(u=nv(o))?wx(n,i,s,u):parseFloat(s),l=parseFloat(o),t._pt=new m_(t._pt,r,i,a,l-a,q_),t._pt.u=u||0,t._props.push(i));$x(r,c)};vy("padding,margin,Width,Radius",(function(t,e){var n="Top",r="Right",i="Bottom",s="Left",o=(e<3?[n,r,i,s]:[n+s,n+r,i+r,i+s]).map((function(n){return e<2?t+n:"border"+n+t}));kx[e>1?"border"+t:t]=function(t,e,n,r,i){var s,a;if(arguments.length<4)return s=o.map((function(e){return Mx(t,e,n)})),5===(a=s.join(" ")).split(s[0]).length?s[0]:a;s=(r+"").split(" "),a={},o.forEach((function(t,e){return a[t]=s[e]=s[e]||s[(e-1)/2|0]})),t.init(e,a,i)}}));var Hx,Yx,Xx,Gx={name:"css",register:dx,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,n,r,i){var s,o,a,l,u,c,h,p,d,f,m,g,y,v,_,x,b,w,M,T,S=this._props,E=t.style,k=n.vars.startAt;for(h in z_||dx(),this.styles=this.styles||lx(t),x=this.styles.props,this.tween=n,e)if("autoRound"!==h&&(o=e[h],!cy[h]||!Gv(h,e,n,r,t,i)))if(u=typeof o,c=kx[h],"function"===u&&(u=typeof(o=o.call(n,r,t,i))),"string"===u&&~o.indexOf("random(")&&(o=dv(o)),c)c(this,t,h,o,n)&&(_=1);else if("--"===h.substr(0,2))s=(getComputedStyle(t).getPropertyValue(h)+"").trim(),o+="",Ev.lastIndex=0,Ev.test(s)||(p=nv(s),d=nv(o)),d?p!==d&&(s=wx(t,h,s,d)+d):p&&(o+=p),this.add(E,"setProperty",s,o,r,i,0,0,h),S.push(h),x.push(h,0,E[h]);else if("undefined"!==u){if(k&&h in k?(s="function"==typeof k[h]?k[h].call(n,r,t,i):k[h],Rg(s)&&~s.indexOf("random(")&&(s=dv(s)),nv(s+"")||"auto"===s||(s+=Tg.units[h]||nv(Mx(t,h))||""),"="===(s+"").charAt(1)&&(s=Mx(t,h))):s=Mx(t,h),l=parseFloat(s),(f="string"===u&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),a=parseFloat(o),h in $_&&("autoAlpha"===h&&(1===l&&"hidden"===Mx(t,"visibility")&&a&&(l=0),x.push("visibility",0,E.visibility),_x(this,E,"visibility",l?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==h&&"transform"!==h&&~(h=$_[h]).indexOf(",")&&(h=h.split(",")[0])),m=h in D_)if(this.styles.save(h),g||((y=t._gsap).renderTransform&&!e.parseTransform||Rx(t,e.parseTransform),v=!1!==e.smoothOrigin&&y.smooth,(g=this._pt=new m_(this._pt,E,rx,0,1,y.renderTransform,y,0,-1)).dep=1),"scale"===h)this._pt=new m_(this._pt,y,"scaleY",y.scaleY,(f?by(y.scaleY,f+a):a)-y.scaleY||0,q_),this._pt.u=0,S.push("scaleY",h),h+="X";else{if("transformOrigin"===h){x.push(ix,0,E[ix]),w=void 0,M=void 0,T=void 0,w=(b=o).split(" "),M=w[0],T=w[1]||"50%","top"!==M&&"bottom"!==M&&"left"!==T&&"right"!==T||(b=M,M=T,T=b),w[0]=Sx[M]||M,w[1]=Sx[T]||T,o=w.join(" "),y.svg?Px(t,o,0,v,0,this):((d=parseFloat(o.split(" ")[2])||0)!==y.zOrigin&&_x(this,y,"zOrigin",y.zOrigin,d),_x(this,E,h,Nx(s),Nx(o)));continue}if("svgOrigin"===h){Px(t,o,1,v,0,this);continue}if(h in Cx){Wx(this,y,h,l,f?by(l,f+o):o);continue}if("smoothOrigin"===h){_x(this,y,"smooth",y.smooth,o);continue}if("force3D"===h){y[h]=o;continue}if("transform"===h){qx(this,o,t);continue}}else h in E||(h=px(h)||h);if(m||(a||0===a)&&(l||0===l)&&!W_.test(o)&&h in E)a||(a=0),(p=(s+"").substr((l+"").length))!==(d=nv(o)||(h in Tg.units?Tg.units[h]:p))&&
78(l=wx(t,h,s,d)),this._pt=new m_(this._pt,m?y:E,h,l,(f?by(l,f+a):a)-l,m||"px"!==d&&"zIndex"!==h||!1===e.autoRound?q_:X_),this._pt.u=d||0,p!==d&&"%"!==d&&(this._pt.b=s,this._pt.r=Y_);else if(h in E)Tx.call(this,t,h,s,f?f+o:o);else if(h in t)this.add(t,h,s||t[h],f?f+o:o,r,i);else if("parseTransform"!==h){ty(h,o);continue}m||(h in E?x.push(h,0,E[h]):x.push(h,1,s||t[h])),S.push(h)}_&&f_(this)},render:function(t,e){if(e.tween._time||!N_())for(var n=e._pt;n;)n.r(t,n.d),n=n._next;else e.styles.revert()},get:Mx,aliases:$_,getSetter:function(t,e,n){var r=$_[e];return r&&r.indexOf(",")<0&&(e=r),e in D_&&e!==ix&&(t._gsap.x||Mx(t,"x"))?n&&R_===n?"scale"===e?tx:K_:(R_=n||{})&&("scale"===e?ex:nx):t.style&&!Dg(t.style[e])?J_:~e.indexOf("-")?Q_:o_(t,e)},core:{_removeProperty:vx,_getMatrix:zx}};A_.utils.checkPrefix=px,A_.core.getStyleSaver=lx,Xx=vy((Hx="x,y,z,scale,scaleX,scaleY,xPercent,yPercent")+","+(Yx="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){D_[t]=1})),vy(Yx,(function(t){Tg.units[t]="deg",Cx[t]=1})),$_[Xx[13]]=Hx+","+Yx,vy("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");$_[e[1]]=Xx[e[0]]})),vy("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){Tg.units[t]="px"})),A_.registerPlugin(Gx);var Zx=A_.registerPlugin(Gx)||A_;Zx.core.Tween;const Jx=t=>(cs("data-v-0024d398"),t=t(),hs(),t),Qx={class:"opening-hours"},Kx=[Jx((()=>za("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 46 46"},[za("rect",{width:"46",height:"46",fill:"#F26123",rx:"2"}),za("path",{stroke:"#000","stroke-miterlimit":"10","stroke-width":"1.5",d:"M23.452 5.111v17.452M12.234 9.194l11.218 13.369M6.265 19.532l17.187 3.03M8.338 31.289l15.114-8.726M17.483 38.962l5.969-16.4M29.42 38.962l-5.968-16.4M38.565 31.289l-15.113-8.726M40.638 19.532l-17.186 3.03M34.67 9.194 23.451 22.563"})],-1)))],tb=Jx((()=>za("svg",{class:"star",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 615 605"},[za("path",{stroke:"#000","stroke-miterlimit":"10","stroke-width":"2",d:"M307.5 0v311.5M107.27 72.879l200.228 238.623M.732 257.411 307.5 311.503M37.738 467.25 307.505 311.5M200.962 604.214 307.501 311.5M414.039 604.214 307.5 311.5M577.266 467.25 307.5 311.5M614.267 257.411 307.5 311.503M507.728 72.879 307.5 311.502"})],-1))),eb=["innerHTML"],nb=["innerHTML"],rb=Lm({__name:"OpeningHours",setup(t){const e=Wf(),{t:n,locale:r}=Cf({inheritLocale:!0,useScope:"local",messages:{en:{customopeninghours:e.en.customopeninghours||"",weareopen:"We are open",opentoday:"Open today",opentomorrow:"Open tomorrow",open:"Open",from:"from",to:"to",until:"until",h:":",sunday:"Sunday",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday"},fr:{customopeninghours:e.fr.customopeninghours||"",weareopen:"Nous sommes ouverts",opentoday:"Ouverture aujourdâhui",opentomorrow:"Ouverture demain",open:"Ouvert",from:"de",to:"à ",until:"jusquâà ",h:"h",sunday:"dimanche",monday:"lundi",tuesday:"mardi",wednesday:"mercredi",thursday:"jeudi",friday:"vendredi",saturday:"samedi"}}}),i=zi(!1);zi(!1).value=matchMedia("(pointer:coarse)").matches,i.value=matchMedia("(max-width: 768px)").matches;const s=()=>{i.value=matchMedia("(max-width: 768px)").matches};window.addEventListener("resize",s),console.log(e),console.log(e.hours),Cc(),Ac();const o=Om(),a=il((()=>o.menuOpen)),l=il((()=>o.introDone));console.log("menuOpen "+a.value);const u=zi(!1),c=()=>{document.body.classList.remove("scrollable"),u.value=!0},h=()=>{a.value||document.body.classList.add("scrollable"),u.value=!1},p=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],d=e.hours,f=t=>{if("fr"==r.value){const[e,n]=t.split(":");return`${e}h${n}`}{const[e,n]=t.split(":"),r=parseInt(e),i=r>=12?" pm":" am",s=r%12||12;return 0===parseInt(n)?`${s}${i}`:`${s}:${n}${i}`}},m=(t,e=new Date)=>{const[n,r,i]=t.split(":").map(Number);return new Date(e.getFullYear(),e.getMonth(),e.getDate(),n,r,i)},g=il((()=>{const t=new Date,e=t.getDay(),i=p[e];if(d[i]&&d[i].open){const e=m(d[i].openinghour),r=m(d[i].closinghour);if(t>=e&&t<r)return`${n("weareopen")}<br>${n("until")} ${f(d[i].closinghour)}.`;if(t<e)return`${n("opentoday")}<br>${n("from")} ${f(d[i].openinghour)} ${n("to")} ${f(d[i].closinghour)}.`}for(let s=1;s<=7;s++){const t=p[(e+s)%7];
78if(d[t]&&d[t].open)return 1===s?`${n("opentomorrow")}<br>${n("from")} ${f(d[t].openinghour)} ${n("to")} ${f(d[t].closinghour)}.`:`${n("open")} ${"en"==r.value?`next ${n(t)}`:`le ${n(t)} prochain`} <br>${n("from")} ${f(d[t].openinghour)} ${n("to")} ${f(d[t].closinghour)}.`}return"Closed for now."}));return Fs((async()=>{await Ki()})),Vs((()=>{window.removeEventListener("resize",s)})),(t,r)=>(wa(),Ea("div",Qx,[Pa(dl,{name:"openinghours"},{default:ps((()=>[(!i.value||i.value&&a.value)&&l.value?(wa(),Ea("button",{key:0,class:"open-overlay",onClick:c},Kx)):Da("",!0)])),_:1}),Pa(dl,{name:"openinghours"},{default:ps((()=>[u.value?(wa(),Ea("div",{key:0,class:"overlay",onClick:h},[tb,Ii(e).hideopeninghours?Da("",!0):(wa(),Ea("p",{key:0,innerHTML:g.value},null,8,eb)),Ii(n)("customopeninghours")?(wa(),Ea("p",{key:1,innerHTML:Ii(n)("customopeninghours")},null,8,nb)):Da("",!0)])):Da("",!0)])),_:1})]))}},[["__scopeId","data-v-0024d398"]]),ib=t=>(cs("data-v-69447fcb"),t=t(),hs(),t),sb={key:0,class:"navigation-item"},ob=ib((()=>za("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 11 8"},[za("path",{stroke:"#000","stroke-linecap":"square","stroke-width":"1.3",d:"m1 1.75 4.5 4.5 4.5-4.5"})],-1))),ab={key:0},lb={key:1},ub={target:"_blank",href:"https://ateliersportesouvertes.ch"},cb={key:0,class:"locale-switcher"},hb={key:0,class:"locale-switcher"},pb={key:0,class:"address"},db=["innerHTML"],fb=["innerHTML"],mb={key:0},gb={key:1},yb=Lm({__name:"Navigation",setup(t){const e=Wf(),{t:n,locale:r}=Cf({inheritLocale:!0,useScope:"local",messages:{en:{program:"Program",currently:"Currently",upcoming:"Upcoming",archives:"Archives",artists:"Artists",about:"About",contact:"Contact",newsletter:"Newsletter",apo:"Apo Genève",address:e.en.address||"",openinghours:e.en.openinghours||""},fr:{program:"Programme",currently:"En Cours",upcoming:"à Venir",archives:"Archives",artists:"Artistes",about:"à Propos",contact:"Contact",newsletter:"Newsletter",apo:"Apo Genève",address:e.fr.address||"",openinghours:e.fr.openinghours||""}}}),i=zi(!1);zi(!1).value=matchMedia("(pointer:coarse)").matches,i.value=matchMedia("(max-width: 768px)").matches;const s=()=>{i.value=matchMedia("(max-width: 768px)").matches};window.addEventListener("resize",s);const o=Cc(),a=Ac(),l=Om(),u=il((()=>l.menuOpen));function c(t){r.value=t,console.log(e),a.replace({params:{locale:r.value}})}const h=zi(!1);zi(!1);const p=()=>{h.value=!h.value},d=il((()=>l.isupcoming)),f=il((()=>l.iscurrent)),m=il((()=>l.isarchives)),g=()=>{l.toggleMenu(!u.value),console.log("menuOpen "+u.value),u.value?document.body.classList.remove("scrollable"):document.body.classList.add("scrollable")},y=()=>{l.toggleMenu(!1),console.log("menuOpen "+u.value),document.body.classList.add("scrollable")},v=il((()=>l.introDone));return Fs((async()=>{await Ki(),console.log(o.name),setTimeout((()=>{"event"!=o.name&&"archives"!=o.name&&"upcoming"!=o.name&&"home"!=o.name||(h.value=!0)}),500)})),Vs((()=>{window.removeEventListener("resize",s)})),(t,e)=>{const s=Xs("router-link");return wa(),Ea("nav",{ref:"navigation",class:nr(["navigation",{home:"home"==Ii(o).name,open:!i.value||i.value&&u.value}])},[Pa(dl,{name:"menu"},{default:ps((()=>[!i.value||i.value&&u.value?(wa(),Ea("div",sb,[za("ul",null,[za("li",null,[za("button",{onClick:p,class:nr(["program-toggle",{"router-link-exact-active":"home"==Ii(o).name||"upcoming"==Ii(o).name||"archives"==Ii(o).name||"event"==Ii(o).name,open:h.value}])},[Na(or(Ii(n)("program"))+" ",1),ob],2),za("ul",{class:nr(["sub-menu",{active:h.value}])},[za("li",null,[Pa(s,{class:nr({"router-link-exact-active":f.value}),onClick:y,to:`/${Ii(r)}`},{default:ps((()=>[Na(or(Ii(n)("currently")),1)])),_:1},8,["class","to"])]),za("li",null,[Pa(s,{class:nr({"router-link-exact-active":d.value}),onClick:y,to:`/${Ii(r)}/upcoming`},{default:ps((()=>[Na(or(Ii(n)("upcoming")),1)])),_:1},8,["class","to"])]),za("li",null,[Pa(s,{class:nr({"router-link-exact-active":m.value}),onClick:y,to:`/${Ii(r)}/archives`},{default:ps((()=>[Na(or(Ii(n)("archives")),1)])),_:1},8,["class","to"])])],2)]),za("li",null,[Pa(s,{onClick:y,class:nr({"router-link-exact-active":"artist"==Ii(o).name}),to:`/${Ii(r)}/artists`},{default:ps((()=>[Na(or(Ii(n)("artists")),1)])),_:1},8,["class","to"])]),za("li",null,[Pa(s,{onClick:y,to:`/${Ii(r)}/about`},{default:ps((()=>[Na(or(Ii(n)("about")),1)])),_:1},8,["to"])]),za("li",null,[Pa(s,{onClick:y,to:`/${Ii(r)}/contact`},{default:ps((()=>[Na(or(Ii(n)("contact")),1)])),_:1},8,["to"])]),i.value?(wa(),Ea("li",ab,[Pa(s,{onClick:y,to:`/${Ii(r)}/newsletter`},{default:ps((()=>[Na(or(Ii(n)("newsletter")),1)])),_:1}
78,8,["to"])])):Da("",!0),i.value?(wa(),Ea("li",lb,[za("a",ub,or(Ii(n)("apo")),1)])):Da("",!0)]),i.value?(wa(),Ea("div",cb,[za("button",{class:nr({active:"fr"==Ii(r)}),onClick:e[0]||(e[0]=t=>c("fr"))}," FR ",2),za("button",{class:nr({active:"en"==Ii(r)}),onClick:e[1]||(e[1]=t=>c("en"))}," EN ",2)])):Da("",!0)])):Da("",!0)])),_:1}),i.value?Da("",!0):(wa(),Ea("div",hb,[za("button",{class:nr({active:"fr"==Ii(r)}),onClick:e[2]||(e[2]=t=>c("fr"))}," FR ",2),za("button",{class:nr({active:"en"==Ii(r)}),onClick:e[3]||(e[3]=t=>c("en"))}," EN ",2)])),Pa(dl,{name:"menufooter"},{default:ps((()=>[i.value&&u.value?(wa(),Ea("div",pb,[za("address",{innerHTML:Ii(n)("address")},null,8,db),za("p",{innerHTML:Ii(n)("openinghours")},null,8,fb)])):Da("",!0)])),_:1}),Pa(dl,{name:"togglebutton"},{default:ps((()=>[i.value&&v.value?(wa(),Ea("button",{key:0,class:"toggle-menu",onClick:g},[u.value?Da("",!0):(wa(),Ea("span",mb,"Menu")),u.value?(wa(),Ea("span",gb,"Fermer")):Da("",!0)])):Da("",!0)])),_:1})],2)}}},[["__scopeId","data-v-69447fcb"]]),vb=t=>(cs("data-v-80d4a28c"),t=t(),hs(),t),_b=[vb((()=>za("g",{fill:"#000","clip-path":"url(#a)"},[za("path",{d:"M117.621 95.602c-10.447 0-17.849-6.21-17.849-15.019 0-8.809 7.256-15.019 17.849-15.019 11.029 0 17.56 6.932 17.56 13.575v2.889c0 6.498-6.531 13.574-17.56 13.574ZM114.72 106c8.416 0 15.671-3.322 20.461-9.531v7.943h12.044V54.733c0-18.197-11.899-29.605-31.345-29.605-7.98 0-15.672 2.022-20.316 5.343v10.687c4.499-3.465 11.319-5.632 18.14-5.632 13.06 0 21.477 7.654 21.477 19.207v9.242c-4.499-4.91-11.755-7.799-20.171-7.799-15.673 0-27.137 10.399-27.137 24.697C87.873 95.458 99.048 106 114.72 106ZM66.355 3.321v29.464H12.19V3.32H0v101.09h12.19V44.049h54.165v60.362h12.19V3.321h-12.19ZM378.884 3.322v28.792L324.421 3.322h-11.875v101.09h12.19V15.989l54.148 28.597v59.826h12.19V3.322h-12.19ZM570.238 95.169c-16.253 0-27.717-12.276-27.717-29.605 0-17.474 11.609-29.605 28.007-29.605 17.705 0 27.426 13.863 27.426 27.294v4.622c0 13.43-9.867 27.294-27.716 27.294ZM597.954 0v41.013c-5.513-9.964-16.687-15.885-29.748-15.885-21.767 0-37.875 17.185-37.875 40.436 0 23.25 16.108 40.291 37.875 40.291 13.061 0 24.235-5.92 29.748-16.463v15.02H610V0h-12.046ZM219.416 66.864c-1.161-16.897 8.851-31.193 25.975-31.193 10.158 0 18.284 5.632 21.332 14.008l-47.307 17.185ZM248.003 106c9.577 0 18.72-2.6 24.669-6.787V87.66c-6.094 4.765-14.511 7.654-23.508 7.654-13.786 0-23.8-6.932-27.862-18.486L279.928 55.6c-2.321-18.196-15.963-30.615-34.683-30.615-21.622 0-37.584 17.185-37.584 40.724 0 23.829 16.399 40.292 40.342 40.292ZM441.287 24.984c-23.363 0-40.197 17.185-40.197 40.58 0 23.54 16.834 40.436 40.197 40.436 23.219 0 40.051-16.896 40.051-40.436 0-23.394-16.832-40.58-40.051-40.58Zm0 70.185c-16.398 0-28.007-12.276-28.007-29.605 0-17.33 11.609-29.605 28.007-29.605 16.253 0 27.861 12.275 27.861 29.605S457.54 95.17 441.287 95.17ZM490.818 104.412h12.19V63.253c0-15.019 8.561-25.272 21.477-25.272 2.177 0 4.063.29 5.514.867V26.717c-1.307-.578-3.483-.867-5.805-.867-9.142 0-17.268 5.921-21.331 15.74V26.573h-12.045v77.84ZM198.07 0h-12.189v104.412h12.189V0ZM172.721 0h-12.19v104.412h12.19V0Z"})],-1))),vb((()=>za("defs",null,[za("clipPath",{id:"a"},[za("path",{fill:"#fff",d:"M0 0h610v106H0z"})])],-1)))],xb={class:"card"},bb={key:0},wb=["srcset"],Mb=["srcset"],Tb=["src","alt"],Sb=vb((()=>za("svg",{class:"star",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 325 325"},[za("path",{stroke:"#000","stroke-linecap":"square","stroke-miterlimit":"16","stroke-width":"3",d:"M162.5 167.501 267.26 40.723M162.5 167.501l16.427-2.955L323 138.743m-160.5 28.758 141.161 82.751M162.5 167.501l6.907 19.248L218.24 323M162.5 167.501 106.76 323m55.74-155.499L21.376 250.252M162.5 167.501 2 138.743m160.5 28.758L57.74 40.723M162.5 167.501V2"})],-1))),Eb={class:"footer"},kb=["innerHTML"],Ab=["innerHTML"],Cb=Lm({__name:"Header",setup(t){const{t:e,locale:n}=Cf({inheritLocale:!0,useScope:"local",messages:{en:{about:"About",archives:"Archives",ressources:"Ressources",close:"Close"},fr:{about:"Ã propos",archives:"Archives",ressources:"Ressources",close:"Fermer"}}}),r=zi(!1);zi(!1).value=matchMedia("(pointer:coarse)").matches,r.value=matchMedia("(max-width: 768px)").matches;const i=()=>{r.value=matchMedia("(max-width: 768px)").matches};window.addEventListener("resize",i);const s=Wf(),o=Cc();Ac();const a=Om();il((()=>a.infoOpen));const l=zi(null),u=zi(!1);zi(!1);const c=()=>{document.body.classList.add("scrollable"),u.value=!0,a.finishedIntro()},h=()=>{document.body.classList.add("scrollable"),a.toggleMenu(!1)};return Fs((async()=>{Zx.timeline(),await Ki()})),Vs((()=>{window.removeEventListener("resize",i)})),(t,e)=>{const r=Xs("router-link");return wa(),Ea("div",{class:nr({home:"home"==Ii(o).name,whitetext:Ii(s).whitetext})},[za("header",{onClick:h,ref_key:"header",ref:l,class:nr({home:"home"==Ii(o).name})},[za("h1",null,[Pa(r,{to:`/${Ii(n)}`},{default:ps((()=>[(wa(),Ea("svg",{class:nr(["logo",{introdone:u.value}]),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 610 106"},_b,2))])),_:1},8,["to"])])],2),Pa(dl,{name:"intro"},{default:ps((()=>[u.value?Da("",!0):(wa(),Ea("div",{key:0,class:"intro",onClick:c},[za("figure",xb,[Ii(s).homepageimage?(wa(),Ea("picture",bb,[za("source",{srcset:Ii(s).homepageimage.srcset_webp,type:"image/webp"},null,8,wb),za("source",{srcset:Ii(s).homepageimage.srcset_jpeg,type:"image/jpeg"},null,8,Mb),za("img",{src:Ii(s).homepageimage.url,alt:Ii(s).homepageimage.alt},null,8,Tb)])):Da("",!0),Sb,za("div",Eb,[za("address",{class:"address",innerHTML:Ii(s).address},null,8,kb),Ii(s).homepageimage&&Ii(s).homepageimage.caption?(wa(),Ea("figcaption",{key:0,innerHTML:Ii(s).homepageimage.caption},null,8,Ab)):Da("",!0)])])]))])),_:1})],2)}}}
78,[["__scopeId","data-v-80d4a28c"]]),Ob={class:"page"},Lb={__name:"App",setup(t){const{locale:e}=Cf({useScope:"global"});console.log(e);const n=Om();Wf();const r=Ac();Zx.timeline();const i=Cc();r.beforeEach(((t,n)=>{const r=t.params.locale;r!==n.params.locale&&(console.log(t.params.locale),console.log(n.params.locale),e.value=r)})),ra((()=>i.name),(async t=>{}));const s=il((()=>n.introDone));let o;function a(){o||(o=!0,requestAnimationFrame((()=>{o=!1,document.documentElement.style.setProperty("--vh",`${window.visualViewport.height}px`)})))}return window.visualViewport&&(a(),window.visualViewport.addEventListener("scroll",a,{passive:!0}),window.visualViewport.addEventListener("resize",a)),Fs((async()=>{await Ki()})),(t,n)=>{const r=Cb,o=yb,a=rb,l=Xs("router-view"),u=Wm;return wa(),Ea("div",Ob,[Pa(r),Pa(o),(wa(),ka(a,{key:Ii(e)})),za("main",{class:nr(["main",[Ii(i).name,{introDone:s.value}]]),id:"main"},[Pa(l,null,{default:ps((({Component:t,route:e})=>[Pa(dl,{name:"page",mode:"out-in"},{default:ps((()=>[(wa(),ka(Zs(t),{key:e.path}))])),_:2},1024)])),_:1}),Pa(u)],2)])}}},zb=function(){const t=pr(!0),e=t.run((()=>zi({})));let n=[],r=[];const i=Si({install(t){Xf(i),i._a=t,t.provide(Gf,i),t.config.globalProperties.$pinia=i,r.forEach((t=>n.push(t))),r=[]},use(t){return this._a?n.push(t):r.push(t),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return i}(),Pb=((...t)=>{const e=(Gl||(Gl=Xo(Xl))).createApp(...t),{mount:n}=e;return e.mount=t=>{const r=function(t){if(kn(t)){return document.querySelector(t)}return t}(t);if(!r)return;const i=e._component;En(i)||i.render||i.template||(i.template=r.innerHTML),r.innerHTML="";const s=n(r,!1,function(t){if(t instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&t instanceof MathMLElement)return"mathml"}(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),s},e})(Lb);for(const Rb of Object.values(Object.assign({"./modules/TransparentBackgroundFixedUnrealBloomPass.js":sn,"./modules/kirbytext.js":un,"./modules/router.js":qf,"./modules/utils.js":Hf})))null==(t=Rb.install)||t.call(Rb,Pb);Pb.use(zb),Pb.use(Rf),Pb.use(Cm),Pb.use(wm),Pb.use(Sm),Pb.mount("#app");export{Zx as A,il as B,ds as C,Yl as D,Bf as E,ga as F,Us as G,To as H,ra as I,js as J,sl as K,Bs as L,Jn as M,gi as N,vi as O,Ic as P,Lm as _,Om as a,Wf as b,Ac as c,Vs as d,Ea as e,Ks as f,Ii as g,Da as h,nr as i,Xs as j,wa as k,Pa as l,Cc as m,Ki as n,Fs as o,za as p,ka as q,zi as r,Na as s,or as t,Cf as u,Zs as v,ps as w,Ia as x,cs as y,hs as z};
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.