vendor: 3,715 bytes, lines 1-8
1import"https://cdn.jsdelivr.net/npm/[email protected]/src/index.mjs";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const A of s.addedNodes)A.tagName==="LINK"&&A.rel==="modulepreload"&&i(A)}).observe(document,{childList:!0,subtree:!0});function e(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerpolicy&&(s.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?s.credentials="include":r.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(r){if(r.ep)return;r.ep=!0;const s=e(r);fetch(r.href,s)}})();/** 2* @vue/shared v3.5.27 3* (c) 2018-present Yuxi (Evan) You and Vue contributors 4* @license MIT 5**/function mm(n){const t=Object.create(null);for(const e of n.split(","))t[e]=1;return e=>e in t}const Fn={},Ta=[],Kr=()=>{},ry=()=>!1,$f=n=>n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&(n.charCodeAt(2)>122||n.charCodeAt(2)<97),wm=n=>n.startsWith("onUpdate:"),Jn=Object.assign,vm=(n,t)=>{const e=n.indexOf(t);e>-1&&n.splice(e,1)},TC=Object.prototype.hasOwnProperty,yn=(n,t)=>TC.call(n,t),tn=Array.isArray,Ia=n=>th(n)==="[object Map]",sy=n=>th(n)==="[object Set]",rn=n=>typeof n=="function",Vn=n=>typeof n=="string",GA=n=>typeof n=="symbol",Mn=n=>n!==null&&typeof n=="object",Ay=n=>(Mn(n)||rn(n))&&rn(n.then)&&rn(n.catch),oy=Object.prototype.toString,th=n=>oy.call(n),IC=n=>th(n).slice(8,-1),ay=n=>th(n)==="[object Object]",eh=n=>Vn(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,zl=mm(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),nh=n=>{const t=Object.create(null);return e=>t[e]||(t[e]=n(e))},QC=/-\w/g,Tr=nh(n=>n.replace(QC,t=>t.slice(1).toUpperCase())),LC=/\B([A-Z])/g,ko=nh(n=>n.replace(LC,"-$1").toLowerCase()),ih=nh(n=>n.charAt(0).toUpperCase()+n.slice(1)),Jh=nh(n=>n?`on${ih(n)}`:""),UA=(n,t)=>!Object.is(n,t),Zh=(n,...t)=>{for(let e=0;e<n.length;e++)n[e](...t)},ly=(n,t,e,i=!1)=>{Object.defineProperty(n,t,{configurable:!0,enumerable:!1,writable:i,value:e})},PC=n=>{const t=parseFloat(n);return isNaN(t)?n:t},DC=n=>{const t=Vn(n)?Number(n):NaN;return isNaN(t)?n:t};let L0;const Tc=()=>L0||(L0=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function rh(n){if(tn(n)){const t={};for(let e=0;e<n.length;e++){const i=n[e],r=Vn(i)?kC(i):rh(i);if(r)for(const s in r)t[s]=r[s]}return t}else if(Vn(n)||Mn(n))return n}const RC=/;(?![^(]*\))/g,OC=/:([^]+)/,HC=/\/\*[^]*?\*\//g;function kC(n){const t={};return n.replace(HC,"").split(RC).forEach(e=>{if(e){const i=e.split(OC);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function Wi(n){let t="";if(Vn(n))t=n;else if(tn(n))for(let e=0;e<n.length;e++){const i=Wi(n[e]);i&&(t+=i+" ")}else if(Mn(n))for(const e in n)n[e]&&(t+=e+" ");return t.trim()}const NC="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",zC=mm(NC);function cy(n){return!!n||n===""}const uy=n=>!!(n&&n.__v_isRef===!0),Yn=n=>Vn(n)?n:n==null?"":tn(n)||Mn(n)&&(n.toString===oy||!rn(n.toString))?uy(n)?Yn(n.value):JSON.stringify(n,fy,2):String(n),fy=(n,t)=>uy(t)?fy(n,t.value):Ia(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[i,r],s)=>(e[$h(i,s)+" =>"]=r,e),{})}:sy(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>$h(e))}:GA(t)?$h(t):Mn(t)&&!tn(t)&&!ay(t)?String(t):t,$h=(n,t="")=>{var e;return GA(n)?`Symbol(${(e=n.description)!=null?e:t})`:n};/** 6* @vue/reactivity v3.5.27 7* (c) 2018-present Yuxi (Evan) You and Vue contributors 8* @license MIT
vendor: 5,797 bytes, line 9
9**/let Ci;class hy{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ci,!t&&Ci&&(this.index=(Ci.scopes||(Ci.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,e;if(this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].pause();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,e;if(this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].resume();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].resume()}}run(t){if(this._active){const e=Ci;try{return Ci=this,t()}finally{Ci=e}}}on(){++this._on===1&&(this.prevScope=Ci,Ci=this)}off(){this._on>0&&--this._on===0&&(Ci=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let e,i;for(e=0,i=this.effects.length;e<i;e++)this.effects[e].stop();for(this.effects.length=0,e=0,i=this.cleanups.length;e<i;e++)this.cleanups[e]();if(this.cleanups.length=0,this.scopes){for(e=0,i=this.scopes.length;e<i;e++)this.scopes[e].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function dy(n){return new hy(n)}function py(){return Ci}function VC(n,t=!1){Ci&&Ci.cleanups.push(n)}let Sn;const td=new WeakSet;class gy{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ci&&Ci.active&&Ci.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,td.has(this)&&(td.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||wy(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,P0(this),vy(this);const t=Sn,e=Wr;Sn=this,Wr=!0;try{return this.fn()}finally{yy(this),Sn=t,Wr=e,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)_m(t);this.deps=this.depsTail=void 0,P0(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?td.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Pp(this)&&this.run()}get dirty(){return Pp(this)}}let my=0,Vl,Gl;function wy(n,t=!1){if(n.flags|=8,t){n.next=Gl,Gl=n;return}n.next=Vl,Vl=n}function ym(){my++}function Bm(){if(--my>0)return;if(Gl){let t=Gl;for(Gl=void 0;t;){const e=t.next;t.next=void 0,t.flags&=-9,t=e}}let n;for(;Vl;){let t=Vl;for(Vl=void 0;t;){const e=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(i){n||(n=i)}t=e}}if(n)throw n}function vy(n){for(let t=n.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function yy(n){let t,e=n.depsTail,i=e;for(;i;){const r=i.prevDep;i.version===-1?(i===e&&(e=r),_m(i),GC(i)):t=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=r}n.deps=t,n.depsTail=e}function Pp(n){for(let t=n.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(By(t.dep.computed)||t.dep.version!==t.version))return!0;return!!n._dirty}function By(n){if(n.flags&4&&!(n.flags&16)||(n.flags&=-17,n.globalVersion===lc)||(n.globalVersion=lc,!n.isSSR&&n.flags&128&&(!n.deps&&!n._dirty||!Pp(n))))return;n.flags|=2;const t=n.dep,e=Sn,i=Wr;Sn=n,Wr=!0;try{vy(n);const r=n.fn(n._value);(t.version===0||UA(r,n._value))&&(n.flags|=128,n._value=r,t.version++)}catch(r){throw t.version++,r}finally{Sn=e,Wr=i,yy(n),n.flags&=-3}}function _m(n,t=!1){const{dep:e,prevSub:i,nextSub:r}=n;if(i&&(i.nextSub=r,n.prevSub=void 0),r&&(r.prevSub=i,n.nextSub=void 0),e.subs===n&&(e.subs=i,!i&&e.computed)){e.computed.flags&=-5;for(let s=e.computed.deps;s;s=s.nextDep)_m(s,!0)}!t&&!--e.sc&&e.map&&e.map.delete(e.key)}function GC(n){const{prevDep:t,nextDep:e}=n;t&&(t.nextDep=e,n.prevDep=void 0),e&&(e.prevDep=t,n.nextDep=void 0)}let Wr=!0;const _y=[];function Vs(){_y.push(Wr),Wr=!1}function Gs(){const n=_y.pop();Wr=n===void 0?!0:n}function P0(n){const{cleanup:t}=n;if(n.cleanup=void 0,t){const e=Sn;Sn=void 0;try{t()}finally{Sn=e}}}let lc=0;class KC{constructor(t,e){this.sub=t,this.dep=e,this.version=e.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class xm{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Sn||!Wr||Sn===this.computed)return;let e=this.activeLink;if(e===void 0||e.sub!==Sn)e=this.activeLink=new KC(Sn,this),Sn.deps?(e.prevDep=Sn.depsTail,Sn.depsTail.nextDep=e,Sn.depsTail=e):Sn.deps=Sn.depsTail=e,xy(e);else if(e.version===-1&&(e.version=this.version,e.nextDep)){const i=e.nextDep;i.prevDep=e.prevDep,e.prevDep&&(e.prevDep.nextDep=i),e.prevDep=Sn.depsTail,e.nextDep=void 0,Sn.depsTail.nextDep=e,Sn.depsTail=e,Sn.deps===e&&(Sn.deps=i)}return e}trigger(t){this.version++,lc++,this.notify(t)}notify(t){ym();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Bm()}}}function xy(n){if(n.dep.sc++,n.sub.flags&4){const t=n.dep.computed;if(t&&!n.dep.subs){t.flags|=20;for(let i=t.deps;i;i=i.nextDep)xy(i)}const e=n.dep.subs;e!==n&&(n.prevSub=e,e&&(e.nextSub=n)),n.dep.subs=n}}const mf=new WeakMap,Bo=Symbol(""),Dp=Symbol(""),cc=Symbol("");function Si(n,t,e){if(Wr&&Sn){let i=mf.get(n);i||mf.set(n,i=new Map);let r=i.get(e);r||(i.set(e,r=new xm),r.map=i,r.key=e),r.track()}}function Ds(n,t,e,i,r,s){const A=mf.get(n);if(!A){lc++;return}const o=a=>{a&&a.trigger()};if(ym(),t==="clear")A.forEach(o);else{const a=tn(n),l=a&&eh(e);if(a&&e==="length"){const c=Number(i);A.forEach((u,f)=>{(f==="length"||f===cc||!GA(f)&&f>=c)&&o(u)})}else switch((e!==void 0||A.has(void 0))&&o(A.get(e)),l&&o(A.get(cc)),t){case"add":a?l&&o(A.get("length")):(o(A.get(Bo)),Ia(n)&&o(A.get(Dp)));break;
vendor: 10,151 bytes, line 9
9case"delete":a||(o(A.get(Bo)),Ia(n)&&o(A.get(Dp)));break;case"set":Ia(n)&&o(A.get(Bo));break}}Bm()}function WC(n,t){const e=mf.get(n);return e&&e.get(t)}function jo(n){const t=gn(n);return t===n?t:(Si(t,"iterate",cc),lr(n)?t:t.map(Xr))}function sh(n){return Si(n=gn(n),"iterate",cc),n}function gA(n,t){return Ws(n)?Hs(n)?Va(Xr(t)):Va(t):Xr(t)}const qC={__proto__:null,[Symbol.iterator](){return ed(this,Symbol.iterator,n=>gA(this,n))},concat(...n){return jo(this).concat(...n.map(t=>tn(t)?jo(t):t))},entries(){return ed(this,"entries",n=>(n[1]=gA(this,n[1]),n))},every(n,t){return Bs(this,"every",n,t,void 0,arguments)},filter(n,t){return Bs(this,"filter",n,t,e=>e.map(i=>gA(this,i)),arguments)},find(n,t){return Bs(this,"find",n,t,e=>gA(this,e),arguments)},findIndex(n,t){return Bs(this,"findIndex",n,t,void 0,arguments)},findLast(n,t){return Bs(this,"findLast",n,t,e=>gA(this,e),arguments)},findLastIndex(n,t){return Bs(this,"findLastIndex",n,t,void 0,arguments)},forEach(n,t){return Bs(this,"forEach",n,t,void 0,arguments)},includes(...n){return nd(this,"includes",n)},indexOf(...n){return nd(this,"indexOf",n)},join(n){return jo(this).join(n)},lastIndexOf(...n){return nd(this,"lastIndexOf",n)},map(n,t){return Bs(this,"map",n,t,void 0,arguments)},pop(){return ml(this,"pop")},push(...n){return ml(this,"push",n)},reduce(n,...t){return D0(this,"reduce",n,t)},reduceRight(n,...t){return D0(this,"reduceRight",n,t)},shift(){return ml(this,"shift")},some(n,t){return Bs(this,"some",n,t,void 0,arguments)},splice(...n){return ml(this,"splice",n)},toReversed(){return jo(this).toReversed()},toSorted(n){return jo(this).toSorted(n)},toSpliced(...n){return jo(this).toSpliced(...n)},unshift(...n){return ml(this,"unshift",n)},values(){return ed(this,"values",n=>gA(this,n))}};function ed(n,t,e){const i=sh(n),r=i[t]();return i!==n&&!lr(n)&&(r._next=r.next,r.next=()=>{const s=r._next();return s.done||(s.value=e(s.value)),s}),r}const jC=Array.prototype;function Bs(n,t,e,i,r,s){const A=sh(n),o=A!==n&&!lr(n),a=A[t];if(a!==jC[t]){const u=a.apply(n,s);return o?Xr(u):u}let l=e;A!==n&&(o?l=function(u,f){return e.call(this,gA(n,u),f,n)}:e.length>2&&(l=function(u,f){return e.call(this,u,f,n)}));const c=a.call(A,l,i);return o&&r?r(c):c}function D0(n,t,e,i){const r=sh(n);let s=e;return r!==n&&(lr(n)?e.length>3&&(s=function(A,o,a){return e.call(this,A,o,a,n)}):s=function(A,o,a){return e.call(this,A,gA(n,o),a,n)}),r[t](s,...i)}function nd(n,t,e){const i=gn(n);Si(i,"iterate",cc);const r=i[t](...e);return(r===-1||r===!1)&&Ah(e[0])?(e[0]=gn(e[0]),i[t](...e)):r}function ml(n,t,e=[]){Vs(),ym();const i=gn(n)[t].apply(n,e);return Bm(),Gs(),i}const XC=mm("__proto__,__v_isRef,__isVue"),by=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(GA));function YC(n){GA(n)||(n=String(n));const t=gn(this);return Si(t,"has",n),t.hasOwnProperty(n)}class Cy{constructor(t=!1,e=!1){this._isReadonly=t,this._isShallow=e}get(t,e,i){if(e==="__v_skip")return t.__v_skip;const r=this._isReadonly,s=this._isShallow;if(e==="__v_isReactive")return!r;if(e==="__v_isReadonly")return r;if(e==="__v_isShallow")return s;if(e==="__v_raw")return i===(r?s?A3:My:s?Ey:Fy).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(i)?t:void 0;const A=tn(t);if(!r){let a;if(A&&(a=qC[e]))return a;if(e==="hasOwnProperty")return YC}const o=Reflect.get(t,e,zn(t)?t:i);if((GA(e)?by.has(e):XC(e))||(r||Si(t,"get",e),s))return o;if(zn(o)){const a=A&&eh(e)?o:o.value;return r&&Mn(a)?Op(a):a}return Mn(o)?r?Op(o):Ks(o):o}}class Sy extends Cy{constructor(t=!1){super(!1,t)}set(t,e,i,r){let s=t[e];const A=tn(t)&&eh(e);if(!this._isShallow){const l=Ws(s);if(!lr(i)&&!Ws(i)&&(s=gn(s),i=gn(i)),!A&&zn(s)&&!zn(i))return l||(s.value=i),!0}const o=A?Number(e)<t.length:yn(t,e),a=Reflect.set(t,e,i,zn(t)?t:r);return t===gn(r)&&(o?UA(i,s)&&Ds(t,"set",e,i):Ds(t,"add",e,i)),a}deleteProperty(t,e){const i=yn(t,e);t[e];const r=Reflect.deleteProperty(t,e);return r&&i&&Ds(t,"delete",e,void 0),r}has(t,e){const i=Reflect.has(t,e);return(!GA(e)||!by.has(e))&&Si(t,"has",e),i}ownKeys(t){return Si(t,"iterate",tn(t)?"length":Bo),Reflect.ownKeys(t)}}class JC extends Cy{constructor(t=!1){super(!0,t)}set(t,e){return!0}deleteProperty(t,e){return!0}}const ZC=new Sy,$C=new JC,t3=new Sy(!0);const Rp=n=>n,tu=n=>Reflect.getPrototypeOf(n);function e3(n,t,e){return function(...i){const r=this.__v_raw,s=gn(r),A=Ia(s),o=n==="entries"||n===Symbol.iterator&&A,a=n==="keys"&&A,l=r[n](...i),c=e?Rp:t?Va:Xr;return!t&&Si(s,"iterate",a?Dp:Bo),Jn(Object.create(l),{next(){const{value:u,done:f}=l.next();return f?{value:u,done:f}:{value:o?[c(u[0]),c(u[1])]:c(u),done:f}}})}}function eu(n){return function(...t){return n==="delete"?!1:n==="clear"?void 0:this}}function n3(n,t){const e={get(r){const s=this.__v_raw,A=gn(s),o=gn(r);n||(UA(r,o)&&Si(A,"get",r),Si(A,"get",o));const{has:a}=tu(A),l=t?Rp:n?Va:Xr;if(a.call(A,r))return l(s.get(r));if(a.call(A,o))return l(s.get(o));s!==A&&s.get(r)},get size(){const r=this.__v_raw;return!n&&Si(gn(r),"iterate",Bo),r.size},has(r){const s=this.__v_raw,A=gn(s),o=gn(r);return n||(UA(r,o)&&Si(A,"has",r),Si(A,"has",o)),r===o?s.has(r):s.has(r)||s.has(o)},forEach(r,s){const A=this,o=A.__v_raw,a=gn(o),l=t?Rp:n?Va:Xr;return!n&&Si(a,"iterate",Bo),o.forEach((c,u)=>r.call(s,l(c),l(u),A))}};return Jn(e,n?{add:eu("add"),set:eu("set"),delete:eu("delete"),clear:eu("clear")}:{add(r){!t&&!lr(r)&&!Ws(r)&&(r=gn(r));const s=gn(this);return tu(s).has.call(s,r)||(s.add(r),Ds(s,"add",r,r)),this},set(r,s){!t&&!lr(s)&&!Ws(s)&&(s=gn(s));const A=gn(this),{has:o,get:a}=tu(A);let l=o.call(A,r);l||(r=gn(r),l=o.call(A,r));const c=a.call(A,r);return A.set(r,s),l?UA(s,c)&&Ds(A,"set",r,s):Ds(A,"add",r,s),this},delete(r){const s=gn(this),{has:A,get:o}=tu(s);let a=A.call(s,r);a||(r=gn(r),a=A.call(s,r)),o&&o.call(s,r);const l=s.delete(r);return a&&Ds(s,"delete",r,void 0),l},clear(){const r=gn(this),s=r.size!==0,A=r.clear();return s&&Ds(r,"clear",void 0,void 0),A}}),["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=e3(r,n,t)}),e}function bm(n,t){const e=n3(n,t);return(i,r,s)=>r==="__v_isReactive"?!n:r==="__v_isReadonly"?n:r==="__v_raw"?i:Reflect.get(yn(e,r)&&r in i?e:i,r,s)}const i3={get:bm(!1,!1)},r3={get:bm(!1,!0)},s3={get:bm(!0,!1)};const Fy=new WeakMap,Ey=new WeakMap,My=new WeakMap,A3=new WeakMap;function o3(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function a3(n){return n.__v_skip||!Object.isExtensible(n)?0:o3(IC(n))}function Ks(n){return Ws(n)?n:Cm(n,!1,ZC,i3,Fy)}function l3(n){return Cm(n,!1,t3,r3,Ey)}function Op(n){return Cm(n,!0,$C,s3,My)}function Cm(n,t,e,i,r){if(!Mn(n)||n.__v_raw&&!(t&&n.__v_isReactive))return n;const s=a3(n);if(s===0)return n;const A=r.get(n);if(A)return A;const o=new Proxy(n,s===2?i:e);return r.set(n,o),o}function Hs(n){return Ws(n)?Hs(n.__v_raw):!!(n&&n.__v_isReactive)}function Ws(n){return!!(n&&n.__v_isReadonly)}function lr(n){return!!(n&&n.__v_isShallow)}function Ah(n){return n?!!n.__v_raw:!1}function gn(n){const t=n&&n.__v_raw;return t?gn(t):n}function Sm(n){return!yn(n,"__v_skip")&&Object.isExtensible(n)&&ly(n,"__v_skip",!0),n}const Xr=n=>Mn(n)?Ks(n):n,Va=n=>Mn(n)?Op(n):n;function zn(n){return n?n.__v_isRef===!0:!1}function oh(n){return Uy(n,!1)}function c3(n){return Uy(n,!0)}function Uy(n,t){return zn(n)?n:new u3(n,t)}class u3{constructor(t,e){this.dep=new xm,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=e?t:gn(t),this._value=e?t:Xr(t),this.__v_isShallow=e}get value(){return this.dep.track(),this._value}set value(t){const e=this._rawValue,i=this.__v_isShallow||lr(t)||Ws(t);t=i?t:gn(t),UA(t,e)&&(this._rawValue=t,this._value=i?t:Xr(t),this.dep.trigger())}}function TA(n){return zn(n)?n.value:n}const f3={get:(n,t,e)=>t==="__v_raw"?n:TA(Reflect.get(n,t,e)),set:(n,t,e,i)=>{const r=n[t];return zn(r)&&!zn(e)?(r.value=e,!0):Reflect.set(n,t,e,i)}};function Ty(n){return Hs(n)?n:new Proxy(n,f3)}function h3(n){const t=tn(n)?new Array(n.length):{};for(const e in n)t[e]=p3(n,e);return t}class d3{constructor(t,e,i){this._object=t,this._key=e,this._defaultValue=i,this.__v_isRef=!0,this._value=void 0,this._raw=gn(t);let r=!0,s=t;if(!tn(t)||!eh(String(e)))do r=!Ah(s)||lr(s);while(r&&(s=s.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=TA(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&zn(this._raw[this._key])){const e=this._object[this._key];if(zn(e)){e.value=t;return}}this._object[this._key]=t}get dep(){return WC(this._raw,this._key)}}function p3(n,t,e){return new d3(n,t,e)}class g3{constructor(t,e,i){this.fn=t,this.setter=e,this._value=void 0,this.dep=new xm(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=lc-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!e,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&Sn!==this)return wy(this,!0),!0}get value(){const t=this.dep.track();return By(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function m3(n,t,e=!1){let i,r;return rn(n)?i=n:(i=n.get,r=n.set),new g3(i,r,e)}const nu={},wf=new WeakMap;let Ao;function w3(n,t=!1,e=Ao){if(e){let i=wf.get(e);i||wf.set(e,i=[]),i.push(n)}}function v3(n,t,e=Fn){const{immediate:i,deep:r,once:s,scheduler:A,augmentJob:o,call:a}=e,l=L=>r?L:lr(L)||r===!1||r===0?BA(L,1):BA(L);let c,u,f,m,y=!1,h=!1;if(zn(n)?(u=()=>n.value,y=lr(n)):Hs(n)?(u=()=>l(n),y=!0):tn(n)?(h=!0,y=n.some(L=>Hs(L)||lr(L)),u=()=>n.map(L=>{if(zn(L))return L.value;if(Hs(L))return l(L);if(rn(L))return a?a(L,2):L()})):rn(n)?t?u=a?()=>a(n,2):n:u=()=>{if(f){Vs();try{f()}finally{Gs()}}const L=Ao;Ao=c;try{return a?a(n,3,[m]):n(m)}finally{Ao=L}}:u=Kr,t&&r){const L=u,R=r===!0?1/0:r;u=()=>BA(L(),R)}const g=py(),b=()=>{c.stop(),g&&g.active&&vm(g.effects,c)};if(s&&t){const L=t;t=(...R)=>{L(...R),b()}}let U=h?new Array(n.length).fill(nu):nu;const N=L=>{if(!(!(c.flags&1)||!c.dirty&&!L))if(t){const R=c.run();if(r||y||(h?R.some((j,st)=>UA(j,U[st])):UA(R,U))){f&&f();const j=Ao;Ao=c;try{const st=[R,U===nu?void 0:h&&U[0]===nu?[]:U,m];U=R,a?a(t,3,st):t(...st)}
vendor: 22,666 bytes, lines 9-13
9finally{Ao=j}}}else c.run()};return o&&o(N),c=new gy(u),c.scheduler=A?()=>A(N,!1):N,m=L=>w3(L,!1,c),f=c.onStop=()=>{const L=wf.get(c);if(L){if(a)a(L,4);else for(const R of L)R();wf.delete(c)}},t?i?N(!0):U=c.run():A?A(N.bind(null,!0),!0):c.run(),b.pause=c.pause.bind(c),b.resume=c.resume.bind(c),b.stop=b,b}function BA(n,t=1/0,e){if(t<=0||!Mn(n)||n.__v_skip||(e=e||new Map,(e.get(n)||0)>=t))return n;if(e.set(n,t),t--,zn(n))BA(n.value,t,e);else if(tn(n))for(let i=0;i<n.length;i++)BA(n[i],t,e);else if(sy(n)||Ia(n))n.forEach(i=>{BA(i,t,e)});else if(ay(n)){for(const i in n)BA(n[i],t,e);for(const i of Object.getOwnPropertySymbols(n))Object.prototype.propertyIsEnumerable.call(n,i)&&BA(n[i],t,e)}return n}/** 10* @vue/runtime-core v3.5.27 11* (c) 2018-present Yuxi (Evan) You and Vue contributors 12* @license MIT 13**/function Ic(n,t,e,i){try{return i?n(...i):n()}catch(r){ah(r,t,e)}}function Yr(n,t,e,i){if(rn(n)){const r=Ic(n,t,e,i);return r&&Ay(r)&&r.catch(s=>{ah(s,t,e)}),r}if(tn(n)){const r=[];for(let s=0;s<n.length;s++)r.push(Yr(n[s],t,e,i));return r}}function ah(n,t,e,i=!0){const r=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:A}=t&&t.appContext.config||Fn;if(t){let o=t.parent;const a=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${e}`;for(;o;){const c=o.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](n,a,l)===!1)return}o=o.parent}if(s){Vs(),Ic(s,null,10,[n,a,l]),Gs();return}}y3(n,e,r,i,A)}function y3(n,t,e,i=!0,r=!1){if(r)throw n;console.error(n)}const Ni=[];let ss=-1;const Qa=[];let mA=null,ya=0;const Iy=Promise.resolve();let vf=null;function Fm(n){const t=vf||Iy;return n?t.then(this?n.bind(this):n):t}function B3(n){let t=ss+1,e=Ni.length;for(;t<e;){const i=t+e>>>1,r=Ni[i],s=uc(r);s<n||s===n&&r.flags&2?t=i+1:e=i}return t}function Em(n){if(!(n.flags&1)){const t=uc(n),e=Ni[Ni.length-1];!e||!(n.flags&2)&&t>=uc(e)?Ni.push(n):Ni.splice(B3(t),0,n),n.flags|=1,Qy()}}function Qy(){vf||(vf=Iy.then(Py))}function _3(n){tn(n)?Qa.push(...n):mA&&n.id===-1?mA.splice(ya+1,0,n):n.flags&1||(Qa.push(n),n.flags|=1),Qy()}function R0(n,t,e=ss+1){for(;e<Ni.length;e++){const i=Ni[e];if(i&&i.flags&2){if(n&&i.id!==n.uid)continue;Ni.splice(e,1),e--,i.flags&4&&(i.flags&=-2),i(),i.flags&4||(i.flags&=-2)}}}function Ly(n){if(Qa.length){const t=[...new Set(Qa)].sort((e,i)=>uc(e)-uc(i));if(Qa.length=0,mA){mA.push(...t);return}for(mA=t,ya=0;ya<mA.length;ya++){const e=mA[ya];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}mA=null,ya=0}}const uc=n=>n.id==null?n.flags&2?-1:1/0:n.id;function Py(n){const t=Kr;try{for(ss=0;ss<Ni.length;ss++){const e=Ni[ss];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),Ic(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;ss<Ni.length;ss++){const e=Ni[ss];e&&(e.flags&=-2)}ss=-1,Ni.length=0,Ly(),vf=null,(Ni.length||Qa.length)&&Py()}}let Vr=null,Dy=null;function yf(n){const t=Vr;return Vr=n,Dy=n&&n.type.__scopeId||null,t}function lh(n,t=Vr,e){if(!t||n._n)return n;const i=(...r)=>{i._d&&xf(-1);const s=yf(t);let A;try{A=n(...r)}finally{yf(s),i._d&&xf(1)}return A};return i._n=!0,i._c=!0,i._d=!0,i}function YA(n,t,e,i){const r=n.dirs,s=t&&t.dirs;for(let A=0;A<r.length;A++){const o=r[A];s&&(o.oldValue=s[A].value);let a=o.dir[i];a&&(Vs(),Yr(a,e,8,[n.el,o,n,t]),Gs())}}function $u(n,t){if(Ei){let e=Ei.provides;const i=Ei.parent&&Ei.parent.provides;i===e&&(e=Ei.provides=Object.create(i)),e[n]=t}}function fs(n,t,e=!1){const i=Lm();if(i||_o){let r=_o?_o._context.provides:i?i.parent==null||i.ce?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(r&&n in r)return r[n];if(arguments.length>1)return e&&rn(t)?t.call(i&&i.proxy):t}}function x3(){return!!(Lm()||_o)}const b3=Symbol.for("v-scx"),C3=()=>fs(b3);function La(n,t,e){return Ry(n,t,e)}function Ry(n,t,e=Fn){const{immediate:i,deep:r,flush:s,once:A}=e,o=Jn({},e),a=t&&i||!t&&s!=="post";let l;if(dc){if(s==="sync"){const m=C3();l=m.__watcherHandles||(m.__watcherHandles=[])}else if(!a){const m=()=>{};return m.stop=Kr,m.resume=Kr,m.pause=Kr,m}}const c=Ei;o.call=(m,y,h)=>Yr(m,c,y,h);let u=!1;s==="post"?o.scheduler=m=>{sr(m,c&&c.suspense)}:s!=="sync"&&(u=!0,o.scheduler=(m,y)=>{y?m():Em(m)}),o.augmentJob=m=>{t&&(m.flags|=4),u&&(m.flags|=2,c&&(m.id=c.uid,m.i=c))};const f=v3(n,t,o);return dc&&(l?l.push(f):a&&f()),f}function S3(n,t,e){const i=this.proxy,r=Vn(n)?n.includes(".")?Oy(i,n):()=>i[n]:n.bind(i,i);let s;rn(t)?s=t:(s=t.handler,e=t);const A=Lc(this),o=Ry(r,s.bind(i),e);return A(),o}function Oy(n,t){const e=t.split(".");return()=>{let i=n;for(let r=0;r<e.length&&i;r++)i=i[e[r]];return i}}const F3=Symbol("_vte"),Hy=n=>n.__isTeleport,Ls=Symbol("_leaveCb"),iu=Symbol("_enterCb");function E3(){const n={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return qy(()=>{n.isMounted=!0}),jy(()=>{n.isUnmounting=!0}),n}const mr=[Function,Array],ky={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:mr,onEnter:mr,onAfterEnter:mr,onEnterCancelled:mr,onBeforeLeave:mr,onLeave:mr,onAfterLeave:mr,onLeaveCancelled:mr,onBeforeAppear:mr,onAppear:mr,onAfterAppear:mr,onAppearCancelled:mr},Ny=n=>{const t=n.subTree;return t.component?Ny(t.component):t},M3={name:"BaseTransition",props:ky,setup(n,{slots:t}){const e=Lm(),i=E3();return()=>{const r=t.default&&Gy(t.default(),!0);if(!r||!r.length)return;const s=zy(r),A=gn(n),{mode:o}=A;if(i.isLeaving)return id(s);const a=O0(s);if(!a)return id(s);let l=Hp(a,A,i,e,u=>l=u);a.type!==zi&&fc(a,l);let c=e.subTree&&O0(e.subTree);if(c&&c.type!==zi&&!co(c,a)&&Ny(e).type!==zi){let u=Hp(c,A,i,e);if(fc(c,u),o==="out-in"&&a.type!==zi)return i.isLeaving=!0,u.afterLeave=()=>{i.isLeaving=!1,e.job.flags&8||e.update(),delete u.afterLeave,c=void 0},id(s);o==="in-out"&&a.type!==zi?u.delayLeave=(f,m,y)=>{const h=Vy(i,c);h[String(c.key)]=c,f[Ls]=()=>{m(),f[Ls]=void 0,delete l.delayedLeave,c=void 0},l.delayedLeave=()=>{y(),delete l.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return s}}};function zy(n){let t=n[0];if(n.length>1){for(const e of n)if(e.type!==zi){t=e;break}}return t}const U3=M3;function Vy(n,t){const{leavingVNodes:e}=n;let i=e.get(t.type);return i||(i=Object.create(null),e.set(t.type,i)),i}function Hp(n,t,e,i,r){const{appear:s,mode:A,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:m,onAfterLeave:y,onLeaveCancelled:h,onBeforeAppear:g,onAppear:b,onAfterAppear:U,onAppearCancelled:N}=t,L=String(n.key),R=Vy(e,n),j=(V,gt)=>{V&&Yr(V,i,9,gt)},st=(V,gt)=>{const Nt=gt[1];j(V,gt),tn(V)?V.every(Dt=>Dt.length<=1)&&Nt():V.length<=1&&Nt()},O={mode:A,persisted:o,beforeEnter(V){let gt=a;if(!e.isMounted)if(s)gt=g||a;else return;V[Ls]&&V[Ls](!0);const Nt=R[L];Nt&&co(n,Nt)&&Nt.el[Ls]&&Nt.el[Ls](),j(gt,[V])},enter(V){let gt=l,Nt=c,Dt=u;if(!e.isMounted)if(s)gt=b||l,Nt=U||c,Dt=N||u;else return;let Et=!1;const xt=V[iu]=Xt=>{Et||(Et=!0,Xt?j(Dt,[V]):j(Nt,[V]),O.delayedLeave&&O.delayedLeave(),V[iu]=void 0)};gt?st(gt,[V,xt]):xt()},leave(V,gt){const Nt=String(n.key);if(V[iu]&&V[iu](!0),e.isUnmounting)return gt();j(f,[V]);let Dt=!1;const Et=V[Ls]=xt=>{Dt||(Dt=!0,gt(),xt?j(h,[V]):j(y,[V]),V[Ls]=void 0,R[Nt]===n&&delete R[Nt])};R[Nt]=n,m?st(m,[V,Et]):Et()},clone(V){const gt=Hp(V,t,e,i,r);return r&&r(gt),gt}};return O}function id(n){if(ch(n))return n=RA(n),n.children=null,n}function O0(n){if(!ch(n))return Hy(n.type)&&n.children?zy(n.children):n;if(n.component)return n.component.subTree;const{shapeFlag:t,children:e}=n;if(e){if(t&16)return e[0];if(t&32&&rn(e.default))return e.default()}}function fc(n,t){n.shapeFlag&6&&n.component?(n.transition=t,fc(n.component.subTree,t)):n.shapeFlag&128?(n.ssContent.transition=t.clone(n.ssContent),n.ssFallback.transition=t.clone(n.ssFallback)):n.transition=t}function Gy(n,t=!1,e){let i=[],r=0;for(let s=0;s<n.length;s++){let A=n[s];const o=e==null?A.key:String(e)+String(A.key!=null?A.key:s);A.type===Qn?(A.patchFlag&128&&r++,i=i.concat(Gy(A.children,t,o))):(t||A.type!==zi)&&i.push(o!=null?RA(A,{key:o}):A)}if(r>1)for(let s=0;s<i.length;s++)i[s].patchFlag=-2;return i}function Qc(n,t){return rn(n)?(()=>Jn({name:n.name},t,{setup:n}))():n}function Ky(n){n.ids=[n.ids[0]+n.ids[2]+++"-",0,0]}const Bf=new WeakMap;function Kl(n,t,e,i,r=!1){if(tn(n)){n.forEach((y,h)=>Kl(y,t&&(tn(t)?t[h]:t),e,i,r));return}if(Wl(i)&&!r){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&Kl(n,t,e,i.component.subTree);return}const s=i.shapeFlag&4?Pm(i.component):i.el,A=r?null:s,{i:o,r:a}=n,l=t&&t.r,c=o.refs===Fn?o.refs={}:o.refs,u=o.setupState,f=gn(u),m=u===Fn?ry:y=>yn(f,y);if(l!=null&&l!==a){if(H0(t),Vn(l))c[l]=null,m(l)&&(u[l]=null);else if(zn(l)){l.value=null;const y=t;y.k&&(c[y.k]=null)}}if(rn(a))Ic(a,o,12,[A,c]);else{const y=Vn(a),h=zn(a);if(y||h){const g=()=>{if(n.f){const b=y?m(a)?u[a]:c[a]:a.value;if(r)tn(b)&&vm(b,s);else if(tn(b))b.includes(s)||b.push(s);else if(y)c[a]=[s],m(a)&&(u[a]=c[a]);else{const U=[s];a.value=U,n.k&&(c[n.k]=U)}}else y?(c[a]=A,m(a)&&(u[a]=A)):h&&(a.value=A,n.k&&(c[n.k]=A))};if(A){const b=()=>{g(),Bf.delete(n)};b.id=-1,Bf.set(n,b),sr(b,e)}else H0(n),g()}}}function H0(n){const t=Bf.get(n);t&&(t.flags|=8,Bf.delete(n))}Tc().requestIdleCallback;Tc().cancelIdleCallback;const Wl=n=>!!n.type.__asyncLoader,ch=n=>n.type.__isKeepAlive;function T3(n,t){Wy(n,"a",t)}function I3(n,t){Wy(n,"da",t)}function Wy(n,t,e=Ei){const i=n.__wdc||(n.__wdc=()=>{let r=e;for(;r;){if(r.isDeactivated)return;r=r.parent}return n()});if(uh(t,i,e),e){let r=e.parent;for(;r&&r.parent;)ch(r.parent.vnode)&&Q3(i,t,e,r),r=r.parent}}function Q3(n,t,e,i){const r=uh(t,n,i,!0);Xy(()=>{vm(i[t],r)},e)}function uh(n,t,e=Ei,i=!1){if(e){const r=e[n]||(e[n]=[]),s=t.__weh||(t.__weh=(...A)=>{Vs();const o=Lc(e),a=Yr(t,e,n,A);return o(),Gs(),a});return i?r.unshift(s):r.push(s),s}}const Zs=n=>(t,e=Ei)=>{(!dc||n==="sp")&&uh(n,(...i)=>t(...i),e)},L3=Zs("bm"),qy=Zs("m"),P3=Zs("bu"),D3=Zs("u"),jy=Zs("bum"),Xy=Zs("um"),R3=Zs("sp"),O3=Zs("rtg"),H3=Zs("rtc");function k3(n,t=Ei){uh("ec",n,t)}const Mm="components";function Fi(n,t){return Zy(Mm,n,!0,t)||n}const Yy=Symbol.for("v-ndc");function Jy(n){return Vn(n)?Zy(Mm,n,!1)||n:n||Yy}function Zy(n,t,e=!0,i=!1){const r=Vr||Ei;if(r){const s=r.type;if(n===Mm){const o=C4(s,!1);if(o&&(o===t||o===Tr(t)||o===ih(Tr(t))))return s}const A=k0(r[n]||s[n],t)||k0(r.appContext[n],t);return!A&&i?s:A}}function k0(n,t){return n&&(n[t]||n[Tr(t)]||n[ih(Tr(t))])}function cr(n,t,e,i){let r;const s=e&&e[i],A=tn(n);if(A||Vn(n)){const o=A&&Hs(n);let a=!1,l=!1;o&&(a=!lr(n),l=Ws(n),n=sh(n)),r=new Array(n.length);for(let c=0,u=n.length;c<u;c++)r[c]=t(a?l?Va(Xr(n[c])):Xr(n[c]):n[c],c,void 0,s&&s[c])}else if(typeof n=="number"){r=new Array(n);for(let o=0;o<n;o++)r[o]=t(o+1,o,void 0,s&&s[o])}else if(Mn(n))if(n[Symbol.iterator])r=Array.from(n,(o,a)=>t(o,a,void 0,s&&s[a]));else{const o=Object.keys(n);r=new Array(o.length);for(let a=0,l=o.length;a<l;a++){const c=o[a];r[a]=t(n[c],c,a,s&&s[a])}}else r=[];return e&&(e[i]=r),r}const kp=n=>n?gB(n)?Pm(n):kp(n.parent):null,ql=Jn(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>kp(n.parent),$root:n=>kp(n.root),$host:n=>n.ce,$emit:n=>n.emit,$options:n=>Um(n),$forceUpdate:n=>n.f||(n.f=()=>{Em(n.update)}),$nextTick:n=>n.n||(n.n=Fm.bind(n.proxy)),$watch:n=>S3.bind(n)}),rd=(n,t)=>n!==Fn&&!n.__isScriptSetup&&yn(n,t),N3={get({_:n},t){if(t==="__v_skip")return!0;const{ctx:e,setupState:i,data:r,props:s,accessCache:A,type:o,appContext:a}=n;if(t[0]!=="$"){const f=A[t];if(f!==void 0)switch(f){case 1:return i[t];case 2:return r[t];case 4:return e[t];case 3:return s[t]}else{if(rd(i,t))return A[t]=1,i[t];if(r!==Fn&&yn(r,t))return A[t]=2,r[t];if(yn(s,t))return A[t]=3,s[t];if(e!==Fn&&yn(e,t))return A[t]=4,e[t];Np&&(A[t]=0)}}const l=ql[t];let c,u;if(l)return t==="$attrs"&&Si(n.attrs,"get",""),l(n);if((c=o.__cssModules)&&(c=c[t]))return c;if(e!==Fn&&yn(e,t))return A[t]=4,e[t];if(u=a.config.globalProperties,yn(u,t))return u[t]},set({_:n},t,e){const{data:i,setupState:r,ctx:s}=n;return rd(r,t)?(r[t]=e,!0):i!==Fn&&yn(i,t)?(i[t]=e,!0):yn(n.props,t)||t[0]==="$"&&t.slice(1)in n?!1:(s[t]=e,!0)},has({_:{data:n,setupState:t,accessCache:e,ctx:i,appContext:r,props:s,type:A}},o){let a;return!!(e[o]||n!==Fn&&o[0]!=="$"&&yn(n,o)||rd(t,o)||yn(s,o)||yn(i,o)||yn(ql,o)||yn(r.config.globalProperties,o)||(a=A.__cssModules)&&a[o])},defineProperty(n,t,e){return e.get!=null?n._.accessCache[t]=0:yn(e,"value")&&this.set(n,t,e.value,null),Reflect.defineProperty(n,t,e)}};function N0(n){return tn(n)?n.reduce((t,e)=>(t[e]=null,t),{}):n}let Np=!0;function z3(n){const t=Um(n),e=n.proxy,i=n.ctx;Np=!1,t.beforeCreate&&z0(t.beforeCreate,n,"bc");const{data:r,computed:s,methods:A,watch:o,provide:a,inject:l,created:c,beforeMount:u,mounted:f,beforeUpdate:m,updated:y,activated:h,deactivated:g,beforeDestroy:b,beforeUnmount:U,destroyed:N,unmounted:L,render:R,renderTracked:j,renderTriggered:st,errorCaptured:O,serverPrefetch:V,expose:gt,inheritAttrs:Nt,components:Dt,directives:Et,filters:xt}=t;if(l&&V3(l,i,null),A)for(const Gt in A){const Wt=A[Gt];rn(Wt)&&(i[Gt]=Wt.bind(e))}if(r){const Gt=r.call(e,e);Mn(Gt)&&(n.data=Ks(Gt))}if(Np=!0,s)for(const Gt in s){const Wt=s[Gt],kt=rn(Wt)?Wt.bind(e,e):rn(Wt.get)?Wt.get.bind(e,e):Kr,Vt=!rn(Wt)&&rn(Wt.set)?Wt.set.bind(e):Kr,we=Ln({get:kt,set:Vt});Object.defineProperty(i,Gt,{enumerable:!0,configurable:!0,get:()=>we.value,set:oe=>we.value=oe})}if(o)for(const Gt in o)$y(o[Gt],i,e,Gt);if(a){const Gt=rn(a)?a.call(e):a;Reflect.ownKeys(Gt).forEach(Wt=>{$u(Wt,Gt[Wt])})}c&&z0(c,n,"c");function jt(Gt,Wt){tn(Wt)?Wt.forEach(kt=>Gt(kt.bind(e))):Wt&&Gt(Wt.bind(e))}if(jt(L3,u),jt(qy,f),jt(P3,m),jt(D3,y),jt(T3,h),jt(I3,g),jt(k3,O),jt(H3,j),jt(O3,st),jt(jy,U),jt(Xy,L),jt(R3,V),tn(gt))if(gt.length){const Gt=n.exposed||(n.exposed={});gt.forEach(Wt=>{Object.defineProperty(Gt,Wt,{get:()=>e[Wt],set:kt=>e[Wt]=kt,enumerable:!0})})}else n.exposed||(n.exposed={});R&&n.render===Kr&&(n.render=R),Nt!=null&&(n.inheritAttrs=Nt),Dt&&(n.components=Dt),Et&&(n.directives=Et),V&&Ky(n)}function V3(n,t,e=Kr){tn(n)&&(n=zp(n));for(const i in n){const r=n[i];let s;Mn(r)?"default"in r?s=fs(r.from||i,r.default,!0):s=fs(r.from||i):s=fs(r),zn(s)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>s.value,set:A=>s.value=A}):t[i]=s}}function z0(n,t,e){Yr(tn(n)?n.map(i=>i.bind(t.proxy)):n.bind(t.proxy),t,e)}function $y(n,t,e,i){let r=i.includes(".")?Oy(e,i):()=>e[i];if(Vn(n)){const s=t[n];rn(s)&&La(r,s)}else if(rn(n))La(r,n.bind(e));else if(Mn(n))if(tn(n))n.forEach(s=>$y(s,t,e,i));else{const s=rn(n.handler)?n.handler.bind(e):t[n.handler];rn(s)&&La(r,s,n)}}function Um(n){const t=n.type,{mixins:e,extends:i}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:A}}=n.appContext,o=s.get(t);let a;return o?a=o:!r.length&&!e&&!i?a=t:(a={},r.length&&r.forEach(l=>_f(a,l,A,!0)),_f(a,t,A)),Mn(t)&&s.set(t,a),a}function _f(n,t,e,i=!1){const{mixins:r,extends:s}=t;s&&_f(n,s,e,!0),r&&r.forEach(A=>_f(n,A,e,!0));for(const A in t)if(!(i&&A==="expose")){const o=G3[A]||e&&e[A];n[A]=o?o(n[A],t[A]):t[A]}return n}const G3={data:V0,props:G0,emits:G0,methods:Ml,computed:Ml,beforeCreate:Ri,created:Ri,beforeMount:Ri,mounted:Ri,beforeUpdate:Ri,updated:Ri,beforeDestroy:Ri,beforeUnmount:Ri,destroyed:Ri,unmounted:Ri,activated:Ri,deactivated:Ri,errorCaptured:Ri,serverPrefetch:Ri,components:Ml,directives:Ml,watch:W3,provide:V0,inject:K3};function V0(n,t){return t?n?function(){return Jn(rn(n)?n.call(this,this):n,rn(t)?t.call(this,this):t)}:t:n}function K3(n,t){return Ml(zp(n),zp(t))}function zp(n){if(tn(n)){const t={};for(let e=0;e<n.length;e++)t[n[e]]=n[e];return t}return n}function Ri(n,t){return n?[...new Set([].concat(n,t))]:t}function Ml(n,t){return n?Jn(Object.create(null),n,t):t}function G0(n,t){return n?tn(n)&&tn(t)?[...new Set([...n,...t])]:Jn(Object.create(null),N0(n),N0(t!=null?t:{})):t}function W3(n,t){if(!n)return t;if(!t)return n;const e=Jn(Object.create(null),n);for(const i in t)e[i]=Ri(n[i],t[i]);return e}function tB(){return{app:null,config:{isNativeTag:ry,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 q3=0;function j3(n,t){return function(i,r=null){rn(i)||(i=Jn({},i)),r!=null&&!Mn(r)&&(r=null);const s=tB(),A=new WeakSet,o=[];let a=!1;const l=s.app={_uid:q3++,_component:i,_props:r,_container:null,_context:s,_instance:null,version:F4,get config(){return s.config},set config(c){},use(c,...u){return A.has(c)||(c&&rn(c.install)?(A.add(c),c.install(l,...u)):rn(c)&&(A.add(c),c(l,...u))),l},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),l},component(c,u){return u?(s.components[c]=u,l):s.components[c]},directive(c,u){return u?(s.directives[c]=u,l):s.directives[c]},mount(c,u,f){if(!a){const m=l._ceVNode||qe(i,r);return m.appContext=s,f===!0?f="svg":f===!1&&(f=void 0),u&&t?t(m,c):n(m,c,f),a=!0,l._container=c,c.__vue_app__=l,Pm(m.component)}},onUnmount(c){o.push(c)},unmount(){a&&(Yr(o,l._instance,16),n(null,l._container),delete l._container.__vue_app__)},provide(c,u){return s.provides[c]=u,l},runWithContext(c){const u=_o;_o=l;try{return c()}finally{_o=u}}};return l}}let _o=null;const X3=(n,t)=>t==="modelValue"||t==="model-value"?n.modelModifiers:n[`${t}Modifiers`]||n[`${Tr(t)}Modifiers`]||n[`${ko(t)}Modifiers`];function Y3(n,t,...e){if(n.isUnmounted)return;const i=n.vnode.props||Fn;let r=e;const s=t.startsWith("update:"),A=s&&X3(i,t.slice(7));A&&(A.trim&&(r=e.map(c=>Vn(c)?c.trim():c)),A.number&&(r=e.map(PC)));let o,a=i[o=Jh(t)]||i[o=Jh(Tr(t))];!a&&s&&(a=i[o=Jh(ko(t))]),a&&Yr(a,n,6,r);const l=i[o+"Once"];if(l){if(!n.emitted)n.emitted={};else if(n.emitted[o])return;n.emitted[o]=!0,Yr(l,n,6,r)}}const J3=new WeakMap;function eB(n,t,e=!1){const i=e?J3:t.emitsCache,r=i.get(n);if(r!==void 0)return r;const s=n.emits;let A={},o=!1;if(!rn(n)){const a=l=>{const c=eB(l,t,!0);c&&(o=!0,Jn(A,c))};!e&&t.mixins.length&&t.mixins.forEach(a),n.extends&&a(n.extends),n.mixins&&n.mixins.forEach(a)}return!s&&!o?(Mn(n)&&i.set(n,null),null):(tn(s)?s.forEach(a=>A[a]=null):Jn(A,s),Mn(n)&&i.set(n,A),A)}function fh(n,t){return!n||!$f(t)?!1:(t=t.slice(2).replace(/Once$/,""),yn(n,t[0].toLowerCase()+t.slice(1))||yn(n,ko(t))||yn(n,t))}function sd(n){const{type:t,vnode:e,proxy:i,withProxy:r,propsOptions:[s],slots:A,attrs:o,emit:a,render:l,renderCache:c,props:u,data:f,setupState:m,ctx:y,inheritAttrs:h}=n,g=yf(n);let b,U;try{if(e.shapeFlag&4){const L=r||i,R=L;b=As(l.call(R,L,c,u,m,f,y)),U=o}else{const L=t;b=As(L.length>1?L(u,{attrs:o,slots:A,emit:a}):L(u,null)),U=t.props?o:Z3(o)}}catch(L){jl.length=0,ah(L,n,1),b=qe(zi)}let N=b;if(U&&h!==!1){const L=Object.keys(U),{shapeFlag:R}=N;L.length&&R&7&&(s&&L.some(wm)&&(U=$3(U,s)),N=RA(N,U,!1,!0))}return e.dirs&&(N=RA(N,null,!1,!0),N.dirs=N.dirs?N.dirs.concat(e.dirs):e.dirs),e.transition&&fc(N,e.transition),b=N,yf(g),b}const Z3=n=>{let t;for(const e in n)(e==="class"||e==="style"||$f(e))&&((t||(t={}))[e]=n[e]);return t},$3=(n,t)=>{const e={};for(const i in n)(!wm(i)||!(i.slice(9)in t))&&(e[i]=n[i]);return e};function t4(n,t,e){const{props:i,children:r,component:s}=n,{props:A,children:o,patchFlag:a}=t,l=s.emitsOptions;if(t.dirs||t.transition)return!0;if(e&&a>=0){if(a&1024)return!0;if(a&16)return i?K0(i,A,l):!!A;if(a&8){const c=t.dynamicProps;for(let u=0;u<c.length;u++){const f=c[u];if(A[f]!==i[f]&&!fh(l,f))return!0}}}else return(r||o)&&(!o||!o.$stable)?!0:i===A?!1:i?A?K0(i,A,l):!0:!!A;return!1}function K0(n,t,e){const i=Object.keys(t);if(i.length!==Object.keys(n).length)return!0;for(let r=0;r<i.length;r++){const s=i[r];if(t[s]!==n[s]&&!fh(e,s))return!0}return!1}function e4({vnode:n,parent:t},e){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===n&&(i.el=n.el),i===n)(n=t.vnode).el=e,t=t.parent;else break}}const nB={},iB=()=>Object.create(nB),rB=n=>Object.getPrototypeOf(n)===nB;function n4(n,t,e,i=!1){const r={},s=iB();n.propsDefaults=Object.create(null),sB(n,t,r,s);for(const A in n.propsOptions[0])A in r||(r[A]=void 0);e?n.props=i?r:l3(r):n.type.props?n.props=r:n.props=s,n.attrs=s}function i4(n,t,e,i){const{props:r,attrs:s,vnode:{patchFlag:A}}=n,o=gn(r),[a]=n.propsOptions;let l=!1;if((i||A>0)&&!(A&16)){if(A&8){const c=n.vnode.dynamicProps;for(let u=0;u<c.length;u++){let f=c[u];if(fh(n.emitsOptions,f))continue;const m=t[f];if(a)if(yn(s,f))m!==s[f]&&(s[f]=m,l=!0);else{const y=Tr(f);r[y]=Vp(a,o,y,m,n,!1)}else m!==s[f]&&(s[f]=m,l=!0)}}}else{sB(n,t,r,s)&&(l=!0);let c;for(const u in o)(!t||!yn(t,u)&&((c=ko(u))===u||!yn(t,c)))&&(a?e&&(e[u]!==void 0||e[c]!==void 0)&&(r[u]=Vp(a,o,u,void 0,n,!0)):delete r[u]);if(s!==o)for(const u in s)(!t||!yn(t,u)&&!0)&&(delete s[u],l=!0)}l&&Ds(n.attrs,"set","")}function sB(n,t,e,i){const[r,s]=n.propsOptions;let A=!1,o;if(t)for(let a in t){if(zl(a))continue;const l=t[a];let c;r&&yn(r,c=Tr(a))?!s||!s.includes(c)?e[c]=l:(o||(o={}))[c]=l:fh(n.emitsOptions,a)||(!(a in i)||l!==i[a])&&(i[a]=l,A=!0)}if(s){const a=gn(e),l=o||Fn;for(let c=0;c<s.length;c++){const u=s[c];e[u]=Vp(r,a,u,l[u],n,!yn(l,u))}}return A}function Vp(n,t,e,i,r,s){const A=n[e];if(A!=null){const o=yn(A,"default");if(o&&i===void 0){const a=A.default;if(A.type!==Function&&!A.skipFactory&&rn(a)){const{propsDefaults:l}=r;if(e in l)i=l[e];else{const c=Lc(r);i=l[e]=a.call(null,t),c()}}else i=a;r.ce&&r.ce._setProp(e,i)}A[0]&&(s&&!o?i=!1:A[1]&&(i===""||i===ko(e))&&(i=!0))}return i}const r4=new WeakMap;function AB(n,t,e=!1){const i=e?r4:t.propsCache,r=i.get(n);if(r)return r;const s=n.props,A={},o=[];let a=!1;if(!rn(n)){const c=u=>{a=!0;const[f,m]=AB(u,t,!0);Jn(A,f),m&&o.push(...m)};!e&&t.mixins.length&&t.mixins.forEach(c),n.extends&&c(n.extends),n.mixins&&n.mixins.forEach(c)}if(!s&&!a)return Mn(n)&&i.set(n,Ta),Ta;if(tn(s))for(let c=0;c<s.length;c++){const u=Tr(s[c]);W0(u)&&(A[u]=Fn)}else if(s)for(const c in s){const u=Tr(c);if(W0(u)){const f=s[c],m=A[u]=tn(f)||rn(f)?{type:f}:Jn({},f),y=m.type;let h=!1,g=!0;if(tn(y))for(let b=0;b<y.length;++b){const U=y[b],N=rn(U)&&U.name;if(N==="Boolean"){h=!0;break}else N==="String"&&(g=!1)}else h=rn(y)&&y.name==="Boolean";m[0]=h,m[1]=g,(h||yn(m,"default"))&&o.push(u)}}const l=[A,o];return Mn(n)&&i.set(n,l),l}function W0(n){return n[0]!=="$"&&!zl(n)}const Tm=n=>n==="_"||n==="_ctx"||n==="$stable",Im=n=>tn(n)?n.map(As):[As(n)],s4=(n,t,e)=>{if(t._n)return t;const i=lh((...r)=>Im(t(...r)),e);return i._c=!1,i},oB=(n,t,e)=>{const i=n._ctx;for(const r in n){if(Tm(r))continue;const s=n[r];if(rn(s))t[r]=s4(r,s,i);else if(s!=null){const A=Im(s);t[r]=()=>A}}},aB=(n,t)=>{const e=Im(t);n.slots.default=()=>e},lB=(n,t,e)=>{for(const i in t)(e||!Tm(i))&&(n[i]=t[i])},A4=(n,t,e)=>{const i=n.slots=iB();if(n.vnode.shapeFlag&32){const r=t._;
vendor: 5,323 bytes, line 13
13r?(lB(i,t,e),e&&ly(i,"_",r,!0)):oB(t,i)}else t&&aB(n,t)},o4=(n,t,e)=>{const{vnode:i,slots:r}=n;let s=!0,A=Fn;if(i.shapeFlag&32){const o=t._;o?e&&o===1?s=!1:lB(r,t,e):(s=!t.$stable,oB(t,r)),A=t}else t&&(aB(n,t),A={default:1});if(s)for(const o in r)!Tm(o)&&A[o]==null&&delete r[o]};function a4(){typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__!="boolean"&&(Tc().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1)}const sr=h4;function l4(n){return c4(n)}function c4(n,t){a4();const e=Tc();e.__VUE__=!0;const{insert:i,remove:r,patchProp:s,createElement:A,createText:o,createComment:a,setText:l,setElementText:c,parentNode:u,nextSibling:f,setScopeId:m=Kr,insertStaticContent:y}=n,h=(it,bt,Jt,fe=null,ge=null,ue=null,pe=void 0,he=null,_e=!!bt.dynamicChildren)=>{if(it===bt)return;it&&!co(it,bt)&&(fe=re(it),oe(it,ge,ue,!0),it=null),bt.patchFlag===-2&&(_e=!1,bt.dynamicChildren=null);const{type:J,ref:Z,shapeFlag:Ct}=bt;switch(J){case hh:g(it,bt,Jt,fe);break;case zi:b(it,bt,Jt,fe);break;case od:it==null&&U(bt,Jt,fe,pe);break;case Qn:Dt(it,bt,Jt,fe,ge,ue,pe,he,_e);break;default:Ct&1?R(it,bt,Jt,fe,ge,ue,pe,he,_e):Ct&6?Et(it,bt,Jt,fe,ge,ue,pe,he,_e):(Ct&64||Ct&128)&&J.process(it,bt,Jt,fe,ge,ue,pe,he,_e,xe)}Z!=null&&ge?Kl(Z,it&&it.ref,ue,bt||it,!bt):Z==null&&it&&it.ref!=null&&Kl(it.ref,null,ue,it,!0)},g=(it,bt,Jt,fe)=>{if(it==null)i(bt.el=o(bt.children),Jt,fe);else{const ge=bt.el=it.el;bt.children!==it.children&&l(ge,bt.children)}},b=(it,bt,Jt,fe)=>{it==null?i(bt.el=a(bt.children||""),Jt,fe):bt.el=it.el},U=(it,bt,Jt,fe)=>{[it.el,it.anchor]=y(it.children,bt,Jt,fe,it.el,it.anchor)},N=({el:it,anchor:bt},Jt,fe)=>{let ge;for(;it&&it!==bt;)ge=f(it),i(it,Jt,fe),it=ge;i(bt,Jt,fe)},L=({el:it,anchor:bt})=>{let Jt;for(;it&&it!==bt;)Jt=f(it),r(it),it=Jt;r(bt)},R=(it,bt,Jt,fe,ge,ue,pe,he,_e)=>{if(bt.type==="svg"?pe="svg":bt.type==="math"&&(pe="mathml"),it==null)j(bt,Jt,fe,ge,ue,pe,he,_e);else{const J=it.el&&it.el._isVueCE?it.el:null;try{J&&J._beginPatch(),V(it,bt,ge,ue,pe,he,_e)}finally{J&&J._endPatch()}}},j=(it,bt,Jt,fe,ge,ue,pe,he)=>{let _e,J;const{props:Z,shapeFlag:Ct,transition:$t,dirs:pt}=it;if(_e=it.el=A(it.type,ue,Z&&Z.is,Z),Ct&8?c(_e,it.children):Ct&16&&O(it.children,_e,null,fe,ge,Ad(it,ue),pe,he),pt&&YA(it,null,fe,"created"),st(_e,it,it.scopeId,pe,fe),Z){for(const te in Z)te!=="value"&&!zl(te)&&s(_e,te,null,Z[te],ue,fe);"value"in Z&&s(_e,"value",null,Z.value,ue),(J=Z.onVnodeBeforeMount)&&is(J,fe,it)}pt&&YA(it,null,fe,"beforeMount");const Ft=u4(ge,$t);Ft&&$t.beforeEnter(_e),i(_e,bt,Jt),((J=Z&&Z.onVnodeMounted)||Ft||pt)&&sr(()=>{J&&is(J,fe,it),Ft&&$t.enter(_e),pt&&YA(it,null,fe,"mounted")},ge)},st=(it,bt,Jt,fe,ge)=>{if(Jt&&m(it,Jt),fe)for(let ue=0;ue<fe.length;ue++)m(it,fe[ue]);if(ge){let ue=ge.subTree;if(bt===ue||hB(ue.type)&&(ue.ssContent===bt||ue.ssFallback===bt)){const pe=ge.vnode;st(it,pe,pe.scopeId,pe.slotScopeIds,ge.parent)}}},O=(it,bt,Jt,fe,ge,ue,pe,he,_e=0)=>{for(let J=_e;J<it.length;J++){const Z=it[J]=he?wA(it[J]):As(it[J]);h(null,Z,bt,Jt,fe,ge,ue,pe,he)}},V=(it,bt,Jt,fe,ge,ue,pe)=>{const he=bt.el=it.el;let{patchFlag:_e,dynamicChildren:J,dirs:Z}=bt;_e|=it.patchFlag&16;const Ct=it.props||Fn,$t=bt.props||Fn;let pt;if(Jt&&JA(Jt,!1),(pt=$t.onVnodeBeforeUpdate)&&is(pt,Jt,bt,it),Z&&YA(bt,it,Jt,"beforeUpdate"),Jt&&JA(Jt,!0),(Ct.innerHTML&&$t.innerHTML==null||Ct.textContent&&$t.textContent==null)&&c(he,""),J?gt(it.dynamicChildren,J,he,Jt,fe,Ad(bt,ge),ue):pe||Wt(it,bt,he,null,Jt,fe,Ad(bt,ge),ue,!1),_e>0){if(_e&16)Nt(he,Ct,$t,Jt,ge);else if(_e&2&&Ct.class!==$t.class&&s(he,"class",null,$t.class,ge),_e&4&&s(he,"style",Ct.style,$t.style,ge),_e&8){const Ft=bt.dynamicProps;for(let te=0;te<Ft.length;te++){const lt=Ft[te],St=Ct[lt],de=$t[lt];(de!==St||lt==="value")&&s(he,lt,St,de,ge,Jt)}}_e&1&&it.children!==bt.children&&c(he,bt.children)}else!pe&&J==null&&Nt(he,Ct,$t,Jt,ge);((pt=$t.onVnodeUpdated)||Z)&&sr(()=>{pt&&is(pt,Jt,bt,it),Z&&YA(bt,it,Jt,"updated")},fe)},gt=(it,bt,Jt,fe,ge,ue,pe)=>{for(let he=0;he<bt.length;he++){const _e=it[he],J=bt[he],Z=_e.el&&(_e.type===Qn||!co(_e,J)||_e.shapeFlag&198)?u(_e.el):Jt;h(_e,J,Z,null,fe,ge,ue,pe,!0)}},Nt=(it,bt,Jt,fe,ge)=>{if(bt!==Jt){if(bt!==Fn)for(const ue in bt)!zl(ue)&&!(ue in Jt)&&s(it,ue,bt[ue],null,ge,fe);for(const ue in Jt){if(zl(ue))continue;const pe=Jt[ue],he=bt[ue];pe!==he&&ue!=="value"&&s(it,ue,he,pe,ge,fe)}"value"in Jt&&s(it,"value",bt.value,Jt.value,ge)}},Dt=(it,bt,Jt,fe,ge,ue,pe,he,_e)=>{const J=bt.el=it?it.el:o(""),Z=bt.anchor=it?it.anchor:o("");let{patchFlag:Ct,dynamicChildren:$t,slotScopeIds:pt}=bt;pt&&(he=he?he.concat(pt):pt),it==null?(i(J,Jt,fe),i(Z,Jt,fe),O(bt.children||[],Jt,Z,ge,ue,pe,he,_e)):Ct>0&&Ct&64&&$t&&it.dynamicChildren&&it.dynamicChildren.length===$t.length?(gt(it.dynamicChildren,$t,Jt,ge,ue,pe,he),(bt.key!=null||ge&&bt===ge.subTree)&&cB(it,bt,!0)):Wt(it,bt,Jt,Z,ge,ue,pe,he,_e)},Et=(it,bt,Jt,fe,ge,ue,pe,he,_e)=>{bt.slotScopeIds=he,it==null?bt.shapeFlag&512?ge.ctx.activate(bt,Jt,fe,pe,_e):xt(bt,Jt,fe,ge,ue,pe,_e):Xt(it,bt,_e)},xt=(it,bt,Jt,fe,ge,ue,pe)=>{const he=it.component=y4(it,fe,ge);if(ch(it)&&(he.ctx.renderer=xe),B4(he,!1,pe),he.asyncDep){if(ge&&ge.registerDep(he,jt,pe),!it.el){const _e=he.subTree=qe(zi);b(null,_e,bt,Jt),it.placeholder=_e.el}}else jt(he,it,bt,Jt,ge,ue,pe)},Xt=(it,bt,Jt)=>{const fe=bt.component=it.component;if(t4(it,bt,Jt))if(fe.asyncDep&&!fe.asyncResolved){Gt(fe,bt,Jt);return}
vendor: 8,119 bytes, line 13
13else fe.next=bt,fe.update();else bt.el=it.el,fe.vnode=bt},jt=(it,bt,Jt,fe,ge,ue,pe)=>{const he=()=>{if(it.isMounted){let{next:Ct,bu:$t,u:pt,parent:Ft,vnode:te}=it;{const Fe=uB(it);if(Fe){Ct&&(Ct.el=te.el,Gt(it,Ct,pe)),Fe.asyncDep.then(()=>{it.isUnmounted||he()});return}}let lt=Ct,St;JA(it,!1),Ct?(Ct.el=te.el,Gt(it,Ct,pe)):Ct=te,$t&&Zh($t),(St=Ct.props&&Ct.props.onVnodeBeforeUpdate)&&is(St,Ft,Ct,te),JA(it,!0);const de=sd(it),Se=it.subTree;it.subTree=de,h(Se,de,u(Se.el),re(Se),it,ge,ue),Ct.el=de.el,lt===null&&e4(it,de.el),pt&&sr(pt,ge),(St=Ct.props&&Ct.props.onVnodeUpdated)&&sr(()=>is(St,Ft,Ct,te),ge)}else{let Ct;const{el:$t,props:pt}=bt,{bm:Ft,m:te,parent:lt,root:St,type:de}=it,Se=Wl(bt);if(JA(it,!1),Ft&&Zh(Ft),!Se&&(Ct=pt&&pt.onVnodeBeforeMount)&&is(Ct,lt,bt),JA(it,!0),$t&&Te){const Fe=()=>{it.subTree=sd(it),Te($t,it.subTree,it,ge,null)};Se&&de.__asyncHydrate?de.__asyncHydrate($t,it,Fe):Fe()}else{St.ce&&St.ce._def.shadowRoot!==!1&&St.ce._injectChildStyle(de);const Fe=it.subTree=sd(it);h(null,Fe,Jt,fe,it,ge,ue),bt.el=Fe.el}if(te&&sr(te,ge),!Se&&(Ct=pt&&pt.onVnodeMounted)){const Fe=bt;sr(()=>is(Ct,lt,Fe),ge)}(bt.shapeFlag&256||lt&&Wl(lt.vnode)&<.vnode.shapeFlag&256)&&it.a&&sr(it.a,ge),it.isMounted=!0,bt=Jt=fe=null}};it.scope.on();const _e=it.effect=new gy(he);it.scope.off();const J=it.update=_e.run.bind(_e),Z=it.job=_e.runIfDirty.bind(_e);Z.i=it,Z.id=it.uid,_e.scheduler=()=>Em(Z),JA(it,!0),J()},Gt=(it,bt,Jt)=>{bt.component=it;const fe=it.vnode.props;it.vnode=bt,it.next=null,i4(it,bt.props,fe,Jt),o4(it,bt.children,Jt),Vs(),R0(it),Gs()},Wt=(it,bt,Jt,fe,ge,ue,pe,he,_e=!1)=>{const J=it&&it.children,Z=it?it.shapeFlag:0,Ct=bt.children,{patchFlag:$t,shapeFlag:pt}=bt;if($t>0){if($t&128){Vt(J,Ct,Jt,fe,ge,ue,pe,he,_e);return}else if($t&256){kt(J,Ct,Jt,fe,ge,ue,pe,he,_e);return}}pt&8?(Z&16&&Ht(J,ge,ue),Ct!==J&&c(Jt,Ct)):Z&16?pt&16?Vt(J,Ct,Jt,fe,ge,ue,pe,he,_e):Ht(J,ge,ue,!0):(Z&8&&c(Jt,""),pt&16&&O(Ct,Jt,fe,ge,ue,pe,he,_e))},kt=(it,bt,Jt,fe,ge,ue,pe,he,_e)=>{it=it||Ta,bt=bt||Ta;const J=it.length,Z=bt.length,Ct=Math.min(J,Z);let $t;for($t=0;$t<Ct;$t++){const pt=bt[$t]=_e?wA(bt[$t]):As(bt[$t]);h(it[$t],pt,Jt,null,ge,ue,pe,he,_e)}J>Z?Ht(it,ge,ue,!0,!1,Ct):O(bt,Jt,fe,ge,ue,pe,he,_e,Ct)},Vt=(it,bt,Jt,fe,ge,ue,pe,he,_e)=>{let J=0;const Z=bt.length;let Ct=it.length-1,$t=Z-1;for(;J<=Ct&&J<=$t;){const pt=it[J],Ft=bt[J]=_e?wA(bt[J]):As(bt[J]);if(co(pt,Ft))h(pt,Ft,Jt,null,ge,ue,pe,he,_e);else break;J++}for(;J<=Ct&&J<=$t;){const pt=it[Ct],Ft=bt[$t]=_e?wA(bt[$t]):As(bt[$t]);if(co(pt,Ft))h(pt,Ft,Jt,null,ge,ue,pe,he,_e);else break;Ct--,$t--}if(J>Ct){if(J<=$t){const pt=$t+1,Ft=pt<Z?bt[pt].el:fe;for(;J<=$t;)h(null,bt[J]=_e?wA(bt[J]):As(bt[J]),Jt,Ft,ge,ue,pe,he,_e),J++}}else if(J>$t)for(;J<=Ct;)oe(it[J],ge,ue,!0),J++;else{const pt=J,Ft=J,te=new Map;for(J=Ft;J<=$t;J++){const $e=bt[J]=_e?wA(bt[J]):As(bt[J]);$e.key!=null&&te.set($e.key,J)}let lt,St=0;const de=$t-Ft+1;let Se=!1,Fe=0;const ze=new Array(de);for(J=0;J<de;J++)ze[J]=0;for(J=pt;J<=Ct;J++){const $e=it[J];if(St>=de){oe($e,ge,ue,!0);continue}let Qt;if($e.key!=null)Qt=te.get($e.key);else for(lt=Ft;lt<=$t;lt++)if(ze[lt-Ft]===0&&co($e,bt[lt])){Qt=lt;break}Qt===void 0?oe($e,ge,ue,!0):(ze[Qt-Ft]=J+1,Qt>=Fe?Fe=Qt:Se=!0,h($e,bt[Qt],Jt,null,ge,ue,pe,he,_e),St++)}const je=Se?f4(ze):Ta;for(lt=je.length-1,J=de-1;J>=0;J--){const $e=Ft+J,Qt=bt[$e],Re=bt[$e+1],Qe=$e+1<Z?Re.el||fB(Re):fe;ze[J]===0?h(null,Qt,Jt,Qe,ge,ue,pe,he,_e):Se&&(lt<0||J!==je[lt]?we(Qt,Jt,Qe,2):lt--)}}},we=(it,bt,Jt,fe,ge=null)=>{const{el:ue,type:pe,transition:he,children:_e,shapeFlag:J}=it;if(J&6){we(it.component.subTree,bt,Jt,fe);return}if(J&128){it.suspense.move(bt,Jt,fe);return}if(J&64){pe.move(it,bt,Jt,xe);return}if(pe===Qn){i(ue,bt,Jt);for(let Ct=0;Ct<_e.length;Ct++)we(_e[Ct],bt,Jt,fe);i(it.anchor,bt,Jt);return}if(pe===od){N(it,bt,Jt);return}if(fe!==2&&J&1&&he)if(fe===0)he.beforeEnter(ue),i(ue,bt,Jt),sr(()=>he.enter(ue),ge);else{const{leave:Ct,delayLeave:$t,afterLeave:pt}=he,Ft=()=>{it.ctx.isUnmounted?r(ue):i(ue,bt,Jt)},te=()=>{ue._isLeaving&&ue[Ls](!0),Ct(ue,()=>{Ft(),pt&&pt()})};$t?$t(ue,Ft,te):te()}else i(ue,bt,Jt)},oe=(it,bt,Jt,fe=!1,ge=!1)=>{const{type:ue,props:pe,ref:he,children:_e,dynamicChildren:J,shapeFlag:Z,patchFlag:Ct,dirs:$t,cacheIndex:pt}=it;if(Ct===-2&&(ge=!1),he!=null&&(Vs(),Kl(he,null,Jt,it,!0),Gs()),pt!=null&&(bt.renderCache[pt]=void 0),Z&256){bt.ctx.deactivate(it);return}const Ft=Z&1&&$t,te=!Wl(it);let lt;if(te&&(lt=pe&&pe.onVnodeBeforeUnmount)&&is(lt,bt,it),Z&6)zt(it.component,Jt,fe);else{if(Z&128){it.suspense.unmount(Jt,fe);return}Ft&&YA(it,null,bt,"beforeUnmount"),Z&64?it.type.remove(it,bt,Jt,xe,fe):J&&!J.hasOnce&&(ue!==Qn||Ct>0&&Ct&64)?Ht(J,bt,Jt,!1,!0):(ue===Qn&&Ct&384||!ge&&Z&16)&&Ht(_e,bt,Jt),fe&&Be(it)}(te&&(lt=pe&&pe.onVnodeUnmounted)||Ft)&&sr(()=>{lt&&is(lt,bt,it),Ft&&YA(it,null,bt,"unmounted")},Jt)},Be=it=>{const{type:bt,el:Jt,anchor:fe,transition:ge}=it;if(bt===Qn){Ue(Jt,fe);return}if(bt===od){L(it);return}const ue=()=>{r(Jt),ge&&!ge.persisted&&ge.afterLeave&&ge.afterLeave()};if(it.shapeFlag&1&&ge&&!ge.persisted){const{leave:pe,delayLeave:he}=ge,_e=()=>pe(Jt,ue);he?he(it.el,ue,_e):_e()}else ue()},Ue=(it,bt)=>{let Jt;for(;it!==bt;)Jt=f(it),r(it),it=Jt;r(bt)},zt=(it,bt,Jt)=>{const{bum:fe,scope:ge,job:ue,subTree:pe,um:he,m:_e,a:J}=it;q0(_e),q0(J),fe&&Zh(fe),ge.stop(),ue&&(ue.flags|=8,oe(pe,it,bt,Jt)),he&&sr(he,bt),sr(()=>{it.isUnmounted=!0},bt)},Ht=(it,bt,Jt,fe=!1,ge=!1,ue=0)=>{for(let pe=ue;pe<it.length;pe++)oe(it[pe],bt,Jt,fe,ge)},re=it=>{if(it.shapeFlag&6)return re(it.component.subTree);if(it.shapeFlag&128)return it.suspense.next();const bt=f(it.anchor||it.el),Jt=bt&&bt[F3];return Jt?f(Jt):bt};let le=!1;const Le=(it,bt,Jt)=>{let fe;it==null?bt._vnode&&(oe(bt._vnode,null,null,!0),fe=bt._vnode.component):h(bt._vnode||null,it,bt,null,null,null,Jt),bt._vnode=it,le||(le=!0,R0(fe),Ly(),le=!1)},xe={p:h,um:oe,m:we,r:Be,mt:xt,mc:O,pc:Wt,pbc:gt,n:re,o:n};let De,Te;return t&&([De,Te]=t(xe)),{render:Le,hydrate:De,createApp:j3(Le,De)}}function Ad({type:n,props:t},e){return e==="svg"&&n==="foreignObject"||e==="mathml"&&n==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:e}function JA({effect:n,job:t},e){e?(n.flags|=32,t.flags|=4):(n.flags&=-33,t.flags&=-5)}function u4(n,t){return(!n||n&&!n.pendingBranch)&&t&&!t.persisted}function cB(n,t,e=!1){const i=n.children,r=t.children;if(tn(i)&&tn(r))for(let s=0;s<i.length;s++){const A=i[s];let o=r[s];o.shapeFlag&1&&!o.dynamicChildren&&((o.patchFlag<=0||o.patchFlag===32)&&(o=r[s]=wA(r[s]),o.el=A.el),!e&&o.patchFlag!==-2&&cB(A,o)),o.type===hh&&(o.patchFlag!==-1?o.el=A.el:o.__elIndex=s+(n.type===Qn?1:0)),o.type===zi&&!o.el&&(o.el=A.el)}}function f4(n){const t=n.slice(),e=[0];let i,r,s,A,o;const a=n.length;for(i=0;i<a;i++){const l=n[i];if(l!==0){if(r=e[e.length-1],n[r]<l){t[i]=r,e.push(i);continue}for(s=0,A=e.length-1;s<A;)o=s+A>>1,n[e[o]]<l?s=o+1:A=o;l<n[e[s]]&&(s>0&&(t[i]=e[s-1]),e[s]=i)}}for(s=e.length,A=e[s-1];s-- >0;)e[s]=A,A=t[A];return e}function uB(n){const t=n.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:uB(t)}function q0(n){if(n)for(let t=0;t<n.length;t++)n[t].flags|=8}function fB(n){if(n.placeholder)return n.placeholder;const t=n.component;return t?fB(t.subTree):null}const hB=n=>n.__isSuspense;function h4(n,t){t&&t.pendingBranch?tn(n)?t.effects.push(...n):t.effects.push(n):_3(n)}const Qn=Symbol.for("v-fgt"),hh=Symbol.for("v-txt"),zi=Symbol.for("v-cmt"),od=Symbol.for("v-stc"),jl=[];let ar=null;function ye(n=!1){jl.push(ar=n?null:[])}function d4(){jl.pop(),ar=jl[jl.length-1]||null}let hc=1;function xf(n,t=!1){hc+=n,n<0&&ar&&t&&(ar.hasOnce=!0)}function dB(n){return n.dynamicChildren=hc>0?ar||Ta:null,d4(),hc>0&&ar&&ar.push(n),n}function be(n,t,e,i,r,s){return dB(_t(n,t,e,i,r,s,!0))}function dh(n,t,e,i,r){return dB(qe(n,t,e,i,r,!0))}function bf(n){return n?n.__v_isVNode===!0:!1}function co(n,t){return n.type===t.type&&n.key===t.key}const pB=({key:n})=>n!=null?n:null,tf=({ref:n,ref_key:t,ref_for:e})=>(typeof n=="number"&&(n=""+n),n!=null?Vn(n)||zn(n)||rn(n)?{i:Vr,r:n,k:t,f:!!e}:n:null);function _t(n,t=null,e=null,i=0,r=null,s=n===Qn?0:1,A=!1,o=!1){const a={__v_isVNode:!0,__v_skip:!0,t
vendor: 4,292 bytes, line 13
13ype:n,props:t,key:t&&pB(t),ref:t&&tf(t),scopeId:Dy,slotScopeIds:null,children:e,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:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Vr};return o?(Qm(a,e),s&128&&n.normalize(a)):e&&(a.shapeFlag|=Vn(e)?8:16),hc>0&&!A&&ar&&(a.patchFlag>0||s&6)&&a.patchFlag!==32&&ar.push(a),a}const qe=p4;function p4(n,t=null,e=null,i=0,r=null,s=!1){if((!n||n===Yy)&&(n=zi),bf(n)){const o=RA(n,t,!0);return e&&Qm(o,e),hc>0&&!s&&ar&&(o.shapeFlag&6?ar[ar.indexOf(n)]=o:ar.push(o)),o.patchFlag=-2,o}if(S4(n)&&(n=n.__vccOpts),t){t=g4(t);let{class:o,style:a}=t;o&&!Vn(o)&&(t.class=Wi(o)),Mn(a)&&(Ah(a)&&!tn(a)&&(a=Jn({},a)),t.style=rh(a))}const A=Vn(n)?1:hB(n)?128:Hy(n)?64:Mn(n)?4:rn(n)?2:0;return _t(n,t,e,i,r,A,s,!0)}function g4(n){return n?Ah(n)||rB(n)?Jn({},n):n:null}function RA(n,t,e=!1,i=!1){const{props:r,ref:s,patchFlag:A,children:o,transition:a}=n,l=t?m4(r||{},t):r,c={__v_isVNode:!0,__v_skip:!0,type:n.type,props:l,key:l&&pB(l),ref:t&&t.ref?e&&s?tn(s)?s.concat(tf(t)):[s,tf(t)]:tf(t):s,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:o,target:n.target,targetStart:n.targetStart,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:t&&n.type!==Qn?A===-1?16:A|16:A,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:a,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&RA(n.ssContent),ssFallback:n.ssFallback&&RA(n.ssFallback),placeholder:n.placeholder,el:n.el,anchor:n.anchor,ctx:n.ctx,ce:n.ce};return a&&i&&fc(c,a.clone(c)),c}function Pn(n=" ",t=0){return qe(hh,null,n,t)}function Ze(n="",t=!1){return t?(ye(),dh(zi,null,n)):qe(zi,null,n)}function As(n){return n==null||typeof n=="boolean"?qe(zi):tn(n)?qe(Qn,null,n.slice()):bf(n)?wA(n):qe(hh,null,String(n))}function wA(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:RA(n)}function Qm(n,t){let e=0;const{shapeFlag:i}=n;if(t==null)t=null;else if(tn(t))e=16;else if(typeof t=="object")if(i&65){const r=t.default;r&&(r._c&&(r._d=!1),Qm(n,r()),r._c&&(r._d=!0));return}else{e=32;const r=t._;!r&&!rB(t)?t._ctx=Vr:r===3&&Vr&&(Vr.slots._===1?t._=1:(t._=2,n.patchFlag|=1024))}else rn(t)?(t={default:t,_ctx:Vr},e=32):(t=String(t),i&64?(e=16,t=[Pn(t)]):e=8);n.children=t,n.shapeFlag|=e}function m4(...n){const t={};for(let e=0;e<n.length;e++){const i=n[e];for(const r in i)if(r==="class")t.class!==i.class&&(t.class=Wi([t.class,i.class]));else if(r==="style")t.style=rh([t.style,i.style]);else if($f(r)){const s=t[r],A=i[r];A&&s!==A&&!(tn(s)&&s.includes(A))&&(t[r]=s?[].concat(s,A):A)}else r!==""&&(t[r]=i[r])}return t}function is(n,t,e,i=null){Yr(n,t,7,[e,i])}const w4=tB();let v4=0;function y4(n,t,e){const i=n.type,r=(t?t.appContext:n.appContext)||w4,s={uid:v4++,vnode:n,type:i,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new hy(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:AB(i,r),emitsOptions:eB(i,r),emit:null,emitted:null,propsDefaults:Fn,inheritAttrs:i.inheritAttrs,ctx:Fn,data:Fn,props:Fn,attrs:Fn,slots:Fn,refs:Fn,setupState:Fn,setupContext:null,suspense:e,suspenseId:e?e.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};return s.ctx={_:s},s.root=t?t.root:s,s.emit=Y3.bind(null,s),n.ce&&n.ce(s),s}let Ei=null;const Lm=()=>Ei||Vr;let Cf,Gp;{const n=Tc(),t=(e,i)=>{let r;return(r=n[e])||(r=n[e]=[]),r.push(i),s=>{r.length>1?r.forEach(A=>A(s)):r[0](s)}};Cf=t("__VUE_INSTANCE_SETTERS__",e=>Ei=e),Gp=t("__VUE_SSR_SETTERS__",e=>dc=e)}const Lc=n=>{const t=Ei;return Cf(n),n.scope.on(),()=>{n.scope.off(),Cf(t)}},j0=()=>{Ei&&Ei.scope.off(),Cf(null)};function gB(n){return n.vnode.shapeFlag&4}let dc=!1;function B4(n,t=!1,e=!1){t&&Gp(t);const{props:i,children:r}=n.vnode,s=gB(n);n4(n,i,s,t),A4(n,r,e||t);const A=s?_4(n,t):void 0;return t&&Gp(!1),A}function _4(n,t){const e=n.type;
vendor: 1,633 bytes, lines 13-16
13n.accessCache=Object.create(null),n.proxy=new Proxy(n.ctx,N3);const{setup:i}=e;if(i){Vs();const r=n.setupContext=i.length>1?b4(n):null,s=Lc(n),A=Ic(i,n,0,[n.props,r]),o=Ay(A);if(Gs(),s(),(o||n.sp)&&!Wl(n)&&Ky(n),o){if(A.then(j0,j0),t)return A.then(a=>{X0(n,a,t)}).catch(a=>{ah(a,n,0)});n.asyncDep=A}else X0(n,A,t)}else mB(n,t)}function X0(n,t,e){rn(t)?n.type.__ssrInlineRender?n.ssrRender=t:n.render=t:Mn(t)&&(n.setupState=Ty(t)),mB(n,e)}let Y0;function mB(n,t,e){const i=n.type;if(!n.render){if(!t&&Y0&&!i.render){const r=i.template||Um(n).template;if(r){const{isCustomElement:s,compilerOptions:A}=n.appContext.config,{delimiters:o,compilerOptions:a}=i,l=Jn(Jn({isCustomElement:s,delimiters:o},A),a);i.render=Y0(r,l)}}n.render=i.render||Kr}{const r=Lc(n);Vs();try{z3(n)}finally{Gs(),r()}}}const x4={get(n,t){return Si(n,"get",""),n[t]}};function b4(n){const t=e=>{n.exposed=e||{}};return{attrs:new Proxy(n.attrs,x4),slots:n.slots,emit:n.emit,expose:t}}function Pm(n){return n.exposed?n.exposeProxy||(n.exposeProxy=new Proxy(Ty(Sm(n.exposed)),{get(t,e){if(e in t)return t[e];if(e in ql)return ql[e](n)},has(t,e){return e in t||e in ql}})):n.proxy}function C4(n,t=!0){return rn(n)?n.displayName||n.name:n.name||t&&n.__name}function S4(n){return rn(n)&&"__vccOpts"in n}const Ln=(n,t)=>m3(n,t,dc);function Al(n,t,e){try{xf(-1);const i=arguments.length;return i===2?Mn(t)&&!tn(t)?bf(t)?qe(n,null,[t]):qe(n,t):qe(n,null,t):(i>3?e=Array.prototype.slice.call(arguments,2):i===3&&bf(e)&&(e=[e]),qe(n,t,e))}finally{xf(1)}}const F4="3.5.27";/** 14* @vue/runtime-dom v3.5.27 15* (c) 2018-present Yuxi (Evan) You and Vue contributors 16* @license MIT
17**/let Kp;const J0=typeof window<"u"&&window.trustedTypes;if(J0)try{Kp=J0.createPolicy("vue",{createHTML:n=>n})}catch{}const wB=Kp?n=>Kp.createHTML(n):n=>n,E4="http://www.w3.org/2000/svg",M4="http://www.w3.org/1998/Math/MathML",Ts=typeof document<"u"?document:null,Z0=Ts&&Ts.createElement("template"),U4={insert:(n,t,e)=>{t.insertBefore(n,e||null)},remove:n=>{const t=n.parentNode;t&&t.removeChild(n)},createElement:(n,t,e,i)=>{const r=t==="svg"?Ts.createElementNS(E4,n):t==="mathml"?Ts.createElementNS(M4,n):e?Ts.createElement(n,{is:e}):Ts.createElement(n);return n==="select"&&i&&i.multiple!=null&&r.setAttribute("multiple",i.multiple),r},createText:n=>Ts.createTextNode(n),createComment:n=>Ts.createComment(n),setText:(n,t)=>{n.nodeValue=t},setElementText:(n,t)=>{n.textContent=t},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>Ts.querySelector(n),setScopeId(n,t){n.setAttribute(t,"")},insertStaticContent(n,t,e,i,r,s){const A=e?e.previousSibling:t.lastChild;if(r&&(r===s||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),e),!(r===s||!(r=r.nextSibling)););else{Z0.innerHTML=wB(i==="svg"?`<svg>${n}</svg>`:i==="mathml"?`<math>${n}</math>`:n);const o=Z0.content;if(i==="svg"||i==="mathml"){const a=o.firstChild;for(;a.firstChild;)o.appendChild(a.firstChild);o.removeChild(a)}t.insertBefore(o,e)}return[A?A.nextSibling:t.firstChild,e?e.previousSibling:t.lastChild]}},nA="transition",wl="animation",pc=Symbol("_vtc"),vB={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},T4=Jn({},ky,vB),I4=n=>(n.displayName="Transition",n.props=T4,n),Q4=I4((n,{slots:t})=>Al(U3,L4(n),t)),ZA=(n,t=[])=>{tn(n)?n.forEach(e=>e(...t)):n&&n(...t)},$0=n=>n?tn(n)?n.some(t=>t.length>1):n.length>1:!1;function L4(n){const t={};for(const Dt in n)Dt in vB||(t[Dt]=n[Dt]);if(n.css===!1)return t;const{name:e="v",type:i,duration:r,enterFromClass:s=`${e}-enter-from`,enterActiveClass:A=`${e}-enter-active`,enterToClass:o=`${e}-enter-to`,appearFromClass:a=s,appearActiveClass:l=A,appearToClass:c=o,leaveFromClass:u=`${e}-leave-from`,leaveActiveClass:f=`${e}-leave-active`,leaveToClass:m=`${e}-leave-to`}=n,y=P4(r),h=y&&y[0],g=y&&y[1],{onBeforeEnter:b,onEnter:U,onEnterCancelled:N,onLeave:L,onLeaveCancelled:R,onBeforeAppear:j=b,onAppear:st=U,onAppearCancelled:O=N}=t,V=(Dt,Et,xt,Xt)=>{Dt._enterCancelled=Xt,$A(Dt,Et?c:o),$A(Dt,Et?l:A),xt&&xt()},gt=(Dt,Et)=>{Dt._isLeaving=!1,$A(Dt,u),$A(Dt,m),$A(Dt,f),Et&&Et()},Nt=Dt=>(Et,xt)=>{const Xt=Dt?st:U,jt=()=>V(Et,Dt,xt);ZA(Xt,[Et,jt]),t1(()=>{$A(Et,Dt?a:s),_s(Et,Dt?c:o),$0(Xt)||e1(Et,i,h,jt)})};return Jn(t,{onBeforeEnter(Dt){ZA(b,[Dt]),_s(Dt,s),_s(Dt,A)},onBeforeAppear(Dt){ZA(j,[Dt]),_s(Dt,a),_s(Dt,l)},onEnter:Nt(!1),onAppear:Nt(!0),onLeave(Dt,Et){Dt._isLeaving=!0;const xt=()=>gt(Dt,Et);_s(Dt,u),Dt._enterCancelled?(_s(Dt,f),r1(Dt)):(r1(Dt),_s(Dt,f)),t1(()=>{!Dt._isLeaving||($A(Dt,u),_s(Dt,m),$0(L)||e1(Dt,i,g,xt))}),ZA(L,[Dt,xt])},onEnterCancelled(Dt){V(Dt,!1,void 0,!0),ZA(N,[Dt])},onAppearCancelled(Dt){V(Dt,!0,void 0,!0),ZA(O,[Dt])},onLeaveCancelled(Dt){gt(Dt),ZA(R,[Dt])}})}function P4(n){if(n==null)return null;if(Mn(n))return[ad(n.enter),ad(n.leave)];{const t=ad(n);return[t,t]}}function ad(n){return DC(n)}function _s(n,t){t.split(/\s+/).forEach(e=>e&&n.classList.add(e)),(n[pc]||(n[pc]=new Set)).add(t)}function $A(n,t){t.split(/\s+/).forEach(i=>i&&n.classList.remove(i));const e=n[pc];e&&(e.delete(t),e.size||(n[pc]=void 0))}function t1(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let D4=0;function e1(n,t,e,i){const r=n._endId=++D4,s=()=>{r===n._endId&&i()};if(e!=null)return setTimeout(s,e);const{type:A,timeout:o,propCount:a}=R4(n,t);if(!A)return i();const l=A+"end";let c=0;const u=()=>{n.removeEventListener(l,f),s()},f=m=>{m.target===n&&++c>=a&&u()};setTimeout(()=>{c<a&&u()},o+1),n.addEventListener(l,f)}function R4(n,t){const e=window.getComputedStyle(n),i=y=>(e[y]||"").split(", "),r=i(`${nA}Delay`),s=i(`${nA}Duration`),A=n1(r,s),o=i(`${wl}Delay`),a=i(`${wl}Duration`),l=n1(o,a);let c=null,u=0,f=0;t===nA?A>0&&(c=nA,u=A,f=s.length):t===wl?l>0&&(c=wl,u=l,f=a.length):(u=Math.max(A,l),c=u>0?A>l?nA:wl:null,f=c?c===nA?s.length:a.length:0);const m=c===nA&&/\b(?:transform|all)(?:,|$)/.test(i(`${nA}Property`).toString());return{type:c,timeout:u,propCount:f,hasTransform:m}}function n1(n,t){for(;n.length<t.length;)n=n.concat(n);return Math.max(...t.map((e,i)=>i1(e)+i1(n[i])))}function i1(n){return n==="auto"?0:Number(n.slice(0,-1).replace(",","."))*1e3}function r1(n){return(n?n.ownerDocument:document).body.offsetHeight}function O4(n,t,e){const i=n[pc];i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?n.removeAttribute("class"):e?n.setAttribute("class",t):n.className=t}const s1=Symbol("_vod"),H4=Symbol("_vsh"),k4=Symbol(""),N4=/(?:^|;)\s*display\s*:/;function z4(n,t,e){const i=n.style,r=Vn(e);let s=!1;if(e&&!r){if(t)if(Vn(t))for(const A of t.split(";")){const o=A.slice(0,A.indexOf(":")).trim();e[o]==null&&ef(i,o,"")}else for(const A in t)e[A]==null&&ef(i,A,"");for(const A in e)A==="display"&&(s=!0),ef(i,A,e[A])}else if(r){if(t!==e){const A=i[k4];A&&(e+=";"+A),i.cssText=e,s=N4.test(e)}}else t&&n.removeAttribute("style");s1 in n&&(n[s1]=s?i.display:"",n[H4]&&(i.display="none"))}const A1=/\s*!important$/;function ef(n,t,e){if(tn(e))e.forEach(i=>
vendor: 4,731 bytes, lines 17-21
17ef(n,t,i));else if(e==null&&(e=""),t.startsWith("--"))n.setProperty(t,e);else{const i=V4(n,t);A1.test(e)?n.setProperty(ko(i),e.replace(A1,""),"important"):n[i]=e}}const o1=["Webkit","Moz","ms"],ld={};function V4(n,t){const e=ld[t];if(e)return e;let i=Tr(t);if(i!=="filter"&&i in n)return ld[t]=i;i=ih(i);for(let r=0;r<o1.length;r++){const s=o1[r]+i;if(s in n)return ld[t]=s}return t}const a1="http://www.w3.org/1999/xlink";function l1(n,t,e,i,r,s=zC(t)){i&&t.startsWith("xlink:")?e==null?n.removeAttributeNS(a1,t.slice(6,t.length)):n.setAttributeNS(a1,t,e):e==null||s&&!cy(e)?n.removeAttribute(t):n.setAttribute(t,s?"":GA(e)?String(e):e)}function c1(n,t,e,i,r){if(t==="innerHTML"||t==="textContent"){e!=null&&(n[t]=t==="innerHTML"?wB(e):e);return}const s=n.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const o=s==="OPTION"?n.getAttribute("value")||"":n.value,a=e==null?n.type==="checkbox"?"on":"":String(e);(o!==a||!("_value"in n))&&(n.value=a),e==null&&n.removeAttribute(t),n._value=e;return}let A=!1;if(e===""||e==null){const o=typeof n[t];o==="boolean"?e=cy(e):e==null&&o==="string"?(e="",A=!0):o==="number"&&(e=0,A=!0)}try{n[t]=e}catch{}A&&n.removeAttribute(r||t)}function G4(n,t,e,i){n.addEventListener(t,e,i)}function K4(n,t,e,i){n.removeEventListener(t,e,i)}const u1=Symbol("_vei");function W4(n,t,e,i,r=null){const s=n[u1]||(n[u1]={}),A=s[t];if(i&&A)A.value=i;else{const[o,a]=q4(t);if(i){const l=s[t]=Y4(i,r);G4(n,o,l,a)}else A&&(K4(n,o,A,a),s[t]=void 0)}}const f1=/(?:Once|Passive|Capture)$/;function q4(n){let t;if(f1.test(n)){t={};let i;for(;i=n.match(f1);)n=n.slice(0,n.length-i[0].length),t[i[0].toLowerCase()]=!0}return[n[2]===":"?n.slice(3):ko(n.slice(2)),t]}let cd=0;const j4=Promise.resolve(),X4=()=>cd||(j4.then(()=>cd=0),cd=Date.now());function Y4(n,t){const e=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=e.attached)return;Yr(J4(i,e.value),t,5,[i])};return e.value=n,e.attached=X4(),e}function J4(n,t){if(tn(t)){const e=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{e.call(n),n._stopped=!0},t.map(i=>r=>!r._stopped&&i&&i(r))}else return t}const h1=n=>n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&n.charCodeAt(2)>96&&n.charCodeAt(2)<123,Z4=(n,t,e,i,r,s)=>{const A=r==="svg";t==="class"?O4(n,i,A):t==="style"?z4(n,e,i):$f(t)?wm(t)||W4(n,t,e,i,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):$4(n,t,i,A))?(c1(n,t,i),!n.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&l1(n,t,i,A,s,t!=="value")):n._isVueCE&&(/[A-Z]/.test(t)||!Vn(i))?c1(n,Tr(t),i,s,t):(t==="true-value"?n._trueValue=i:t==="false-value"&&(n._falseValue=i),l1(n,t,i,A))};function $4(n,t,e,i){if(i)return!!(t==="innerHTML"||t==="textContent"||t in n&&h1(t)&&rn(e));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&n.tagName==="IFRAME"||t==="form"||t==="list"&&n.tagName==="INPUT"||t==="type"&&n.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=n.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return h1(t)&&Vn(e)?!1:t in n}const t5=["ctrl","shift","alt","meta"],e5={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,t)=>t5.some(e=>n[`${e}Key`]&&!t.includes(e))},n5=(n,t)=>{const e=n._withMods||(n._withMods={}),i=t.join(".");return e[i]||(e[i]=(r,...s)=>{for(let A=0;A<t.length;A++){const o=e5[t[A]];if(o&&o(r,t))return}return n(r,...s)})},i5=Jn({patchProp:Z4},U4);let d1;function r5(){return d1||(d1=l4(i5))}const s5=(...n)=>{const t=r5().createApp(...n),{mount:e}=t;return t.mount=i=>{const r=o5(i);if(!r)return;const s=t._component;!rn(s)&&!s.render&&!s.template&&(s.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const A=e(r,!1,A5(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),A},t};function A5(n){if(n instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&n instanceof MathMLElement)return"mathml"}function o5(n){return Vn(n)?document.querySelector(n):n}var a5=!1;/*! 18 * pinia v2.3.1 19 * (c) 2025 Eduardo San Martin Morote 20 * @license MIT 21 */let yB;const ph=n=>yB=n,BB=Symbol();function Wp(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}var Xl;(function(n){n.direct="direct",n.patchObject="patch object",n.patchFunction="patch function"})(Xl||(Xl={}));function l5(){const n=dy(!0),t=n.run(()=>oh({}));let e=[],i=[];const r=Sm({install(s){ph(r),r._a=s,s.provide(BB,r),s.config.globalProperties.$pinia=r,i.forEac
vendor: 9,388 bytes, lines 21-25
21h(A=>e.push(A)),i=[]},use(s){return!this._a&&!a5?i.push(s):e.push(s),this},_p:e,_a:null,_e:n,_s:new Map,state:t});return r}const _B=()=>{};function p1(n,t,e,i=_B){n.push(t);const r=()=>{const s=n.indexOf(t);s>-1&&(n.splice(s,1),i())};return!e&&py()&&VC(r),r}function Xo(n,...t){n.slice().forEach(e=>{e(...t)})}const c5=n=>n(),g1=Symbol(),ud=Symbol();function qp(n,t){n instanceof Map&&t instanceof Map?t.forEach((e,i)=>n.set(i,e)):n instanceof Set&&t instanceof Set&&t.forEach(n.add,n);for(const e in t){if(!t.hasOwnProperty(e))continue;const i=t[e],r=n[e];Wp(r)&&Wp(i)&&n.hasOwnProperty(e)&&!zn(i)&&!Hs(i)?n[e]=qp(r,i):n[e]=i}return n}const u5=Symbol();function f5(n){return!Wp(n)||!n.hasOwnProperty(u5)}const{assign:hA}=Object;function h5(n){return!!(zn(n)&&n.effect)}function d5(n,t,e,i){const{state:r,actions:s,getters:A}=t,o=e.state.value[n];let a;function l(){o||(e.state.value[n]=r?r():{});const c=h3(e.state.value[n]);return hA(c,s,Object.keys(A||{}).reduce((u,f)=>(u[f]=Sm(Ln(()=>{ph(e);const m=e._s.get(n);return A[f].call(m,m)})),u),{}))}return a=xB(n,l,t,e,i,!0),a}function xB(n,t,e={},i,r,s){let A;const o=hA({actions:{}},e),a={deep:!0};let l,c,u=[],f=[],m;const y=i.state.value[n];!s&&!y&&(i.state.value[n]={}),oh({});let h;function g(O){let V;l=c=!1,typeof O=="function"?(O(i.state.value[n]),V={type:Xl.patchFunction,storeId:n,events:m}):(qp(i.state.value[n],O),V={type:Xl.patchObject,payload:O,storeId:n,events:m});const gt=h=Symbol();Fm().then(()=>{h===gt&&(l=!0)}),c=!0,Xo(u,V,i.state.value[n])}const b=s?function(){const{state:V}=e,gt=V?V():{};this.$patch(Nt=>{hA(Nt,gt)})}:_B;function U(){A.stop(),u=[],f=[],i._s.delete(n)}const N=(O,V="")=>{if(g1 in O)return O[ud]=V,O;const gt=function(){ph(i);const Nt=Array.from(arguments),Dt=[],Et=[];function xt(Gt){Dt.push(Gt)}function Xt(Gt){Et.push(Gt)}Xo(f,{args:Nt,name:gt[ud],store:R,after:xt,onError:Xt});let jt;try{jt=O.apply(this&&this.$id===n?this:R,Nt)}catch(Gt){throw Xo(Et,Gt),Gt}return jt instanceof Promise?jt.then(Gt=>(Xo(Dt,Gt),Gt)).catch(Gt=>(Xo(Et,Gt),Promise.reject(Gt))):(Xo(Dt,jt),jt)};return gt[g1]=!0,gt[ud]=V,gt},L={_p:i,$id:n,$onAction:p1.bind(null,f),$patch:g,$reset:b,$subscribe(O,V={}){const gt=p1(u,O,V.detached,()=>Nt()),Nt=A.run(()=>La(()=>i.state.value[n],Dt=>{(V.flush==="sync"?c:l)&&O({storeId:n,type:Xl.direct,events:m},Dt)},hA({},a,V)));return gt},$dispose:U},R=Ks(L);i._s.set(n,R);const st=(i._a&&i._a.runWithContext||c5)(()=>i._e.run(()=>(A=dy()).run(()=>t({action:N}))));for(const O in st){const V=st[O];if(zn(V)&&!h5(V)||Hs(V))s||(y&&f5(V)&&(zn(V)?V.value=y[O]:qp(V,y[O])),i.state.value[n][O]=V);else if(typeof V=="function"){const gt=N(V,O);st[O]=gt,o.actions[O]=V}}return hA(R,st),hA(gn(R),st),Object.defineProperty(R,"$state",{get:()=>i.state.value[n],set:O=>{g(V=>{hA(V,O)})}}),i._p.forEach(O=>{hA(R,A.run(()=>O({store:R,app:i._a,pinia:i,options:o})))}),y&&s&&e.hydrate&&e.hydrate(R.$state,y),l=!0,c=!0,R}/*! #__NO_SIDE_EFFECTS__ */function gh(n,t,e){let i,r;const s=typeof t=="function";typeof n=="string"?(i=n,r=s?e:t):(r=n,i=n.id);function A(o,a){const l=x3();return o=o||(l?fs(BB,null):null),o&&ph(o),o=yB,o._s.has(i)||(s?xB(i,t,r,o):d5(i,r,o)),o._s.get(i)}return A.$id=i,A}/*! 22 * vue-router v4.1.5 23 * (c) 2022 Eduardo San Martin Morote 24 * @license MIT 25 */const Ba=typeof window<"u";function p5(n){return n.__esModule||n[Symbol.toStringTag]==="Module"}const Bn=Object.assign;function fd(n,t){const e={};for(const i in t){const r=t[i];e[i]=Jr(r)?r.map(n):n(r)}return e}const Yl=()=>{},Jr=Array.isArray,g5=/\/$/,m5=n=>n.replace(g5,"");function hd(n,t,e="/"){let i,r={},s="",A="";const o=t.indexOf("#");let a=t.indexOf("?");return o<a&&o>=0&&(a=-1),a>-1&&(i=t.slice(0,a),s=t.slice(a+1,o>-1?o:t.length),r=n(s)),o>-1&&(i=i||t.slice(0,o),A=t.slice(o,t.length)),i=B5(i!=null?i:t,e),{fullPath:i+(s&&"?")+s+A,path:i,query:r,hash:A}}function w5(n,t){const e=t.query?n(t.query):"";return t.path+(e&&"?")+e+(t.hash||"")}function m1(n,t){return!t||!n.toLowerCase().startsWith(t.toLowerCase())?n:n.slice(t.length)||"/"}function v5(n,t,e){const i=t.matched.length-1,r=e.matched.length-1;return i>-1&&i===r&&Ga(t.matched[i],e.matched[r])&&bB(t.params,e.params)&&n(t.query)===n(e.query)&&t.hash===e.hash}function Ga(n,t){return(n.aliasOf||n)===(t.aliasOf||t)}function bB(n,t){if(Object.keys(n).length!==Object.keys(t).length)return!1;for(const e in n)if(!y5(n[e],t[e]))return!1;return!0}function y5(n,t){return Jr(n)?w1(n,t):Jr(t)?w1(t,n):n===t}function w1(n,t){return Jr(t)?n.length===t.length&&n.every((e,i)=>e===t[i]):n.length===1&&n[0]===t}function B5(n,t){if(n.startsWith("/"))return n;if(!n)return t;const e=t.split("/"),i=n.split("/");let r=e.length-1,s,A;for(s=0;s<i.length;s++)if(A=i[s],A!==".")if(A==="..")r>1&&r--;else break;return e.slice(0,r).join("/")+"/"+i.slice(s-(s===i.length?1:0)).join("/")}var gc;(function(n){n.pop="pop",n.push="push"})(gc||(gc={}));var Jl;(function(n){n.back="back",n.forward="forward",n.unknown=""})(Jl||(Jl={}));function _5(n){if(!n)if(Ba){const t=document.querySelector("base");n=t&&t.getAttribute("href")||"/",n=n.replace(/^\w+:\/\/[^\/]+/,"")}else n="/";return n[0]!=="/"&&n[0]!=="#"&&(n="/"+n),m5(n)}const x5=/^[^#]+#/;function b5(n,t){return n.replace(x5,"#")+t}function C5(n,t){const e=document.documentElement.getBoundingClientRect(),i=n.getBoundingClientRect();return{behavior:t.behavior,left:i.left-e.left-(t.left||0),top:i.top-e.top-(t.top||0)}}const mh=()=>({left:window.pageXOffset,top:window.pageYOffset});function S5(n){let t;if("el"in n){const e=n.el,i=typeof e=="string"&&e.startsWith("#"),r=typeof e=="string"?i?document.getElementById(e.slice(1)):document.querySelector(e):e;if(!r)return;t=C5(r,n)}else t=n;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function v1(n,t){return(history.state?history.state.position-t:-1)+n}const jp=new Map;function F5(n,t){jp.set(n,t)}function E5(n){const t=jp.get(n);return jp.delete(n),t}let M5=()=>location.protocol+"//"+location.host;function CB(n,t){const{pathname:e,search:i,hash:r}=t,s=n.indexOf("#");if(s>-1){let o=r.includes(n.slice(s))?n.slice(s).length:1,a=r.slice(o);return a[0]!=="/"&&(a="/"+a),m1(a,"")}return m1(e,n)+i+r}function U5(n,t,e,i){let r=[],s=[],A=null;const o=({state:f})=>{const m=CB(n,location),y=e.value,h=t.value;let g=0;if(f){if(e.value=m,t.value=f,A&&A===y){A=null;return}g=h?f.position-h.position:0}else i(m);r.forEach(b=>{b(e.value,y,{delta:g,type:gc.pop,direction:g?g>0?Jl.forward:Jl.back:Jl.unknown})})};function a(){A=e.value}function l(f){r.push(f);const m=()=>{const y=r.indexOf(f);y>-1&&r.splice(y,1)};return s.push(m),m}function c(){const{history:f}=window;!f.state||f.replaceState(Bn({},f.state,{scroll:mh()}),"")}function u(){for(const f of s)f();s=[],window.removeEventListener("popstate",o),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",o),window.addEventListener("beforeunload",c),{pauseListeners:a,listen:l,destroy:u}}function y1(n,t,e,i=!1,r=!1){return{back:n,current:t,forward:e,replaced:i,position:window.history.length,scroll:r?mh():null}}function T5(n){const{history:t,location:e}=window,i={value:CB(n,e)},r={value:t.state};r.value||s(i.value,{back:null,current:i.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(a,l,c){const u=n.indexOf("#"),f=u>-1?(e.host&&document.querySelector("base")?n:n.slice(u))+a:M5()+n+a;try{t[c?"replaceState":"pushState"](l,"",f),r.value=l}catch(m){console.error(m),e[c?"replace":"assign"](f)}}function A(a,l){const c=Bn({},t.state,y1(r.value.back,a,r.value.forward,!0),l,{position:r.value.position});s(a,c,!0),i.value=a}function o(a,l){const c=Bn({},r.value,t.state,{forward:a,scroll:mh()});s(c.current,c,!0);const u=Bn({},y1(i.value,a,null),{position:c.position+1},l);s(a,u,!1),i.value=a}return{location:i,state:r,push:o,replace:A}}function I5(n){n=_5(n);const t=T5(n),e=U5(n,t.state,t.location,t.replace);function i(s,A=!0){A||e.pauseListeners(),history.go(s)}const r=Bn({location:"",base:n,go:i,createHref:b5.bind(null,n)},t,e);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Q5(n){return typeof n=="string"||n&&typeof n=="object"}function SB(n){return typeof n=="string"||typeof n=="symbol"}const iA={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},FB=Symbol("");var B1;(function(n){n[n.aborted=4]="aborted",n[n.cancelled=8]="cancelled",n[n.duplicated=16]="duplicated"})(B1||(B1={}));function Ka(n,t){return Bn(new Error,{type:n,[FB]:!0},t)}function xs(n,t){return n instanceof Error&&FB in n&&(t==null||!!(n.type&t))}const _1="[^/]+?",L5={sensitive:!1,strict:!1,start:!0,end:!0},P5=/[.+*?^${}()[\]/\\]/g;function D5(n,t){const e=Bn({},L5,t),i=[];let r=e.start?"^":"";const s=[];for(const l of n){const c=l.length?[]:[90];e.strict&&!l.length&&(r+="/");for(let u=0;u<l.length;u++){const f=l[u];let m=40+(e.sensitive?.25:0);if(f.type===0)u||(r+="/"),r+=f.value.replace(P5,"\\$&"),m+=40;else if(f.type===1){const{value:y,repeatable:h,optional:g,regexp:b}=f;s.push({name:y,repeatable:h,optional:g});const U=b||_1;if(U!==_1){m+=10;try{new RegExp(`(${U})`)}catch(L){throw new Error(`Invalid custom RegExp for param "${y}" (${U}): `+L.message)}}let N=h?`((?:${U}
25)(?:/(?:${U}))*)`:`(${U})`;u||(N=g&&l.length<2?`(?:/${N})`:"/"+N),g&&(N+="?"),r+=N,m+=20,g&&(m+=-8),h&&(m+=-20),U===".*"&&(m+=-50)}c.push(m)}i.push(c)}if(e.strict&&e.end){const l=i.length-1;i[l][i[l].length-1]+=.7000000000000001}e.strict||(r+="/?"),e.end?r+="$":e.strict&&(r+="(?:/|$)");const A=new RegExp(r,e.sensitive?"":"i");function o(l){const c=l.match(A),u={};if(!c)return null;for(let f=1;f<c.length;f++){const m=c[f]||"",y=s[f-1];u[y.name]=m&&y.repeatable?m.split("/"):m}return u}function a(l){let c="",u=!1;for(const f of n){(!u||!c.endsWith("/"))&&(c+="/"),u=!1;for(const m of f)if(m.type===0)c+=m.value;else if(m.type===1){const{value:y,repeatable:h,optional:g}=m,b=y in l?l[y]:"";if(Jr(b)&&!h)throw new Error(`Provided param "${y}" is an array but it is not repeatable (* or + modifiers)`);const U=Jr(b)?b.join("/"):b;if(!U)if(g)f.length<2&&(c.endsWith("/")?c=c.slice(0,-1):u=!0);else throw new Error(`Missing required param "${y}"`);c+=U}}return c||"/"}return{re:A,score:i,keys:s,parse:o,stringify:a}}function R5(n,t){let e=0;for(;e<n.length&&e<t.length;){const i=t[e]-n[e];if(i)return i;e++}return n.length<t.length?n.length===1&&n[0]===40+40?-1:1:n.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function O5(n,t){let e=0;const i=n.score,r=t.score;for(;e<i.length&&e<r.length;){const s=R5(i[e],r[e]);if(s)return s;e++}if(Math.abs(r.length-i.length)===1){if(x1(i))return 1;if(x1(r))return-1}return r.length-i.length}function x1(n){const t=n[n.length-1];return n.length>0&&t[t.length-1]<0}const H5={type:0,value:""},k5=/[a-zA-Z0-9_]/;function N5(n){if(!n)return[[]];if(n==="/")return[[H5]];if(!n.startsWith("/"))throw new Error(`Invalid path "${n}"`);function t(m){throw new Error(`ERR (${e})/"${l}": ${m}`)}let e=0,i=e;const r=[];let s;function A(){s&&r.push(s),s=[]}let o=0,a,l="",c="";function u(){!l||(e===0?s.push({type:0,value:l}):e===1||e===2||e===3?(s.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:l,regexp:c,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),l="")}function f(){l+=a}for(;o<n.length;){if(a=n[o++],a==="\\"&&e!==2){i=e,e=4;continue}switch(e){case 0:a==="/"?(l&&u(),A()):a===":"?(u(),e=1):f();break;case 4:f(),e=i;break;case 1:a==="("?e=2:k5.test(a)?f():(u(),e=0,a!=="*"&&a!=="?"&&a!=="+"&&o--);break;case 2:a===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+a:e=3:c+=a;break;case 3:u(),e=0,a!=="*"&&a!=="?"&&a!=="+"&&o--,c="";break;default:t("Unknown state");break}}return e===2&&t(`Unfinished custom RegExp for param "${l}"`),u(),A(),r}function z5(n,t,e){const i=D5(N5(n.path),e),r=Bn(i,{record:n,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function V5(n,t){const e=[],i=new Map;t=S1({strict:!1,end:!0,sensitive:!1},t);function r(c){return i.get(c)}function s(c,u,f){const m=!f,y=G5(c);y.aliasOf=f&&f.record;const h=S1(t,c),g=[y];if("alias"in c){const N=typeof c.alias=="string"?[c.alias]:c.alias;for(const L of N)g.push(Bn({},y,{components:f?f.record.components:y.components,path:L,aliasOf:f?f.record:y}))}let b,U;for(const N of g){const{path:L}=N;if(u&&L[0]!=="/"){const R=u.record.path,j=R[R.length-1]==="/"?"":"/";N.path=u.record.path+(L&&j+L)}if(b=z5(N,u,h),f?f.alias.push(b):(U=U||b,U!==b&&U.alias.push(b),m&&c.name&&!C1(b)&&A(c.name)),y.children){const R=y.children;for(let j=0;j<R.length;j++)s(R[j],b,f&&f.children[j])}f=f||b,a(b)}return U?()=>{A(U)}:Yl}function A(c){if(SB(c)){const u=i.get(c);u&&(i.delete(c),e.splice(e.indexOf(u),1),u.children.forEach(A),u.alias.forEach(A))}else{const u=e.indexOf(c);u>-1&&(e.splice(u,1),c.record.name&&i.delete(c.record.name),c.children.forEach(A),c.alias.forEach(A))}}function o(){return e}function a(c){let u=0;for(;u<e.length&&O5(c,e[u])>=0&&(c.record.path!==e[u].record.path||!EB(c,e[u]));)u++;e.splice(u,0,c),c.record.name&&!C1(c)&&i.set(c.record.name,c)}function l(c,u){let f,m={},y,h;if("name"in c&&c.name){if(f=i.get(c.name),!f)throw Ka(1,{location:c});h=f.record.name,m=Bn(b1(u.params,f.keys.filter(U=>!U.optional).map(U=>U.name)),c.params&&b1(c.params,f.keys.map(U=>U.name))),y=f.stringify(m)}else if("path"in c)y=c.path,f=e.find(U=>U.re.test(y)),f&&(m=f.parse(y),h=f.record.name);else{if(f=u.name?i.get(u.name):e.find(U=>U.re.test(u.path)),!f)throw Ka(1,{location:c,currentLocation:u});h=f.record.name,m=Bn({},u.params,c.params),y=f.stringify(m)}const g=[];let b=f;for(;b;)g.unshift(b.record),b=b.parent;return{name:h,path:y,params:m,matched:g,meta:W5(g)}}
vendor: 8,801 bytes, line 25
25return n.forEach(c=>s(c)),{addRoute:s,resolve:l,removeRoute:A,getRoutes:o,getRecordMatcher:r}}function b1(n,t){const e={};for(const i of t)i in n&&(e[i]=n[i]);return e}function G5(n){return{path:n.path,redirect:n.redirect,name:n.name,meta:n.meta||{},aliasOf:void 0,beforeEnter:n.beforeEnter,props:K5(n),children:n.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in n?n.components||null:n.component&&{default:n.component}}}function K5(n){const t={},e=n.props||!1;if("component"in n)t.default=e;else for(const i in n.components)t[i]=typeof e=="boolean"?e:e[i];return t}function C1(n){for(;n;){if(n.record.aliasOf)return!0;n=n.parent}return!1}function W5(n){return n.reduce((t,e)=>Bn(t,e.meta),{})}function S1(n,t){const e={};for(const i in n)e[i]=i in t?t[i]:n[i];return e}function EB(n,t){return t.children.some(e=>e===n||EB(n,e))}const MB=/#/g,q5=/&/g,j5=/\//g,X5=/=/g,Y5=/\?/g,UB=/\+/g,J5=/%5B/g,Z5=/%5D/g,TB=/%5E/g,$5=/%60/g,IB=/%7B/g,tS=/%7C/g,QB=/%7D/g,eS=/%20/g;function Dm(n){return encodeURI(""+n).replace(tS,"|").replace(J5,"[").replace(Z5,"]")}function nS(n){return Dm(n).replace(IB,"{").replace(QB,"}").replace(TB,"^")}function Xp(n){return Dm(n).replace(UB,"%2B").replace(eS,"+").replace(MB,"%23").replace(q5,"%26").replace($5,"`").replace(IB,"{").replace(QB,"}").replace(TB,"^")}function iS(n){return Xp(n).replace(X5,"%3D")}function rS(n){return Dm(n).replace(MB,"%23").replace(Y5,"%3F")}function sS(n){return n==null?"":rS(n).replace(j5,"%2F")}function Sf(n){try{return decodeURIComponent(""+n)}catch{}return""+n}function AS(n){const t={};if(n===""||n==="?")return t;const i=(n[0]==="?"?n.slice(1):n).split("&");for(let r=0;r<i.length;++r){const s=i[r].replace(UB," "),A=s.indexOf("="),o=Sf(A<0?s:s.slice(0,A)),a=A<0?null:Sf(s.slice(A+1));if(o in t){let l=t[o];Jr(l)||(l=t[o]=[l]),l.push(a)}else t[o]=a}return t}function F1(n){let t="";for(let e in n){const i=n[e];if(e=iS(e),i==null){i!==void 0&&(t+=(t.length?"&":"")+e);continue}(Jr(i)?i.map(s=>s&&Xp(s)):[i&&Xp(i)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+e,s!=null&&(t+="="+s))})}return t}function oS(n){const t={};for(const e in n){const i=n[e];i!==void 0&&(t[e]=Jr(i)?i.map(r=>r==null?null:""+r):i==null?i:""+i)}return t}const aS=Symbol(""),E1=Symbol(""),Rm=Symbol(""),LB=Symbol(""),Yp=Symbol("");function vl(){let n=[];function t(i){return n.push(i),()=>{const r=n.indexOf(i);r>-1&&n.splice(r,1)}}function e(){n=[]}return{add:t,list:()=>n,reset:e}}function vA(n,t,e,i,r){const s=i&&(i.enterCallbacks[r]=i.enterCallbacks[r]||[]);return()=>new Promise((A,o)=>{const a=u=>{u===!1?o(Ka(4,{from:e,to:t})):u instanceof Error?o(u):Q5(u)?o(Ka(2,{from:t,to:u})):(s&&i.enterCallbacks[r]===s&&typeof u=="function"&&s.push(u),A())},l=n.call(i&&i.instances[r],t,e,a);let c=Promise.resolve(l);n.length<3&&(c=c.then(a)),c.catch(u=>o(u))})}function dd(n,t,e,i){const r=[];for(const s of n)for(const A in s.components){let o=s.components[A];if(!(t!=="beforeRouteEnter"&&!s.instances[A]))if(lS(o)){const l=(o.__vccOpts||o)[t];l&&r.push(vA(l,e,i,s,A))}else{let a=o();r.push(()=>a.then(l=>{if(!l)return Promise.reject(new Error(`Couldn't resolve component "${A}" at "${s.path}"`));const c=p5(l)?l.default:l;s.components[A]=c;const f=(c.__vccOpts||c)[t];return f&&vA(f,e,i,s,A)()}))}}return r}function lS(n){return typeof n=="object"||"displayName"in n||"props"in n||"__vccOpts"in n}function M1(n){const t=fs(Rm),e=fs(LB),i=Ln(()=>t.resolve(TA(n.to))),r=Ln(()=>{const{matched:a}=i.value,{length:l}=a,c=a[l-1],u=e.matched;if(!c||!u.length)return-1;const f=u.findIndex(Ga.bind(null,c));if(f>-1)return f;const m=U1(a[l-2]);return l>1&&U1(c)===m&&u[u.length-1].path!==m?u.findIndex(Ga.bind(null,a[l-2])):f}),s=Ln(()=>r.value>-1&&hS(e.params,i.value.params)),A=Ln(()=>r.value>-1&&r.value===e.matched.length-1&&bB(e.params,i.value.params));function o(a={}){return fS(a)?t[TA(n.replace)?"replace":"push"](TA(n.to)).catch(Yl):Promise.resolve()}return{route:i,href:Ln(()=>i.value.href),isActive:s,isExactActive:A,navigate:o}}const cS=Qc({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:M1,setup(n,{slots:t}){const e=Ks(M1(n)),{options:i}=fs(Rm),r=Ln(()=>({[T1(n.activeClass,i.linkActiveClass,"router-link-active")]:e.isActive,[T1(n.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:e.isExactActive}));return()=>{const s=t.default&&t.default(e);return n.custom?s:Al("a",{"aria-current":e.isExactActive?n.ariaCurrentValue:null,href:e.href,onClick:e.navigate,class:r.value},s)}}}),uS=cS;function fS(n){if(!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)&&!n.defaultPrevented&&!(n.button!==void 0&&n.button!==0)){if(n.currentTarget&&n.currentTarget.getAttribute){const t=n.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return n.preventDefault&&n.preventDefault(),!0}}function hS(n,t){for(const e in t){const i=t[e],r=n[e];if(typeof i=="string"){if(i!==r)return!1}else if(!Jr(r)||r.length!==i.length||i.some((s,A)=>s!==r[A]))return!1}return!0}function U1(n){return n?n.aliasOf?n.aliasOf.path:n.path:""}const T1=(n,t,e)=>n!=null?n:t!=null?t:e,dS=Qc({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(n,{attrs:t,slots:e}){const i=fs(Yp),r=Ln(()=>n.route||i.value),s=fs(E1,0),A=Ln(()=>{let l=TA(s);const{matched:c}=r.value;let u;for(;(u=c[l])&&!u.components;)l++;return l}),o=Ln(()=>r.value.matched[A.value]);$u(E1,Ln(()=>A.value+1)),$u(aS,o),$u(Yp,r);const a=oh();return La(()=>[a.value,o.value,n.name],([l,c,u],[f,m,y])=>{c&&(c.instances[u]=l,m&&m!==c&&l&&l===f&&(c.leaveGuards.size||(c.leaveGuards=m.leaveGuards),c.updateGuards.size||(c.updateGuards=m.updateGuards))),l&&c&&(!m||!Ga(c,m)||!f)&&(c.enterCallbacks[u]||[]).forEach(h=>h(l))},{flush:"post"}),()=>{const l=r.value,c=n.name,u=o.value,f=u&&u.components[c];if(!f)return I1(e.default,{Component:f,route:l});const m=u.props[c],y=m?m===!0?l.params:typeof m=="function"?m(l):m:null,g=Al(f,Bn({},y,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(u.instances[c]=null)},ref:a}));return I1(e.default,{Component:g,route:l})||g}}});function I1(n,t){if(!n)return null;const e=n(t);return e.length===1?e[0]:e}const PB=dS;function pS(n){const t=V5(n.routes,n),e=n.parseQuery||AS,i=n.stringifyQuery||F1,r=n.history,s=vl(),A=vl(),o=vl(),a=c3(iA);let l=iA;Ba&&n.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=fd.bind(null,zt=>""+zt),u=fd.bind(null,sS),f=fd.bind(null,Sf);function m(zt,Ht){let re,le;return SB(zt)?(re=t.getRecordMatcher(zt),le=Ht):le=zt,t.addRoute(le,re)}function y(zt){const Ht=t.getRecordMatcher(zt);Ht&&t.removeRoute(Ht)}function h(){return t.getRoutes().map(zt=>zt.record)}function g(zt){return!!t.getRecordMatcher(zt)}function b(zt,Ht){if(Ht=Bn({},Ht||a.value),typeof zt=="string"){const Te=hd(e,zt,Ht.path),it=t.resolve({path:Te.path},Ht),bt=r.createHref(Te.fullPath);return Bn(Te,it,{params:f(it.params),hash:Sf(Te.hash),redirectedFrom:void 0,href:bt})}let re;if("path"in zt)re=Bn({},zt,{path:hd(e,zt.path,Ht.path).path});else{const Te=Bn({},zt.params);for(const it in Te)Te[it]==null&&delete Te[it];re=Bn({},zt,{params:u(zt.params)}),Ht.params=u(Ht.params)}const le=t.resolve(re,Ht),Le=zt.hash||"";le.params=c(f(le.params));const xe=w5(i,Bn({},zt,{hash:nS(Le),path:le.path})),De=r.createHref(xe);return Bn({fullPath:xe,hash:Le,query:i===F1?oS(zt.query):zt.query||{}},le,{redirectedFrom:void 0,href:De})}function U(zt){return typeof zt=="string"?hd(e,zt,a.value.path):Bn({},zt)}function N(zt,Ht){if(l!==zt)return Ka(8,{from:Ht,to:zt})}function L(zt){return st(zt)}function R(zt){return L(Bn(U(zt),{replace:!0}))}function j(zt){const Ht=zt.matched[zt.matched.length-1];if(Ht&&Ht.redirect){const{redirect:re}=Ht;let le=typeof re=="function"?re(zt):re;return typeof le=="string"&&(le=le.includes("?")||le.includes("#")?le=U(le):{path:le},le.params={}),Bn({query:zt.query,hash:zt.hash,params:"path"in le?{}:zt.params},le)}}function st(zt,Ht){const re=l=b(zt),le=a.value,Le=zt.state,xe=zt.force,De=zt.replace===!0,Te=j(re);if(Te)return st(Bn(U(Te),{state:typeof Te=="object"?Bn({},Le,Te.state):Le,force:xe,replace:De}),Ht||re);const it=re;it.redirectedFrom=Ht;let bt;return!xe&&v5(i,le,re)&&(bt=Ka(16,{to:it,from:le}),Vt(le,le,!0,!1)),(bt?Promise.resolve(bt):V(it,le)).catch(Jt=>xs(Jt)?xs(Jt,2)?Jt:kt(Jt):Gt(Jt,it,le)).then(Jt=>{if(Jt){if(xs(Jt,2))return st(Bn({replace:De},U(Jt.to),{state:typeof Jt.to=="object"?Bn({},Le,Jt.to.state):Le,force:xe}),Ht||it)}else Jt=Nt(it,le,!0,De,Le);return gt(it,le,Jt),Jt})}function O(zt,Ht){const re=N(zt,Ht);return re?Promise.reject(re):Promise.resolve()}function V(zt,Ht){let re;
25const[le,Le,xe]=gS(zt,Ht);re=dd(le.reverse(),"beforeRouteLeave",zt,Ht);for(const Te of le)Te.leaveGuards.forEach(it=>{re.push(vA(it,zt,Ht))});const De=O.bind(null,zt,Ht);return re.push(De),Yo(re).then(()=>{re=[];for(const Te of s.list())re.push(vA(Te,zt,Ht));return re.push(De),Yo(re)}).then(()=>{re=dd(Le,"beforeRouteUpdate",zt,Ht);for(const Te of Le)Te.updateGuards.forEach(it=>{re.push(vA(it,zt,Ht))});return re.push(De),Yo(re)}).then(()=>{re=[];for(const Te of zt.matched)if(Te.beforeEnter&&!Ht.matched.includes(Te))if(Jr(Te.beforeEnter))for(const it of Te.beforeEnter)re.push(vA(it,zt,Ht));else re.push(vA(Te.beforeEnter,zt,Ht));return re.push(De),Yo(re)}).then(()=>(zt.matched.forEach(Te=>Te.enterCallbacks={}),re=dd(xe,"beforeRouteEnter",zt,Ht),re.push(De),Yo(re))).then(()=>{re=[];for(const Te of A.list())re.push(vA(Te,zt,Ht));return re.push(De),Yo(re)}).catch(Te=>xs(Te,8)?Te:Promise.reject(Te))}function gt(zt,Ht,re){for(const le of o.list())le(zt,Ht,re)}function Nt(zt,Ht,re,le,Le){const xe=N(zt,Ht);if(xe)return xe;const De=Ht===iA,Te=Ba?history.state:{};re&&(le||De?r.replace(zt.fullPath,Bn({scroll:De&&Te&&Te.scroll},Le)):r.push(zt.fullPath,Le)),a.value=zt,Vt(zt,Ht,re,De),kt()}let Dt;function Et(){Dt||(Dt=r.listen((zt,Ht,re)=>{if(!Ue.listening)return;const le=b(zt),Le=j(le);if(Le){st(Bn(Le,{replace:!0}),le).catch(Yl);return}l=le;const xe=a.value;Ba&&F5(v1(xe.fullPath,re.delta),mh()),V(le,xe).catch(De=>xs(De,12)?De:xs(De,2)?(st(De.to,le).then(Te=>{xs(Te,20)&&!re.delta&&re.type===gc.pop&&r.go(-1,!1)}).catch(Yl),Promise.reject()):(re.delta&&r.go(-re.delta,!1),Gt(De,le,xe))).then(De=>{De=De||Nt(le,xe,!1),De&&(re.delta&&!xs(De,8)?r.go(-re.delta,!1):re.type===gc.pop&&xs(De,20)&&r.go(-1,!1)),gt(le,xe,De)}).catch(Yl)}))}let xt=vl(),Xt=vl(),jt;function Gt(zt,Ht,re){kt(zt);const le=Xt.list();return le.length?le.forEach(Le=>Le(zt,Ht,re)):console.error(zt),Promise.reject(zt)}function Wt(){return jt&&a.value!==iA?Promise.resolve():new Promise((zt,Ht)=>{xt.add([zt,Ht])})}function kt(zt){return jt||(jt=!zt,Et(),xt.list().forEach(([Ht,re])=>zt?re(zt):Ht()),xt.reset()),zt}function Vt(zt,Ht,re,le){const{scrollBehavior:Le}=n;if(!Ba||!Le)return Promise.resolve();const xe=!re&&E5(v1(zt.fullPath,0))||(le||!re)&&history.state&&history.state.scroll||null;return Fm().then(()=>Le(zt,Ht,xe)).then(De=>De&&S5(De)).catch(De=>Gt(De,zt,Ht))}const we=zt=>r.go(zt);let oe;const Be=new Set,Ue={currentRoute:a,listening:!0,addRoute:m,removeRoute:y,hasRoute:g,getRoutes:h,resolve:b,options:n,push:L,replace:R,go:we,back:()=>we(-1),forward:()=>we(1),beforeEach:s.add,beforeResolve:A.add,afterEach:o.add,onError:Xt.add,isReady:Wt,install(zt){const Ht=this;zt.component("RouterLink",uS),zt.component("RouterView",PB),zt.config.globalProperties.$router=Ht,Object.defineProperty(zt.config.globalProperties,"$route",{enumerable:!0,get:()=>TA(a)}),Ba&&!oe&&a.value===iA&&(oe=!0,L(r.location).catch(Le=>{}));const re={};for(const Le in iA)re[Le]=Ln(()=>a.value[Le]);zt.provide(Rm,Ht),zt.provide(LB,Ks(re)),zt.provide(Yp,a);const le=zt.unmount;Be.add(zt),zt.unmount=function(){Be.delete(zt),Be.size<1&&(l=iA,Dt&&Dt(),Dt=null,a.value=iA,oe=!1,jt=!1),le()}}};return Ue}function Yo(n){return n.reduce((t,e)=>t.then(()=>e()),Promise.resolve())}function gS(n,t){const e=[],i=[],r=[],s=Math.max(t.matched.length,n.matched.length);for(let A=0;A<s;A++){const o=t.matched[A];o&&(n.matched.find(l=>Ga(l,o))?i.push(o):e.push(o));const a=n.matched[A];a&&(t.matched.find(l=>Ga(l,a))||r.push(a))}return[e,i,r]}const $i=gh("state",{state:()=>({contentStandState:"StandOverview",sideBarWidth:40,activeNavigation:null,standid:3,mobile:!1,currentCompontentName:"StandModal"}),getters:{standState:n=>n.contentStandState,sideBarWidthState:n=>n.sideBarWidth,standidState:n=>n.standid,activeNavigationState:n=>n.activeNavigation,mobileversion:n=>!(window.innerWidth>768),currentCompontentNameState:n=>n.currentCompontentName},actions:{setStandContent(n){this.contentStandState=n},setActiveNavigation(n){this.activeNavigation=n},setActiveStand(n){this.standid=n},randomizeCounter(){this.count=Math.round(100*Math.random())},setSideBarWidth(n){this.sideBarWidth=n}}});const wi=(n,t)=>{const e=n.__vccOpts||n;for(const[i,r]of t)e[i]=r;return e};const mS={setup(){},data(){return{navMode:""}},mounted(){this.$router.currentRoute._value.path.includes("/stand")&&(this.navMode="stand "),this.$router.currentRoute._value.path.includes("/teilnehmer")&&(this.navMode="teilnehmer "),this.$router.currentRoute._value.path=="/programm"&&(this.navMode="programm")},watch:{"$route.fullPath"(n,t){console.log("test slug",this.$router.currentRoute._value.path),this.$router.currentRoute._value.path.includes("/stand")&&(this.navMode="stand "),this.$router.currentRoute._value.path.includes("/teilnehmer")&&(this.navMode="teilnehmer "),this.$router.currentRoute._value.path=="/programm"&&(this.navMode="programm")}}};function wS(n,t,e,i,r,s){return ye(),be("div")}const Pc=wi(mS,[["render",wS],["__scopeId","data-v-05cb9edd"]]);const vS={__name:"App",setup(n){return(t,e)=>(ye(),dh(TA(PB),{key:t.$route.fullPath,class:"content-area"}))}},yS="modulepreload",BS=function(n){return"/"+n},Q1={}
25,_S=function(t,e,i){if(!e||e.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(e.map(s=>{if(s=BS(s),s in Q1)return;Q1[s]=!0;const A=s.endsWith(".css"),o=A?'[rel="stylesheet"]':"";if(!!i)for(let c=r.length-1;c>=0;c--){const u=r[c];if(u.href===s&&(!A||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${o}`))return;const l=document.createElement("link");if(l.rel=A?"stylesheet":yS,A||(l.as="script",l.crossOrigin=""),l.href=s,document.head.appendChild(l),A)return new Promise((c,u)=>{l.addEventListener("load",c),l.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t())};function DB(n,t){return function(){return n.apply(t,arguments)}}const{toString:xS}=Object.prototype,{getPrototypeOf:Om}=Object,wh=(n=>t=>{const e=xS.call(t);return n[e]||(n[e]=e.slice(8,-1).toLowerCase())})(Object.create(null)),$r=n=>(n=n.toLowerCase(),t=>wh(t)===n),vh=n=>t=>typeof t===n,{isArray:ol}=Array,mc=vh("undefined");function bS(n){return n!==null&&!mc(n)&&n.constructor!==null&&!mc(n.constructor)&&ur(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const RB=$r("ArrayBuffer");function CS(n){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(n):t=n&&n.buffer&&RB(n.buffer),t}const SS=vh("string"),ur=vh("function"),OB=vh("number"),yh=n=>n!==null&&typeof n=="object",FS=n=>n===!0||n===!1,nf=n=>{if(wh(n)!=="object")return!1;const t=Om(n);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)},ES=$r("Date"),MS=$r("File"),US=$r("Blob"),TS=$r("FileList"),IS=n=>yh(n)&&ur(n.pipe),QS=n=>{let t;return n&&(typeof FormData=="function"&&n instanceof FormData||ur(n.append)&&((t=wh(n))==="formdata"||t==="object"&&ur(n.toString)&&n.toString()==="[object FormData]"))},LS=$r("URLSearchParams"),[PS,DS,RS,OS]=["ReadableStream","Request","Response","Headers"].map($r),HS=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Dc(n,t,{allOwnKeys:e=!1}={}){if(n===null||typeof n>"u")return;let i,r;if(typeof n!="object"&&(n=[n]),ol(n))for(i=0,r=n.length;i<r;i++)t.call(null,n[i],i,n);else{const s=e?Object.getOwnPropertyNames(n):Object.keys(n),A=s.length;let o;for(i=0;i<A;i++)o=s[i],t.call(null,n[o],o,n)}}function HB(n,t){t=t.toLowerCase();const e=Object.keys(n);let i=e.length,r;for(;i-- >0;)if(r=e[i],t===r.toLowerCase())return r;return null}const fo=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),kB=n=>!mc(n)&&n!==fo;function Jp(){const{caseless:n}=kB(this)&&this||{},t={},e=(i,r)=>{const s=n&&HB(t,r)||r;nf(t[s])&&nf(i)?t[s]=Jp(t[s],i):nf(i)?t[s]=Jp({},i):ol(i)?t[s]=i.slice():t[s]=i};for(let i=0,r=arguments.length;i<r;i++)arguments[i]&&Dc(arguments[i],e);return t}const kS=(n,t,e,{allOwnKeys:i}={})=>(Dc(t,(r,s)=>{e&&ur(r)?n[s]=DB(r,e):n[s]=r},{allOwnKeys:i}),n),NS=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),zS=(n,t,e,i)=>{n.prototype=Object.create(t.prototype,i),n.prototype.constructor=n,Object.defineProperty(n,"super",{value:t.prototype}),e&&Object.assign(n.prototype,e)},VS=(n,t,e,i)=>{let r,s,A;const o={};if(t=t||{},n==null)return t;do{for(r=Object.getOwnPropertyNames(n),s=r.length;s-- >0;)A=r[s],(!i||i(A,n,t))&&!o[A]&&(t[A]=n[A],o[A]=!0);n=e!==!1&&Om(n)}while(n&&(!e||e(n,t))&&n!==Object.prototype);return t},GS=(n,t,e)=>{n=String(n),(e===void 0||e>n.length)&&(e=n.length),e-=t.length;const i=n.indexOf(t,e);return i!==-1&&i===e},KS=n=>{if(!n)return null;if(ol(n))return n;let t=n.length;if(!OB(t))return null;const e=new Array(t);for(;t-- >0;)e[t]=n[t];return e},WS=(n=>t=>n&&t instanceof n)(typeof Uint8Array<"u"&&Om(Uint8Array)),qS=(n,t)=>{const i=(n&&n[Symbol.iterator]).call(n);let r;for(;(r=i.next())&&!r.done;){const s=r.value;t.call(n,s[0],s[1])}},jS=(n,t)=>{let e;const i=[];for(;(e=n.exec(t))!==null;)i.push(e);return i},XS=$r("HTMLFormElement"),YS=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,i,r){return i.toUpperCase()+r}),L1=(({hasOwnProperty:n})=>(t,e)=>n.call(t,e))(Object.prototype),JS=$r("RegExp"),NB=(n,t)=>{const e=Object.getOwnPropertyDescriptors(n),i={};Dc(e,(r,s)=>{let A;(A=t(r,s,n))!==!1&&(i[s]=A||r)}),Object.defineProperties(n,i)},ZS=n=>{NB(n,(t,e)=>{if(ur(n)&&["arguments","caller","callee"].indexOf(e)!==-1)return!1;const i=n[e];if(!!ur(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+e+"'")})}})},$S=(n,t)=>{const e={},i=r=>{r.forEach(s=>{e[s]=!0})};return ol(n)?i(n):i(String(n).split(t)),e},tF=()=>{},eF=(n,t)=>n!=null&&Number.isFinite(n=+n)?n:t,pd="abcdefghijklmnopqrstuvwxyz",P1="0123456789",zB={DIGIT
vendor: 4,698 bytes, line 25
25:P1,ALPHA:pd,ALPHA_DIGIT:pd+pd.toUpperCase()+P1},nF=(n=16,t=zB.ALPHA_DIGIT)=>{let e="";const{length:i}=t;for(;n--;)e+=t[Math.random()*i|0];return e};function iF(n){return!!(n&&ur(n.append)&&n[Symbol.toStringTag]==="FormData"&&n[Symbol.iterator])}const rF=n=>{const t=new Array(10),e=(i,r)=>{if(yh(i)){if(t.indexOf(i)>=0)return;if(!("toJSON"in i)){t[r]=i;const s=ol(i)?[]:{};return Dc(i,(A,o)=>{const a=e(A,r+1);!mc(a)&&(s[o]=a)}),t[r]=void 0,s}}return i};return e(n,0)},sF=$r("AsyncFunction"),AF=n=>n&&(yh(n)||ur(n))&&ur(n.then)&&ur(n.catch),VB=((n,t)=>n?setImmediate:t?((e,i)=>(fo.addEventListener("message",({source:r,data:s})=>{r===fo&&s===e&&i.length&&i.shift()()},!1),r=>{i.push(r),fo.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))(typeof setImmediate=="function",ur(fo.postMessage)),oF=typeof queueMicrotask<"u"?queueMicrotask.bind(fo):typeof process<"u"&&process.nextTick||VB,Ae={isArray:ol,isArrayBuffer:RB,isBuffer:bS,isFormData:QS,isArrayBufferView:CS,isString:SS,isNumber:OB,isBoolean:FS,isObject:yh,isPlainObject:nf,isReadableStream:PS,isRequest:DS,isResponse:RS,isHeaders:OS,isUndefined:mc,isDate:ES,isFile:MS,isBlob:US,isRegExp:JS,isFunction:ur,isStream:IS,isURLSearchParams:LS,isTypedArray:WS,isFileList:TS,forEach:Dc,merge:Jp,extend:kS,trim:HS,stripBOM:NS,inherits:zS,toFlatObject:VS,kindOf:wh,kindOfTest:$r,endsWith:GS,toArray:KS,forEachEntry:qS,matchAll:jS,isHTMLForm:XS,hasOwnProperty:L1,hasOwnProp:L1,reduceDescriptors:NB,freezeMethods:ZS,toObjectSet:$S,toCamelCase:YS,noop:tF,toFiniteNumber:eF,findKey:HB,global:fo,isContextDefined:kB,ALPHABET:zB,generateString:nF,isSpecCompliantForm:iF,toJSONObject:rF,isAsyncFn:sF,isThenable:AF,setImmediate:VB,asap:oF};function on(n,t,e,i,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=n,this.name="AxiosError",t&&(this.code=t),e&&(this.config=e),i&&(this.request=i),r&&(this.response=r,this.status=r.status?r.status:null)}Ae.inherits(on,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Ae.toJSONObject(this.config),code:this.code,status:this.status}}});const GB=on.prototype,KB={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(n=>{KB[n]={value:n}});Object.defineProperties(on,KB);Object.defineProperty(GB,"isAxiosError",{value:!0});on.from=(n,t,e,i,r,s)=>{const A=Object.create(GB);return Ae.toFlatObject(n,A,function(a){return a!==Error.prototype},o=>o!=="isAxiosError"),on.call(A,n.message,t,e,i,r),A.cause=n,A.name=n.name,s&&Object.assign(A,s),A};const aF=null;function Zp(n){return Ae.isPlainObject(n)||Ae.isArray(n)}function WB(n){return Ae.endsWith(n,"[]")?n.slice(0,-2):n}function D1(n,t,e){return n?n.concat(t).map(function(r,s){return r=WB(r),!e&&s?"["+r+"]":r}).join(e?".":""):t}function lF(n){return Ae.isArray(n)&&!n.some(Zp)}const cF=Ae.toFlatObject(Ae,{},null,function(t){return/^is[A-Z]/.test(t)});function Bh(n,t,e){if(!Ae.isObject(n))throw new TypeError("target must be an object");t=t||new FormData,e=Ae.toFlatObject(e,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,g){return!Ae.isUndefined(g[h])});const i=e.metaTokens,r=e.visitor||c,s=e.dots,A=e.indexes,a=(e.Blob||typeof Blob<"u"&&Blob)&&Ae.isSpecCompliantForm(t);if(!Ae.isFunction(r))throw new TypeError("visitor must be a function");function l(y){if(y===null)return"";if(Ae.isDate(y))return y.toISOString();if(!a&&Ae.isBlob(y))throw new on("Blob is not supported. Use a Buffer instead.");return Ae.isArrayBuffer(y)||Ae.isTypedArray(y)?a&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function c(y,h,g){let b=y;if(y&&!g&&typeof y=="object"){if(Ae.endsWith(h,"{}"))h=i?h:h.slice(0,-2),y=JSON.stringify(y);else if(Ae.isArray(y)&&lF(y)||(Ae.isFileList(y)||Ae.endsWith(h,"[]"))&&(b=Ae.toArray(y)))return h=WB(h),b.forEach(function(N,L){!(Ae.isUndefined(N)||N===null)&&t.append(A===!0?D1([h],L,s):A===null?h:h+"[]",l(N))}),!1}return Zp(y)?!0:(t.append(D1(g,h,s),l(y)),!1)}const u=[],f=Object.assign(cF,{defaultVisitor:c,convertValue:l,isVisitable:Zp});function m(y,h){if(!Ae.isUndefined(y)){if(u.indexOf(y)!==-1)throw Error("Circular reference detected in "+h.join("."));u.push(y),Ae.forEach(y,function(b,U){(!(Ae.isUndefined(b)||b===null)&&r.call(t,b,Ae.isString(U)?U.trim():U,h,f))===!0&&m(b,h?h.concat(U):[U])}),u.pop()}}if(!Ae.isObject(n))throw new TypeError("data must be an object");return m(n),t}
vendor: 4,478 bytes, line 25
25function R1(n){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(i){return t[i]})}function Hm(n,t){this._pairs=[],n&&Bh(n,this,t)}const qB=Hm.prototype;qB.append=function(t,e){this._pairs.push([t,e])};qB.toString=function(t){const e=t?function(i){return t.call(this,i,R1)}:R1;return this._pairs.map(function(r){return e(r[0])+"="+e(r[1])},"").join("&")};function uF(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function jB(n,t,e){if(!t)return n;const i=e&&e.encode||uF,r=e&&e.serialize;let s;if(r?s=r(t,e):s=Ae.isURLSearchParams(t)?t.toString():new Hm(t,e).toString(i),s){const A=n.indexOf("#");A!==-1&&(n=n.slice(0,A)),n+=(n.indexOf("?")===-1?"?":"&")+s}return n}class fF{constructor(){this.handlers=[]}use(t,e,i){return this.handlers.push({fulfilled:t,rejected:e,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Ae.forEach(this.handlers,function(i){i!==null&&t(i)})}}const O1=fF,XB={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},hF=typeof URLSearchParams<"u"?URLSearchParams:Hm,dF=typeof FormData<"u"?FormData:null,pF=typeof Blob<"u"?Blob:null,gF={isBrowser:!0,classes:{URLSearchParams:hF,FormData:dF,Blob:pF},protocols:["http","https","file","blob","url","data"]},km=typeof window<"u"&&typeof document<"u",$p=typeof navigator=="object"&&navigator||void 0,mF=km&&(!$p||["ReactNative","NativeScript","NS"].indexOf($p.product)<0),wF=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),vF=km&&window.location.href||"http://localhost",yF=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:km,hasStandardBrowserWebWorkerEnv:wF,hasStandardBrowserEnv:mF,navigator:$p,origin:vF},Symbol.toStringTag,{value:"Module"})),ji={...yF,...gF};function BF(n,t){return Bh(n,new ji.classes.URLSearchParams,Object.assign({visitor:function(e,i,r,s){return ji.isNode&&Ae.isBuffer(e)?(this.append(i,e.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function _F(n){return Ae.matchAll(/\w+|\[(\w*)]/g,n).map(t=>t[0]==="[]"?"":t[1]||t[0])}function xF(n){const t={},e=Object.keys(n);let i;const r=e.length;let s;for(i=0;i<r;i++)s=e[i],t[s]=n[s];return t}function YB(n){function t(e,i,r,s){let A=e[s++];if(A==="__proto__")return!0;const o=Number.isFinite(+A),a=s>=e.length;return A=!A&&Ae.isArray(r)?r.length:A,a?(Ae.hasOwnProp(r,A)?r[A]=[r[A],i]:r[A]=i,!o):((!r[A]||!Ae.isObject(r[A]))&&(r[A]=[]),t(e,i,r[A],s)&&Ae.isArray(r[A])&&(r[A]=xF(r[A])),!o)}if(Ae.isFormData(n)&&Ae.isFunction(n.entries)){const e={};return Ae.forEachEntry(n,(i,r)=>{t(_F(i),r,e,0)}),e}return null}function bF(n,t,e){if(Ae.isString(n))try{return(t||JSON.parse)(n),Ae.trim(n)}catch(i){if(i.name!=="SyntaxError")throw i}return(e||JSON.stringify)(n)}const Nm={transitional:XB,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const i=e.getContentType()||"",r=i.indexOf("application/json")>-1,s=Ae.isObject(t);if(s&&Ae.isHTMLForm(t)&&(t=new FormData(t)),Ae.isFormData(t))return r?JSON.stringify(YB(t)):t;if(Ae.isArrayBuffer(t)||Ae.isBuffer(t)||Ae.isStream(t)||Ae.isFile(t)||Ae.isBlob(t)||Ae.isReadableStream(t))return t;if(Ae.isArrayBufferView(t))return t.buffer;if(Ae.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(s){if(i.indexOf("application/x-www-form-urlencoded")>-1)return BF(t,this.formSerializer).toString();if((o=Ae.isFileList(t))||i.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Bh(o?{"files[]":t}:t,a&&new a,this.formSerializer)}}return s||r?(e.setContentType("application/json",!1),bF(t)):t}],transformResponse:[function(t){const e=this.transitional||Nm.transitional,i=e&&e.forcedJSONParsing,r=this.responseType==="json";if(Ae.isResponse(t)||Ae.isReadableStream(t))return t;if(t&&Ae.isString(t)&&(i&&!this.responseType||r)){const A=!(e&&e.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(o){if(A)throw o.name==="SyntaxError"?on.from(o,on.ERR_BAD_RESPONSE,this,null,this.response):o}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ji.classes.FormData,Blob:ji.
vendor: 4,729 bytes, lines 25-27
25classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ae.forEach(["delete","get","head","post","put","patch"],n=>{Nm.headers[n]={}});const zm=Nm,CF=Ae.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),SF=n=>{const t={};let e,i,r;return n&&n.split(` 26`).forEach(function(A){r=A.indexOf(":"),e=A.substring(0,r).trim().toLowerCase(),i=A.substring(r+1).trim(),!(!e||t[e]&&CF[e])&&(e==="set-cookie"?t[e]?t[e].push(i):t[e]=[i]:t[e]=t[e]?t[e]+", "+i:i)}),t},H1=Symbol("internals");function yl(n){return n&&String(n).trim().toLowerCase()}function rf(n){return n===!1||n==null?n:Ae.isArray(n)?n.map(rf):String(n)}function FF(n){const t=Object.create(null),e=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=e.exec(n);)t[i[1]]=i[2];return t}const EF=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function gd(n,t,e,i,r){if(Ae.isFunction(i))return i.call(this,t,e);if(r&&(t=e),!!Ae.isString(t)){if(Ae.isString(i))return t.indexOf(i)!==-1;if(Ae.isRegExp(i))return i.test(t)}}function MF(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,e,i)=>e.toUpperCase()+i)}function UF(n,t){const e=Ae.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(n,i+e,{value:function(r,s,A){return this[i].call(this,t,r,s,A)},configurable:!0})})}class _h{constructor(t){t&&this.set(t)}set(t,e,i){const r=this;function s(o,a,l){const c=yl(a);if(!c)throw new Error("header name must be a non-empty string");const u=Ae.findKey(r,c);(!u||r[u]===void 0||l===!0||l===void 0&&r[u]!==!1)&&(r[u||a]=rf(o))}const A=(o,a)=>Ae.forEach(o,(l,c)=>s(l,c,a));if(Ae.isPlainObject(t)||t instanceof this.constructor)A(t,e);else if(Ae.isString(t)&&(t=t.trim())&&!EF(t))A(SF(t),e);else if(Ae.isHeaders(t))for(const[o,a]of t.entries())s(a,o,i);else t!=null&&s(e,t,i);return this}get(t,e){if(t=yl(t),t){const i=Ae.findKey(this,t);if(i){const r=this[i];if(!e)return r;if(e===!0)return FF(r);if(Ae.isFunction(e))return e.call(this,r,i);if(Ae.isRegExp(e))return e.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=yl(t),t){const i=Ae.findKey(this,t);return!!(i&&this[i]!==void 0&&(!e||gd(this,this[i],i,e)))}return!1}delete(t,e){const i=this;let r=!1;function s(A){if(A=yl(A),A){const o=Ae.findKey(i,A);o&&(!e||gd(i,i[o],o,e))&&(delete i[o],r=!0)}}return Ae.isArray(t)?t.forEach(s):s(t),r}clear(t){const e=Object.keys(this);let i=e.length,r=!1;for(;i--;){const s=e[i];(!t||gd(this,this[s],s,t,!0))&&(delete this[s],r=!0)}return r}normalize(t){const e=this,i={};return Ae.forEach(this,(r,s)=>{const A=Ae.findKey(i,s);if(A){e[A]=rf(r),delete e[s];return}const o=t?MF(s):String(s).trim();o!==s&&delete e[s],e[o]=rf(r),i[o]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return Ae.forEach(this,(i,r)=>{i!=null&&i!==!1&&(e[r]=t&&Ae.isArray(i)?i.join(", "):i)}),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,e])=>t+": "+e).join(` 27`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const i=new this(t);return e.forEach(r=>i.set(r)),i}static accessor(t){const i=(this[H1]=this[H1]={accessors:{}}).accessors,r=this.prototype;function s(A){const o=yl(A);i[o]||(UF(r,A),i[o]=!0)}return Ae.isArray(t)?t.forEach(s):s(t),this}}_h.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Ae.reduceDescriptors(_h.prototype,({value:n},t)=>{let e=t[0].toUpperCase()+t.slice(1);return{get:()=>n,set(i){this[e]=i}}});Ae.freezeMethods(_h);const qr=_h;function md(n,t){const e=this||zm,i=t||e,r=qr.from(i.headers);let s=i.data;return Ae.forEach(n,function(o){s=o.call(e,s,r.normalize(),t?t.status:void 0)}),r.normalize(),s}function JB(n){return!!(n&&n.__CANCEL__)}function al(n,t,e){on.call(this,n==null?"canceled":n,on.ERR_CANCELED,t,e),this.name="CanceledError"}Ae.inherits(al,on,{__CANCEL__:!0});function ZB(n,t,e){const i=e.config.validateStatus;!e.status||!i||i(e.status)?n(e):t(new on("Request failed with status code "+e.status,[on.ERR_BAD_REQUEST,on.ERR_BAD_RESPONSE][Math.floor(e.status/100)-4],e.config,e.request,e))}function TF(n){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return t&&t[1]||""}function IF(n,t){n=n||10;const e=new Array(n),i=new Array(n);let r=0,s=0,A;return t=t!==void 0?t:1e3,function(a){const l=Date.now(),c=i[s];A||(A=l),e[r]=a,i[r]=l;let u=s,f=0;for(;u!==r;
27)f+=e[u++],u=u%n;if(r=(r+1)%n,r===s&&(s=(s+1)%n),l-A<t)return;const m=c&&l-c;return m?Math.round(f*1e3/m):void 0}}function QF(n,t){let e=0,i=1e3/t,r,s;const A=(l,c=Date.now())=>{e=c,r=null,s&&(clearTimeout(s),s=null),n.apply(null,l)};return[(...l)=>{const c=Date.now(),u=c-e;u>=i?A(l,c):(r=l,s||(s=setTimeout(()=>{s=null,A(r)},i-u)))},()=>r&&A(r)]}const Ff=(n,t,e=3)=>{let i=0;const r=IF(50,250);return QF(s=>{const A=s.loaded,o=s.lengthComputable?s.total:void 0,a=A-i,l=r(a),c=A<=o;i=A;const u={loaded:A,total:o,progress:o?A/o:void 0,bytes:a,rate:l||void 0,estimated:l&&o&&c?(o-A)/l:void 0,event:s,lengthComputable:o!=null,[t?"download":"upload"]:!0};n(u)},e)},k1=(n,t)=>{const e=n!=null;return[i=>t[0]({lengthComputable:e,total:n,loaded:i}),t[1]]},N1=n=>(...t)=>Ae.asap(()=>n(...t)),LF=ji.hasStandardBrowserEnv?function(){const t=ji.navigator&&/(msie|trident)/i.test(ji.navigator.userAgent),e=document.createElement("a");let i;function r(s){let A=s;return t&&(e.setAttribute("href",A),A=e.href),e.setAttribute("href",A),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:e.pathname.charAt(0)==="/"?e.pathname:"/"+e.pathname}}return i=r(window.location.href),function(A){const o=Ae.isString(A)?r(A):A;return o.protocol===i.protocol&&o.host===i.host}}():function(){return function(){return!0}}(),PF=ji.hasStandardBrowserEnv?{write(n,t,e,i,r,s){const A=[n+"="+encodeURIComponent(t)];Ae.isNumber(e)&&A.push("expires="+new Date(e).toGMTString()),Ae.isString(i)&&A.push("path="+i),Ae.isString(r)&&A.push("domain="+r),s===!0&&A.push("secure"),document.cookie=A.join("; ")},read(n){const t=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(n){this.write(n,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function DF(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function RF(n,t){return t?n.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):n}function $B(n,t){return n&&!DF(t)?RF(n,t):t}const z1=n=>n instanceof qr?{...n}:n;function To(n,t){t=t||{};const e={};function i(l,c,u){return Ae.isPlainObject(l)&&Ae.isPlainObject(c)?Ae.merge.call({caseless:u},l,c):Ae.isPlainObject(c)?Ae.merge({},c):Ae.isArray(c)?c.slice():c}
27function r(l,c,u){if(Ae.isUndefined(c)){if(!Ae.isUndefined(l))return i(void 0,l,u)}else return i(l,c,u)}function s(l,c){if(!Ae.isUndefined(c))return i(void 0,c)}function A(l,c){if(Ae.isUndefined(c)){if(!Ae.isUndefined(l))return i(void 0,l)}else return i(void 0,c)}function o(l,c,u){if(u in t)return i(l,c);if(u in n)return i(void 0,l)}const a={url:s,method:s,data:s,baseURL:A,transformRequest:A,transformResponse:A,paramsSerializer:A,timeout:A,timeoutMessage:A,withCredentials:A,withXSRFToken:A,adapter:A,responseType:A,xsrfCookieName:A,xsrfHeaderName:A,onUploadProgress:A,onDownloadProgress:A,decompress:A,maxContentLength:A,maxBodyLength:A,beforeRedirect:A,transport:A,httpAgent:A,httpsAgent:A,cancelToken:A,socketPath:A,responseEncoding:A,validateStatus:o,headers:(l,c)=>r(z1(l),z1(c),!0)};return Ae.forEach(Object.keys(Object.assign({},n,t)),function(c){const u=a[c]||r,f=u(n[c],t[c],c);Ae.isUndefined(f)&&u!==o||(e[c]=f)}),e}const t_=n=>{const t=To({},n);let{data:e,withXSRFToken:i,xsrfHeaderName:r,xsrfCookieName:s,headers:A,auth:o}=t;t.headers=A=qr.from(A),t.url=jB($B(t.baseURL,t.url),n.params,n.paramsSerializer),o&&A.set("Authorization","Basic "+btoa((o.username||"")+":"+(o.password?unescape(encodeURIComponent(o.password)):"")));let a;if(Ae.isFormData(e)){if(ji.hasStandardBrowserEnv||ji.hasStandardBrowserWebWorkerEnv)A.setContentType(void 0);else if((a=A.getContentType())!==!1){const[l,...c]=a?a.split(";").map(u=>u.trim()).filter(Boolean):[];A.setContentType([l||"multipart/form-data",...c].join("; "))}}if(ji.hasStandardBrowserEnv&&(i&&Ae.isFunction(i)&&(i=i(t)),i||i!==!1&&LF(t.url))){const l=r&&s&&PF.read(s);l&&A.set(r,l)}return t},OF=typeof XMLHttpRequest<"u",HF=OF&&function(n){return new Promise(function(e,i){const r=t_(n);let s=r.data;const A=qr.from(r.headers).normalize();let{responseType:o,onUploadProgress:a,onDownloadProgress:l}=r,c,u,f,m,y;function h(){m&&m(),y&&y(),r.cancelToken&&r.cancelToken.unsubscribe(c),r.signal&&r.signal.removeEventListener("abort",c)}let g=new XMLHttpRequest;g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout;function b(){if(!g)return;const N=qr.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),R={data:!o||o==="text"||o==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:N,config:n,request:g};ZB(function(st){e(st),h()},function(st){i(st),h()},R),g=null}"onloadend"in g?g.onloadend=b:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(b)},g.onabort=function(){!g||(i(new on("Request aborted",on.ECONNABORTED,n,g)),g=null)},g.onerror=function(){i(new on("Network Error",on.ERR_NETWORK,n,g)),g=null},g.ontimeout=function(){let L=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const R=r.transitional||XB;r.timeoutErrorMessage&&(L=r.timeoutErrorMessage),i(new on(L,R.clarifyTimeoutError?on.ETIMEDOUT:on.ECONNABORTED,n,g)),g=null},s===void 0&&A.setContentType(null),"setRequestHeader"in g&&Ae.forEach(A.toJSON(),function(L,R){g.setRequestHeader(R,L)}),Ae.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),o&&o!=="json"&&(g.responseType=r.responseType),l&&([f,y]=Ff(l,!0),g.addEventListener("progress",f)),a&&g.upload&&([u,m]=Ff(a),g.upload.addEventListener("progress",u),g.upload.addEventListener("loadend",m)),(r.cancelToken||r.signal)&&(c=N=>{!g||(i(!N||N.type?new al(null,n,g):N),g.abort(),g=null)},r.cancelToken&&r.cancelToken.subscribe(c),r.signal&&(r.signal.aborted?c():r.signal.addEventListener("abort",c)));const U=TF(r.url);if(U&&ji.protocols.indexOf(U)===-1){i(new on("Unsupported protocol "+U+":",on.ERR_BAD_REQUEST,n));return}g.send(s||null)})},kF=(n,t)=>{const{length:e}=n=n?n.filter(Boolean):[];if(t||e){let i=new AbortController,r;const s=function(l){if(!r){r=!0,o();const c=l instanceof Error?l:this.reason;i.abort(c instanceof on?c:new al(c instanceof Error?c.message:c))}};let A=t&&setTimeout(()=>{A=null,s(new on(`timeout ${t} of ms exceeded`,on.ETIMEDOUT))},t);const o=()=>{n&&(A&&clearTimeout(A),A=null,n.forEach(l=>{l.unsubscribe?l.unsubscribe(s):l.removeEventListener("abort",s)}),n=null)};
27n.forEach(l=>l.addEventListener("abort",s));const{signal:a}=i;return a.unsubscribe=()=>Ae.asap(o),a}},NF=kF,zF=function*(n,t){let e=n.byteLength;if(!t||e<t){yield n;return}let i=0,r;for(;i<e;)r=i+t,yield n.slice(i,r),i=r},VF=async function*(n,t){for await(const e of GF(n))yield*zF(e,t)},GF=async function*(n){if(n[Symbol.asyncIterator]){yield*n;return}const t=n.getReader();try{for(;;){const{done:e,value:i}=await t.read();if(e)break;yield i}}finally{await t.cancel()}},V1=(n,t,e,i)=>{const r=VF(n,t);let s=0,A,o=a=>{A||(A=!0,i&&i(a))};return new ReadableStream({async pull(a){try{const{done:l,value:c}=await r.next();if(l){o(),a.close();return}let u=c.byteLength;if(e){let f=s+=u;e(f)}a.enqueue(new Uint8Array(c))}catch(l){throw o(l),l}},cancel(a){return o(a),r.return()}},{highWaterMark:2})},xh=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",e_=xh&&typeof ReadableStream=="function",KF=xh&&(typeof TextEncoder=="function"?(n=>t=>n.encode(t))(new TextEncoder):async n=>new Uint8Array(await new Response(n).arrayBuffer())),n_=(n,...t)=>{try{return!!n(...t)}catch{return!1}},WF=e_&&n_(()=>{let n=!1;const t=new Request(ji.origin,{body:new ReadableStream,method:"POST",get duplex(){return n=!0,"half"}}).headers.has("Content-Type");return n&&!t}),G1=64*1024,tg=e_&&n_(()=>Ae.isReadableStream(new Response("").body)),Ef={stream:tg&&(n=>n.body)};
27xh&&(n=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Ef[t]&&(Ef[t]=Ae.isFunction(n[t])?e=>e[t]():(e,i)=>{throw new on(`Response type '${t}' is not supported`,on.ERR_NOT_SUPPORT,i)})})})(new Response);const qF=async n=>{if(n==null)return 0;if(Ae.isBlob(n))return n.size;if(Ae.isSpecCompliantForm(n))return(await new Request(ji.origin,{method:"POST",body:n}).arrayBuffer()).byteLength;if(Ae.isArrayBufferView(n)||Ae.isArrayBuffer(n))return n.byteLength;if(Ae.isURLSearchParams(n)&&(n=n+""),Ae.isString(n))return(await KF(n)).byteLength},jF=async(n,t)=>{const e=Ae.toFiniteNumber(n.getContentLength());return e==null?qF(t):e},XF=xh&&(async n=>{let{url:t,method:e,data:i,signal:r,cancelToken:s,timeout:A,onDownloadProgress:o,onUploadProgress:a,responseType:l,headers:c,withCredentials:u="same-origin",fetchOptions:f}=t_(n);l=l?(l+"").toLowerCase():"text";let m=NF([r,s&&s.toAbortSignal()],A),y;const h=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let g;try{if(a&&WF&&e!=="get"&&e!=="head"&&(g=await jF(c,i))!==0){let R=new Request(t,{method:"POST",body:i,duplex:"half"}),j;if(Ae.isFormData(i)&&(j=R.headers.get("content-type"))&&c.setContentType(j),R.body){const[st,O]=k1(g,Ff(N1(a)));i=V1(R.body,G1,st,O)}}Ae.isString(u)||(u=u?"include":"omit");const b="credentials"in Request.prototype;y=new Request(t,{...f,signal:m,method:e.toUpperCase(),headers:c.normalize().toJSON(),body:i,duplex:"half",credentials:b?u:void 0});let U=await fetch(y);const N=tg&&(l==="stream"||l==="response");if(tg&&(o||N&&h)){const R={};["status","statusText","headers"].forEach(V=>{R[V]=U[V]});const j=Ae.toFiniteNumber(U.headers.get("content-length")),[st,O]=o&&k1(j,Ff(N1(o),!0))||[];U=new Response(V1(U.body,G1,st,()=>{O&&O(),h&&h()}),R)}l=l||"text";let L=await Ef[Ae.findKey(Ef,l)||"text"](U,n);return!N&&h&&h(),await new Promise((R,j)=>{ZB(R,j,{data:L,headers:qr.from(U.headers),status:U.status,statusText:U.statusText,config:n,request:y})})}catch(b){throw h&&h(),b&&b.name==="TypeError"&&/fetch/i.test(b.message)?Object.assign(new on("Network Error",on.ERR_NETWORK,n,y),{cause:b.cause||b}):on.from(b,b&&b.code,n,y)}}),eg={http:aF,xhr:HF,fetch:XF};Ae.forEach(eg,(n,t)=>{if(n){try{Object.defineProperty(n,"name",{value:t})}catch{}Object.defineProperty(n,"adapterName",{value:t})}});const K1=n=>`- ${n}`,YF=n=>Ae.isFunction(n)||n===null||n===!1,i_={getAdapter:n=>{n=Ae.isArray(n)?n:[n];const{length:t}=n;let e,i;const r={};for(let s=0;s<t;s++){e=n[s];let A;if(i=e,!YF(e)&&(i=eg[(A=String(e)).toLowerCase()],i===void 0))throw new on(`Unknown adapter '${A}'`);if(i)break;r[A||"#"+s]=i}if(!i){const s=Object.entries(r).map(([o,a])=>`adapter ${o} `+(a===!1?"is not supported by the environment":"is not available in the build"));let A=t?s.length>1?`since : 28`+s.map(K1).join(` 29`):" "+K1(s[0]):"as no adapter specified";throw new on("There is no suitable adapter to dispatch the request "+A,"ERR_NOT_SUPPORT")}return i},adapters:eg};function wd(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new al(null,n)}function W1(n){return wd(n),n.headers=qr.from(n.headers),n.data=md.call(n,n.transformRequest),["post","put","patch"].indexOf(n.method)!==-1&&n.headers.setContentType("application/x-www-form-urlencoded",!1),i_.getAdapter(n.adapter||zm.adapter)(n).then(function(i){return wd(n),i.data=md.call(n,n.transformResponse,i),i.headers=qr.from(i.headers),i},function(i){return JB(i)||(wd(n),i&&i.response&&(i.response.data=md.call(n,n.transformResponse,i.response),i.response.headers=qr.from(i.response.headers))),Promise.reject(i)})}const r_="1.7.7",Vm={};["object","boolean","number","function","string","symbol"].forEach((n,t)=>{Vm[n]=function(i){return typeof i===n||"a"+(t<1?"n ":" ")+n}});const q1={};Vm.transitional=function(t,e,i){function r(s,A){return"[Axios v"+r_+"] Transitional option '"+s+"'"+A+(i?". "+i:"")}return(s,A,o)=>{if(t===!1)throw new on(r(A," has been removed"+(e?" in "+e:"")),on.ERR_DEPRECATED);return e&&!q1[A]&&(q1[A]=!0,console.warn(r(A," has been deprecated since v"+e+" and will be removed in the near future"))),t?t(s,A,o):!0}};function JF(n,t,e){if(typeof n!="object")throw new on("options must be an object",on.ERR_BAD_OPTION_VALUE);const i=Object.keys(n);let r=i.length;for(;r-- >0;){const s=i[r],A=t[s];if(A){const o=n[s],a=o===void 0||A(o,s,n);if(a!==!0)throw new on("option "+s+" must be "+a,on.ERR_BAD_OPTION_VALUE);continue}if(e!==!0)throw new on("Unknown option "+s,on.ERR_BAD_OPTION)}}const ng={assertOptions:JF,validators:Vm},rA=ng.validators;class Mf{constructor(t){this.defaults=t,this.interceptors={request:new O1,response:new O1}}async request(t,e){try{return await this._request(t,e)}catch(i){if(i instanceof Error){let r;Error.captureStackTrace?Error.captureStackTrace(r={}):r=new Error;const s=r.stack?r.stack.replace(/^.+\n/,""):"";try{i.stack?s&&!String(i.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(i.stack+=` 30`+s):i.stack=s}catch{}}throw i}}_request(t,e){typeof t=="string"?(e=e||{},e.url=t):e=t||{},e=To(this.defaults,e);const{transitional:i,paramsSerializer:r,headers:s}=e;i!==void 0&&ng.assertOptions(i,{silentJSONParsing:rA.transitional(rA.boolean),forcedJSONParsing:rA.transitional(rA.boolean),clarifyTimeoutError:rA.transitional(rA.boolean)}
30,!1),r!=null&&(Ae.isFunction(r)?e.paramsSerializer={serialize:r}:ng.assertOptions(r,{encode:rA.function,serialize:rA.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let A=s&&Ae.merge(s.common,s[e.method]);s&&Ae.forEach(["delete","get","head","post","put","patch","common"],y=>{delete s[y]}),e.headers=qr.concat(A,s);const o=[];let a=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(e)===!1||(a=a&&h.synchronous,o.unshift(h.fulfilled,h.rejected))});const l=[];this.interceptors.response.forEach(function(h){l.push(h.fulfilled,h.rejected)});let c,u=0,f;if(!a){const y=[W1.bind(this),void 0];for(y.unshift.apply(y,o),y.push.apply(y,l),f=y.length,c=Promise.resolve(e);u<f;)c=c.then(y[u++],y[u++]);return c}f=o.length;let m=e;for(u=0;u<f;){const y=o[u++],h=o[u++];try{m=y(m)}catch(g){h.call(this,g);break}}try{c=W1.call(this,m)}catch(y){return Promise.reject(y)}for(u=0,f=l.length;u<f;)c=c.then(l[u++],l[u++]);return c}getUri(t){t=To(this.defaults,t);const e=$B(t.baseURL,t.url);return jB(e,t.params,t.paramsSerializer)}}Ae.forEach(["delete","get","head","options"],function(t){Mf.prototype[t]=function(e,i){return this.request(To(i||{},{method:t,url:e,data:(i||{}).data}))}});Ae.forEach(["post","put","patch"],function(t){function e(i){return function(s,A,o){return this.request(To(o||{},{method:t,headers:i?{"Content-Type":"multipart/form-data"}:{},url:s,data:A}))}}Mf.prototype[t]=e(),Mf.prototype[t+"Form"]=e(!0)});const sf=Mf;class Gm{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let e;this.promise=new Promise(function(s){e=s});const i=this;this.promise.then(r=>{if(!i._listeners)return;let s=i._listeners.length;for(;s-- >0;)i._listeners[s](r);i._listeners=null}),this.promise.then=r=>{let s;const A=new Promise(o=>{i.subscribe(o),s=o}).then(r);return A.cancel=function(){i.unsubscribe(s)},A},t(function(s,A,o){i.reason||(i.reason=new al(s,A,o),e(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);e!==-1&&this._listeners.splice(e,1)}toAbortSignal(){const t=new AbortController,e=i=>{t.abort(i)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;return{token:new Gm(function(r){t=r}),cancel:t}}}const ZF=Gm;function $F(n){return function(e){return n.apply(null,e)}}function tE(n){return Ae.isObject(n)&&n.isAxiosError===!0}const ig={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
30alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ig).forEach(([n,t])=>{ig[t]=n});const eE=ig;function s_(n){const t=new sf(n),e=DB(sf.prototype.request,t);return Ae.extend(e,sf.prototype,t,{allOwnKeys:!0}),Ae.extend(e,t,null,{allOwnKeys:!0}),e.create=function(r){return s_(To(n,r))},e}const ni=s_(zm);ni.Axios=sf;ni.CanceledError=al;ni.CancelToken=ZF;ni.isCancel=JB;ni.VERSION=r_;ni.toFormData=Bh;ni.AxiosError=on;ni.Cancel=ni.CanceledError;ni.all=function(t){return Promise.all(t)};ni.spread=$F;ni.isAxiosError=tE;ni.mergeConfig=To;ni.AxiosHeaders=qr;ni.formToJSON=n=>YB(Ae.isHTMLForm(n)?new FormData(n):n);ni.getAdapter=i_.getAdapter;ni.HttpStatusCode=eE;ni.default=ni;const Pa=ni,vd="https://cmsdemo.exporeal-berlin-brandenburg.de/",No=gh("data",{state:()=>({messestaende:null,item:null,programm:null,sideBarWidth:40}),getters:{dataMessestaende:n=>n.messestaende,sideBarWidthState:n=>n.sideBarWidth,currentItem:n=>n.item},actions:{async getMessestaende(){return this.messestaende=await Pa.get(vd+"items/messestand?fields=*&fields=kontaktdaten.*&fields=infostaende.*"),console.log("this.messestaende",this.messestaende),this.messestaende},async getProgramm(){return this.programm=await Pa.get(vd+"items/programm?filter[status][_eq]=published&fields=*&fields=tag.*&fields=tag.punkte.*"),console.log("this.programm",this.programm),this.programm},randomizeCounter(){this.count=Math.round(100*Math.random())},setSideBarWidth(n){this.sideBarWidth=n},async getItem(n){var t,e;return this.item=await Pa.get(vd+`items/${n}`),(e=(t=this.item)==null?void 0:t.data)==null?void 0:e.data[0]}}}),nE="/assets/phont-live-logo.9871acb8.svg";const iE={data(){return{programm:null,programmPDF:null}},components:{NavInfo:Pc},setup(){const n=No(),t=$i();return{dataStore:n,days:["Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag","Sonntag"],stateStore:t}},async mounted(){var n;this.programm=await this.dataStore.getProgramm(),this.programm=(n=this.programm)==null?void 0:n.data.data[0],console.log("this.programm",this.programm),this.programmPDF=await Pa.get("https://cmsdemo.exporeal-berlin-brandenburg.de/items/programm_pdf"),console.log("programm",this.programmPDF),this.stateStore.setSideBarWidth(60)},methods:{returnDay(n){const t=new Date(n),e=t.getFullYear();return this.days[t.getDay()-1]+", "+t.getDate()+"."+(t.getMonth()+1)+"."+e.toString().substring(2)},addZero(n){return n<10&&(n="0"+n),n},returnTime(n){const t=new Date(n);return this.addZero(t.getHours())+":"+this.addZero(t.getMinutes())}}},rE={class:"programm-wrapper",id:"programm-wrapper",ref:"table"},sE={class:"download-line"},AE=["href"],oE={key:0},aE={key:0},lE={key:0},cE=["innerHTML"];function uE(n,t,e,i,r,s){const A=Fi("v-pdf");return ye(),be("div",null,[_t("div",null,[qe(A,{ref:"pdf"},{default:lh(()=>{var o,a,l;return[_t("div",rE,[t[1]||(t[1]=_t("h2",null,"Programm",-1)),t[2]||(t[2]=_t("h3",{style:{"margin-left":"20px"}},"Programmgespr\xE4che live mitverfolgen:",-1)),t[3]||(t[3]=_t("div",{style:{background:"black",padding:"10px",width:"auto","border-radius":"10px","max-width":"150px","margin-bottom":"20px","margin-left":"20px"}},[_t("a",{href:"https://speech.phont.ai/expo-real-2026/watch/main/listen",target:"_blank",rel:"noopener noreferrer",style:{width:"100%"}},[_t("img",{src:nE,alt:"Programm",width:"100%",height:"auto"})])],-1)),_t("div",sE,[t[0]||(t[0]=Pn(" Hier k\xF6nnen Sie das Programm als PDF herunterladen: ",-1)),_t("a",{href:"https://cmsdemo.exporeal-berlin-brandenburg.de/assets/"+((l=(a=(o=this.programmPDF)==null?void 0:o.data)==null?void 0:a.data)==null?void 0:l.pdf),download:"Programm_Exporeal_2024.pdf",target:"_blank"},"PDF Download",8,AE)]),r.programm?(ye(),be("ul",oE,[(ye(!0),be(Qn,null,cr(r.programm.tag,(c,u)=>(ye(),be("li",{key:u,class:"outer-li"},[c.tag?(ye(),be("h2",aE,Yn(s.returnDay(c.tag)),1)):Ze("",!0),_t("ul",null,[(ye(!0),be(Qn,null,cr(c.punkte,(f,m)=>(ye(),be("li",{key:m,class:"inner-li"},[f.uhrzeit?(ye(),be("h3",lE,Yn(s.returnTime(f.uhrzeit)),1)):Ze("",!0),_t("p",{innerHTML:f.text},null,8,cE)]))),128))])]))),128))])):Ze("",!0)],512)]}),_:1},512)])])}const fE=wi(iE,[["render",uE],["__scopeId","data-v-d74c8bba"]]);function Is(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function A_(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,n.__proto__=t}/*! 31 * GSAP 3.11.3 32 * https://greensock.com 33 * 34 * @license Copyright 2008-2022, GreenSock. All rights reserved. 35 * Subject to the terms at https://greensock.com/standard-license or for 36 * Club GreenSock members, the agreement issued with that membership. 37 * @author: Jack Doyle, [email protected] 38*/var fr={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Wa={duration:.5,overwrite:!1,delay:0},Km,Xi,ti,br=1e8,xn=1/br,rg=Math.PI*2,hE=rg/4,dE=0,o_=Math.sqrt,pE=Math.cos,gE=Math.sin,ui=function(t){return typeof t=="string"},Nn=function(t){return typeof t=="function"},qs=function(t){return typeof t=="number"},Wm=function(t){return typeof t>"u"},ps=function(t){return typeof t=="object"},Yi=function(t){return t!==!1},a_=function(){return typeof window<"u"},ru=function(t){return Nn(t)||ui(t)},l_=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Ui=Array.isArray,sg=/(?:-?\.?\d|\.)+/gi,c_=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Ca=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,yd=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,u_=/[+-]=-?[.\d]+/,f_=/[^,'"\[\]\s]+/gi,mE=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Dn,yr,Ag,qm,dr={},Uf={},h_,d_=function(t){return(Uf=Io(t,dr))&&pr},jm=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},Tf=function(t,e){return!e&&console.warn(t)},p_=function(t,e){return t&&(dr[t]=e)&&Uf&&(Uf[t]=e)||dr},wc=function(){return 0},wE={suppressEvents:!0,isStart:!0,kill:!1},Af={suppressEvents:!0,kill:!1},vE={suppressEvents:!0},Xm={},IA=[],og={},g_,Ar={},Bd={},j1=30,of=[],Ym="",Jm=function(t){var e=t[0],i,r;if(ps(e)||Nn(e)||(t=[t]),!(i=(e._gsap||{}).harness)){for(r=of.length;r--&&!of[r].targetTest(e););i=of[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new O_(t[r],i)))||t.splice(r,1);return t},xo=function(t){return t._gsap||Jm(Cr(t))[0]._gsap}
vendor: 4,184 bytes, line 38
38,m_=function(t,e,i){return(i=t[e])&&Nn(i)?t[e]():Wm(i)&&t.getAttribute&&t.getAttribute(e)||i},Ji=function(t,e){return(t=t.split(",")).forEach(e)||t},Xn=function(t){return Math.round(t*1e5)/1e5||0},di=function(t){return Math.round(t*1e7)/1e7||0},Da=function(t,e){var i=e.charAt(0),r=parseFloat(e.substr(2));return t=parseFloat(t),i==="+"?t+r:i==="-"?t-r:i==="*"?t*r:t/r},yE=function(t,e){for(var i=e.length,r=0;t.indexOf(e[r])<0&&++r<i;);return r<i},If=function(){var t=IA.length,e=IA.slice(0),i,r;for(og={},IA.length=0,i=0;i<t;i++)r=e[i],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},w_=function(t,e,i,r){IA.length&&If(),t.render(e,i,r||Xi&&e<0&&(t._initted||t._startAt)),IA.length&&If()},v_=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(f_).length<2?e:ui(t)?t.trim():t},y_=function(t){return t},Ir=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},BE=function(t){return function(e,i){for(var r in i)r in e||r==="duration"&&t||r==="ease"||(e[r]=i[r])}},Io=function(t,e){for(var i in e)t[i]=e[i];return t},X1=function n(t,e){for(var i in e)i!=="__proto__"&&i!=="constructor"&&i!=="prototype"&&(t[i]=ps(e[i])?n(t[i]||(t[i]={}),e[i]):e[i]);return t},Qf=function(t,e){var i={},r;for(r in t)r in e||(i[r]=t[r]);return i},Zl=function(t){var e=t.parent||Dn,i=t.keyframes?BE(Ui(t.keyframes)):Ir;if(Yi(t.inherit))for(;e;)i(t,e.vars.defaults),e=e.parent||e._dp;return t},_E=function(t,e){for(var i=t.length,r=i===e.length;r&&i--&&t[i]===e[i];);return i<0},B_=function(t,e,i,r,s){i===void 0&&(i="_first"),r===void 0&&(r="_last");var A=t[r],o;if(s)for(o=e[s];A&&A[s]>o;)A=A._prev;return A?(e._next=A._next,A._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[r]=e,e._prev=A,e.parent=e._dp=t,e},bh=function(t,e,i,r){i===void 0&&(i="_first"),r===void 0&&(r="_last");var s=e._prev,A=e._next;s?s._next=A:t[i]===e&&(t[i]=A),A?A._prev=s:t[r]===e&&(t[r]=s),e._next=e._prev=e.parent=null},OA=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove(t),t._act=0},bo=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var i=t;i;)i._dirty=1,i=i.parent;return t},xE=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},ag=function(t,e,i,r){return t._startAt&&(Xi?t._startAt.revert(Af):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,r))},bE=function n(t){return!t||t._ts&&n(t.parent)},Y1=function(t){return t._repeat?qa(t._tTime,t=t.duration()+t._rDelay)*t:0},qa=function(t,e){var i=Math.floor(t/=e);return t&&i===t?i-1:i},Lf=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Ch=function(t){return t._end=di(t._start+(t._tDur/Math.abs(t._ts||t._rts||xn)||0))},Sh=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=di(i._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Ch(t),i._dirty||bo(i,t)),t},__=function(t,e){var i;if((e._time||e._initted&&!e._dur)&&(i=Lf(t.rawTime(),e),(!e._dur||Rc(0,e.totalDuration(),i)-e._tTime>xn)&&e.render(i,!0)),bo(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(i=t;i._dp;)i.rawTime()>=0&&i.totalTime(i._tTime),i=i._dp;t._zTime=-xn}},as=function(t,e,i,r){return e.parent&&OA(e),e._start=di((qs(i)?i:i||t!==Dn?vr(t,i,e):t._time)+e._delay),e._end=di(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),B_(t,e,"_first","_last",t._sort?"_start":0),lg(e)||(t._recent=e),r||__(t,e),t._ts<0&&Sh(t,t._tTime),t},x_=function(t,e){return(dr.ScrollTrigger||jm("scrollTrigger",e))&&dr.ScrollTrigger.create(e,t)},b_=function(t,e,i,r,s){if($m(t,e,s),!t._initted)return 1;if(!i&&t._pt&&!Xi&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&g_!==or.frame)return IA.push(t),t._lazy=[s,r],1},CE=function n(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||n(e))},lg=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},SE=function(t,e,i,r){var s=t.ratio,A=e<0||!e&&(!t._start&&CE(t)&&!(!t._initted&&lg(t))||(t._ts<0||t._dp._ts<0)&&!lg(t))?0:1,o=t._rDelay,a=0,l,c,u;if(o&&t._repeat&&(a=Rc(0,t._tDur,e),c=qa(a,o),t._yoyo&&c&1&&(A=1-A),c!==qa(t._tTime,o)&&(s=1-A,t.vars.repeatRefresh&&t._initted&&t.invalidate())),A!==s||
vendor: 4,124 bytes, line 38
38Xi||r||t._zTime===xn||!e&&t._zTime){if(!t._initted&&b_(t,e,r,i,a))return;for(u=t._zTime,t._zTime=e||(i?xn:0),i||(i=e&&!u),t.ratio=A,t._from&&(A=1-A),t._time=0,t._tTime=a,l=t._pt;l;)l.r(A,l.d),l=l._next;e<0&&ag(t,e,i,!0),t._onUpdate&&!i&&Sr(t,"onUpdate"),a&&t._repeat&&!i&&t.parent&&Sr(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===A&&(A&&OA(t,1),!i&&!Xi&&(Sr(t,A?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},FE=function(t,e,i){var r;if(i>e)for(r=t._first;r&&r._start<=i;){if(r.data==="isPause"&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=i;){if(r.data==="isPause"&&r._start<e)return r;r=r._prev}},ja=function(t,e,i,r){var s=t._repeat,A=di(e)||0,o=t._tTime/t._tDur;return o&&!r&&(t._time*=A/t._dur),t._dur=A,t._tDur=s?s<0?1e10:di(A*(s+1)+t._rDelay*s):A,o>0&&!r&&Sh(t,t._tTime=t._tDur*o),t.parent&&Ch(t),i||bo(t.parent,t),t},J1=function(t){return t instanceof qi?bo(t):ja(t,t._dur)},EE={_start:0,endTime:wc,totalDuration:wc},vr=function n(t,e,i){var r=t.labels,s=t._recent||EE,A=t.duration()>=br?s.endTime(!1):t._dur,o,a,l;return ui(e)&&(isNaN(e)||e in r)?(a=e.charAt(0),l=e.substr(-1)==="%",o=e.indexOf("="),a==="<"||a===">"?(o>=0&&(e=e.replace(/=/,"")),(a==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(e.substr(1))||0)*(l?(o<0?s:i).totalDuration()/100:1)):o<0?(e in r||(r[e]=A),r[e]):(a=parseFloat(e.charAt(o-1)+e.substr(o+1)),l&&i&&(a=a/100*(Ui(i)?i[0]:i).totalDuration()),o>1?n(t,e.substr(0,o-1),i)+a:A+a)):e==null?A:+e},$l=function(t,e,i){var r=qs(e[1]),s=(r?2:1)+(t<2?0:1),A=e[s],o,a;if(r&&(A.duration=e[1]),A.parent=i,t){for(o=A,a=i;a&&!("immediateRender"in o);)o=a.vars.defaults||{},a=Yi(a.vars.inherit)&&a.parent;A.immediateRender=Yi(o.immediateRender),t<2?A.runBackwards=1:A.startAt=e[s-1]}return new si(e[0],A,e[s+1])},KA=function(t,e){return t||t===0?e(t):e},Rc=function(t,e,i){return i<t?t:i>e?e:i},Mi=function(t,e){return!ui(t)||!(e=mE.exec(t))?"":e[1]},ME=function(t,e,i){return KA(i,function(r){return Rc(t,e,r)})},cg=[].slice,C_=function(t,e){return t&&ps(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&ps(t[0]))&&!t.nodeType&&t!==yr},UE=function(t,e,i){return i===void 0&&(i=[]),t.forEach(function(r){var s;return ui(r)&&!e||C_(r,1)?(s=i).push.apply(s,Cr(r)):i.push(r)})||i},Cr=function(t,e,i){return ti&&!e&&ti.selector?ti.selector(t):ui(t)&&!i&&(Ag||!Xa())?cg.call((e||qm).querySelectorAll(t),0):Ui(t)?UE(t,i):C_(t)?cg.call(t,0):t?[t]:[]},ug=function(t){return t=Cr(t)[0]||Tf("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return Cr(e,i.querySelectorAll?i:i===t?Tf("Invalid scope")||qm.createElement("div"):t)}},S_=function(t){return t.sort(function(){return .5-Math.random()})},F_=function(t){if(Nn(t))return t;var e=ps(t)?t:{each:t},i=Co(e.ease),r=e.from||0,s=parseFloat(e.base)||0,A={},o=r>0&&r<1,a=isNaN(r)||o,l=e.axis,c=r,u=r;return ui(r)?c=u={center:.5,edges:.5,end:1}[r]||0:!o&&a&&(c=r[0],u=r[1]),function(f,m,y){var h=(y||e).length,g=A[h],b,U,N,L,R,j,st,O,V;if(!g){if(V=e.grid==="auto"?0:(e.grid||[1,br])[1],!V){for(st=-br;st<(st=y[V++].getBoundingClientRect().left)&&V<h;);V--}for(g=A[h]=[],b=a?Math.min(V,h)*c-.5:r%V,U=V===br?0:a?h*u/V-.5:r/V|0,st=0,O=br,j=0;j<h;j++)N=j%V-b,L=U-(j/V|0),g[j]=R=l?Math.abs(l==="y"?L:N):o_(N*N+L*L),R>st&&(st=R),R<O&&(O=R);r==="random"&&S_(g),g.max=st-O,g.min=O,g.v=h=(parseFloat(e.amount)||parseFloat(e.each)*(V>h?h-1:l?l==="y"?h/V:V:Math.max(V,h/V))||0)*(r==="edges"?-1:1),g.b=h<0?s-h:s,g.u=Mi(e.amount||e.each)||0,i=i&&h<0?P_(i):i}return h=(g[f]-g.min)/g.max||0,di(g.b+(i?i(h):h)*g.v)+g.u}},fg=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var r=di(Math.round(parseFloat(i)/t)*t*e);return(r-r%1)/e+(qs(i)?0:Mi(i))}},E_=function(t,e){var i=Ui(t),r,s;return!i&&ps(t)&&(r=i=t.radius||br,t.values?(t=Cr(t.values),(s=!qs(t[0]))&&(r*=r)):t=fg(t.increment)),KA(e,i?Nn(t)?function(A){return s=t(A),Math.abs(s-A)<=r?s:A}:function(A){for(var o=parseFloat(s?A.x:A),a=parseFloat(s?A.y:0),l=br,c=0,u=t.length,f,m;u--;)s?(f=t[u].x-o,m=t[u].y-a,f=f*f+m*m):f=Math.abs(t[u]-o),f<l&&(l=f,c=u);return c=!r||l<=r?t[c]:A,s||c===A||qs(A)?c:c+Mi(A)}:fg(t))}
vendor: 5,041 bytes, line 38
38,M_=function(t,e,i,r){return KA(Ui(t)?!e:i===!0?!!(i=0):!r,function(){return Ui(t)?t[~~(Math.random()*t.length)]:(i=i||1e-5)&&(r=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((t-i/2+Math.random()*(e-t+i*.99))/i)*i*r)/r})},TE=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(r){return e.reduce(function(s,A){return A(s)},r)}},IE=function(t,e){return function(i){return t(parseFloat(i))+(e||Mi(i))}},QE=function(t,e,i){return T_(t,e,0,1,i)},U_=function(t,e,i){return KA(i,function(r){return t[~~e(r)]})},LE=function n(t,e,i){var r=e-t;return Ui(t)?U_(t,n(0,t.length),e):KA(i,function(s){return(r+(s-t)%r)%r+t})},PE=function n(t,e,i){var r=e-t,s=r*2;return Ui(t)?U_(t,n(0,t.length-1),e):KA(i,function(A){return A=(s+(A-t)%s)%s||0,t+(A>r?s-A:A)})},vc=function(t){for(var e=0,i="",r,s,A,o;~(r=t.indexOf("random(",e));)A=t.indexOf(")",r),o=t.charAt(r+7)==="[",s=t.substr(r+7,A-r-7).match(o?f_:sg),i+=t.substr(e,r-e)+M_(o?s:+s[0],o?0:+s[1],+s[2]||1e-5),e=A+1;return i+t.substr(e,t.length-e)},T_=function(t,e,i,r,s){var A=e-t,o=r-i;return KA(s,function(a){return i+((a-t)/A*o||0)})},DE=function n(t,e,i,r){var s=isNaN(t+e)?0:function(m){return(1-m)*t+m*e};if(!s){var A=ui(t),o={},a,l,c,u,f;if(i===!0&&(r=1)&&(i=null),A)t={p:t},e={p:e};else if(Ui(t)&&!Ui(e)){for(c=[],u=t.length,f=u-2,l=1;l<u;l++)c.push(n(t[l-1],t[l]));u--,s=function(y){y*=u;var h=Math.min(f,~~y);return c[h](y-h)},i=e}else r||(t=Io(Ui(t)?[]:{},t));if(!c){for(a in e)Zm.call(o,t,a,"get",e[a]);s=function(y){return n0(y,o)||(A?t.p:t)}}}return KA(i,s)},Z1=function(t,e,i){var r=t.labels,s=br,A,o,a;for(A in r)o=r[A]-e,o<0==!!i&&o&&s>(o=Math.abs(o))&&(a=A,s=o);return a},Sr=function(t,e,i){var r=t.vars,s=r[e],A=ti,o=t._ctx,a,l,c;if(!!s)return a=r[e+"Params"],l=r.callbackScope||t,i&&IA.length&&If(),o&&(ti=o),c=a?s.apply(l,a):s.call(l),ti=A,c},Ul=function(t){return OA(t),t.scrollTrigger&&t.scrollTrigger.kill(!!Xi),t.progress()<1&&Sr(t,"onInterrupt"),t},Sa,RE=function(t){t=!t.name&&t.default||t;var e=t.name,i=Nn(t),r=e&&!i&&t.init?function(){this._props=[]}:t,s={init:wc,render:n0,add:Zm,kill:$E,modifier:ZE,rawVars:0},A={targetTest:0,get:0,getSetter:e0,aliases:{},register:0};if(Xa(),t!==r){if(Ar[e])return;Ir(r,Ir(Qf(t,s),A)),Io(r.prototype,Io(s,Qf(t,A))),Ar[r.prop=e]=r,t.targetTest&&(of.push(r),Xm[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}p_(e,r),t.register&&t.register(pr,r,Zi)},Cn=255,Tl={aqua:[0,Cn,Cn],lime:[0,Cn,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Cn],navy:[0,0,128],white:[Cn,Cn,Cn],olive:[128,128,0],yellow:[Cn,Cn,0],orange:[Cn,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Cn,0,0],pink:[Cn,192,203],cyan:[0,Cn,Cn],transparent:[Cn,Cn,Cn,0]},_d=function(t,e,i){return t+=t<0?1:t>1?-1:0,(t*6<1?e+(i-e)*t*6:t<.5?i:t*3<2?e+(i-e)*(2/3-t)*6:e)*Cn+.5|0},I_=function(t,e,i){var r=t?qs(t)?[t>>16,t>>8&Cn,t&Cn]:0:Tl.black,s,A,o,a,l,c,u,f,m,y;if(!r){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),Tl[t])r=Tl[t];else if(t.charAt(0)==="#"){if(t.length<6&&(s=t.charAt(1),A=t.charAt(2),o=t.charAt(3),t="#"+s+s+A+A+o+o+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return r=parseInt(t.substr(1,6),16),[r>>16,r>>8&Cn,r&Cn,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),r=[t>>16,t>>8&Cn,t&Cn]}else if(t.substr(0,3)==="hsl"){if(r=y=t.match(sg),!e)a=+r[0]%360/360,l=+r[1]/100,c=+r[2]/100,A=c<=.5?c*(l+1):c+l-c*l,s=c*2-A,r.length>3&&(r[3]*=1),r[0]=_d(a+1/3,s,A),r[1]=_d(a,s,A),r[2]=_d(a-1/3,s,A);else if(~t.indexOf("="))return r=t.match(c_),i&&r.length<4&&(r[3]=1),r}else r=t.match(sg)||Tl.transparent;r=r.map(Number)}return e&&!y&&(s=r[0]/Cn,A=r[1]/Cn,o=r[2]/Cn,u=Math.max(s,A,o),f=Math.min(s,A,o),c=(u+f)/2,u===f?a=l=0:(m=u-f,l=c>.5?m/(2-u-f):m/(u+f),a=u===s?(A-o)/m+(A<o?6:0):u===A?(o-s)/m+2:(s-A)/m+4,a*=60),r[0]=~~(a+.5),r[1]=~~(l*100+.5),r[2]=~~(c*100+.5)),i&&r.length<4&&(r[3]=1),r},Q_=function(t){var e=[],i=[],r=-1;return t.split(QA).forEach(function(s){var A=s.match(Ca)||[];e.push.apply(e,A),i.push(r+=A.length+1)}),e.c=i,e},$1=function(t,e,i){var r="",s=(t+r).match(QA),A=e?"hsla(":"rgba(",o=0,a,l,c,u;if(!s)return t;if(s=s.map(function(f){return(f=I_(f,e,1))&&A+(e?f[0]+","+f[1]+"%,"+f[2]+"%,"+f[3]:f.join(","))+")"}),i&&(c=Q_(t),a=i.c,a.join(r)!==c.c.join(r)))for(l=t.replace(QA,"1").split(Ca),u=l.length-1;o<u;o++)r+=l[o]+(~a.indexOf(o)?s.shift()||A+"0,0,0,0)":(c.length?c:s.length?s:i).shift());if(!l)for(l=t.split(QA),u=l.length-1;o<u;o++)r+=l[o]+s[o];return r+l[u]},QA=function(){var n="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in Tl)n+="|"+t+"\\b";return new RegExp(n+")","gi")}(),OE=/hsl[a]?\(/,L_=function(t){var e=t.join(" "),i;if(QA.lastIndex=0,QA.test(e))return i=OE.test(e),t[1]=$1(t[1],i),t[0]=$1(t[0],i,Q_(t[1])),!0},yc,or=function(){var n=Date.now,t=500,e=33,i=n(),r=i,s=1e3/240,A=s,o=[],a,l,c,u,f,m,y=function h(g){var b=n()-r,U=g===!0,N,L,R,j;if(b>t&&(i+=b-e),r+=b,R=r-i,N=R-A,(N>0||U)&&(j=++u.frame,f=R-u.time*1e3,u.time=R=R/1e3,A+=N+(N>
vendor: 9,597 bytes, line 38
38=s?4:s-N),L=1),U||(a=l(h)),L)for(m=0;m<o.length;m++)o[m](R,f,j,g)};return u={time:0,frame:0,tick:function(){y(!0)},deltaRatio:function(g){return f/(1e3/(g||60))},wake:function(){h_&&(!Ag&&a_()&&(yr=Ag=window,qm=yr.document||{},dr.gsap=pr,(yr.gsapVersions||(yr.gsapVersions=[])).push(pr.version),d_(Uf||yr.GreenSockGlobals||!yr.gsap&&yr||{}),c=yr.requestAnimationFrame),a&&u.sleep(),l=c||function(g){return setTimeout(g,A-u.time*1e3+1|0)},yc=1,y(2))},sleep:function(){(c?yr.cancelAnimationFrame:clearTimeout)(a),yc=0,l=wc},lagSmoothing:function(g,b){t=g||1/xn,e=Math.min(b,t,0)},fps:function(g){s=1e3/(g||240),A=u.time*1e3+s},add:function(g,b,U){var N=b?function(L,R,j,st){g(L,R,j,st),u.remove(N)}:g;return u.remove(g),o[U?"unshift":"push"](N),Xa(),N},remove:function(g,b){~(b=o.indexOf(g))&&o.splice(b,1)&&m>=b&&m--},_listeners:o},u}(),Xa=function(){return!yc&&or.wake()},hn={},HE=/^[\d.\-M][\d.\-,\s]/,kE=/["']/g,NE=function(t){for(var e={},i=t.substr(1,t.length-3).split(":"),r=i[0],s=1,A=i.length,o,a,l;s<A;s++)a=i[s],o=s!==A-1?a.lastIndexOf(","):a.length,l=a.substr(0,o),e[r]=isNaN(l)?l.replace(kE,"").trim():+l,r=a.substr(o+1).trim();return e},zE=function(t){var e=t.indexOf("(")+1,i=t.indexOf(")"),r=t.indexOf("(",e);return t.substring(e,~r&&r<i?t.indexOf(")",i+1):i)},VE=function(t){var e=(t+"").split("("),i=hn[e[0]];return i&&e.length>1&&i.config?i.config.apply(null,~t.indexOf("{")?[NE(e[1])]:zE(t).split(",").map(v_)):hn._CE&&HE.test(t)?hn._CE("",t):i},P_=function(t){return function(e){return 1-t(1-e)}},D_=function n(t,e){for(var i=t._first,r;i;)i instanceof qi?n(i,e):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==e&&(i.timeline?n(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next},Co=function(t,e){return t&&(Nn(t)?t:hn[t]||VE(t))||e},zo=function(t,e,i,r){i===void 0&&(i=function(a){return 1-e(1-a)}),r===void 0&&(r=function(a){return a<.5?e(a*2)/2:1-e((1-a)*2)/2});var s={easeIn:e,easeOut:i,easeInOut:r},A;return Ji(t,function(o){hn[o]=dr[o]=s,hn[A=o.toLowerCase()]=i;for(var a in s)hn[A+(a==="easeIn"?".in":a==="easeOut"?".out":".inOut")]=hn[o+"."+a]=s[a]}),s},R_=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},xd=function n(t,e,i){var r=e>=1?e:1,s=(i||(t?.3:.45))/(e<1?e:1),A=s/rg*(Math.asin(1/r)||0),o=function(c){return c===1?1:r*Math.pow(2,-10*c)*gE((c-A)*s)+1},a=t==="out"?o:t==="in"?function(l){return 1-o(1-l)}:R_(o);return s=rg/s,a.config=function(l,c){return n(t,l,c)},a},bd=function n(t,e){e===void 0&&(e=1.70158);var i=function(A){return A?--A*A*((e+1)*A+e)+1:0},r=t==="out"?i:t==="in"?function(s){return 1-i(1-s)}:R_(i);return r.config=function(s){return n(t,s)},r};Ji("Linear,Quad,Cubic,Quart,Quint,Strong",function(n,t){var e=t<5?t+1:t;zo(n+",Power"+(e-1),t?function(i){return Math.pow(i,e)}:function(i){return i},function(i){return 1-Math.pow(1-i,e)},function(i){return i<.5?Math.pow(i*2,e)/2:1-Math.pow((1-i)*2,e)/2})});hn.Linear.easeNone=hn.none=hn.Linear.easeIn;zo("Elastic",xd("in"),xd("out"),xd());(function(n,t){var e=1/t,i=2*e,r=2.5*e,s=function(o){return o<e?n*o*o:o<i?n*Math.pow(o-1.5/t,2)+.75:o<r?n*(o-=2.25/t)*o+.9375:n*Math.pow(o-2.625/t,2)+.984375};zo("Bounce",function(A){return 1-s(1-A)},s)})(7.5625,2.75);zo("Expo",function(n){return n?Math.pow(2,10*(n-1)):0});zo("Circ",function(n){return-(o_(1-n*n)-1)});zo("Sine",function(n){return n===1?1:-pE(n*hE)+1});zo("Back",bd("in"),bd("out"),bd());hn.SteppedEase=hn.steps=dr.SteppedEase={config:function(t,e){t===void 0&&(t=1);var i=1/t,r=t+(e?0:1),s=e?1:0,A=1-xn;return function(o){return((r*Rc(0,A,o)|0)+s)*i}}};Wa.ease=hn["quad.out"];Ji("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(n){return Ym+=n+","+n+"Params,"});var O_=function(t,e){this.id=dE++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:m_,this.set=e?e.getSetter:e0},Ya=function(){function n(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,ja(this,+e.duration,1,1),this.data=e.data,ti&&(this._ctx=ti,ti.data.push(this)),yc||or.wake()}var t=n.prototype;return t.delay=function(i){return i||i===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+i-this._delay),this._delay=i,this):this._delay},t.duration=function(i){return arguments.length?this.totalDuration(this._repeat>0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},t.totalDuration=function(i){return arguments.length?(this._dirty=0,ja(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(i,r){if(Xa(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(Sh(this,i),!s._dp||s.parent||__(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i<this._tDur||this._ts<0&&i>0||!this._tDur&&!i)&&as(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===xn||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),w_(this,i,r)),this},t.time=function(i,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+Y1(this))%(this._dur+this._rDelay)||(i?this._dur:0),r):this._time},t.totalProgress=function(i,r){return arguments.length?this.totalTime(this.totalDuration()*i,r):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},t.progress=function(i,r){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+Y1(this),r):this.duration()?Math.min(1,this._time/this._dur):this.ratio},t.iteration=function(i,r){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*s,r):this._repeat?qa(this._tTime,s)+1:1},t.timeScale=function(i){if(!arguments.length)return this._rts===-xn?0:this._rts;if(this._rts===i)return this;var r=this.parent&&this._ts?Lf(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-xn?0:this._rts,this.totalTime(Rc(-this._delay,this._tDur,r),!0),Ch(this),xE(this)},t.paused=function(i){return arguments.length?(this._ps!==i&&(this._ps=i,i?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Xa(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==xn&&(this._tTime-=xn)))),this):this._ps},t.startTime=function(i){if(arguments.length){this._start=i;var r=this.parent||this._dp;return r&&(r._sort||!this.parent)&&as(r,this,i-this._delay),this}return this._start},t.endTime=function(i){return this._start+(Yi(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(i){var r=this.parent||this._dp;return r?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Lf(r.rawTime(i),this):this._tTime:this._tTime},t.revert=function(i){i===void 0&&(i=vE);var r=Xi;return Xi=i,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),Xi=r,this},t.globalTime=function(i){for(var r=this,s=arguments.length?i:r.rawTime();r;)s=r._start+s/(r._ts||1),r=r._dp;return!this.parent&&this.vars.immediateRender?-1:s},t.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,J1(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(i){if(arguments.length){var r=this._time;return this._rDelay=i,J1(this),r?this.time(r):this}return this._rDelay},t.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},t.seek=function(i,r){return this.totalTime(vr(this,i),Yi(r))},t.restart=function(i,r){return this.play().totalTime(i?-this._delay:0,Yi(r))},t.play=function(i,r){return i!=null&&this.seek(i,r),this.reversed(!1).paused(!1)},t.reverse=function(i,r){return i!=null&&this.seek(i||this.totalDuration(),r),this.reversed(!0).paused(!1)},t.pause=function(i,r){return i!=null&&this.seek(i,r),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(i){return arguments.length?(!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-xn:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-xn,this},t.isActive=function(){var i=this.parent||this._dp,r=this._start,s;return!!(!i||this._ts&&this._initted&&i.isActive()&&(s=i.rawTime(!0))>=r&&s<this.endTime(!0)-xn)},t.eventCallback=function(i,r,s){var A=this.vars;return arguments.length>1?(r?(A[i]=r,s&&(A[i+"Params"]=s),i==="onUpdate"&&(this._onUpdate=r)):delete A[i],this):A[i]},t.then=function(i){var r=this;return new Promise(function(s){var A=Nn(i)?i:y_,o=function(){var l=r.then;r.then=null,Nn(A)&&(A=A(r))&&(A.then||A===r)&&(r.then=l),s(A),r.then=l};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?o():r._prom=o})},t.kill=function(){Ul(this)},n}();Ir(Ya.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:-xn,_prom:0,_ps:!1,_rts:1});var qi=function(n){A_(t,n);function t(i,r){var s;return i===void 0&&(i={}),s=n.call(this,i)||this,s.labels={},s.smoothChildTiming=!!i.smoothChildTiming,s.autoRemoveChildren=!!i.autoRemoveChildren,s._sort=Yi(i.sortChildren),Dn&&as(i.parent||Dn,Is(s),r),i.reversed&&s.reverse(),i.paused&&s.paused(!0),i.scrollTrigger&&x_(Is(s),i.scrollTrigger),s}var e=t.prototype;
vendor: 8,488 bytes, line 38
38return e.to=function(r,s,A){return $l(0,arguments,this),this},e.from=function(r,s,A){return $l(1,arguments,this),this},e.fromTo=function(r,s,A,o){return $l(2,arguments,this),this},e.set=function(r,s,A){return s.duration=0,s.parent=this,Zl(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new si(r,s,vr(this,A),1),this},e.call=function(r,s,A){return as(this,si.delayedCall(0,r,s),A)},e.staggerTo=function(r,s,A,o,a,l,c){return A.duration=s,A.stagger=A.stagger||o,A.onComplete=l,A.onCompleteParams=c,A.parent=this,new si(r,A,vr(this,a)),this},e.staggerFrom=function(r,s,A,o,a,l,c){return A.runBackwards=1,Zl(A).immediateRender=Yi(A.immediateRender),this.staggerTo(r,s,A,o,a,l,c)},e.staggerFromTo=function(r,s,A,o,a,l,c,u){return o.startAt=A,Zl(o).immediateRender=Yi(o.immediateRender),this.staggerTo(r,s,o,a,l,c,u)},e.render=function(r,s,A){var o=this._time,a=this._dirty?this.totalDuration():this._tDur,l=this._dur,c=r<=0?0:di(r),u=this._zTime<0!=r<0&&(this._initted||!l),f,m,y,h,g,b,U,N,L,R,j,st;if(this!==Dn&&c>a&&r>=0&&(c=a),c!==this._tTime||A||u){if(o!==this._time&&l&&(c+=this._time-o,r+=this._time-o),f=c,L=this._start,N=this._ts,b=!N,u&&(l||(o=this._zTime),(r||!s)&&(this._zTime=r)),this._repeat){if(j=this._yoyo,g=l+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(g*100+r,s,A);if(f=di(c%g),c===a?(h=this._repeat,f=l):(h=~~(c/g),h&&h===c/g&&(f=l,h--),f>l&&(f=l)),R=qa(this._tTime,g),!o&&this._tTime&&R!==h&&(R=h),j&&h&1&&(f=l-f,st=1),h!==R&&!this._lock){var O=j&&R&1,V=O===(j&&h&1);if(h<R&&(O=!O),o=O?0:l,this._lock=1,this.render(o||(st?0:di(h*g)),s,!l)._lock=0,this._tTime=c,!s&&this.parent&&Sr(this,"onRepeat"),this.vars.repeatRefresh&&!st&&(this.invalidate()._lock=1),o&&o!==this._time||b!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(l=this._dur,a=this._tDur,V&&(this._lock=2,o=O?l:-1e-4,this.render(o,!0),this.vars.repeatRefresh&&!st&&this.invalidate()),this._lock=0,!this._ts&&!b)return this;D_(this,st)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(U=FE(this,di(o),di(f)),U&&(c-=f-(f=U._start))),this._tTime=c,this._time=f,this._act=!N,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=r,o=0),!o&&f&&!s&&(Sr(this,"onStart"),this._tTime!==c))return this;if(f>=o&&r>=0)for(m=this._first;m;){if(y=m._next,(m._act||f>=m._start)&&m._ts&&U!==m){if(m.parent!==this)return this.render(r,s,A);if(m.render(m._ts>0?(f-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(f-m._start)*m._ts,s,A),f!==this._time||!this._ts&&!b){U=0,y&&(c+=this._zTime=-xn);break}}m=y}else{m=this._last;for(var gt=r<0?r:f;m;){if(y=m._prev,(m._act||gt<=m._end)&&m._ts&&U!==m){if(m.parent!==this)return this.render(r,s,A);if(m.render(m._ts>0?(gt-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(gt-m._start)*m._ts,s,A||Xi&&(m._initted||m._startAt)),f!==this._time||!this._ts&&!b){U=0,y&&(c+=this._zTime=gt?-xn:xn);break}}m=y}}if(U&&!s&&(this.pause(),U.render(f>=o?0:-xn)._zTime=f>=o?1:-1,this._ts))return this._start=L,Ch(this),this.render(r,s,A);this._onUpdate&&!s&&Sr(this,"onUpdate",!0),(c===a&&this._tTime>=this.totalDuration()||!c&&o)&&(L===this._start||Math.abs(N)!==Math.abs(this._ts))&&(this._lock||((r||!l)&&(c===a&&this._ts>0||!c&&this._ts<0)&&OA(this,1),!s&&!(r<0&&!o)&&(c||o||!a)&&(Sr(this,c===a&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c<a&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(r,s){var A=this;if(qs(s)||(s=vr(this,s,r)),!(r instanceof Ya)){if(Ui(r))return r.forEach(function(o){return A.add(o,s)}),this;if(ui(r))return this.addLabel(r,s);if(Nn(r))r=si.delayedCall(0,r);else return this}return this!==r?as(this,r,s):this},e.getChildren=function(r,s,A,o){r===void 0&&(r=!0),s===void 0&&(s=!0),A===void 0&&(A=!0),o===void 0&&(o=-br);for(var a=[],l=this._first;l;)l._start>=o&&(l instanceof si?s&&a.push(l):(A&&a.push(l),r&&a.push.apply(a,l.getChildren(!0,s,A)))),l=l._next;return a},e.getById=function(r){for(var s=this.getChildren(1,1,1),A=s.length;A--;)if(s[A].vars.id===r)return s[A]},e.remove=function(r){return ui(r)?this.removeLabel(r):Nn(r)?this.killTweensOf(r):(bh(this,r),r===this._recent&&(this._recent=this._last),bo(this))},e.totalTime=function(r,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=di(or.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),n.prototype.totalTime.call(this,r,s),this._forcing=0,this):this._tTime},e.addLabel=function(r,s){return this.labels[r]=vr(this,s),this},e.removeLabel=function(r){return delete this.labels[r],this},e.addPause=function(r,s,A){var o=si.delayedCall(0,s||wc,A);return o.data="isPause",this._hasPause=1,as(this,o,vr(this,r))},e.removePause=function(r){var s=this._first;for(r=vr(this,r);s;)s._start===r&&s.data==="isPause"&&OA(s),s=s._next},e.killTweensOf=function(r,s,A){for(var o=this.getTweensOf(r,A),a=o.length;a--;)_A!==o[a]&&o[a].kill(r,s);return this},e.getTweensOf=function(r,s){for(var A=[],o=Cr(r),a=this._first,l=qs(s),c;a;)a instanceof si?yE(a._targets,o)&&(l?(!_A||a._initted&&a._ts)&&a.globalTime(0)<=s&&a.globalTime(a.totalDuration())>s:!s||a.isActive())&&A.push(a):(c=a.getTweensOf(o,s)).length&&A.push.apply(A,c),a=a._next;return A},e.tweenTo=function(r,s){s=s||{};var A=this,o=vr(A,r),a=s,l=a.startAt,c=a.onStart,u=a.onStartParams,f=a.immediateRender,m,y=si.to(A,Ir({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:s.duration||Math.abs((o-(l&&"time"in l?l.time:A._time))/A.timeScale())||xn,onStart:function(){if(A.pause(),!m){var g=s.duration||Math.abs((o-(l&&"time"in l?l.time:A._time))/A.timeScale());y._dur!==g&&ja(y,g,0,1).render(y._time,!0,!0),m=1}c&&c.apply(y,u||[])}},s));return f?y.render(0):y},e.tweenFromTo=function(r,s,A){return this.tweenTo(s,Ir({startAt:{time:vr(this,r)}},A))},e.recent=function(){return this._recent},e.nextLabel=function(r){return r===void 0&&(r=this._time),Z1(this,vr(this,r))},e.previousLabel=function(r){return r===void 0&&(r=this._time),Z1(this,vr(this,r),1)},e.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+xn)},e.shiftChildren=function(r,s,A){A===void 0&&(A=0);for(var o=this._first,a=this.labels,l;o;)o._start>=A&&(o._start+=r,o._end+=r),o=o._next;if(s)for(l in a)a[l]>=A&&(a[l]+=r);return bo(this)},e.invalidate=function(r){var s=this._first;for(this._lock=0;s;)s.invalidate(r),s=s._next;return n.prototype.invalidate.call(this,r)},e.clear=function(r){r===void 0&&(r=!0);for(var s=this._first,A;s;)A=s._next,this.remove(s),s=A;return this._dp&&(this._time=this._tTime=this._pTime=0),r&&(this.labels={}),bo(this)},e.totalDuration=function(r){var s=0,A=this,o=A._last,a=br,l,c,u;if(arguments.length)return A.timeScale((A._repeat<0?A.duration():A.totalDuration())/(A.reversed()?-r:r));if(A._dirty){for(u=A.parent;o;)l=o._prev,o._dirty&&o.totalDuration(),c=o._start,c>a&&A._sort&&o._ts&&!A._lock?(A._lock=1,as(A,o,c-o._delay,1)._lock=0):a=c,c<0&&o._ts&&(s-=c,(!u&&!A._dp||u&&u.smoothChildTiming)&&(A._start+=c/A._ts,A._time-=c,A._tTime-=c),A.shiftChildren(-c,!1,-1/0),a=0),o._end>s&&o._ts&&(s=o._end),o=l;ja(A,A===Dn&&A._time>s?A._time:s,1,1),A._dirty=0}return A._tDur},t.updateRoot=function(r){if(Dn._ts&&(w_(Dn,Lf(r,Dn)),g_=or.frame),or.frame>=j1){j1+=fr.autoSleep||120;var s=Dn._first;if((!s||!s._ts)&&fr.autoSleep&&or._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||or.sleep()}}},t}(Ya);Ir(qi.prototype,{_lock:0,_hasPause:0,_forcing:0});var GE=function(t,e,i,r,s,A,o){var a=new Zi(this._pt,t,e,0,1,G_,null,s),l=0,c=0,u,f,m,y,h,g,b,U;for(a.b=i,a.e=r,i+="",r+="",(b=~r.indexOf("random("))&&(r=vc(r)),A&&(U=[i,r],A(U,t,e),i=U[0],r=U[1]),f=i.match(yd)||[];u=yd.exec(r);)y=u[0],h=r.substring(l,u.index),m?m=(m+1)%5:h.substr(-5)==="rgba("&&(m=1),y!==f[c++]&&(g=parseFloat(f[c-1])||0,a._pt={_next:a._pt,p:h||c===1?h:",",s:g,c:y.charAt(1)==="="?Da(g,y)-g:parseFloat(y)-g,m:m&&m<4?Math.round:0},l=yd.lastIndex);return a.c=l<r.length?r.substring(l,r.length):"",a.fp=o,(u_.test(r)||b)&&(a.e=0),this._pt=a,a},Zm=function(t,e,i,r,s,A,o,a,l,c){Nn(r)&&(r=r(s||0,t,A));var u=t[e],f=i!=="get"?i:Nn(u)?l?t[e.indexOf("set")||!Nn(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():u,m=Nn(u)?l?XE:z_:t0,y;if(ui(r)&&(~r.indexOf("random(")&&(r=vc(r)),r.charAt(1)==="="&&(y=Da(f,r)+(Mi(f)||0),(y||y===0)&&(r=y))),!c||f!==r||hg)return!isNaN(f*r)&&r!==""?(y=new Zi(this._pt,t,e,+f||0,r-(f||0),typeof u=="boolean"?JE:V_,0,m),l&&(y.fp=l),o&&y.modifier(o,this,t),this._pt=y):(!u&&!(e in t)&&jm(e,r),GE.call(this,t,e,f,r,m,a||fr.stringFilter,l))}
vendor: 13,193 bytes, line 38
38,KE=function(t,e,i,r,s){if(Nn(t)&&(t=tc(t,s,e,i,r)),!ps(t)||t.style&&t.nodeType||Ui(t)||l_(t))return ui(t)?tc(t,s,e,i,r):t;var A={},o;for(o in t)A[o]=tc(t[o],s,e,i,r);return A},H_=function(t,e,i,r,s,A){var o,a,l,c;if(Ar[t]&&(o=new Ar[t]).init(s,o.rawVars?e[t]:KE(e[t],r,s,A,i),i,r,A)!==!1&&(i._pt=a=new Zi(i._pt,s,t,0,1,o.render,o,0,o.priority),i!==Sa))for(l=i._ptLookup[i._targets.indexOf(s)],c=o._props.length;c--;)l[o._props[c]]=a;return o},_A,hg,$m=function n(t,e,i){var r=t.vars,s=r.ease,A=r.startAt,o=r.immediateRender,a=r.lazy,l=r.onUpdate,c=r.onUpdateParams,u=r.callbackScope,f=r.runBackwards,m=r.yoyoEase,y=r.keyframes,h=r.autoRevert,g=t._dur,b=t._startAt,U=t._targets,N=t.parent,L=N&&N.data==="nested"?N.vars.targets:U,R=t._overwrite==="auto"&&!Km,j=t.timeline,st,O,V,gt,Nt,Dt,Et,xt,Xt,jt,Gt,Wt,kt;if(j&&(!y||!s)&&(s="none"),t._ease=Co(s,Wa.ease),t._yEase=m?P_(Co(m===!0?s:m,Wa.ease)):0,m&&t._yoyo&&!t._repeat&&(m=t._yEase,t._yEase=t._ease,t._ease=m),t._from=!j&&!!r.runBackwards,!j||y&&!r.stagger){if(xt=U[0]?xo(U[0]).harness:0,Wt=xt&&r[xt.prop],st=Qf(r,Xm),b&&(b._zTime<0&&b.progress(1),e<0&&f&&o&&!h?b.render(-1,!0):b.revert(f&&g?Af:wE),b._lazy=0),A){if(OA(t._startAt=si.set(U,Ir({data:"isStart",overwrite:!1,parent:N,immediateRender:!0,lazy:Yi(a),startAt:null,delay:0,onUpdate:l,onUpdateParams:c,callbackScope:u,stagger:0},A))),t._startAt._dp=0,e<0&&(Xi||!o&&!h)&&t._startAt.revert(Af),o&&g&&e<=0&&i<=0){e&&(t._zTime=e);return}}else if(f&&g&&!b){if(e&&(o=!1),V=Ir({overwrite:!1,data:"isFromStart",lazy:o&&Yi(a),immediateRender:o,stagger:0,parent:N},st),Wt&&(V[xt.prop]=Wt),OA(t._startAt=si.set(U,V)),t._startAt._dp=0,e<0&&(Xi?t._startAt.revert(Af):t._startAt.render(-1,!0)),t._zTime=e,!o)n(t._startAt,xn,xn);else if(!e)return}for(t._pt=t._ptCache=0,a=g&&Yi(a)||a&&!g,O=0;O<U.length;O++){if(Nt=U[O],Et=Nt._gsap||Jm(U)[O]._gsap,t._ptLookup[O]=jt={},og[Et.id]&&IA.length&&If(),Gt=L===U?O:L.indexOf(Nt),xt&&(Xt=new xt).init(Nt,Wt||st,t,Gt,L)!==!1&&(t._pt=gt=new Zi(t._pt,Nt,Xt.name,0,1,Xt.render,Xt,0,Xt.priority),Xt._props.forEach(function(Vt){jt[Vt]=gt}),Xt.priority&&(Dt=1)),!xt||Wt)for(V in st)Ar[V]&&(Xt=H_(V,st,t,Gt,Nt,L))?Xt.priority&&(Dt=1):jt[V]=gt=Zm.call(t,Nt,V,"get",st[V],Gt,L,0,r.stringFilter);t._op&&t._op[O]&&t.kill(Nt,t._op[O]),R&&t._pt&&(_A=t,Dn.killTweensOf(Nt,jt,t.globalTime(e)),kt=!t.parent,_A=0),t._pt&&a&&(og[Et.id]=1)}Dt&&K_(t),t._onInit&&t._onInit(t)}t._onUpdate=l,t._initted=(!t._op||t._pt)&&!kt,y&&e<=0&&j.render(br,!0,!0)},WE=function(t,e,i,r,s,A,o){var a=(t._pt&&t._ptCache||(t._ptCache={}))[e],l,c,u,f;if(!a)for(a=t._ptCache[e]=[],u=t._ptLookup,f=t._targets.length;f--;){if(l=u[f][e],l&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==e&&l.fp!==e;)l=l._next;if(!l)return hg=1,t.vars[e]="+=0",$m(t,o),hg=0,1;a.push(l)}for(f=a.length;f--;)c=a[f],l=c._pt||c,l.s=(r||r===0)&&!s?r:l.s+(r||0)+A*l.c,l.c=i-l.s,c.e&&(c.e=Xn(i)+Mi(c.e)),c.b&&(c.b=l.s+Mi(c.b))},qE=function(t,e){var i=t[0]?xo(t[0]).harness:0,r=i&&i.aliases,s,A,o,a;if(!r)return e;s=Io({},e);for(A in r)if(A in s)for(a=r[A].split(","),o=a.length;o--;)s[a[o]]=s[A];return s},jE=function(t,e,i,r){var s=e.ease||r||"power1.inOut",A,o;if(Ui(e))o=i[t]||(i[t]=[]),e.forEach(function(a,l){return o.push({t:l/(e.length-1)*100,v:a,e:s})});else for(A in e)o=i[A]||(i[A]=[]),A==="ease"||o.push({t:parseFloat(t),v:e[A],e:s})},tc=function(t,e,i,r,s){return Nn(t)?t.call(e,i,r,s):ui(t)&&~t.indexOf("random(")?vc(t):t},k_=Ym+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",N_={};Ji(k_+",id,stagger,delay,duration,paused,scrollTrigger",function(n){return N_[n]=1});var si=function(n){A_(t,n);function t(i,r,s,A){var o;typeof r=="number"&&(s.duration=r,r=s,s=null),o=n.call(this,A?r:Zl(r))||this;var a=o.vars,l=a.duration,c=a.delay,u=a.immediateRender,f=a.stagger,m=a.overwrite,y=a.keyframes,h=a.defaults,g=a.scrollTrigger,b=a.yoyoEase,U=r.parent||Dn,N=(Ui(i)||l_(i)?qs(i[0]):"length"in r)?[i]:Cr(i),L,R,j,st,O,V,gt,Nt;if(o._targets=N.length?Jm(N):Tf("GSAP target "+i+" not found. https://greensock.com",!fr.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=m,y||f||ru(l)||ru(c)){if(r=o.vars,L=o.timeline=new qi({data:"nested",defaults:h||{},targets:U&&U.data==="nested"?U.vars.targets:N}),L.kill(),L.parent=L._dp=Is(o),L._start=0,f||ru(l)||ru(c)){if(st=N.length,gt=f&&F_(f),ps(f))for(O in f)~k_.indexOf(O)&&(Nt||(Nt={}),Nt[O]=f[O]);for(R=0;R<st;R++)j=Qf(r,N_),j.stagger=0,b&&(j.yoyoEase=b),Nt&&Io(j,Nt),V=N[R],j.duration=+tc(l,Is(o),R,V,N),j.delay=(+tc(c,Is(o),R,V,N)||0)-o._delay,!f&&st===1&&j.delay&&(o._delay=c=j.delay,o._start+=c,j.delay=0),L.to(V,j,gt?gt(R,V,N):0),L._ease=hn.none;L.duration()?l=c=0:o.timeline=0}else if(y){Zl(Ir(L.vars.defaults,{ease:"none"})),L._ease=Co(y.ease||r.ease||"none");var Dt=0,Et,xt,Xt;if(Ui(y))y.forEach(function(jt){return L.to(N,jt,">")}),L.duration();else{j={};for(O in y)O==="ease"||O==="easeEach"||jE(O,y[O],j,y.easeEach);for(O in j)for(Et=j[O].sort(function(jt,Gt){return jt.t-Gt.t}),Dt=0,R=0;R<Et.length;R++)xt=Et[R],Xt={ease:xt.e,duration:(xt.t-(R?Et[R-1].t:0))/100*l},Xt[O]=xt.v,L.to(N,Xt,Dt),Dt+=Xt.duration;L.duration()<l&&L.to({},{duration:l-L.duration()})}}l||o.duration(l=L.duration())}else o.timeline=0;return m===!0&&!Km&&(_A=Is(o),Dn.killTweensOf(N),_A=0),as(U,Is(o),s),r.reversed&&o.reverse(),r.paused&&o.paused(!0),(u||!l&&!y&&o._start===di(U._time)&&Yi(u)&&bE(Is(o))&&U.data!=="nested")&&(o._tTime=-xn,o.render(Math.max(0,-c)||0)),g&&x_(Is(o),g),o}var e=t.prototype;return e.render=function(r,s,A){var o=this._time,a=this._tDur,l=this._dur,c=r<0,u=r>a-xn&&!c?a:r<xn?0:r,f,m,y,h,g,b,U,N,L;if(!l)SE(this,r,s,A);else if(u!==this._tTime||!r||A||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c){if(f=u,N=this.timeline,this._repeat){if(h=l+this._rDelay,this._repeat<-1&&c)return this.totalTime(h*100+r,s,A);if(f=di(u%h),u===a?(y=this._repeat,f=l):(y=~~(u/h),y&&y===u/h&&(f=l,y--),f>l&&(f=l)),b=this._yoyo&&y&1,b&&(L=this._yEase,f=l-f),g=qa(this._tTime,h),f===o&&!A&&this._initted)return this._tTime=u,this;y!==g&&(N&&this._yEase&&D_(N,b),this.vars.repeatRefresh&&!b&&!this._lock&&(this._lock=A=1,this.render(di(h*y),!0).invalidate()._lock=0))}if(!this._initted){if(b_(this,c?r:f,A,s,u))return this._tTime=0,this;if(o!==this._time)return this;if(l!==this._dur)return this.render(r,s,A)}if(this._tTime=u,this._time=f,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=U=(L||this._ease)(f/l),this._from&&(this.ratio=U=1-U),f&&!o&&!s&&(Sr(this,"onStart"),this._tTime!==u))return this;for(m=this._pt;m;)m.r(U,m.d),m=m._next;N&&N.render(r<0?r:!f&&b?-xn:N._dur*N._ease(f/this._dur),s,A)||this._startAt&&(this._zTime=r),this._onUpdate&&!s&&(c&&ag(this,r,s,A),Sr(this,"onUpdate")),this._repeat&&y!==g&&this.vars.onRepeat&&!s&&this.parent&&Sr(this,"onRepeat"),(u===this._tDur||!u)&&this._tTime===u&&(c&&!this._onUpdate&&ag(this,r,!0,!0),(r||!l)&&(u===this._tDur&&this._ts>0||!u&&this._ts<0)&&OA(this,1),!s&&!(c&&!o)&&(u||o||b)&&(Sr(this,u===a?"onComplete":"onReverseComplete",!0),this._prom&&!(u<a&&this.timeScale()>0)&&this._prom()))}return this},e.targets=function(){return this._targets},e.invalidate=function(r){return(!r||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(r),n.prototype.invalidate.call(this,r)},e.resetTo=function(r,s,A,o){yc||or.wake(),this._ts||this.play();var a=Math.min(this._dur,(this._dp._time-this._start)*this._ts),l;return this._initted||$m(this,a),l=this._ease(a/this._dur),WE(this,r,s,A,o,l,a)?this.resetTo(r,s,A,o):(Sh(this,0),this.parent||B_(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(r,s){if(s===void 0&&(s="all"),!r&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?Ul(this):this;if(this.timeline){var A=this.timeline.totalDuration();return this.timeline.killTweensOf(r,s,_A&&_A.vars.overwrite!==!0)._first||Ul(this),this.parent&&A!==this.timeline.totalDuration()&&ja(this,this._dur*this.timeline._tDur/A,0,1),this}var o=this._targets,a=r?Cr(r):o,l=this._ptLookup,c=this._pt,u,f,m,y,h,g,b;if((!s||s==="all")&&_E(o,a))return s==="all"&&(this._pt=0),Ul(this);for(u=this._op=this._op||[],s!=="all"&&(ui(s)&&(h={},Ji(s,function(U){return h[U]=1}),s=h),s=qE(o,s)),b=o.length;b--;)if(~a.indexOf(o[b])){f=l[b],s==="all"?(u[b]=s,y=f,m={}):(m=u[b]=u[b]||{},y=s);for(h in y)g=f&&f[h],g&&((!("kill"in g.d)||g.d.kill(h)===!0)&&bh(this,g,"_pt"),delete f[h]),m!=="all"&&(m[h]=1)}return this._initted&&!this._pt&&c&&Ul(this),this},t.to=function(r,s){return new t(r,s,arguments[2])},t.from=function(r,s){return $l(1,arguments)},t.delayedCall=function(r,s,A,o){return new t(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:r,onComplete:s,onReverseComplete:s,onCompleteParams:A,onReverseCompleteParams:A,callbackScope:o})},t.fromTo=function(r,s,A){return $l(2,arguments)},t.set=function(r,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new t(r,s)},t.killTweensOf=function(r,s,A){return Dn.killTweensOf(r,s,A)},t}(Ya);Ir(si.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Ji("staggerTo,staggerFrom,staggerFromTo",function(n){si[n]=function(){var t=new qi,e=cg.call(arguments,0);return e.splice(n==="staggerFromTo"?5:4,0,0),t[n].apply(t,e)}});var t0=function(t,e,i){return t[e]=i},z_=function(t,e,i){return t[e](i)},XE=function(t,e,i,r){return t[e](r.fp,i)},YE=function(t,e,i){return t.setAttribute(e,i)},e0=function(t,e){return Nn(t[e])?z_:Wm(t[e])&&t.setAttribute?YE:t0},V_=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},JE=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},G_=function(t,e){var i=e._pt,r="";if(!t&&e.b)r=e.b;else if(t===1&&e.e)r=e.e;else{for(;i;)r=i.p+(i.m?i.m(i.s+i.c*t):Math.round((i.s+i.c*t)*1e4)/1e4)+r,i=i._next;r+=e.c}e.set(e.t,e.p,r,e)},n0=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},ZE=function(t,e,i,r){for(var s=this._pt,A;s;)A=s._next,s.p===r&&s.modifier(t,e,i),s=A},$E=function(t){for(var e=this._pt,i,r;e;)r=e._next,e.p===t&&!e.op||e.op===t?bh(this,e,"_pt"):e.dep||(i=1),e=r;return!i},tM=function(t,e,i,r){r.mSet(t,e,r.m.call(r.tween,i,r.mt),r)},K_=function(t){for(var e=t._pt,i,r,s,A;e;){for(i=e._next,r=s;r&&r.pr>e.pr;)r=r._next;(e._prev=r?r._prev:A)?e._prev._next=e:s=e,(e._next=r)?r._prev=e:A=e,e=i}t._pt=s},Zi=function(){function n(e,i,r,s,A,o,a,l,c){this.t=i,this.s=s,this.c=A,this.p=r,this.r=o||V_,this.d=a||this,this.set=l||t0,this.pr=c||0,this._next=e,e&&(e._prev=this)}var t=n.prototype;return t.modifier=function(i,r,s){this.mSet=this.mSet||this.set,this.set=tM,this.m=i,this.mt=s,this.tween=r},n}();Ji(Ym+"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(n){return Xm[n]=1});dr.TweenMax=dr.TweenLite=si;dr.TimelineLite=dr.TimelineMax=qi;Dn=new qi({sortChildren:!1,defaults:Wa,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});fr.stringFilter=L_;var Ja=[],af={},eM=[],tw=0,Cd=function(t){return(af[t]||eM).map(function(e){return e()})},dg=function(){var t=Date.now(),e=[];t-tw>2&&(Cd("matchMediaInit"),Ja.forEach(function(i){var r=i.queries,s=i.conditions,A,o,a,l;for(o in r)A=yr.matchMedia(r[o]).matches,A&&(a=1),A!==s[o]&&(s[o]=A,l=1);l&&(i.revert(),a&&e.push(i))}),Cd("matchMediaRevert"),e.forEach(function(i){return i.onMatch(i)}),tw=t,Cd("matchMedia"))},W_=function(){function n(e,i){this.selector=i&&ug(i),this.data=[],this._r=[],this.isReverted=!1,e&&this.add(e)}var t=n.prototype;return t.add=function(i,r,s){Nn(i)&&(s=r,r=i,i=Nn);var A=this,o=function(){var l=ti,c=A.selector,u;return l&&l!==A&&l.data.push(A),s&&(A.selector=ug(s)),ti=A,u=r.apply(A,arguments),Nn(u)&&A._r.push(u),ti=l,A.selector=c,A.isReverted=!1,u};return A.last=o,i===Nn?o(A):i?A[i]=o:o},t.ignore=function(i){var r=ti;ti=null,i(this),ti=r},t.getTweens=function(){var i=[];return this.data.forEach(function(r){return r instanceof n?i.push.apply(i,r.getTweens()):r instanceof si&&!(r.parent&&r.parent.data==="nested")&&i.push(r)}),i},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(i,r){var s=this;if(i){var A=this.getTweens();this.data.forEach(function(a){a.data==="isFlip"&&(a.revert(),a.getChildren(!0,!0,!1).forEach(function(l){return A.splice(A.indexOf(l),1)}))}),A.map(function(a){return{g:a.globalTime(0),t:a}}).sort(function(a,l){return l.g-a.g||-1}).forEach(function(a){return a.t.revert(i)}),this.data.forEach(function(a){return!(a instanceof Ya)&&a.revert&&a.revert(i)}),this._r.forEach(function(a){return a(i,s)}),this.isReverted=!0}else this.data.forEach(function(a){return a.kill&&a.kill()});if(this.clear(),r){var o=Ja.indexOf(this);~o&&Ja.splice(o,1)}},t.revert=function(i){this.kill(i||{})},n}(),nM=function(){function n(e){this.contexts=[],this.scope=e}var t=n.prototype;return t.add=function(i,r,s){ps(i)||(i={matches:i});var A=new W_(0,s||this.scope),o=A.conditions={},a,l,c;this.contexts.push(A),r=A.add("onMatch",r),A.queries=i;for(l in i)l==="all"?c=1:(a=yr.matchMedia(i[l]),a&&(Ja.indexOf(A)<0&&Ja.push(A),(o[l]=a.matches)&&(c=1),a.addListener?a.addListener(dg):a.addEventListener("change",dg)));return c&&r(A),this},t.revert=function(i){this.kill(i||{})}
vendor: 5,199 bytes, lines 38-46
38,t.kill=function(i){this.contexts.forEach(function(r){return r.kill(i,!0)})},n}(),Pf={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach(function(r){return RE(r)})},timeline:function(t){return new qi(t)},getTweensOf:function(t,e){return Dn.getTweensOf(t,e)},getProperty:function(t,e,i,r){ui(t)&&(t=Cr(t)[0]);var s=xo(t||{}).get,A=i?y_:v_;return i==="native"&&(i=""),t&&(e?A((Ar[e]&&Ar[e].get||s)(t,e,i,r)):function(o,a,l){return A((Ar[o]&&Ar[o].get||s)(t,o,a,l))})},quickSetter:function(t,e,i){if(t=Cr(t),t.length>1){var r=t.map(function(c){return pr.quickSetter(c,e,i)}),s=r.length;return function(c){for(var u=s;u--;)r[u](c)}}t=t[0]||{};var A=Ar[e],o=xo(t),a=o.harness&&(o.harness.aliases||{})[e]||e,l=A?function(c){var u=new A;Sa._pt=0,u.init(t,i?c+i:c,Sa,0,[t]),u.render(1,u),Sa._pt&&n0(1,Sa)}:o.set(t,a);return A?l:function(c){return l(t,a,i?c+i:c,o,1)}},quickTo:function(t,e,i){var r,s=pr.to(t,Io((r={},r[e]="+=0.1",r.paused=!0,r),i||{})),A=function(a,l,c){return s.resetTo(e,a,l,c)};return A.tween=s,A},isTweening:function(t){return Dn.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Co(t.ease,Wa.ease)),X1(Wa,t||{})},config:function(t){return X1(fr,t||{})},registerEffect:function(t){var e=t.name,i=t.effect,r=t.plugins,s=t.defaults,A=t.extendTimeline;(r||"").split(",").forEach(function(o){return o&&!Ar[o]&&!dr[o]&&Tf(e+" effect requires "+o+" plugin.")}),Bd[e]=function(o,a,l){return i(Cr(o),Ir(a||{},s),l)},A&&(qi.prototype[e]=function(o,a,l){return this.add(Bd[e](o,ps(a)?a:(l=a)&&{},this),l)})},registerEase:function(t,e){hn[t]=Co(e)},parseEase:function(t,e){return arguments.length?Co(t,e):hn},getById:function(t){return Dn.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var i=new qi(t),r,s;for(i.smoothChildTiming=Yi(t.smoothChildTiming),Dn.remove(i),i._dp=0,i._time=i._tTime=Dn._time,r=Dn._first;r;)s=r._next,(e||!(!r._dur&&r instanceof si&&r.vars.onComplete===r._targets[0]))&&as(i,r,r._start-r._delay),r=s;return as(Dn,i,0),i},context:function(t,e){return t?new W_(t,e):ti},matchMedia:function(t){return new nM(t)},matchMediaRefresh:function(){return Ja.forEach(function(t){var e=t.conditions,i,r;for(r in e)e[r]&&(e[r]=!1,i=1);i&&t.revert()})||dg()},addEventListener:function(t,e){var i=af[t]||(af[t]=[]);~i.indexOf(e)||i.push(e)},removeEventListener:function(t,e){var i=af[t],r=i&&i.indexOf(e);r>=0&&i.splice(r,1)},utils:{wrap:LE,wrapYoyo:PE,distribute:F_,random:M_,snap:E_,normalize:QE,getUnit:Mi,clamp:ME,splitColor:I_,toArray:Cr,selector:ug,mapRange:T_,pipe:TE,unitize:IE,interpolate:DE,shuffle:S_},install:d_,effects:Bd,ticker:or,updateRoot:qi.updateRoot,plugins:Ar,globalTimeline:Dn,core:{PropTween:Zi,globals:p_,Tween:si,Timeline:qi,Animation:Ya,getCache:xo,_removeLinkedListItem:bh,reverting:function(){return Xi},context:function(t){return t&&ti&&(ti.data.push(t),t._ctx=ti),ti},suppressOverwrites:function(t){return Km=t}}};Ji("to,from,fromTo,delayedCall,set,killTweensOf",function(n){return Pf[n]=si[n]});or.add(qi.updateRoot);Sa=Pf.to({},{duration:0});var iM=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},rM=function(t,e){var i=t._targets,r,s,A;for(r in e)for(s=i.length;s--;)A=t._ptLookup[s][r],A&&(A=A.d)&&(A._pt&&(A=iM(A,r)),A&&A.modifier&&A.modifier(e[r],t,i[s],r))},Sd=function(t,e){return{name:t,rawVars:1,init:function(r,s,A){A._onInit=function(o){var a,l;if(ui(s)&&(a={},Ji(s,function(c){return a[c]=1}),s=a),e){a={};for(l in s)a[l]=e(s[l]);s=a}rM(o,s)}}}},pr=Pf.registerPlugin({name:"attr",init:function(t,e,i,r,s){var A,o,a;this.tween=i;for(A in e)a=t.getAttribute(A)||"",o=this.add(t,"setAttribute",(a||0)+"",e[A],r,s,0,0,A),o.op=A,o.b=a,this._props.push(A)},render:function(t,e){for(var i=e._pt;i;)Xi?i.set(i.t,i.p,i.b,i):i.r(t,i.d),i=i._next}},{name:"endArray",init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i],0,0,0,0,0,1)}},Sd("roundProps",fg),Sd("modifiers"),Sd("snap",E_))||Pf;si.version=qi.version=pr.version="3.11.3";h_=1;a_()&&Xa();hn.Power0;hn.Power1;hn.Power2;hn.Power3;hn.Power4;hn.Linear;hn.Quad;hn.Cubic;hn.Quart;hn.Quint;hn.Strong;hn.Elastic;hn.Back;hn.SteppedEase;hn.Bounce;hn.Sine;hn.Expo;hn.Circ;/*! 39 * CSSPlugin 3.11.3 40 * https://greensock.com 41 * 42 * Copyright 2008-2022, GreenSock. All rights reserved. 43 * Subject to the terms at https://greensock.com/standard-license or for 44 * Club GreenSock members, the agreement issued with that membership. 45 * @author: Jack Doyle, [email protected] 46*/var ew,xA,Ra,i0,ho,nw,r0,sM=function(){return typeof window<"u"},js={},oo=180/Math.PI,Oa=Math.PI/180,Jo=Math.atan2,iw=1e8,s0=/([A-Z])/g,AM=/(left|right|width|margin|padding|x)/i,oM=/[\s,\(]\S/,Os={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},pg=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},aM=function(t,e){return e.set(e.t,e.p,t===1?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},lM=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},cM=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},q_=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},j_=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)}
vendor: 16,482 bytes, line 46
46,uM=function(t,e,i){return t.style[e]=i},fM=function(t,e,i){return t.style.setProperty(e,i)},hM=function(t,e,i){return t._gsap[e]=i},dM=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},pM=function(t,e,i,r,s){var A=t._gsap;A.scaleX=A.scaleY=i,A.renderTransform(s,A)},gM=function(t,e,i,r,s){var A=t._gsap;A[e]=i,A.renderTransform(s,A)},On="transform",jr=On+"Origin",mM=function(t,e){var i=this,r=this.target,s=r.style;if(t in js){if(this.tfm=this.tfm||{},t!=="transform"&&(t=Os[t]||t,~t.indexOf(",")?t.split(",").forEach(function(A){return i.tfm[A]=Ps(r,A)}):this.tfm[t]=r._gsap.x?r._gsap[t]:Ps(r,t)),this.props.indexOf(On)>=0)return;r._gsap.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(jr,e,"")),t=On}(s||e)&&this.props.push(t,e,s[t])},X_=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},wM=function(){var t=this.props,e=this.target,i=e.style,r=e._gsap,s,A;for(s=0;s<t.length;s+=3)t[s+1]?e[t[s]]=t[s+2]:t[s+2]?i[t[s]]=t[s+2]:i.removeProperty(t[s].replace(s0,"-$1").toLowerCase());if(this.tfm){for(A in this.tfm)r[A]=this.tfm[A];r.svg&&(r.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),s=r0(),s&&!s.isStart&&!i[On]&&(X_(i),r.uncache=1)}},Y_=function(t,e){var i={target:t,props:[],revert:wM,save:mM};return e&&e.split(",").forEach(function(r){return i.save(r)}),i},J_,gg=function(t,e){var i=xA.createElementNS?xA.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):xA.createElement(t);return i.style?i:xA.createElement(t)},hs=function n(t,e,i){var r=getComputedStyle(t);return r[e]||r.getPropertyValue(e.replace(s0,"-$1").toLowerCase())||r.getPropertyValue(e)||!i&&n(t,Za(e)||e,1)||""},rw="O,Moz,ms,Ms,Webkit".split(","),Za=function(t,e,i){var r=e||ho,s=r.style,A=5;if(t in s&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);A--&&!(rw[A]+t in s););return A<0?null:(A===3?"ms":A>=0?rw[A]:"")+t},mg=function(){sM()&&window.document&&(ew=window,xA=ew.document,Ra=xA.documentElement,ho=gg("div")||{style:{}},gg("div"),On=Za(On),jr=On+"Origin",ho.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",J_=!!Za("perspective"),r0=pr.core.reverting,i0=1)},Fd=function n(t){var e=gg("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,r=this.nextSibling,s=this.style.cssText,A;if(Ra.appendChild(e),e.appendChild(this),this.style.display="block",t)try{A=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=n}catch{}else this._gsapBBox&&(A=this._gsapBBox());return i&&(r?i.insertBefore(this,r):i.appendChild(this)),Ra.removeChild(e),this.style.cssText=s,A},sw=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},Z_=function(t){var e;try{e=t.getBBox()}catch{e=Fd.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===Fd||(e=Fd.call(t,!0)),e&&!e.width&&!e.x&&!e.y?{x:+sw(t,["x","cx","x1"])||0,y:+sw(t,["y","cy","y1"])||0,width:0,height:0}:e},$_=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Z_(t))},Bc=function(t,e){if(e){var i=t.style;e in js&&e!==jr&&(e=On),i.removeProperty?((e.substr(0,2)==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),i.removeProperty(e.replace(s0,"-$1").toLowerCase())):i.removeAttribute(e)}},bA=function(t,e,i,r,s,A){var o=new Zi(t._pt,e,i,0,1,A?j_:q_);return t._pt=o,o.b=r,o.e=s,t._props.push(i),o},Aw={deg:1,rad:1,turn:1},vM={grid:1,flex:1},HA=function n(t,e,i,r){var s=parseFloat(i)||0,A=(i+"").trim().substr((s+"").length)||"px",o=ho.style,a=AM.test(e),l=t.tagName.toLowerCase()==="svg",c=(l?"client":"offset")+(a?"Width":"Height"),u=100,f=r==="px",m=r==="%",y,h,g,b;return r===A||!s||Aw[r]||Aw[A]?s:(A!=="px"&&!f&&(s=n(t,e,i,"px")),b=t.getCTM&&$_(t),(m||A==="%")&&(js[e]||~e.indexOf("adius"))?(y=b?t.getBBox()[a?"width":"height"]:t[c],Xn(m?s/y*u:s/100*y)):(o[a?"width":"height"]=u+(f?A:r),h=~e.indexOf("adius")||r==="em"&&t.appendChild&&!l?t:t.parentNode,b&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===xA||!h.appendChild)&&(h=xA.body),g=h._gsap,g&&m&&g.width&&a&&g.time===or.time&&!g.uncache?Xn(s/g.width*u):((m||A==="%")&&!vM[hs(h,"display")]&&(o.position=hs(t,"position")),h===t&&(o.position="static"),h.appendChild(ho),y=ho[c],h.removeChild(ho),o.position="absolute",a&&m&&(g=xo(h),g.time=or.time,g.width=h[c]),Xn(f?y*s/u:y&&s?u/y*s:0))))},Ps=function(t,e,i,r){var s;return i0||mg(),e in Os&&e!=="transform"&&(e=Os[e],~e.indexOf(",")&&(e=e.split(",")[0])),js[e]&&e!=="transform"?(s=xc(t,r),s=e!=="transformOrigin"?s[e]:s.svg?s.origin:Rf(hs(t,jr))+" "+s.zOrigin+"px"):(s=t.style[e],(!s||s==="auto"||r||~(s+"").indexOf("calc("))&&(s=Df[e]&&Df[e](t,e,i)||hs(t,e)||m_(t,e)||(e==="opacity"?1:0))),i&&!~(s+"").trim().indexOf(" ")?HA(t,e,s,i)+i:s},yM=function(t,e,i,r){if(!i||i==="none"){var s=Za(e,t,1),A=s&&hs(t,s,1);A&&A!==i?(e=s,i=A):e==="borderColor"&&(i=hs(t,"borderTopColor"))}var o=new Zi(this._pt,t.style,e,0,1,G_),a=0,l=0,c,u,f,m,y,h,g,b,U,N,L,R;if(o.b=i,o.e=r,i+="",r+="",r==="auto"&&(t.style[e]=r,r=hs(t,e)||r,t.style[e]=i),c=[i,r],L_(c),i=c[0],r=c[1],f=i.match(Ca)||[],R=r.match(Ca)||[],R.length){for(;u=Ca.exec(r);)g=u[0],U=r.substring(a,u.index),y?y=(y+1)%5:(U.substr(-5)==="rgba("||U.substr(-5)==="hsla(")&&(y=1),g!==(h=f[l++]||"")&&(m=parseFloat(h)||0,L=h.substr((m+"").length),g.charAt(1)==="="&&(g=Da(m,g)+L),b=parseFloat(g),N=g.substr((b+"").length),a=Ca.lastIndex-N.length,N||(N=N||fr.units[e]||L,a===r.length&&(r+=N,o.e+=N)),L!==N&&(m=HA(t,e,h,N)||0),o._pt={_next:o._pt,p:U||l===1?U:",",s:m,c:b-m,m:y&&y<4||e==="zIndex"?Math.round:0});o.c=a<r.length?r.substring(a,r.length):""}else o.r=e==="display"&&r==="none"?j_:q_;return u_.test(r)&&(o.e=0),this._pt=o,o},ow={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},BM=function(t){var e=t.split(" "),i=e[0],r=e[1]||"50%";return(i==="top"||i==="bottom"||r==="left"||r==="right")&&(t=i,i=r,r=t),e[0]=ow[i]||i,e[1]=ow[r]||r,e.join(" ")},_M=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i=e.t,r=i.style,s=e.u,A=i._gsap,o,a,l;if(s==="all"||s===!0)r.cssText="",a=1;else for(s=s.split(","),l=s.length;--l>-1;)o=s[l],js[o]&&(a=1,o=o==="transformOrigin"?jr:On),Bc(i,o);a&&(Bc(i,On),A&&(A.svg&&i.removeAttribute("transform"),xc(i,1),A.uncache=1,X_(r)))}},Df={clearProps:function(t,e,i,r,s){if(s.data!=="isFromStart"){var A=t._pt=new Zi(t._pt,e,i,0,0,_M);return A.u=r,A.pr=-10,A.tween=s,t._props.push(i),1}}},_c=[1,0,0,1,0,0],tx={},ex=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},aw=function(t){var e=hs(t,On);return ex(e)?_c:e.substr(7).match(c_).map(Xn)},A0=function(t,e){var i=t._gsap||xo(t),r=t.style,s=aw(t),A,o,a,l;return i.svg&&t.getAttribute("transform")?(a=t.transform.baseVal.consolidate().matrix,s=[a.a,a.b,a.c,a.d,a.e,a.f],s.join(",")==="1,0,0,1,0,0"?_c:s):(s===_c&&!t.offsetParent&&t!==Ra&&!i.svg&&(a=r.display,r.display="block",A=t.parentNode,(!A||!t.offsetParent)&&(l=1,o=t.nextElementSibling,Ra.appendChild(t)),s=aw(t),a?r.display=a:Bc(t,"display"),l&&(o?A.insertBefore(t,o):A?A.appendChild(t):Ra.removeChild(t))),e&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},wg=function(t,e,i,r,s,A){var o=t._gsap,a=s||A0(t,!0),l=o.xOrigin||0,c=o.yOrigin||0,u=o.xOffset||0,f=o.yOffset||0,m=a[0],y=a[1],h=a[2],g=a[3],b=a[4],U=a[5],N=e.split(" "),L=parseFloat(N[0])||0,R=parseFloat(N[1])||0,j,st,O,V;i?a!==_c&&(st=m*g-y*h)&&(O=L*(g/st)+R*(-h/st)+(h*U-g*b)/st,V=L*(-y/st)+R*(m/st)-(m*U-y*b)/st,L=O,R=V):(j=Z_(t),L=j.x+(~N[0].indexOf("%")?L/100*j.width:L),R=j.y+(~(N[1]||N[0]).indexOf("%")?R/100*j.height:R)),r||r!==!1&&o.smooth?(b=L-l,U=R-c,o.xOffset=u+(b*m+U*h)-b,o.yOffset=f+(b*y+U*g)-U):o.xOffset=o.yOffset=0,o.xOrigin=L,o.yOrigin=R,o.smooth=!!r,o.origin=e,o.originIsAbsolute=!!i,t.style[jr]="0px 0px",A&&(bA(A,o,"xOrigin",l,L),bA(A,o,"yOrigin",c,R),bA(A,o,"xOffset",u,o.xOffset),bA(A,o,"yOffset",f,o.yOffset)),t.setAttribute("data-svg-origin",L+" "+R)},xc=function(t,e){var i=t._gsap||new O_(t);if("x"in i&&!e&&!i.uncache)return i;var r=t.style,s=i.scaleX<0,A="px",o="deg",a=getComputedStyle(t),l=hs(t,jr)||"0",c,u,f,m,y,h,g,b,U,N,L,R,j,st,O,V,gt,Nt,Dt,Et,xt,Xt,jt,Gt,Wt,kt,Vt,we,oe,Be,Ue,zt;return c=u=f=h=g=b=U=N=L=0,m=y=1,i.svg=!!(t.getCTM&&$_(t)),a.translate&&((a.translate!=="none"||a.scale!=="none"||a.rotate!=="none")&&(r[On]=(a.translate!=="none"?"translate3d("+(a.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(a.rotate!=="none"?"rotate("+a.rotate+") ":"")+(a.scale!=="none"?"scale("+a.scale.split(" ").join(",")+") ":"")+(a[On]!=="none"?a[On]:"")),r.scale=r.rotate=r.translate="none"),st=A0(t,i.svg),i.svg&&(i.uncache?(Wt=t.getBBox(),l=i.xOrigin-Wt.x+"px "+(i.yOrigin-Wt.y)+"px",Gt=""):Gt=!e&&t.getAttribute("data-svg-origin"),wg(t,Gt||l,!!Gt||i.originIsAbsolute,i.smooth!==!1,st)),R=i.xOrigin||0,j=i.yOrigin||0,st!==_c&&(Nt=st[0],Dt=st[1],Et=st[2],xt=st[3],c=Xt=st[4],u=jt=st[5],st.length===6?(m=Math.sqrt(Nt*Nt+Dt*Dt),y=Math.sqrt(xt*xt+Et*Et),h=Nt||Dt?Jo(Dt,Nt)*oo:0,U=Et||xt?Jo(Et,xt)*oo+h:0,U&&(y*=Math.abs(Math.cos(U*Oa))),i.svg&&(c-=R-(R*Nt+j*Et),u-=j-(R*Dt+j*xt))):(zt=st[6],Be=st[7],Vt=st[8],we=st[9],oe=st[10],Ue=st[11],c=st[12],u=st[13],f=st[14],O=Jo(zt,oe),g=O*oo,O&&(V=Math.cos(-O),gt=Math.sin(-O),Gt=Xt*V+Vt*gt,Wt=jt*V+we*gt,kt=zt*V+oe*gt,Vt=Xt*-gt+Vt*V,we=jt*-gt+we*V,oe=zt*-gt+oe*V,Ue=Be*-gt+Ue*V,Xt=Gt,jt=Wt,zt=kt),O=Jo(-Et,oe),b=O*oo,O&&(V=Math.cos(-O),gt=Math.sin(-O),Gt=Nt*V-Vt*gt,Wt=Dt*V-we*gt,kt=Et*V-oe*gt,Ue=xt*gt+Ue*V,Nt=Gt,Dt=Wt,Et=kt),O=Jo(Dt,Nt),h=O*oo,O&&(V=Math.cos(O),gt=Math.sin(O),Gt=Nt*V+Dt*gt,Wt=Xt*V+jt*gt,Dt=Dt*V-Nt*gt,jt=jt*V-Xt*gt,Nt=Gt,Xt=Wt),g&&Math.abs(g)+Math.abs(h)>359.9&&(g=h=0,b=180-b),m=Xn(Math.sqrt(Nt*Nt+Dt*Dt+Et*Et)),y=Xn(Math.sqrt(jt*jt+zt*zt)),O=Jo(Xt,jt),U=Math.abs(O)>2e-4?O*oo:0,L=Ue?1/(Ue<0?-Ue:Ue):0),i.svg&&(Gt=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!ex(hs(t,On)),Gt&&t.setAttribute("transform",Gt))),Math.abs(U)>90&&Math.abs(U)<270&&(s?(m*=-1,U+=h<=0?180:-180,h+=h<=0?180:-180):(y*=-1,U+=U<=0?180:-180)),e=e||i.uncache,i.x=c-((i.xPercent=c&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-c)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+A,i.y=u-((i.yPercent=u&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-u)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+A,i.z=f+A,i.scaleX=Xn(m),i.scaleY=Xn(y),i.rotation=Xn(h)+o,i.rotationX=Xn(g)+o,i.rotationY=Xn(b)+o,i.skewX=U+o,i.skewY=N+o,i.transformPerspective=L+A,(i.zOrigin=parseFloat(l.split(" ")[2])||0)&&(r[jr]=Rf(l)),i.xOffset=i.yOffset=0,i.force3D=fr.force3D,i.renderTransform=i.svg?bM:J_?nx:xM,i.uncache=0,i},Rf=function(t){return(t=t.split(" "))[0]+" "+t[1]},Ed=function(t,e,i){var r=Mi(e);return Xn(parseFloat(e)+parseFloat(HA(t,"x",i+"px",r)))+r},xM=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,nx(t,e)},to="0deg",Bl="0px",eo=") ",nx=function(t,e){var i=e||this,r=i.xPercent,s=i.yPercent,A=i.x,o=i.y,a=i.z,l=i.rotation,c=i.rotationY,u=i.rotationX,f=i.skewX,m=i.skewY,y=i.scaleX,h=i.scaleY,g=i.transformPerspective,b=i.force3D,U=i.target,N=i.zOrigin,L="",R=b==="auto"&&t&&t!==1||b===!0;if(N&&(u!==to||c!==to)){var j=parseFloat(c)*Oa,st=Math.sin(j),O=Math.cos(j),V;j=parseFloat(u)*Oa,V=Math.cos(j),A=Ed(U,A,st*V*-N),o=Ed(U,o,-Math.sin(j)*-N),a=Ed(U,a,O*V*-N+N)}g!==Bl&&(L+="perspective("+g+eo),(r||s)&&(L+="translate("+r+"%, "+s+"%) "),(R||A!==Bl||o!==Bl||a!==Bl)&&(L+=a!==Bl||R?"translate3d("+A+", "+o+", "+a+") ":"translate("+A+", "+o+eo),l!==to&&(L+="rotate("+l+eo),c!==to&&(L+="rotateY("+c+eo),u!==to&&(L+="rotateX("+u+eo),(f!==to||m!==to)&&(L+="skew("+f+", "+m+eo),(y!==1||h!==1)&&(L+="scale("+y+", "+h+eo),U.style[On]=L||"translate(0, 0)"},bM=function(t,e){var i=e||this,r=i.xPercent,s=i.yPercent,A=i.x,o=i.y,a=i.rotation,l=i.skewX,c=i.skewY,u=i.scaleX,f=i.scaleY,m=i.target,y=i.xOrigin,h=i.yOrigin,g=i.xOffset,b=i.yOffset,U=i.forceCSS,N=parseFloat(A),L=parseFloat(o),R,j,st,O,V;a=parseFloat(a),l=parseFloat(l),c=parseFloat(c),c&&(c=parseFloat(c),l+=c,a+=c),a||l?(a*=Oa,l*=Oa,R=Math.cos(a)*u,j=Math.sin(a)*u,st=Math.sin(a-l)*-f,O=Math.cos(a-l)*f,l&&(c*=Oa,V=Math.tan(l-c),V=Math.sqrt(1+V*V),st*=V,O*=V,c&&(V=Math.tan(c),V=Math.sqrt(1+V*V),R*=V,j*=V)),R=Xn(R),j=Xn(j),st=Xn(st),O=Xn(O)):(R=u,O=f,j=st=0),(N&&!~(A+"").indexOf("px")||L&&!~(o+"").indexOf("px"))&&(N=HA(m,"x",A,"px"),L=HA(m,"y",o,"px")),(y||h||g||b)&&(N=Xn(N+y-(y*R+h*st)+g),L=Xn(L+h-(y*j+h*O)+b)),(r||s)&&(V=m.getBBox(),N=Xn(N+r/100*V.width),L=Xn(L+s/100*V.height)),V="matrix("+R+","+j+","+st+","+O+","+N+","+L+")",m.setAttribute("transform",V),U&&(m.style[On]=V)},CM=function(t,e,i,r,s){var A=360,o=ui(s),a=parseFloat(s)*(o&&~s.indexOf("rad")?oo:1),l=a-r,c=r+l+"deg",u,f;return o&&(u=s.split("_")[1],u==="short"&&(l%=A,l!==l%(A/2)&&(l+=l<0?A:-A)),u==="cw"&&l<0?l=(l+A*iw)%A-~~(l/A)*A:u==="ccw"&&l>0&&(l=(l-A*iw)%A-~~(l/A)*A)),t._pt=f=new Zi(t._pt,e,i,r,l,aM),f.e=c,f.u="deg",t._props.push(i),f},lw=function(t,e){for(var i in e)t[i]=e[i];return t},SM=function(t,e,i){var r=lw({},i._gsap),s="perspective,force3D,transformOrigin,svgOrigin",A=i.style,o,a,l,c,u,f,m,y;r.svg?(l=i.getAttribute("transform"),i.setAttribute("transform",""),A[On]=e,o=xc(i,1),Bc(i,On),i.setAttribute("transform",l)):(l=getComputedStyle(i)[On],A[On]=e,o=xc(i,1),A[On]=l);for(a in js)l=r[a],c=o[a],l!==c&&s.indexOf(a)<0&&(m=Mi(l),y=Mi(c),u=m!==y?HA(i,a,l,y):parseFloat(l),f=parseFloat(c),t._pt=new Zi(t._pt,o,a,u,f-u,pg),t._pt.u=y||0,t._props.push(a));lw(o,r)};Ji("padding,margin,Width,Radius",function(n,t){var e="Top",i="Right",r="Bottom",s="Left",A=(t<3?[e,i,r,s]:[e+s,e+i,r+i,r+s]).map(function(o){return t<2?n+o:"border"+o+n});Df[t>1?"border"+n:n]=function(o,a,l,c,u){var f,m;if(arguments.length<4)return f=A.map(function(y){return Ps(o,y,l)}),m=f.join(" "),m.split(f[0]).length===5?f[0]:m;f=(c+"").split(" "),m={},A.forEach(function(y,h){return m[y]=f[h]=f[h]||f[(h-1)/2|0]}),o.init(a,m,u)}});var ix={name:"css",register:mg,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,r,s){var A=this._props,o=t.style,a=i.vars.startAt,l,c,u,f,m,y,h,g,b,U,N,L,R,j,st,O;i0||mg(),this.styles=this.styles||Y_(t),O=this.styles.props,this.tween=i;for(h in e)if(h!=="autoRound"&&(c=e[h],!(Ar[h]&&H_(h,e,i,r,t,s)))){if(m=typeof c,y=Df[h],m==="function"&&(c=c.call(i,r,t,s),m=typeof c),m==="string"&&~c.indexOf("random(")&&(c=vc(c)),y)y(this,t,h,c,i)&&(st=1);else if(h.substr(0,2)==="--")l=(getComputedStyle(t).getPropertyValue(h)+"").trim(),c+="",QA.lastIndex=0,QA.test(l)||(g=Mi(l),b=Mi(c)),b?g!==b&&(l=HA(t,h,l,b)+b):g&&(c+=g),this.add(o,"setProperty",l,c,r,s,0,0,h),A.push(h),O.push(h,0,o[h]);else if(m!=="undefined"){if(a&&h in a?(l=typeof a[h]=="function"?a[h].call(i,r,t,s):a[h],ui(l)&&~l.indexOf("random(")&&(l=vc(l)),Mi(l+"")||(l+=fr.units[h]||Mi(Ps(t,h))||""),(l+"").charAt(1)==="="&&(l=Ps(t,h))):l=Ps(t,h),f=parseFloat(l),U=m==="string"&&c.charAt(1)==="="&&c.substr(0,2),U&&(c=c.substr(2)),u=parseFloat(c),h in Os&&(h==="autoAlpha"&&(f===1&&Ps(t,"visibility")==="hidden"&&u&&(f=0),O.push("visibility",0,o.visibility),bA(this,o,"visibility",f?"inherit":"hidden",u?"inherit":"hidden",!u)),h!=="scale"&&h!=="transform"&&(h=Os[h],~h.indexOf(",")&&(h=h.split(",")[0]))),N=h in js,N){if(this.styles.save(h),L||(R=t._gsap,R.renderTransform&&!e.parseTransform||xc(t,e.parseTransform),j=e.smoothOrigin!==!1&&R.smooth,L=this._pt=new Zi(this._pt,o,On,0,1,R.renderTransform,R,0,-1),L.dep=1),h==="scale")this._pt=new Zi(this._pt,R,"scaleY",f,(U?Da(f,U+u):u)-f||0,pg),this._pt.u=0,A.push("scaleY",h),h+="X";else if(h==="transformOrigin"){O.push(jr,0,o[jr]),c=BM(c),R.svg?wg(t,c,0,j,0,this):(b=parseFloat(c.split(" ")[2])||0,b!==R.zOrigin&&bA(this,R,"zOrigin",R.zOrigin,b),bA(this,o,h,Rf(l),Rf(c)));continue}else if(h==="svgOrigin"){wg(t,c,1,j,0,this);continue}else if(h in tx){CM(this,R,h,f,U?Da(f,U+c):c);continue}else if(h==="smoothOrigin"){bA(this,R,"smooth",R.smooth,c);continue}else if(h==="force3D"){R[h]=c;continue}else if(h==="transform"){SM(this,c,t);continue}}else h in o||(h=Za(h)||h);if(N||(u||u===0)&&(f||f===0)&&!oM.test(c)&&h in o)g=(l+"").substr((f+"").length),u||(u=0),b=Mi(c)||(h in fr.units?fr.units[h]:g),g!==b&&(f=HA(t,h,l,b)),this._pt=new Zi(this._pt,N?R:o,h,f,(U?Da(f,U+u):u)-f,!N&&(b==="px"||h==="zIndex")&&e.autoRound!==!1?cM:pg),this._pt.u=b||0,g!==b&&b!=="%"&&(this._pt.b=l,this._pt.r=lM);else if(h in o)yM.call(this,t,h,l,U?U+c:c);else if(h in t)this.add(t,h,l||t[h],U?U+c:c,r,s);else{jm(h,c);continue}N||(h in o?O.push(h,0,o[h]):O.push(h,1,l||t[h])),A.push(h)}}st&&K_(this)},render:function(t,e){if(e.tween._time||!r0())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()}
46,get:Ps,aliases:Os,getSetter:function(t,e,i){var r=Os[e];return r&&r.indexOf(",")<0&&(e=r),e in js&&e!==jr&&(t._gsap.x||Ps(t,"x"))?i&&nw===i?e==="scale"?dM:hM:(nw=i||{})&&(e==="scale"?pM:gM):t.style&&!Wm(t.style[e])?uM:~e.indexOf("-")?fM:e0(t,e)},core:{_removeProperty:Bc,_getMatrix:A0}};pr.utils.checkPrefix=Za;pr.core.getStyleSaver=Y_;(function(n,t,e,i){var r=Ji(n+","+t+","+e,function(s){js[s]=1});Ji(t,function(s){fr.units[s]="deg",tx[s]=1}),Os[r[13]]=n+","+t,Ji(i,function(s){var A=s.split(":");Os[A[1]]=r[A[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");Ji("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(n){fr.units[n]="px"});pr.registerPlugin(ix);var ks=pr.registerPlugin(ix)||pr;ks.core.Tween;/** 47 * @license 48 * Copyright 2010-2022 Three.js Authors 49 * SPDX-License-Identifier: MIT 50 */const o0="145",Zo={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2},$o={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3},FM=0,cw=1,EM=2,rx=1,sx=2,Il=3,$a=0,Ur=1,CA=2,LA=0,Ha=1,uw=2,fw=3,hw=4,MM=5,_a=100,UM=101,TM=102,dw=103,pw=104,IM=200,QM=201,LM=202,PM=203,Ax=204,ox=205,DM=206,RM=207,OM=208,HM=209,kM=210,NM=0,zM=1,VM=2,vg=3,GM=4,KM=5,WM=6,qM=7,ax=0,jM=1,XM=2,Ns=0,YM=1,JM=2,ZM=3,$M=4,tU=5,lx=300,tl=301,el=302,yg=303,Bg=304,Fh=306,_g=1e3,Nr=1001,xg=1002,Gi=1003,gw=1004,mw=1005,Br=1006,eU=1007,Eh=1008,Qo=1009,nU=1010,iU=1011,cx=1012,rU=1013,po=1014,go=1015,bc=1016,sU=1017,AU=1018,ka=1020,oU=1021,aU=1022,ls=1023,lU=1024,cU=1025,So=1026,nl=1027,uU=1028,fU=1029,hU=1030,dU=1031,pU=1033,Md=33776,Ud=33777,Td=33778,Id=33779,ww=35840,vw=35841,yw=35842,Bw=35843,gU=36196,_w=37492,xw=37496,bw=37808,Cw=37809,Sw=37810,Fw=37811,Ew=37812,Mw=37813,Uw=37814,Tw=37815,Iw=37816,Qw=37817,Lw=37818,Pw=37819,Dw=37820,Rw=37821,Ow=36492,Lo=3e3,kn=3001,mU=3200,wU=3201,vU=0,yU=1,Qs="srgb",mo="srgb-linear",Qd=7680,BU=519,Hw=35044,kw="300 es",bg=1035;class Vo{addEventListener(t,e){this._listeners===void 0&&(this._listeners={});const i=this._listeners;i[t]===void 0&&(i[t]=[]),i[t].indexOf(e)===-1&&i[t].push(e)}hasEventListener(t,e){if(this._listeners===void 0)return!1;const i=this._listeners;return i[t]!==void 0&&i[t].indexOf(e)!==-1}removeEventListener(t,e){if(this._listeners===void 0)return;const r=this._listeners[t];if(r!==void 0){const s=r.indexOf(e);s!==-1&&r.splice(s,1)}}dispatchEvent(t){if(this._listeners===void 0)return;const i=this._listeners[t.type];if(i!==void 0){t.target=this;const r=i.slice(0);for(let s=0,A=r.length;s<A;s++)r[s].call(this,t);t.target=null}}}const Bi=["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"],Ld=Math.PI/180,Nw=180/Math.PI;function Oc(){const n=Math.random()*4294967295|0,t=Math.random()*4294967295|0,e=Math.random()*4294967295|0,i=Math.random()*4294967295|0;return(Bi[n&255]+Bi[n>>8&255]+Bi[n>>16&255]+Bi[n>>24&255]+"-"+Bi[t&255]+Bi[t>>8&255]+"-"+Bi[t>>16&15|64]+Bi[t>>24&255]+"-"+Bi[e&63|128]+Bi[e>>8&255]+"-"+Bi[e>>16&255]+Bi[e>>24&255]+Bi[i&255]+Bi[i>>8&255]+Bi[i>>16&255]+Bi[i>>24&255]).toLowerCase()}function Ki(n,t,e){return Math.max(t,Math.min(e,n))}function _U(n,t){return(n%t+t)%t}function Pd(n,t,e){return(1-e)*n+e*t}function zw(n){return(n&n-1)===0&&n!==0}function Cg(n){return Math.pow(2,Math.floor(Math.log(n)/Math.LN2))}function su(n,t){switch(t.constructor){case Float32Array:return n;case Uint16Array:return n/65535;case Uint8Array:return n/255;case Int16Array:return Math.max(n/32767,-1);case Int8Array:return Math.max(n/127,-1);default:throw new Error("Invalid component type.")}}function er(n,t){switch(t.constructor){case Float32Array:return n;case Uint16Array:return Math.round(n*65535);case Uint8Array:return Math.round(n*255);case Int16Array:return Math.round(n*32767);case Int8Array:return Math.round(n*127);default:throw new Error("Invalid component type.")}}class fn{constructor(t=0,e=0){fn.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,i=this.y,r=t.elements;return this.x=r[0]*e+r[3]*i+r[6],this.y=r[1]*e+r[4]*i+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 i=this.length();return this.divideScalar(i||1).multiplyScalar(Math.max(t,Math.min(e,i)))}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: 13,919 bytes, line 50
50round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(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}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){const e=this.x-t.x,i=this.y-t.y;return e*e+i*i}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,i){return this.x=t.x+(e.x-t.x)*i,this.y=t.y+(e.y-t.y)*i,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 i=Math.cos(e),r=Math.sin(e),s=this.x-t.x,A=this.y-t.y;return this.x=s*i-A*r+t.x,this.y=s*r+A*i+t.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class Fr{constructor(){Fr.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1]}set(t,e,i,r,s,A,o,a,l){const c=this.elements;return c[0]=t,c[1]=r,c[2]=o,c[3]=e,c[4]=s,c[5]=a,c[6]=i,c[7]=A,c[8]=l,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(t){const e=this.elements,i=t.elements;return e[0]=i[0],e[1]=i[1],e[2]=i[2],e[3]=i[3],e[4]=i[4],e[5]=i[5],e[6]=i[6],e[7]=i[7],e[8]=i[8],this}extractBasis(t,e,i){return t.setFromMatrix3Column(this,0),e.setFromMatrix3Column(this,1),i.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 i=t.elements,r=e.elements,s=this.elements,A=i[0],o=i[3],a=i[6],l=i[1],c=i[4],u=i[7],f=i[2],m=i[5],y=i[8],h=r[0],g=r[3],b=r[6],U=r[1],N=r[4],L=r[7],R=r[2],j=r[5],st=r[8];return s[0]=A*h+o*U+a*R,s[3]=A*g+o*N+a*j,s[6]=A*b+o*L+a*st,s[1]=l*h+c*U+u*R,s[4]=l*g+c*N+u*j,s[7]=l*b+c*L+u*st,s[2]=f*h+m*U+y*R,s[5]=f*g+m*N+y*j,s[8]=f*b+m*L+y*st,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],i=t[1],r=t[2],s=t[3],A=t[4],o=t[5],a=t[6],l=t[7],c=t[8];return e*A*c-e*o*l-i*s*c+i*o*a+r*s*l-r*A*a}invert(){const t=this.elements,e=t[0],i=t[1],r=t[2],s=t[3],A=t[4],o=t[5],a=t[6],l=t[7],c=t[8],u=c*A-o*l,f=o*a-c*s,m=l*s-A*a,y=e*u+i*f+r*m;if(y===0)return this.set(0,0,0,0,0,0,0,0,0);const h=1/y;return t[0]=u*h,t[1]=(r*l-c*i)*h,t[2]=(o*i-r*A)*h,t[3]=f*h,t[4]=(c*e-r*a)*h,t[5]=(r*s-o*e)*h,t[6]=m*h,t[7]=(i*a-l*e)*h,t[8]=(A*e-i*s)*h,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,i,r,s,A,o){const a=Math.cos(s),l=Math.sin(s);return this.set(i*a,i*l,-i*(a*A+l*o)+A+t,-r*l,r*a,-r*(-l*A+a*o)+o+e,0,0,1),this}scale(t,e){const i=this.elements;return i[0]*=t,i[3]*=t,i[6]*=t,i[1]*=e,i[4]*=e,i[7]*=e,this}rotate(t){const e=Math.cos(t),i=Math.sin(t),r=this.elements,s=r[0],A=r[3],o=r[6],a=r[1],l=r[4],c=r[7];return r[0]=e*s+i*a,r[3]=e*A+i*l,r[6]=e*o+i*c,r[1]=-i*s+e*a,r[4]=-i*A+e*l,r[7]=-i*o+e*c,this}translate(t,e){const i=this.elements;return i[0]+=t*i[2],i[3]+=t*i[5],i[6]+=t*i[8],i[1]+=e*i[2],i[4]+=e*i[5],i[7]+=e*i[8],this}equals(t){const e=this.elements,i=t.elements;for(let r=0;r<9;r++)if(e[r]!==i[r])return!1;return!0}fromArray(t,e=0){for(let i=0;i<9;i++)this.elements[i]=t[i+e];return this}toArray(t=[],e=0){const i=this.elements;return t[e]=i[0],t[e+1]=i[1],t[e+2]=i[2],t[e+3]=i[3],t[e+4]=i[4],t[e+5]=i[5],t[e+6]=i[6],t[e+7]=i[7],t[e+8]=i[8],t}clone(){return new this.constructor().fromArray(this.elements)}}function ux(n){for(let t=n.length-1;t>=0;--t)if(n[t]>=65535)return!0;return!1}function Of(n){return document.createElementNS("http://www.w3.org/1999/xhtml",n)}function Fo(n){return n<.04045?n*.0773993808:Math.pow(n*.9478672986+.0521327014,2.4)}function lf(n){return n<.0031308?n*12.92:1.055*Math.pow(n,.41666)-.055}const Dd={[Qs]:{[mo]:Fo},[mo]:{[Qs]:lf}},Dr={legacyMode:!0,get workingColorSpace(){return mo},set workingColorSpace(n){console.warn("THREE.ColorManagement: .workingColorSpace is readonly.")},convert:function(n,t,e){if(this.legacyMode||t===e||!t||!e)return n;if(Dd[t]&&Dd[t][e]!==void 0){const i=Dd[t][e];return n.r=i(n.r),n.g=i(n.g),n.b=i(n.b),n}throw new Error("Unsupported color space conversion.")},fromWorkingColorSpace:function(n,t){return this.convert(n,this.workingColorSpace,t)},toWorkingColorSpace:function(n,t){return this.convert(n,t,this.workingColorSpace)}},fx={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},ri={r:0,g:0,b:0},Rr={h:0,s:0,l:0},Au={h:0,s:0,l:0};function Rd(n,t,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?n+(t-n)*6*e:e<1/2?t:e<2/3?n+(t-n)*6*(2/3-e):n}function ou(n,t){return t.r=n.r,t.g=n.g,t.b=n.b,t}class Rn{constructor(t,e,i){return this.isColor=!0,this.r=1,this.g=1,this.b=1,e===void 0&&i===void 0?this.set(t):this.setRGB(t,e,i)}set(t){return t&&t.isColor?this.copy(t):typeof t=="number"?this.setHex(t):typeof t=="string"&&this.setStyle(t),this}setScalar(t){return this.r=t,this.g=t,this.b=t,this}setHex(t,e=Qs){return t=Math.floor(t),this.r=(t>>16&255)/255,this.g=(t>>8&255)/255,this.b=(t&255)/255,Dr.toWorkingColorSpace(this,e),this}setRGB(t,e,i,r=mo){return this.r=t,this.g=e,this.b=i,Dr.toWorkingColorSpace(this,r),this}setHSL(t,e,i,r=mo){if(t=_U(t,1),e=Ki(e,0,1),i=Ki(i,0,1),e===0)this.r=this.g=this.b=i;else{const s=i<=.5?i*(1+e):i+e-i*e,A=2*i-s;this.r=Rd(A,s,t+1/3),this.g=Rd(A,s,t),this.b=Rd(A,s,t-1/3)}return Dr.toWorkingColorSpace(this,r),this}setStyle(t,e=Qs){function i(s){s!==void 0&&parseFloat(s)<1&&console.warn("THREE.Color: Alpha component of "+t+" will be ignored.")}let r;if(r=/^((?:rgb|hsl)a?)\(([^\)]*)\)/.exec(t)){let s;const A=r[1],o=r[2];switch(A){case"rgb":case"rgba":if(s=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(o))return this.r=Math.min(255,parseInt(s[1],10))/255,this.g=Math.min(255,parseInt(s[2],10))/255,this.b=Math.min(255,parseInt(s[3],10))/255,Dr.toWorkingColorSpace(this,e),i(s[4]),this;if(s=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(o))return this.r=Math.min(100,parseInt(s[1],10))/100,this.g=Math.min(100,parseInt(s[2],10))/100,this.b=Math.min(100,parseInt(s[3],10))/100,Dr.toWorkingColorSpace(this,e),i(s[4]),this;break;case"hsl":case"hsla":if(s=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(o)){const a=parseFloat(s[1])/360,l=parseFloat(s[2])/100,c=parseFloat(s[3])/100;return i(s[4]),this.setHSL(a,l,c,e)}break}}else if(r=/^\#([A-Fa-f\d]+)$/.exec(t)){const s=r[1],A=s.length;if(A===3)return this.r=parseInt(s.charAt(0)+s.charAt(0),16)/255,this.g=parseInt(s.charAt(1)+s.charAt(1),16)/255,this.b=parseInt(s.charAt(2)+s.charAt(2),16)/255,Dr.toWorkingColorSpace(this,e),this;if(A===6)return this.r=parseInt(s.charAt(0)+s.charAt(1),16)/255,this.g=parseInt(s.charAt(2)+s.charAt(3),16)/255,this.b=parseInt(s.charAt(4)+s.charAt(5),16)/255,Dr.toWorkingColorSpace(this,e),this}return t&&t.length>0?this.setColorName(t,e):this}setColorName(t,e=Qs){const i=fx[t.toLowerCase()];return i!==void 0?this.setHex(i,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=Fo(t.r),this.g=Fo(t.g),this.b=Fo(t.b),this}copyLinearToSRGB(t){return this.r=lf(t.r),this.g=lf(t.g),this.b=lf(t.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(t=Qs){return Dr.fromWorkingColorSpace(ou(this,ri),t),Ki(ri.r*255,0,255)<<16^Ki(ri.g*255,0,255)<<8^Ki(ri.b*255,0,255)<<0}getHexString(t=Qs){return("000000"+this.getHex(t).toString(16)).slice(-6)}getHSL(t,e=mo){Dr.fromWorkingColorSpace(ou(this,ri),e);const i=ri.r,r=ri.g,s=ri.b,A=Math.max(i,r,s),o=Math.min(i,r,s);let a,l;const c=(o+A)/2;if(o===A)a=0,l=0;else{const u=A-o;switch(l=c<=.5?u/(A+o):u/(2-A-o),A){case i:a=(r-s)/u+(r<s?6:0);break;case r:a=(s-i)/u+2;break;case s:a=(i-r)/u+4;break}a/=6}return t.h=a,t.s=l,t.l=c,t}getRGB(t,e=mo){return Dr.fromWorkingColorSpace(ou(this,ri),e),t.r=ri.r,t.g=ri.g,t.b=ri.b,t}getStyle(t=Qs){return Dr.fromWorkingColorSpace(ou(this,ri),t),t!==Qs?`color(${t} ${ri.r} ${ri.g} ${ri.b})`:`rgb(${ri.r*255|0},${ri.g*255|0},${ri.b*255|0})`}offsetHSL(t,e,i){return this.getHSL(Rr),Rr.h+=t,Rr.s+=e,Rr.l+=i,this.setHSL(Rr.h,Rr.s,Rr.l),this}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,i){return this.r=t.r+(e.r-t.r)*i,this.g=t.g+(e.g-t.g)*i,this.b=t.b+(e.b-t.b)*i,this}lerpHSL(t,e){this.getHSL(Rr),t.getHSL(Au);const i=Pd(Rr.h,Au.h,e),r=Pd(Rr.s,Au.s,e),s=Pd(Rr.l,Au.l,e);return this.setHSL(i,r,s),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}}Rn.NAMES=fx;let ta;class hx{static getDataURL(t){if(/^data:/i.test(t.src)||typeof HTMLCanvasElement>"u")return t.src;let e;if(t instanceof HTMLCanvasElement)e=t;else{ta===void 0&&(ta=Of("canvas")),ta.width=t.width,ta.height=t.height;const i=ta.getContext("2d");t instanceof ImageData?i.putImageData(t,0,0):i.drawImage(t,0,0,t.width,t.height),e=ta}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(typeof HTMLImageElement<"u"&&t instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&t instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&t instanceof ImageBitmap){const e=Of("canvas");e.width=t.width,e.height=t.height;const i=e.getContext("2d");i.drawImage(t,0,0,t.width,t.height);const r=i.getImageData(0,0,t.width,t.height),s=r.data;for(let A=0;A<s.length;
vendor: 8,205 bytes, line 50
50A++)s[A]=Fo(s[A]/255)*255;return i.putImageData(r,0,0),e}else if(t.data){const e=t.data.slice(0);for(let i=0;i<e.length;i++)e instanceof Uint8Array||e instanceof Uint8ClampedArray?e[i]=Math.floor(Fo(e[i]/255)*255):e[i]=Fo(e[i]);return{data:e,width:t.width,height:t.height}}else return console.warn("THREE.ImageUtils.sRGBToLinear(): Unsupported image type. No color space conversion applied."),t}}class dx{constructor(t=null){this.isSource=!0,this.uuid=Oc(),this.data=t,this.version=0}set needsUpdate(t){t===!0&&this.version++}toJSON(t){const e=t===void 0||typeof t=="string";if(!e&&t.images[this.uuid]!==void 0)return t.images[this.uuid];const i={uuid:this.uuid,url:""},r=this.data;if(r!==null){let s;if(Array.isArray(r)){s=[];for(let A=0,o=r.length;A<o;A++)r[A].isDataTexture?s.push(Od(r[A].image)):s.push(Od(r[A]))}else s=Od(r);i.url=s}return e||(t.images[this.uuid]=i),i}}function Od(n){return typeof HTMLImageElement<"u"&&n instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&n instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&n instanceof ImageBitmap?hx.getDataURL(n):n.data?{data:Array.from(n.data),width:n.width,height:n.height,type:n.data.constructor.name}:(console.warn("THREE.Texture: Unable to serialize Texture."),{})}let xU=0;class Zr extends Vo{constructor(t=Zr.DEFAULT_IMAGE,e=Zr.DEFAULT_MAPPING,i=Nr,r=Nr,s=Br,A=Eh,o=ls,a=Qo,l=1,c=Lo){super(),this.isTexture=!0,Object.defineProperty(this,"id",{value:xU++}),this.uuid=Oc(),this.name="",this.source=new dx(t),this.mipmaps=[],this.mapping=e,this.wrapS=i,this.wrapT=r,this.magFilter=s,this.minFilter=A,this.anisotropy=l,this.format=o,this.internalFormat=null,this.type=a,this.offset=new fn(0,0),this.repeat=new fn(1,1),this.center=new fn(0,0),this.rotation=0,this.matrixAutoUpdate=!0,this.matrix=new Fr,this.generateMipmaps=!0,this.premultiplyAlpha=!1,this.flipY=!0,this.unpackAlignment=4,this.encoding=c,this.userData={},this.version=0,this.onUpdate=null,this.isRenderTargetTexture=!1,this.needsPMREMUpdate=!1}get image(){return this.source.data}set image(t){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.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.encoding=t.encoding,this.userData=JSON.parse(JSON.stringify(t.userData)),this.needsUpdate=!0,this}toJSON(t){const e=t===void 0||typeof t=="string";if(!e&&t.textures[this.uuid]!==void 0)return t.textures[this.uuid];const i={metadata:{version:4.5,type:"Texture",generator:"Texture.toJSON"},uuid:this.uuid,name:this.name,image:this.source.toJSON(t).uuid,mapping:this.mapping,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,type:this.type,encoding:this.encoding,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};return JSON.stringify(this.userData)!=="{}"&&(i.userData=this.userData),e||(t.textures[this.uuid]=i),i}dispose(){this.dispatchEvent({type:"dispose"})}transformUv(t){if(this.mapping!==lx)return t;if(t.applyMatrix3(this.matrix),t.x<0||t.x>1)switch(this.wrapS){case _g:t.x=t.x-Math.floor(t.x);break;case Nr:t.x=t.x<0?0:1;break;case xg:Math.abs(Math.floor(t.x)%2)===1?t.x=Math.ceil(t.x)-t.x:t.x=t.x-Math.floor(t.x);break}if(t.y<0||t.y>1)switch(this.wrapT){case _g:t.y=t.y-Math.floor(t.y);break;case Nr:t.y=t.y<0?0:1;break;case xg:Math.abs(Math.floor(t.y)%2)===1?t.y=Math.ceil(t.y)-t.y:t.y=t.y-Math.floor(t.y);break}return this.flipY&&(t.y=1-t.y),t}set needsUpdate(t){t===!0&&(this.version++,this.source.needsUpdate=!0)}}Zr.DEFAULT_IMAGE=null;Zr.DEFAULT_MAPPING=lx;class pi{constructor(t=0,e=0,i=0,r=1){pi.prototype.isVector4=!0,this.x=t,this.y=e,this.z=i,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,i,r){return this.x=t,this.y=e,this.z=i,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=t.w!==void 0?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,i=this.y,r=this.z,s=this.w,A=t.elements;return this.x=A[0]*e+A[4]*i+A[8]*r+A[12]*s,this.y=A[1]*e+A[5]*i+A[9]*r+A[13]*s,this.z=A[2]*e+A[6]*i+A[10]*r+A[14]*s,this.w=A[3]*e+A[7]*i+A[11]*r+A[15]*s,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,i,r,s;const a=t.elements,l=a[0],c=a[4],u=a[8],f=a[1],m=a[5],y=a[9],h=a[2],g=a[6],b=a[10];if(Math.abs(c-f)<.01&&Math.abs(u-h)<.01&&Math.abs(y-g)<.01){if(Math.abs(c+f)<.1&&Math.abs(u+h)<.1&&Math.abs(y+g)<.1&&Math.abs(l+m+b-3)<.1)return this.set(1,0,0,0),this;e=Math.PI;const N=(l+1)/2,L=(m+1)/2,R=(b+1)/2,j=(c+f)/4,st=(u+h)/4,O=(y+g)/4;return N>L&&N>R?N<.01?(i=0,r=.707106781,s=.707106781):(i=Math.sqrt(N),r=j/i,s=st/i):L>R?L<.01?(i=.707106781,r=0,s=.707106781):(r=Math.sqrt(L),i=j/r,s=O/r):R<.01?(i=.707106781,r=.707106781,s=0):(s=Math.sqrt(R),i=st/s,r=O/s),this.set(i,r,s,e),this}let U=Math.sqrt((g-y)*(g-y)+(u-h)*(u-h)+(f-c)*(f-c));return Math.abs(U)<.001&&(U=1),this.x=(g-y)/U,this.y=(u-h)/U,this.z=(f-c)/U,this.w=Math.acos((l+m+b-1)/2),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 i=this.length();return this.divideScalar(i||1).multiplyScalar(Math.max(t,Math.min(e,i)))}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}
vendor: 52,409 bytes, line 50
50round(){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=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this.w=this.w<0?Math.ceil(this.w):Math.floor(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,i){return this.x=t.x+(e.x-t.x)*i,this.y=t.y+(e.y-t.y)*i,this.z=t.z+(e.z-t.z)*i,this.w=t.w+(e.w-t.w)*i,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 Po extends Vo{constructor(t,e,i={}){super(),this.isWebGLRenderTarget=!0,this.width=t,this.height=e,this.depth=1,this.scissor=new pi(0,0,t,e),this.scissorTest=!1,this.viewport=new pi(0,0,t,e);const r={width:t,height:e,depth:1};this.texture=new Zr(r,i.mapping,i.wrapS,i.wrapT,i.magFilter,i.minFilter,i.format,i.type,i.anisotropy,i.encoding),this.texture.isRenderTargetTexture=!0,this.texture.flipY=!1,this.texture.generateMipmaps=i.generateMipmaps!==void 0?i.generateMipmaps:!1,this.texture.internalFormat=i.internalFormat!==void 0?i.internalFormat:null,this.texture.minFilter=i.minFilter!==void 0?i.minFilter:Br,this.depthBuffer=i.depthBuffer!==void 0?i.depthBuffer:!0,this.stencilBuffer=i.stencilBuffer!==void 0?i.stencilBuffer:!1,this.depthTexture=i.depthTexture!==void 0?i.depthTexture:null,this.samples=i.samples!==void 0?i.samples:0}setSize(t,e,i=1){(this.width!==t||this.height!==e||this.depth!==i)&&(this.width=t,this.height=e,this.depth=i,this.texture.image.width=t,this.texture.image.height=e,this.texture.image.depth=i,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.viewport.copy(t.viewport),this.texture=t.texture.clone(),this.texture.isRenderTargetTexture=!0;const e=Object.assign({},t.texture.image);return this.texture.source=new dx(e),this.depthBuffer=t.depthBuffer,this.stencilBuffer=t.stencilBuffer,t.depthTexture!==null&&(this.depthTexture=t.depthTexture.clone()),this.samples=t.samples,this}dispose(){this.dispatchEvent({type:"dispose"})}}class px extends Zr{constructor(t=null,e=1,i=1,r=1){super(null),this.isDataArrayTexture=!0,this.image={data:t,width:e,height:i,depth:r},this.magFilter=Gi,this.minFilter=Gi,this.wrapR=Nr,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class bU extends Zr{constructor(t=null,e=1,i=1,r=1){super(null),this.isData3DTexture=!0,this.image={data:t,width:e,height:i,depth:r},this.magFilter=Gi,this.minFilter=Gi,this.wrapR=Nr,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class Do{constructor(t=0,e=0,i=0,r=1){this.isQuaternion=!0,this._x=t,this._y=e,this._z=i,this._w=r}static slerpFlat(t,e,i,r,s,A,o){let a=i[r+0],l=i[r+1],c=i[r+2],u=i[r+3];const f=s[A+0],m=s[A+1],y=s[A+2],h=s[A+3];if(o===0){t[e+0]=a,t[e+1]=l,t[e+2]=c,t[e+3]=u;return}if(o===1){t[e+0]=f,t[e+1]=m,t[e+2]=y,t[e+3]=h;return}if(u!==h||a!==f||l!==m||c!==y){let g=1-o;const b=a*f+l*m+c*y+u*h,U=b>=0?1:-1,N=1-b*b;if(N>Number.EPSILON){const R=Math.sqrt(N),j=Math.atan2(R,b*U);g=Math.sin(g*j)/R,o=Math.sin(o*j)/R}const L=o*U;if(a=a*g+f*L,l=l*g+m*L,c=c*g+y*L,u=u*g+h*L,g===1-o){const R=1/Math.sqrt(a*a+l*l+c*c+u*u);a*=R,l*=R,c*=R,u*=R}}t[e]=a,t[e+1]=l,t[e+2]=c,t[e+3]=u}static multiplyQuaternionsFlat(t,e,i,r,s,A){const o=i[r],a=i[r+1],l=i[r+2],c=i[r+3],u=s[A],f=s[A+1],m=s[A+2],y=s[A+3];return t[e]=o*y+c*u+a*m-l*f,t[e+1]=a*y+c*f+l*u-o*m,t[e+2]=l*y+c*m+o*f-a*u,t[e+3]=c*y-o*u-a*f-l*m,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,i,r){return this._x=t,this._y=e,this._z=i,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){const i=t._x,r=t._y,s=t._z,A=t._order,o=Math.cos,a=Math.sin,l=o(i/2),c=o(r/2),u=o(s/2),f=a(i/2),m=a(r/2),y=a(s/2);switch(A){case"XYZ":this._x=f*c*u+l*m*y,this._y=l*m*u-f*c*y,this._z=l*c*y+f*m*u,this._w=l*c*u-f*m*y;break;case"YXZ":this._x=f*c*u+l*m*y,this._y=l*m*u-f*c*y,this._z=l*c*y-f*m*u,this._w=l*c*u+f*m*y;break;case"ZXY":this._x=f*c*u-l*m*y,this._y=l*m*u+f*c*y,this._z=l*c*y+f*m*u,this._w=l*c*u-f*m*y;break;case"ZYX":this._x=f*c*u-l*m*y,this._y=l*m*u+f*c*y,this._z=l*c*y-f*m*u,this._w=l*c*u+f*m*y;break;case"YZX":this._x=f*c*u+l*m*y,this._y=l*m*u+f*c*y,this._z=l*c*y-f*m*u,this._w=l*c*u-f*m*y;break;case"XZY":this._x=f*c*u-l*m*y,this._y=l*m*u-f*c*y,this._z=l*c*y+f*m*u,this._w=l*c*u+f*m*y;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+A)}return e!==!1&&this._onChangeCallback(),this}setFromAxisAngle(t,e){const i=e/2,r=Math.sin(i);return this._x=t.x*r,this._y=t.y*r,this._z=t.z*r,this._w=Math.cos(i),this._onChangeCallback(),this}setFromRotationMatrix(t){const e=t.elements,i=e[0],r=e[4],s=e[8],A=e[1],o=e[5],a=e[9],l=e[2],c=e[6],u=e[10],f=i+o+u;if(f>0){const m=.5/Math.sqrt(f+1);this._w=.25/m,this._x=(c-a)*m,this._y=(s-l)*m,this._z=(A-r)*m}else if(i>o&&i>u){const m=2*Math.sqrt(1+i-o-u);this._w=(c-a)/m,this._x=.25*m,this._y=(r+A)/m,this._z=(s+l)/m}else if(o>u){const m=2*Math.sqrt(1+o-i-u);this._w=(s-l)/m,this._x=(r+A)/m,this._y=.25*m,this._z=(a+c)/m}else{const m=2*Math.sqrt(1+u-i-o);this._w=(A-r)/m,this._x=(s+l)/m,this._y=(a+c)/m,this._z=.25*m}return this._onChangeCallback(),this}setFromUnitVectors(t,e){let i=t.dot(e)+1;return i<Number.EPSILON?(i=0,Math.abs(t.x)>Math.abs(t.z)?(this._x=-t.y,this._y=t.x,this._z=0,this._w=i):(this._x=0,this._y=-t.z,this._z=t.y,this._w=i)):(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=i),this.normalize()}angleTo(t){return 2*Math.acos(Math.abs(Ki(this.dot(t),-1,1)))}rotateTowards(t,e){const i=this.angleTo(t);if(i===0)return this;const r=Math.min(1,e/i);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 t===0?(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 i=t._x,r=t._y,s=t._z,A=t._w,o=e._x,a=e._y,l=e._z,c=e._w;return this._x=i*c+A*o+r*l-s*a,this._y=r*c+A*a+s*o-i*l,this._z=s*c+A*l+i*a-r*o,this._w=A*c-i*o-r*a-s*l,this._onChangeCallback(),this}slerp(t,e){if(e===0)return this;if(e===1)return this.copy(t);const i=this._x,r=this._y,s=this._z,A=this._w;let o=A*t._w+i*t._x+r*t._y+s*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=A,this._x=i,this._y=r,this._z=s,this;const a=1-o*o;if(a<=Number.EPSILON){const m=1-e;return this._w=m*A+e*this._w,this._x=m*i+e*this._x,this._y=m*r+e*this._y,this._z=m*s+e*this._z,this.normalize(),this._onChangeCallback(),this}const l=Math.sqrt(a),c=Math.atan2(l,o),u=Math.sin((1-e)*c)/l,f=Math.sin(e*c)/l;return this._w=A*u+this._w*f,this._x=i*u+this._x*f,this._y=r*u+this._y*f,this._z=s*u+this._z*f,this._onChangeCallback(),this}slerpQuaternions(t,e,i){return this.copy(t).slerp(e,i)}random(){const t=Math.random(),e=Math.sqrt(1-t),i=Math.sqrt(t),r=2*Math.PI*Math.random(),s=2*Math.PI*Math.random();return this.set(e*Math.cos(r),i*Math.sin(s),i*Math.cos(s),e*Math.sin(r))}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}_onChange(t){return this._onChangeCallback=t,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class ee{constructor(t=0,e=0,i=0){ee.prototype.isVector3=!0,this.x=t,this.y=e,this.z=i}set(t,e,i){return i===void 0&&(i=this.z),this.x=t,this.y=e,this.z=i,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(Vw.setFromEuler(t))}applyAxisAngle(t,e){return this.applyQuaternion(Vw.setFromAxisAngle(t,e))}applyMatrix3(t){const e=this.x,i=this.y,r=this.z,s=t.elements;return this.x=s[0]*e+s[3]*i+s[6]*r,this.y=s[1]*e+s[4]*i+s[7]*r,this.z=s[2]*e+s[5]*i+s[8]*r,this}applyNormalMatrix(t){return this.applyMatrix3(t).normalize()}applyMatrix4(t){const e=this.x,i=this.y,r=this.z,s=t.elements,A=1/(s[3]*e+s[7]*i+s[11]*r+s[15]);return this.x=(s[0]*e+s[4]*i+s[8]*r+s[12])*A,this.y=(s[1]*e+s[5]*i+s[9]*r+s[13])*A,this.z=(s[2]*e+s[6]*i+s[10]*r+s[14])*A,this}applyQuaternion(t){const e=this.x,i=this.y,r=this.z,s=t.x,A=t.y,o=t.z,a=t.w,l=a*e+A*r-o*i,c=a*i+o*e-s*r,u=a*r+s*i-A*e,f=-s*e-A*i-o*r;return this.x=l*a+f*-s+c*-o-u*-A,this.y=c*a+f*-A+u*-s-l*-o,this.z=u*a+f*-o+l*-A-c*-s,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,i=this.y,r=this.z,s=t.elements;return this.x=s[0]*e+s[4]*i+s[8]*r,this.y=s[1]*e+s[5]*i+s[9]*r,this.z=s[2]*e+s[6]*i+s[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 i=this.length();return this.divideScalar(i||1).multiplyScalar(Math.max(t,Math.min(e,i)))}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=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(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,i){return this.x=t.x+(e.x-t.x)*i,this.y=t.y+(e.y-t.y)*i,this.z=t.z+(e.z-t.z)*i,this}cross(t){return this.crossVectors(this,t)}crossVectors(t,e){const i=t.x,r=t.y,s=t.z,A=e.x,o=e.y,a=e.z;return this.x=r*a-s*o,this.y=s*A-i*a,this.z=i*o-r*A,this}projectOnVector(t){const e=t.lengthSq();if(e===0)return this.set(0,0,0);const i=t.dot(this)/e;return this.copy(t).multiplyScalar(i)}projectOnPlane(t){return Hd.copy(this).projectOnVector(t),this.sub(Hd)}reflect(t){return this.sub(Hd.copy(t).multiplyScalar(2*this.dot(t)))}angleTo(t){const e=Math.sqrt(this.lengthSq()*t.lengthSq());if(e===0)return Math.PI/2;const i=this.dot(t)/e;return Math.acos(Ki(i,-1,1))}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){const e=this.x-t.x,i=this.y-t.y,r=this.z-t.z;return e*e+i*i+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,i){const r=Math.sin(e)*t;return this.x=r*Math.sin(i),this.y=Math.cos(e)*t,this.z=r*Math.cos(i),this}setFromCylindrical(t){return this.setFromCylindricalCoords(t.radius,t.theta,t.y)}setFromCylindricalCoords(t,e,i){return this.x=t*Math.sin(e),this.y=i,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(),i=this.setFromMatrixColumn(t,1).length(),r=this.setFromMatrixColumn(t,2).length();return this.x=e,this.y=i,this.z=r,this}setFromMatrixColumn(t,e){return this.fromArray(t.elements,e*4)}setFromMatrix3Column(t,e){return this.fromArray(t.elements,e*3)}setFromEuler(t){return this.x=t._x,this.y=t._y,this.z=t._z,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()-.5)*2,e=Math.random()*Math.PI*2,i=Math.sqrt(1-t**2);return this.x=i*Math.cos(e),this.y=i*Math.sin(e),this.z=t,this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const Hd=new ee,Vw=new Do;class Hc{constructor(t=new ee(1/0,1/0,1/0),e=new ee(-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){let e=1/0,i=1/0,r=1/0,s=-1/0,A=-1/0,o=-1/0;for(let a=0,l=t.length;a<l;a+=3){const c=t[a],u=t[a+1],f=t[a+2];c<e&&(e=c),u<i&&(i=u),f<r&&(r=f),c>s&&(s=c),u>A&&(A=u),f>o&&(o=f)}return this.min.set(e,i,r),this.max.set(s,A,o),this}setFromBufferAttribute(t){let e=1/0,i=1/0,r=1/0,s=-1/0,A=-1/0,o=-1/0;for(let a=0,l=t.count;a<l;a++){const c=t.getX(a),u=t.getY(a),f=t.getZ(a);c<e&&(e=c),u<i&&(i=u),f<r&&(r=f),c>s&&(s=c),u>A&&(A=u),f>o&&(o=f)}return this.min.set(e,i,r),this.max.set(s,A,o),this}setFromPoints(t){this.makeEmpty();for(let e=0,i=t.length;e<i;e++)this.expandByPoint(t[e]);return this}setFromCenterAndSize(t,e){const i=no.copy(e).multiplyScalar(.5);return this.min.copy(t).sub(i),this.max.copy(t).add(i),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 i=t.geometry;if(i!==void 0)if(e&&i.attributes!=null&&i.attributes.position!==void 0){const s=i.attributes.position;for(let A=0,o=s.count;A<o;A++)no.fromBufferAttribute(s,A).applyMatrix4(t.matrixWorld),this.expandByPoint(no)}else i.boundingBox===null&&i.computeBoundingBox(),kd.copy(i.boundingBox),kd.applyMatrix4(t.matrixWorld),this.union(kd);const r=t.children;for(let s=0,A=r.length;s<A;s++)this.expandByObject(r[s],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,no),no.distanceToSquared(t.center)<=t.radius*t.radius}intersectsPlane(t){let e,i;return t.normal.x>0?(e=t.normal.x*this.min.x,i=t.normal.x*this.max.x):(e=t.normal.x*this.max.x,i=t.normal.x*this.min.x),t.normal.y>0?(e+=t.normal.y*this.min.y,i+=t.normal.y*this.max.y):(e+=t.normal.y*this.max.y,i+=t.normal.y*this.min.y),t.normal.z>0?(e+=t.normal.z*this.min.z,i+=t.normal.z*this.max.z):(e+=t.normal.z*this.max.z,i+=t.normal.z*this.min.z),e<=-t.constant&&i>=-t.constant}intersectsTriangle(t){if(this.isEmpty())return!1;this.getCenter(_l),au.subVectors(this.max,_l),ea.subVectors(t.a,_l),na.subVectors(t.b,_l),ia.subVectors(t.c,_l),sA.subVectors(na,ea),AA.subVectors(ia,na),io.subVectors(ea,ia);let e=[0,-sA.z,sA.y,0,-AA.z,AA.y,0,-io.z,io.y,sA.z,0,-sA.x,AA.z,0,-AA.x,io.z,0,-io.x,-sA.y,sA.x,0,-AA.y,AA.x,0,-io.y,io.x,0];return!Nd(e,ea,na,ia,au)||(e=[1,0,0,0,1,0,0,0,1],!Nd(e,ea,na,ia,au))?!1:(lu.crossVectors(sA,AA),e=[lu.x,lu.y,lu.z],Nd(e,ea,na,ia,au))}clampPoint(t,e){return e.copy(t).clamp(this.min,this.max)}distanceToPoint(t){return no.copy(t).clamp(this.min,this.max).sub(t).length()}getBoundingSphere(t){return this.getCenter(t.center),t.radius=this.getSize(no).length()*.5,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()?this:(bs[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(t),bs[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(t),bs[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(t),bs[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(t),bs[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(t),bs[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(t),bs[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(t),bs[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(t),this.setFromPoints(bs),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 bs=[new ee,new ee,new ee,new ee,new ee,new ee,new ee,new ee],no=new ee,kd=new Hc,ea=new ee,na=new ee,ia=new ee,sA=new ee,AA=new ee,io=new ee,_l=new ee,au=new ee,lu=new ee,ro=new ee;function Nd(n,t,e,i,r){for(let s=0,A=n.length-3;s<=A;s+=3){ro.fromArray(n,s);const o=r.x*Math.abs(ro.x)+r.y*Math.abs(ro.y)+r.z*Math.abs(ro.z),a=t.dot(ro),l=e.dot(ro),c=i.dot(ro);if(Math.max(-Math.max(a,l,c),Math.min(a,l,c))>o)return!1}return!0}const CU=new Hc,Gw=new ee,cu=new ee,zd=new ee;class a0{constructor(t=new ee,e=-1){this.center=t,this.radius=e}set(t,e){return this.center.copy(t),this.radius=e,this}setFromPoints(t,e){const i=this.center;e!==void 0?i.copy(e):CU.setFromPoints(t).getCenter(i);let r=0;for(let s=0,A=t.length;s<A;s++)r=Math.max(r,i.distanceToSquared(t[s]));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 i=this.center.distanceToSquared(t);return e.copy(t),i>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;zd.subVectors(t,this.center);const e=zd.lengthSq();if(e>this.radius*this.radius){const i=Math.sqrt(e),r=(i-this.radius)*.5;this.center.add(zd.multiplyScalar(r/i)),this.radius+=r}return this}union(t){return t.isEmpty()?this:this.isEmpty()?(this.copy(t),this):(this.center.equals(t.center)===!0?cu.set(0,0,1).multiplyScalar(t.radius):cu.subVectors(t.center,this.center).normalize().multiplyScalar(t.radius),this.expandByPoint(Gw.copy(t.center).add(cu)),this.expandByPoint(Gw.copy(t.center).sub(cu)),this)}equals(t){return t.center.equals(this.center)&&t.radius===this.radius}clone(){return new this.constructor().copy(this)}}const Cs=new ee,Vd=new ee,uu=new ee,oA=new ee,Gd=new ee,fu=new ee,Kd=new ee;class SU{constructor(t=new ee,e=new ee(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.direction).multiplyScalar(t).add(this.origin)}lookAt(t){return this.direction.copy(t).sub(this.origin).normalize(),this}recast(t){return this.origin.copy(this.at(t,Cs)),this}closestPointToPoint(t,e){e.subVectors(t,this.origin);const i=e.dot(this.direction);return i<0?e.copy(this.origin):e.copy(this.direction).multiplyScalar(i).add(this.origin)}distanceToPoint(t){return Math.sqrt(this.distanceSqToPoint(t))}distanceSqToPoint(t){const e=Cs.subVectors(t,this.origin).dot(this.direction);return e<0?this.origin.distanceToSquared(t):(Cs.copy(this.direction).multiplyScalar(e).add(this.origin),Cs.distanceToSquared(t))}distanceSqToSegment(t,e,i,r){Vd.copy(t).add(e).multiplyScalar(.5),uu.copy(e).sub(t).normalize(),oA.copy(this.origin).sub(Vd);const s=t.distanceTo(e)*.5,A=-this.direction.dot(uu),o=oA.dot(this.direction),a=-oA.dot(uu),l=oA.lengthSq(),c=Math.abs(1-A*A);let u,f,m,y;if(c>0)if(u=A*a-o,f=A*o-a,y=s*c,u>=0)if(f>=-y)if(f<=y){const h=1/c;u*=h,f*=h,m=u*(u+A*f+2*o)+f*(A*u+f+2*a)+l}else f=s,u=Math.max(0,-(A*f+o)),m=-u*u+f*(f+2*a)+l;else f=-s,u=Math.max(0,-(A*f+o)),m=-u*u+f*(f+2*a)+l;else f<=-y?(u=Math.max(0,-(-A*s+o)),f=u>0?-s:Math.min(Math.max(-s,-a),s),m=-u*u+f*(f+2*a)+l):f<=y?(u=0,f=Math.min(Math.max(-s,-a),s),m=f*(f+2*a)+l):(u=Math.max(0,-(A*s+o)),f=u>0?s:Math.min(Math.max(-s,-a),s),m=-u*u+f*(f+2*a)+l);else f=A>0?-s:s,u=Math.max(0,-(A*f+o)),m=-u*u+f*(f+2*a)+l;return i&&i.copy(this.direction).multiplyScalar(u).add(this.origin),r&&r.copy(uu).multiplyScalar(f).add(Vd),m}intersectSphere(t,e){Cs.subVectors(t.center,this.origin);const i=Cs.dot(this.direction),r=Cs.dot(Cs)-i*i,s=t.radius*t.radius;if(r>s)return null;const A=Math.sqrt(s-r),o=i-A,a=i+A;return o<0&&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(e===0)return t.distanceToPoint(this.origin)===0?0:null;const i=-(this.origin.dot(t.normal)+t.constant)/e;return i>=0?i:null}intersectPlane(t,e){const i=this.distanceToPlane(t);return i===null?null:this.at(i,e)}intersectsPlane(t){const e=t.distanceToPoint(this.origin);return e===0||t.normal.dot(this.direction)*e<0}intersectBox(t,e){let i,r,s,A,o,a;const l=1/this.direction.x,c=1/this.direction.y,u=1/this.direction.z,f=this.origin;return l>=0?(i=(t.min.x-f.x)*l,r=(t.max.x-f.x)*l):(i=(t.max.x-f.x)*l,r=(t.min.x-f.x)*l),c>=0?(s=(t.min.y-f.y)*c,A=(t.max.y-f.y)*c):(s=(t.max.y-f.y)*c,A=(t.min.y-f.y)*c),i>A||s>r||((s>i||i!==i)&&(i=s),(A<r||r!==r)&&(r=A),u>=0?(o=(t.min.z-f.z)*u,a=(t.max.z-f.z)*u):(o=(t.max.z-f.z)*u,a=(t.min.z-f.z)*u),i>a||o>r)||((o>i||i!==i)&&(i=o),(a<r||r!==r)&&(r=a),r<0)?null:this.at(i>=0?i:r,e)}intersectsBox(t){return this.intersectBox(t,Cs)!==null}intersectTriangle(t,e,i,r,s){Gd.subVectors(e,t),fu.subVectors(i,t),Kd.crossVectors(Gd,fu);let A=this.direction.dot(Kd),o;if(A>0){if(r)return null;o=1}else if(A<0)o=-1,A=-A;else return null;oA.subVectors(this.origin,t);const a=o*this.direction.dot(fu.crossVectors(oA,fu));if(a<0)return null;const l=o*this.direction.dot(Gd.cross(oA));if(l<0||a+l>A)return null;const c=-o*oA.dot(Kd);return c<0?null:this.at(c/A,s)}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 mi{constructor(){mi.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}set(t,e,i,r,s,A,o,a,l,c,u,f,m,y,h,g){const b=this.elements;return b[0]=t,b[4]=e,b[8]=i,b[12]=r,b[1]=s,b[5]=A,b[9]=o,b[13]=a,b[2]=l,b[6]=c,b[10]=u,b[14]=f,b[3]=m,b[7]=y,b[11]=h,b[15]=g,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 mi().fromArray(this.elements)}copy(t){const e=this.elements,i=t.elements;return e[0]=i[0],e[1]=i[1],e[2]=i[2],e[3]=i[3],e[4]=i[4],e[5]=i[5],e[6]=i[6],e[7]=i[7],e[8]=i[8],e[9]=i[9],e[10]=i[10],e[11]=i[11],e[12]=i[12],e[13]=i[13],e[14]=i[14],e[15]=i[15],this}copyPosition(t){const e=this.elements,i=t.elements;return e[12]=i[12],e[13]=i[13],e[14]=i[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,i){return t.setFromMatrixColumn(this,0),e.setFromMatrixColumn(this,1),i.setFromMatrixColumn(this,2),this}makeBasis(t,e,i){return this.set(t.x,e.x,i.x,0,t.y,e.y,i.y,0,t.z,e.z,i.z,0,0,0,0,1),this}extractRotation(t){const e=this.elements,i=t.elements,r=1/ra.setFromMatrixColumn(t,0).length(),s=1/ra.setFromMatrixColumn(t,1).length(),A=1/ra.setFromMatrixColumn(t,2).length();return e[0]=i[0]*r,e[1]=i[1]*r,e[2]=i[2]*r,e[3]=0,e[4]=i[4]*s,e[5]=i[5]*s,e[6]=i[6]*s,e[7]=0,e[8]=i[8]*A,e[9]=i[9]*A,e[10]=i[10]*A,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromEuler(t){const e=this.elements,i=t.x,r=t.y,s=t.z,A=Math.cos(i),o=Math.sin(i),a=Math.cos(r),l=Math.sin(r),c=Math.cos(s),u=Math.sin(s);if(t.order==="XYZ"){const f=A*c,m=A*u,y=o*c,h=o*u;e[0]=a*c,e[4]=-a*u,e[8]=l,e[1]=m+y*l,e[5]=f-h*l,e[9]=-o*a,e[2]=h-f*l,e[6]=y+m*l,e[10]=A*a}else if(t.order==="YXZ"){const f=a*c,m=a*u,y=l*c,h=l*u;e[0]=f+h*o,e[4]=y*o-m,e[8]=A*l,e[1]=A*u,e[5]=A*c,e[9]=-o,e[2]=m*o-y,e[6]=h+f*o,e[10]=A*a}else if(t.order==="ZXY"){const f=a*c,m=a*u,y=l*c,h=l*u;e[0]=f-h*o,e[4]=-A*u,e[8]=y+m*o,e[1]=m+y*o,e[5]=A*c,e[9]=h-f*o,e[2]=-A*l,e[6]=o,e[10]=A*a}else if(t.order==="ZYX"){const f=A*c,m=A*u,y=o*c,h=o*u;e[0]=a*c,e[4]=y*l-m,e[8]=f*l+h,e[1]=a*u,e[5]=h*l+f,e[9]=m*l-y,e[2]=-l,e[6]=o*a,e[10]=A*a}else if(t.order==="YZX"){const f=A*a,m=A*l,y=o*a,h=o*l;e[0]=a*c,e[4]=h-f*u,e[8]=y*u+m,e[1]=u,e[5]=A*c,e[9]=-o*c,e[2]=-l*c,e[6]=m*u+y,e[10]=f-h*u}else if(t.order==="XZY"){const f=A*a,m=A*l,y=o*a,h=o*l;e[0]=a*c,e[4]=-u,e[8]=l*c,e[1]=f*u+h,e[5]=A*c,e[9]=m*u-y,e[2]=y*u-m,e[6]=o*c,e[10]=h*u+f}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(FU,t,EU)}lookAt(t,e,i){const r=this.elements;return nr.subVectors(t,e),nr.lengthSq()===0&&(nr.z=1),nr.normalize(),aA.crossVectors(i,nr),aA.lengthSq()===0&&(Math.abs(i.z)===1?nr.x+=1e-4:nr.z+=1e-4,nr.normalize(),aA.crossVectors(i,nr)),aA.normalize(),hu.crossVectors(nr,aA),r[0]=aA.x,r[4]=hu.x,r[8]=nr.x,r[1]=aA.y,r[5]=hu.y,r[9]=nr.y,r[2]=aA.z,r[6]=hu.z,r[10]=nr.z,this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyMatrices(t,e){const i=t.elements,r=e.elements,s=this.elements,A=i[0],o=i[4],a=i[8],l=i[12],c=i[1],u=i[5],f=i[9],m=i[13],y=i[2],h=i[6],g=i[10],b=i[14],U=i[3],N=i[7],L=i[11],R=i[15],j=r[0],st=r[4],O=r[8],V=r[12],gt=r[1],Nt=r[5],Dt=r[9],Et=r[13],xt=r[2],Xt=r[6],jt=r[10],Gt=r[14],Wt=r[3],kt=r[7],Vt=r[11],we=r[15];return s[0]=A*j+o*gt+a*xt+l*Wt,s[4]=A*st+o*Nt+a*Xt+l*kt,s[8]=A*O+o*Dt+a*jt+l*Vt,s[12]=A*V+o*Et+a*Gt+l*we,s[1]=c*j+u*gt+f*xt+m*Wt,s[5]=c*st+u*Nt+f*Xt+m*kt,s[9]=c*O+u*Dt+f*jt+m*Vt,s[13]=c*V+u*Et+f*Gt+m*we,s[2]=y*j+h*gt+g*xt+b*Wt,s[6]=y*st+h*Nt+g*Xt+b*kt,s[10]=y*O+h*Dt+g*jt+b*Vt,s[14]=y*V+h*Et+g*Gt+b*we,s[3]=U*j+N*gt+L*xt+R*Wt,s[7]=U*st+N*Nt+L*Xt+R*kt,s[11]=U*O+N*Dt+L*jt+R*Vt,s[15]=U*V+N*Et+L*Gt+R*we,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],i=t[4],r=t[8],s=t[12],A=t[1],o=t[5],a=t[9],l=t[13],c=t[2],u=t[6],f=t[10],m=t[14],y=t[3],h=t[7],g=t[11],b=t[15];return y*(+s*a*u-r*l*u-s*o*f+i*l*f+r*o*m-i*a*m)+h*(+e*a*m-e*l*f+s*A*f-r*A*m+r*l*c-s*a*c)+g*(+e*l*u-e*o*m-s*A*u+i*A*m+s*o*c-i*l*c)+b*(-r*o*c-e*a*u+e*o*f+r*A*u-i*A*f+i*a*c)}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,i){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]=i),this}invert(){const t=this.elements,e=t[0],i=t[1],r=t[2],s=t[3],A=t[4],o=t[5],a=t[6],l=t[7],c=t[8],u=t[9],f=t[10],m=t[11],y=t[12],h=t[13],g=t[14],b=t[15],U=u*g*l-h*f*l+h*a*m-o*g*m-u*a*b+o*f*b,N=y*f*l-c*g*l-y*a*m+A*g*m+c*a*b-A*f*b,L=c*h*l-y*u*l+y*o*m-A*h*m-c*o*b+A*u*b,R=y*u*a-c*h*a-y*o*f+A*h*f+c*o*g-A*u*g,j=e*U+i*N+r*L+s*R;if(j===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const st=1/j;return t[0]=U*st,t[1]=(h*f*s-u*g*s-h*r*m+i*g*m+u*r*b-i*f*b)*st,t[2]=(o*g*s-h*a*s+h*r*l-i*g*l-o*r*b+i*a*b)*st,t[3]=(u*a*s-o*f*s-u*r*l+i*f*l+o*r*m-i*a*m)*st,t[4]=N*st,t[5]=(c*g*s-y*f*s+y*r*m-e*g*m-c*r*b+e*f*b)*st,t[6]=(y*a*s-A*g*s-y*r*l+e*g*l+A*r*b-e*a*b)*st,t[7]=(A*f*s-c*a*s+c*r*l-e*f*l-A*r*m+e*a*m)*st,t[8]=L*st,t[9]=(y*u*s-c*h*s-y*i*m+e*h*m+c*i*b-e*u*b)*st,t[10]=(A*h*s-y*o*s+y*i*l-e*h*l-A*i*b+e*o*b)*st,t[11]=(c*o*s-A*u*s-c*i*l+e*u*l+A*i*m-e*o*m)*st,t[12]=R*st,t[13]=(c*h*r-y*u*r+y*i*f-e*h*f-c*i*g+e*u*g)*st,t[14]=(y*o*r-A*h*r-y*i*a+e*h*a+A*i*g-e*o*g)*st,t[15]=(A*u*r-c*o*r+c*i*a-e*u*a-A*i*f+e*o*f)*st,this}scale(t){const e=this.elements,i=t.x,r=t.y,s=t.z;return e[0]*=i,e[4]*=r,e[8]*=s,e[1]*=i,e[5]*=r,e[9]*=s,e[2]*=i,e[6]*=r,e[10]*=s,e[3]*=i,e[7]*=r,e[11]*=s,this}getMaxScaleOnAxis(){const t=this.elements,e=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],i=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,i,r))}makeTranslation(t,e,i){return this.set(1,0,0,t,0,1,0,e,0,0,1,i,0,0,0,1),this}makeRotationX(t){const e=Math.cos(t),i=Math.sin(t);return this.set(1,0,0,0,0,e,-i,0,0,i,e,0,0,0,0,1),this}makeRotationY(t){const e=Math.cos(t),i=Math.sin(t);return this.set(e,0,i,0,0,1,0,0,-i,0,e,0,0,0,0,1),this}makeRotationZ(t){const e=Math.cos(t),i=Math.sin(t);return this.set(e,-i,0,0,i,e,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(t,e){const i=Math.cos(e),r=Math.sin(e),s=1-i,A=t.x,o=t.y,a=t.z,l=s*A,c=s*o;return this.set(l*A+i,l*o-r*a,l*a+r*o,0,l*o+r*a,c*o+i,c*a-r*A,0,l*a-r*o,c*a+r*A,s*a*a+i,0,0,0,0,1),this}makeScale(t,e,i){return this.set(t,0,0,0,0,e,0,0,0,0,i,0,0,0,0,1),this}makeShear(t,e,i,r,s,A){return this.set(1,i,s,0,t,1,A,0,e,r,1,0,0,0,0,1),this}compose(t,e,i){const r=this.elements,s=e._x,A=e._y,o=e._z,a=e._w,l=s+s,c=A+A,u=o+o,f=s*l,m=s*c,y=s*u,h=A*c,g=A*u,b=o*u,U=a*l,N=a*c,L=a*u,R=i.x,j=i.y,st=i.z;return r[0]=(1-(h+b))*R,r[1]=(m+L)*R,r[2]=(y-N)*R,r[3]=0,r[4]=(m-L)*j,r[5]=(1-(f+b))*j,r[6]=(g+U)*j,r[7]=0,r[8]=(y+N)*st,r[9]=(g-U)*st,r[10]=(1-(f+h))*st,r[11]=0,r[12]=t.x,r[13]=t.y,r[14]=t.z,r[15]=1,this}decompose(t,e,i){const r=this.elements;let s=ra.set(r[0],r[1],r[2]).length();const A=ra.set(r[4],r[5],r[6]).length(),o=ra.set(r[8],r[9],r[10]).length();this.determinant()<0&&(s=-s),t.x=r[12],t.y=r[13],t.z=r[14],Or.copy(this);const l=1/s,c=1/A,u=1/o;return Or.elements[0]*=l,Or.elements[1]*=l,Or.elements[2]*=l,Or.elements[4]*=c,Or.elements[5]*=c,Or.elements[6]*=c,Or.elements[8]*=u,Or.elements[9]*=u,Or.elements[10]*=u,e.setFromRotationMatrix(Or),i.x=s,i.y=A,i.z=o,this}makePerspective(t,e,i,r,s,A){const o=this.elements,a=2*s/(e-t),l=2*s/(i-r),c=(e+t)/(e-t),u=(i+r)/(i-r),f=-(A+s)/(A-s),m=-2*A*s/(A-s);return o[0]=a,o[4]=0,o[8]=c,o[12]=0,o[1]=0,o[5]=l,o[9]=u,o[13]=0,o[2]=0,o[6]=0,o[10]=f,o[14]=m,o[3]=0,o[7]=0,o[11]=-1,o[15]=0,this}makeOrthographic(t,e,i,r,s,A){const o=this.elements,a=1/(e-t),l=1/(i-r),c=1/(A-s),u=(e+t)*a,f=(i+r)*l,m=(A+s)*c;return o[0]=2*a,o[4]=0,o[8]=0,o[12]=-u,o[1]=0,o[5]=2*l,o[9]=0,o[13]=-f,o[2]=0,o[6]=0,o[10]=-2*c,o[14]=-m,o[3]=0,o[7]=0,o[11]=0,o[15]=1,this}equals(t){const e=this.elements,i=t.elements;for(let r=0;r<16;r++)if(e[r]!==i[r])return!1;return!0}fromArray(t,e=0){for(let i=0;i<16;i++)this.elements[i]=t[i+e];return this}toArray(t=[],e=0){const i=this.elements;return t[e]=i[0],t[e+1]=i[1],t[e+2]=i[2],t[e+3]=i[3],t[e+4]=i[4],t[e+5]=i[5],t[e+6]=i[6],t[e+7]=i[7],t[e+8]=i[8],t[e+9]=i[9],t[e+10]=i[10],t[e+11]=i[11],t[e+12]=i[12],t[e+13]=i[13],t[e+14]=i[14],t[e+15]=i[15],t}}const ra=new ee,Or=new mi,FU=new ee(0,0,0),EU=new ee(1,1,1),aA=new ee,hu=new ee,nr=new ee,Kw=new mi,Ww=new Do;class kc{constructor(t=0,e=0,i=0,r=kc.DefaultOrder){this.isEuler=!0,this._x=t,this._y=e,this._z=i,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,i,r=this._order){return this._x=t,this._y=e,this._z=i,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,i=!0){const r=t.elements,s=r[0],A=r[4],o=r[8],a=r[1],l=r[5],c=r[9],u=r[2],f=r[6],m=r[10];switch(e){case"XYZ":this._y=Math.asin(Ki(o,-1,1)),Math.abs(o)<.9999999?(this._x=Math.atan2(-c,m),this._z=Math.atan2(-A,s)):(this._x=Math.atan2(f,l),this._z=0);break;case"YXZ":this._x=Math.asin(-Ki(c,-1,1)),Math.abs(c)<.9999999?(this._y=Math.atan2(o,m),this._z=Math.atan2(a,l)):(this._y=Math.atan2(-u,s),this._z=0);break;case"ZXY":this._x=Math.asin(Ki(f,-1,1)),Math.abs(f)<.9999999?(this._y=Math.atan2(-u,m),this._z=Math.atan2(-A,l)):(this._y=0,this._z=Math.atan2(a,s));break;case"ZYX":this._y=Math.asin(-Ki(u,-1,1)),Math.abs(u)<.9999999?(this._x=Math.atan2(f,m),this._z=Math.atan2(a,s)):(this._x=0,this._z=Math.atan2(-A,l));break;case"YZX":this._z=Math.asin(Ki(a,-1,1)),Math.abs(a)<.9999999?(this._x=Math.atan2(-c,l),this._y=Math.atan2(-u,s)):(this._x=0,this._y=Math.atan2(o,m));break;case"XZY":this._z=Math.asin(-Ki(A,-1,1)),Math.abs(A)<.9999999?(this._x=Math.atan2(f,l),this._y=Math.atan2(o,s)):(this._x=Math.atan2(-c,m),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+e)}return this._order=e,i===!0&&this._onChangeCallback(),this}setFromQuaternion(t,e,i){return Kw.makeRotationFromQuaternion(t),this.setFromRotationMatrix(Kw,e,i)}setFromVector3(t,e=this._order){return this.set(t.x,t.y,t.z,e)}reorder(t){return Ww.setFromEuler(this),this.setFromQuaternion(Ww,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],t[3]!==void 0&&(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}toVector3(){console.error("THREE.Euler: .toVector3() has been removed. Use Vector3.setFromEuler() instead")}}kc.DefaultOrder="XYZ";kc.RotationOrders=["XYZ","YZX","ZXY","XZY","YXZ","ZYX"];class gx{constructor(){this.mask=1}set(t){this.mask=(1<<t|0)>>>0}enable(t){this.mask|=1<<t|0}enableAll(){this.mask=-1}toggle(t){this.mask^=1<<t|0}disable(t){this.mask&=~(1<<t|0)}disableAll(){this.mask=0}test(t){return(this.mask&t.mask)!==0}isEnabled(t){return(this.mask&(1<<t|0))!==0}}let MU=0;const qw=new ee,sa=new Do,Ss=new mi,du=new ee,xl=new ee,UU=new ee,TU=new Do,jw=new ee(1,0,0),Xw=new ee(0,1,0),Yw=new ee(0,0,1),IU={type:"added"},Jw={type:"removed"};class hr extends Vo{constructor(){super(),this.isObject3D=!0,Object.defineProperty(this,"id",{value:MU++}),this.uuid=Oc(),this.name="",this.type="Object3D",this.parent=null,this.children=[],this.up=hr.DefaultUp.clone();const t=new ee,e=new kc,i=new Do,r=new ee(1,1,1);function s(){i.setFromEuler(e,!1)}function A(){e.setFromQuaternion(i,void 0,!1)}e._onChange(s),i._onChange(A),Object.defineProperties(this,{position:{configurable:!0,enumerable:!0,value:t},rotation:{configurable:!0,enumerable:!0,value:e},quaternion:{configurable:!0,enumerable:!0,value:i},scale:{configurable:!0,enumerable:!0,value:r},modelViewMatrix:{value:new mi},normalMatrix:{value:new Fr}}),this.matrix=new mi,this.matrixWorld=new mi,this.matrixAutoUpdate=hr.DefaultMatrixAutoUpdate,this.matrixWorldNeedsUpdate=!1,this.matrixWorldAutoUpdate=hr.DefaultMatrixWorldAutoUpdate,this.layers=new gx,this.visible=!0,this.castShadow=!1,this.receiveShadow=!1,this.frustumCulled=!0,this.renderOrder=0,this.animations=[],this.userData={}}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)}setRotationFromMatrix(t){this.quaternion.setFromRotationMatrix(t)}setRotationFromQuaternion(t){this.quaternion.copy(t)}rotateOnAxis(t,e){return sa.setFromAxisAngle(t,e),this.quaternion.multiply(sa),this}rotateOnWorldAxis(t,e){return sa.setFromAxisAngle(t,e),this.quaternion.premultiply(sa),this}rotateX(t){return this.rotateOnAxis(jw,t)}rotateY(t){return this.rotateOnAxis(Xw,t)}rotateZ(t){return this.rotateOnAxis(Yw,t)}translateOnAxis(t,e){return qw.copy(t).applyQuaternion(this.quaternion),this.position.add(qw.multiplyScalar(e)),this}translateX(t){return this.translateOnAxis(jw,t)}translateY(t){return this.translateOnAxis(Xw,t)}translateZ(t){return this.translateOnAxis(Yw,t)}localToWorld(t){return t.applyMatrix4(this.matrixWorld)}worldToLocal(t){return t.applyMatrix4(Ss.copy(this.matrixWorld).invert())}lookAt(t,e,i){t.isVector3?du.copy(t):du.set(t,e,i);const r=this.parent;this.updateWorldMatrix(!0,!1),xl.setFromMatrixPosition(this.matrixWorld),this.isCamera||this.isLight?Ss.lookAt(xl,du,this.up):Ss.lookAt(du,xl,this.up),this.quaternion.setFromRotationMatrix(Ss),r&&(Ss.extractRotation(r.matrixWorld),sa.setFromRotationMatrix(Ss),this.quaternion.premultiply(sa.invert()))}add(t){if(arguments.length>1){for(let e=0;e<arguments.length;e++)this.add(arguments[e]);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.parent!==null&&t.parent.remove(t),t.parent=this,this.children.push(t),t.dispatchEvent(IU)):console.error("THREE.Object3D.add: object not an instance of THREE.Object3D.",t),this)}remove(t){if(arguments.length>1){for(let i=0;i<arguments.length;i++)this.remove(arguments[i]);return this}const e=this.children.indexOf(t);return e!==-1&&(t.parent=null,this.children.splice(e,1),t.dispatchEvent(Jw)),this}removeFromParent(){const t=this.parent;return t!==null&&t.remove(this),this}clear(){for(let t=0;t<this.children.length;t++){const e=this.children[t];e.parent=null,e.dispatchEvent(Jw)}return this.children.length=0,this}attach(t){return this.updateWorldMatrix(!0,!1),Ss.copy(this.matrixWorld).invert(),t.parent!==null&&(t.parent.updateWorldMatrix(!0,!1),Ss.multiply(t.parent.matrixWorld)),t.applyMatrix4(Ss),this.add(t),t.updateWorldMatrix(!1,!0),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 i=0,r=this.children.length;i<r;i++){const A=this.children[i].getObjectByProperty(t,e);if(A!==void 0)return A}}getWorldPosition(t){return this.updateWorldMatrix(!0,!1),t.setFromMatrixPosition(this.matrixWorld)}getWorldQuaternion(t){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(xl,t,UU),t}getWorldScale(t){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(xl,TU,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 i=0,r=e.length;i<r;i++)e[i].traverse(t)}traverseVisible(t){if(this.visible===!1)return;t(this);const e=this.children;for(let i=0,r=e.length;i<r;i++)e[i].traverseVisible(t)}traverseAncestors(t){const e=this.parent;e!==null&&(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)&&(this.parent===null?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),this.matrixWorldNeedsUpdate=!1,t=!0);const e=this.children;for(let i=0,r=e.length;i<r;i++){const s=e[i];(s.matrixWorldAutoUpdate===!0||t===!0)&&s.updateMatrixWorld(t)}}updateWorldMatrix(t,e){const i=this.parent;if(t===!0&&i!==null&&i.matrixWorldAutoUpdate===!0&&i.updateWorldMatrix(!0,!1),this.matrixAutoUpdate&&this.updateMatrix(),this.parent===null?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),e===!0){const r=this.children;for(let s=0,A=r.length;s<A;s++){const o=r[s];o.matrixWorldAutoUpdate===!0&&o.updateWorldMatrix(!1,!0)}}}toJSON(t){const e=t===void 0||typeof t=="string",i={};e&&(t={geometries:{},materials:{},textures:{},images:{},shapes:{},skeletons:{},animations:{},nodes:{}},i.metadata={version:4.5,type:"Object",generator:"Object3D.toJSON"});const r={};r.uuid=this.uuid,r.type=this.type,this.name!==""&&(r.name=this.name),this.castShadow===!0&&(r.castShadow=!0),this.receiveShadow===!0&&(r.receiveShadow=!0),this.visible===!1&&(r.visible=!1),this.frustumCulled===!1&&(r.frustumCulled=!1),this.renderOrder!==0&&(r.renderOrder=this.renderOrder),JSON.stringify(this.userData)!=="{}"&&(r.userData=this.userData),r.layers=this.layers.mask,r.matrix=this.matrix.toArray(),this.matrixAutoUpdate===!1&&(r.matrixAutoUpdate=!1),this.isInstancedMesh&&(r.type="InstancedMesh",r.count=this.count,r.instanceMatrix=this.instanceMatrix.toJSON(),this.instanceColor!==null&&(r.instanceColor=this.instanceColor.toJSON()));function s(o,a){return o[a.uuid]===void 0&&(o[a.uuid]=a.toJSON(t)),a.uuid}if(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&&this.environment.isRenderTargetTexture!==!0&&(r.environment=this.environment.toJSON(t).uuid);else if(this.isMesh||this.isLine||this.isPoints){r.geometry=s(t.geometries,this.geometry);const o=this.geometry.parameters;if(o!==void 0&&o.shapes!==void 0){const a=o.shapes;if(Array.isArray(a))for(let l=0,c=a.length;l<c;l++){const u=a[l];s(t.shapes,u)}else s(t.shapes,a)}}if(this.isSkinnedMesh&&(r.bindMode=this.bindMode,r.bindMatrix=this.bindMatrix.toArray(),this.skeleton!==void 0&&(s(t.skeletons,this.skeleton),r.skeleton=this.skeleton.uuid)),this.material!==void 0)if(Array.isArray(this.material)){const o=[];for(let a=0,l=this.material.length;a<l;a++)o.push(s(t.materials,this.material[a]));r.material=o}else r.material=s(t.materials,this.material);if(this.children.length>0){r.children=[];for(let o=0;o<this.children.length;o++)r.children.push(this.children[o].toJSON(t).object)}if(this.animations.length>0){r.animations=[];for(let o=0;o<this.animations.length;o++){const a=this.animations[o];r.animations.push(s(t.animations,a))}}if(e){const o=A(t.geometries),a=A(t.materials),l=A(t.textures),c=A(t.images),u=A(t.shapes),f=A(t.skeletons),m=A(t.animations),y=A(t.nodes);o.length>0&&(i.geometries=o),a.length>0&&(i.materials=a),l.length>0&&(i.textures=l),c.length>0&&(i.images=c),u.length>0&&(i.shapes=u),f.length>0&&(i.skeletons=f),m.length>0&&(i.animations=m),y.length>0&&(i.nodes=y)}return i.object=r,i;function A(o){const a=[];for(const l in o){const c=o[l];delete c.metadata,a.push(c)}return a}}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.matrixWorldNeedsUpdate=t.matrixWorldNeedsUpdate,this.matrixWorldAutoUpdate=t.matrixWorldAutoUpdate,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.userData=JSON.parse(JSON.stringify(t.userData)),e===!0)for(let i=0;i<t.children.length;i++){const r=t.children[i];this.add(r.clone())}return this}}hr.DefaultUp=new ee(0,1,0);hr.DefaultMatrixAutoUpdate=!0;hr.DefaultMatrixWorldAutoUpdate=!0;const Hr=new ee,Fs=new ee,Wd=new ee,Es=new ee,Aa=new ee,oa=new ee,Zw=new ee,qd=new ee,jd=new ee,Xd=new ee;class Rs{constructor(t=new ee,e=new ee,i=new ee){this.a=t,this.b=e,this.c=i}static getNormal(t,e,i,r){r.subVectors(i,e),Hr.subVectors(t,e),r.cross(Hr);const s=r.lengthSq();return s>0?r.multiplyScalar(1/Math.sqrt(s)):r.set(0,0,0)}static getBarycoord(t,e,i,r,s){Hr.subVectors(r,e),Fs.subVectors(i,e),Wd.subVectors(t,e);const A=Hr.dot(Hr),o=Hr.dot(Fs),a=Hr.dot(Wd),l=Fs.dot(Fs),c=Fs.dot(Wd),u=A*l-o*o;if(u===0)return s.set(-2,-1,-1);const f=1/u,m=(l*a-o*c)*f,y=(A*c-o*a)*f;return s.set(1-m-y,y,m)}static containsPoint(t,e,i,r){return this.getBarycoord(t,e,i,r,Es),Es.x>=0&&Es.y>=0&&Es.x+Es.y<=1}static getUV(t,e,i,r,s,A,o,a){return this.getBarycoord(t,e,i,r,Es),a.set(0,0),a.addScaledVector(s,Es.x),a.addScaledVector(A,Es.y),a.addScaledVector(o,Es.z),a}static isFrontFacing(t,e,i,r){return Hr.subVectors(i,e),Fs.subVectors(t,e),Hr.cross(Fs).dot(r)<0}set(t,e,i){return this.a.copy(t),this.b.copy(e),this.c.copy(i),this}setFromPointsAndIndices(t,e,i,r){return this.a.copy(t[e]),this.b.copy(t[i]),this.c.copy(t[r]),this}setFromAttributeAndIndices(t,e,i,r){return this.a.fromBufferAttribute(t,e),this.b.fromBufferAttribute(t,i),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 Hr.subVectors(this.c,this.b),Fs.subVectors(this.a,this.b),Hr.cross(Fs).length()*.5}getMidpoint(t){return t.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(t){return Rs.getNormal(this.a,this.b,this.c,t)}getPlane(t){return t.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(t,e){return Rs.getBarycoord(t,this.a,this.b,this.c,e)}getUV(t,e,i,r,s){return Rs.getUV(t,this.a,this.b,this.c,e,i,r,s)}containsPoint(t){return Rs.containsPoint(t,this.a,this.b,this.c)}isFrontFacing(t){return Rs.isFrontFacing(this.a,this.b,this.c,t)}intersectsBox(t){return t.intersectsTriangle(this)}closestPointToPoint(t,e){const i=this.a,r=this.b,s=this.c;let A,o;Aa.subVectors(r,i),oa.subVectors(s,i),qd.subVectors(t,i);const a=Aa.dot(qd),l=oa.dot(qd);if(a<=0&&l<=0)return e.copy(i);jd.subVectors(t,r);const c=Aa.dot(jd),u=oa.dot(jd);if(c>=0&&u<=c)return e.copy(r);const f=a*u-c*l;if(f<=0&&a>=0&&c<=0)return A=a/(a-c),e.copy(i).addScaledVector(Aa,A);Xd.subVectors(t,s);const m=Aa.dot(Xd),y=oa.dot(Xd);if(y>=0&&m<=y)return e.copy(s);const h=m*l-a*y;if(h<=0&&l>=0&&y<=0)return o=l/(l-y),e.copy(i).addScaledVector(oa,o);const g=c*y-m*u;if(g<=0&&u-c>=0&&m-y>=0)return Zw.subVectors(s,r),o=(u-c)/(u-c+(m-y)),e.copy(r).addScaledVector(Zw,o);const b=1/(g+h+f);return A=h*b,o=f*b,e.copy(i).addScaledVector(Aa,A).addScaledVector(oa,o)}equals(t){return t.a.equals(this.a)&&t.b.equals(this.b)&&t.c.equals(this.c)}}let QU=0;class Mh extends Vo{constructor(){super(),this.isMaterial=!0,Object.defineProperty(this,"id",{value:QU++}),this.uuid=Oc(),this.name="",this.type="Material",this.blending=Ha,this.side=$a,this.vertexColors=!1,this.opacity=1,this.transparent=!1,this.blendSrc=Ax,this.blendDst=ox,this.blendEquation=_a,this.blendSrcAlpha=null,this.blendDstAlpha=null,this.blendEquationAlpha=null,this.depthFunc=vg,this.depthTest=!0,this.depthWrite=!0,this.stencilWriteMask=255,this.stencilFunc=BU,this.stencilRef=0,this.stencilFuncMask=255,this.stencilFail=Qd,this.stencilZFail=Qd,this.stencilZPass=Qd,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.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}onBuild(){}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(t){if(t!==void 0)for(const e in t){const i=t[e];if(i===void 0){console.warn("THREE.Material: '"+e+"' parameter is undefined.");continue}const r=this[e];if(r===void 0){console.warn("THREE."+this.type+": '"+e+"' is not a property of this material.");continue}r&&r.isColor?r.set(i):r&&r.isVector3&&i&&i.isVector3?r.copy(i):this[e]=i}}toJSON(t){const e=t===void 0||typeof t=="string";e&&(t={textures:{},images:{}});const i={metadata:{version:4.5,type:"Material",generator:"Material.toJSON"}};
vendor: 4,571 bytes, line 50
50i.uuid=this.uuid,i.type=this.type,this.name!==""&&(i.name=this.name),this.color&&this.color.isColor&&(i.color=this.color.getHex()),this.roughness!==void 0&&(i.roughness=this.roughness),this.metalness!==void 0&&(i.metalness=this.metalness),this.sheen!==void 0&&(i.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(i.sheenColor=this.sheenColor.getHex()),this.sheenRoughness!==void 0&&(i.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(i.emissive=this.emissive.getHex()),this.emissiveIntensity&&this.emissiveIntensity!==1&&(i.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(i.specular=this.specular.getHex()),this.specularIntensity!==void 0&&(i.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(i.specularColor=this.specularColor.getHex()),this.shininess!==void 0&&(i.shininess=this.shininess),this.clearcoat!==void 0&&(i.clearcoat=this.clearcoat),this.clearcoatRoughness!==void 0&&(i.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(i.clearcoatMap=this.clearcoatMap.toJSON(t).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(i.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(t).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(i.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(t).uuid,i.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),this.iridescence!==void 0&&(i.iridescence=this.iridescence),this.iridescenceIOR!==void 0&&(i.iridescenceIOR=this.iridescenceIOR),this.iridescenceThicknessRange!==void 0&&(i.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(i.iridescenceMap=this.iridescenceMap.toJSON(t).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(i.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(t).uuid),this.map&&this.map.isTexture&&(i.map=this.map.toJSON(t).uuid),this.matcap&&this.matcap.isTexture&&(i.matcap=this.matcap.toJSON(t).uuid),this.alphaMap&&this.alphaMap.isTexture&&(i.alphaMap=this.alphaMap.toJSON(t).uuid),this.lightMap&&this.lightMap.isTexture&&(i.lightMap=this.lightMap.toJSON(t).uuid,i.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(i.aoMap=this.aoMap.toJSON(t).uuid,i.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(i.bumpMap=this.bumpMap.toJSON(t).uuid,i.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(i.normalMap=this.normalMap.toJSON(t).uuid,i.normalMapType=this.normalMapType,i.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(i.displacementMap=this.displacementMap.toJSON(t).uuid,i.displacementScale=this.displacementScale,i.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(i.roughnessMap=this.roughnessMap.toJSON(t).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(i.metalnessMap=this.metalnessMap.toJSON(t).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(i.emissiveMap=this.emissiveMap.toJSON(t).uuid),this.specularMap&&this.specularMap.isTexture&&(i.specularMap=this.specularMap.toJSON(t).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(i.specularIntensityMap=this.specularIntensityMap.toJSON(t).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(i.specularColorMap=this.specularColorMap.toJSON(t).uuid),this.envMap&&this.envMap.isTexture&&(i.envMap=this.envMap.toJSON(t).uuid,this.combine!==void 0&&(i.combine=this.combine)),this.envMapIntensity!==void 0&&(i.envMapIntensity=this.envMapIntensity),this.reflectivity!==void 0&&(i.reflectivity=this.reflectivity),this.refractionRatio!==void 0&&(i.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(i.gradientMap=this.gradientMap.toJSON(t).uuid),this.transmission!==void 0&&(i.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(i.transmissionMap=this.transmissionMap.toJSON(t).uuid),this.thickness!==void 0&&(i.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(i.thicknessMap=this.thicknessMap.toJSON(t).uuid),this.attenuationDistance!==void 0&&(i.attenuationDistance=this.attenuationDistance),this.attenuationColor!==void 0&&(i.attenuationColor=this.attenuationColor.getHex()),this.size!==void 0&&(i.size=this.size),this.shadowSide!==null&&(i.shadowSide=this.shadowSide),this.sizeAttenuation!==void 0&&(i.sizeAttenuation=this.sizeAttenuation),this.blending!==Ha&&
vendor: 5,201 bytes, line 50
50(i.blending=this.blending),this.side!==$a&&(i.side=this.side),this.vertexColors&&(i.vertexColors=!0),this.opacity<1&&(i.opacity=this.opacity),this.transparent===!0&&(i.transparent=this.transparent),i.depthFunc=this.depthFunc,i.depthTest=this.depthTest,i.depthWrite=this.depthWrite,i.colorWrite=this.colorWrite,i.stencilWrite=this.stencilWrite,i.stencilWriteMask=this.stencilWriteMask,i.stencilFunc=this.stencilFunc,i.stencilRef=this.stencilRef,i.stencilFuncMask=this.stencilFuncMask,i.stencilFail=this.stencilFail,i.stencilZFail=this.stencilZFail,i.stencilZPass=this.stencilZPass,this.rotation!==void 0&&this.rotation!==0&&(i.rotation=this.rotation),this.polygonOffset===!0&&(i.polygonOffset=!0),this.polygonOffsetFactor!==0&&(i.polygonOffsetFactor=this.polygonOffsetFactor),this.polygonOffsetUnits!==0&&(i.polygonOffsetUnits=this.polygonOffsetUnits),this.linewidth!==void 0&&this.linewidth!==1&&(i.linewidth=this.linewidth),this.dashSize!==void 0&&(i.dashSize=this.dashSize),this.gapSize!==void 0&&(i.gapSize=this.gapSize),this.scale!==void 0&&(i.scale=this.scale),this.dithering===!0&&(i.dithering=!0),this.alphaTest>0&&(i.alphaTest=this.alphaTest),this.alphaToCoverage===!0&&(i.alphaToCoverage=this.alphaToCoverage),this.premultipliedAlpha===!0&&(i.premultipliedAlpha=this.premultipliedAlpha),this.wireframe===!0&&(i.wireframe=this.wireframe),this.wireframeLinewidth>1&&(i.wireframeLinewidth=this.wireframeLinewidth),this.wireframeLinecap!=="round"&&(i.wireframeLinecap=this.wireframeLinecap),this.wireframeLinejoin!=="round"&&(i.wireframeLinejoin=this.wireframeLinejoin),this.flatShading===!0&&(i.flatShading=this.flatShading),this.visible===!1&&(i.visible=!1),this.toneMapped===!1&&(i.toneMapped=!1),this.fog===!1&&(i.fog=!1),JSON.stringify(this.userData)!=="{}"&&(i.userData=this.userData);function r(s){const A=[];for(const o in s){const a=s[o];delete a.metadata,A.push(a)}return A}if(e){const s=r(t.textures),A=r(t.images);s.length>0&&(i.textures=s),A.length>0&&(i.images=A)}return i}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.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 i=null;if(e!==null){const r=e.length;i=new Array(r);for(let s=0;s!==r;++s)i[s]=e[s].clone()}return this.clippingPlanes=i,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.alphaToCoverage=t.alphaToCoverage,this.premultipliedAlpha=t.premultipliedAlpha,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){t===!0&&this.version++}}class mx extends Mh{constructor(t){super(),this.isMeshBasicMaterial=!0,this.type="MeshBasicMaterial",this.color=new Rn(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.combine=ax,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.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 $n=new ee,pu=new fn;class ds{constructor(t,e,i){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=t!==void 0?t.length/e:0,this.normalized=i===!0,this.usage=Hw,this.updateRange={offset:0,count:-1},this.version=0}onUploadCallback(){}set needsUpdate(t){t===!0&&this.version++}setUsage(t){return this.usage=t,this}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}copyAt(t,e,i){t*=this.itemSize,i*=e.itemSize;
vendor: 4,169 bytes, line 50
50for(let r=0,s=this.itemSize;r<s;r++)this.array[t+r]=e.array[i+r];return this}copyArray(t){return this.array.set(t),this}applyMatrix3(t){if(this.itemSize===2)for(let e=0,i=this.count;e<i;e++)pu.fromBufferAttribute(this,e),pu.applyMatrix3(t),this.setXY(e,pu.x,pu.y);else if(this.itemSize===3)for(let e=0,i=this.count;e<i;e++)$n.fromBufferAttribute(this,e),$n.applyMatrix3(t),this.setXYZ(e,$n.x,$n.y,$n.z);return this}applyMatrix4(t){for(let e=0,i=this.count;e<i;e++)$n.fromBufferAttribute(this,e),$n.applyMatrix4(t),this.setXYZ(e,$n.x,$n.y,$n.z);return this}applyNormalMatrix(t){for(let e=0,i=this.count;e<i;e++)$n.fromBufferAttribute(this,e),$n.applyNormalMatrix(t),this.setXYZ(e,$n.x,$n.y,$n.z);return this}transformDirection(t){for(let e=0,i=this.count;e<i;e++)$n.fromBufferAttribute(this,e),$n.transformDirection(t),this.setXYZ(e,$n.x,$n.y,$n.z);return this}set(t,e=0){return this.array.set(t,e),this}getX(t){let e=this.array[t*this.itemSize];return this.normalized&&(e=su(e,this.array)),e}setX(t,e){return this.normalized&&(e=er(e,this.array)),this.array[t*this.itemSize]=e,this}getY(t){let e=this.array[t*this.itemSize+1];return this.normalized&&(e=su(e,this.array)),e}setY(t,e){return this.normalized&&(e=er(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=su(e,this.array)),e}setZ(t,e){return this.normalized&&(e=er(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=su(e,this.array)),e}setW(t,e){return this.normalized&&(e=er(e,this.array)),this.array[t*this.itemSize+3]=e,this}setXY(t,e,i){return t*=this.itemSize,this.normalized&&(e=er(e,this.array),i=er(i,this.array)),this.array[t+0]=e,this.array[t+1]=i,this}setXYZ(t,e,i,r){return t*=this.itemSize,this.normalized&&(e=er(e,this.array),i=er(i,this.array),r=er(r,this.array)),this.array[t+0]=e,this.array[t+1]=i,this.array[t+2]=r,this}setXYZW(t,e,i,r,s){return t*=this.itemSize,this.normalized&&(e=er(e,this.array),i=er(i,this.array),r=er(r,this.array),s=er(s,this.array)),this.array[t+0]=e,this.array[t+1]=i,this.array[t+2]=r,this.array[t+3]=s,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),this.usage!==Hw&&(t.usage=this.usage),(this.updateRange.offset!==0||this.updateRange.count!==-1)&&(t.updateRange=this.updateRange),t}copyColorsArray(){console.error("THREE.BufferAttribute: copyColorsArray() was removed in r144.")}copyVector2sArray(){console.error("THREE.BufferAttribute: copyVector2sArray() was removed in r144.")}copyVector3sArray(){console.error("THREE.BufferAttribute: copyVector3sArray() was removed in r144.")}copyVector4sArray(){console.error("THREE.BufferAttribute: copyVector4sArray() was removed in r144.")}}class wx extends ds{constructor(t,e,i){super(new Uint16Array(t),e,i)}}class vx extends ds{constructor(t,e,i){super(new Uint32Array(t),e,i)}}class Eo extends ds{constructor(t,e,i){super(new Float32Array(t),e,i)}}let LU=0;const wr=new mi,Yd=new hr,aa=new ee,ir=new Hc,bl=new Hc,li=new ee;class Go extends Vo{constructor(){super(),this.isBufferGeometry=!0,Object.defineProperty(this,"id",{value:LU++}),this.uuid=Oc(),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(ux(t)?vx:wx)(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 this.attributes[t]!==void 0}addGroup(t,e,i=0){this.groups.push({start:t,count:e,materialIndex:i})}clearGroups(){this.groups=[]}setDrawRange(t,e){this.drawRange.start=t,this.drawRange.count=e}applyMatrix4(t){const e=this.attributes.position;
vendor: 1,473 bytes, line 50
50e!==void 0&&(e.applyMatrix4(t),e.needsUpdate=!0);const i=this.attributes.normal;if(i!==void 0){const s=new Fr().getNormalMatrix(t);i.applyNormalMatrix(s),i.needsUpdate=!0}const r=this.attributes.tangent;return r!==void 0&&(r.transformDirection(t),r.needsUpdate=!0),this.boundingBox!==null&&this.computeBoundingBox(),this.boundingSphere!==null&&this.computeBoundingSphere(),this}applyQuaternion(t){return wr.makeRotationFromQuaternion(t),this.applyMatrix4(wr),this}rotateX(t){return wr.makeRotationX(t),this.applyMatrix4(wr),this}rotateY(t){return wr.makeRotationY(t),this.applyMatrix4(wr),this}rotateZ(t){return wr.makeRotationZ(t),this.applyMatrix4(wr),this}translate(t,e,i){return wr.makeTranslation(t,e,i),this.applyMatrix4(wr),this}scale(t,e,i){return wr.makeScale(t,e,i),this.applyMatrix4(wr),this}lookAt(t){return Yd.lookAt(t),Yd.updateMatrix(),this.applyMatrix4(Yd.matrix),this}center(){return this.computeBoundingBox(),this.boundingBox.getCenter(aa).negate(),this.translate(aa.x,aa.y,aa.z),this}setFromPoints(t){const e=[];for(let i=0,r=t.length;i<r;i++){const s=t[i];e.push(s.x,s.y,s.z||0)}return this.setAttribute("position",new Eo(e,3)),this}computeBoundingBox(){this.boundingBox===null&&(this.boundingBox=new Hc);const t=this.attributes.position,e=this.morphAttributes.position;if(t&&t.isGLBufferAttribute){console.error('THREE.BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box. Alternatively set "mesh.frustumCulled" to "fal
50se".',this),this.boundingBox.set(new ee(-1/0,-1/0,-1/0),new ee(1/0,1/0,1/0));return}if(t!==void 0){if(this.boundingBox.setFromBufferAttribute(t),e)for(let i=0,r=e.length;i<r;i++){const s=e[i];ir.setFromBufferAttribute(s),this.morphTargetsRelative?(li.addVectors(this.boundingBox.min,ir.min),this.boundingBox.expandByPoint(li),li.addVectors(this.boundingBox.max,ir.max),this.boundingBox.expandByPoint(li)):(this.boundingBox.expandByPoint(ir.min),this.boundingBox.expandByPoint(ir.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(){this.boundingSphere===null&&(this.boundingSphere=new a0);const t=this.attributes.position,e=this.morphAttributes.position;if(t&&t.isGLBufferAttribute){console.error('THREE.BufferGeometry.computeBoundingSphere(): GLBufferAttribute requires a manual bounding sphere. Alternatively set "mesh.frustumCulled" to "fal
50se".',this),this.boundingSphere.set(new ee,1/0);return}if(t){const i=this.boundingSphere.center;if(ir.setFromBufferAttribute(t),e)for(let s=0,A=e.length;s<A;s++){const o=e[s];bl.setFromBufferAttribute(o),this.morphTargetsRelative?(li.addVectors(ir.min,bl.min),ir.expandByPoint(li),li.addVectors(ir.max,bl.max),ir.expandByPoint(li)):(ir.expandByPoint(bl.min),ir.expandByPoint(bl.max))}ir.getCenter(i);let r=0;for(let s=0,A=t.count;s<A;s++)li.fromBufferAttribute(t,s),r=Math.max(r,i.distanceToSquared(li));if(e)for(let s=0,A=e.length;s<A;s++){const o=e[s],a=this.morphTargetsRelative;for(let l=0,c=o.count;l<c;l++)li.fromBufferAttribute(o,l),a&&(aa.fromBufferAttribute(t,l),li.add(aa)),r=Math.max(r,i.distanceToSquared(li))}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(t===null||e.position===void 0||e.normal===void 0||e.uv===void 0){console.error("THREE.BufferGeometry: .computeTangents() failed. Missing required attributes (index, position, normal or uv)");return}const i=t.array,r=e.position.array,s=e.normal.array,A=e.uv.array,o=r.length/3;this.hasAttribute("tangent")===!1&&this.setAttribute("tangent",new ds(new Float32Array(4*o),4));const a=this.getAttribute("tangent").array,l=[],c=[];for(let gt=0;gt<o;gt++)l[gt]=new ee,c[gt]=new ee;const u=new ee,f=new ee,m=new ee,y=new fn,h=new fn,g=new fn,b=new ee,U=new ee;function N(gt,Nt,Dt){u.fromArray(r,gt*3),f.fromArray(r,Nt*3),m.fromArray(r,Dt*3),y.fromArray(A,gt*2),h.fromArray(A,Nt*2),g.fromArray(A,Dt*2),f.sub(u),m.sub(u),h.sub(y),g.sub(y);const Et=1/(h.x*g.y-g.x*h.y);!isFinite(Et)||(b.copy(f).multiplyScalar(g.y).addScaledVector(m,-h.y).multiplyScalar(Et),U.copy(m).multiplyScalar(h.x).addScaledVector(f,-g.x).multiplyScalar(Et),l[gt].add(b),l[Nt].add(b),l[Dt].add(b),c[gt].add(U),c[Nt].add(U),c[Dt].add(U))}let L=this.groups;L.length===0&&(L=[{start:0,count:i.length}]);for(let gt=0,Nt=L.length;gt<Nt;++gt){const Dt=L[gt],Et=Dt.start,xt=Dt.count;for(let Xt=Et,jt=Et+xt;Xt<jt;Xt+=3)N(i[Xt+0],i[Xt+1],i[Xt+2])}const R=new ee,j=new ee,st=new ee,O=new ee;function V(gt){st.fromArray(s,gt*3),O.copy(st);const Nt=l[gt];R.copy(Nt),R.sub(st.multiplyScalar(st.dot(Nt))).normalize(),j.crossVectors(O,Nt);const Et=j.dot(c[gt])<0?-1:1;a[gt*4]=R.x,a[gt*4+1]=R.y,a[gt*4+2]=R.z,a[gt*4+3]=Et}for(let gt=0,Nt=L.length;gt<Nt;++gt){const Dt=L[gt],Et=Dt.start,xt=Dt.count;for(let Xt=Et,jt=Et+xt;Xt<jt;Xt+=3)V(i[Xt+0]),V(i[Xt+1]),V(i[Xt+2])}}computeVertexNormals(){const t=this.index,e=this.getAttribute("position");if(e!==void 0){let i=this.getAttribute("normal");if(i===void 0)i=new ds(new Float32Array(e.count*3),3),this.setAttribute("normal",i);else for(let f=0,m=i.count;f<m;f++)i.setXYZ(f,0,0,0);const r=new ee,s=new ee,A=new ee,o=new ee,a=new ee,l=new ee,c=new ee,u=new ee;if(t)for(let f=0,m=t.count;f<m;f+=3){const y=t.getX(f+0),h=t.getX(f+1),g=t.getX(f+2);r.fromBufferAttribute(e,y),s.fromBufferAttribute(e,h),A.fromBufferAttribute(e,g),c.subVectors(A,s),u.subVectors(r,s),c.cross(u),o.fromBufferAttribute(i,y),a.fromBufferAttribute(i,h),l.fromBufferAttribute(i,g),o.add(c),a.add(c),l.add(c),i.setXYZ(y,o.x,o.y,o.z),i.setXYZ(h,a.x,a.y,a.z),i.setXYZ(g,l.x,l.y,l.z)}else for(let f=0,m=e.count;f<m;f+=3)r.fromBufferAttribute(e,f+0),s.fromBufferAttribute(e,f+1),A.fromBufferAttribute(e,f+2),c.subVectors(A,s),u.subVectors(r,s),c.cross(u),i.setXYZ(f+0,c.x,c.y,c.z),i.setXYZ(f+1,c.x,c.y,c.z),i.setXYZ(f+2,c.x,c.y,c.z);this.normalizeNormals(),i.needsUpdate=!0}}merge(){return console.error("THREE.BufferGeometry.merge() has been removed. Use THREE.BufferGeometryUtils.mergeBufferGeometries() instead."),this}normalizeNormals(){const t=this.attributes.normal;for(let e=0,i=t.count;e<i;e++)li.fromBufferAttribute(t,e),li.normalize(),t.setXYZ(e,li.x,li.y,li.z)}toNonIndexed(){function t(o,a){const l=o.array,c=o.itemSize,u=o.normalized,f=new l.constructor(a.length*c);let m=0,y=0;for(let h=0,g=a.length;h<g;h++){o.isInterleavedBufferAttribute?m=a[h]*o.data.stride+o.offset:m=a[h]*c;for(let b=0;b<c;b++)f[y++]=l[m++]}return new ds(f,c,u)}if(this.index===null)return console.warn("THREE.BufferGeometry.toNonIndexed(): BufferGeometry is already non-indexed."),this;const e=new Go,i=this.index.array,r=this.attributes;for(const o in r){const a=r[o],l=t(a,i);e.setAttribute(o,l)}const s=this.morphAttributes;for(const o in s){const a=[],l=s[o];for(let c=0,u=l.length;c<u;c++){const f=l[c],m=t(f,i);a.push(m)}e.morphAttributes[o]=a}e.morphTargetsRelative=this.morphTargetsRelative;const A=this.groups;for(let o=0,a=A.length;o<a;o++){const l=A[o];e.addGroup(l.start,l.count,l.materialIndex)}return e}toJSON(){const t={metadata:{version:4.5,type:"BufferGeometry",generator:"BufferGeometry.toJSON"}};
vendor: 24,014 bytes, lines 50-137
50if(t.uuid=this.uuid,t.type=this.type,this.name!==""&&(t.name=this.name),Object.keys(this.userData).length>0&&(t.userData=this.userData),this.parameters!==void 0){const a=this.parameters;for(const l in a)a[l]!==void 0&&(t[l]=a[l]);return t}t.data={attributes:{}};const e=this.index;e!==null&&(t.data.index={type:e.array.constructor.name,array:Array.prototype.slice.call(e.array)});const i=this.attributes;for(const a in i){const l=i[a];t.data.attributes[a]=l.toJSON(t.data)}const r={};let s=!1;for(const a in this.morphAttributes){const l=this.morphAttributes[a],c=[];for(let u=0,f=l.length;u<f;u++){const m=l[u];c.push(m.toJSON(t.data))}c.length>0&&(r[a]=c,s=!0)}s&&(t.data.morphAttributes=r,t.data.morphTargetsRelative=this.morphTargetsRelative);const A=this.groups;A.length>0&&(t.data.groups=JSON.parse(JSON.stringify(A)));const o=this.boundingSphere;return o!==null&&(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 i=t.index;i!==null&&this.setIndex(i.clone(e));const r=t.attributes;for(const l in r){const c=r[l];this.setAttribute(l,c.clone(e))}const s=t.morphAttributes;for(const l in s){const c=[],u=s[l];for(let f=0,m=u.length;f<m;f++)c.push(u[f].clone(e));this.morphAttributes[l]=c}this.morphTargetsRelative=t.morphTargetsRelative;const A=t.groups;for(let l=0,c=A.length;l<c;l++){const u=A[l];this.addGroup(u.start,u.count,u.materialIndex)}const o=t.boundingBox;o!==null&&(this.boundingBox=o.clone());const a=t.boundingSphere;return a!==null&&(this.boundingSphere=a.clone()),this.drawRange.start=t.drawRange.start,this.drawRange.count=t.drawRange.count,this.userData=t.userData,t.parameters!==void 0&&(this.parameters=Object.assign({},t.parameters)),this}dispose(){this.dispatchEvent({type:"dispose"})}}const $w=new mi,la=new SU,Jd=new a0,lA=new ee,cA=new ee,uA=new ee,Zd=new ee,$d=new ee,tp=new ee,gu=new ee,mu=new ee,wu=new ee,vu=new fn,yu=new fn,Bu=new fn,ep=new ee,_u=new ee;class SA extends hr{constructor(t=new Go,e=new mx){super(),this.isMesh=!0,this.type="Mesh",this.geometry=t,this.material=e,this.updateMorphTargets()}copy(t,e){return super.copy(t,e),t.morphTargetInfluences!==void 0&&(this.morphTargetInfluences=t.morphTargetInfluences.slice()),t.morphTargetDictionary!==void 0&&(this.morphTargetDictionary=Object.assign({},t.morphTargetDictionary)),this.material=t.material,this.geometry=t.geometry,this}updateMorphTargets(){const e=this.geometry.morphAttributes,i=Object.keys(e);if(i.length>0){const r=e[i[0]];if(r!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let s=0,A=r.length;s<A;s++){const o=r[s].name||String(s);this.morphTargetInfluences.push(0),this.morphTargetDictionary[o]=s}}}}raycast(t,e){const i=this.geometry,r=this.material,s=this.matrixWorld;if(r===void 0||(i.boundingSphere===null&&i.computeBoundingSphere(),Jd.copy(i.boundingSphere),Jd.applyMatrix4(s),t.ray.intersectsSphere(Jd)===!1)||($w.copy(s).invert(),la.copy(t.ray).applyMatrix4($w),i.boundingBox!==null&&la.intersectsBox(i.boundingBox)===!1))return;let A;const o=i.index,a=i.attributes.position,l=i.morphAttributes.position,c=i.morphTargetsRelative,u=i.attributes.uv,f=i.attributes.uv2,m=i.groups,y=i.drawRange;if(o!==null)if(Array.isArray(r))for(let h=0,g=m.length;h<g;h++){const b=m[h],U=r[b.materialIndex],N=Math.max(b.start,y.start),L=Math.min(o.count,Math.min(b.start+b.count,y.start+y.count));for(let R=N,j=L;R<j;R+=3){const st=o.getX(R),O=o.getX(R+1),V=o.getX(R+2);A=xu(this,U,t,la,a,l,c,u,f,st,O,V),A&&(A.faceIndex=Math.floor(R/3),A.face.materialIndex=b.materialIndex,e.push(A))}}else{const h=Math.max(0,y.start),g=Math.min(o.count,y.start+y.count);for(let b=h,U=g;b<U;b+=3){const N=o.getX(b),L=o.getX(b+1),R=o.getX(b+2);A=xu(this,r,t,la,a,l,c,u,f,N,L,R),A&&(A.faceIndex=Math.floor(b/3),e.push(A))}}else if(a!==void 0)if(Array.isArray(r))for(let h=0,g=m.length;h<g;h++){const b=m[h],U=r[b.materialIndex],N=Math.max(b.start,y.start),L=Math.min(a.count,Math.min(b.start+b.count,y.start+y.count));for(let R=N,j=L;R<j;R+=3){const st=R,O=R+1,V=R+2;A=xu(this,U,t,la,a,l,c,u,f,st,O,V),A&&(A.faceIndex=Math.floor(R/3),A.face.materialIndex=b.materialIndex,e.push(A))}}else{const h=Math.max(0,y.start),g=Math.min(a.count,y.start+y.count);for(let b=h,U=g;b<U;b+=3){const N=b,L=b+1,R=b+2;A=xu(this,r,t,la,a,l,c,u,f,N,L,R),A&&(A.faceIndex=Math.floor(b/3),e.push(A))}}}}function PU(n,t,e,i,r,s,A,o){let a;if(t.side===Ur?a=i.intersectTriangle(A,s,r,!0,o):a=i.intersectTriangle(r,s,A,t.side!==CA,o),a===null)return null;_u.copy(o),_u.applyMatrix4(n.matrixWorld);const l=e.ray.origin.distanceTo(_u);return l<e.near||l>e.far?null:{distance:l,point:_u.clone(),object:n}}function xu(n,t,e,i,r,s,A,o,a,l,c,u){lA.fromBufferAttribute(r,l),cA.fromBufferAttribute(r,c),uA.fromBufferAttribute(r,u);const f=n.morphTargetInfluences;if(s&&f){gu.set(0,0,0),mu.set(0,0,0),wu.set(0,0,0);for(let y=0,h=s.length;y<h;y++){const g=f[y],b=s[y];g!==0&&(Zd.fromBufferAttribute(b,l),$d.fromBufferAttribute(b,c),tp.fromBufferAttribute(b,u),A?(gu.addScaledVector(Zd,g),mu.addScaledVector($d,g),wu.addScaledVector(tp,g)):(gu.addScaledVector(Zd.sub(lA),g),mu.addScaledVector($d.sub(cA),g),wu.addScaledVector(tp.sub(uA),g)))}lA.add(gu),cA.add(mu),uA.add(wu)}n.isSkinnedMesh&&(n.boneTransform(l,lA),n.boneTransform(c,cA),n.boneTransform(u,uA));const m=PU(n,t,e,i,lA,cA,uA,ep);if(m){o&&(vu.fromBufferAttribute(o,l),yu.fromBufferAttribute(o,c),Bu.fromBufferAttribute(o,u),m.uv=Rs.getUV(ep,lA,cA,uA,vu,yu,Bu,new fn)),a&&(vu.fromBufferAttribute(a,l),yu.fromBufferAttribute(a,c),Bu.fromBufferAttribute(a,u),m.uv2=Rs.getUV(ep,lA,cA,uA,vu,yu,Bu,new fn));const y={a:l,b:c,c:u,normal:new ee,materialIndex:0};Rs.getNormal(lA,cA,uA,y.normal),m.face=y}return m}class Nc extends Go{constructor(t=1,e=1,i=1,r=1,s=1,A=1){super(),this.type="BoxGeometry",this.parameters={width:t,height:e,depth:i,widthSegments:r,heightSegments:s,depthSegments:A};const o=this;r=Math.floor(r),s=Math.floor(s),A=Math.floor(A);const a=[],l=[],c=[],u=[];let f=0,m=0;y("z","y","x",-1,-1,i,e,t,A,s,0),y("z","y","x",1,-1,i,e,-t,A,s,1),y("x","z","y",1,1,t,i,e,r,A,2),y("x","z","y",1,-1,t,i,-e,r,A,3),y("x","y","z",1,-1,t,e,i,r,s,4),y("x","y","z",-1,-1,t,e,-i,r,s,5),this.setIndex(a),this.setAttribute("position",new Eo(l,3)),this.setAttribute("normal",new Eo(c,3)),this.setAttribute("uv",new Eo(u,2));function y(h,g,b,U,N,L,R,j,st,O,V){const gt=L/st,Nt=R/O,Dt=L/2,Et=R/2,xt=j/2,Xt=st+1,jt=O+1;let Gt=0,Wt=0;const kt=new ee;for(let Vt=0;Vt<jt;Vt++){const we=Vt*Nt-Et;for(let oe=0;oe<Xt;oe++){const Be=oe*gt-Dt;kt[h]=Be*U,kt[g]=we*N,kt[b]=xt,l.push(kt.x,kt.y,kt.z),kt[h]=0,kt[g]=0,kt[b]=j>0?1:-1,c.push(kt.x,kt.y,kt.z),u.push(oe/st),u.push(1-Vt/O),Gt+=1}}for(let Vt=0;Vt<O;Vt++)for(let we=0;we<st;we++){const oe=f+we+Xt*Vt,Be=f+we+Xt*(Vt+1),Ue=f+(we+1)+Xt*(Vt+1),zt=f+(we+1)+Xt*Vt;a.push(oe,Be,zt),a.push(Be,Ue,zt),Wt+=6}o.addGroup(m,Wt,V),m+=Wt,f+=Gt}}static fromJSON(t){return new Nc(t.width,t.height,t.depth,t.widthSegments,t.heightSegments,t.depthSegments)}}function il(n){const t={};for(const e in n){t[e]={};for(const i in n[e]){const r=n[e][i];r&&(r.isColor||r.isMatrix3||r.isMatrix4||r.isVector2||r.isVector3||r.isVector4||r.isTexture||r.isQuaternion)?t[e][i]=r.clone():Array.isArray(r)?t[e][i]=r.slice():t[e][i]=r}}return t}function _i(n){const t={};for(let e=0;e<n.length;e++){const i=il(n[e]);for(const r in i)t[r]=i[r]}return t}function DU(n){const t=[];for(let e=0;e<n.length;e++)t.push(n[e].clone());return t}const RU={clone:il,merge:_i};var OU=`void main() { 51 gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 ); 52}`,HU=`void main() { 53 gl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 ); 54}`;class Ro extends Mh{constructor(t){super(),this.isShaderMaterial=!0,this.type="ShaderMaterial",this.defines={},this.uniforms={},this.uniformsGroups=[],this.vertexShader=OU,this.fragmentShader=HU,this.linewidth=1,this.wireframe=!1,this.wireframeLinewidth=1,this.fog=!1,this.lights=!1,this.clipping=!1,this.extensions={derivatives:!1,fragDepth:!1,drawBuffers:!1,shaderTextureLOD:!1},this.defaultAttributeValues={color:[1,1,1],uv:[0,0],uv2:[0,0]},this.index0AttributeName=void 0,this.uniformsNeedUpdate=!1,this.glslVersion=null,t!==void 0&&this.setValues(t)}copy(t){return super.copy(t),this.fragmentShader=t.fragmentShader,this.vertexShader=t.vertexShader,this.uniforms=il(t.uniforms),this.uniformsGroups=DU(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 A=this.uniforms[r].value;A&&A.isTexture?e.uniforms[r]={type:"t",value:A.toJSON(t).uuid}:A&&A.isColor?e.uniforms[r]={type:"c",value:A.getHex()}:A&&A.isVector2?e.uniforms[r]={type:"v2",value:A.toArray()}:A&&A.isVector3?e.uniforms[r]={type:"v3",value:A.toArray()}:A&&A.isVector4?e.uniforms[r]={type:"v4",value:A.toArray()}:A&&A.isMatrix3?e.uniforms[r]={type:"m3",value:A.toArray()}:A&&A.isMatrix4?e.uniforms[r]={type:"m4",value:A.toArray()}:e.uniforms[r]={value:A}}Object.keys(this.defines).length>0&&(e.defines=this.defines),e.vertexShader=this.vertexShader,e.fragmentShader=this.fragmentShader;const i={};for(const r in this.extensions)this.extensions[r]===!0&&(i[r]=!0);return Object.keys(i).length>0&&(e.extensions=i),e}}class yx extends hr{constructor(){super(),this.isCamera=!0,this.type="Camera",this.matrixWorldInverse=new mi,this.projectionMatrix=new mi,this.projectionMatrixInverse=new mi}copy(t,e){return super.copy(t,e),this.matrixWorldInverse.copy(t.matrixWorldInverse),this.projectionMatrix.copy(t.projectionMatrix),this.projectionMatrixInverse.copy(t.projectionMatrixInverse),this}getWorldDirection(t){this.updateWorldMatrix(!0,!1);const e=this.matrixWorld.elements;return t.set(-e[8],-e[9],-e[10]).normalize()}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)}}class _r extends yx{constructor(t=50,e=1,i=.1,r=2e3){super(),this.isPerspectiveCamera=!0,this.type="PerspectiveCamera",this.fov=t,this.zoom=1,this.near=i,this.far=r,this.focus=10,this.aspect=e,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(t,e){return super.copy(t,e),this.fov=t.fov,this.zoom=t.zoom,this.near=t.near,this.far=t.far,this.focus=t.focus,this.aspect=t.aspect,this.view=t.view===null?null:Object.assign({},t.view),this.filmGauge=t.filmGauge,this.filmOffset=t.filmOffset,this}setFocalLength(t){const e=.5*this.getFilmHeight()/t;this.fov=Nw*2*Math.atan(e),this.updateProjectionMatrix()}getFocalLength(){const t=Math.tan(Ld*.5*this.fov);return .5*this.getFilmHeight()/t}getEffectiveFOV(){return Nw*2*Math.atan(Math.tan(Ld*.5*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}setViewOffset(t,e,i,r,s,A){this.aspect=t/e,this.view===null&&(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=i,this.view.offsetY=r,this.view.width=s,this.view.height=A,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const t=this.near;let e=t*Math.tan(Ld*.5*this.fov)/this.zoom,i=2*e,r=this.aspect*i,s=-.5*r;const A=this.view;if(this.view!==null&&this.view.enabled){const a=A.fullWidth,l=A.fullHeight;s+=A.offsetX*r/a,e-=A.offsetY*i/l,r*=A.width/a,i*=A.height/l}const o=this.filmOffset;o!==0&&(s+=t*o/this.getFilmWidth()),this.projectionMatrix.makePerspective(s,s+r,e,e-i,t,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(t){const e=super.toJSON(t);return e.object.fov=this.fov,e.object.zoom=this.zoom,e.object.near=this.near,e.object.far=this.far,e.object.focus=this.focus,e.object.aspect=this.aspect,this.view!==null&&(e.object.view=Object.assign({},this.view)),e.object.filmGauge=this.filmGauge,e.object.filmOffset=this.filmOffset,e}}const ca=90,ua=1;class kU extends hr{constructor(t,e,i){super(),this.type="CubeCamera",this.renderTarget=i;const r=new _r(ca,ua,t,e);r.layers=this.layers,r.up.set(0,-1,0),r.lookAt(new ee(1,0,0)),this.add(r);const s=new _r(ca,ua,t,e);s.layers=this.layers,s.up.set(0,-1,0),s.lookAt(new ee(-1,0,0)),this.add(s);const A=new _r(ca,ua,t,e);A.layers=this.layers,A.up.set(0,0,1),A.lookAt(new ee(0,1,0)),this.add(A);const o=new _r(ca,ua,t,e);o.layers=this.layers,o.up.set(0,0,-1),o.lookAt(new ee(0,-1,0)),this.add(o);const a=new _r(ca,ua,t,e);a.layers=this.layers,a.up.set(0,-1,0),a.lookAt(new ee(0,0,1)),this.add(a);const l=new _r(ca,ua,t,e);l.layers=this.layers,l.up.set(0,-1,0),l.lookAt(new ee(0,0,-1)),this.add(l)}update(t,e){this.parent===null&&this.updateMatrixWorld();const i=this.renderTarget,[r,s,A,o,a,l]=this.children,c=t.getRenderTarget(),u=t.toneMapping,f=t.xr.enabled;t.toneMapping=Ns,t.xr.enabled=!1;const m=i.texture.generateMipmaps;i.texture.generateMipmaps=!1,t.setRenderTarget(i,0),t.render(e,r),t.setRenderTarget(i,1),t.render(e,s),t.setRenderTarget(i,2),t.render(e,A),t.setRenderTarget(i,3),t.render(e,o),t.setRenderTarget(i,4),t.render(e,a),i.texture.generateMipmaps=m,t.setRenderTarget(i,5),t.render(e,l),t.setRenderTarget(c),t.toneMapping=u,t.xr.enabled=f,i.texture.needsPMREMUpdate=!0}}class Bx extends Zr{constructor(t,e,i,r,s,A,o,a,l,c){t=t!==void 0?t:[],e=e!==void 0?e:tl,super(t,e,i,r,s,A,o,a,l,c),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(t){this.image=t}}class NU extends Po{constructor(t,e={}){super(t,t,e),this.isWebGLCubeRenderTarget=!0;const i={width:t,height:t,depth:1},r=[i,i,i,i,i,i];this.texture=new Bx(r,e.mapping,e.wrapS,e.wrapT,e.magFilter,e.minFilter,e.format,e.type,e.anisotropy,e.encoding),this.texture.isRenderTargetTexture=!0,this.texture.generateMipmaps=e.generateMipmaps!==void 0?e.generateMipmaps:!1,this.texture.minFilter=e.minFilter!==void 0?e.minFilter:Br}fromEquirectangularTexture(t,e){this.texture.type=e.type,this.texture.encoding=e.encoding,this.texture.generateMipmaps=e.generateMipmaps,this.texture.minFilter=e.minFilter,this.texture.magFilter=e.magFilter;const i={uniforms:{tEquirect:{value:null}},vertexShader:` 55 56 varying vec3 vWorldDirection; 57 58 vec3 transformDirection( in vec3 dir, in mat4 matrix ) { 59 60 return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz ); 61 62 } 63 64 void main() { 65 66 vWorldDirection = transformDirection( position, modelMatrix ); 67 68 #include <begin_vertex> 69 #include <project_vertex> 70 71 } 72 `,fragmentShader:` 73 74 uniform sampler2D tEquirect; 75 76 varying vec3 vWorldDirection; 77 78 #include <common> 79 80 void main() { 81 82 vec3 direction = normalize( vWorldDirection ); 83 84 vec2 sampleUV = equirectUv( direction ); 85 86 gl_FragColor = texture2D( tEquirect, sampleUV ); 87 88 } 89 `},r=new Nc(5,5,5),s=new Ro({name:"CubemapFromEquirect",uniforms:il(i.uniforms),vertexShader:i.vertexShader,fragmentShader:i.fragmentShader,side:Ur,blending:LA});s.uniforms.tEquirect.value=e;const A=new SA(r,s),o=e.minFilter;return e.minFilter===Eh&&(e.minFilter=Br),new kU(1,10,this).update(t,A),e.minFilter=o,A.geometry.dispose(),A.material.dispose(),this}clear(t,e,i,r){const s=t.getRenderTarget();for(let A=0;A<6;A++)t.setRenderTarget(this,A),t.clear(e,i,r);t.setRenderTarget(s)}}const np=new ee,zU=new ee,VU=new Fr;class ao{constructor(t=new ee(1,0,0),e=0){this.isPlane=!0,this.normal=t,this.constant=e}set(t,e){return this.normal.copy(t),this.constant=e,this}setComponents(t,e,i,r){return this.normal.set(t,e,i),this.constant=r,this}setFromNormalAndCoplanarPoint(t,e){return this.normal.copy(t),this.constant=-e.dot(this.normal),this}setFromCoplanarPoints(t,e,i){const r=np.subVectors(i,e).cross(zU.subVectors(t,e)).normalize();return this.setFromNormalAndCoplanarPoint(r,t),this}copy(t){return this.normal.copy(t.normal),this.constant=t.constant,this}normalize(){const t=1/this.normal.length();return this.normal.multiplyScalar(t),this.constant*=t,this}negate(){return this.constant*=-1,this.normal.negate(),this}distanceToPoint(t){return this.normal.dot(t)+this.constant}distanceToSphere(t){return this.distanceToPoint(t.center)-t.radius}projectPoint(t,e){return e.copy(this.normal).multiplyScalar(-this.distanceToPoint(t)).add(t)}intersectLine(t,e){const i=t.delta(np),r=this.normal.dot(i);if(r===0)return this.distanceToPoint(t.start)===0?e.copy(t.start):null;const s=-(t.start.dot(this.normal)+this.constant)/r;return s<0||s>1?null:e.copy(i).multiplyScalar(s).add(t.start)}intersectsLine(t){const e=this.distanceToPoint(t.start),i=this.distanceToPoint(t.end);return e<0&&i>0||i<0&&e>0}intersectsBox(t){return t.intersectsPlane(this)}intersectsSphere(t){return t.intersectsPlane(this)}coplanarPoint(t){return t.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(t,e){const i=e||VU.getNormalMatrix(t),r=this.coplanarPoint(np).applyMatrix4(t),s=this.normal.applyMatrix3(i).normalize();return this.constant=-r.dot(s),this}translate(t){return this.constant-=t.dot(this.normal),this}equals(t){return t.normal.equals(this.normal)&&t.constant===this.constant}clone(){return new this.constructor().copy(this)}}const fa=new a0,bu=new ee;class _x{constructor(t=new ao,e=new ao,i=new ao,r=new ao,s=new ao,A=new ao){this.planes=[t,e,i,r,s,A]}set(t,e,i,r,s,A){const o=this.planes;return o[0].copy(t),o[1].copy(e),o[2].copy(i),o[3].copy(r),o[4].copy(s),o[5].copy(A),this}copy(t){const e=this.planes;for(let i=0;i<6;i++)e[i].copy(t.planes[i]);return this}setFromProjectionMatrix(t){const e=this.planes,i=t.elements,r=i[0],s=i[1],A=i[2],o=i[3],a=i[4],l=i[5],c=i[6],u=i[7],f=i[8],m=i[9],y=i[10],h=i[11],g=i[12],b=i[13],U=i[14],N=i[15];return e[0].setComponents(o-r,u-a,h-f,N-g).normalize(),e[1].setComponents(o+r,u+a,h+f,N+g).normalize(),e[2].setComponents(o+s,u+l,h+m,N+b).normalize(),e[3].setComponents(o-s,u-l,h-m,N-b).normalize(),e[4].setComponents(o-A,u-c,h-y,N-U).normalize(),e[5].setComponents(o+A,u+c,h+y,N+U).normalize(),this}intersectsObject(t){const e=t.geometry;return e.boundingSphere===null&&e.computeBoundingSphere(),fa.copy(e.boundingSphere).applyMatrix4(t.matrixWorld),this.intersectsSphere(fa)}intersectsSprite(t){return fa.center.set(0,0,0),fa.radius=.7071067811865476,fa.applyMatrix4(t.matrixWorld),this.intersectsSphere(fa)}intersectsSphere(t){const e=this.planes,i=t.center,r=-t.radius;for(let s=0;s<6;s++)if(e[s].distanceToPoint(i)<r)return!1;return!0}intersectsBox(t){const e=this.planes;for(let i=0;i<6;i++){const r=e[i];if(bu.x=r.normal.x>0?t.max.x:t.min.x,bu.y=r.normal.y>0?t.max.y:t.min.y,bu.z=r.normal.z>0?t.max.z:t.min.z,r.distanceToPoint(bu)<0)return!1}return!0}containsPoint(t){const e=this.planes;for(let i=0;i<6;i++)if(e[i].distanceToPoint(t)<0)return!1;return!0}clone(){return new this.constructor().copy(this)}}function xx(){let n=null,t=!1,e=null,i=null;function r(s,A){e(s,A),i=n.requestAnimationFrame(r)}return{start:function(){t!==!0&&e!==null&&(i=n.requestAnimationFrame(r),t=!0)},stop:function(){n.cancelAnimationFrame(i),t=!1},setAnimationLoop:function(s){e=s},setContext:function(s){n=s}}}function GU(n,t){const e=t.isWebGL2,i=new WeakMap;function r(l,c){const u=l.array,f=l.usage,m=n.createBuffer();n.bindBuffer(c,m),n.bufferData(c,u,f),l.onUploadCallback();let y;if(u instanceof Float32Array)y=5126;else if(u instanceof Uint16Array)if(l.isFloat16BufferAttribute)if(e)y=5131;else throw new Error("THREE.WebGLAttributes: Usage of Float16BufferAttribute requires WebGL2.");else y=5123;else if(u instanceof Int16Array)y=5122;else if(u instanceof Uint32Array)y=5125;else if(u instanceof Int32Array)y=5124;else if(u instanceof Int8Array)y=5120;else if(u instanceof Uint8Array)y=5121;else if(u instanceof Uint8ClampedArray)y=5121;else throw new Error("THREE.WebGLAttributes: Unsupported buffer data format: "+u);return{buffer:m,type:y,bytesPerElement:u.BYTES_PER_ELEMENT,version:l.version}}function s(l,c,u){const f=c.array,m=c.updateRange;n.bindBuffer(u,l),m.count===-1?n.bufferSubData(u,0,f):(e?n.bufferSubData(u,m.offset*f.BYTES_PER_ELEMENT,f,m.offset,m.count):n.bufferSubData(u,m.offset*f.BYTES_PER_ELEMENT,f.subarray(m.offset,m.offset+m.count)),m.count=-1)}function A(l){return l.isInterleavedBufferAttribute&&(l=l.data),i.get(l)}function o(l){l.isInterleavedBufferAttribute&&(l=l.data);const c=i.get(l);c&&(n.deleteBuffer(c.buffer),i.delete(l))}function a(l,c){if(l.isGLBufferAttribute){const f=i.get(l);(!f||f.version<l.version)&&i.set(l,{buffer:l.buffer,type:l.type,bytesPerElement:l.elementSize,version:l.version});return}l.isInterleavedBufferAttribute&&(l=l.data);const u=i.get(l);u===void 0?i.set(l,r(l,c)):u.version<l.version&&(s(u.buffer,l,c),u.version=l.version)}return{get:A,remove:o,update:a}}class l0 extends Go{constructor(t=1,e=1,i=1,r=1){super(),this.type="PlaneGeometry",this.parameters={width:t,height:e,widthSegments:i,heightSegments:r};const s=t/2,A=e/2,o=Math.floor(i),a=Math.floor(r),l=o+1,c=a+1,u=t/o,f=e/a,m=[],y=[],h=[],g=[];for(let b=0;b<c;b++){const U=b*f-A;for(let N=0;N<l;N++){const L=N*u-s;y.push(L,-U,0),h.push(0,0,1),g.push(N/o),g.push(1-b/a)}}for(let b=0;b<a;b++)for(let U=0;U<o;U++){const N=U+l*b,L=U+l*(b+1),R=U+1+l*(b+1),j=U+1+l*b;m.push(N,L,j),m.push(L,R,j)}this.setIndex(m),this.setAttribute("position",new Eo(y,3)),this.setAttribute("normal",new Eo(h,3)),this.setAttribute("uv",new Eo(g,2))}static fromJSON(t){return new l0(t.width,t.height,t.widthSegments,t.heightSegments)}}var KU=`#ifdef USE_ALPHAMAP 90 diffuseColor.a *= texture2D( alphaMap, vUv ).g; 91#endif`,WU=`#ifdef USE_ALPHAMAP 92 uniform sampler2D alphaMap; 93#endif`,qU=`#ifdef USE_ALPHATEST 94 if ( diffuseColor.a < alphaTest ) discard; 95#endif`,jU=`#ifdef USE_ALPHATEST 96 uniform float alphaTest; 97#endif`,XU=`#ifdef USE_AOMAP 98 float ambientOcclusion = ( texture2D( aoMap, vUv2 ).r - 1.0 ) * aoMapIntensity + 1.0; 99 reflectedLight.indirectDiffuse *= ambientOcclusion; 100 #if defined( USE_ENVMAP ) && defined( STANDARD ) 101 float dotNV = saturate( dot( geometry.normal, geometry.viewDir ) ); 102 reflectedLight.indirectSpecular *= computeSpecularOcclusion( dotNV, ambientOcclusion, material.roughness ); 103 #endif 104#endif`,YU=`#ifdef USE_AOMAP 105 uniform sampler2D aoMap; 106 uniform float aoMapIntensity; 107#endif`,JU="vec3 transformed = vec3( position );",ZU=`vec3 objectNormal = vec3( normal ); 108#ifdef USE_TANGENT 109 vec3 objectTangent = vec3( tangent.xyz ); 110#endif`,$U=`vec3 BRDF_Lambert( const in vec3 diffuseColor ) { 111 return RECIPROCAL_PI * diffuseColor; 112} 113vec3 F_Schlick( const in vec3 f0, const in float f90, const in float dotVH ) { 114 float fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH ); 115 return f0 * ( 1.0 - fresnel ) + ( f90 * fresnel ); 116} 117float F_Schlick( const in float f0, const in float f90, const in float dotVH ) { 118 float fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH ); 119 return f0 * ( 1.0 - fresnel ) + ( f90 * fresnel ); 120} 121vec3 Schlick_to_F0( const in vec3 f, const in float f90, const in float dotVH ) { 122 float x = clamp( 1.0 - dotVH, 0.0, 1.0 ); 123 float x2 = x * x; 124 float x5 = clamp( x * x2 * x2, 0.0, 0.9999 ); 125 return ( f - vec3( f90 ) * x5 ) / ( 1.0 - x5 ); 126} 127float V_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) { 128 float a2 = pow2( alpha ); 129 float gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) ); 130 float gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) ); 131 return 0.5 / max( gv + gl, EPSILON ); 132} 133float D_GGX( const in float alpha, const in float dotNH ) { 134 float a2 = pow2( alpha ); 135 float denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0; 136 return RECIPROCAL_PI * a2 / pow2( denom ); 137}
138vec3 BRDF_GGX( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 f0, const in float f90, const in float roughness ) { 139 float alpha = pow2( roughness ); 140 vec3 halfDir = normalize( lightDir + viewDir ); 141 float dotNL = saturate( dot( normal, lightDir ) ); 142 float dotNV = saturate( dot( normal, viewDir ) ); 143 float dotNH = saturate( dot( normal, halfDir ) ); 144 float dotVH = saturate( dot( viewDir, halfDir ) ); 145 vec3 F = F_Schlick( f0, f90, dotVH ); 146 float V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV ); 147 float D = D_GGX( alpha, dotNH ); 148 return F * ( V * D ); 149} 150#ifdef USE_IRIDESCENCE 151 vec3 BRDF_GGX_Iridescence( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 f0, const in float f90, const in float iridescence, const in vec3 iridescenceFresnel, const in float roughness ) { 152 float alpha = pow2( roughness ); 153 vec3 halfDir = normalize( lightDir + viewDir ); 154 float dotNL = saturate( dot( normal, lightDir ) ); 155 float dotNV = saturate( dot( normal, viewDir ) ); 156 float dotNH = saturate( dot( normal, halfDir ) ); 157 float dotVH = saturate( dot( viewDir, halfDir ) ); 158 vec3 F = mix( F_Schlick( f0, f90, dotVH ), iridescenceFresnel, iridescence ); 159 float V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV ); 160 float D = D_GGX( alpha, dotNH ); 161 return F * ( V * D ); 162 } 163#endif 164vec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) { 165 const float LUT_SIZE = 64.0; 166 const float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE; 167 const float LUT_BIAS = 0.5 / LUT_SIZE; 168 float dotNV = saturate( dot( N, V ) ); 169 vec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) ); 170 uv = uv * LUT_SCALE + LUT_BIAS; 171 return uv; 172} 173float LTC_ClippedSphereFormFactor( const in vec3 f ) { 174 float l = length( f ); 175 return max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 ); 176} 177vec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) { 178 float x = dot( v1, v2 ); 179 float y = abs( x ); 180 float a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y; 181 float b = 3.4175940 + ( 4.1616724 + y ) * y; 182 float v = a / b; 183 float theta_sintheta = ( x >
183 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v; 184 return cross( v1, v2 ) * theta_sintheta; 185} 186vec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) { 187 vec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ]; 188 vec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ]; 189 vec3 lightNormal = cross( v1, v2 ); 190 if( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 ); 191 vec3 T1, T2; 192 T1 = normalize( V - N * dot( V, N ) ); 193 T2 = - cross( N, T1 ); 194 mat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) ); 195 vec3 coords[ 4 ]; 196 coords[ 0 ] = mat * ( rectCoords[ 0 ] - P ); 197 coords[ 1 ] = mat * ( rectCoords[ 1 ] - P ); 198 coords[ 2 ] = mat * ( rectCoords[ 2 ] - P ); 199 coords[ 3 ] = mat * ( rectCoords[ 3 ] - P ); 200 coords[ 0 ] = normalize( coords[ 0 ] ); 201 coords[ 1 ] = normalize( coords[ 1 ] ); 202 coords[ 2 ] = normalize( coords[ 2 ] ); 203 coords[ 3 ] = normalize( coords[ 3 ] ); 204 vec3 vectorFormFactor = vec3( 0.0 ); 205 vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] ); 206 vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] ); 207 vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] ); 208 vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] ); 209 float result = LTC_ClippedSphereFormFactor( vectorFormFactor ); 210 return vec3( result ); 211} 212float G_BlinnPhong_Implicit( ) { 213 return 0.25; 214} 215float D_BlinnPhong( const in float shininess, const in float dotNH ) { 216 return RECIPROCAL_PI * ( shininess * 0.5 + 1.0 ) * pow( dotNH, shininess ); 217} 218vec3 BRDF_BlinnPhong( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float shininess ) { 219 vec3 halfDir = normalize( lightDir + viewDir ); 220 float dotNH = saturate( dot( normal, halfDir ) ); 221 float dotVH = saturate( dot( viewDir, halfDir ) ); 222 vec3 F = F_Schlick( specularColor, 1.0, dotVH ); 223 float G = G_BlinnPhong_Implicit( ); 224 float D = D_BlinnPhong( shininess, dotNH ); 225 return F * ( G * D ); 226} 227#if defined( USE_SHEEN ) 228float D_Charlie( float roughness, float dotNH ) { 229 float alpha = pow2( roughness ); 230 float invAlpha = 1.0 / alpha; 231 float cos2h = dotNH * dotNH; 232 float sin2h = max( 1.0 - cos2h, 0.0078125 ); 233 return ( 2.0 + invAlpha ) * pow( sin2h, invAlpha * 0.5 ) / ( 2.0 * PI ); 234} 235float V_Neubelt( float dotNV, float dotNL ) { 236 return saturate( 1.0 / ( 4.0 * ( dotNL + dotNV - dotNL * dotNV ) ) ); 237} 238vec3 BRDF_Sheen( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, vec3 sheenColor, const in float sheenRoughness ) { 239 vec3 halfDir = normalize( lightDir + viewDir ); 240 float dotNL = saturate( dot( normal, lightDir ) ); 241 float dotNV = saturate( dot( normal, viewDir ) ); 242 float dotNH = saturate( dot( normal, halfDir ) ); 243 float D = D_Charlie( sheenRoughness, dotNH ); 244 float V = V_Neubelt( dotNV, dotNL ); 245 return sheenColor * ( D * V ); 246} 247#endif`,tT=`#ifdef USE_IRIDESCENCE 248 const mat3 XYZ_TO_REC709 = mat3( 249 3.2404542, -0.9692660, 0.0556434, 250 -1.5371385, 1.8760108, -0.2040259, 251 -0.4985314, 0.0415560, 1.0572252 252 ); 253 vec3 Fresnel0ToIor( vec3 fresnel0 ) { 254 vec3 sqrtF0 = sqrt( fresnel0 ); 255 return ( vec3( 1.0 ) + sqrtF0 ) / ( vec3( 1.0 ) - sqrtF0 ); 256 } 257 vec3 IorToFresnel0( vec3 transmittedIor, float incidentIor ) { 258 return pow2( ( transmittedIor - vec3( incidentIor ) ) / ( transmittedIor + vec3( incidentIor ) ) ); 259 } 260 float IorToFresnel0( float transmittedIor, float incidentIor ) { 261 return pow2( ( transmittedIor - incidentIor ) / ( transmittedIor + incidentIor )); 262 } 263 vec3 evalSensitivity( float OPD, vec3 shift ) { 264 float phase = 2.0 * PI * OPD * 1.0e-9; 265 vec3 val = vec3( 5.4856e-13, 4.4201e-13, 5.2481e-13 ); 266 vec3 pos = vec3( 1.6810e+06, 1.7953e+06, 2.2084e+06 ); 267 vec3 var = vec3( 4.3278e+09, 9.3046e+09, 6.6121e+09 ); 268 vec3 xyz = val * sqrt( 2.0 * PI * var ) * cos( pos * phase + shift ) * exp( - pow2( phase ) * var ); 269 xyz.x += 9.7470e-14 * sqrt( 2.0 * PI * 4.5282e+09 ) * cos( 2.2399e+06 * phase + shift[ 0 ] ) * exp( - 4.5282e+09 * pow2( phase ) ); 270 xyz /= 1.0685e-7; 271 vec3 rgb = XYZ_TO_REC709 * xyz; 272 return rgb; 273 } 274 vec3 evalIridescence( float outsideIOR, float eta2, float cosTheta1, float thinFilmThickness, vec3 baseF0 ) { 275 vec3 I; 276 float iridescenceIOR = mix( outsideIOR, eta2, smoothstep( 0.0, 0.03, thinFilmThickness ) ); 277 float sinTheta2Sq = pow2( outsideIOR / iridescenceIOR ) * ( 1.0 - pow2( cosTheta1 ) ); 278 float cosTheta2Sq = 1.0 - sinTheta2Sq; 279 if ( cosTheta2Sq < 0.0 ) { 280 return vec3( 1.0 ); 281 } 282 float cosTheta2 = sqrt( cosTheta2Sq ); 283 float R0 = IorToFresnel0( iridescenceIOR, outsideIOR );
284 float R12 = F_Schlick( R0, 1.0, cosTheta1 ); 285 float R21 = R12; 286 float T121 = 1.0 - R12; 287 float phi12 = 0.0; 288 if ( iridescenceIOR < outsideIOR ) phi12 = PI; 289 float phi21 = PI - phi12; 290 vec3 baseIOR = Fresnel0ToIor( clamp( baseF0, 0.0, 0.9999 ) ); vec3 R1 = IorToFresnel0( baseIOR, iridescenceIOR ); 291 vec3 R23 = F_Schlick( R1, 1.0, cosTheta2 ); 292 vec3 phi23 = vec3( 0.0 ); 293 if ( baseIOR[ 0 ] < iridescenceIOR ) phi23[ 0 ] = PI; 294 if ( baseIOR[ 1 ] < iridescenceIOR ) phi23[ 1 ] = PI; 295 if ( baseIOR[ 2 ] < iridescenceIOR ) phi23[ 2 ] = PI; 296 float OPD = 2.0 * iridescenceIOR * thinFilmThickness * cosTheta2; 297 vec3 phi = vec3( phi21 ) + phi23; 298 vec3 R123 = clamp( R12 * R23, 1e-5, 0.9999 ); 299 vec3 r123 = sqrt( R123 ); 300 vec3 Rs = pow2( T121 ) * R23 / ( vec3( 1.0 ) - R123 ); 301 vec3 C0 = R12 + Rs; 302 I = C0; 303 vec3 Cm = Rs - T121; 304 for ( int m = 1; m <= 2; ++ m ) { 305 Cm *= r123; 306 vec3 Sm = 2.0 * evalSensitivity( float( m ) * OPD, float( m ) * phi ); 307 I += Cm * Sm; 308 } 309 return max( I, vec3( 0.0 ) ); 310 } 311#endif`,eT=`#ifdef USE_BUMPMAP 312 uniform sampler2D bumpMap; 313 uniform float bumpScale; 314 vec2 dHdxy_fwd() { 315 vec2 dSTdx = dFdx( vUv ); 316 vec2 dSTdy = dFdy( vUv ); 317 float Hll = bumpScale * texture2D( bumpMap, vUv ).x; 318 float dBx = bumpScale * texture2D( bumpMap, vUv + dSTdx ).x - Hll; 319 float dBy = bumpScale * texture2D( bumpMap, vUv + dSTdy ).x - Hll; 320 return vec2( dBx, dBy ); 321 } 322 vec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy, float faceDirection ) { 323 vec3 vSigmaX = dFdx( surf_pos.xyz ); 324 vec3 vSigmaY = dFdy( surf_pos.xyz ); 325 vec3 vN = surf_norm; 326 vec3 R1 = cross( vSigmaY, vN ); 327 vec3 R2 = cross( vN, vSigmaX ); 328 float fDet = dot( vSigmaX, R1 ) * faceDirection; 329 vec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 ); 330 return normalize( abs( fDet ) * surf_norm - vGrad ); 331 } 332#endif`,nT=`#if NUM_CLIPPING_PLANES > 0 333 vec4 plane; 334 #pragma unroll_loop_start 335 for ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) { 336 plane = clippingPlanes[ i ]; 337 if ( dot( vClipPosition, plane.xyz ) > plane.w ) discard; 338 } 339 #pragma unroll_loop_end 340 #if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES 341 bool clipped = true; 342 #pragma unroll_loop_start 343 for ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) { 344 plane = clippingPlanes[ i ]; 345 clipped = ( dot( vClipPosition, plane.xyz ) > plane.w ) && clipped; 346 } 347 #pragma unroll_loop_end 348 if ( clipped ) discard; 349 #endif 350#endif`,iT=`#if NUM_CLIPPING_PLANES > 0 351 varying vec3 vClipPosition; 352 uniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ]; 353#endif`,rT=`#if NUM_CLIPPING_PLANES > 0 354 varying vec3 vClipPosition; 355#endif`,sT=`#if NUM_CLIPPING_PLANES > 0 356 vClipPosition = - mvPosition.xyz; 357#endif`,AT=`#if defined( USE_COLOR_ALPHA ) 358 diffuseColor *= vColor; 359#elif defined( USE_COLOR ) 360 diffuseColor.rgb *= vColor; 361#endif`,oT=`#if defined( USE_COLOR_ALPHA ) 362 varying vec4 vColor; 363#elif defined( USE_COLOR ) 364 varying vec3 vColor; 365#endif`,aT=`#if defined( USE_COLOR_ALPHA ) 366 varying vec4 vColor; 367#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR ) 368 varying vec3 vColor; 369#endif`,lT=`#if defined( USE_COLOR_ALPHA ) 370 vColor = vec4( 1.0 ); 371#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR ) 372 vColor = vec3( 1.0 ); 373#endif 374#ifdef USE_COLOR 375 vColor *= color; 376#endif 377#ifdef USE_INSTANCING_COLOR 378 vColor.xyz *= instanceColor.xyz; 379#endif`,cT=`#define PI 3.141592653589793 380#define PI2 6.283185307179586 381#define PI_HALF 1.5707963267948966 382#define RECIPROCAL_PI 0.3183098861837907 383#define RECIPROCAL_PI2 0.15915494309189535 384#define EPSILON 1e-6 385#ifndef saturate 386#define saturate( a ) clamp( a, 0.0, 1.0 ) 387#endif 388#define whiteComplement( a ) ( 1.0 - saturate( a ) ) 389float pow2( const in float x ) { return x*x; } 390vec3 pow2( const in vec3 x ) { return x*x; } 391float pow3( const in float x ) { return x*x*x; } 392float pow4( const in float x ) { float x2 = x*x; return x2*x2; } 393float max3( const in vec3 v ) { return max( max( v.x, v.y ), v.z ); } 394float average( const in vec3 v ) { return dot( v, vec3( 0.3333333 ) ); } 395highp float rand( const in vec2 uv ) { 396 const highp float a = 12.9898, b = 78.233, c = 43758.5453; 397 highp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI ); 398 return fract( sin( sn ) * c ); 399} 400#ifdef HIGH_PRECISION 401 float precisionSafeLength( vec3 v ) { return length( v ); } 402#else 403 float precisionSafeLength( vec3 v ) { 404 float maxComponent = max3( abs( v ) ); 405 return length( v / maxComponent ) * maxComponent; 406 } 407#endif 408struct IncidentLight { 409 vec3 color; 410 vec3 direction; 411 bool visible; 412}; 413struct ReflectedLight { 414 vec3 directDiffuse; 415 vec3 directSpecular; 416 vec3 indirectDiffuse; 417 vec3 indirectSpecular; 418}; 419struct GeometricContext { 420 vec3 position; 421 vec3 normal; 422 vec3 viewDir; 423#ifdef USE_CLEARCOAT 424 vec3 clearcoatNormal; 425#endif 426}; 427vec3 transformDirection( in vec3 dir, in mat4 matrix ) { 428 return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz ); 429} 430vec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) { 431 return normalize( ( vec4( dir, 0.0 ) * matrix ).xyz ); 432} 433mat3 transposeMat3( const in mat3 m ) { 434 mat3 tmp; 435 tmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x ); 436 tmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y ); 437 tmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z ); 438 return tmp; 439} 440float luminance( const in vec3 rgb ) { 441 const vec3 weights = vec3( 0.2126729, 0.7151522, 0.0721750 ); 442 return dot( weights, rgb ); 443} 444bool isPerspectiveMatrix( mat4 m ) { 445 return m[ 2 ][ 3 ] == - 1.0; 446} 447vec2 equirectUv( in vec3 dir ) { 448 float u = atan( dir.z, dir.x ) * RECIPROCAL_PI2 + 0.5; 449 float v = asin( clamp( dir.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5; 450 return vec2( u, v ); 451}`,uT=`#ifdef ENVMAP_TYPE_CUBE_UV 452 #define cubeUV_minMipLevel 4.0 453 #define cubeUV_minTileSize 16.0 454 float getFace( vec3 direction ) { 455 vec3 absDirection = abs( direction ); 456 float face = - 1.0; 457 if ( absDirection.x > absDirection.z ) { 458 if ( absDirection.x > absDirection.y ) 459 face = direction.x > 0.0 ? 0.0 : 3.0; 460 else 461 face = direction.y > 0.0 ? 1.0 : 4.0; 462 } else { 463 if ( absDirection.z > absDirection.y ) 464 face = direction.z > 0.0 ? 2.0 : 5.0; 465 else 466 face = direction.y > 0.0 ? 1.0 : 4.0; 467 } 468 return face; 469 } 470 vec2 getUV( vec3 direction, float face ) { 471 vec2 uv; 472 if ( face == 0.0 ) { 473 uv = vec2( direction.z, direction.y ) / abs( direction.x ); 474 } else if ( face == 1.0 ) { 475 uv = vec2( - direction.x, - direction.z ) / abs( direction.y ); 476 } else if ( face == 2.0 ) { 477 uv = vec2( - direction.x, direction.y ) / abs( direction.z ); 478 } else if ( face == 3.0 ) { 479 uv = vec2( - direction.z, direction.y ) / abs( direction.x ); 480 } else if ( face == 4.0 ) { 481 uv = vec2( - direction.x, direction.z ) / abs( direction.y ); 482 } else { 483 uv = vec2( direction.x, direction.y ) / abs( direction.z ); 484 } 485 return 0.5 * ( uv + 1.0 ); 486 } 487 vec3 bilinearCubeUV( sampler2D envMap, vec3 direction, float mipInt ) { 488 float face = getFace( direction ); 489 float filterInt = max( cubeUV_minMipLevel - mipInt, 0.0 ); 490 mipInt = max( mipInt, cubeUV_minMipLevel ); 491 float faceSize = exp2( mipInt ); 492 vec2 uv = getUV( direction, face ) * ( faceSize - 2.0 ) + 1.0; 493 if ( face > 2.0 ) { 494 uv.y += faceSize; 495 face -= 3.0; 496 } 497 uv.x += face * faceSize; 498 uv.x += filterInt * 3.0 * cubeUV_minTileSize; 499 uv.y += 4.0 * ( exp2( CUBEUV_MAX_MIP ) - faceSize ); 500 uv.x *= CUBEUV_TEXEL_WIDTH; 501 uv.y *= CUBEUV_TEXEL_HEIGHT; 502 #ifdef texture2DGradEXT 503 return texture2DGradEXT( envMap, uv, vec2( 0.0 ), vec2( 0.0 ) ).rgb; 504 #else 505 return texture2D( envMap, uv ).rgb; 506 #endif 507 } 508 #define cubeUV_r0 1.0 509 #define cubeUV_v0 0.339 510 #define cubeUV_m0 - 2.0 511 #define cubeUV_r1 0.8 512 #define cubeUV_v1 0.276 513 #define cubeUV_m1 - 1.0 514 #define cubeUV_r4 0.4 515 #define cubeUV_v4 0.046 516 #define cubeUV_m4 2.0 517 #define cubeUV_r5 0.305 518 #define cubeUV_v5 0.016 519 #define cubeUV_m5 3.0 520 #define cubeUV_r6 0.21 521 #define cubeUV_v6 0.0038 522 #define cubeUV_m6 4.0 523 float roughnessToMip( float roughness ) { 524 float mip = 0.0; 525 if ( roughness >= cubeUV_r1 ) { 526 mip = ( cubeUV_r0 - roughness ) * ( cubeUV_m1 - cubeUV_m0 ) / ( cubeUV_r0 - cubeUV_r1 ) + cubeUV_m0; 527 } else if ( roughness >= cubeUV_r4 ) { 528 mip = ( cubeUV_r1 - roughness ) * ( cubeUV_m4 - cubeUV_m1 ) / ( cubeUV_r1 - cubeUV_r4 ) + cubeUV_m1; 529 } else if ( roughness >= cubeUV_r5 ) { 530 mip = ( cubeUV_r4 - roughness ) * ( cubeUV_m5 - cubeUV_m4 ) / ( cubeUV_r4 - cubeUV_r5 ) + cubeUV_m4; 531 } else if ( roughness >= cubeUV_r6 ) { 532 mip = ( cubeUV_r5 - roughness ) * ( cubeUV_m6 - cubeUV_m5 ) / ( cubeUV_r5 - cubeUV_r6 ) + cubeUV_m5; 533 } else { 534 mip = - 2.0 * log2( 1.16 * roughness ); } 535 return mip; 536 } 537 vec4 textureCubeUV( sampler2D envMap, vec3 sampleDir, float roughness ) { 538 float mip = clamp( roughnessToMip( roughness ), cubeUV_m0, CUBEUV_MAX_MIP ); 539 float mipF = fract( mip ); 540 float mipInt = floor( mip ); 541 vec3 color0 = bilinearCubeUV( envMap, sampleDir, mipInt ); 542 if ( mipF == 0.0 ) { 543 return vec4( color0, 1.0 ); 544 } else { 545 vec3 color1 = bilinearCubeUV( envMap, sampleDir, mipInt + 1.0 ); 546 return vec4( mix( color0, color1, mipF ), 1.0 ); 547 } 548 } 549#endif`,fT=`vec3 transformedNormal = objectNormal; 550#ifdef USE_INSTANCING 551 mat3 m = mat3( instanceMatrix ); 552 transformedNormal /= vec3( dot( m[ 0 ], m[ 0 ] ), dot( m[ 1 ], m[ 1 ] ), dot( m[ 2 ], m[ 2 ] ) ); 553 transformedNormal = m * transformedNormal; 554#endif 555transformedNormal = normalMatrix * transformedNormal; 556#ifdef FLIP_SIDED 557 transformedNormal = - transformedNormal; 558#endif 559#ifdef USE_TANGENT 560 vec3 transformedTangent = ( modelViewMatrix * vec4( objectTangent, 0.0 ) ).xyz; 561 #ifdef FLIP_SIDED 562 transformedTangent = - transformedTangent; 563 #endif 564#endif`,hT=`#ifdef USE_DISPLACEMENTMAP 565 uniform sampler2D displacementMap; 566 uniform float displacementScale; 567 uniform float displacementBias; 568#endif`,dT=`#ifdef USE_DISPLACEMENTMAP 569 transformed += normalize( objectNormal ) * ( texture2D( displacementMap, vUv ).x * displacementScale + dis
569placementBias ); 570#endif`,pT=`#ifdef USE_EMISSIVEMAP 571 vec4 emissiveColor = texture2D( emissiveMap, vUv ); 572 totalEmissiveRadiance *= emissiveColor.rgb; 573#endif`,gT=`#ifdef USE_EMISSIVEMAP 574 uniform sampler2D emissiveMap; 575#endif`,mT="gl_FragColor = linearToOutputTexel( gl_FragColor );",wT=`vec4 LinearToLinear( in vec4 value ) { 576 return value; 577} 578vec4 LinearTosRGB( in vec4 value ) { 579 return vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a ); 580}`,vT=`#ifdef USE_ENVMAP 581 #ifdef ENV_WORLDPOS 582 vec3 cameraToFrag; 583 if ( isOrthographic ) { 584 cameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) ); 585 } else { 586 cameraToFrag = normalize( vWorldPosition - cameraPosition ); 587 } 588 vec3 worldNormal = inverseTransformDirection( normal, viewMatrix ); 589 #ifdef ENVMAP_MODE_REFLECTION 590 vec3 reflectVec = reflect( cameraToFrag, worldNormal ); 591 #else 592 vec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio ); 593 #endif 594 #else 595 vec3 reflectVec = vReflect; 596 #endif 597 #ifdef ENVMAP_TYPE_CUBE 598 vec4 envColor = textureCube( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) ); 599 #elif defined( ENVMAP_TYPE_CUBE_UV ) 600 vec4 envColor = textureCubeUV( envMap, reflectVec, 0.0 ); 601 #else 602 vec4 envColor = vec4( 0.0 ); 603 #endif 604 #ifdef ENVMAP_BLENDING_MULTIPLY 605 outgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity ); 606 #elif defined( ENVMAP_BLENDING_MIX ) 607 outgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity ); 608 #elif defined( ENVMAP_BLENDING_ADD ) 609 outgoingLight += envColor.xyz * specularStrength * reflectivity; 610 #endif 611#endif`,yT=`#ifdef USE_ENVMAP 612 uniform float envMapIntensity; 613 uniform float flipEnvMap; 614 #ifdef ENVMAP_TYPE_CUBE 615 uniform samplerCube envMap; 616 #else 617 uniform sampler2D envMap; 618 #endif 619 620#endif`,BT=`#ifdef USE_ENVMAP 621 uniform float reflectivity; 622 #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT ) 623 #define ENV_WORLDPOS 624 #endif 625 #ifdef ENV_WORLDPOS 626 varying vec3 vWorldPosition; 627 uniform float refractionRatio; 628 #else 629 varying vec3 vReflect; 630 #endif 631#endif`,_T=`#ifdef USE_ENVMAP 632 #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT ) 633 #define ENV_WORLDPOS 634 #endif 635 #ifdef ENV_WORLDPOS 636 637 varying vec3 vWorldPosition; 638 #else 639 varying vec3 vReflect; 640 uniform float refractionRatio; 641 #endif 642#endif`,xT=`#ifdef USE_ENVMAP 643 #ifdef ENV_WORLDPOS 644 vWorldPosition = worldPosition.xyz; 645 #else 646 vec3 cameraToVertex; 647 if ( isOrthographic ) { 648 cameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) ); 649 } else {
650 cameraToVertex = normalize( worldPosition.xyz - cameraPosition ); 651 } 652 vec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix ); 653 #ifdef ENVMAP_MODE_REFLECTION 654 vReflect = reflect( cameraToVertex, worldNormal ); 655 #else 656 vReflect = refract( cameraToVertex, worldNormal, refractionRatio ); 657 #endif 658 #endif 659#endif`,bT=`#ifdef USE_FOG 660 vFogDepth = - mvPosition.z; 661#endif`,CT=`#ifdef USE_FOG 662 varying float vFogDepth; 663#endif`,ST=`#ifdef USE_FOG 664 #ifdef FOG_EXP2 665 float fogFactor = 1.0 - exp( - fogDensity * fogDensity * vFogDepth * vFogDepth ); 666 #else 667 float fogFactor = smoothstep( fogNear, fogFar, vFogDepth ); 668 #endif 669 gl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor ); 670#endif`,FT=`#ifdef USE_FOG 671 uniform vec3 fogColor; 672 varying float vFogDepth; 673 #ifdef FOG_EXP2 674 uniform float fogDensity; 675 #else 676 uniform float fogNear; 677 uniform float fogFar; 678 #endif 679#endif`,ET=`#ifdef USE_GRADIENTMAP 680 uniform sampler2D gradientMap; 681#endif 682vec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) { 683 float dotNL = dot( normal, lightDirection ); 684 vec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 ); 685 #ifdef USE_GRADIENTMAP 686 return vec3( texture2D( gradientMap, coord ).r ); 687 #else 688 vec2 fw = fwidth( coord ) * 0.5; 689 return mix( vec3( 0.7 ), vec3( 1.0 ), smoothstep( 0.7 - fw.x, 0.7 + fw.x, coord.x ) ); 690 #endif 691}`,MT=`#ifdef USE_LIGHTMAP 692 vec4 lightMapTexel = texture2D( lightMap, vUv2 ); 693 vec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity; 694 reflectedLight.indirectDiffuse += lightMapIrradiance; 695#endif`,UT=`#ifdef USE_LIGHTMAP 696 uniform sampler2D lightMap; 697 uniform float lightMapIntensity; 698#endif`,TT=`LambertMaterial material; 699material.diffuseColor = diffuseColor.rgb; 700material.specularStrength = specularStrength;`,IT=`varying vec3 vViewPosition; 701struct LambertMaterial { 702 vec3 diffuseColor; 703 float specularStrength; 704}; 705void RE_Direct_Lambert( const in IncidentLight directLight, const in GeometricContext geometry, const in LambertMaterial material, inout ReflectedLight reflectedLight ) { 706 float dotNL = saturate( dot( geometry.normal, directLight.direction ) ); 707 vec3 irradiance = dotNL * directLight.color; 708 reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); 709} 710void RE_IndirectDiffuse_Lambert( const in vec3 irradiance, const in GeometricContext geometry, const in LambertMaterial material, inout ReflectedLight reflectedLight ) { 711 reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); 712} 713#define RE_Direct RE_Direct_Lambert 714#define RE_IndirectDiffuse RE_IndirectDiffuse_Lambert 715#define Material_LightProbeLOD( material ) (0)`,QT=`uniform bool receiveShadow; 716uniform vec3 ambientLightColor; 717uniform vec3 lightProbe[ 9 ]; 718vec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) { 719 float x = normal.x, y = normal.y, z = normal.z; 720 vec3 result = shCoefficients[ 0 ] * 0.886227; 721 result += shCoefficients[ 1 ] * 2.0 * 0.511664 * y; 722 result += shCoefficients[ 2 ] * 2.0 * 0.511664 * z; 723 result += shCoefficients[ 3 ] * 2.0 * 0.511664 * x; 724 result += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y; 725 result += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z; 726 result += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 ); 727 result += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z; 728 result += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y ); 729 return result; 730} 731vec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in vec3 normal ) { 732 vec3 worldNormal = inverseTransformDirection( normal, viewMatrix ); 733 vec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe ); 734 return irradiance; 735} 736vec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) { 737 vec3 irradiance = ambientLightColor; 738 return irradiance; 739} 740float getDistanceAttenuation( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) { 741 #if defined ( PHYSICALLY_CORRECT_LIGHTS ) 742 float distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 ); 743 if ( cutoffDistance > 0.0 ) { 744 distanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) ); 745 } 746 return distanceFalloff; 747 #else 748 if ( cutoffDistance > 0.0 && decayExponent > 0.0 ) { 749 return pow( saturate( - lightDistance / cutoffDistance + 1.0 ), decayExponent ); 750 } 751 return 1.0; 752 #endif 753} 754float getSpotAttenuation( const in float coneCosine, const in float penumbraCosine, const in float angleCosine ) { 755 return smoothstep( coneCosine, penumbraCosine, angleCosine ); 756} 757#if NUM_DIR_LIGHTS > 0 758 struct DirectionalLight { 759 vec3 direction; 760 vec3 color; 761 }; 762 uniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ]; 763 void getDirectionalLightInfo( const in DirectionalLight directionalLight, const in GeometricContext geometry, out IncidentLight light ) { 764 light.color = directionalLight.color; 765 light.direction = directionalLight.direction; 766 light.visible = true; 767 } 768#endif 769#if NUM_POINT_LIGHTS > 0 770 struct PointLight { 771 vec3 position; 772 vec3 color; 773 float distance; 774 float decay; 775 }; 776 uniform PointLight pointLights[ NUM_POINT_LIGHTS ]; 777 void getPointLightInfo( const in PointLight pointLight, const in GeometricContext geometry, out IncidentLight light ) { 778 vec3 lVector = pointLight.position - geometry.position; 779 light.direction = normalize( lVector ); 780 float lightDistance = length( lVector ); 781 light.color = pointLight.color; 782 light.color *= getDistanceAttenuation( lightDistance, pointLight.distance, pointLight.decay ); 783 light.visible = ( light.color != vec3( 0.0 ) ); 784 } 785#endif
786#if NUM_SPOT_LIGHTS > 0 787 struct SpotLight { 788 vec3 position; 789 vec3 direction; 790 vec3 color; 791 float distance; 792 float decay; 793 float coneCos; 794 float penumbraCos; 795 }; 796 uniform SpotLight spotLights[ NUM_SPOT_LIGHTS ]; 797 void getSpotLightInfo( const in SpotLight spotLight, const in GeometricContext geometry, out IncidentLight light ) { 798 vec3 lVector = spotLight.position - geometry.position; 799 light.direction = normalize( lVector ); 800 float angleCos = dot( light.direction, spotLight.direction ); 801 float spotAttenuation = getSpotAttenuation( spotLight.coneCos, spotLight.penumbraCos, angleCos ); 802 if ( spotAttenuation > 0.0 ) { 803 float lightDistance = length( lVector ); 804 light.color = spotLight.color * spotAttenuation; 805 light.color *= getDistanceAttenuation( lightDistance, spotLight.distance, spotLight.decay ); 806 light.visible = ( light.color != vec3( 0.0 ) ); 807 } else { 808 light.color = vec3( 0.0 ); 809 light.visible = false; 810 } 811 } 812#endif 813#if NUM_RECT_AREA_LIGHTS > 0 814 struct RectAreaLight { 815 vec3 color; 816 vec3 position; 817 vec3 halfWidth; 818 vec3 halfHeight; 819 }; 820 uniform sampler2D ltc_1; uniform sampler2D ltc_2; 821 uniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ]; 822#endif 823#if NUM_HEMI_LIGHTS > 0 824 struct HemisphereLight { 825 vec3 direction; 826 vec3 skyColor; 827 vec3 groundColor; 828 }; 829 uniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ]; 830 vec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in vec3 normal ) { 831 float dotNL = dot( normal, hemiLight.direction ); 832 float hemiDiffuseWeight = 0.5 * dotNL + 0.5; 833 vec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight ); 834 return irradiance; 835 } 836#endif`,LT=`#if defined( USE_ENVMAP ) 837 vec3 getIBLIrradiance( const in vec3 normal ) { 838 #if defined( ENVMAP_TYPE_CUBE_UV ) 839 vec3 worldNormal = inverseTransformDirection( normal, viewMatrix ); 840 vec4 envMapColor = textureCubeUV( envMap, worldNormal, 1.0 ); 841 return PI * envMapColor.rgb * envMapIntensity; 842 #else 843 return vec3( 0.0 ); 844 #endif 845 } 846 vec3 getIBLRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness ) { 847 #if defined( ENVMAP_TYPE_CUBE_UV ) 848 vec3 reflectVec = reflect( - viewDir, normal ); 849 reflectVec = normalize( mix( reflectVec, normal, roughness * roughness) ); 850 reflectVec = inverseTransformDirection( reflectVec, viewMatrix ); 851 vec4 envMapColor = textureCubeUV( envMap, reflectVec, roughness ); 852 return envMapColor.rgb * envMapIntensity; 853 #else 854 return vec3( 0.0 ); 855 #endif 856 } 857#endif`,PT=`ToonMaterial material; 858material.diffuseColor = diffuseColor.rgb;`,DT=`varying vec3 vViewPosition; 859struct ToonMaterial { 860 vec3 diffuseColor; 861}; 862void RE_Direct_Toon( const in IncidentLight directLight, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) { 863 vec3 irradiance = getGradientIrradiance( geometry.normal, directLight.direction ) * directLight.color; 864 reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); 865} 866void RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) { 867 reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); 868} 869#define RE_Direct RE_Direct_Toon 870#define RE_IndirectDiffuse RE_IndirectDiffuse_Toon 871#define Material_LightProbeLOD( material ) (0)`,RT=`BlinnPhongMaterial material; 872material.diffuseColor = diffuseColor.rgb; 873material.specularColor = specular; 874material.specularShininess = shininess; 875material.specularStrength = specularStrength;`,OT=`varying vec3 vViewPosition; 876struct BlinnPhongMaterial { 877 vec3 diffuseColor; 878 vec3 specularColor; 879 float specularShininess; 880 float specularStrength; 881}; 882void RE_Direct_BlinnPhong( const in IncidentLight directLight, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) { 883 float dotNL = saturate( dot( geometry.normal, directLight.direction ) ); 884 vec3 irradiance = dotNL * directLight.color; 885 reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); 886 reflectedLight.directSpecular += irradiance * BRDF_BlinnPhong( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularShininess ) * material.specularStrength; 887} 888void RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) { 889 reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); 890} 891#define RE_Direct RE_Direct_BlinnPhong 892#define RE_IndirectDiffuse RE_IndirectDiffuse_BlinnPhong 893#define Material_LightProbeLOD( material ) (0)`,HT=`PhysicalMaterial material; 894material.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor ); 895vec3 dxy = max( abs( dFdx( geometryNormal ) ), abs( dFdy( geometryNormal ) ) ); 896float geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z ); 897material.roughness = max( roughnessFactor, 0.0525 );material.roughness += geometryRoughness; 898material.roughness = min( material.roughness, 1.0 ); 899#ifdef IOR 900 material.ior = ior; 901 #ifdef SPECULAR 902 float specularIntensityFactor = specularIntensity; 903 vec3 specularColorFactor = specularColor; 904 #ifdef USE_SPECULARINTENSITYMAP 905 specularIntensityFactor *= texture2D( specularIntensityMap, vUv ).a; 906 #endif 907 #ifdef USE_SPECULARCOLORMAP 908 specularColorFactor *= texture2D( specularColorMap, vUv ).rgb; 909 #endif 910 material.specularF90 = mix( specularIntensityFactor, 1.0, metalnessFactor ); 911 #else 912 float specularIntensityFactor = 1.0; 913 vec3 specularColorFactor = vec3( 1.0 ); 914 material.specularF90 = 1.0; 915 #endif 916 material.specularColor = mix( min( pow2( ( material.ior - 1.0 ) / ( material.ior + 1.0 ) ) * specularColorFactor, vec3( 1.0 ) ) * specularIntensityFactor, diffuseColor.rgb, metalnessFactor ); 917#else 918 material.specularColor = mix( vec3( 0.04 ), diffuseColor.rgb, metalnessFactor ); 919 material.specularF90 = 1.0; 920#endif 921#ifdef USE_CLEARCOAT 922 material.clearcoat = clearcoat; 923 material.clearcoatRoughness = clearcoatRoughness; 924 material.clearcoatF0 = vec3( 0.04 ); 925 material.clearcoatF90 = 1.0; 926 #ifdef USE_CLEARCOATMAP 927 material.clearcoat *= texture2D( clearcoatMap, vUv ).x; 928 #endif 929 #ifdef USE_CLEARCOAT_ROUGHNESSMAP 930 material.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vUv ).y; 931 #endif 932 material.clearcoat = saturate( material.clearcoat ); material.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 ); 933 material.clearcoatRoughness += geometryRoughness; 934 material.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 ); 935#endif
936#ifdef USE_IRIDESCENCE 937 material.iridescence = iridescence; 938 material.iridescenceIOR = iridescenceIOR; 939 #ifdef USE_IRIDESCENCEMAP 940 material.iridescence *= texture2D( iridescenceMap, vUv ).r; 941 #endif 942 #ifdef USE_IRIDESCENCE_THICKNESSMAP 943 material.iridescenceThickness = (iridescenceThicknessMaximum - iridescenceThicknessMinimum) * texture2D( iridescenceThicknessMap, vUv ).g + iridescenceThicknessMinimum; 944 #else 945 material.iridescenceThickness = iridescenceThicknessMaximum; 946 #endif 947#endif 948#ifdef USE_SHEEN 949 material.sheenColor = sheenColor; 950 #ifdef USE_SHEENCOLORMAP 951 material.sheenColor *= texture2D( sheenColorMap, vUv ).rgb; 952 #endif 953 material.sheenRoughness = clamp( sheenRoughness, 0.07, 1.0 ); 954 #ifdef USE_SHEENROUGHNESSMAP 955 material.sheenRoughness *= texture2D( sheenRoughnessMap, vUv ).a; 956 #endif 957#endif`,kT=`struct PhysicalMaterial { 958 vec3 diffuseColor; 959 float roughness; 960 vec3 specularColor; 961 float specularF90; 962 #ifdef USE_CLEARCOAT 963 float clearcoat; 964 float clearcoatRoughness; 965 vec3 clearcoatF0; 966 float clearcoatF90; 967 #endif 968 #ifdef USE_IRIDESCENCE 969 float iridescence; 970 float iridescenceIOR; 971 float iridescenceThickness; 972 vec3 iridescenceFresnel; 973 vec3 iridescenceF0; 974 #endif 975 #ifdef USE_SHEEN 976 vec3 sheenColor; 977 float sheenRoughness; 978 #endif 979 #ifdef IOR 980 float ior; 981 #endif 982 #ifdef USE_TRANSMISSION 983 float transmission; 984 float transmissionAlpha; 985 float thickness; 986 float attenuationDistance; 987 vec3 attenuationColor; 988 #endif 989}; 990vec3 clearcoatSpecular = vec3( 0.0 ); 991vec3 sheenSpecular = vec3( 0.0 ); 992float IBLSheenBRDF( const in vec3 normal, const in vec3 viewDir, const in float roughness ) { 993 float dotNV = saturate( dot( normal, viewDir ) ); 994 float r2 = roughness * roughness; 995 float a = roughness < 0.25 ? -339.2 * r2 + 161.4 * roughness - 25.9 : -8.48 * r2 + 14.3 * roughness - 9.95; 996 float b = roughness < 0.25 ? 44.0 * r2 - 23.7 * roughness + 3.26 : 1.97 * r2 - 3.27 * roughness + 0.72; 997 float DG = exp( a * dotNV + b ) + ( roughness < 0.25 ? 0.0 : 0.1 * ( roughness - 0.25 ) ); 998 return saturate( DG * RECIPROCAL_PI ); 999} 1000vec2 DFGApprox( const in vec3 normal, const in vec3 viewDir, const in float roughness ) { 1001 float dotNV = saturate( dot( normal, viewDir ) ); 1002 const vec4 c0 = vec4( - 1, - 0.0275, - 0.572, 0.022 ); 1003 const vec4 c1 = vec4( 1, 0.0425, 1.04, - 0.04 ); 1004 vec4 r = roughness * c0 + c1; 1005 float a004 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y; 1006 vec2 fab = vec2( - 1.04, 1.04 ) * a004 + r.zw; 1007 return fab; 1008} 1009vec3 EnvironmentBRDF( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness ) { 1010 vec2 fab = DFGApprox( normal, viewDir, roughness ); 1011 return specularColor * fab.x + specularF90 * fab.y; 1012} 1013#ifdef USE_IRIDESCENCE 1014void computeMultiscatteringIridescence( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float iridescence, const in vec3 iridescenceF0, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) { 1015#else 1016void computeMultiscattering( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) { 1017#endif 1018 vec2 fab = DFGApprox( normal, viewDir, roughness ); 1019 #ifdef USE_IRIDESCENCE 1020 vec3 Fr = mix( specularColor, iridescenceF0, iridescence ); 1021 #else 1022 vec3 Fr = specularColor; 1023 #endif 1024 vec3 FssEss = Fr * fab.x + specularF90 * fab.y; 1025 float Ess = fab.x + fab.y; 1026 float Ems = 1.0 - Ess; 1027 vec3 Favg = Fr + ( 1.0 - Fr ) * 0.047619; vec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg ); 1028 singleScatter += FssEss; 1029 multiScatter += Fms * Ems; 1030} 1031#if NUM_RECT_AREA_LIGHTS > 0 1032 void RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) { 1033 vec3 normal = geometry.normal; 1034 vec3 viewDir = geometry.viewDir; 1035 vec3 position = geometry.position; 1036 vec3 lightPos = rectAreaLight.position; 1037 vec3 halfWidth = rectAreaLight.halfWidth; 1038 vec3 halfHeight = rectAreaLight.halfHeight; 1039 vec3 lightColor = rectAreaLight.color; 1040 float roughness = material.roughness; 1041 vec3 rectCoords[ 4 ]; 1042 rectCoords[ 0 ] = lightPos + halfWidth - halfHeight; rectCoords[ 1 ] = lightPos - halfWidth - halfHeight; 1043 rectCoords[ 2 ] = lightPos - halfWidth + halfHeight; 1044 rectCoords[ 3 ] = lightPos + halfWidth + halfHeight; 1045 vec2 uv = LTC_Uv( normal, viewDir, roughness ); 1046 vec4 t1 = texture2D( ltc_1, uv ); 1047 vec4 t2 = texture2D( ltc_2, uv ); 1048 mat3 mInv = mat3( 1049 vec3( t1.x, 0, t1.y ), 1050 vec3( 0, 1, 0 ), 1051 vec3( t1.z, 0, t1.w ) 1052 ); 1053 vec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y ); 1054 reflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords ); 1055 reflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords ); 1056 } 1057#endif 1058void RE_Direct_Physical( const in IncidentLight directLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {
1059 float dotNL = saturate( dot( geometry.normal, directLight.direction ) ); 1060 vec3 irradiance = dotNL * directLight.color; 1061 #ifdef USE_CLEARCOAT 1062 float dotNLcc = saturate( dot( geometry.clearcoatNormal, directLight.direction ) ); 1063 vec3 ccIrradiance = dotNLcc * directLight.color; 1064 clearcoatSpecular += ccIrradiance * BRDF_GGX( directLight.direction, geometry.viewDir, geometry.clearcoatNormal, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness ); 1065 #endif 1066 #ifdef USE_SHEEN 1067 sheenSpecular += irradiance * BRDF_Sheen( directLight.direction, geometry.viewDir, geometry.normal, material.sheenColor, material.sheenRoughness ); 1068 #endif 1069 #ifdef USE_IRIDESCENCE 1070 reflectedLight.directSpecular += irradiance * BRDF_GGX_Iridescence( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness ); 1071 #else 1072 reflectedLight.directSpecular += irradiance * BRDF_GGX( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularF90, material.roughness ); 1073 #endif 1074 reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); 1075} 1076void RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) { 1077 reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); 1078} 1079void RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) { 1080 #ifdef USE_CLEARCOAT 1081 clearcoatSpecular += clearcoatRadiance * EnvironmentBRDF( geometry.clearcoatNormal, geometry.viewDir, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness ); 1082 #endif 1083 #ifdef USE_SHEEN 1084 sheenSpecular += irradiance * material.sheenColor * IBLSheenBRDF( geometry.normal, geometry.viewDir, material.sheenRoughness ); 1085 #endif 1086 vec3 singleScattering = vec3( 0.0 ); 1087 vec3 multiScattering = vec3( 0.0 ); 1088 vec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI; 1089 #ifdef USE_IRIDESCENCE 1090 computeMultiscatteringIridescence( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness, singleScattering, multiScattering ); 1091 #else 1092 computeMultiscattering( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.roughness, singleScattering, multiScattering ); 1093 #endif 1094 vec3 totalScattering = singleScattering + multiScattering; 1095 vec3 diffuse = material.diffuseColor * ( 1.0 - max( max( totalScattering.r, totalScattering.g ), totalScattering.b ) ); 1096 reflectedLight.indirectSpecular += radiance * singleScattering; 1097 reflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance; 1098 reflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance; 1099} 1100#define RE_Direct RE_Direct_Physical 1101#define RE_Direct_RectArea RE_Direct_RectArea_Physical 1102#define RE_IndirectDiffuse RE_IndirectDiffuse_Physical 1103#define RE_IndirectSpecular RE_IndirectSpecular_Physical 1104float computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) { 1105 return saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion ); 1106}`,NT=` 1107GeometricContext geometry; 1108geometry.position = - vViewPosition; 1109geometry.normal = normal; 1110geometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition ); 1111#ifdef USE_CLEARCOAT 1112 geometry.clearcoatNormal = clearcoatNormal; 1113#endif 1114#ifdef USE_IRIDESCENCE 1115 float dotNVi = saturate( dot( normal, geometry.viewDir ) ); 1116 if ( material.iridescenceThickness == 0.0 ) { 1117 material.iridescence = 0.0; 1118 } else { 1119 material.iridescence = saturate( material.iridescence ); 1120 } 1121 if ( material.iridescence > 0.0 ) { 1122 material.iridescenceFresnel = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.specularColor ); 1123 material.iridescenceF0 = Schlick_to_F0( material.iridescenceFresnel, 1.0, dotNVi ); 1124 } 1125#endif 1126IncidentLight directLight; 1127#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct ) 1128 PointLight pointLight; 1129 #if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0 1130 PointLightShadow pointLightShadow; 1131 #endif 1132 #pragma unroll_loop_start 1133 for ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) { 1134 pointLight = pointLights[ i ]; 1135 getPointLightInfo( pointLight, geometry, directLight ); 1136 #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS ) 1137 pointLightShadow = pointLightShadows[ i ]; 1138 directLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0; 1139 #endif 1140 RE_Direct( directLight, geometry, material, reflectedLight ); 1141 } 1142 #pragma unroll_loop_end 1143#endif
1144#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct ) 1145 SpotLight spotLight; 1146 vec4 spotColor; 1147 vec3 spotLightCoord; 1148 bool inSpotLightMap; 1149 #if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0 1150 SpotLightShadow spotLightShadow; 1151 #endif 1152 #pragma unroll_loop_start 1153 for ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) { 1154 spotLight = spotLights[ i ]; 1155 getSpotLightInfo( spotLight, geometry, directLight ); 1156 #if ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS ) 1157 #define SPOT_LIGHT_MAP_INDEX UNROLLED_LOOP_INDEX 1158 #elif ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS ) 1159 #define SPOT_LIGHT_MAP_INDEX NUM_SPOT_LIGHT_MAPS 1160 #else 1161 #define SPOT_LIGHT_MAP_INDEX ( UNROLLED_LOOP_INDEX - NUM_SPOT_LIGHT_SHADOWS + NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS ) 1162 #endif 1163 #if ( SPOT_LIGHT_MAP_INDEX < NUM_SPOT_LIGHT_MAPS ) 1164 spotLightCoord = vSpotLightCoord[ i ].xyz / vSpotLightCoord[ i ].w; 1165 inSpotLightMap = all( lessThan( abs( spotLightCoord * 2. - 1. ), vec3( 1.0 ) ) ); 1166 spotColor = texture2D( spotLightMap[ SPOT_LIGHT_MAP_INDEX ], spotLightCoord.xy ); 1167 directLight.color = inSpotLightMap ? directLight.color * spotColor.rgb : directLight.color; 1168 #endif 1169 #undef SPOT_LIGHT_MAP_INDEX 1170 #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS ) 1171 spotLightShadow = spotLightShadows[ i ]; 1172 directLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotLightCoord[ i ] ) : 1.0; 1173 #endif 1174 RE_Direct( directLight, geometry, material, reflectedLight ); 1175 } 1176 #pragma unroll_loop_end 1177#endif 1178#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct ) 1179 DirectionalLight directionalLight; 1180 #if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0 1181 DirectionalLightShadow directionalLightShadow; 1182 #endif 1183 #pragma unroll_loop_start 1184 for ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) { 1185 directionalLight = directionalLights[ i ]; 1186 getDirectionalLightInfo( directionalLight, geometry, directLight ); 1187 #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS ) 1188 directionalLightShadow = directionalLightShadows[ i ]; 1189 directLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0; 1190 #endif 1191 RE_Direct( directLight, geometry, material, reflectedLight ); 1192 } 1193 #pragma unroll_loop_end 1194#endif 1195#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea ) 1196 RectAreaLight rectAreaLight; 1197 #pragma unroll_loop_start 1198 for ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) { 1199 rectAreaLight = rectAreaLights[ i ]; 1200 RE_Direct_RectArea( rectAreaLight, geometry, material, reflectedLight ); 1201 } 1202 #pragma unroll_loop_end 1203#endif 1204#if defined( RE_IndirectDiffuse ) 1205 vec3 iblIrradiance = vec3( 0.0 ); 1206 vec3 irradiance = getAmbientLightIrradiance( ambientLightColor ); 1207 irradiance += getLightProbeIrradiance( lightProbe, geometry.normal ); 1208 #if ( NUM_HEMI_LIGHTS > 0 ) 1209 #pragma unroll_loop_start 1210 for ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) { 1211 irradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry.normal ); 1212 } 1213 #pragma unroll_loop_end 1214 #endif 1215#endif 1216#if defined( RE_IndirectSpecular ) 1217 vec3 radiance = vec3( 0.0 ); 1218 vec3 clearcoatRadiance = vec3( 0.0 ); 1219#endif`,zT=`#if defined( RE_IndirectDiffuse ) 1220 #ifdef USE_LIGHTMAP 1221 vec4 lightMapTexel = texture2D( lightMap, vUv2 ); 1222 vec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity; 1223 irradiance += lightMapIrradiance; 1224 #endif 1225 #if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV ) 1226 iblIrradiance += getIBLIrradiance( geometry.normal ); 1227 #endif 1228#endif 1229#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular ) 1230 radiance += getIBLRadiance( geometry.viewDir, geometry.normal, material.roughness ); 1231 #ifdef USE_CLEARCOAT 1232 clearcoatRadiance += getIBLRadiance( geometry.viewDir, geometry.clearcoatNormal, material.clearcoatRoughness ); 1233 #endif 1234#endif`,VT=`#if defined( RE_IndirectDiffuse ) 1235 RE_IndirectDiffuse( irradiance, geometry, material, reflectedLight ); 1236#endif 1237#if defined( RE_IndirectSpecular ) 1238 RE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometry, material, reflectedLight ); 1239#endif`,GT=`#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT ) 1240 gl_FragDepthEXT = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5; 1241#endif`,KT=`#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT ) 1242 uniform float logDepthBufFC; 1243 varying float vFragDepth; 1244 varying float vIsPerspective; 1245#endif`,WT=`#ifdef USE_LOGDEPTHBUF 1246 #ifdef USE_LOGDEPTHBUF_EXT 1247 varying float vFragDepth; 1248 varying float vIsPerspective; 1249 #else 1250 uniform float logDepthBufFC; 1251 #endif 1252#endif`,qT=`#ifdef USE_LOGDEPTHBUF 1253 #ifdef USE_LOGDEPTHBUF_EXT 1254 vFragDepth = 1.0 + gl_Position.w; 1255 vIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) ); 1256 #else 1257 if ( isPerspectiveMatrix( projectionMatrix ) ) { 1258 gl_Position.z = log2( max( EPSILON, gl_Position.w + 1.0 ) ) * logDepthBufFC - 1.0; 1259 gl_Position.z *= gl_Position.w; 1260 } 1261 #endif 1262#endif`,jT=`#ifdef USE_MAP 1263 vec4 sampledDiffuseColor = texture2D( map, vUv ); 1264 #ifdef DECODE_VIDEO_TEXTURE 1265 sampledDiffuseColor = vec4( mix( pow( sampledDiffuseColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), sampledDiffuseColor.rgb * 0.0773993808, vec3( lessThanEqual( sampledDiffuseColor.rgb, vec3( 0.04045 ) ) ) ), sampledDiffuseColor.w ); 1266 #endif 1267 diffuseColor *= sampledDiffuseColor; 1268#endif`,XT=`#ifdef USE_MAP 1269 uniform sampler2D map; 1270#endif`,YT=`#if defined( USE_MAP ) || defined( USE_ALPHAMAP ) 1271 vec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy; 1272#endif 1273#ifdef USE_MAP 1274 diffuseColor *= texture2D( map, uv ); 1275#endif 1276#ifdef USE_ALPHAMAP 1277 diffuseColor.a *= texture2D( alphaMap, uv ).g; 1278#endif`,JT=`#if defined( USE_MAP ) || defined( USE_ALPHAMAP ) 1279 uniform mat3 uvTransform; 1280#endif 1281#ifdef USE_MAP 1282 uniform sampler2D map; 1283#endif 1284#ifdef USE_ALPHAMAP 1285 uniform sampler2D alphaMap; 1286#endif`,ZT=`float metalnessFactor = metalness; 1287#ifdef USE_METALNESSMAP 1288 vec4 texelMetalness = texture2D( metalnessMap, vUv ); 1289 metalnessFactor *= texelMetalness.b; 1290#endif`,$T=`#ifdef USE_METALNESSMAP 1291 uniform sampler2D metalnessMap; 1292#endif`,tI=`#if defined( USE_MORPHCOLORS ) && defined( MORPHTARGETS_TEXTURE ) 1293 vColor *= morphTargetBaseInfluence; 1294 for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { 1295 #if defined( USE_COLOR_ALPHA ) 1296 if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ) * morphTargetInfluences[ i ]; 1297 #elif defined( USE_COLOR ) 1298 if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ]; 1299 #endif 1300 } 1301#endif`,eI=`#ifdef USE_MORPHNORMALS 1302 objectNormal *= morphTargetBaseInfluence; 1303 #ifdef MORPHTARGETS_TEXTURE 1304 for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { 1305 if ( morphTargetInfluences[ i ] != 0.0 ) objectNormal += getMorph( gl_VertexID, i, 1 ).xyz * morphTargetInfluences[ i ]; 1306 } 1307 #else 1308 objectNormal += morphNormal0 * morphTargetInfluences[ 0 ]; 1309 objectNormal += morphNormal1 * morphTargetInfluences[ 1 ]; 1310 objectNormal += morphNormal2 * morphTargetInfluences[ 2 ]; 1311 objectNormal += morphNormal3 * morphTargetInfluences[ 3 ]; 1312 #endif 1313#endif`,nI=`#ifdef USE_MORPHTARGETS 1314 uniform float morphTargetBaseInfluence; 1315 #ifdef MORPHTARGETS_TEXTURE 1316 uniform float morphTargetInfluences[ MORPHTARGETS_COUNT ]; 1317 uniform sampler2DArray morphTargetsTexture; 1318 uniform ivec2 morphTargetsTextureSize; 1319 vec4 getMorph( const in int vertexIndex, const in int morphTargetIndex, const in int offset ) { 1320 int texelIndex = vertexIndex * MORPHTARGETS_TEXTURE_STRIDE + offset; 1321 int y = texelIndex / morphTargetsTextureSize.x; 1322 int x = texelIndex - y * morphTargetsTextureSize.x; 1323 ivec3 morphUV = ivec3( x, y, morphTargetIndex ); 1324 return texelFetch( morphTargetsTexture, morphUV, 0 ); 1325 } 1326 #else 1327 #ifndef USE_MORPHNORMALS 1328 uniform float morphTargetInfluences[ 8 ]; 1329 #else 1330 uniform float morphTargetInfluences[ 4 ]; 1331 #endif 1332 #endif 1333#endif`,iI=`#ifdef USE_MORPHTARGETS 1334 transformed *= morphTargetBaseInfluence; 1335 #ifdef MORPHTARGETS_TEXTURE 1336 for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { 1337 if ( morphTargetInfluences[ i ] != 0.0 ) transformed += getMorph( gl_VertexID, i, 0 ).xyz * morphTargetInfluences[ i ]; 1338 } 1339 #else 1340 transformed += morphTarget0 * morphTargetInfluences[ 0 ]; 1341 transformed += morphTarget1 * morphTargetInfluences[ 1 ]; 1342 transformed += morphTarget2 * morphTargetInfluences[ 2 ]; 1343 transformed += morphTarget3 * morphTargetInfluences[ 3 ]; 1344 #ifndef USE_MORPHNORMALS 1345 transformed += morphTarget4 * morphTargetInfluences[ 4 ]; 1346 transformed += morphTarget5 * morphTargetInfluences[ 5 ]; 1347 transformed += morphTarget6 * morphTargetInfluences[ 6 ]; 1348 transformed += morphTarget7 * morphTargetInfluences[ 7 ]; 1349 #endif 1350 #endif 1351#endif`,rI=`float faceDirection = gl_FrontFacing ? 1.0 : - 1.0; 1352#ifdef FLAT_SHADED 1353 vec3 fdx = dFdx( vViewPosition ); 1354 vec3 fdy = dFdy( vViewPosition ); 1355 vec3 normal = normalize( cross( fdx, fdy ) ); 1356#else 1357 vec3 normal = normalize( vNormal ); 1358 #ifdef DOUBLE_SIDED 1359 normal = normal * faceDirection; 1360 #endif 1361 #ifdef USE_TANGENT 1362 vec3 tangent = normalize( vTangent ); 1363 vec3 bitangent = normalize( vBitangent ); 1364 #ifdef DOUBLE_SIDED 1365 tangent = tangent * faceDirection; 1366 bitangent = bitangent * faceDirection; 1367 #endif 1368 #if defined( TANGENTSPACE_NORMALMAP ) || defined( USE_CLEARCOAT_NORMALMAP ) 1369 mat3 vTBN = mat3( tangent, bitangent, normal ); 1370 #endif 1371 #endif 1372#endif 1373vec3 geometryNormal = normal;`,sI=`#ifdef OBJECTSPACE_NORMALMAP 1374 normal = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0; 1375 #ifdef FLIP_SIDED 1376 normal = - normal; 1377 #endif 1378 #ifdef DOUBLE_SIDED 1379 normal = normal * faceDirection; 1380 #endif 1381 normal = normalize( normalMatrix * normal ); 1382#elif defined( TANGENTSPACE_NORMALMAP ) 1383 vec3 mapN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0; 1384 mapN.xy *= normalScale; 1385 #ifdef USE_TANGENT 1386 normal = normalize( vTBN * mapN ); 1387 #else
1388 normal = perturbNormal2Arb( - vViewPosition, normal, mapN, faceDirection ); 1389 #endif 1390#elif defined( USE_BUMPMAP ) 1391 normal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection ); 1392#endif`,AI=`#ifndef FLAT_SHADED 1393 varying vec3 vNormal; 1394 #ifdef USE_TANGENT 1395 varying vec3 vTangent; 1396 varying vec3 vBitangent; 1397 #endif 1398#endif`,oI=`#ifndef FLAT_SHADED 1399 varying vec3 vNormal; 1400 #ifdef USE_TANGENT 1401 varying vec3 vTangent; 1402 varying vec3 vBitangent; 1403 #endif 1404#endif`,aI=`#ifndef FLAT_SHADED 1405 vNormal = normalize( transformedNormal ); 1406 #ifdef USE_TANGENT 1407 vTangent = normalize( transformedTangent ); 1408 vBitangent = normalize( cross( vNormal, vTangent ) * tangent.w ); 1409 #endif 1410#endif`,lI=`#ifdef USE_NORMALMAP 1411 uniform sampler2D normalMap; 1412 uniform vec2 normalScale; 1413#endif 1414#ifdef OBJECTSPACE_NORMALMAP 1415 uniform mat3 normalMatrix; 1416#endif 1417#if ! defined ( USE_TANGENT ) && ( defined ( TANGENTSPACE_NORMALMAP ) || defined ( USE_CLEARCOAT_NORMALMAP ) ) 1418 vec3 perturbNormal2Arb( vec3 eye_pos, vec3 surf_norm, vec3 mapN, float faceDirection ) { 1419 vec3 q0 = dFdx( eye_pos.xyz ); 1420 vec3 q1 = dFdy( eye_pos.xyz ); 1421 vec2 st0 = dFdx( vUv.st ); 1422 vec2 st1 = dFdy( vUv.st ); 1423 vec3 N = surf_norm; 1424 vec3 q1perp = cross( q1, N ); 1425 vec3 q0perp = cross( N, q0 ); 1426 vec3 T = q1perp * st0.x + q0perp * st1.x; 1427 vec3 B = q1perp * st0.y + q0perp * st1.y; 1428 float det = max( dot( T, T ), dot( B, B ) ); 1429 float scale = ( det == 0.0 ) ? 0.0 : faceDirection * inversesqrt( det ); 1430 return normalize( T * ( mapN.x * scale ) + B * ( mapN.y * scale ) + N * mapN.z ); 1431 } 1432#endif`,cI=`#ifdef USE_CLEARCOAT 1433 vec3 clearcoatNormal = geometryNormal; 1434#endif`,uI=`#ifdef USE_CLEARCOAT_NORMALMAP 1435 vec3 clearcoatMapN = texture2D( clearcoatNormalMap, vUv ).xyz * 2.0 - 1.0; 1436 clearcoatMapN.xy *= clearcoatNormalScale; 1437 #ifdef USE_TANGENT 1438 clearcoatNormal = normalize( vTBN * clearcoatMapN ); 1439 #else 1440 clearcoatNormal = perturbNormal2Arb( - vViewPosition, clearcoatNormal, clearcoatMapN, faceDirection ); 1441 #endif 1442#endif`,fI=`#ifdef USE_CLEARCOATMAP 1443 uniform sampler2D clearcoatMap; 1444#endif 1445#ifdef USE_CLEARCOAT_ROUGHNESSMAP 1446 uniform sampler2D clearcoatRoughnessMap; 1447#endif 1448#ifdef USE_CLEARCOAT_NORMALMAP 1449 uniform sampler2D clearcoatNormalMap; 1450 uniform vec2 clearcoatNormalScale; 1451#endif`,hI=`#ifdef USE_IRIDESCENCEMAP 1452 uniform sampler2D iridescenceMap; 1453#endif 1454#ifdef USE_IRIDESCENCE_THICKNESSMAP 1455 uniform sampler2D iridescenceThicknessMap; 1456#endif`,dI=`#ifdef OPAQUE 1457diffuseColor.a = 1.0; 1458#endif 1459#ifdef USE_TRANSMISSION 1460diffuseColor.a *= material.transmissionAlpha + 0.1; 1461#endif 1462gl_FragColor = vec4( outgoingLight, diffuseColor.a );`,pI=`vec3 packNormalToRGB( const in vec3 normal ) { 1463 return normalize( normal ) * 0.5 + 0.5; 1464} 1465vec3 unpackRGBToNormal( const in vec3 rgb ) { 1466 return 2.0 * rgb.xyz - 1.0; 1467} 1468const float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.; 1469const vec3 PackFactors = vec3( 256. * 256. * 256., 256. * 256., 256. ); 1470const vec4 UnpackFactors = UnpackDownscale / vec4( PackFactors, 1. ); 1471const float ShiftRight8 = 1. / 256.; 1472vec4 packDepthToRGBA( const in float v ) { 1473 vec4 r = vec4( fract( v * PackFactors ), v ); 1474 r.yzw -= r.xyz * ShiftRight8; return r * PackUpscale; 1475} 1476float unpackRGBAToDepth( const in vec4 v ) { 1477 return dot( v, UnpackFactors ); 1478} 1479vec4 pack2HalfToRGBA( vec2 v ) { 1480 vec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ) ); 1481 return vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w ); 1482} 1483vec2 unpackRGBATo2Half( vec4 v ) { 1484 return vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) ); 1485} 1486float viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) { 1487 return ( viewZ + near ) / ( near - far ); 1488} 1489float orthographicDepthToViewZ( const in float linearClipZ, const in float near, const in float far ) { 1490 return linearClipZ * ( near - far ) - near; 1491} 1492float viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) { 1493 return ( ( near + viewZ ) * far ) / ( ( far - near ) * viewZ ); 1494} 1495float perspectiveDepthToViewZ( const in float invClipZ, const in float near, const in float far ) { 1496 return ( near * far ) / ( ( far - near ) * invClipZ - far ); 1497}`,gI=`#ifdef PREMULTIPLIED_ALPHA 1498 gl_FragColor.rgb *= gl_FragColor.a; 1499#endif`,mI=`vec4 mvPosition = vec4( transformed, 1.0 ); 1500#ifdef USE_INSTANCING 1501 mvPosition = instanceMatrix * mvPosition; 1502#endif 1503mvPosition = modelViewMatrix * mvPosition; 1504gl_Position = projectionMatrix * mvPosition;`,wI=`#ifdef DITHERING 1505 gl_FragColor.rgb = dithering( gl_FragColor.rgb ); 1506#endif`,vI=`#ifdef DITHERING 1507 vec3 dithering( vec3 color ) { 1508 float grid_position = rand( gl_FragCoord.xy ); 1509 vec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 ); 1510 dither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position ); 1511 return color + dither_shift_RGB; 1512 } 1513#endif`,yI=`float roughnessFactor = roughness; 1514#ifdef USE_ROUGHNESSMAP 1515 vec4 texelRoughness = texture2D( roughnessMap, vUv ); 1516 roughnessFactor *= texelRoughness.g; 1517#endif`,BI=`#ifdef USE_ROUGHNESSMAP 1518 uniform sampler2D roughnessMap;
1519#endif`,_I=`#if NUM_SPOT_LIGHT_COORDS > 0 1520 varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ]; 1521#endif 1522#if NUM_SPOT_LIGHT_MAPS > 0 1523 uniform sampler2D spotLightMap[ NUM_SPOT_LIGHT_MAPS ]; 1524#endif 1525#ifdef USE_SHADOWMAP 1526 #if NUM_DIR_LIGHT_SHADOWS > 0 1527 uniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ]; 1528 varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ]; 1529 struct DirectionalLightShadow { 1530 float shadowBias; 1531 float shadowNormalBias; 1532 float shadowRadius; 1533 vec2 shadowMapSize; 1534 }; 1535 uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ]; 1536 #endif 1537 #if NUM_SPOT_LIGHT_SHADOWS > 0 1538 uniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ]; 1539 struct SpotLightShadow { 1540 float shadowBias; 1541 float shadowNormalBias; 1542 float shadowRadius; 1543 vec2 shadowMapSize; 1544 }; 1545 uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ]; 1546 #endif 1547 #if NUM_POINT_LIGHT_SHADOWS > 0 1548 uniform sampler2D pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ]; 1549 varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ]; 1550 struct PointLightShadow { 1551 float shadowBias; 1552 float shadowNormalBias; 1553 float shadowRadius; 1554 vec2 shadowMapSize; 1555 float shadowCameraNear; 1556 float shadowCameraFar; 1557 }; 1558 uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ]; 1559 #endif 1560 float texture2DCompare( sampler2D depths, vec2 uv, float compare ) { 1561 return step( compare, unpackRGBAToDepth( texture2D( depths, uv ) ) ); 1562 } 1563 vec2 texture2DDistribution( sampler2D shadow, vec2 uv ) { 1564 return unpackRGBATo2Half( texture2D( shadow, uv ) ); 1565 } 1566 float VSMShadow (sampler2D shadow, vec2 uv, float compare ){ 1567 float occlusion = 1.0; 1568 vec2 distribution = texture2DDistribution( shadow, uv ); 1569 float hard_shadow = step( compare , distribution.x ); 1570 if (hard_shadow != 1.0 ) { 1571 float distance = compare - distribution.x ; 1572 float variance = max( 0.00000, distribution.y * distribution.y ); 1573 float softness_probability = variance / (variance + distance * distance ); softness_probability = clamp( ( softness_probability - 0.3 ) / ( 0.95 - 0.3 ), 0.0, 1.0 ); occlusion = clamp( max( hard_shadow, softness_probability ), 0.0, 1.0 ); 1574 } 1575 return occlusion; 1576 } 1577 float getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord ) { 1578 float shadow = 1.0; 1579 shadowCoord.xyz /= shadowCoord.w; 1580 shadowCoord.z += shadowBias; 1581 bvec4 inFrustumVec = bvec4 ( shadowCoord.x >= 0.0, shadowCoord.x <= 1.0, shadowCoord.y >= 0.0, shadowCoord.y <= 1.0 ); 1582 bool inFrustum = all( inFrustumVec ); 1583 bvec2 frustumTestVec = bvec2( inFrustum, shadowCoord.z <= 1.0 ); 1584 bool frustumTest = all( frustumTestVec ); 1585 if ( frustumTest ) { 1586 #if defined( SHADOWMAP_TYPE_PCF ) 1587 vec2 texelSize = vec2( 1.0 ) / shadowMapSize; 1588 float dx0 = - texelSize.x * shadowRadius; 1589 float dy0 = - texelSize.y * shadowRadius; 1590 float dx1 = + texelSize.x * shadowRadius; 1591 float dy1 = + texelSize.y * shadowRadius; 1592 float dx2 = dx0 / 2.0; 1593 float dy2 = dy0 / 2.0; 1594 float dx3 = dx1 / 2.0; 1595 float dy3 = dy1 / 2.0; 1596 shadow = ( 1597 texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) + 1598 texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) + 1599 texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) + 1600 texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy2 ), shadowCoord.z ) + 1601 texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy2 ), shadowCoord.z ) + 1602 texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy2 ), shadowCoord.z ) + 1603 texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) + 1604 texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, 0.0 ), shadowCoord.z ) + 1605 texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) + 1606 texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, 0.0 ), shadowCoord.z ) + 1607 texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) + 1608 texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy3 ), shadowCoord.z ) + 1609 texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy3 ), shadowCoord.z ) + 1610 texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy3 ), shadowCoord.z ) + 1611 texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) + 1612 texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) + 1613 texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z ) 1614 ) * ( 1.0 / 17.0 ); 1615 #elif defined( SHADOWMAP_TYPE_PCF_SOFT ) 1616 vec2 texelSize = vec2( 1.0 ) / shadowMapSize; 1617 float dx = texelSize.x; 1618 float dy = texelSize.y; 1619 vec2 uv = shadowCoord.xy;
1620 vec2 f = fract( uv * shadowMapSize + 0.5 ); 1621 uv -= f * texelSize; 1622 shadow = ( 1623 texture2DCompare( shadowMap, uv, shadowCoord.z ) + 1624 texture2DCompare( shadowMap, uv + vec2( dx, 0.0 ), shadowCoord.z ) + 1625 texture2DCompare( shadowMap, uv + vec2( 0.0, dy ), shadowCoord.z ) + 1626 texture2DCompare( shadowMap, uv + texelSize, shadowCoord.z ) + 1627 mix( texture2DCompare( shadowMap, uv + vec2( -dx, 0.0 ), shadowCoord.z ), 1628 texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 0.0 ), shadowCoord.z ), 1629 f.x ) + 1630 mix( texture2DCompare( shadowMap, uv + vec2( -dx, dy ), shadowCoord.z ), 1631 texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, dy ), shadowCoord.z ), 1632 f.x ) + 1633 mix( texture2DCompare( shadowMap, uv + vec2( 0.0, -dy ), shadowCoord.z ), 1634 texture2DCompare( shadowMap, uv + vec2( 0.0, 2.0 * dy ), shadowCoord.z ), 1635 f.y ) + 1636 mix( texture2DCompare( shadowMap, uv + vec2( dx, -dy ), shadowCoord.z ), 1637 texture2DCompare( shadowMap, uv + vec2( dx, 2.0 * dy ), shadowCoord.z ), 1638 f.y ) + 1639 mix( mix( texture2DCompare( shadowMap, uv + vec2( -dx, -dy ), shadowCoord.z ), 1640 texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, -dy ), shadowCoord.z ), 1641 f.x ), 1642 mix( texture2DCompare( shadowMap, uv + vec2( -dx, 2.0 * dy ), shadowCoord.z ), 1643 texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 2.0 * dy ), shadowCoord.z ), 1644 f.x ), 1645 f.y ) 1646 ) * ( 1.0 / 9.0 ); 1647 #elif defined( SHADOWMAP_TYPE_VSM ) 1648 shadow = VSMShadow( shadowMap, shadowCoord.xy, shadowCoord.z ); 1649 #else 1650 shadow = texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ); 1651 #endif 1652 } 1653 return shadow; 1654 } 1655 vec2 cubeToUV( vec3 v, float texelSizeY ) { 1656 vec3 absV = abs( v ); 1657 float scaleToCube = 1.0 / max( absV.x, max( absV.y, absV.z ) ); 1658 absV *= scaleToCube; 1659 v *= scaleToCube * ( 1.0 - 2.0 * texelSizeY ); 1660 vec2 planar = v.xy; 1661 float almostATexel = 1.5 * texelSizeY; 1662 float almostOne = 1.0 - almostATexel; 1663 if ( absV.z >= almostOne ) { 1664 if ( v.z > 0.0 ) 1665 planar.x = 4.0 - v.x; 1666 } else if ( absV.x >= almostOne ) { 1667 float signX = sign( v.x ); 1668 planar.x = v.z * signX + 2.0 * signX; 1669 } else if ( absV.y >= almostOne ) { 1670 float signY = sign( v.y ); 1671 planar.x = v.x + 2.0 * signY + 2.0; 1672 planar.y = v.z * signY - 2.0; 1673 } 1674 return vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 ); 1675 } 1676 float getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) { 1677 vec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) ); 1678 vec3 lightToPosition = shadowCoord.xyz; 1679 float dp = ( length( lightToPosition ) - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear ); dp += shadowBias; 1680 vec3 bd3D = normalize( lightToPosition ); 1681 #if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM ) 1682 vec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y; 1683 return ( 1684 texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) + 1685 texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) + 1686 texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) + 1687 texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) + 1688 texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) + 1689 texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) + 1690 texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) + 1691 texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) + 1692 texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp ) 1693 ) * ( 1.0 / 9.0 ); 1694 #else 1695 return texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ); 1696 #endif 1697 } 1698#endif`,xI=`#if NUM_SPOT_LIGHT_COORDS > 0 1699 uniform mat4 spotLightMatrix[ NUM_SPOT_LIGHT_COORDS ]; 1700 varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ]; 1701#endif 1702#ifdef USE_SHADOWMAP 1703 #if NUM_DIR_LIGHT_SHADOWS > 0 1704 uniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ]; 1705 varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ]; 1706 struct DirectionalLightShadow { 1707 float shadowBias; 1708 float shadowNormalBias; 1709 float shadowRadius; 1710 vec2 shadowMapSize; 1711 }; 1712 uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ]; 1713 #endif
1714 #if NUM_SPOT_LIGHT_SHADOWS > 0 1715 struct SpotLightShadow { 1716 float shadowBias; 1717 float shadowNormalBias; 1718 float shadowRadius; 1719 vec2 shadowMapSize; 1720 }; 1721 uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ]; 1722 #endif 1723 #if NUM_POINT_LIGHT_SHADOWS > 0 1724 uniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ]; 1725 varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ]; 1726 struct PointLightShadow { 1727 float shadowBias; 1728 float shadowNormalBias; 1729 float shadowRadius; 1730 vec2 shadowMapSize; 1731 float shadowCameraNear; 1732 float shadowCameraFar; 1733 }; 1734 uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ]; 1735 #endif 1736#endif`,bI=`#if defined( USE_SHADOWMAP ) || ( NUM_SPOT_LIGHT_COORDS > 0 ) 1737 #if NUM_DIR_LIGHT_SHADOWS > 0 || NUM_SPOT_LIGHT_COORDS > 0 || NUM_POINT_LIGHT_SHADOWS > 0 1738 vec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix ); 1739 vec4 shadowWorldPosition; 1740 #endif 1741 #if NUM_DIR_LIGHT_SHADOWS > 0 1742 #pragma unroll_loop_start 1743 for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) { 1744 shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalBias, 0 ); 1745 vDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition; 1746 } 1747 #pragma unroll_loop_end 1748 #endif 1749 #if NUM_SPOT_LIGHT_COORDS > 0 1750 #pragma unroll_loop_start 1751 for ( int i = 0; i < NUM_SPOT_LIGHT_COORDS; i ++ ) { 1752 shadowWorldPosition = worldPosition; 1753 #if ( defined( USE_SHADOWMAP ) && UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS ) 1754 shadowWorldPosition.xyz += shadowWorldNormal * spotLightShadows[ i ].shadowNormalBias; 1755 #endif 1756 vSpotLightCoord[ i ] = spotLightMatrix[ i ] * shadowWorldPosition; 1757 } 1758 #pragma unroll_loop_end 1759 #endif 1760 #if NUM_POINT_LIGHT_SHADOWS > 0 1761 #pragma unroll_loop_start 1762 for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) { 1763 shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalBias, 0 ); 1764 vPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition; 1765 } 1766 #pragma unroll_loop_end 1767 #endif 1768#endif`,CI=`float getShadowMask() { 1769 float shadow = 1.0; 1770 #ifdef USE_SHADOWMAP 1771 #if NUM_DIR_LIGHT_SHADOWS > 0 1772 DirectionalLightShadow directionalLight; 1773 #pragma unroll_loop_start 1774 for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) { 1775 directionalLight = directionalLightShadows[ i ]; 1776 shadow *= receiveShadow ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0; 1777 } 1778 #pragma unroll_loop_end 1779 #endif 1780 #if NUM_SPOT_LIGHT_SHADOWS > 0 1781 SpotLightShadow spotLight; 1782 #pragma unroll_loop_start 1783 for ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) { 1784 spotLight = spotLightShadows[ i ]; 1785 shadow *= receiveShadow ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotLightCoord[ i ] ) : 1.0; 1786 } 1787 #pragma unroll_loop_end 1788 #endif 1789 #if NUM_POINT_LIGHT_SHADOWS > 0 1790 PointLightShadow pointLight; 1791 #pragma unroll_loop_start 1792 for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) { 1793 pointLight = pointLightShadows[ i ]; 1794 shadow *= receiveShadow ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0; 1795 } 1796 #pragma unroll_loop_end 1797 #endif 1798 #endif 1799 return shadow; 1800}`,SI=`#ifdef USE_SKINNING 1801 mat4 boneMatX = getBoneMatrix( skinIndex.x ); 1802 mat4 boneMatY = getBoneMatrix( skinIndex.y ); 1803 mat4 boneMatZ = getBoneMatrix( skinIndex.z ); 1804 mat4 boneMatW = getBoneMatrix( skinIndex.w ); 1805#endif`,FI=`#ifdef USE_SKINNING 1806 uniform mat4 bindMatrix; 1807 uniform mat4 bindMatrixInverse; 1808 uniform highp sampler2D boneTexture; 1809 uniform int boneTextureSize; 1810 mat4 getBoneMatrix( const in float i ) { 1811 float j = i * 4.0; 1812 float x = mod( j, float( boneTextureSize ) ); 1813 float y = floor( j / float( boneTextureSize ) ); 1814 float dx = 1.0 / float( boneTextureSize ); 1815 float dy = 1.0 / float( boneTextureSize ); 1816 y = dy * ( y + 0.5 ); 1817 vec4 v1 = texture2D( boneTexture, vec2( dx * ( x + 0.5 ), y ) ); 1818 vec4 v2 = texture2D( boneTexture, vec2( dx * ( x + 1.5 ), y ) ); 1819 vec4 v3 = texture2D( boneTexture, vec2( dx * ( x + 2.5 ), y ) ); 1820 vec4 v4 = texture2D( boneTexture, vec2( dx * ( x + 3.5 ), y ) ); 1821 mat4 bone = mat4( v1, v2, v3, v4 ); 1822 return bone; 1823 } 1824#endif`,EI=`#ifdef USE_SKINNING 1825 vec4 skinVertex = bindMatrix * vec4( transformed, 1.0 ); 1826 vec4 skinned = vec4( 0.0 ); 1827 skinned += boneMatX * skinVertex * skinWeight.x; 1828 skinned += boneMatY * skinVertex * skinWeight.y; 1829 skinned += boneMatZ * skinVertex * skinWeight.z; 1830 skinned += boneMatW * skinVertex * skinWeight.w; 1831 transformed = ( bindMatrixInverse * skinned ).xyz; 1832#endif`,MI=`#ifdef USE_SKINNING 1833 mat4 skinMatrix = mat4( 0.0 ); 1834 skinMatrix += skinWeight.x * boneMatX; 1835 skinMatrix += skinWeight.y * boneMatY; 1836 skinMatrix += skinWeight.z * boneMatZ; 1837 skinMatrix += skinWeight.w * boneMatW; 1838 skinMatrix = bindMatrixInverse * skinMatrix * bindMatrix; 1839 objectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz; 1840 #ifdef USE_TANGENT 1841 objectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz; 1842 #endif 1843#endif`,UI=`float specularStrength; 1844#ifdef USE_SPECULARMAP 1845 vec4 texelSpecular = texture2D( specularMap, vUv ); 1846 specularStrength = texelSpecular.r; 1847#else 1848 specularStrength = 1.0; 1849#endif`,TI=`#ifdef USE_SPECULARMAP 1850 uniform sampler2D specularMap; 1851#endif`,II=`#if defined( TONE_MAPPING ) 1852 gl_FragColor.rgb = toneMapping( gl_FragColor.rgb ); 1853#endif`,QI=`#ifndef saturate 1854#define saturate( a ) clamp( a, 0.0, 1.0 ) 1855#endif 1856uniform float toneMappingExposure; 1857vec3 LinearToneMapping( vec3 color ) { 1858 return toneMappingExposure * color; 1859} 1860vec3 ReinhardToneMapping( vec3 color ) { 1861 color *= toneMappingExposure; 1862 return saturate( color / ( vec3( 1.0 ) + color ) ); 1863} 1864vec3 OptimizedCineonToneMapping( vec3 color ) { 1865 color *= toneMappingExposure; 1866 color = max( vec3( 0.0 ), color - 0.004 ); 1867 return pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) ); 1868} 1869vec3 RRTAndODTFit( vec3 v ) { 1870 vec3 a = v * ( v + 0.0245786 ) - 0.000090537; 1871 vec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081; 1872 return a / b; 1873} 1874vec3 ACESFilmicToneMapping( vec3 color ) { 1875 const mat3 ACESInputMat = mat3( 1876 vec3( 0.59719, 0.07600, 0.02840 ), vec3( 0.35458, 0.90834, 0.13383 ), 1877 vec3( 0.04823, 0.01566, 0.83777 ) 1878 ); 1879 const mat3 ACESOutputMat = mat3( 1880 vec3( 1.60475, -0.10208, -0.00327 ), vec3( -0.53108, 1.10813, -0.07276 ), 1881 vec3( -0.07367, -0.00605, 1.07602 ) 1882 ); 1883 color *= toneMappingExposure / 0.6; 1884 color = ACESInputMat * color; 1885 color = RRTAndODTFit( color ); 1886 color = ACESOutputMat * color; 1887 return saturate( color ); 1888} 1889vec3 CustomToneMapping( vec3 color ) { return color; }`,LI=`#ifdef USE_TRANSMISSION 1890 material.transmission = transmission; 1891 material.transmissionAlpha = 1.0; 1892 material.thickness = thickness; 1893 material.attenuationDistance = attenuationDistance; 1894 material.attenuationColor = attenuationColor; 1895 #ifdef USE_TRANSMISSIONMAP 1896 material.transmission *= texture2D( transmissionMap, vUv ).r; 1897 #endif 1898 #ifdef USE_THICKNESSMAP 1899 material.thickness *= texture2D( thicknessMap, vUv ).g;
1900 #endif 1901 vec3 pos = vWorldPosition; 1902 vec3 v = normalize( cameraPosition - pos ); 1903 vec3 n = inverseTransformDirection( normal, viewMatrix ); 1904 vec4 transmission = getIBLVolumeRefraction( 1905 n, v, material.roughness, material.diffuseColor, material.specularColor, material.specularF90, 1906 pos, modelMatrix, viewMatrix, projectionMatrix, material.ior, material.thickness, 1907 material.attenuationColor, material.attenuationDistance ); 1908 material.transmissionAlpha = mix( material.transmissionAlpha, transmission.a, material.transmission ); 1909 totalDiffuse = mix( totalDiffuse, transmission.rgb, material.transmission ); 1910#endif`,PI=`#ifdef USE_TRANSMISSION 1911 uniform float transmission; 1912 uniform float thickness; 1913 uniform float attenuationDistance; 1914 uniform vec3 attenuationColor; 1915 #ifdef USE_TRANSMISSIONMAP 1916 uniform sampler2D transmissionMap; 1917 #endif 1918 #ifdef USE_THICKNESSMAP 1919 uniform sampler2D thicknessMap; 1920 #endif 1921 uniform vec2 transmissionSamplerSize; 1922 uniform sampler2D transmissionSamplerMap; 1923 uniform mat4 modelMatrix; 1924 uniform mat4 projectionMatrix; 1925 varying vec3 vWorldPosition; 1926 vec3 getVolumeTransmissionRay( const in vec3 n, const in vec3 v, const in float thickness, const in float ior, const in mat4 modelMatrix ) { 1927 vec3 refractionVector = refract( - v, normalize( n ), 1.0 / ior ); 1928 vec3 modelScale; 1929 modelScale.x = length( vec3( modelMatrix[ 0 ].xyz ) ); 1930 modelScale.y = length( vec3( modelMatrix[ 1 ].xyz ) ); 1931 modelScale.z = length( vec3( modelMatrix[ 2 ].xyz ) ); 1932 return normalize( refractionVector ) * thickness * modelScale; 1933 } 1934 float applyIorToRoughness( const in float roughness, const in float ior ) { 1935 return roughness * clamp( ior * 2.0 - 2.0, 0.0, 1.0 ); 1936 } 1937 vec4 getTransmissionSample( const in vec2 fragCoord, const in float roughness, const in float ior ) { 1938 float framebufferLod = log2( transmissionSamplerSize.x ) * applyIorToRoughness( roughness, ior ); 1939 #ifdef texture2DLodEXT 1940 return texture2DLodEXT( transmissionSamplerMap, fragCoord.xy, framebufferLod ); 1941 #else 1942 return texture2D( transmissionSamplerMap, fragCoord.xy, framebufferLod ); 1943 #endif 1944 } 1945 vec3 applyVolumeAttenuation( const in vec3 radiance, const in float transmissionDistance, const in vec3 attenuationColor, const in float attenuationDistance ) { 1946 if ( isinf( attenuationDistance ) ) { 1947 return radiance; 1948 } else { 1949 vec3 attenuationCoefficient = -log( attenuationColor ) / attenuationDistance; 1950 vec3 transmittance = exp( - attenuationCoefficient * transmissionDistance ); return transmittance * radiance; 1951 } 1952 } 1953 vec4 getIBLVolumeRefraction( const in vec3 n, const in vec3 v, const in float roughness, const in vec3 diffuseColor, 1954 const in vec3 specularColor, const in float specularF90, const in vec3 position, const in mat4 modelMatrix, 1955 const in mat4 viewMatrix, const in mat4 projMatrix, const in float ior, const in float thickness, 1956 const in vec3 attenuationColor, const in float attenuationDistance ) { 1957 vec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, ior, modelMatrix ); 1958 vec3 refractedRayExit = position + transmissionRay; 1959 vec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 ); 1960 vec2 refractionCoords = ndcPos.xy / ndcPos.w; 1961 refractionCoords += 1.0; 1962 refractionCoords /= 2.0; 1963 vec4 transmittedLight = getTransmissionSample( refractionCoords, roughness, ior ); 1964 vec3 attenuatedColor = applyVolumeAttenuation( transmittedLight.rgb, length( transmissionRay ), attenuationColor, attenuationDistance ); 1965 vec3 F = EnvironmentBRDF( n, v, specularColor, specularF90, roughness ); 1966 return vec4( ( 1.0 - F ) * attenuatedColor * diffuseColor, transmittedLight.a ); 1967 } 1968#endif`,DI=`#if ( defined( USE_UV ) && ! defined( UVS_VERTEX_ONLY ) ) 1969 varying vec2 vUv; 1970#endif`,RI=`#ifdef USE_UV 1971 #ifdef UVS_VERTEX_ONLY 1972 vec2 vUv; 1973 #else 1974 varying vec2 vUv; 1975 #endif 1976 uniform mat3 uvTransform; 1977#endif`,OI=`#ifdef USE_UV 1978 vUv = ( uvTransform * vec3( uv, 1 ) ).xy; 1979#endif`,HI=`#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP ) 1980 varying vec2 vUv2; 1981#endif`,kI=`#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP ) 1982 attribute vec2 uv2; 1983 varying vec2 vUv2; 1984 uniform mat3 uv2Transform; 1985#endif`,NI=`#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP ) 1986 vUv2 = ( uv2Transform * vec3( uv2, 1 ) ).xy; 1987#endif`,zI=`#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION ) || NUM_SPOT_L
1987IGHT_COORDS > 0 1988 vec4 worldPosition = vec4( transformed, 1.0 ); 1989 #ifdef USE_INSTANCING 1990 worldPosition = instanceMatrix * worldPosition; 1991 #endif 1992 worldPosition = modelMatrix * worldPosition; 1993#endif`;const VI=`varying vec2 vUv; 1994uniform mat3 uvTransform; 1995void main() { 1996 vUv = ( uvTransform * vec3( uv, 1 ) ).xy; 1997 gl_Position = vec4( position.xy, 1.0, 1.0 ); 1998}`,GI=`uniform sampler2D t2D; 1999varying vec2 vUv; 2000void main() { 2001 gl_FragColor = texture2D( t2D, vUv ); 2002 #ifdef DECODE_VIDEO_TEXTURE 2003 gl_FragColor = vec4( mix( pow( gl_FragColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), gl_FragColor.rgb * 0.0773993808, vec3( lessThanEqual( gl_FragColor.rgb, vec3( 0.04045 ) ) ) ), gl_FragColor.w ); 2004 #endif 2005 #include <tonemapping_fragment> 2006 #include <encodings_fragment> 2007}`,KI=`varying vec3 vWorldDirection; 2008#include <common> 2009void main() { 2010 vWorldDirection = transformDirection( position, modelMatrix ); 2011 #include <begin_vertex> 2012 #include <project_vertex> 2013 gl_Position.z = gl_Position.w; 2014}`,WI=`#include <envmap_common_pars_fragment> 2015uniform float opacity; 2016varying vec3 vWorldDirection; 2017#include <cube_uv_reflection_fragment> 2018void main() { 2019 vec3 vReflect = vWorldDirection; 2020 #include <envmap_fragment> 2021 gl_FragColor = envColor; 2022 gl_FragColor.a *= opacity; 2023 #include <tonemapping_fragment> 2024 #include <encodings_fragment> 2025}`,qI=`#include <common> 2026#include <uv_pars_vertex> 2027#include <displacementmap_pars_vertex> 2028#include <morphtarget_pars_vertex> 2029#include <skinning_pars_vertex> 2030#include <logdepthbuf_pars_vertex> 2031#include <clipping_planes_pars_vertex> 2032varying vec2 vHighPrecisionZW; 2033void main() { 2034 #include <uv_vertex> 2035 #include <skinbase_vertex> 2036 #ifdef USE_DISPLACEMENTMAP 2037 #include <beginnormal_vertex> 2038 #include <morphnormal_vertex> 2039 #include <skinnormal_vertex> 2040 #endif 2041 #include <begin_vertex> 2042 #include <morphtarget_vertex> 2043 #include <skinning_vertex> 2044 #include <displacementmap_vertex> 2045 #include <project_vertex> 2046 #include <logdepthbuf_vertex> 2047 #include <clipping_planes_vertex> 2048 vHighPrecisionZW = gl_Position.zw; 2049}`,jI=`#if DEPTH_PACKING == 3200 2050 uniform float opacity; 2051#endif 2052#include <common> 2053#include <packing> 2054#include <uv_pars_fragment> 2055#include <map_pars_fragment> 2056#include <alphamap_pars_fragment> 2057#include <alphatest_pars_fragment> 2058#include <logdepthbuf_pars_fragment> 2059#include <clipping_planes_pars_fragment> 2060varying vec2 vHighPrecisionZW; 2061void main() { 2062 #include <clipping_planes_fragment> 2063 vec4 diffuseColor = vec4( 1.0 ); 2064 #if DEPTH_PACKING == 3200 2065 diffuseColor.a = opacity; 2066 #endif 2067 #include <map_fragment> 2068 #include <alphamap_fragment> 2069 #include <alphatest_fragment> 2070 #include <logdepthbuf_fragment> 2071 float fragCoordZ = 0.5 * vHighPrecisionZW[0] / vHighPrecisionZW[1] + 0.5; 2072 #if DEPTH_PACKING == 3200 2073 gl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity ); 2074 #elif DEPTH_PACKING == 3201 2075 gl_FragColor = packDepthToRGBA( fragCoordZ ); 2076 #endif 2077}`,XI=`#define DISTANCE 2078varying vec3 vWorldPosition; 2079#include <common> 2080#include <uv_pars_vertex> 2081#include <displacementmap_pars_vertex> 2082#include <morphtarget_pars_vertex> 2083#include <skinning_pars_vertex> 2084#include <clipping_planes_pars_vertex> 2085void main() { 2086 #include <uv_vertex> 2087 #include <skinbase_vertex> 2088 #ifdef USE_DISPLACEMENTMAP 2089 #include <beginnormal_vertex> 2090 #include <morphnormal_vertex> 2091 #include <skinnormal_vertex> 2092 #endif 2093 #include <begin_vertex> 2094 #include <morphtarget_vertex> 2095 #include <skinning_vertex> 2096 #include <displacementmap_vertex> 2097 #include <project_vertex> 2098 #include <worldpos_vertex> 2099 #include <clipping_planes_vertex> 2100 vWorldPosition = worldPosition.xyz; 2101}`,YI=`#define DISTANCE 2102uniform vec3 referencePosition; 2103uniform float nearDistance; 2104uniform float farDistance; 2105varying vec3 vWorldPosition; 2106#include <common> 2107#include <packing> 2108#include <uv_pars_fragment> 2109#include <map_pars_fragment> 2110#include <alphamap_pars_fragment> 2111#include <alphatest_pars_fragment> 2112#include <clipping_planes_pars_fragment> 2113void main () { 2114 #include <clipping_planes_fragment> 2115 vec4 diffuseColor = vec4( 1.0 ); 2116 #include <map_fragment> 2117 #include <alphamap_fragment> 2118 #include <alphatest_fragment> 2119 float dist = length( vWorldPosition - referencePosition ); 2120 dist = ( dist - nearDistance ) / ( farDistance - nearDistance ); 2121 dist = saturate( dist ); 2122 gl_FragColor = packDepthToRGBA( dist ); 2123}`,JI=`varying vec3 vWorldDirection; 2124#include <common> 2125void main() { 2126 vWorldDirection = transformDirection( position, modelMatrix ); 2127 #include <begin_vertex> 2128 #include <project_vertex> 2129}`,ZI=`uniform sampler2D tEquirect; 2130varying vec3 vWorldDirection; 2131#include <common> 2132void main() { 2133 vec3 direction = normalize( vWorldDirection ); 2134 vec2 sampleUV = equirectUv( direction ); 2135 gl_FragColor = texture2D( tEquirect, sampleUV ); 2136 #include <tonemapping_fragment> 2137 #include <encodings_fragment> 2138}`,$I=`uniform float scale; 2139attribute float lineDistance; 2140varying float vLineDistance; 2141#include <common> 2142#include <color_pars_vertex> 2143#include <fog_pars_vertex> 2144#include <morphtarget_pars_vertex> 2145#include <logdepthbuf_pars_vertex> 2146#include <clipping_planes_pars_vertex> 2147void main() { 2148 vLineDistance = scale * lineDistance; 2149 #include <color_vertex> 2150 #include <morphcolor_vertex> 2151 #include <begin_vertex> 2152 #include <morphtarget_vertex> 2153 #include <project_vertex> 2154 #include <logdepthbuf_vertex> 2155 #include <clipping_planes_vertex> 2156 #include <fog_vertex> 2157}`,t6=`uniform vec3 diffuse; 2158uniform float opacity; 2159uniform float dashSize; 2160uniform float totalSize; 2161varying float vLineDistance; 2162#include <common> 2163#include <color_pars_fragment> 2164#include <fog_pars_fragment> 2165#include <logdepthbuf_pars_fragment> 2166#include <clipping_planes_pars_fragment> 2167void main() { 2168 #include <clipping_planes_fragment> 2169 if ( mod( vLineDistance, totalSize ) > dashSize ) { 2170 discard; 2171 } 2172 vec3 outgoingLight = vec3( 0.0 ); 2173 vec4 diffuseColor = vec4( diffuse, opacity ); 2174 #include <logdepthbuf_fragment> 2175 #include <color_fragment> 2176 outgoingLight = diffuseColor.rgb; 2177 #include <output_fragment> 2178 #include <tonemapping_fragment> 2179 #include <encodings_fragment> 2180 #include <fog_fragment> 2181 #include <premultiplied_alpha_fragment> 2182}`,e6=`#include <common> 2183#include <uv_pars_vertex> 2184#include <uv2_pars_vertex> 2185#include <envmap_pars_vertex> 2186#include <color_pars_vertex> 2187#include <fog_pars_vertex> 2188#include <morphtarget_pars_vertex> 2189#include <skinning_pars_vertex> 2190#include <logdepthbuf_pars_vertex> 2191#include <clipping_planes_pars_vertex> 2192void main() { 2193 #include <uv_vertex> 2194 #include <uv2_vertex> 2195 #include <color_vertex> 2196 #include <morphcolor_vertex> 2197 #if defined ( USE_ENVMAP ) || defined ( USE_SKINNING ) 2198 #include <beginnormal_vertex> 2199 #include <morphnormal_vertex> 2200 #include <skinbase_vertex> 2201 #include <skinnormal_vertex> 2202 #include <defaultnormal_vertex> 2203 #endif 2204 #include <begin_vertex> 2205 #include <morphtarget_vertex> 2206 #include <skinning_vertex> 2207 #include <project_vertex> 2208 #include <logdepthbuf_vertex> 2209 #include <clipping_planes_vertex> 2210 #include <worldpos_vertex> 2211 #include <envmap_vertex> 2212 #include <fog_vertex> 2213}`,n6=`uniform vec3 diffuse; 2214uniform float opacity; 2215#ifndef FLAT_SHADED 2216 varying vec3 vNormal; 2217#endif 2218#include <common> 2219#include <dithering_pars_fragment> 2220#include <color_pars_fragment> 2221#include <uv_pars_fragment> 2222#include <uv2_pars_fragment> 2223#include <map_pars_fragment> 2224#include <alphamap_pars_fragment> 2225#include <alphatest_pars_fragment> 2226#include <aomap_pars_fragment> 2227#include <lightmap_pars_fragment> 2228#include <envmap_common_pars_fragment> 2229#include <envmap_pars_fragment> 2230#include <fog_pars_fragment> 2231#include <specularmap_pars_fragment> 2232#include <logdepthbuf_pars_fragment> 2233#include <clipping_planes_pars_fragment> 2234void main() { 2235 #include <clipping_planes_fragment> 2236 vec4 diffuseColor = vec4( diffuse, opacity ); 2237 #include <logdepthbuf_fragment> 2238 #include <map_fragment> 2239 #include <color_fragment> 2240 #include <alphamap_fragment> 2241 #include <alphatest_fragment> 2242 #include <specularmap_fragment> 2243 ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); 2244 #ifdef USE_LIGHTMAP 2245 vec4 lightMapTexel = texture2D( lightMap, vUv2 ); 2246 reflectedLight.indirectDiffuse += lightMapTexel.rgb * lightMapIntensity * RECIPROCAL_PI; 2247 #else 2248 reflectedLight.indirectDiffuse += vec3( 1.0 ); 2249 #endif 2250 #include <aomap_fragment> 2251 reflectedLight.indirectDiffuse *= diffuseColor.rgb; 2252 vec3 outgoingLight = reflectedLight.indirectDiffuse; 2253 #include <envmap_fragment> 2254 #include <output_fragment> 2255 #include <tonemapping_fragment> 2256 #include <encodings_fragment> 2257 #include <fog_fragment> 2258 #include <premultiplied_alpha_fragment> 2259 #include <dithering_fragment> 2260}`,i6=`#define LAMBERT 2261varying vec3 vViewPosition; 2262#include <common> 2263#include <uv_pars_vertex> 2264#include <uv2_pars_vertex> 2265#include <displacementmap_pars_vertex> 2266#include <envmap_pars_vertex> 2267#include <color_pars_vertex> 2268#include <fog_pars_vertex> 2269#include <normal_pars_vertex> 2270#include <morphtarget_pars_vertex> 2271#include <skinning_pars_vertex> 2272#include <shadowmap_pars_vertex> 2273#include <logdepthbuf_pars_vertex> 2274#include <clipping_planes_pars_vertex> 2275void main() { 2276 #include <uv_vertex> 2277 #include <uv2_vertex> 2278 #include <color_vertex> 2279 #include <morphcolor_vertex> 2280 #include <beginnormal_vertex> 2281 #include <morphnormal_vertex> 2282 #include <skinbase_vertex> 2283 #include <skinnormal_vertex> 2284 #include <defaultnormal_vertex> 2285 #include <normal_vertex> 2286 #include <begin_vertex> 2287 #include <morphtarget_vertex> 2288 #include <skinning_vertex> 2289 #include <displacementmap_vertex> 2290 #include <project_vertex> 2291 #include <logdepthbuf_vertex> 2292 #include <clipping_planes_vertex> 2293 vViewPosition = - mvPosition.xyz; 2294 #include <worldpos_vertex> 2295 #include <envmap_vertex> 2296 #include <shadowmap_vertex> 2297 #include <fog_vertex> 2298}`,r6=`#define LAMBERT 2299uniform vec3 diffuse; 2300uniform vec3 emissive; 2301uniform float opacity; 2302#include <common> 2303#include <packing> 2304#include <dithering_pars_fragment> 2305#include <color_pars_fragment> 2306#include <uv_pars_fragment> 2307#include <uv2_pars_fragment> 2308#include <map_pars_fragment> 2309#include <alphamap_pars_fragment> 2310#include <alphatest_pars_fragment> 2311#include <aomap_pars_fragment> 2312#include <lightmap_pars_fragment> 2313#include <emissivemap_pars_fragment> 2314#include <envmap_common_pars_fragment> 2315#include <envmap_pars_fragment> 2316#include <fog_pars_fragment> 2317#include <bsdfs> 2318#include <lights_pars_begin> 2319#include <normal_pars_fragment> 2320#include <lights_lambert_pars_fragment> 2321#include <shadowmap_pars_fragment> 2322#include <bumpmap_pars_fragment> 2323#include <normalmap_pars_fragment> 2324#include <specularmap_pars_fragment> 2325#include <logdepthbuf_pars_fragment> 2326#include <clipping_planes_pars_fragment> 2327void main() { 2328 #include <clipping_planes_fragment> 2329 vec4 diffuseColor = vec4( diffuse, opacity ); 2330 ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); 2331 vec3 totalEmissiveRadiance = emissive; 2332 #include <logdepthbuf_fragment> 2333 #include <map_fragment> 2334 #include <color_fragment> 2335 #include <alphamap_fragment> 2336 #include <alphatest_fragment> 2337 #include <specularmap_fragment> 2338 #include <normal_fragment_begin> 2339 #include <normal_fragment_maps> 2340 #include <emissivemap_fragment> 2341 #include <lights_lambert_fragment> 2342 #include <lights_fragment_begin> 2343 #include <lights_fragment_maps> 2344 #include <lights_fragment_end> 2345 #include <aomap_fragment> 2346 vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance; 2347 #include <envmap_fragment> 2348 #include <output_fragment> 2349 #include <tonemapping_fragment> 2350 #include <encodings_fragment> 2351 #include <fog_fragment> 2352 #include <premultiplied_alpha_fragment> 2353 #include <dithering_fragment> 2354}`,s6=`#define MATCAP 2355varying vec3 vViewPosition; 2356#include <common> 2357#include <uv_pars_vertex> 2358#include <color_pars_vertex> 2359#include <displacementmap_pars_vertex> 2360#include <fog_pars_vertex> 2361#include <normal_pars_vertex> 2362#include <morphtarget_pars_vertex> 2363#include <skinning_pars_vertex> 2364#include <logdepthbuf_pars_vertex> 2365#include <clipping_planes_pars_vertex> 2366void main() { 2367 #include <uv_vertex> 2368 #include <color_vertex> 2369 #include <morphcolor_vertex> 2370 #include <beginnormal_vertex> 2371 #include <morphnormal_vertex> 2372 #include <skinbase_vertex> 2373 #include <skinnormal_vertex> 2374 #include <defaultnormal_vertex> 2375 #include <normal_vertex> 2376 #include <begin_vertex> 2377 #include <morphtarget_vertex> 2378 #include <skinning_vertex> 2379 #include <displacementmap_vertex> 2380 #include <project_vertex> 2381 #include <logdepthbuf_vertex> 2382 #include <clipping_planes_vertex> 2383 #include <fog_vertex> 2384 vViewPosition = - mvPosition.xyz; 2385}`,A6=`#define MATCAP 2386uniform vec3 diffuse; 2387uniform float opacity; 2388uniform sampler2D matcap; 2389varying vec3 vViewPosition; 2390#include <common> 2391#include <dithering_pars_fragment> 2392#include <color_pars_fragment> 2393#include <uv_pars_fragment> 2394#include <map_pars_fragment> 2395#include <alphamap_pars_fragment> 2396#include <alphatest_pars_fragment> 2397#include <fog_pars_fragment> 2398#include <normal_pars_fragment> 2399#include <bumpmap_pars_fragment> 2400#include <normalmap_pars_fragment> 2401#include <logdepthbuf_pars_fragment> 2402#include <clipping_planes_pars_fragment> 2403void main() { 2404 #include <clipping_planes_fragment> 2405 vec4 diffuseColor = vec4( diffuse, opacity ); 2406 #include <logdepthbuf_fragment> 2407 #include <map_fragment> 2408 #include <color_fragment> 2409 #include <alphamap_fragment> 2410 #include <alphatest_fragment> 2411 #include <normal_fragment_begin> 2412 #include <normal_fragment_maps> 2413 vec3 viewDir = normalize( vViewPosition ); 2414 vec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) ); 2415 vec3 y = cross( viewDir, x ); 2416 vec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5; 2417 #ifdef USE_MATCAP
2418 vec4 matcapColor = texture2D( matcap, uv ); 2419 #else 2420 vec4 matcapColor = vec4( vec3( mix( 0.2, 0.8, uv.y ) ), 1.0 ); 2421 #endif 2422 vec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb; 2423 #include <output_fragment> 2424 #include <tonemapping_fragment> 2425 #include <encodings_fragment> 2426 #include <fog_fragment> 2427 #include <premultiplied_alpha_fragment> 2428 #include <dithering_fragment> 2429}`,o6=`#define NORMAL 2430#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP ) 2431 varying vec3 vViewPosition; 2432#endif 2433#include <common> 2434#include <uv_pars_vertex> 2435#include <displacementmap_pars_vertex> 2436#include <normal_pars_vertex> 2437#include <morphtarget_pars_vertex> 2438#include <skinning_pars_vertex> 2439#include <logdepthbuf_pars_vertex> 2440#include <clipping_planes_pars_vertex> 2441void main() { 2442 #include <uv_vertex> 2443 #include <beginnormal_vertex> 2444 #include <morphnormal_vertex> 2445 #include <skinbase_vertex> 2446 #include <skinnormal_vertex> 2447 #include <defaultnormal_vertex> 2448 #include <normal_vertex> 2449 #include <begin_vertex> 2450 #include <morphtarget_vertex> 2451 #include <skinning_vertex> 2452 #include <displacementmap_vertex> 2453 #include <project_vertex> 2454 #include <logdepthbuf_vertex> 2455 #include <clipping_planes_vertex> 2456#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP ) 2457 vViewPosition = - mvPosition.xyz; 2458#endif 2459}`,a6=`#define NORMAL 2460uniform float opacity; 2461#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP ) 2462 varying vec3 vViewPosition; 2463#endif 2464#include <packing> 2465#include <uv_pars_fragment> 2466#include <normal_pars_fragment> 2467#include <bumpmap_pars_fragment> 2468#include <normalmap_pars_fragment> 2469#include <logdepthbuf_pars_fragment> 2470#include <clipping_planes_pars_fragment> 2471void main() { 2472 #include <clipping_planes_fragment> 2473 #include <logdepthbuf_fragment> 2474 #include <normal_fragment_begin> 2475 #include <normal_fragment_maps> 2476 gl_FragColor = vec4( packNormalToRGB( normal ), opacity ); 2477 #ifdef OPAQUE 2478 gl_FragColor.a = 1.0; 2479 #endif 2480}`,l6=`#define PHONG 2481varying vec3 vViewPosition; 2482#include <common> 2483#include <uv_pars_vertex> 2484#include <uv2_pars_vertex> 2485#include <displacementmap_pars_vertex> 2486#include <envmap_pars_vertex> 2487#include <color_pars_vertex> 2488#include <fog_pars_vertex> 2489#include <normal_pars_vertex> 2490#include <morphtarget_pars_vertex> 2491#include <skinning_pars_vertex> 2492#include <shadowmap_pars_vertex> 2493#include <logdepthbuf_pars_vertex> 2494#include <clipping_planes_pars_vertex> 2495void main() { 2496 #include <uv_vertex> 2497 #include <uv2_vertex> 2498 #include <color_vertex> 2499 #include <morphcolor_vertex> 2500 #include <beginnormal_vertex> 2501 #include <morphnormal_vertex> 2502 #include <skinbase_vertex> 2503 #include <skinnormal_vertex> 2504 #include <defaultnormal_vertex> 2505 #include <normal_vertex> 2506 #include <begin_vertex> 2507 #include <morphtarget_vertex> 2508 #include <skinning_vertex> 2509 #include <displacementmap_vertex> 2510 #include <project_vertex> 2511 #include <logdepthbuf_vertex> 2512 #include <clipping_planes_vertex> 2513 vViewPosition = - mvPosition.xyz; 2514 #include <worldpos_vertex> 2515 #include <envmap_vertex> 2516 #include <shadowmap_vertex> 2517 #include <fog_vertex> 2518}`,c6=`#define PHONG 2519uniform vec3 diffuse; 2520uniform vec3 emissive; 2521uniform vec3 specular; 2522uniform float shininess; 2523uniform float opacity; 2524#include <common> 2525#include <packing> 2526#include <dithering_pars_fragment> 2527#include <color_pars_fragment> 2528#include <uv_pars_fragment> 2529#include <uv2_pars_fragment> 2530#include <map_pars_fragment> 2531#include <alphamap_pars_fragment> 2532#include <alphatest_pars_fragment> 2533#include <aomap_pars_fragment> 2534#include <lightmap_pars_fragment> 2535#include <emissivemap_pars_fragment> 2536#include <envmap_common_pars_fragment> 2537#include <envmap_pars_fragment> 2538#include <fog_pars_fragment> 2539#include <bsdfs> 2540#include <lights_pars_begin> 2541#include <normal_pars_fragment> 2542#include <lights_phong_pars_fragment> 2543#include <shadowmap_pars_fragment> 2544#include <bumpmap_pars_fragment> 2545#include <normalmap_pars_fragment> 2546#include <specularmap_pars_fragment> 2547#include <logdepthbuf_pars_fragment> 2548#include <clipping_planes_pars_fragment> 2549void main() { 2550 #include <clipping_planes_fragment> 2551 vec4 diffuseColor = vec4( diffuse, opacity ); 2552 ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); 2553 vec3 totalEmissiveRadiance = emissive; 2554 #include <logdepthbuf_fragment> 2555 #include <map_fragment> 2556 #include <color_fragment> 2557 #include <alphamap_fragment> 2558 #include <alphatest_fragment> 2559 #include <specularmap_fragment> 2560 #include <normal_fragment_begin> 2561 #include <normal_fragment_maps> 2562 #include <emissivemap_fragment> 2563 #include <lights_phong_fragment> 2564 #include <lights_fragment_begin> 2565 #include <lights_fragment_maps> 2566 #include <lights_fragment_end> 2567 #include <aomap_fragment> 2568 vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance; 2569 #include <envmap_fragment> 2570 #include <output_fragment> 2571 #include <tonemapping_fragment> 2572 #include <encodings_fragment> 2573 #include <fog_fragment> 2574 #include <premultiplied_alpha_fragment> 2575 #include <dithering_fragment> 2576}`,u6=`#define STANDARD 2577varying vec3 vViewPosition; 2578#ifdef USE_TRANSMISSION 2579 varying vec3 vWorldPosition; 2580#endif 2581#include <common> 2582#include <uv_pars_vertex> 2583#include <uv2_pars_vertex> 2584#include <displacementmap_pars_vertex> 2585#include <color_pars_vertex> 2586#include <fog_pars_vertex> 2587#include <normal_pars_vertex> 2588#include <morphtarget_pars_vertex> 2589#include <skinning_pars_vertex> 2590#include <shadowmap_pars_vertex> 2591#include <logdepthbuf_pars_vertex> 2592#include <clipping_planes_pars_vertex> 2593void main() { 2594 #include <uv_vertex> 2595 #include <uv2_vertex> 2596 #include <color_vertex> 2597 #include <morphcolor_vertex> 2598 #include <beginnormal_vertex> 2599 #include <morphnormal_vertex> 2600 #include <skinbase_vertex> 2601 #include <skinnormal_vertex> 2602 #include <defaultnormal_vertex> 2603 #include <normal_vertex> 2604 #include <begin_vertex> 2605 #include <morphtarget_vertex> 2606 #include <skinning_vertex> 2607 #include <displacementmap_vertex> 2608 #include <project_vertex> 2609 #include <logdepthbuf_vertex> 2610 #include <clipping_planes_vertex> 2611 vViewPosition = - mvPosition.xyz; 2612 #include <worldpos_vertex> 2613 #include <shadowmap_vertex> 2614 #include <fog_vertex> 2615#ifdef USE_TRANSMISSION 2616 vWorldPosition = worldPosition.xyz; 2617#endif 2618}`,f6=`#define STANDARD 2619#ifdef PHYSICAL 2620 #define IOR 2621 #define SPECULAR 2622#endif 2623uniform vec3 diffuse; 2624uniform vec3 emissive; 2625uniform float roughness; 2626uniform float metalness; 2627uniform float opacity; 2628#ifdef IOR 2629 uniform float ior; 2630#endif 2631#ifdef SPECULAR 2632 uniform float specularIntensity; 2633 uniform vec3 specularColor; 2634 #ifdef USE_SPECULARINTENSITYMAP 2635 uniform sampler2D specularIntensityMap; 2636 #endif 2637 #ifdef USE_SPECULARCOLORMAP 2638 uniform sampler2D specularColorMap; 2639 #endif 2640#endif 2641#ifdef USE_CLEARCOAT 2642 uniform float clearcoat; 2643 uniform float clearcoatRoughness; 2644#endif
2645#ifdef USE_IRIDESCENCE 2646 uniform float iridescence; 2647 uniform float iridescenceIOR; 2648 uniform float iridescenceThicknessMinimum; 2649 uniform float iridescenceThicknessMaximum; 2650#endif 2651#ifdef USE_SHEEN 2652 uniform vec3 sheenColor; 2653 uniform float sheenRoughness; 2654 #ifdef USE_SHEENCOLORMAP 2655 uniform sampler2D sheenColorMap; 2656 #endif 2657 #ifdef USE_SHEENROUGHNESSMAP 2658 uniform sampler2D sheenRoughnessMap; 2659 #endif 2660#endif 2661varying vec3 vViewPosition; 2662#include <common> 2663#include <packing> 2664#include <dithering_pars_fragment> 2665#include <color_pars_fragment> 2666#include <uv_pars_fragment> 2667#include <uv2_pars_fragment> 2668#include <map_pars_fragment> 2669#include <alphamap_pars_fragment> 2670#include <alphatest_pars_fragment> 2671#include <aomap_pars_fragment> 2672#include <lightmap_pars_fragment> 2673#include <emissivemap_pars_fragment> 2674#include <bsdfs> 2675#include <iridescence_fragment> 2676#include <cube_uv_reflection_fragment> 2677#include <envmap_common_pars_fragment> 2678#include <envmap_physical_pars_fragment> 2679#include <fog_pars_fragment> 2680#include <lights_pars_begin> 2681#include <normal_pars_fragment> 2682#include <lights_physical_pars_fragment> 2683#include <transmission_pars_fragment> 2684#include <shadowmap_pars_fragment> 2685#include <bumpmap_pars_fragment> 2686#include <normalmap_pars_fragment> 2687#include <clearcoat_pars_fragment> 2688#include <iridescence_pars_fragment> 2689#include <roughnessmap_pars_fragment> 2690#include <metalnessmap_pars_fragment> 2691#include <logdepthbuf_pars_fragment> 2692#include <clipping_planes_pars_fragment> 2693void main() { 2694 #include <clipping_planes_fragment> 2695 vec4 diffuseColor = vec4( diffuse, opacity ); 2696 ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); 2697 vec3 totalEmissiveRadiance = emissive; 2698 #include <logdepthbuf_fragment> 2699 #include <map_fragment> 2700 #include <color_fragment> 2701 #include <alphamap_fragment> 2702 #include <alphatest_fragment> 2703 #include <roughnessmap_fragment> 2704 #include <metalnessmap_fragment> 2705 #include <normal_fragment_begin> 2706 #include <normal_fragment_maps> 2707 #include <clearcoat_normal_fragment_begin> 2708 #include <clearcoat_normal_fragment_maps> 2709 #include <emissivemap_fragment> 2710 #include <lights_physical_fragment> 2711 #include <lights_fragment_begin> 2712 #include <lights_fragment_maps> 2713 #include <lights_fragment_end> 2714 #include <aomap_fragment> 2715 vec3 totalDiffuse = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse; 2716 vec3 totalSpecular = reflectedLight.directSpecular + reflectedLight.indirectSpecular; 2717 #include <transmission_fragment> 2718 vec3 outgoingLight = totalDiffuse + totalSpecular + totalEmissiveRadiance; 2719 #ifdef USE_SHEEN 2720 float sheenEnergyComp = 1.0 - 0.157 * max3( material.sheenColor ); 2721 outgoingLight = outgoingLight * sheenEnergyComp + sheenSpecular; 2722 #endif 2723 #ifdef USE_CLEARCOAT 2724 float dotNVcc = saturate( dot( geometry.clearcoatNormal, geometry.viewDir ) ); 2725 vec3 Fcc = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc ); 2726 outgoingLight = outgoingLight * ( 1.0 - material.clearcoat * Fcc ) + clearcoatSpecular * material.clearcoat; 2727 #endif 2728 #include <output_fragment> 2729 #include <tonemapping_fragment> 2730 #include <encodings_fragment> 2731 #include <fog_fragment> 2732 #include <premultiplied_alpha_fragment> 2733 #include <dithering_fragment> 2734}`,h6=`#define TOON 2735varying vec3 vViewPosition; 2736#include <common> 2737#include <uv_pars_vertex> 2738#include <uv2_pars_vertex> 2739#include <displacementmap_pars_vertex> 2740#include <color_pars_vertex> 2741#include <fog_pars_vertex> 2742#include <normal_pars_vertex> 2743#include <morphtarget_pars_vertex> 2744#include <skinning_pars_vertex> 2745#include <shadowmap_pars_vertex> 2746#include <logdepthbuf_pars_vertex> 2747#include <clipping_planes_pars_vertex> 2748void main() { 2749 #include <uv_vertex> 2750 #include <uv2_vertex> 2751 #include <color_vertex> 2752 #include <morphcolor_vertex> 2753 #include <beginnormal_vertex> 2754 #include <morphnormal_vertex> 2755 #include <skinbase_vertex> 2756 #include <skinnormal_vertex> 2757 #include <defaultnormal_vertex> 2758 #include <normal_vertex> 2759 #include <begin_vertex> 2760 #include <morphtarget_vertex> 2761 #include <skinning_vertex> 2762 #include <displacementmap_vertex> 2763 #include <project_vertex> 2764 #include <logdepthbuf_vertex> 2765 #include <clipping_planes_vertex> 2766 vViewPosition = - mvPosition.xyz; 2767 #include <worldpos_vertex> 2768 #include <shadowmap_vertex> 2769 #include <fog_vertex> 2770}`,d6=`#define TOON 2771uniform vec3 diffuse; 2772uniform vec3 emissive; 2773uniform float opacity; 2774#include <common> 2775#include <packing> 2776#include <dithering_pars_fragment> 2777#include <color_pars_fragment> 2778#include <uv_pars_fragment> 2779#include <uv2_pars_fragment> 2780#include <map_pars_fragment> 2781#include <alphamap_pars_fragment> 2782#include <alphatest_pars_fragment> 2783#include <aomap_pars_fragment> 2784#include <lightmap_pars_fragment> 2785#include <emissivemap_pars_fragment> 2786#include <gradientmap_pars_fragment> 2787#include <fog_pars_fragment> 2788#include <bsdfs> 2789#include <lights_pars_begin> 2790#include <normal_pars_fragment> 2791#include <lights_toon_pars_fragment> 2792#include <shadowmap_pars_fragment> 2793#include <bumpmap_pars_fragment> 2794#include <normalmap_pars_fragment> 2795#include <logdepthbuf_pars_fragment> 2796#include <clipping_planes_pars_fragment> 2797void main() { 2798 #include <clipping_planes_fragment> 2799 vec4 diffuseColor = vec4( diffuse, opacity ); 2800 ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); 2801 vec3 totalEmissiveRadiance = emissive; 2802 #include <logdepthbuf_fragment> 2803 #include <map_fragment> 2804 #include <color_fragment> 2805 #include <alphamap_fragment> 2806 #include <alphatest_fragment> 2807 #include <normal_fragment_begin> 2808 #include <normal_fragment_maps> 2809 #include <emissivemap_fragment> 2810 #include <lights_toon_fragment> 2811 #include <lights_fragment_begin> 2812 #include <lights_fragment_maps> 2813 #include <lights_fragment_end> 2814 #include <aomap_fragment> 2815 vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance; 2816 #include <output_fragment> 2817 #include <tonemapping_fragment> 2818 #include <encodings_fragment> 2819 #include <fog_fragment> 2820 #include <premultiplied_alpha_fragment> 2821 #include <dithering_fragment> 2822}`,p6=`uniform float size; 2823uniform float scale; 2824#include <common> 2825#include <color_pars_vertex> 2826#include <fog_pars_vertex> 2827#include <morphtarget_pars_vertex> 2828#include <logdepthbuf_pars_vertex> 2829#include <clipping_planes_pars_vertex> 2830void main() { 2831 #include <color_vertex> 2832 #include <morphcolor_vertex> 2833 #include <begin_vertex> 2834 #include <morphtarget_vertex> 2835 #include <project_vertex> 2836 gl_PointSize = size; 2837 #ifdef USE_SIZEATTENUATION 2838 bool isPerspective = isPerspectiveMatrix( projectionMatrix ); 2839 if ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z ); 2840 #endif 2841 #include <logdepthbuf_vertex> 2842 #include <clipping_planes_vertex> 2843 #include <worldpos_vertex> 2844 #include <fog_vertex> 2845}`,g6=`uniform vec3 diffuse; 2846uniform float opacity; 2847#include <common> 2848#include <color_pars_fragment> 2849#include <map_particle_pars_fragment> 2850#include <alphatest_pars_fragment> 2851#include <fog_pars_fragment> 2852#include <logdepthbuf_pars_fragment> 2853#include <clipping_planes_pars_fragment> 2854void main() { 2855 #include <clipping_planes_fragment> 2856 vec3 outgoingLight = vec3( 0.0 ); 2857 vec4 diffuseColor = vec4( diffuse, opacity ); 2858 #include <logdepthbuf_fragment> 2859 #include <map_particle_fragment> 2860 #include <color_fragment> 2861 #include <alphatest_fragment> 2862 outgoingLight = diffuseColor.rgb; 2863 #include <output_fragment> 2864 #include <tonemapping_fragment> 2865 #include <encodings_fragment> 2866 #include <fog_fragment> 2867 #include <premultiplied_alpha_fragment> 2868}
2868`,m6=`#include <common> 2869#include <fog_pars_vertex> 2870#include <morphtarget_pars_vertex> 2871#include <skinning_pars_vertex> 2872#include <shadowmap_pars_vertex> 2873void main() { 2874 #include <beginnormal_vertex> 2875 #include <morphnormal_vertex> 2876 #include <skinbase_vertex> 2877 #include <skinnormal_vertex> 2878 #include <defaultnormal_vertex> 2879 #include <begin_vertex> 2880 #include <morphtarget_vertex> 2881 #include <skinning_vertex> 2882 #include <project_vertex> 2883 #include <worldpos_vertex> 2884 #include <shadowmap_vertex> 2885 #include <fog_vertex> 2886}`,w6=`uniform vec3 color; 2887uniform float opacity; 2888#include <common> 2889#include <packing> 2890#include <fog_pars_fragment> 2891#include <bsdfs> 2892#include <lights_pars_begin> 2893#include <shadowmap_pars_fragment> 2894#include <shadowmask_pars_fragment> 2895void main() { 2896 gl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) ); 2897 #include <tonemapping_fragment> 2898 #include <encodings_fragment> 2899 #include <fog_fragment> 2900}`,v6=`uniform float rotation; 2901uniform vec2 center; 2902#include <common> 2903#include <uv_pars_vertex> 2904#include <fog_pars_vertex> 2905#include <logdepthbuf_pars_vertex> 2906#include <clipping_planes_pars_vertex> 2907void main() { 2908 #include <uv_vertex> 2909 vec4 mvPosition = modelViewMatrix * vec4( 0.0, 0.0, 0.0, 1.0 ); 2910 vec2 scale; 2911 scale.x = length( vec3( modelMatrix[ 0 ].x, modelMatrix[ 0 ].y, modelMatrix[ 0 ].z ) ); 2912 scale.y = length( vec3( modelMatrix[ 1 ].x, modelMatrix[ 1 ].y, modelMatrix[ 1 ].z ) ); 2913 #ifndef USE_SIZEATTENUATION 2914 bool isPerspective = isPerspectiveMatrix( projectionMatrix ); 2915 if ( isPerspective ) scale *= - mvPosition.z; 2916 #endif 2917 vec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale; 2918 vec2 rotatedPosition; 2919 rotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y; 2920 rotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y; 2921 mvPosition.xy += rotatedPosition; 2922 gl_Position = projectionMatrix * mvPosition; 2923 #include <logdepthbuf_vertex> 2924 #include <clipping_planes_vertex> 2925 #include <fog_vertex> 2926}`,y6=`uniform vec3 diffuse; 2927uniform float opacity; 2928#include <common> 2929#include <uv_pars_fragment> 2930#include <map_pars_fragment> 2931#include <alphamap_pars_fragment> 2932#include <alphatest_pars_fragment> 2933#include <fog_pars_fragment> 2934#include <logdepthbuf_pars_fragment> 2935#include <clipping_planes_pars_fragment> 2936void main() { 2937 #include <clipping_planes_fragment> 2938 vec3 outgoingLight = vec3( 0.0 ); 2939 vec4 diffuseColor = vec4( diffuse, opacity ); 2940 #include <logdepthbuf_fragment> 2941 #include <map_fragment> 2942 #include <alphamap_fragment> 2943 #include <alphatest_fragment> 2944 outgoingLight = diffuseColor.rgb; 2945 #include <output_fragment> 2946 #include <tonemapping_fragment> 2947 #include <encodings_fragment> 2948 #include <fog_fragment> 2949}`,cn={alphamap_fragment:KU,alphamap_pars_fragment:WU,alphatest_fragment:qU,alphatest_pars_fragment:jU,aomap_fragment:XU,aomap_pars_fragment:YU,begin_vertex:JU,beginnormal_vertex:ZU,bsdfs:$U,iridescence_fragment:tT,bumpmap_pars_fragment:eT,clipping_planes_fragment:nT,clipping_planes_pars_fragment:iT,clipping_planes_pars_vertex:rT,clipping_planes_vertex:sT,color_fragment:AT,color_pars_fragment:oT,color_pars_vertex:aT,color_vertex:lT,common:cT,cube_uv_reflection_fragment:uT,defaultnormal_vertex:fT,displacementmap_pars_vertex:hT,displacementmap_vertex:dT,emissivemap_fragment:pT,emissivemap_pars_fragment:gT,encodings_fragment:mT,encodings_pars_fragment:wT,envmap_fragment:vT,envmap_common_pars_fragment:yT,envmap_pars_fragment:BT,envmap_pars_vertex:_T,envmap_physical_pars_fragment:LT,envmap_vertex:xT,fog_vertex:bT,fog_pars_vertex:CT,fog_fragment:ST,fog_pars_fragment:FT,gradientmap_pars_fragment:ET,lightmap_fragment:MT,lightmap_pars_fragment:UT,lights_lambert_fragment:TT,lights_lambert_pars_fragment:IT,lights_pars_begin:QT,lights_toon_fragment:PT,lights_toon_pars_fragment:DT,lights_phong_fragment:RT,lights_phong_pars_fragment:OT,lights_physical_fragment:HT,lights_physical_pars_fragment:kT,lights_fragment_begin:NT,lights_fragment_maps:zT,lights_fragment_end:VT,logdepthbuf_fragment:GT,logdepthbuf_pars_fragment:KT,logdepthbuf_pars_vertex:WT,logdepthbuf_vertex:qT,map_fragment:jT,map_pars_fragment:XT,map_particle_fragment:YT,map_particle_pars_fragment:JT,metalnessmap_fragment:ZT,metalnessmap_pars_fragment:$T,morphcolor_vertex:tI,morphnormal_vertex:eI,morphtarget_pars_vertex:nI,morphtarget_vertex:iI,normal_fragment_begin:rI,normal_fragment_maps:sI,normal_pars_fragment:AI,normal_pars_vertex:oI,normal_vertex:aI,normalmap_pars_fragment:lI,clearcoat_normal_fragment_begin:cI,clearcoat_normal_fragment_maps:uI,clearcoat_pars_fragment:fI,iridescence_pars_fragment:hI,output_fragment:dI,packing:pI,premultiplied_alpha_fragment:gI,project_vertex:mI,dithering_fragment:wI,dithering_pars_fragment:vI,roughnessmap_fragment:yI,roughnessmap_pars_fragment:BI,shadowmap_pars_fragment:_I,shadowmap_pars_vertex:xI,shadowmap_vertex:bI,shadowmask_pars_fragment:CI,skinbase_vertex:SI,skinning_pars_vertex:FI,skinning_vertex:EI,skinnormal_vertex:MI,specularmap_fragment:UI,specularmap_pars_fragment:TI,tonemapping_fragment:II,tonemapping_pars_fragment:QI,transmission_fragment:LI,transmission_pars_fragment:PI,uv_pars_fragment:DI,uv_pars_vertex:RI,uv_vertex:OI,uv2_pars_fragment:HI,uv2_pars_vertex:kI,uv2_vertex:NI,worldpos_vertex:zI,background_vert:VI,background_frag:GI,cube_vert:KI,cube_frag:WI,depth_vert:qI,depth_frag:jI,distanceRGBA_vert:XI,distanceRGBA_frag:YI,equirect_vert:JI,equirect_frag:ZI,linedashed_vert:$I,linedashed_frag:t6,meshbasic_vert:e6,meshbasic_frag:n6,meshlambert_vert:i6,meshlambert_frag:r6,meshmatcap_vert:s6,meshmatcap_frag:A6,meshnormal_vert:o6,meshnormal_frag:a6,meshphong_vert:l6,meshphong_frag:c6,meshphysical_vert:u6,meshphysical_frag:f6,meshtoon_vert:h6,meshtoon_frag:d6,points_vert:p6,points_frag:g6,shadow_vert:m6,shadow_frag:w6,sprite_vert:v6,sprite_frag:y6},Pe={common:{diffuse:{value:new Rn(16777215)},opacity:{value:1},map:{value:null},uvTransform:{value:new Fr},uv2Transform:{value:new Fr},alphaMap:{value:null},alphaTest:{value:0}},specularmap:{specularMap:{value:null}},envmap:{envMap:{value:null},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1}},emissivemap:{emissiveMap:{value:null}},bumpmap:{bumpMap:{value:null},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalScale:{value:new fn(1,1)}}
vendor: 6,049 bytes, line 2949
2949,displacementmap:{displacementMap:{value:null},displacementScale:{value:1},displacementBias:{value:0}},roughnessmap:{roughnessMap:{value:null}},metalnessmap:{metalnessMap:{value:null}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new Rn(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotLightMap:{value:[]},spotShadowMap:{value:[]},spotLightMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new Rn(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new Fr}},sprite:{diffuse:{value:new Rn(16777215)},opacity:{value:1},center:{value:new fn(.5,.5)},rotation:{value:0},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new Fr}}},os={basic:{uniforms:_i([Pe.common,Pe.specularmap,Pe.envmap,Pe.aomap,Pe.lightmap,Pe.fog]),vertexShader:cn.meshbasic_vert,fragmentShader:cn.meshbasic_frag},lambert:{uniforms:_i([Pe.common,Pe.specularmap,Pe.envmap,Pe.aomap,Pe.lightmap,Pe.emissivemap,Pe.bumpmap,Pe.normalmap,Pe.displacementmap,Pe.fog,Pe.lights,{emissive:{value:new Rn(0)}}]),vertexShader:cn.meshlambert_vert,fragmentShader:cn.meshlambert_frag},phong:{uniforms:_i([Pe.common,Pe.specularmap,Pe.envmap,Pe.aomap,Pe.lightmap,Pe.emissivemap,Pe.bumpmap,Pe.normalmap,Pe.displacementmap,Pe.fog,Pe.lights,{emissive:{value:new Rn(0)},specular:{value:new Rn(1118481)},shininess:{value:30}}]),vertexShader:cn.meshphong_vert,fragmentShader:cn.meshphong_frag},standard:{uniforms:_i([Pe.common,Pe.envmap,Pe.aomap,Pe.lightmap,Pe.emissivemap,Pe.bumpmap,Pe.normalmap,Pe.displacementmap,Pe.roughnessmap,Pe.metalnessmap,Pe.fog,Pe.lights,{emissive:{value:new Rn(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:cn.meshphysical_vert,fragmentShader:cn.meshphysical_frag},toon:{uniforms:_i([Pe.common,Pe.aomap,Pe.lightmap,Pe.emissivemap,Pe.bumpmap,Pe.normalmap,Pe.displacementmap,Pe.gradientmap,Pe.fog,Pe.lights,{emissive:{value:new Rn(0)}}]),vertexShader:cn.meshtoon_vert,fragmentShader:cn.meshtoon_frag},matcap:{uniforms:_i([Pe.common,Pe.bumpmap,Pe.normalmap,Pe.displacementmap,Pe.fog,{matcap:{value:null}}]),vertexShader:cn.meshmatcap_vert,fragmentShader:cn.meshmatcap_frag},points:{uniforms:_i([Pe.points,Pe.fog]),vertexShader:cn.points_vert,fragmentShader:cn.points_frag},dashed:{uniforms:_i([Pe.common,Pe.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:cn.linedashed_vert,fragmentShader:cn.linedashed_frag},depth:{uniforms:_i([Pe.common,Pe.displacementmap]),vertexShader:cn.depth_vert,fragmentShader:cn.depth_frag},normal:{uniforms:_i([Pe.common,Pe.bumpmap,Pe.normalmap,Pe.displacementmap,{opacity:{value:1}}]),vertexShader:cn.meshnormal_vert,fragmentShader:cn.meshnormal_frag},sprite:{uniforms:_i([Pe.sprite,Pe.fog]),vertexShader:cn.sprite_vert,fragmentShader:cn.sprite_frag},background:{uniforms:{uvTransform:{value:new Fr},t2D:{value:null}},vertexShader:cn.background_vert,fragmentShader:cn.background_frag},cube:{uniforms:_i([Pe.envmap,{opacity:{value:1}}]),vertexShader:cn.cube_vert,fragmentShader:cn.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:cn.equirect_vert,fragmentShader:cn.equirect_frag},distanceRGBA:{uniforms:_i([Pe.common,Pe.displacementmap,{referencePosition:{value:new ee},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:cn.distanceRGBA_vert,fragmentShader:cn.distanceRGBA_frag},shadow:{uniforms:_i([Pe.lights,Pe.fog,{color:{value:new Rn(0)},opacity:{value:1}}]),vertexShader:cn.shadow_vert,fragmentShader:cn.shadow_frag}};os.physical={uniforms:_i([os.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatNormalScale:{value:new fn(1,1)},clearcoatNormalMap:{value:null},iridescence:{value:0},iridescenceMap:{value:null},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},sheen:{value:0},sheenColor:{value:new Rn(0)},sheenColorMap:{value:null},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},transmission:{value:0},transmissionMap:{value:null},transmissionSamplerSize:{value:new fn},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},attenuationDistance:{value:0},attenuationColor:{value:new Rn(0)},specularIntensity:{value:1},specularIntensityMap:{value:null},specularColor:{value:new Rn(1,1,1)},specularColorMap:{value:null}}]),vertexShader:cn.meshphysical_vert,fragmentShader:cn.meshphysical_frag};function B6(n,t,e,i,r,s){const A=new Rn(0);let o=r===!0?0:1,a,l,c=null,u=0,f=null;function m(h,g){let b=!1,U=g.isScene===!0?g.background:null;U&&U.isTexture&&(U=t.get(U));const N=n.xr,L=N.getSession&&N.getSession();L&&L.environmentBlendMode==="additive"&&(U=null),U===null?y(A,o):U&&U.isColor&&(y(U,1),b=!0),(n.autoClear||b)&&n.clear(n.autoClearColor,n.autoClearDepth,n.autoClearStencil),U&&(U.isCubeTexture||U.mapping===Fh)?(l===void 0&&(l=new SA(new Nc(1,1,1),new Ro({name:"Backgroun
2949dCubeMaterial",uniforms:il(os.cube.uniforms),vertexShader:os.cube.vertexShader,fragmentShader:os.cube.fragmentShader,side:Ur,depthTest:!1,depthWrite:!1,fog:!1})),l.geometry.deleteAttribute("normal"),l.geometry.deleteAttribute("uv"),l.onBeforeRender=function(R,j,st){this.matrixWorld.copyPosition(st.matrixWorld)},Object.defineProperty(l.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),i.update(l)),l.material.uniforms.envMap.value=U,l.material.uniforms.flipEnvMap.value=U.isCubeTexture&&U.isRenderTargetTexture===!1?-1:1,(c!==U||u!==U.version||f!==n.toneMapping)&&(l.material.needsUpdate=!0,c=U,u=U.version,f=n.toneMapping),l.layers.enableAll(),h.unshift(l,l.geometry,l.material,0,0,null)):U&&U.isTexture&&(a===void 0&&(a=new SA(new l0(2,2),new Ro({name:"BackgroundMaterial",uniforms:il(os.background.uniforms),vertexShader:os.background.vertexShader,fragmentShader:os.background.fragmentShader,side:$a,depthTest:!1,depthWrite:!1,fog:!1})),a.geometry.deleteAttribute("normal"),Object.defineProperty(a.material,"map",{get:function(){return this.uniforms.t2D.value}}),i.update(a)),a.material.uniforms.t2D.value=U,U.matrixAutoUpdate===!0&&U.updateMatrix(),a.material.uniforms.uvTransform.value.copy(U.matrix),(c!==U||u!==U.version||f!==n.toneMapping)&&(a.material.needsUpdate=!0,c=U,u=U.version,f=n.toneMapping),a.layers.enableAll(),h.unshift(a,a.geometry,a.material,0,0,null))}function y(h,g){e.buffers.color.setClear(h.r,h.g,h.b,g,s)}return{getClearColor:function(){return A},setClearColor:function(h,g=1){A.set(h),o=g,y(A,o)},getClearAlpha:function(){return o},setClearAlpha:function(h){o=h,y(A,o)},render:m}}function _6(n,t,e,i){const r=n.getParameter(34921),s=i.isWebGL2?null:t.get("OES_vertex_array_object"),A=i.isWebGL2||s!==null,o={},a=g(null);let l=a,c=!1;function u(xt,Xt,jt,Gt,Wt){let kt=!1;if(A){const Vt=h(Gt,jt,Xt);l!==Vt&&(l=Vt,m(l.object)),kt=b(xt,Gt,jt,Wt),kt&&U(xt,Gt,jt,Wt)}else{const Vt=Xt.wireframe===!0;(l.geometry!==Gt.id||l.program!==jt.id||l.wireframe!==Vt)&&(l.geometry=Gt.id,l.program=jt.id,l.wireframe=Vt,kt=!0)}Wt!==null&&e.update(Wt,34963),(kt||c)&&(c=!1,O(xt,Xt,jt,Gt),Wt!==null&&n.bindBuffer(34963,e.get(Wt).buffer))}function f(){return i.isWebGL2?n.createVertexArray():s.createVertexArrayOES()}function m(xt){return i.isWebGL2?n.bindVertexArray(xt):s.bindVertexArrayOES(xt)}function y(xt){return i.isWebGL2?n.deleteVertexArray(xt):s.deleteVertexArrayOES(xt)}function h(xt,Xt,jt){const Gt=jt.wireframe===!0;let Wt=o[xt.id];Wt===void 0&&(Wt={},o[xt.id]=Wt);let kt=Wt[Xt.id];kt===void 0&&(kt={},Wt[Xt.id]=kt);let Vt=kt[Gt];return Vt===void 0&&(Vt=g(f()),kt[Gt]=Vt),Vt}function g(xt){const Xt=[],jt=[],Gt=[];for(let Wt=0;Wt<r;Wt++)Xt[Wt]=0,jt[Wt]=0,Gt[Wt]=0;return{geometry:null,program:null,wireframe:!1,newAttributes:Xt,enabledAttributes:jt,attributeDivisors:Gt,object:xt,attributes:{},index:null}}function b(xt,Xt,jt,Gt){const Wt=l.attributes,kt=Xt.attributes;let Vt=0;const we=jt.getAttributes();for(const oe in we)if(we[oe].location>=0){const Ue=Wt[oe];let zt=kt[oe];if(zt===void 0&&(oe==="instanceMatrix"&&xt.instanceMatrix&&(zt=xt.instanceMatrix),oe==="instanceColor"&&xt.instanceColor&&(zt=xt.instanceColor)),Ue===void 0||Ue.attribute!==zt||zt&&Ue.data!==zt.data)return!0;Vt++}return l.attributesNum!==Vt||l.index!==Gt}function U(xt,Xt,jt,Gt){const Wt={},kt=Xt.attributes;let Vt=0;const we=jt.getAttributes();for(const oe in we)if(we[oe].location>=0){let Ue=kt[oe];Ue===void 0&&(oe==="instanceMatrix"&&xt.instanceMatrix&&(Ue=xt.instanceMatrix),oe==="instanceColor"&&xt.instanceColor&&(Ue=xt.instanceColor));const zt={};zt.attribute=Ue,Ue&&Ue.data&&(zt.data=Ue.data),Wt[oe]=zt,Vt++}l.attributes=Wt,l.attributesNum=Vt,l.index=Gt}function N(){const xt=l.newAttributes;for(let Xt=0,jt=xt.length;Xt<jt;Xt++)xt[Xt]=0}function L(xt){R(xt,0)}function R(xt,Xt){const jt=l.newAttributes,Gt=l.enabledAttributes,Wt=l.attributeDivisors;jt[xt]=1,Gt[xt]===0&&(n.enableVertexAttribArray(xt),Gt[xt]=1),Wt[xt]!==Xt&&((i.isWebGL2?n:t.get("ANGLE_instanced_arrays"))[i.isWebGL2?"vertexAttribDivisor":"vertexAttribDivisorANGLE"](xt,Xt),Wt[xt]=Xt)}function j(){const xt=l.newAttributes,Xt=l.enabledAttributes;for(let jt=0,Gt=Xt.length;jt<Gt;jt++)Xt[jt]!==xt[jt]&&(n.disableVertexAttribArray(jt),Xt[jt]=0)}function st(xt,Xt,jt,Gt,Wt,kt){i.isWebGL2===!0&&(jt===5124||jt===5125)?n.vertexAttribIPointer(xt,Xt,jt,Wt,kt):n.vertexAttribPointer(xt,Xt,jt,Gt,Wt,kt)}
vendor: 7,643 bytes, line 2949
2949function O(xt,Xt,jt,Gt){if(i.isWebGL2===!1&&(xt.isInstancedMesh||Gt.isInstancedBufferGeometry)&&t.get("ANGLE_instanced_arrays")===null)return;N();const Wt=Gt.attributes,kt=jt.getAttributes(),Vt=Xt.defaultAttributeValues;for(const we in kt){const oe=kt[we];if(oe.location>=0){let Be=Wt[we];if(Be===void 0&&(we==="instanceMatrix"&&xt.instanceMatrix&&(Be=xt.instanceMatrix),we==="instanceColor"&&xt.instanceColor&&(Be=xt.instanceColor)),Be!==void 0){const Ue=Be.normalized,zt=Be.itemSize,Ht=e.get(Be);if(Ht===void 0)continue;const re=Ht.buffer,le=Ht.type,Le=Ht.bytesPerElement;if(Be.isInterleavedBufferAttribute){const xe=Be.data,De=xe.stride,Te=Be.offset;if(xe.isInstancedInterleavedBuffer){for(let it=0;it<oe.locationSize;it++)R(oe.location+it,xe.meshPerAttribute);xt.isInstancedMesh!==!0&&Gt._maxInstanceCount===void 0&&(Gt._maxInstanceCount=xe.meshPerAttribute*xe.count)}else for(let it=0;it<oe.locationSize;it++)L(oe.location+it);n.bindBuffer(34962,re);for(let it=0;it<oe.locationSize;it++)st(oe.location+it,zt/oe.locationSize,le,Ue,De*Le,(Te+zt/oe.locationSize*it)*Le)}else{if(Be.isInstancedBufferAttribute){for(let xe=0;xe<oe.locationSize;xe++)R(oe.location+xe,Be.meshPerAttribute);xt.isInstancedMesh!==!0&&Gt._maxInstanceCount===void 0&&(Gt._maxInstanceCount=Be.meshPerAttribute*Be.count)}else for(let xe=0;xe<oe.locationSize;xe++)L(oe.location+xe);n.bindBuffer(34962,re);for(let xe=0;xe<oe.locationSize;xe++)st(oe.location+xe,zt/oe.locationSize,le,Ue,zt*Le,zt/oe.locationSize*xe*Le)}}else if(Vt!==void 0){const Ue=Vt[we];if(Ue!==void 0)switch(Ue.length){case 2:n.vertexAttrib2fv(oe.location,Ue);break;case 3:n.vertexAttrib3fv(oe.location,Ue);break;case 4:n.vertexAttrib4fv(oe.location,Ue);break;default:n.vertexAttrib1fv(oe.location,Ue)}}}}j()}function V(){Dt();for(const xt in o){const Xt=o[xt];for(const jt in Xt){const Gt=Xt[jt];for(const Wt in Gt)y(Gt[Wt].object),delete Gt[Wt];delete Xt[jt]}delete o[xt]}}function gt(xt){if(o[xt.id]===void 0)return;const Xt=o[xt.id];for(const jt in Xt){const Gt=Xt[jt];for(const Wt in Gt)y(Gt[Wt].object),delete Gt[Wt];delete Xt[jt]}delete o[xt.id]}function Nt(xt){for(const Xt in o){const jt=o[Xt];if(jt[xt.id]===void 0)continue;const Gt=jt[xt.id];for(const Wt in Gt)y(Gt[Wt].object),delete Gt[Wt];delete jt[xt.id]}}function Dt(){Et(),c=!0,l!==a&&(l=a,m(l.object))}function Et(){a.geometry=null,a.program=null,a.wireframe=!1}return{setup:u,reset:Dt,resetDefaultState:Et,dispose:V,releaseStatesOfGeometry:gt,releaseStatesOfProgram:Nt,initAttributes:N,enableAttribute:L,disableUnusedAttributes:j}}function x6(n,t,e,i){const r=i.isWebGL2;let s;function A(l){s=l}function o(l,c){n.drawArrays(s,l,c),e.update(c,s,1)}function a(l,c,u){if(u===0)return;let f,m;if(r)f=n,m="drawArraysInstanced";else if(f=t.get("ANGLE_instanced_arrays"),m="drawArraysInstancedANGLE",f===null){console.error("THREE.WebGLBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");return}f[m](s,l,c,u),e.update(c,s,u)}this.setMode=A,this.render=o,this.renderInstances=a}function b6(n,t,e){let i;function r(){if(i!==void 0)return i;if(t.has("EXT_texture_filter_anisotropic")===!0){const st=t.get("EXT_texture_filter_anisotropic");i=n.getParameter(st.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}else i=0;return i}function s(st){if(st==="highp"){if(n.getShaderPrecisionFormat(35633,36338).precision>0&&n.getShaderPrecisionFormat(35632,36338).precision>0)return"highp";st="mediump"}return st==="mediump"&&n.getShaderPrecisionFormat(35633,36337).precision>0&&n.getShaderPrecisionFormat(35632,36337).precision>0?"mediump":"lowp"}const A=typeof WebGL2RenderingContext<"u"&&n instanceof WebGL2RenderingContext||typeof WebGL2ComputeRenderingContext<"u"&&n instanceof WebGL2ComputeRenderingContext;let o=e.precision!==void 0?e.precision:"highp";const a=s(o);a!==o&&(console.warn("THREE.WebGLRenderer:",o,"not supported, using",a,"instead."),o=a);const l=A||t.has("WEBGL_draw_buffers"),c=e.logarithmicDepthBuffer===!0,u=n.getParameter(34930),f=n.getParameter(35660),m=n.getParameter(3379),y=n.getParameter(34076),h=n.getParameter(34921),g=n.getParameter(36347),b=n.getParameter(36348),U=n.getParameter(36349),N=f>0,L=A||t.has("OES_texture_float"),R=N&&L,j=A?n.getParameter(36183):0;return{isWebGL2:A,drawBuffers:l,getMaxAnisotropy:r,getMaxPrecision:s,precision:o,logarithmicDepthBuffer:c,maxTextures:u,maxVertexTextures:f,maxTextureSize:m,maxCubemapSize:y,maxAttributes:h,maxVertexUniforms:g,maxVaryings:b,maxFragmentUniforms:U,vertexTextures:N,floatFragmentTextures:L,floatVertexTextures:R,maxSamples:j}}function C6(n){const t=this;let e=null,i=0,r=!1,s=!1;const A=new ao,o=new Fr,a={value:null,needsUpdate:!1};this.uniform=a,this.numPlanes=0,this.numIntersection=0,this.init=function(u,f,m){const y=u.length!==0||f||i!==0||r;return r=f,e=c(u,m,0),i=u.length,y},this.beginShadows=function(){s=!0,c(null)},this.endShadows=function(){s=!1,l()},this.setState=function(u,f,m){const y=u.clippingPlanes,h=u.clipIntersection,g=u.clipShadows,b=n.get(u);if(!r||y===null||y.length===0||s&&!g)s?c(null):l();else{const U=s?0:i,N=U*4;let L=b.clippingState||null;a.value=L,L=c(y,f,N,m);for(let R=0;R!==N;++R)L[R]=e[R];b.clippingState=L,this.numIntersection=h?this.numPlanes:0,this.numPlanes+=U}};function l(){a.value!==e&&(a.value=e,a.needsUpdate=i>0),t.numPlanes=i,t.numIntersection=0}function c(u,f,m,y){const h=u!==null?u.length:0;let g=null;if(h!==0){if(g=a.value,y!==!0||g===null){const b=m+h*4,U=f.matrixWorldInverse;o.getNormalMatrix(U),(g===null||g.length<b)&&(g=new Float32Array(b));for(let N=0,L=m;N!==h;++N,L+=4)A.copy(u[N]).applyMatrix4(U,o),A.normal.toArray(g,L),g[L+3]=A.constant}a.value=g,a.needsUpdate=!0}return t.numPlanes=h,t.numIntersection=0,g}}function S6(n){let t=new WeakMap;function e(A,o){return o===yg?A.mapping=tl:o===Bg&&(A.mapping=el),A}function i(A){if(A&&A.isTexture&&A.isRenderTargetTexture===!1){const o=A.mapping;if(o===yg||o===Bg)if(t.has(A)){const a=t.get(A).texture;return e(a,A.mapping)}else{const a=A.image;if(a&&a.height>0){const l=new NU(a.height/2);return l.fromEquirectangularTexture(n,A),t.set(A,l),A.addEventListener("dispose",r),e(l.texture,A.mapping)}else return null}}return A}function r(A){const o=A.target;o.removeEventListener("dispose",r);const a=t.get(o);a!==void 0&&(t.delete(o),a.dispose())}function s(){t=new WeakMap}return{get:i,dispose:s}}class F6 extends yx{constructor(t=-1,e=1,i=1,r=-1,s=.1,A=2e3){super(),this.isOrthographicCamera=!0,this.type="OrthographicCamera",this.zoom=1,this.view=null,this.left=t,this.right=e,this.top=i,this.bottom=r,this.near=s,this.far=A,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=t.view===null?null:Object.assign({},t.view),this}setViewOffset(t,e,i,r,s,A){this.view===null&&(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=i,this.view.offsetY=r,this.view.width=s,this.view.height=A,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const t=(this.right-this.left)/(2*this.zoom),e=(this.top-this.bottom)/(2*this.zoom),i=(this.right+this.left)/2,r=(this.top+this.bottom)/2;let s=i-t,A=i+t,o=r+e,a=r-e;if(this.view!==null&&this.view.enabled){const l=(this.right-this.left)/this.view.fullWidth/this.zoom,c=(this.top-this.bottom)/this.view.fullHeight/this.zoom;s+=l*this.view.offsetX,A=s+l*this.view.width,o-=c*this.view.offsetY,a=o-c*this.view.height}
vendor: 8,608 bytes, lines 2949-3024
2949this.projectionMatrix.makeOrthographic(s,A,o,a,this.near,this.far),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,this.view!==null&&(e.object.view=Object.assign({},this.view)),e}}const Fa=4,t2=[.125,.215,.35,.446,.526,.582],uo=20,ip=new F6,e2=new Rn;let rp=null;const lo=(1+Math.sqrt(5))/2,ha=1/lo,n2=[new ee(1,1,1),new ee(-1,1,1),new ee(1,1,-1),new ee(-1,1,-1),new ee(0,lo,ha),new ee(0,lo,-ha),new ee(ha,0,lo),new ee(-ha,0,lo),new ee(lo,ha,0),new ee(-lo,ha,0)];class i2{constructor(t){this._renderer=t,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._lodPlanes=[],this._sizeLods=[],this._sigmas=[],this._blurMaterial=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._compileMaterial(this._blurMaterial)}fromScene(t,e=0,i=.1,r=100){rp=this._renderer.getRenderTarget(),this._setSize(256);const s=this._allocateTargets();return s.depthBuffer=!0,this._sceneToCubeUV(t,i,r,s),e>0&&this._blur(s,0,0,e),this._applyPMREM(s),this._cleanup(s),s}fromEquirectangular(t,e=null){return this._fromTexture(t,e)}fromCubemap(t,e=null){return this._fromTexture(t,e)}compileCubemapShader(){this._cubemapMaterial===null&&(this._cubemapMaterial=A2(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){this._equirectMaterial===null&&(this._equirectMaterial=s2(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),this._cubemapMaterial!==null&&this._cubemapMaterial.dispose(),this._equirectMaterial!==null&&this._equirectMaterial.dispose()}_setSize(t){this._lodMax=Math.floor(Math.log2(t)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){this._blurMaterial!==null&&this._blurMaterial.dispose(),this._pingPongRenderTarget!==null&&this._pingPongRenderTarget.dispose();for(let t=0;t<this._lodPlanes.length;t++)this._lodPlanes[t].dispose()}_cleanup(t){this._renderer.setRenderTarget(rp),t.scissorTest=!1,Cu(t,0,0,t.width,t.height)}_fromTexture(t,e){t.mapping===tl||t.mapping===el?this._setSize(t.image.length===0?16:t.image[0].width||t.image[0].image.width):this._setSize(t.image.width/4),rp=this._renderer.getRenderTarget();const i=e||this._allocateTargets();return this._textureToCubeUV(t,i),this._applyPMREM(i),this._cleanup(i),i}_allocateTargets(){const t=3*Math.max(this._cubeSize,112),e=4*this._cubeSize,i={magFilter:Br,minFilter:Br,generateMipmaps:!1,type:bc,format:ls,encoding:Lo,depthBuffer:!1},r=r2(t,e,i);if(this._pingPongRenderTarget===null||this._pingPongRenderTarget.width!==t){this._pingPongRenderTarget!==null&&this._dispose(),this._pingPongRenderTarget=r2(t,e,i);const{_lodMax:s}=this;({sizeLods:this._sizeLods,lodPlanes:this._lodPlanes,sigmas:this._sigmas}=E6(s)),this._blurMaterial=M6(s,t,e)}return r}_compileMaterial(t){const e=new SA(this._lodPlanes[0],t);this._renderer.compile(e,ip)}_sceneToCubeUV(t,e,i,r){const o=new _r(90,1,e,i),a=[1,-1,1,1,1,1],l=[1,1,1,-1,-1,-1],c=this._renderer,u=c.autoClear,f=c.toneMapping;c.getClearColor(e2),c.toneMapping=Ns,c.autoClear=!1;const m=new mx({name:"PMREM.Background",side:Ur,depthWrite:!1,depthTest:!1}),y=new SA(new Nc,m);let h=!1;const g=t.background;g?g.isColor&&(m.color.copy(g),t.background=null,h=!0):(m.color.copy(e2),h=!0);for(let b=0;b<6;b++){const U=b%3;U===0?(o.up.set(0,a[b],0),o.lookAt(l[b],0,0)):U===1?(o.up.set(0,0,a[b]),o.lookAt(0,l[b],0)):(o.up.set(0,a[b],0),o.lookAt(0,0,l[b]));const N=this._cubeSize;Cu(r,U*N,b>2?N:0,N,N),c.setRenderTarget(r),h&&c.render(y,o),c.render(t,o)}y.geometry.dispose(),y.material.dispose(),c.toneMapping=f,c.autoClear=u,t.background=g}_textureToCubeUV(t,e){const i=this._renderer,r=t.mapping===tl||t.mapping===el;r?(this._cubemapMaterial===null&&(this._cubemapMaterial=A2()),this._cubemapMaterial.uniforms.flipEnvMap.value=t.isRenderTargetTexture===!1?-1:1):this._equirectMaterial===null&&(this._equirectMaterial=s2());const s=r?this._cubemapMaterial:this._equirectMaterial,A=new SA(this._lodPlanes[0],s),o=s.uniforms;o.envMap.value=t;const a=this._cubeSize;Cu(e,0,0,3*a,2*a),i.setRenderTarget(e),i.render(A,ip)}_applyPMREM(t){const e=this._renderer,i=e.autoClear;e.autoClear=!1;for(let r=1;r<this._lodPlanes.length;r++){const s=Math.sqrt(this._sigmas[r]*this._sigmas[r]-this._sigmas[r-1]*this._sigmas[r-1]),A=n2[(r-1)%n2.length];this._blur(t,r-1,r,s,A)}e.autoClear=i}_blur(t,e,i,r,s){const A=this._pingPongRenderTarget;this._halfBlur(t,A,e,i,r,"latitudinal",s),this._halfBlur(A,t,i,i,r,"longitudinal",s)}_halfBlur(t,e,i,r,s,A,o){const a=this._renderer,l=this._blurMaterial;A!=="latitudinal"&&A!=="longitudinal"&&console.error("blur direction must be either latitudinal or longitudinal!");const c=3,u=new SA(this._lodPlanes[r],l),f=l.uniforms,m=this._sizeLods[i]-1,y=isFinite(s)?Math.PI/(2*m):2*Math.PI/(2*uo-1),h=s/y,g=isFinite(s)?1+Math.floor(c*h):uo;g>uo&&console.warn(`sigmaRadians, ${s}, is too large and will clip, as it requested ${g} samples when the maximum is set to ${uo}`);const b=[];let U=0;for(let st=0;st<uo;++st){const O=st/h,V=Math.exp(-O*O/2);b.push(V),st===0?U+=V:st<g&&(U+=2*V)}for(let st=0;st<b.length;st++)b[st]=b[st]/U;f.envMap.value=t.texture,f.samples.value=g,f.weights.value=b,f.latitudinal.value=A==="latitudinal",o&&(f.poleAxis.value=o);const{_lodMax:N}=this;f.dTheta.value=y,f.mipInt.value=N-i;const L=this._sizeLods[r],R=3*L*(r>N-Fa?r-N+Fa:0),j=4*(this._cubeSize-L);Cu(e,R,j,3*L,2*L),a.setRenderTarget(e),a.render(u,ip)}}function E6(n){const t=[],e=[],i=[];let r=n;const s=n-Fa+1+t2.length;for(let A=0;A<s;A++){const o=Math.pow(2,r);e.push(o);let a=1/o;A>n-Fa?a=t2[A-n+Fa-1]:A===0&&(a=0),i.push(a);const l=1/(o-2),c=-l,u=1+l,f=[c,c,u,c,u,u,c,c,u,u,c,u],m=6,y=6,h=3,g=2,b=1,U=new Float32Array(h*y*m),N=new Float32Array(g*y*m),L=new Float32Array(b*y*m);for(let j=0;j<m;j++){const st=j%3*2/3-1,O=j>2?0:-1,V=[st,O,0,st+2/3,O,0,st+2/3,O+1,0,st,O,0,st+2/3,O+1,0,st,O+1,0];U.set(V,h*y*j),N.set(f,g*y*j);const gt=[j,j,j,j,j,j];L.set(gt,b*y*j)}const R=new Go;R.setAttribute("position",new ds(U,h)),R.setAttribute("uv",new ds(N,g)),R.setAttribute("faceIndex",new ds(L,b)),t.push(R),r>Fa&&r--}return{lodPlanes:t,sizeLods:e,sigmas:i}}function r2(n,t,e){const i=new Po(n,t,e);return i.texture.mapping=Fh,i.texture.name="PMREM.cubeUv",i.scissorTest=!0,i}function Cu(n,t,e,i,r){n.viewport.set(t,e,i,r),n.scissor.set(t,e,i,r)}function M6(n,t,e){const i=new Float32Array(uo),r=new ee(0,1,0);return new Ro({name:"SphericalGaussianBlur",defines:{n:uo,CUBEUV_TEXEL_WIDTH:1/t,CUBEUV_TEXEL_HEIGHT:1/e,CUBEUV_MAX_MIP:`${n}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:i},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:r}},vertexShader:c0(),fragmentShader:` 2950 2951 precision mediump float; 2952 precision mediump int; 2953 2954 varying vec3 vOutputDirection; 2955 2956 uniform sampler2D envMap; 2957 uniform int samples; 2958 uniform float weights[ n ]; 2959 uniform bool latitudinal; 2960 uniform float dTheta; 2961 uniform float mipInt; 2962 uniform vec3 poleAxis; 2963 2964 #define ENVMAP_TYPE_CUBE_UV 2965 #include <cube_uv_reflection_fragment> 2966 2967 vec3 getSample( float theta, vec3 axis ) { 2968 2969 float cosTheta = cos( theta ); 2970 // Rodrigues' axis-angle rotation 2971 vec3 sampleDirection = vOutputDirection * cosTheta 2972 + cross( axis, vOutputDirection ) * sin( theta ) 2973 + axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta ); 2974 2975 return bilinearCubeUV( envMap, sampleDirection, mipInt ); 2976 2977 } 2978 2979 void main() { 2980 2981 vec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection ); 2982 2983 if ( all( equal( axis, vec3( 0.0 ) ) ) ) { 2984 2985 axis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x ); 2986 2987 } 2988 2989 axis = normalize( axis ); 2990 2991 gl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 ); 2992 gl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis ); 2993 2994 for ( int i = 1; i < n; i++ ) { 2995 2996 if ( i >= samples ) { 2997 2998 break; 2999 3000 } 3001 3002 float theta = dTheta * float( i ); 3003 gl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis ); 3004 gl_FragColor.rgb += weights[ i ] * getSample( theta, axis ); 3005 3006 } 3007 3008 } 3009 `,blending:LA,depthTest:!1,depthWrite:!1})}function s2(){return new Ro({name:"EquirectangularToCubeUV",uniforms:{envMap:{value:null}},vertexShader:c0(),fragmentShader:` 3010 3011 precision mediump float; 3012 precision mediump int; 3013 3014 varying vec3 vOutputDirection; 3015 3016 uniform sampler2D envMap; 3017 3018 #include <common> 3019 3020 void main() { 3021 3022 vec3 outputDirection = normalize( vOutputDirection ); 3023 vec2 uv = equirectUv( outputDirection ); 3024
3025 gl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 ); 3026 3027 } 3028 `,blending:LA,depthTest:!1,depthWrite:!1})}function A2(){return new Ro({name:"CubemapToCubeUV",uniforms:{envMap:{value:null},flipEnvMap:{value:-1}},vertexShader:c0(),fragmentShader:` 3029 3030 precision mediump float; 3031 precision mediump int; 3032 3033 uniform float flipEnvMap; 3034 3035 varying vec3 vOutputDirection; 3036 3037 uniform samplerCube envMap; 3038 3039 void main() { 3040 3041 gl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) ); 3042 3043 } 3044 `,blending:LA,depthTest:!1,depthWrite:!1})}function c0(){return` 3045 3046 precision mediump float; 3047 precision mediump int; 3048 3049 attribute float faceIndex; 3050 3051 varying vec3 vOutputDirection; 3052 3053 // RH coordinate system; PMREM face-indexing convention 3054 vec3 getDirection( vec2 uv, float face ) { 3055 3056 uv = 2.0 * uv - 1.0; 3057 3058 vec3 direction = vec3( uv, 1.0 ); 3059 3060 if ( face == 0.0 ) { 3061 3062 direction = direction.zyx; // ( 1, v, u ) pos x 3063 3064 } else if ( face == 1.0 ) { 3065 3066 direction = direction.xzy; 3067 direction.xz *= -1.0; // ( -u, 1, -v ) pos y 3068 3069 } else if ( face == 2.0 ) { 3070 3071 direction.x *= -1.0; // ( -u, v, 1 ) pos z 3072 3073 } else if ( face == 3.0 ) { 3074 3075 direction = direction.zyx; 3076 direction.xz *= -1.0; // ( -1, v, -u ) neg x 3077 3078 } else if ( face == 4.0 ) { 3079 3080 direction = direction.xzy; 3081 direction.xy *= -1.0; // ( -u, -1, v ) neg y 3082 3083 } else if ( face == 5.0 ) { 3084 3085 direction.z *= -1.0; // ( u, v, -1 ) neg z 3086 3087 } 3088 3089 return direction; 3090 3091 } 3092 3093 void main() { 3094 3095 vOutputDirection = getDirection( uv, faceIndex ); 3096 gl_Position = vec4( position, 1.0 ); 3097 3098 } 3099 `}function U6(n){let t=new WeakMap,e=null;function i(o){if(o&&o.isTexture){const a=o.mapping,l=a===yg||a===Bg,c=a===tl||a===el;if(l||c)if(o.isRenderTargetTexture&&o.needsPMREMUpdate===!0){o.needsPMREMUpdate=!1;let u=t.get(o);return e===null&&(e=new i2(n)),u=l?e.fromEquirectangular(o,u):e.fromCubemap(o,u),t.set(o,u),u.texture}else{if(t.has(o))return t.get(o).texture;{const u=o.image;if(l&&u&&u.height>0||c&&u&&r(u)){e===null&&(e=new i2(n));const f=l?e.fromEquirectangular(o):e.fromCubemap(o);return t.set(o,f),o.addEventListener("dispose",s),f.texture}else return null}}}return o}function r(o){let a=0;const l=6;for(let c=0;c<l;c++)o[c]!==void 0&&a++;return a===l}function s(o){const a=o.target;a.removeEventListener("dispose",s);const l=t.get(a);l!==void 0&&(t.delete(a),l.dispose())}function A(){t=new WeakMap,e!==null&&(e.dispose(),e=null)}return{get:i,dispose:A}}function T6(n){const t={};function e(i){if(t[i]!==void 0)return t[i];let r;switch(i){case"WEBGL_depth_texture":r=n.getExtension("WEBGL_depth_texture")||n.getExtension("MOZ_WEBGL_depth_texture")||n.getExtension("WEBKIT_WEBGL_depth_texture");break;case"EXT_texture_filter_anisotropic":r=n.getExtension("EXT_texture_filter_anisotropic")||n.getExtension("MOZ_EXT_texture_filter_anisotropic")||n.getExtension("WEBKIT_EXT_texture_filter_anisotropic");break;case"WEBGL_compressed_texture_s3tc":r=n.getExtension("WEBGL_compressed_texture_s3tc")||n.getExtension("MOZ_WEBGL_compressed_texture_s3tc")||n.getExtension("WEBKIT_WEBGL_compressed_texture_s3tc");break;case"WEBGL_compressed_texture_pvrtc":r=n.getExtension("WEBGL_compressed_texture_pvrtc")||n.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc");break;default:r=n.getExtension(i)}return t[i]=r,r}return{has:function(i){return e(i)!==null},init:function(i){i.isWebGL2?e("EXT_color_buffer_float"):(e("WEBGL_depth_texture"),e("OES_texture_float"),e("OES_texture_half_float"),e("OES_texture_half_float_linear"),e("OES_standard_derivatives"),e("OES_element_index_uint"),e("OES_vertex_array_object"),e("ANGLE_instanced_arrays")),e("OES_texture_float_linear"),e("EXT_color_buffer_half_float"),e("WEBGL_multisampled_render_to_texture")},get:function(i){const r=e(i);return r===null&&console.warn("THREE.WebGLRenderer: "+i+" extension not supported."),r}}}function I6(n,t,e,i){const r={},s=new WeakMap;function A(u){const f=u.target;f.index!==null&&t.remove(f.index);for(const y in f.attributes)t.remove(f.attributes[y]);f.removeEventListener("dispose",A),delete r[f.id];const m=s.get(f);m&&(t.remove(m),s.delete(f)),i.releaseStatesOfGeometry(f),f.isInstancedBufferGeometry===!0&&delete f._maxInstanceCount,e.memory.geometries--}function o(u,f){return r[f.id]===!0||(f.addEventListener("dispose",A),r[f.id]=!0,e.memory.geometries++),f}function a(u){const f=u.attributes;for(const y in f)t.update(f[y],34962);const m=u.morphAttributes;for(const y in m){const h=m[y];for(let g=0,b=h.length;g<b;g++)t.update(h[g],34962)}}function l(u){const f=[],m=u.index,y=u.attributes.position;let h=0;if(m!==null){const U=m.array;h=m.version;for(let N=0,L=U.length;N<L;N+=3){const R=U[N+0],j=U[N+1],st=U[N+2];f.push(R,j,j,st,st,R)}}else{const U=y.array;h=y.version;for(let N=0,L=U.length/3-1;N<L;N+=3){const R=N+0,j=N+1,st=N+2;f.push(R,j,j,st,st,R)}}const g=new(ux(f)?vx:wx)(f,1);g.version=h;const b=s.get(u);b&&t.remove(b),s.set(u,g)}function c(u){const f=s.get(u);if(f){const m=u.index;m!==null&&f.version<m.version&&l(u)}else l(u);return s.get(u)}return{get:o,update:a,getWireframeAttribute:c}}
vendor: 10,936 bytes, line 3099
3099function Q6(n,t,e,i){const r=i.isWebGL2;let s;function A(f){s=f}let o,a;function l(f){o=f.type,a=f.bytesPerElement}function c(f,m){n.drawElements(s,m,o,f*a),e.update(m,s,1)}function u(f,m,y){if(y===0)return;let h,g;if(r)h=n,g="drawElementsInstanced";else if(h=t.get("ANGLE_instanced_arrays"),g="drawElementsInstancedANGLE",h===null){console.error("THREE.WebGLIndexedBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");return}h[g](s,m,o,f*a,y),e.update(m,s,y)}this.setMode=A,this.setIndex=l,this.render=c,this.renderInstances=u}function L6(n){const t={geometries:0,textures:0},e={frame:0,calls:0,triangles:0,points:0,lines:0};function i(s,A,o){switch(e.calls++,A){case 4:e.triangles+=o*(s/3);break;case 1:e.lines+=o*(s/2);break;case 3:e.lines+=o*(s-1);break;case 2:e.lines+=o*s;break;case 0:e.points+=o*s;break;default:console.error("THREE.WebGLInfo: Unknown draw mode:",A);break}}function r(){e.frame++,e.calls=0,e.triangles=0,e.points=0,e.lines=0}return{memory:t,render:e,programs:null,autoReset:!0,reset:r,update:i}}function P6(n,t){return n[0]-t[0]}function D6(n,t){return Math.abs(t[1])-Math.abs(n[1])}function R6(n,t,e){const i={},r=new Float32Array(8),s=new WeakMap,A=new pi,o=[];for(let l=0;l<8;l++)o[l]=[l,0];function a(l,c,u,f){const m=l.morphTargetInfluences;if(t.isWebGL2===!0){const y=c.morphAttributes.position||c.morphAttributes.normal||c.morphAttributes.color,h=y!==void 0?y.length:0;let g=s.get(c);if(g===void 0||g.count!==h){let Xt=function(){Et.dispose(),s.delete(c),c.removeEventListener("dispose",Xt)};g!==void 0&&g.texture.dispose();const N=c.morphAttributes.position!==void 0,L=c.morphAttributes.normal!==void 0,R=c.morphAttributes.color!==void 0,j=c.morphAttributes.position||[],st=c.morphAttributes.normal||[],O=c.morphAttributes.color||[];let V=0;N===!0&&(V=1),L===!0&&(V=2),R===!0&&(V=3);let gt=c.attributes.position.count*V,Nt=1;gt>t.maxTextureSize&&(Nt=Math.ceil(gt/t.maxTextureSize),gt=t.maxTextureSize);const Dt=new Float32Array(gt*Nt*4*h),Et=new px(Dt,gt,Nt,h);Et.type=go,Et.needsUpdate=!0;const xt=V*4;for(let jt=0;jt<h;jt++){const Gt=j[jt],Wt=st[jt],kt=O[jt],Vt=gt*Nt*4*jt;for(let we=0;we<Gt.count;we++){const oe=we*xt;N===!0&&(A.fromBufferAttribute(Gt,we),Dt[Vt+oe+0]=A.x,Dt[Vt+oe+1]=A.y,Dt[Vt+oe+2]=A.z,Dt[Vt+oe+3]=0),L===!0&&(A.fromBufferAttribute(Wt,we),Dt[Vt+oe+4]=A.x,Dt[Vt+oe+5]=A.y,Dt[Vt+oe+6]=A.z,Dt[Vt+oe+7]=0),R===!0&&(A.fromBufferAttribute(kt,we),Dt[Vt+oe+8]=A.x,Dt[Vt+oe+9]=A.y,Dt[Vt+oe+10]=A.z,Dt[Vt+oe+11]=kt.itemSize===4?A.w:1)}}g={count:h,texture:Et,size:new fn(gt,Nt)},s.set(c,g),c.addEventListener("dispose",Xt)}let b=0;for(let N=0;N<m.length;N++)b+=m[N];const U=c.morphTargetsRelative?1:1-b;f.getUniforms().setValue(n,"morphTargetBaseInfluence",U),f.getUniforms().setValue(n,"morphTargetInfluences",m),f.getUniforms().setValue(n,"morphTargetsTexture",g.texture,e),f.getUniforms().setValue(n,"morphTargetsTextureSize",g.size)}else{const y=m===void 0?0:m.length;let h=i[c.id];if(h===void 0||h.length!==y){h=[];for(let L=0;L<y;L++)h[L]=[L,0];i[c.id]=h}for(let L=0;L<y;L++){const R=h[L];R[0]=L,R[1]=m[L]}h.sort(D6);for(let L=0;L<8;L++)L<y&&h[L][1]?(o[L][0]=h[L][0],o[L][1]=h[L][1]):(o[L][0]=Number.MAX_SAFE_INTEGER,o[L][1]=0);o.sort(P6);const g=c.morphAttributes.position,b=c.morphAttributes.normal;let U=0;for(let L=0;L<8;L++){const R=o[L],j=R[0],st=R[1];j!==Number.MAX_SAFE_INTEGER&&st?(g&&c.getAttribute("morphTarget"+L)!==g[j]&&c.setAttribute("morphTarget"+L,g[j]),b&&c.getAttribute("morphNormal"+L)!==b[j]&&c.setAttribute("morphNormal"+L,b[j]),r[L]=st,U+=st):(g&&c.hasAttribute("morphTarget"+L)===!0&&c.deleteAttribute("morphTarget"+L),b&&c.hasAttribute("morphNormal"+L)===!0&&c.deleteAttribute("morphNormal"+L),r[L]=0)}const N=c.morphTargetsRelative?1:1-U;f.getUniforms().setValue(n,"morphTargetBaseInfluence",N),f.getUniforms().setValue(n,"morphTargetInfluences",r)}}return{update:a}}function O6(n,t,e,i){let r=new WeakMap;function s(a){const l=i.render.frame,c=a.geometry,u=t.get(a,c);return r.get(u)!==l&&(t.update(u),r.set(u,l)),a.isInstancedMesh&&(a.hasEventListener("dispose",o)===!1&&a.addEventListener("dispose",o),e.update(a.instanceMatrix,34962),a.instanceColor!==null&&e.update(a.instanceColor,34962)),u}function A(){r=new WeakMap}function o(a){const l=a.target;l.removeEventListener("dispose",o),e.remove(l.instanceMatrix),l.instanceColor!==null&&e.remove(l.instanceColor)}return{update:s,dispose:A}}const bx=new Zr,Cx=new px,Sx=new bU,Fx=new Bx,o2=[],a2=[],l2=new Float32Array(16),c2=new Float32Array(9),u2=new Float32Array(4);function ll(n,t,e){const i=n[0];if(i<=0||i>0)return n;const r=t*e;let s=o2[r];if(s===void 0&&(s=new Float32Array(r),o2[r]=s),t!==0){i.toArray(s,0);for(let A=1,o=0;A!==t;++A)o+=e,n[A].toArray(s,o)}return s}function oi(n,t){if(n.length!==t.length)return!1;for(let e=0,i=n.length;e<i;e++)if(n[e]!==t[e])return!1;return!0}function ai(n,t){for(let e=0,i=t.length;e<i;e++)n[e]=t[e]}function Uh(n,t){let e=a2[t];e===void 0&&(e=new Int32Array(t),a2[t]=e);for(let i=0;i!==t;++i)e[i]=n.allocateTextureUnit();return e}function H6(n,t){const e=this.cache;e[0]!==t&&(n.uniform1f(this.addr,t),e[0]=t)}function k6(n,t){const e=this.cache;if(t.x!==void 0)(e[0]!==t.x||e[1]!==t.y)&&(n.uniform2f(this.addr,t.x,t.y),e[0]=t.x,e[1]=t.y);else{if(oi(e,t))return;n.uniform2fv(this.addr,t),ai(e,t)}}function N6(n,t){const e=this.cache;if(t.x!==void 0)(e[0]!==t.x||e[1]!==t.y||e[2]!==t.z)&&(n.uniform3f(this.addr,t.x,t.y,t.z),e[0]=t.x,e[1]=t.y,e[2]=t.z);else if(t.r!==void 0)(e[0]!==t.r||e[1]!==t.g||e[2]!==t.b)&&(n.uniform3f(this.addr,t.r,t.g,t.b),e[0]=t.r,e[1]=t.g,e[2]=t.b);else{if(oi(e,t))return;n.uniform3fv(this.addr,t),ai(e,t)}}function z6(n,t){const e=this.cache;if(t.x!==void 0)(e[0]!==t.x||e[1]!==t.y||e[2]!==t.z||e[3]!==t.w)&&(n.uniform4f(this.addr,t.x,t.y,t.z,t.w),e[0]=t.x,e[1]=t.y,e[2]=t.z,e[3]=t.w);else{if(oi(e,t))return;n.uniform4fv(this.addr,t),ai(e,t)}}function V6(n,t){const e=this.cache,i=t.elements;if(i===void 0){if(oi(e,t))return;n.uniformMatrix2fv(this.addr,!1,t),ai(e,t)}else{if(oi(e,i))return;u2.set(i),n.uniformMatrix2fv(this.addr,!1,u2),ai(e,i)}}function G6(n,t){const e=this.cache,i=t.elements;if(i===void 0){if(oi(e,t))return;n.uniformMatrix3fv(this.addr,!1,t),ai(e,t)}else{if(oi(e,i))return;c2.set(i),n.uniformMatrix3fv(this.addr,!1,c2),ai(e,i)}}function K6(n,t){const e=this.cache,i=t.elements;if(i===void 0){if(oi(e,t))return;n.uniformMatrix4fv(this.addr,!1,t),ai(e,t)}else{if(oi(e,i))return;l2.set(i),n.uniformMatrix4fv(this.addr,!1,l2),ai(e,i)}}function W6(n,t){const e=this.cache;e[0]!==t&&(n.uniform1i(this.addr,t),e[0]=t)}function q6(n,t){const e=this.cache;oi(e,t)||(n.uniform2iv(this.addr,t),ai(e,t))}function j6(n,t){const e=this.cache;oi(e,t)||(n.uniform3iv(this.addr,t),ai(e,t))}function X6(n,t){const e=this.cache;oi(e,t)||(n.uniform4iv(this.addr,t),ai(e,t))}function Y6(n,t){const e=this.cache;e[0]!==t&&(n.uniform1ui(this.addr,t),e[0]=t)}function J6(n,t){const e=this.cache;oi(e,t)||(n.uniform2uiv(this.addr,t),ai(e,t))}function Z6(n,t){const e=this.cache;oi(e,t)||(n.uniform3uiv(this.addr,t),ai(e,t))}function $6(n,t){const e=this.cache;oi(e,t)||(n.uniform4uiv(this.addr,t),ai(e,t))}function tQ(n,t,e){const i=this.cache,r=e.allocateTextureUnit();i[0]!==r&&(n.uniform1i(this.addr,r),i[0]=r),e.setTexture2D(t||bx,r)}function eQ(n,t,e){const i=this.cache,r=e.allocateTextureUnit();i[0]!==r&&(n.uniform1i(this.addr,r),i[0]=r),e.setTexture3D(t||Sx,r)}function nQ(n,t,e){const i=this.cache,r=e.allocateTextureUnit();i[0]!==r&&(n.uniform1i(this.addr,r),i[0]=r),e.setTextureCube(t||Fx,r)}function iQ(n,t,e){const i=this.cache,r=e.allocateTextureUnit();i[0]!==r&&(n.uniform1i(this.addr,r),i[0]=r),e.setTexture2DArray(t||Cx,r)}function rQ(n){switch(n){case 5126:return H6;case 35664:return k6;case 35665:return N6;case 35666:return z6;case 35674:return V6;case 35675:return G6;case 35676:return K6;case 5124:case 35670:return W6;case 35667:case 35671:return q6;case 35668:case 35672:return j6;case 35669:case 35673:return X6;case 5125:return Y6;case 36294:return J6;case 36295:return Z6;case 36296:return $6;case 35678:case 36198:case 36298:case 36306:case 35682:return tQ;case 35679:case 36299:case 36307:return eQ;case 35680:case 36300:case 36308:case 36293:return nQ;case 36289:case 36303:case 36311:case 36292:return iQ}}function sQ(n,t){n.uniform1fv(this.addr,t)}function AQ(n,t){const e=ll(t,this.size,2);n.uniform2fv(this.addr,e)}function oQ(n,t){const e=ll(t,this.size,3);n.uniform3fv(this.addr,e)}function aQ(n,t){const e=ll(t,this.size,4);n.uniform4fv(this.addr,e)}function lQ(n,t){const e=ll(t,this.size,4);n.uniformMatrix2fv(this.addr,!1,e)}function cQ(n,t){const e=ll(t,this.size,9);n.uniformMatrix3fv(this.addr,!1,e)}function uQ(n,t){const e=ll(t,this.size,16);n.uniformMatrix4fv(this.addr,!1,e)}function fQ(n,t){n.uniform1iv(this.addr,t)}function hQ(n,t){n.uniform2iv(this.addr,t)}function dQ(n,t){n.uniform3iv(this.addr,t)}function pQ(n,t){n.uniform4iv(this.addr,t)}function gQ(n,t){n.uniform1uiv(this.addr,t)}function mQ(n,t){n.uniform2uiv(this.addr,t)}function wQ(n,t){n.uniform3uiv(this.addr,t)}function vQ(n,t){n.uniform4uiv(this.addr,t)}function yQ(n,t,e){const i=this.cache,r=t.length,s=Uh(e,r);oi(i,s)||(n.uniform1iv(this.addr,s),ai(i,s));for(let A=0;A!==r;++A)e.setTexture2D(t[A]||bx,s[A])}function BQ(n,t,e){const i=this.cache,r=t.length,s=Uh(e,r);oi(i,s)||(n.uniform1iv(this.addr,s),ai(i,s));for(let A=0;A!==r;++A)e.setTexture3D(t[A]||Sx,s[A])}function _Q(n,t,e){const i=this.cache,r=t.length,s=Uh(e,r);oi(i,s)||(n.uniform1iv(this.addr,s),ai(i,s));for(let A=0;A!==r;++A)e.setTextureCube(t[A]||Fx,s[A])}function xQ(n,t,e){const i=this.cache,r=t.length,s=Uh(e,r);oi(i,s)||(n.uniform1iv(this.addr,s),ai(i,s));for(let A=0;A!==r;++A)e.setTexture2DArray(t[A]||Cx,s[A])}function bQ(n){switch(n){case 5126:return sQ;case 35664:return AQ;case 35665:return oQ;case 35666:return aQ;case 35674:return lQ;case 35675:return cQ;case 35676:return uQ;case 5124:case 35670:return fQ;case 35667:case 35671:return hQ;case 35668:case 35672:return dQ;case 35669:case 35673:return pQ;case 5125:return gQ;case 36294:return mQ;case 36295:return wQ;case 36296:return vQ;case 35678:case 36198:case 36298:case 36306:case 35682:return yQ;case 35679:case 36299:case 36307:return BQ;case 35680:case 36300:case 36308:case 36293:return _Q;case 36289:case 36303:case 36311:case 36292:return xQ}}class CQ{constructor(t,e,i){this.id=t,this.addr=i,this.cache=[],this.setValue=rQ(e.type)}}class SQ{constructor(t,e,i){this.id=t,this.addr=i,this.cache=[],this.size=e.size,this.setValue=bQ(e.type)}}class FQ{constructor(t){this.id=t,this.seq=[],this.map={}}setValue(t,e,i){const r=this.seq;for(let s=0,A=r.length;s!==A;++s){const o=r[s];o.setValue(t,e[o.id],i)}}}const sp=/(\w+)(\])?(\[|\.)?/g;function f2(n,t){n.seq.push(t),n.map[t.id]=t}function EQ(n,t,e){const i=n.name,r=i.length;for(sp.lastIndex=0;;){const s=sp.exec(i),A=sp.lastIndex;let o=s[1];const a=s[2]==="]",l=s[3];
3099if(a&&(o=o|0),l===void 0||l==="["&&A+2===r){f2(e,l===void 0?new CQ(o,n,t):new SQ(o,n,t));break}else{let u=e.map[o];u===void 0&&(u=new FQ(o),f2(e,u)),e=u}}}class cf{constructor(t,e){this.seq=[],this.map={};const i=t.getProgramParameter(e,35718);for(let r=0;r<i;++r){const s=t.getActiveUniform(e,r),A=t.getUniformLocation(e,s.name);EQ(s,A,this)}}setValue(t,e,i,r){const s=this.map[e];s!==void 0&&s.setValue(t,i,r)}setOptional(t,e,i){const r=e[i];r!==void 0&&this.setValue(t,i,r)}static upload(t,e,i,r){for(let s=0,A=e.length;s!==A;++s){const o=e[s],a=i[o.id];a.needsUpdate!==!1&&o.setValue(t,a.value,r)}}static seqWithValue(t,e){const i=[];for(let r=0,s=t.length;r!==s;++r){const A=t[r];A.id in e&&i.push(A)}return i}}function h2(n,t,e){const i=n.createShader(t);return n.shaderSource(i,e),n.compileShader(i),i}let MQ=0;function UQ(n,t){const e=n.split(` 3100`),i=[],r=Math.max(t-6,0),s=Math.min(t+6,e.length);for(let A=r;A<s;A++){const o=A+1;i.push(`${o===t?">":" "} ${o}: ${e[A]}`)}return i.join(` 3101`)}function TQ(n){switch(n){case Lo:return["Linear","( value )"];case kn:return["sRGB","( value )"];default:return console.warn("THREE.WebGLProgram: Unsupported encoding:",n),["Linear","( value )"]}}function d2(n,t,e){const i=n.getShaderParameter(t,35713),r=n.getShaderInfoLog(t).trim();if(i&&r==="")return"";const s=/ERROR: 0:(\d+)/.exec(r);if(s){const A=parseInt(s[1]);return e.toUpperCase()+` 3102 3103`+r+` 3104 3105`+UQ(n.getShaderSource(t),A)}else return r}function IQ(n,t){const e=TQ(t);return"vec4 "+n+"( vec4 value ) { return LinearTo"+e[0]+e[1]+"; }"}function QQ(n,t){let e;switch(t){case YM:e="Linear";break;case JM:e="Reinhard";break;case ZM:e="OptimizedCineon";break;case $M:e="ACESFilmic";break;case tU:e="Custom";break;default:console.warn("THREE.WebGLProgram: Unsupported toneMapping:",t),e="Linear"}return"vec3 "+n+"( vec3 color ) { return "+e+"ToneMapping( color ); }"}function LQ(n){return[n.extensionDerivatives||!!n.envMapCubeUVHeight||n.bumpMap||n.tangentSpaceNormalMap||n.clearcoatNormalMap||n.flatShading||n.shaderID==="physical"?"#extension GL_OES_standard_derivatives : enable":"",(n.extensionFragDepth||n.logarithmicDepthBuffer)&&n.rendererExtensionFragDepth?"#extension GL_EXT_frag_depth : enable":"",n.extensionDrawBuffers&&n.rendererExtensionDrawBuffers?"#extension GL_EXT_draw_buffers : require":"",(n.extensionShaderTextureLOD||n.envMap||n.transmission)&&n.rendererExtensionShaderTextureLod?"#extension GL_EXT_shader_texture_lod : enable":""].filter(Ql).join(` 3106`)}function PQ(n){const t=[];for(const e in n){const i=n[e];i!==!1&&t.push("#define "+e+" "+i)}return t.join(` 3107`)}function DQ(n,t){const e={},i=n.getProgramParameter(t,35721);for(let r=0;r<i;r++){const s=n.getActiveAttrib(t,r),A=s.name;let o=1;s.type===35674&&(o=2),s.type===35675&&(o=3),s.type===35676&&(o=4),e[A]={type:s.type,location:n.getAttribLocation(t,A),locationSize:o}}return e}function Ql(n){return n!==""}function p2(n,t){const e=t.numSpotLightShadows+t.numSpotLightMaps-t.numSpotLightShadowsWithMaps;return n.replace(/NUM_DIR_LIGHTS/g,t.numDirLights).replace(/NUM_SPOT_LIGHTS/g,t.numSpotLights).replace(/NUM_SPOT_LIGHT_MAPS/g,t.numSpotLightMaps).replace(/NUM_SPOT_LIGHT_COORDS/g,e).replace(/NUM_RECT_AREA_LIGHTS/g,t.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,t.numPointLights).replace(/NUM_HEMI_LIGHTS/g,t.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,t.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS/g,t.numSpotLightShadowsWithMaps).replace(/NUM_SPOT_LIGHT_SHADOWS/g,t.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,t.numPointLightShadows)}function g2(n,t){return n.replace(/NUM_CLIPPING_PLANES/g,t.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,t.numClippingPlanes-t.numClipIntersection)}const RQ=/^[ \t]*#include +<([\w\d./]+)>/gm;function Sg(n){return n.replace(RQ,OQ)}function OQ(n,t){const e=cn[t];if(e===void 0)throw new Error("Can not resolve #include <"+t+">");return Sg(e)}const HQ=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function m2(n){return n.replace(HQ,kQ)}function kQ(n,t,e,i){let r="";for(let s=parseInt(t);s<parseInt(e);s++)r+=i.replace(/\[\s*i\s*\]/g,"[ "+s+" ]").replace(/UNROLLED_LOOP_INDEX/g,s);return r}function w2(n){let t="precision "+n.precision+` float; 3108precision `+n.precision+" int;";return n.precision==="highp"?t+=` 3109#define HIGH_PRECISION`:n.precision==="mediump"?t+=` 3110#define MEDIUM_PRECISION`:n.precision==="lowp"&&(t+=` 3111#define LOW_PRECISION`),t}function NQ(n){let t="SHADOWMAP_TYPE_BASIC";return n.shadowMapType===rx?t="SHADOWMAP_TYPE_PCF":n.shadowMapType===sx?t="SHADOWMAP_TYPE_PCF_SOFT":n.shadowMapType===Il&&(t="SHADOWMAP_TYPE_VSM"),t}function zQ(n){let t="ENVMAP_TYPE_CUBE";if(n.envMap)switch(n.envMapMode){case tl:case el:t="ENVMAP_TYPE_CUBE";break;case Fh:t="ENVMAP_TYPE_CUBE_UV";break}return t}function VQ(n){let t="ENVMAP_MODE_REFLECTION";if(n.envMap)switch(n.envMapMode){case el:t="ENVMAP_MODE_REFRACTION";break}return t}function GQ(n){let t="ENVMAP_BLENDING_NONE";if(n.envMap)switch(n.combine){case ax:t="ENVMAP_BLENDING_MULTIPLY";break;case jM:t="ENVMAP_BLENDING_MIX";break;case XM:t="ENVMAP_BLENDING_ADD";break}return t}function KQ(n){const t=n.envMapCubeUVHeight;if(t===null)return null;const e=Math.log2(t)-2,i=1/t;return{texelWidth:1/(3*Math.max(Math.pow(2,e),7*16)),texelHeight:i,maxMip:e}}function WQ(n,t,e,i){const r=n.getContext(),s=e.defines;let A=e.vertexShader,o=e.fragmentShader;const a=NQ(e),l=zQ(e),c=VQ(e),u=GQ(e),f=KQ(e),m=e.isWebGL2?"":LQ(e),y=PQ(s),h=r.createProgram();let g,b,U=e.glslVersion?"#version "+e.glslVersion+` 3112`:"";e.isRawShaderMaterial?(g=[y].filter(Ql).join(` 3113`),g.length>0&&(g+=` 3114`),b=[m,y].filter(Ql).join(` 3115`),b.length>0&&(b+=` 3116`)):(g=[w2(e),"#define SHADER_NAME "+e.shaderName,y,e.instancing?"#define USE_INSTANCING":"",e.instancingColor?"#define USE_INSTANCING_COLOR":"",e.supp
vendor: 4,139 bytes, lines 3116-3118
3116ortsVertexTextures?"#define VERTEX_TEXTURES":"",e.useFog&&e.fog?"#define USE_FOG":"",e.useFog&&e.fogExp2?"#define FOG_EXP2":"",e.map?"#define USE_MAP":"",e.envMap?"#define USE_ENVMAP":"",e.envMap?"#define "+c:"",e.lightMap?"#define USE_LIGHTMAP":"",e.aoMap?"#define USE_AOMAP":"",e.emissiveMap?"#define USE_EMISSIVEMAP":"",e.bumpMap?"#define USE_BUMPMAP":"",e.normalMap?"#define USE_NORMALMAP":"",e.normalMap&&e.objectSpaceNormalMap?"#define OBJECTSPACE_NORMALMAP":"",e.normalMap&&e.tangentSpaceNormalMap?"#define TANGENTSPACE_NORMALMAP":"",e.clearcoatMap?"#define USE_CLEARCOATMAP":"",e.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",e.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",e.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",e.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",e.displacementMap&&e.supportsVertexTextures?"#define USE_DISPLACEMENTMAP":"",e.specularMap?"#define USE_SPECULARMAP":"",e.specularIntensityMap?"#define USE_SPECULARINTENSITYMAP":"",e.specularColorMap?"#define USE_SPECULARCOLORMAP":"",e.roughnessMap?"#define USE_ROUGHNESSMAP":"",e.metalnessMap?"#define USE_METALNESSMAP":"",e.alphaMap?"#define USE_ALPHAMAP":"",e.transmission?"#define USE_TRANSMISSION":"",e.transmissionMap?"#define USE_TRANSMISSIONMAP":"",e.thicknessMap?"#define USE_THICKNESSMAP":"",e.sheenColorMap?"#define USE_SHEENCOLORMAP":"",e.sheenRoughnessMap?"#define USE_SHEENROUGHNESSMAP":"",e.vertexTangents?"#define USE_TANGENT":"",e.vertexColors?"#define USE_COLOR":"",e.vertexAlphas?"#define USE_COLOR_ALPHA":"",e.vertexUvs?"#define USE_UV":"",e.uvsVertexOnly?"#define UVS_VERTEX_ONLY":"",e.flatShading?"#define FLAT_SHADED":"",e.skinning?"#define USE_SKINNING":"",e.morphTargets?"#define USE_MORPHTARGETS":"",e.morphNormals&&e.flatShading===!1?"#define USE_MORPHNORMALS":"",e.morphColors&&e.isWebGL2?"#define USE_MORPHCOLORS":"",e.morphTargetsCount>0&&e.isWebGL2?"#define MORPHTARGETS_TEXTURE":"",e.morphTargetsCount>0&&e.isWebGL2?"#define MORPHTARGETS_TEXTURE_STRIDE "+e.morphTextureStride:"",e.morphTargetsCount>0&&e.isWebGL2?"#define MORPHTARGETS_COUNT "+e.morphTargetsCount:"",e.doubleSided?"#define DOUBLE_SIDED":"",e.flipSided?"#define FLIP_SIDED":"",e.shadowMapEnabled?"#define USE_SHADOWMAP":"",e.shadowMapEnabled?"#define "+a:"",e.sizeAttenuation?"#define USE_SIZEATTENUATION":"",e.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",e.logarithmicDepthBuffer&&e.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 modelMatrix;","uniform mat4 modelViewMatrix;","uniform mat4 projectionMatrix;","uniform mat4 viewMatrix;","uniform mat3 normalMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;","#ifdef USE_INSTANCING"," attribute mat4 instanceMatrix;","#endif","#ifdef USE_INSTANCING_COLOR"," attribute vec3 instanceColor;","#endif","attribute vec3 position;","attribute vec3 normal;","attribute vec2 uv;","#ifdef USE_TANGENT"," attribute vec4 tangent;","#endif","#if defined( USE_COLOR_ALPHA )"," attribute vec4 color;","#elif defined( USE_COLOR )"," attribute vec3 color;","#endif","#if ( defined( USE_MORPHTARGETS ) && ! defined( MORPHTARGETS_TEXTURE ) )"," attribute vec3 morphTarget0;"," attribute vec3 morphTarget1;"," attribute vec3 morphTarget2;"," attribute vec3 morphTarget3;"," #ifdef USE_MORPHNORMALS"," attribute vec3 morphNormal0;"," attribute vec3 morphNormal1;"," attribute vec3 morphNormal2;"," attribute vec3 morphNormal3;"," #else"," attribute vec3 morphTarget4;"," attribute vec3 morphTarget5;"," attribute vec3 morphTarget6;"," attribute vec3 morphTarget7;"," #endif","#endif","#ifdef USE_SKINNING"," attribute vec4 skinIndex;"," attribute vec4 skinWeight;","#endif",` 3117`].filter(Ql).join(` 3118`),b=[m,w2(e),"#define SHADER_NAME "+e.shaderName,y,e.useFog&&e.fog?"#define USE_FOG":"",e.useFog&&e.fogExp2?"#define FOG_EXP2":"",e.map?"#define USE_MAP":"",e.matcap?"#define USE_MATCAP":"",e.envMap?"#define USE_ENVMAP":"",e.envMap?"#define "+l:"",e.envMap?"#define "+c:"",e.envMap?"#define "+u:"",f?"#define CUBEUV_TEXEL_WIDTH "+f.texelWidth:"",f?"#define CUBEUV_TEXEL_HEIGHT "+f.texelHeight:"",f?"#define CUBEUV_MAX_MIP "+f.max
vendor: 11,491 bytes, lines 3118-3129
3118Mip+".0":"",e.lightMap?"#define USE_LIGHTMAP":"",e.aoMap?"#define USE_AOMAP":"",e.emissiveMap?"#define USE_EMISSIVEMAP":"",e.bumpMap?"#define USE_BUMPMAP":"",e.normalMap?"#define USE_NORMALMAP":"",e.normalMap&&e.objectSpaceNormalMap?"#define OBJECTSPACE_NORMALMAP":"",e.normalMap&&e.tangentSpaceNormalMap?"#define TANGENTSPACE_NORMALMAP":"",e.clearcoat?"#define USE_CLEARCOAT":"",e.clearcoatMap?"#define USE_CLEARCOATMAP":"",e.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",e.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",e.iridescence?"#define USE_IRIDESCENCE":"",e.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",e.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",e.specularMap?"#define USE_SPECULARMAP":"",e.specularIntensityMap?"#define USE_SPECULARINTENSITYMAP":"",e.specularColorMap?"#define USE_SPECULARCOLORMAP":"",e.roughnessMap?"#define USE_ROUGHNESSMAP":"",e.metalnessMap?"#define USE_METALNESSMAP":"",e.alphaMap?"#define USE_ALPHAMAP":"",e.alphaTest?"#define USE_ALPHATEST":"",e.sheen?"#define USE_SHEEN":"",e.sheenColorMap?"#define USE_SHEENCOLORMAP":"",e.sheenRoughnessMap?"#define USE_SHEENROUGHNESSMAP":"",e.transmission?"#define USE_TRANSMISSION":"",e.transmissionMap?"#define USE_TRANSMISSIONMAP":"",e.thicknessMap?"#define USE_THICKNESSMAP":"",e.decodeVideoTexture?"#define DECODE_VIDEO_TEXTURE":"",e.vertexTangents?"#define USE_TANGENT":"",e.vertexColors||e.instancingColor?"#define USE_COLOR":"",e.vertexAlphas?"#define USE_COLOR_ALPHA":"",e.vertexUvs?"#define USE_UV":"",e.uvsVertexOnly?"#define UVS_VERTEX_ONLY":"",e.gradientMap?"#define USE_GRADIENTMAP":"",e.flatShading?"#define FLAT_SHADED":"",e.doubleSided?"#define DOUBLE_SIDED":"",e.flipSided?"#define FLIP_SIDED":"",e.shadowMapEnabled?"#define USE_SHADOWMAP":"",e.shadowMapEnabled?"#define "+a:"",e.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",e.physicallyCorrectLights?"#define PHYSICALLY_CORRECT_LIGHTS":"",e.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",e.logarithmicDepthBuffer&&e.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",e.toneMapping!==Ns?"#define TONE_MAPPING":"",e.toneMapping!==Ns?cn.tonemapping_pars_fragment:"",e.toneMapping!==Ns?QQ("toneMapping",e.toneMapping):"",e.dithering?"#define DITHERING":"",e.opaque?"#define OPAQUE":"",cn.encodings_pars_fragment,IQ("linearToOutputTexel",e.outputEncoding),e.useDepthPacking?"#define DEPTH_PACKING "+e.depthPacking:"",` 3119`].filter(Ql).join(` 3120`)),A=Sg(A),A=p2(A,e),A=g2(A,e),o=Sg(o),o=p2(o,e),o=g2(o,e),A=m2(A),o=m2(o),e.isWebGL2&&e.isRawShaderMaterial!==!0&&(U=`#version 300 es 3121`,g=["precision mediump sampler2DArray;","#define attribute in","#define varying out","#define texture2D texture"].join(` 3122`)+` 3123`+g,b=["#define varying in",e.glslVersion===kw?"":"layout(location = 0) out highp vec4 pc_fragColor;",e.glslVersion===kw?"":"#define gl_FragColor pc_fragColor","#define gl_FragDepthEXT gl_FragDepth","#define texture2D texture","#define textureCube texture","#define texture2DProj textureProj","#define texture2DLodEXT textureLod","#define texture2DProjLodEXT textureProjLod","#define textureCubeLodEXT textureLod","#define texture2DGradEXT textureGrad","#define texture2DProjGradEXT textureProjGrad","#define textureCubeGradEXT textureGrad"].join(` 3124`)+` 3125`+b);const N=U+g+A,L=U+b+o,R=h2(r,35633,N),j=h2(r,35632,L);if(r.attachShader(h,R),r.attachShader(h,j),e.index0AttributeName!==void 0?r.bindAttribLocation(h,0,e.index0AttributeName):e.morphTargets===!0&&r.bindAttribLocation(h,0,"position"),r.linkProgram(h),n.debug.checkShaderErrors){const V=r.getProgramInfoLog(h).trim(),gt=r.getShaderInfoLog(R).trim(),Nt=r.getShaderInfoLog(j).trim();let Dt=!0,Et=!0;if(r.getProgramParameter(h,35714)===!1){Dt=!1;const xt=d2(r,R,"vertex"),Xt=d2(r,j,"fragment");console.error("THREE.WebGLProgram: Shader Error "+r.getError()+" - VALIDATE_STATUS "+r.getProgramParameter(h,35715)+` 3126 3127Program Info Log: `+V+` 3128`+xt+` 3129`+Xt)}else V!==""?console.warn("THREE.WebGLProgram: Program Info Log:",V):(gt===""||Nt==="")&&(Et=!1);Et&&(this.diagnostics={runnable:Dt,programLog:V,vertexShader:{log:gt,prefix:g},fragmentShader:{log:Nt,prefix:b}})}r.deleteShader(R),r.deleteShader(j);let st;this.getUniforms=function(){return st===void 0&&(st=new cf(r,h)),st};let O;return this.getAttributes=function(){return O===void 0&&(O=DQ(r,h)),O},this.destroy=function(){i.releaseStatesOfProgram(this),r.deleteProgram(h),this.program=void 0},this.name=e.shaderName,this.id=MQ++,this.cacheKey=t,this.usedTimes=1,this.program=h,this.vertexShader=R,this.fragmentShader=j,this}let qQ=0;class jQ{constructor(){this.shaderCache=new Map,this.materialCache=new Map}update(t){const e=t.vertexShader,i=t.fragmentShader,r=this._getShaderStage(e),s=this._getShaderStage(i),A=this._getShaderCacheForMaterial(t);return A.has(r)===!1&&(A.add(r),r.usedTimes++),A.has(s)===!1&&(A.add(s),s.usedTimes++),this}remove(t){const e=this.materialCache.get(t);for(const i of e)i.usedTimes--,i.usedTimes===0&&this.shaderCache.delete(i.code);return this.materialCache.delete(t),this}getVertexShaderID(t){return this._getShaderStage(t.vertexShader).id}getFragmentShaderID(t){return this._getShaderStage(t.fragmentShader).id}dispose(){this.shaderCache.clear(),this.materialCache.clear()}_getShaderCacheForMaterial(t){const e=this.materialCache;let i=e.get(t);return i===void 0&&(i=new Set,e.set(t,i)),i}_getShaderStage(t){const e=this.shaderCache;let i=e.get(t);return i===void 0&&(i=new XQ(t),e.set(t,i)),i}}class XQ{constructor(t){this.id=qQ++,this.code=t,this.usedTimes=0}}function YQ(n,t,e,i,r,s,A){const o=new gx,a=new jQ,l=[],c=r.isWebGL2,u=r.logarithmicDepthBuffer,f=r.vertexTextures;let m=r.precision;const y={MeshDepthMaterial:"depth",MeshDistanceMaterial:"distanceRGBA",MeshNormalMaterial:"normal",MeshBasicMaterial:"basic",MeshLambertMaterial:"lambert",MeshPhongMaterial:"phong",MeshToonMaterial:"toon",MeshStandardMaterial:"physical",MeshPhysicalMaterial:"physical",MeshMatcapMaterial:"matcap",LineBasicMaterial:"basic",LineDashedMaterial:"dashed",PointsMaterial:"points",ShadowMaterial:"shadow",SpriteMaterial:"sprite"};function h(O,V,gt,Nt,Dt){const Et=Nt.fog,xt=Dt.geometry,Xt=O.isMeshStandardMaterial?Nt.environment:null,jt=(O.isMeshStandardMaterial?e:t).get(O.envMap||Xt),Gt=!!jt&&jt.mapping===Fh?jt.image.height:null,Wt=y[O.type];O.precision!==null&&(m=r.getMaxPrecision(O.precision),m!==O.precision&&console.warn("THREE.WebGLProgram.getParameters:",O.precision,"not supported, using",m,"instead."));const kt=xt.morphAttributes.position||xt.morphAttributes.normal||xt.morphAttributes.color,Vt=kt!==void 0?kt.length:0;let we=0;xt.morphAttributes.position!==void 0&&(we=1),xt.morphAttributes.normal!==void 0&&(we=2),xt.morphAttributes.color!==void 0&&(we=3);let oe,Be,Ue,zt;if(Wt){const De=os[Wt];oe=De.vertexShader,Be=De.fragmentShader}else oe=O.vertexShader,Be=O.fragmentShader,a.update(O),Ue=a.getVertexShaderID(O),zt=a.getFragmentShaderID(O);const Ht=n.getRenderTarget(),re=O.alphaTest>0,le=O.clearcoat>0,Le=O.iridescence>0;return{isWebGL2:c,shaderID:Wt,shaderName:O.type,vertexShader:oe,fragmentShader:Be,defines:O.defines,customVertexShaderID:Ue,customFragmentShaderID:zt,isRawShaderMaterial:O.isRawShaderMaterial===!0,glslVersion:O.glslVersion,precision:m,instancing:Dt.isInstancedMesh===!0,instancingColor:Dt.isInstancedMesh===!0&&Dt.instanceColor!==null,supportsVertexTextures:f,outputEncoding:Ht===null?n.outputEncoding:Ht.isXRRenderTarget===!0?Ht.texture.encoding:Lo,map:!!O.map,matcap:!!O.matcap,envMap:!!jt,envMapMode:jt&&jt.mapping,envMapCubeUVHeight:Gt,lightMap:!!O.lightMap,aoMap:!!O.aoMap,emissiveMap:!!O.emissiveMap,bumpMap:!!O.bumpMap,normalMap:!!O.normalMap,objectSpaceNormalMap:O.normalMapType===yU,tangentSpaceNormalMap:O.normalMapType===vU,decodeVideoTexture:!!O.map&&O.map.isVideoTexture===!0&&O.map.encoding===kn,clearcoat:le,clearcoatMap:le&&!!O.clearcoatMap,clearcoatRoughnessMap:le&&!!O.clearcoatRoughnessMap,clearcoatNormalMap:le&&!!O.clearcoatNormalMap,iridescence:Le,iridescenceMap:Le&&!!O.iridescenceMap,iridescenceThicknessMap:Le&&!!O.iridescenceThicknessMap,displacementMap:!!O.displacementMap,roughnessMap:!!O.roughnessMap,metalnessMap:!!O.metalnessMap,specularMap:!!O.specularMap,specularIntensityMap:!!O.specularIntensityMap,specularColorMap:!!O.specularColorMap,opaque:O.transparent===!1&&O.blending===Ha,alphaMap:!!O.alphaMap,alphaTest:re,gradientMap:!!O.gradientMap,sheen:O.sheen>0,sheenColorMap:!!O.sheenColorMap,sheenRoughnessMap:!!O.sheenRoughnessMap,transmission:O.transmission>0,transmissionMap:!!O.transmissionMap,thicknessMap:!!O.thicknessMap,combine:O.combine,vertexTangents:!!O.normalMap&&!!xt.attributes.tangent,vertexColors:O.vertexColors,vertexAlphas:O.vertexColors===!0&&!!xt.attributes.color&&xt.attributes.color.itemSize===4,vertexUvs:!!O.map||!!O.bumpMap||!!O.normalMap||!!O.specularMap||!!O.alphaMap||!!O.emissiveMap||!!O.roughnessMap||!!O.metalnessMap||!!O.clearcoatMap||!!O.clearcoatRoughnessMap||!!O.clearcoatNormalMap||!!O.iridescenceMap||!!O.iridescenceThicknessMap||!!O.displacementMap||!!O.transmissionMap||!!O.thicknessMap||!!O.specularIntensityMap||!!O.specularColorMap||!!O.sheenColorMap||!!O.sheenRoughnessMap,uvsVertexOnly:!(!!O.map||!!O.bumpMap||!!O.normalMap||!!O.specularMap||!!O.alphaMap||!!O.emissiveMap||!!O.roughnessMap||!!O.metalnessMap||!!O.clearcoatNormalMap||!!O.iridescenceMap||!!O.iridescenceThicknessMap||O.transmission>0||!!O.transmissionMap||!!O.thicknessMap||!!O.specularIntensityMap||!!O.specularColorMap||O.sheen>0||!!O.sheenColorMap||!!O.sheenRoughnessMap)&&!!O.displacementMap,fog:!!Et,useFog:O.fog===!0,fogExp2:Et&&Et.isFogExp2,flatShading:!!O.flatShading,sizeAttenuation:O.sizeAttenuation,logarithmicDepthBuffer:u,skinning:Dt.isSkinnedMesh===!0,morphTargets:xt.morphAttributes.position!==void 0,morphNormals:xt.morphAttributes.normal!==void 0,morphColors:xt.morphAttributes.color!==void 0,morphTargetsCount:Vt,morphTextureStride:we,numDirLights:V.directional.length,numPointLights:V.point.length,numSpotLights:V.spot.length,numSpotLightMaps:V.spotLightMap.length,numRectAreaLights:V.rectArea.length,numHemiLights:V.hemi.length,numDirLightShadows:V.directionalShadowMap.length,numPointLightShadows:V.pointShadowMap.length,numSpotLightShadows:V.spotShadowMap.length,numSpotLightShadowsWithMaps:V.numSpotLightShadowsWithMaps,numClippingPlanes:A.numPlanes,numClipIntersection:A.numIntersection,dithering:O.dithering,shadowMapEnabled:n.shadowMap.enabled&>.length>0,shadowMapType:n.shadowMap.type,toneMapping:O.toneMapped?n.toneMapping:Ns,physicallyCorrectLights:n.physicallyCorrectLights,premultipliedAlpha:O.premultipliedAlpha,doubleSided:O.side===CA,flipSided:O.side===Ur,useDepthPacking:!!O.depthPacking,depthPacking:O.depthPacking||0,index0AttributeName:O.index0AttributeName,extensionDerivatives:O.extensions&&O.extensions.derivatives,extensionFragDepth:O.extensions&&O.extensions.fragDepth,extensionDrawBuffers:O.extensions&&O.extensions.drawBuffers,extensionShaderTextureLOD:O.extensions&&O.extensions.shaderTextureLOD,rendererExtensionFragDepth:c||i.has("EXT_frag_depth"),rendererExtensionDrawBuffers:c||i.has("WEBGL_draw_buffers"),rendererExtensionShaderTextureLod:c||i.has("EXT_shader_texture_lod"),customProgramCacheKey:O.customProgramCacheKey()}}function g(O){const V=[];if(O.shaderID?V.push(O.shaderID):(V.push(O.customVertexShaderID),V.push(O.customFragmentShaderID)),O.defines!==void 0)for(const gt in O.defines)V.push(gt),V.push(O.defines[gt]);
vendor: 13,172 bytes, lines 3129-3135
3129return O.isRawShaderMaterial===!1&&(b(V,O),U(V,O),V.push(n.outputEncoding)),V.push(O.customProgramCacheKey),V.join()}function b(O,V){O.push(V.precision),O.push(V.outputEncoding),O.push(V.envMapMode),O.push(V.envMapCubeUVHeight),O.push(V.combine),O.push(V.vertexUvs),O.push(V.fogExp2),O.push(V.sizeAttenuation),O.push(V.morphTargetsCount),O.push(V.morphAttributeCount),O.push(V.numDirLights),O.push(V.numPointLights),O.push(V.numSpotLights),O.push(V.numSpotLightMaps),O.push(V.numHemiLights),O.push(V.numRectAreaLights),O.push(V.numDirLightShadows),O.push(V.numPointLightShadows),O.push(V.numSpotLightShadows),O.push(V.numSpotLightShadowsWithMaps),O.push(V.shadowMapType),O.push(V.toneMapping),O.push(V.numClippingPlanes),O.push(V.numClipIntersection),O.push(V.depthPacking)}function U(O,V){o.disableAll(),V.isWebGL2&&o.enable(0),V.supportsVertexTextures&&o.enable(1),V.instancing&&o.enable(2),V.instancingColor&&o.enable(3),V.map&&o.enable(4),V.matcap&&o.enable(5),V.envMap&&o.enable(6),V.lightMap&&o.enable(7),V.aoMap&&o.enable(8),V.emissiveMap&&o.enable(9),V.bumpMap&&o.enable(10),V.normalMap&&o.enable(11),V.objectSpaceNormalMap&&o.enable(12),V.tangentSpaceNormalMap&&o.enable(13),V.clearcoat&&o.enable(14),V.clearcoatMap&&o.enable(15),V.clearcoatRoughnessMap&&o.enable(16),V.clearcoatNormalMap&&o.enable(17),V.iridescence&&o.enable(18),V.iridescenceMap&&o.enable(19),V.iridescenceThicknessMap&&o.enable(20),V.displacementMap&&o.enable(21),V.specularMap&&o.enable(22),V.roughnessMap&&o.enable(23),V.metalnessMap&&o.enable(24),V.gradientMap&&o.enable(25),V.alphaMap&&o.enable(26),V.alphaTest&&o.enable(27),V.vertexColors&&o.enable(28),V.vertexAlphas&&o.enable(29),V.vertexUvs&&o.enable(30),V.vertexTangents&&o.enable(31),V.uvsVertexOnly&&o.enable(32),O.push(o.mask),o.disableAll(),V.fog&&o.enable(0),V.useFog&&o.enable(1),V.flatShading&&o.enable(2),V.logarithmicDepthBuffer&&o.enable(3),V.skinning&&o.enable(4),V.morphTargets&&o.enable(5),V.morphNormals&&o.enable(6),V.morphColors&&o.enable(7),V.premultipliedAlpha&&o.enable(8),V.shadowMapEnabled&&o.enable(9),V.physicallyCorrectLights&&o.enable(10),V.doubleSided&&o.enable(11),V.flipSided&&o.enable(12),V.useDepthPacking&&o.enable(13),V.dithering&&o.enable(14),V.specularIntensityMap&&o.enable(15),V.specularColorMap&&o.enable(16),V.transmission&&o.enable(17),V.transmissionMap&&o.enable(18),V.thicknessMap&&o.enable(19),V.sheen&&o.enable(20),V.sheenColorMap&&o.enable(21),V.sheenRoughnessMap&&o.enable(22),V.decodeVideoTexture&&o.enable(23),V.opaque&&o.enable(24),O.push(o.mask)}function N(O){const V=y[O.type];let gt;if(V){const Nt=os[V];gt=RU.clone(Nt.uniforms)}else gt=O.uniforms;return gt}function L(O,V){let gt;for(let Nt=0,Dt=l.length;Nt<Dt;Nt++){const Et=l[Nt];if(Et.cacheKey===V){gt=Et,++gt.usedTimes;break}}return gt===void 0&&(gt=new WQ(n,V,O,s),l.push(gt)),gt}function R(O){if(--O.usedTimes===0){const V=l.indexOf(O);l[V]=l[l.length-1],l.pop(),O.destroy()}}function j(O){a.remove(O)}function st(){a.dispose()}return{getParameters:h,getProgramCacheKey:g,getUniforms:N,acquireProgram:L,releaseProgram:R,releaseShaderCache:j,programs:l,dispose:st}}function JQ(){let n=new WeakMap;function t(s){let A=n.get(s);return A===void 0&&(A={},n.set(s,A)),A}function e(s){n.delete(s)}function i(s,A,o){n.get(s)[A]=o}function r(){n=new WeakMap}return{get:t,remove:e,update:i,dispose:r}}function ZQ(n,t){return n.groupOrder!==t.groupOrder?n.groupOrder-t.groupOrder:n.renderOrder!==t.renderOrder?n.renderOrder-t.renderOrder:n.material.id!==t.material.id?n.material.id-t.material.id:n.z!==t.z?n.z-t.z:n.id-t.id}function v2(n,t){return n.groupOrder!==t.groupOrder?n.groupOrder-t.groupOrder:n.renderOrder!==t.renderOrder?n.renderOrder-t.renderOrder:n.z!==t.z?t.z-n.z:n.id-t.id}function y2(){const n=[];let t=0;const e=[],i=[],r=[];function s(){t=0,e.length=0,i.length=0,r.length=0}function A(u,f,m,y,h,g){let b=n[t];return b===void 0?(b={id:u.id,object:u,geometry:f,material:m,groupOrder:y,renderOrder:u.renderOrder,z:h,group:g},n[t]=b):(b.id=u.id,b.object=u,b.geometry=f,b.material=m,b.groupOrder=y,b.renderOrder=u.renderOrder,b.z=h,b.group=g),t++,b}function o(u,f,m,y,h,g){const b=A(u,f,m,y,h,g);m.transmission>0?i.push(b):m.transparent===!0?r.push(b):e.push(b)}function a(u,f,m,y,h,g){const b=A(u,f,m,y,h,g);m.transmission>0?i.unshift(b):m.transparent===!0?r.unshift(b):e.unshift(b)}function l(u,f){e.length>1&&e.sort(u||ZQ),i.length>1&&i.sort(f||v2),r.length>1&&r.sort(f||v2)}function c(){for(let u=t,f=n.length;u<f;u++){const m=n[u];if(m.id===null)break;m.id=null,m.object=null,m.geometry=null,m.material=null,m.group=null}}return{opaque:e,transmissive:i,transparent:r,init:s,push:o,unshift:a,finish:c,sort:l}}function $Q(){let n=new WeakMap;function t(i,r){const s=n.get(i);let A;return s===void 0?(A=new y2,n.set(i,[A])):r>=s.length?(A=new y2,s.push(A)):A=s[r],A}function e(){n=new WeakMap}return{get:t,dispose:e}}function tL(){const n={};return{get:function(t){if(n[t.id]!==void 0)return n[t.id];let e;switch(t.type){case"DirectionalLight":e={direction:new ee,color:new Rn};break;case"SpotLight":e={position:new ee,direction:new ee,color:new Rn,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":e={position:new ee,color:new Rn,distance:0,decay:0};break;case"HemisphereLight":e={direction:new ee,skyColor:new Rn,groundColor:new Rn};break;case"RectAreaLight":e={color:new Rn,position:new ee,halfWidth:new ee,halfHeight:new ee};break}return n[t.id]=e,e}}}function eL(){const n={};return{get:function(t){if(n[t.id]!==void 0)return n[t.id];let e;switch(t.type){case"DirectionalLight":e={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new fn};break;case"SpotLight":e={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new fn};break;case"PointLight":e={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new fn,shadowCameraNear:1,shadowCameraFar:1e3};break}return n[t.id]=e,e}}}let nL=0;function iL(n,t){return(t.castShadow?2:0)-(n.castShadow?2:0)+(t.map?1:0)-(n.map?1:0)}function rL(n,t){const e=new tL,i=eL(),r={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0};for(let c=0;c<9;c++)r.probe.push(new ee);const s=new ee,A=new mi,o=new mi;function a(c,u){let f=0,m=0,y=0;for(let Nt=0;Nt<9;Nt++)r.probe[Nt].set(0,0,0);let h=0,g=0,b=0,U=0,N=0,L=0,R=0,j=0,st=0,O=0;c.sort(iL);const V=u!==!0?Math.PI:1;for(let Nt=0,Dt=c.length;Nt<Dt;Nt++){const Et=c[Nt],xt=Et.color,Xt=Et.intensity,jt=Et.distance,Gt=Et.shadow&&Et.shadow.map?Et.shadow.map.texture:null;if(Et.isAmbientLight)f+=xt.r*Xt*V,m+=xt.g*Xt*V,y+=xt.b*Xt*V;else if(Et.isLightProbe)for(let Wt=0;Wt<9;Wt++)r.probe[Wt].addScaledVector(Et.sh.coefficients[Wt],Xt);else if(Et.isDirectionalLight){const Wt=e.get(Et);if(Wt.color.copy(Et.color).multiplyScalar(Et.intensity*V),Et.castShadow){const kt=Et.shadow,Vt=i.get(Et);Vt.shadowBias=kt.bias,Vt.shadowNormalBias=kt.normalBias,Vt.shadowRadius=kt.radius,Vt.shadowMapSize=kt.mapSize,r.directionalShadow[h]=Vt,r.directionalShadowMap[h]=Gt,r.directionalShadowMatrix[h]=Et.shadow.matrix,L++}r.directional[h]=Wt,h++}else if(Et.isSpotLight){const Wt=e.get(Et);Wt.position.setFromMatrixPosition(Et.matrixWorld),Wt.color.copy(xt).multiplyScalar(Xt*V),Wt.distance=jt,Wt.coneCos=Math.cos(Et.angle),Wt.penumbraCos=Math.cos(Et.angle*(1-Et.penumbra)),Wt.decay=Et.decay,r.spot[b]=Wt;const kt=Et.shadow;if(Et.map&&(r.spotLightMap[st]=Et.map,st++,kt.updateMatrices(Et),Et.castShadow&&O++),r.spotLightMatrix[b]=kt.matrix,Et.castShadow){const Vt=i.get(Et);Vt.shadowBias=kt.bias,Vt.shadowNormalBias=kt.normalBias,Vt.shadowRadius=kt.radius,Vt.shadowMapSize=kt.mapSize,r.spotShadow[b]=Vt,r.spotShadowMap[b]=Gt,j++}b++}else if(Et.isRectAreaLight){const Wt=e.get(Et);Wt.color.copy(xt).multiplyScalar(Xt),Wt.halfWidth.set(Et.width*.5,0,0),Wt.halfHeight.set(0,Et.height*.5,0),r.rectArea[U]=Wt,U++}else if(Et.isPointLight){const Wt=e.get(Et);if(Wt.color.copy(Et.color).multiplyScalar(Et.intensity*V),Wt.distance=Et.distance,Wt.decay=Et.decay,Et.castShadow){const kt=Et.shadow,Vt=i.get(Et);Vt.shadowBias=kt.bias,Vt.shadowNormalBias=kt.normalBias,Vt.shadowRadius=kt.radius,Vt.shadowMapSize=kt.mapSize,Vt.shadowCameraNear=kt.camera.near,Vt.shadowCameraFar=kt.camera.far,r.pointShadow[g]=Vt,r.pointShadowMap[g]=Gt,r.pointShadowMatrix[g]=Et.shadow.matrix,R++}r.point[g]=Wt,g++}else if(Et.isHemisphereLight){const Wt=e.get(Et);Wt.skyColor.copy(Et.color).multiplyScalar(Xt*V),Wt.groundColor.copy(Et.groundColor).multiplyScalar(Xt*V),r.hemi[N]=Wt,N++}}U>0&&(t.isWebGL2||n.has("OES_texture_float_linear")===!0?(r.rectAreaLTC1=Pe.LTC_FLOAT_1,r.rectAreaLTC2=Pe.LTC_FLOAT_2):n.has("OES_texture_half_float_linear")===!0?(r.rectAreaLTC1=Pe.LTC_HALF_1,r.rectAreaLTC2=Pe.LTC_HALF_2):console.error("THREE.WebGLRenderer: Unable to use RectAreaLight. Missing WebGL extensions.")),r.ambient[0]=f,r.ambient[1]=m,r.ambient[2]=y;const gt=r.hash;(gt.directionalLength!==h||gt.pointLength!==g||gt.spotLength!==b||gt.rectAreaLength!==U||gt.hemiLength!==N||gt.numDirectionalShadows!==L||gt.numPointShadows!==R||gt.numSpotShadows!==j||gt.numSpotMaps!==st)&&(r.directional.length=h,r.spot.length=b,r.rectArea.length=U,r.point.length=g,r.hemi.length=N,r.directionalShadow.length=L,r.directionalShadowMap.length=L,r.pointShadow.length=R,r.pointShadowMap.length=R,r.spotShadow.length=j,r.spotShadowMap.length=j,r.directionalShadowMatrix.length=L,r.pointShadowMatrix.length=R,r.spotLightMatrix.length=j+st-O,r.spotLightMap.length=st,r.numSpotLightShadowsWithMaps=O,gt.directionalLength=h,gt.pointLength=g,gt.spotLength=b,gt.rectAreaLength=U,gt.hemiLength=N,gt.numDirectionalShadows=L,gt.numPointShadows=R,gt.numSpotShadows=j,gt.numSpotMaps=st,r.version=nL++)}function l(c,u){let f=0,m=0,y=0,h=0,g=0;const b=u.matrixWorldInverse;for(let U=0,N=c.length;U<N;U++){const L=c[U];if(L.isDirectionalLight){const R=r.directional[f];R.direction.setFromMatrixPosition(L.matrixWorld),s.setFromMatrixPosition(L.target.matrixWorld),R.direction.sub(s),R.direction.transformDirection(b),f++}else if(L.isSpotLight){const R=r.spot[y];R.position.setFromMatrixPosition(L.matrixWorld),R.position.applyMatrix4(b),R.direction.setFromMatrixPosition(L.matrixWorld),s.setFromMatrixPosition(L.target.matrixWorld),R.direction.sub(s),R.direction.transformDirection(b),y++}else if(L.isRectAreaLight){const R=r.rectArea[h];R.position.setFromMatrixPosition(L.matrixWorld),R.position.applyMatrix4(b),o.identity(),A.copy(L.matrixWorld),A.premultiply(b),o.extractRotation(A),R.halfWidth.set(L.width*.5,0,0),R.halfHeight.set(0,L.height*.5,0),R.halfWidth.applyMatrix4(o),R.halfHeight.applyMatrix4(o),h++}else if(L.isPointLight){const R=r.point[m];R.position.setFromMatrixPosition(L.matrixWorld),R.position.applyMatrix4(b),m++}else if(L.isHemisphereLight){const R=r.hemi[g];R.direction.setFromMatrixPosition(L.matrixWorld),R.direction.transformDirection(b),g++}}}return{setup:a,setupView:l,state:r}}function B2(n,t){const e=new rL(n,t),i=[],r=[];function s(){i.length=0,r.length=0}function A(u){i.push(u)}function o(u){r.push(u)}function a(u){e.setup(i,u)}function l(u){e.setupView(i,u)}return{init:s,state:{lightsArray:i,shadowsArray:r,lights:e},setupLights:a,setupLightsView:l,pushLight:A,pushShadow:o}}function sL(n,t){let e=new WeakMap;function i(s,A=0){const o=e.get(s);let a;return o===void 0?(a=new B2(n,t),e.set(s,[a])):A>=o.length?(a=new B2(n,t),o.push(a)):a=o[A],a}function r(){e=new WeakMap}return{get:i,dispose:r}}class AL extends Mh{constructor(t){super(),this.isMeshDepthMaterial=!0,this.type="MeshDepthMaterial",this.depthPacking=mU,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(t)}copy(t){return super.copy(t),this.depthPacking=t.depthPacking,this.map=t.map,this.alphaMap=t.alphaMap,this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this}}class oL extends Mh{constructor(t){super(),this.isMeshDistanceMaterial=!0,this.type="MeshDistanceMaterial",this.referencePosition=new ee,this.nearDistance=1,this.farDistance=1e3,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(t)}copy(t){return super.copy(t),this.referencePosition.copy(t.referencePosition),this.nearDistance=t.nearDistance,this.farDistance=t.farDistance,this.map=t.map,this.alphaMap=t.alphaMap,this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this}}const aL=`void main() { 3130 gl_Position = vec4( position, 1.0 ); 3131}`,lL=`uniform sampler2D shadow_pass; 3132uniform vec2 resolution; 3133uniform float radius; 3134#include <packing> 3135void main() {
3136 const float samples = float( VSM_SAMPLES ); 3137 float mean = 0.0; 3138 float squared_mean = 0.0; 3139 float uvStride = samples <= 1.0 ? 0.0 : 2.0 / ( samples - 1.0 ); 3140 float uvStart = samples <= 1.0 ? 0.0 : - 1.0; 3141 for ( float i = 0.0; i < samples; i ++ ) { 3142 float uvOffset = uvStart + i * uvStride; 3143 #ifdef HORIZONTAL_PASS 3144 vec2 distribution = unpackRGBATo2Half( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( uvOffset, 0.0 ) * radius ) / resolution ) ); 3145 mean += distribution.x; 3146 squared_mean += distribution.y * distribution.y + distribution.x * distribution.x; 3147 #else 3148 float depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, uvOffset ) * radius ) / resolution ) ); 3149 mean += depth; 3150 squared_mean += depth * depth; 3151 #endif 3152 } 3153 mean = mean / samples; 3154 squared_mean = squared_mean / samples; 3155 float std_dev = sqrt( squared_mean - mean * mean ); 3156 gl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) ); 3157}`;function cL(n,t,e){let i=new _x;const r=new fn,s=new fn,A=new pi,o=new AL({depthPacking:wU}),a=new oL,l={},c=e.maxTextureSize,u={0:Ur,1:$a,2:CA},f=new Ro({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new fn},radius:{value:4}},vertexShader:aL,fragmentShader:lL}),m=f.clone();m.defines.HORIZONTAL_PASS=1;const y=new Go;y.setAttribute("position",new ds(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));const h=new SA(y,f),g=this;this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=rx,this.render=function(L,R,j){if(g.enabled===!1||g.autoUpdate===!1&&g.needsUpdate===!1||L.length===0)return;const st=n.getRenderTarget(),O=n.getActiveCubeFace(),V=n.getActiveMipmapLevel(),gt=n.state;gt.setBlending(LA),gt.buffers.color.setClear(1,1,1,1),gt.buffers.depth.setTest(!0),gt.setScissorTest(!1);for(let Nt=0,Dt=L.length;Nt<Dt;Nt++){const Et=L[Nt],xt=Et.shadow;if(xt===void 0){console.warn("THREE.WebGLShadowMap:",Et,"has no shadow.");continue}if(xt.autoUpdate===!1&&xt.needsUpdate===!1)continue;r.copy(xt.mapSize);const Xt=xt.getFrameExtents();if(r.multiply(Xt),s.copy(xt.mapSize),(r.x>c||r.y>c)&&(r.x>c&&(s.x=Math.floor(c/Xt.x),r.x=s.x*Xt.x,xt.mapSize.x=s.x),r.y>c&&(s.y=Math.floor(c/Xt.y),r.y=s.y*Xt.y,xt.mapSize.y=s.y)),xt.map===null){const Gt=this.type!==Il?{minFilter:Gi,magFilter:Gi}:{};xt.map=new Po(r.x,r.y,Gt),xt.map.texture.name=Et.name+".shadowMap",xt.camera.updateProjectionMatrix()}n.setRenderTarget(xt.map),n.clear();const jt=xt.getViewportCount();for(let Gt=0;Gt<jt;Gt++){const Wt=xt.getViewport(Gt);A.set(s.x*Wt.x,s.y*Wt.y,s.x*Wt.z,s.y*Wt.w),gt.viewport(A),xt.updateMatrices(Et,Gt),i=xt.getFrustum(),N(R,j,xt.camera,Et,this.type)}xt.isPointLightShadow!==!0&&this.type===Il&&b(xt,j),xt.needsUpdate=!1}g.needsUpdate=!1,n.setRenderTarget(st,O,V)};function b(L,R){const j=t.update(h);f.defines.VSM_SAMPLES!==L.blurSamples&&(f.defines.VSM_SAMPLES=L.blurSamples,m.defines.VSM_SAMPLES=L.blurSamples,f.needsUpdate=!0,m.needsUpdate=!0),L.mapPass===null&&(L.mapPass=new Po(r.x,r.y)),f.uniforms.shadow_pass.value=L.map.texture,f.uniforms.resolution.value=L.mapSize,f.uniforms.radius.value=L.radius,n.setRenderTarget(L.mapPass),n.clear(),n.renderBufferDirect(R,null,j,f,h,null),m.uniforms.shadow_pass.value=L.mapPass.texture,m.uniforms.resolution.value=L.mapSize,m.uniforms.radius.value=L.radius,n.setRenderTarget(L.map),n.clear(),n.renderBufferDirect(R,null,j,m,h,null)}function U(L,R,j,st,O,V){let gt=null;const Nt=j.isPointLight===!0?L.customDistanceMaterial:L.customDepthMaterial;if(Nt!==void 0?gt=Nt:gt=j.isPointLight===!0?a:o,n.localClippingEnabled&&R.clipShadows===!0&&Array.isArray(R.clippingPlanes)&&R.clippingPlanes.length!==0||R.displacementMap&&R.displacementScale!==0||R.alphaMap&&R.alphaTest>0){const Dt=gt.uuid,Et=R.uuid;let xt=l[Dt];xt===void 0&&(xt={},l[Dt]=xt);let Xt=xt[Et];Xt===void 0&&(Xt=gt.clone(),xt[Et]=Xt),gt=Xt}return gt.visible=R.visible,gt.wireframe=R.wireframe,V===Il?gt.side=R.shadowSide!==null?R.shadowSide:R.side:gt.side=R.shadowSide!==null?R.shadowSide:u[R.side],gt.alphaMap=R.alphaMap,gt.alphaTest=R.alphaTest,gt.clipShadows=R.clipShadows,gt.clippingPlanes=R.clippingPlanes,gt.clipIntersection=R.clipIntersection,gt.displacementMap=R.displacementMap,gt.displacementScale=R.displacementScale,gt.displacementBias=R.displacementBias,gt.wireframeLinewidth=R.wireframeLinewidth,gt.linewidth=R.linewidth,j.isPointLight===!0&>.isMeshDistanceMaterial===!0&&(gt.referencePosition.setFromMatrixPosition(j.matrixWorld),gt.nearDistance=st,gt.farDistance=O),gt}function N(L,R,j,st,O){if(L.visible===!1)return;if(L.layers.test(R.layers)&&(L.isMesh||L.isLine||L.isPoints)&&(L.castShadow||L.receiveShadow&&O===Il)&&(!L.frustumCulled||i.intersectsObject(L))){L.modelViewMatrix.multiplyMatrices(j.matrixWorldInverse,L.matrixWorld);const Nt=t.update(L),Dt=L.material;if(Array.isArray(Dt)){const Et=Nt.groups;for(let xt=0,Xt=Et.length;xt<Xt;xt++){const jt=Et[xt],Gt=Dt[jt.materialIndex];if(Gt&&Gt.visible){const Wt=U(L,Gt,st,j.near,j.far,O);n.renderBufferDirect(j,null,Nt,Wt,L,jt)}}}else if(Dt.visible){const Et=U(L,Dt,st,j.near,j.far,O);n.renderBufferDirect(j,null,Nt,Et,L,null)}}const gt=L.children;for(let Nt=0,Dt=gt.length;Nt<Dt;Nt++)N(gt[Nt],R,j,st,O)}}function uL(n,t,e){const i=e.isWebGL2;function r(){let Qt=!1;const Re=new pi;let Qe=null;const me=new pi(0,0,0,0);return{setMask:function(Ie){Qe!==Ie&&!Qt&&(n.colorMask(Ie,Ie,Ie,Ie),Qe=Ie)},setLocked:function(Ie){Qt=Ie},setClear:function(Ie,Ye,_n,B,Q){Q===!0&&(Ie*=B,Ye*=B,_n*=B),Re.set(Ie,Ye,_n,B),me.equals(Re)===!1&&(n.clearColor(Ie,Ye,_n,B),me.copy(Re))},reset:function(){Qt=!1,Qe=null,me.set(-1,0,0,0)}}}function s(){let Qt=!1,Re=null,Qe=null,me=null;return{setTest:function(Ie){Ie?re(2929):le(2929)},setMask:function(Ie){Re!==Ie&&!Qt&&(n.depthMask(Ie),Re=Ie)},setFunc:function(Ie){if(Qe!==Ie){switch(Ie){case NM:n.depthFunc(512);break;case zM:n.depthFunc(519);break;case VM:n.depthFunc(513);break;
3157case vg:n.depthFunc(515);break;case GM:n.depthFunc(514);break;case KM:n.depthFunc(518);break;case WM:n.depthFunc(516);break;case qM:n.depthFunc(517);break;default:n.depthFunc(515)}Qe=Ie}},setLocked:function(Ie){Qt=Ie},setClear:function(Ie){me!==Ie&&(n.clearDepth(Ie),me=Ie)},reset:function(){Qt=!1,Re=null,Qe=null,me=null}}}function A(){let Qt=!1,Re=null,Qe=null,me=null,Ie=null,Ye=null,_n=null,B=null,Q=null;return{setTest:function(D){Qt||(D?re(2960):le(2960))},setMask:function(D){Re!==D&&!Qt&&(n.stencilMask(D),Re=D)},setFunc:function(D,v,p){(Qe!==D||me!==v||Ie!==p)&&(n.stencilFunc(D,v,p),Qe=D,me=v,Ie=p)},setOp:function(D,v,p){(Ye!==D||_n!==v||B!==p)&&(n.stencilOp(D,v,p),Ye=D,_n=v,B=p)},setLocked:function(D){Qt=D},setClear:function(D){Q!==D&&(n.clearStencil(D),Q=D)},reset:function(){Qt=!1,Re=null,Qe=null,me=null,Ie=null,Ye=null,_n=null,B=null,Q=null}}}const o=new r,a=new s,l=new A,c=new WeakMap,u=new WeakMap;let f={},m={},y=new WeakMap,h=[],g=null,b=!1,U=null,N=null,L=null,R=null,j=null,st=null,O=null,V=!1,gt=null,Nt=null,Dt=null,Et=null,xt=null;const Xt=n.getParameter(35661);let jt=!1,Gt=0;const Wt=n.getParameter(7938);Wt.indexOf("WebGL")!==-1?(Gt=parseFloat(/^WebGL (\d)/.exec(Wt)[1]),jt=Gt>=1):Wt.indexOf("OpenGL ES")!==-1&&(Gt=parseFloat(/^OpenGL ES (\d)/.exec(Wt)[1]),jt=Gt>=2);let kt=null,Vt={};const we=n.getParameter(3088),oe=n.getParameter(2978),Be=new pi().fromArray(we),Ue=new pi().fromArray(oe);function zt(Qt,Re,Qe){const me=new Uint8Array(4),Ie=n.createTexture();n.bindTexture(Qt,Ie),n.texParameteri(Qt,10241,9728),n.texParameteri(Qt,10240,9728);for(let Ye=0;Ye<Qe;Ye++)n.texImage2D(Re+Ye,0,6408,1,1,0,6408,5121,me);return Ie}const Ht={};Ht[3553]=zt(3553,3553,1),Ht[34067]=zt(34067,34069,6),o.setClear(0,0,0,1),a.setClear(1),l.setClear(0),re(2929),a.setFunc(vg),fe(!1),ge(cw),re(2884),bt(LA);function re(Qt){f[Qt]!==!0&&(n.enable(Qt),f[Qt]=!0)}function le(Qt){f[Qt]!==!1&&(n.disable(Qt),f[Qt]=!1)}function Le(Qt,Re){return m[Qt]!==Re?(n.bindFramebuffer(Qt,Re),m[Qt]=Re,i&&(Qt===36009&&(m[36160]=Re),Qt===36160&&(m[36009]=Re)),!0):!1}function xe(Qt,Re){let Qe=h,me=!1;if(Qt)if(Qe=y.get(Re),Qe===void 0&&(Qe=[],y.set(Re,Qe)),Qt.isWebGLMultipleRenderTargets){const Ie=Qt.texture;if(Qe.length!==Ie.length||Qe[0]!==36064){for(let Ye=0,_n=Ie.length;Ye<_n;Ye++)Qe[Ye]=36064+Ye;Qe.length=Ie.length,me=!0}}else Qe[0]!==36064&&(Qe[0]=36064,me=!0);else Qe[0]!==1029&&(Qe[0]=1029,me=!0);me&&(e.isWebGL2?n.drawBuffers(Qe):t.get("WEBGL_draw_buffers").drawBuffersWEBGL(Qe))}function De(Qt){return g!==Qt?(n.useProgram(Qt),g=Qt,!0):!1}const Te={[_a]:32774,[UM]:32778,[TM]:32779};if(i)Te[dw]=32775,Te[pw]=32776;else{const Qt=t.get("EXT_blend_minmax");Qt!==null&&(Te[dw]=Qt.MIN_EXT,Te[pw]=Qt.MAX_EXT)}const it={[IM]:0,[QM]:1,[LM]:768,[Ax]:770,[kM]:776,[OM]:774,[DM]:772,[PM]:769,[ox]:771,[HM]:775,[RM]:773};function bt(Qt,Re,Qe,me,Ie,Ye,_n,B){if(Qt===LA){b===!0&&(le(3042),b=!1);return}if(b===!1&&(re(3042),b=!0),Qt!==MM){if(Qt!==U||B!==V){if((N!==_a||j!==_a)&&(n.blendEquation(32774),N=_a,j=_a),B)switch(Qt){case Ha:n.blendFuncSeparate(1,771,1,771);break;case uw:n.blendFunc(1,1);break;case fw:n.blendFuncSeparate(0,769,0,1);break;case hw:n.blendFuncSeparate(0,768,0,770);break;default:console.error("THREE.WebGLState: Invalid blending: ",Qt);break}else switch(Qt){case Ha:n.blendFuncSeparate(770,771,1,771);break;case uw:n.blendFunc(770,1);break;case fw:n.blendFuncSeparate(0,769,0,1);break;case hw:n.blendFunc(0,768);break;default:console.error("THREE.WebGLState: Invalid blending: ",Qt);break}L=null,R=null,st=null,O=null,U=Qt,V=B}return}Ie=Ie||Re,Ye=Ye||Qe,_n=_n||me,(Re!==N||Ie!==j)&&(n.blendEquationSeparate(Te[Re],Te[Ie]),N=Re,j=Ie),(Qe!==L||me!==R||Ye!==st||_n!==O)&&(n.blendFuncSeparate(it[Qe],it[me],it[Ye],it[_n]),L=Qe,R=me,st=Ye,O=_n),U=Qt,V=null}function Jt(Qt,Re){Qt.side===CA?le(2884):re(2884);let Qe=Qt.side===Ur;Re&&(Qe=!Qe),fe(Qe),Qt.blending===Ha&&Qt.transparent===!1?bt(LA):bt(Qt.blending,Qt.blendEquation,Qt.blendSrc,Qt.blendDst,Qt.blendEquationAlpha,Qt.blendSrcAlpha,Qt.blendDstAlpha,Qt.premultipliedAlpha),a.setFunc(Qt.depthFunc),a.setTest(Qt.depthTest),a.setMask(Qt.depthWrite),o.setMask(Qt.colorWrite);const me=Qt.stencilWrite;
3157l.setTest(me),me&&(l.setMask(Qt.stencilWriteMask),l.setFunc(Qt.stencilFunc,Qt.stencilRef,Qt.stencilFuncMask),l.setOp(Qt.stencilFail,Qt.stencilZFail,Qt.stencilZPass)),pe(Qt.polygonOffset,Qt.polygonOffsetFactor,Qt.polygonOffsetUnits),Qt.alphaToCoverage===!0?re(32926):le(32926)}function fe(Qt){gt!==Qt&&(Qt?n.frontFace(2304):n.frontFace(2305),gt=Qt)}function ge(Qt){Qt!==FM?(re(2884),Qt!==Nt&&(Qt===cw?n.cullFace(1029):Qt===EM?n.cullFace(1028):n.cullFace(1032))):le(2884),Nt=Qt}function ue(Qt){Qt!==Dt&&(jt&&n.lineWidth(Qt),Dt=Qt)}function pe(Qt,Re,Qe){Qt?(re(32823),(Et!==Re||xt!==Qe)&&(n.polygonOffset(Re,Qe),Et=Re,xt=Qe)):le(32823)}function he(Qt){Qt?re(3089):le(3089)}function _e(Qt){Qt===void 0&&(Qt=33984+Xt-1),kt!==Qt&&(n.activeTexture(Qt),kt=Qt)}function J(Qt,Re,Qe){Qe===void 0&&(kt===null?Qe=33984+Xt-1:Qe=kt);let me=Vt[Qe];me===void 0&&(me={type:void 0,texture:void 0},Vt[Qe]=me),(me.type!==Qt||me.texture!==Re)&&(kt!==Qe&&(n.activeTexture(Qe),kt=Qe),n.bindTexture(Qt,Re||Ht[Qt]),me.type=Qt,me.texture=Re)}function Z(){const Qt=Vt[kt];Qt!==void 0&&Qt.type!==void 0&&(n.bindTexture(Qt.type,null),Qt.type=void 0,Qt.texture=void 0)}function Ct(){try{n.compressedTexImage2D.apply(n,arguments)}catch(Qt){console.error("THREE.WebGLState:",Qt)}}function $t(){try{n.texSubImage2D.apply(n,arguments)}catch(Qt){console.error("THREE.WebGLState:",Qt)}}function pt(){try{n.texSubImage3D.apply(n,arguments)}catch(Qt){console.error("THREE.WebGLState:",Qt)}}function Ft(){try{n.compressedTexSubImage2D.apply(n,arguments)}catch(Qt){console.error("THREE.WebGLState:",Qt)}}function te(){try{n.texStorage2D.apply(n,arguments)}catch(Qt){console.error("THREE.WebGLState:",Qt)}}function lt(){try{n.texStorage3D.apply(n,arguments)}catch(Qt){console.error("THREE.WebGLState:",Qt)}}function St(){try{n.texImage2D.apply(n,arguments)}catch(Qt){console.error("THREE.WebGLState:",Qt)}}function de(){try{n.texImage3D.apply(n,arguments)}catch(Qt){console.error("THREE.WebGLState:",Qt)}}function Se(Qt){Be.equals(Qt)===!1&&(n.scissor(Qt.x,Qt.y,Qt.z,Qt.w),Be.copy(Qt))}function Fe(Qt){Ue.equals(Qt)===!1&&(n.viewport(Qt.x,Qt.y,Qt.z,Qt.w),Ue.copy(Qt))}function ze(Qt,Re){let Qe=u.get(Re);Qe===void 0&&(Qe=new WeakMap,u.set(Re,Qe));let me=Qe.get(Qt);me===void 0&&(me=n.getUniformBlockIndex(Re,Qt.name),Qe.set(Qt,me))}function je(Qt,Re){const me=u.get(Re).get(Qt);c.get(Qt)!==me&&(n.uniformBlockBinding(Re,me,Qt.__bindingPointIndex),c.set(Qt,me))}function $e(){n.disable(3042),n.disable(2884),n.disable(2929),n.disable(32823),n.disable(3089),n.disable(2960),n.disable(32926),n.blendEquation(32774),n.blendFunc(1,0),n.blendFuncSeparate(1,0,1,0),n.colorMask(!0,!0,!0,!0),n.clearColor(0,0,0,0),n.depthMask(!0),n.depthFunc(513),n.clearDepth(1),n.stencilMask(4294967295),n.stencilFunc(519,0,4294967295),n.stencilOp(7680,7680,7680),n.clearStencil(0),n.cullFace(1029),n.frontFace(2305),n.polygonOffset(0,0),n.activeTexture(33984),n.bindFramebuffer(36160,null),i===!0&&(n.bindFramebuffer(36009,null),n.bindFramebuffer(36008,null)),n.useProgram(null),n.lineWidth(1),n.scissor(0,0,n.canvas.width,n.canvas.height),n.viewport(0,0,n.canvas.width,n.canvas.height),f={},kt=null,Vt={},m={},y=new WeakMap,h=[],g=null,b=!1,U=null,N=null,L=null,R=null,j=null,st=null,O=null,V=!1,gt=null,Nt=null,Dt=null,Et=null,xt=null,Be.set(0,0,n.canvas.width,n.canvas.height),Ue.set(0,0,n.canvas.width,n.canvas.height),o.reset(),a.reset(),l.reset()}return{buffers:{color:o,depth:a,stencil:l},enable:re,disable:le,bindFramebuffer:Le,drawBuffers:xe,useProgram:De,setBlending:bt,setMaterial:Jt,setFlipSided:fe,setCullFace:ge,setLineWidth:ue,setPolygonOffset:pe,setScissorTest:he,activeTexture:_e,bindTexture:J,unbindTexture:Z,compressedTexImage2D:Ct,texImage2D:St,texImage3D:de,updateUBOMapping:ze,uniformBlockBinding:je,texStorage2D:te,texStorage3D:lt,texSubImage2D:$t,texSubImage3D:pt,compressedTexSubImage2D:Ft,scissor:Se,viewport:Fe,reset:$e}}function fL(n,t,e,i,r,s,A){const o=r.isWebGL2,a=r.maxTextures,l=r.maxCubemapSize,c=r.maxTextureSize,u=r.maxSamples,f=t.has("WEBGL_multisampled_render_to_texture")?t.get("WEBGL_multisampled_render_to_texture"):null,m=/OculusBrowser/g.test(navigator.userAgent),y=new WeakMap;let h;const g=new WeakMap;let b=!1;try{b=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")!==null}catch{}function U(J,Z){return b?new OffscreenCanvas(J,Z):Of("canvas")}function N(J,Z,Ct,$t){let pt=1;if((J.width>$t||J.height>$t)&&(pt=$t/Math.max(J.width,J.height)),pt<1||Z===!0)if(typeof HTMLImageElement<"u"&&J instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&J instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&J instanceof ImageBitmap){const Ft=Z?Cg:Math.floor,te=Ft(pt*J.width),lt=Ft(pt*J.height);h===void 0&&(h=U(te,lt));const St=Ct?U(te,lt):h;return St.width=te,St.height=lt,St.getContext("2d").drawImage(J,0,0,te,lt),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+J.width+"x"+J.height+") to ("+te+"x"+lt+")."),St}else return"data"in J&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+J.width+"x"+J.height+")."),J;return J}function L(J){return zw(J.width)&&zw(J.height)}function R(J){return o?!1:J.wrapS!==Nr||J.wrapT!==Nr||J.minFilter!==Gi&&J.minFilter!==Br}function j(J,Z){return J.generateMipmaps&&Z&&J.minFilter!==Gi&&J.minFilter!==Br}function st(J){n.generateMipmap(J)}function O(J,Z,Ct,$t,pt=!1){if(o===!1)return Z;if(J!==null){if(n[J]!==void 0)return n[J];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+J+"'")}let Ft=Z;return Z===6403&&(Ct===5126&&(Ft=33326),Ct===5131&&(Ft=33325),Ct===5121&&(Ft=33321)),Z===33319&&(Ct===5126&&(Ft=33328),Ct===5131&&(Ft=33327),Ct===5121&&(Ft=33323)),Z===6408&&(Ct===5126&&(Ft=34836),Ct===5131&&(Ft=34842),Ct===5121&&(Ft=$t===kn&&pt===!1?35907:32856),Ct===32819&&(Ft=32854),Ct===32820&&(Ft=32855)),(Ft===33325||Ft===33326||Ft===33327||Ft===33328||Ft===34842||Ft===34836)&&t.get("EXT_color_buffer_float"),Ft}function V(J,Z,Ct){return j(J,Ct)===!0||J.isFramebufferTexture&&J.minFilter!==Gi&&J.minFilter!==Br?Math.log2(Math.max(Z.width,Z.height))+1:J.mipmaps!==void 0&&J.mipmaps.length>0?J.mipmaps.length:J.isCompressedTexture&&Array.isArray(J.image)?Z.mipmaps.length:1}function gt(J){return J===Gi||J===gw||J===mw?9728:9729}function Nt(J){const Z=J.target;Z.removeEventListener("dispose",Nt),Et(Z),Z.isVideoTexture&&y.delete(Z)}function Dt(J){const Z=J.target;Z.removeEventListener("dispose",Dt),Xt(Z)}function Et(J){const Z=i.get(J);
3157if(Z.__webglInit===void 0)return;const Ct=J.source,$t=g.get(Ct);if($t){const pt=$t[Z.__cacheKey];pt.usedTimes--,pt.usedTimes===0&&xt(J),Object.keys($t).length===0&&g.delete(Ct)}i.remove(J)}function xt(J){const Z=i.get(J);n.deleteTexture(Z.__webglTexture);const Ct=J.source,$t=g.get(Ct);delete $t[Z.__cacheKey],A.memory.textures--}function Xt(J){const Z=J.texture,Ct=i.get(J),$t=i.get(Z);if($t.__webglTexture!==void 0&&(n.deleteTexture($t.__webglTexture),A.memory.textures--),J.depthTexture&&J.depthTexture.dispose(),J.isWebGLCubeRenderTarget)for(let pt=0;pt<6;pt++)n.deleteFramebuffer(Ct.__webglFramebuffer[pt]),Ct.__webglDepthbuffer&&n.deleteRenderbuffer(Ct.__webglDepthbuffer[pt]);else{if(n.deleteFramebuffer(Ct.__webglFramebuffer),Ct.__webglDepthbuffer&&n.deleteRenderbuffer(Ct.__webglDepthbuffer),Ct.__webglMultisampledFramebuffer&&n.deleteFramebuffer(Ct.__webglMultisampledFramebuffer),Ct.__webglColorRenderbuffer)for(let pt=0;pt<Ct.__webglColorRenderbuffer.length;pt++)Ct.__webglColorRenderbuffer[pt]&&n.deleteRenderbuffer(Ct.__webglColorRenderbuffer[pt]);Ct.__webglDepthRenderbuffer&&n.deleteRenderbuffer(Ct.__webglDepthRenderbuffer)}if(J.isWebGLMultipleRenderTargets)for(let pt=0,Ft=Z.length;pt<Ft;pt++){const te=i.get(Z[pt]);te.__webglTexture&&(n.deleteTexture(te.__webglTexture),A.memory.textures--),i.remove(Z[pt])}i.remove(Z),i.remove(J)}let jt=0;function Gt(){jt=0}function Wt(){const J=jt;return J>=a&&console.warn("THREE.WebGLTextures: Trying to use "+J+" texture units while this GPU supports only "+a),jt+=1,J}function kt(J){const Z=[];return Z.push(J.wrapS),Z.push(J.wrapT),Z.push(J.magFilter),Z.push(J.minFilter),Z.push(J.anisotropy),Z.push(J.internalFormat),Z.push(J.format),Z.push(J.type),Z.push(J.generateMipmaps),Z.push(J.premultiplyAlpha),Z.push(J.flipY),Z.push(J.unpackAlignment),Z.push(J.encoding),Z.join()}function Vt(J,Z){const Ct=i.get(J);if(J.isVideoTexture&&he(J),J.isRenderTargetTexture===!1&&J.version>0&&Ct.__version!==J.version){const $t=J.image;if($t===null)console.warn("THREE.WebGLRenderer: Texture marked for update but no image data found.");else if($t.complete===!1)console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete");else{le(Ct,J,Z);return}}e.bindTexture(3553,Ct.__webglTexture,33984+Z)}function we(J,Z){const Ct=i.get(J);if(J.version>0&&Ct.__version!==J.version){le(Ct,J,Z);return}e.bindTexture(35866,Ct.__webglTexture,33984+Z)}function oe(J,Z){const Ct=i.get(J);if(J.version>0&&Ct.__version!==J.version){le(Ct,J,Z);return}e.bindTexture(32879,Ct.__webglTexture,33984+Z)}function Be(J,Z){const Ct=i.get(J);if(J.version>0&&Ct.__version!==J.version){Le(Ct,J,Z);return}e.bindTexture(34067,Ct.__webglTexture,33984+Z)}const Ue={[_g]:10497,[Nr]:33071,[xg]:33648},zt={[Gi]:9728,[gw]:9984,[mw]:9986,[Br]:9729,[eU]:9985,[Eh]:9987};function Ht(J,Z,Ct){if(Ct?(n.texParameteri(J,10242,Ue[Z.wrapS]),n.texParameteri(J,10243,Ue[Z.wrapT]),(J===32879||J===35866)&&n.texParameteri(J,32882,Ue[Z.wrapR]),n.texParameteri(J,10240,zt[Z.magFilter]),n.texParameteri(J,10241,zt[Z.minFilter])):(n.texParameteri(J,10242,33071),n.texParameteri(J,10243,33071),(J===32879||J===35866)&&n.texParameteri(J,32882,33071),(Z.wrapS!==Nr||Z.wrapT!==Nr)&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."),n.texParameteri(J,10240,gt(Z.magFilter)),n.texParameteri(J,10241,gt(Z.minFilter)),Z.minFilter!==Gi&&Z.minFilter!==Br&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.")),t.has("EXT_texture_filter_anisotropic")===!0){const $t=t.get("EXT_texture_filter_anisotropic");if(Z.type===go&&t.has("OES_texture_float_linear")===!1||o===!1&&Z.type===bc&&t.has("OES_texture_half_float_linear")===!1)return;(Z.anisotropy>1||i.get(Z).__currentAnisotropy)&&(n.texParameterf(J,$t.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(Z.anisotropy,r.getMaxAnisotropy())),i.get(Z).__currentAnisotropy=Z.anisotropy)}}function re(J,Z){let Ct=!1;J.__webglInit===void 0&&(J.__webglInit=!0,Z.addEventListener("dispose",Nt));const $t=Z.source;let pt=g.get($t);pt===void 0&&(pt={},g.set($t,pt));const Ft=kt(Z);if(Ft!==J.__cacheKey){pt[Ft]===void 0&&(pt[Ft]={texture:n.createTexture(),usedTimes:0},A.memory.textures++,Ct=!0),pt[Ft].usedTimes++;const te=pt[J.__cacheKey];te!==void 0&&(pt[J.__cacheKey].usedTimes--,te.usedTimes===0&&xt(Z)),J.__cacheKey=Ft,J.__webglTexture=pt[Ft].texture}return Ct}function le(J,Z,Ct){let $t=3553;Z.isDataArrayTexture&&($t=35866),Z.isData3DTexture&&($t=32879);const pt=re(J,Z),Ft=Z.source;e.bindTexture($t,J.__webglTexture,33984+Ct);const te=i.get(Ft);if(Ft.version!==te.__version||pt===!0){e.activeTexture(33984+Ct),n.pixelStorei(37440,Z.flipY),n.pixelStorei(37441,Z.premultiplyAlpha),n.pixelStorei(3317,Z.unpackAlignment),n.pixelStorei(37443,0);const lt=R(Z)&&L(Z.image)===!1;let St=N(Z.image,lt,!1,c);St=_e(Z,St);const de=L(St)||o,Se=s.convert(Z.format,Z.encoding);let Fe=s.convert(Z.type),ze=O(Z.internalFormat,Se,Fe,Z.encoding,Z.isVideoTexture);Ht($t,Z,de);let je;const $e=Z.mipmaps,Qt=o&&Z.isVideoTexture!==!0,Re=te.__version===void 0||pt===!0,Qe=V(Z,St,de);if(Z.isDepthTexture)ze=6402,o?Z.type===go?ze=36012:Z.type===po?ze=33190:Z.type===ka?ze=35056:ze=33189:Z.type===go&&console.error("WebGLRenderer: Floating point depth texture requires WebGL2."),Z.format===So&&ze===6402&&Z.type!==cx&&Z.type!==po&&(console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."),Z.type=po,Fe=s.convert(Z.type)),Z.format===nl&&ze===6402&&(ze=34041,Z.type!==ka&&(console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."),Z.type=ka,Fe=s.convert(Z.type))),Re&&(Qt?e.texStorage2D(3553,1,ze,St.width,St.height):e.texImage2D(3553,0,ze,St.width,St.height,0,Se,Fe,null));else if(Z.isDataTexture)if($e.length>0&&de){Qt&&Re&&e.texStorage2D(3553,Qe,ze,$e[0].width,$e[0].height);for(let me=0,Ie=$e.length;me<Ie;me++)je=$e[me],Qt?e.texSubImage2D(3553,me,0,0,je.width,je.height,Se,Fe,je.data):e.texImage2D(3553,me,ze,je.width,je.height,0,Se,Fe,je.data);Z.generateMipmaps=!1}else Qt?(Re&&e.texStorage2D(3553,Qe,ze,St.width,St.height),e.texSubImage2D(3553,0,0,0,St.width,St.height,Se,Fe,St.data)):e.texImage2D(3553,0,ze,St.width,St.height,0,Se,Fe,St.data);else if(Z.isCompressedTexture){Qt&&Re&&e.texStorage2D(3553,Qe,ze,$e[0].width,$e[0].height);for(let me=0,Ie=$e.length;me<Ie;me++)je=$e[me],Z.format!==ls?Se!==null?Qt?e.compressedTexSubImage2D(3553,me,0,0,je.width,je.height,Se,je.data):e.compressedTexImage2D(3553,me,ze,je.width,je.height,0,je.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"):Qt?e.texSubImage2D(3553,me,0,0,je.width,je.height,Se,Fe,je.data):e.texImage2D(3553,me,ze,je.width,je.height,0,Se,Fe,je.data)}else if(Z.isDataArrayTexture)Qt?(Re&&e.texStorage3D(35866,Qe,ze,St.width,St.height,St.depth),e.texSubImage3D(35866,0,0,0,0,St.width,St.height,St.depth,Se,Fe,St.data)):e.texImage3D(35866,0,ze,St.width,St.height,St.depth,0,Se,Fe,St.data);else if(Z.isData3DTexture)Qt?(Re&&e.texStorage3D(32879,Qe,ze,St.width,St.height,St.depth),e.texSubImage3D(32879,0,0,0,0,St.width,St.height,St.depth,Se,Fe,St.data)):e.texImage3D(32879,0,ze,St.width,St.height,St.depth,0,Se,Fe,St.data);else if(Z.isFramebufferTexture){if(Re)if(Qt)e.texStorage2D(3553,Qe,ze,St.width,St.height);else{let me=St.width,Ie=St.height;for(let Ye=0;Ye<Qe;Ye++)e.texImage2D(3553,Ye,ze,me,Ie,0,Se,Fe,null),me>>=1,Ie>>=1}}else if($e.length>0&&de){Qt&&Re&&e.texStorage2D(3553,Qe,ze,$e[0].width,$e[0].height);for(let me=0,Ie=$e.length;me<Ie;me++)je=$e[me],Qt?e.texSubImage2D(3553,me,0,0,Se,Fe,je):e.texImage2D(3553,me,ze,Se,Fe,je);Z.generateMipmaps=!1}else Qt?(Re&&e.texStorage2D(3553,Qe,ze,St.width,St.height),e.texSubImage2D(3553,0,0,0,Se,Fe,St)):e.texImage2D(3553,0,ze,Se,Fe,St);j(Z,de)&&st($t),te.__version=Ft.version,Z.onUpdate&&Z.onUpdate(Z)}J.__version=Z.version}function Le(J,Z,Ct){if(Z.image.length!==6)return;const $t=re(J,Z),pt=Z.source;e.bindTexture(34067,J.__webglTexture,33984+Ct);const Ft=i.get(pt);if(pt.version!==Ft.__version||$t===!0){e.activeTexture(33984+Ct),n.pixelStorei(37440,Z.flipY),n.pixelStorei(37441,Z.premultiplyAlpha),n.pixelStorei(3317,Z.unpackAlignment),n.pixelStorei(37443,0);const te=Z.isCompressedTexture||Z.image[0].isCompressedTexture,lt=Z.image[0]&&Z.image[0].isDataTexture,St=[];for(let me=0;me<6;
vendor: 8,610 bytes, line 3157
3157me++)!te&&!lt?St[me]=N(Z.image[me],!1,!0,l):St[me]=lt?Z.image[me].image:Z.image[me],St[me]=_e(Z,St[me]);const de=St[0],Se=L(de)||o,Fe=s.convert(Z.format,Z.encoding),ze=s.convert(Z.type),je=O(Z.internalFormat,Fe,ze,Z.encoding),$e=o&&Z.isVideoTexture!==!0,Qt=Ft.__version===void 0||$t===!0;let Re=V(Z,de,Se);Ht(34067,Z,Se);let Qe;if(te){$e&&Qt&&e.texStorage2D(34067,Re,je,de.width,de.height);for(let me=0;me<6;me++){Qe=St[me].mipmaps;for(let Ie=0;Ie<Qe.length;Ie++){const Ye=Qe[Ie];Z.format!==ls?Fe!==null?$e?e.compressedTexSubImage2D(34069+me,Ie,0,0,Ye.width,Ye.height,Fe,Ye.data):e.compressedTexImage2D(34069+me,Ie,je,Ye.width,Ye.height,0,Ye.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()"):$e?e.texSubImage2D(34069+me,Ie,0,0,Ye.width,Ye.height,Fe,ze,Ye.data):e.texImage2D(34069+me,Ie,je,Ye.width,Ye.height,0,Fe,ze,Ye.data)}}}else{Qe=Z.mipmaps,$e&&Qt&&(Qe.length>0&&Re++,e.texStorage2D(34067,Re,je,St[0].width,St[0].height));for(let me=0;me<6;me++)if(lt){$e?e.texSubImage2D(34069+me,0,0,0,St[me].width,St[me].height,Fe,ze,St[me].data):e.texImage2D(34069+me,0,je,St[me].width,St[me].height,0,Fe,ze,St[me].data);for(let Ie=0;Ie<Qe.length;Ie++){const _n=Qe[Ie].image[me].image;$e?e.texSubImage2D(34069+me,Ie+1,0,0,_n.width,_n.height,Fe,ze,_n.data):e.texImage2D(34069+me,Ie+1,je,_n.width,_n.height,0,Fe,ze,_n.data)}}else{$e?e.texSubImage2D(34069+me,0,0,0,Fe,ze,St[me]):e.texImage2D(34069+me,0,je,Fe,ze,St[me]);for(let Ie=0;Ie<Qe.length;Ie++){const Ye=Qe[Ie];$e?e.texSubImage2D(34069+me,Ie+1,0,0,Fe,ze,Ye.image[me]):e.texImage2D(34069+me,Ie+1,je,Fe,ze,Ye.image[me])}}}j(Z,Se)&&st(34067),Ft.__version=pt.version,Z.onUpdate&&Z.onUpdate(Z)}J.__version=Z.version}function xe(J,Z,Ct,$t,pt){const Ft=s.convert(Ct.format,Ct.encoding),te=s.convert(Ct.type),lt=O(Ct.internalFormat,Ft,te,Ct.encoding);i.get(Z).__hasExternalTextures||(pt===32879||pt===35866?e.texImage3D(pt,0,lt,Z.width,Z.height,Z.depth,0,Ft,te,null):e.texImage2D(pt,0,lt,Z.width,Z.height,0,Ft,te,null)),e.bindFramebuffer(36160,J),pe(Z)?f.framebufferTexture2DMultisampleEXT(36160,$t,pt,i.get(Ct).__webglTexture,0,ue(Z)):n.framebufferTexture2D(36160,$t,pt,i.get(Ct).__webglTexture,0),e.bindFramebuffer(36160,null)}function De(J,Z,Ct){if(n.bindRenderbuffer(36161,J),Z.depthBuffer&&!Z.stencilBuffer){let $t=33189;if(Ct||pe(Z)){const pt=Z.depthTexture;pt&&pt.isDepthTexture&&(pt.type===go?$t=36012:pt.type===po&&($t=33190));const Ft=ue(Z);pe(Z)?f.renderbufferStorageMultisampleEXT(36161,Ft,$t,Z.width,Z.height):n.renderbufferStorageMultisample(36161,Ft,$t,Z.width,Z.height)}else n.renderbufferStorage(36161,$t,Z.width,Z.height);n.framebufferRenderbuffer(36160,36096,36161,J)}else if(Z.depthBuffer&&Z.stencilBuffer){const $t=ue(Z);Ct&&pe(Z)===!1?n.renderbufferStorageMultisample(36161,$t,35056,Z.width,Z.height):pe(Z)?f.renderbufferStorageMultisampleEXT(36161,$t,35056,Z.width,Z.height):n.renderbufferStorage(36161,34041,Z.width,Z.height),n.framebufferRenderbuffer(36160,33306,36161,J)}else{const $t=Z.isWebGLMultipleRenderTargets===!0?Z.texture:[Z.texture];for(let pt=0;pt<$t.length;pt++){const Ft=$t[pt],te=s.convert(Ft.format,Ft.encoding),lt=s.convert(Ft.type),St=O(Ft.internalFormat,te,lt,Ft.encoding),de=ue(Z);Ct&&pe(Z)===!1?n.renderbufferStorageMultisample(36161,de,St,Z.width,Z.height):pe(Z)?f.renderbufferStorageMultisampleEXT(36161,de,St,Z.width,Z.height):n.renderbufferStorage(36161,St,Z.width,Z.height)}}n.bindRenderbuffer(36161,null)}function Te(J,Z){if(Z&&Z.isWebGLCubeRenderTarget)throw new Error("Depth Texture with cube render targets is not supported");if(e.bindFramebuffer(36160,J),!(Z.depthTexture&&Z.depthTexture.isDepthTexture))throw new Error("renderTarget.depthTexture must be an instance of THREE.DepthTexture");(!i.get(Z.depthTexture).__webglTexture||Z.depthTexture.image.width!==Z.width||Z.depthTexture.image.height!==Z.height)&&(Z.depthTexture.image.width=Z.width,Z.depthTexture.image.height=Z.height,Z.depthTexture.needsUpdate=!0),Vt(Z.depthTexture,0);const $t=i.get(Z.depthTexture).__webglTexture,pt=ue(Z);if(Z.depthTexture.format===So)pe(Z)?f.framebufferTexture2DMultisampleEXT(36160,36096,3553,$t,0,pt):n.framebufferTexture2D(36160,36096,3553,$t,0);else if(Z.depthTexture.format===nl)pe(Z)?f.framebufferTexture2DMultisampleEXT(36160,33306,3553,$t,0,pt):n.framebufferTexture2D(36160,33306,3553,$t,0);else throw new Error("Unknown depthTexture format")}function it(J){const Z=i.get(J),Ct=J.isWebGLCubeRenderTarget===!0;if(J.depthTexture&&!Z.__autoAllocateDepthBuffer){if(Ct)throw new Error("target.depthTexture not supported in Cube render targets");Te(Z.__webglFramebuffer,J)}else if(Ct){Z.__webglDepthbuffer=[];for(let $t=0;$t<6;$t++)e.bindFramebuffer(36160,Z.__webglFramebuffer[$t]),Z.__webglDepthbuffer[$t]=n.createRenderbuffer(),De(Z.__webglDepthbuffer[$t],J,!1)}else e.bindFramebuffer(36160,Z.__webglFramebuffer),Z.__webglDepthbuffer=n.createRenderbuffer(),De(Z.__webglDepthbuffer,J,!1);e.bindFramebuffer(36160,null)}function bt(J,Z,Ct){const $t=i.get(J);Z!==void 0&&xe($t.__webglFramebuffer,J,J.texture,36064,3553),Ct!==void 0&&it(J)}function Jt(J){const Z=J.texture,Ct=i.get(J),$t=i.get(Z);J.addEventListener("dispose",Dt),J.isWebGLMultipleRenderTargets!==!0&&($t.__webglTexture===void 0&&($t.__webglTexture=n.createTexture()),$t.__version=Z.version,A.memory.textures++);const pt=J.isWebGLCubeRenderTarget===!0,Ft=J.isWebGLMultipleRenderTargets===!0,te=L(J)||o;if(pt){Ct.__webglFramebuffer=[];for(let lt=0;lt<6;lt++)Ct.__webglFramebuffer[lt]=n.createFramebuffer()}else{if(Ct.__webglFramebuffer=n.createFramebuffer(),Ft)if(r.drawBuffers){const lt=J.texture;for(let St=0,de=lt.length;St<de;St++){const Se=i.get(lt[St]);Se.__webglTexture===void 0&&(Se.__webglTexture=n.createTexture(),A.memory.textures++)}}else console.warn("THREE.WebGLRenderer: WebGLMultipleRenderTargets can only be used with WebGL2 or WEBGL_draw_buffers extension.");if(o&&J.samples>0&&pe(J)===!1){const lt=Ft?Z:[Z];Ct.__webglMultisampledFramebuffer=n.createFramebuffer(),Ct.__webglColorRenderbuffer=[],e.bindFramebuffer(36160,Ct.__webglMultisampledFramebuffer);for(let St=0;St<lt.length;St++){const de=lt[St];Ct.__webglColorRenderbuffer[St]=n.createRenderbuffer(),n.bindRenderbuffer(36161,Ct.__webglColorRenderbuffer[St]);const Se=s.convert(de.format,de.encoding),Fe=s.convert(de.type),ze=O(de.internalFormat,Se,Fe,de.encoding,J.isXRRenderTarget===!0),je=ue(J);n.renderbufferStorageMultisample(36161,je,ze,J.width,J.height),n.framebufferRenderbuffer(36160,36064+St,36161,Ct.__webglColorRenderbuffer[St])}n.bindRenderbuffer(36161,null),J.depthBuffer&&(Ct.__webglDepthRenderbuffer=n.createRenderbuffer(),De(Ct.__webglDepthRenderbuffer,J,!0)),e.bindFramebuffer(36160,null)}}if(pt){e.bindTexture(34067,$t.__webglTexture),Ht(34067,Z,te);for(let lt=0;lt<6;lt++)xe(Ct.__webglFramebuffer[lt],J,Z,36064,34069+lt);j(Z,te)&&st(34067),e.unbindTexture()}else if(Ft){const lt=J.texture;for(let St=0,de=lt.length;St<de;St++){const Se=lt[St],Fe=i.get(Se);e.bindTexture(3553,Fe.__webglTexture),Ht(3553,Se,te),xe(Ct.__webglFramebuffer,J,Se,36064+St,3553),j(Se,te)&&st(3553)}e.unbindTexture()}else{let lt=3553;(J.isWebGL3DRenderTarget||J.isWebGLArrayRenderTarget)&&(o?lt=J.isWebGL3DRenderTarget?32879:35866:console.error("THREE.WebGLTextures: THREE.Data3DTexture and THREE.DataArrayTexture only supported with WebGL2.")),e.bindTexture(lt,$t.__webglTexture),Ht(lt,Z,te),xe(Ct.__webglFramebuffer,J,Z,36064,lt),j(Z,te)&&st(lt),e.unbindTexture()}J.depthBuffer&&it(J)}function fe(J){const Z=L(J)||o,Ct=J.isWebGLMultipleRenderTargets===!0?J.texture:[J.texture];for(let $t=0,pt=Ct.length;$t<pt;$t++){const Ft=Ct[$t];if(j(Ft,Z)){const te=J.isWebGLCubeRenderTarget?34067:3553,lt=i.get(Ft).__webglTexture;e.bindTexture(te,lt),st(te),e.unbindTexture()}}}function ge(J){if(o&&J.samples>0&&pe(J)===!1){const Z=J.isWebGLMultipleRenderTargets?J.texture:[J.texture],Ct=J.width,$t=J.height;let pt=16384;const Ft=[],te=J.stencilBuffer?33306:36096,lt=i.get(J),St=J.isWebGLMultipleRenderTargets===!0;if(St)for(let de=0;de<Z.length;de++)e.bindFramebuffer(36160,lt.__webglMultisampledFramebuffer),n.framebufferRenderbuffer(36160,36064+de,36161,null),e.bindFramebuffer(36160,lt.__webglFramebuffer),n.framebufferTexture2D(36009,36064+de,3553,null,0);e.bindFramebuffer(36008,lt.__webglMultisampledFramebuffer),e.bindFramebuffer(36009,lt.__webglFramebuffer);for(let de=0;de<Z.length;de++){Ft.push(36064+de),J.depthBuffer&&Ft.push(te);const Se=lt.__ignoreDepthValues!==void 0?lt.__ignoreDepthValues:!1;if(Se===!1&&(J.depthBuffer&&(pt|=256),J.stencilBuffer&&(pt|=1024)),St&&n.framebufferRenderbuffer(36008,36064,36161,lt.__webglColorRen
3157derbuffer[de]),Se===!0&&(n.invalidateFramebuffer(36008,[te]),n.invalidateFramebuffer(36009,[te])),St){const Fe=i.get(Z[de]).__webglTexture;n.framebufferTexture2D(36009,36064,3553,Fe,0)}n.blitFramebuffer(0,0,Ct,$t,0,0,Ct,$t,pt,9728),m&&n.invalidateFramebuffer(36008,Ft)}if(e.bindFramebuffer(36008,null),e.bindFramebuffer(36009,null),St)for(let de=0;de<Z.length;de++){e.bindFramebuffer(36160,lt.__webglMultisampledFramebuffer),n.framebufferRenderbuffer(36160,36064+de,36161,lt.__webglColorRenderbuffer[de]);const Se=i.get(Z[de]).__webglTexture;e.bindFramebuffer(36160,lt.__webglFramebuffer),n.framebufferTexture2D(36009,36064+de,3553,Se,0)}e.bindFramebuffer(36009,lt.__webglMultisampledFramebuffer)}}function ue(J){return Math.min(u,J.samples)}function pe(J){const Z=i.get(J);return o&&J.samples>0&&t.has("WEBGL_multisampled_render_to_texture")===!0&&Z.__useRenderToTexture!==!1}function he(J){const Z=A.render.frame;y.get(J)!==Z&&(y.set(J,Z),J.update())}function _e(J,Z){const Ct=J.encoding,$t=J.format,pt=J.type;return J.isCompressedTexture===!0||J.isVideoTexture===!0||J.format===bg||Ct!==Lo&&(Ct===kn?o===!1?t.has("EXT_sRGB")===!0&&$t===ls?(J.format=bg,J.minFilter=Br,J.generateMipmaps=!1):Z=hx.sRGBToLinear(Z):($t!==ls||pt!==Qo)&&console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType."):console.error("THREE.WebGLTextures: Unsupported texture encoding:",Ct)),Z}this.allocateTextureUnit=Wt,this.resetTextureUnits=Gt,this.setTexture2D=Vt,this.setTexture2DArray=we,this.setTexture3D=oe,this.setTextureCube=Be,this.rebindTextures=bt,this.setupRenderTarget=Jt,this.updateRenderTargetMipmap=fe,this.updateMultisampleRenderTarget=ge,this.setupDepthRenderbuffer=it,this.setupFrameBufferTexture=xe,this.useMultisampledRTT=pe}function hL(n,t,e){const i=e.isWebGL2;function r(s,A=null){let o;if(s===Qo)return 5121;if(s===sU)return 32819;if(s===AU)return 32820;if(s===nU)return 5120;if(s===iU)return 5122;if(s===cx)return 5123;if(s===rU)return 5124;if(s===po)return 5125;if(s===go)return 5126;if(s===bc)return i?5131:(o=t.get("OES_texture_half_float"),o!==null?o.HALF_FLOAT_OES:null);if(s===oU)return 6406;if(s===ls)return 6408;if(s===lU)return 6409;if(s===cU)return 6410;if(s===So)return 6402;if(s===nl)return 34041;if(s===uU)return 6403;if(s===aU)return console.warn("THREE.WebGLRenderer: THREE.RGBFormat has been removed. Use THREE.RGBAFormat instead. https://github.com/mrdoob/three.js/pull/23228"),6408;if(s===bg)return o=t.get("EXT_sRGB"),o!==null?o.SRGB_ALPHA_EXT:null;if(s===fU)return 36244;if(s===hU)return 33319;if(s===dU)return 33320;if(s===pU)return 36249;if(s===Md||s===Ud||s===Td||s===Id)if(A===kn)if(o=t.get("WEBGL_compressed_texture_s3tc_srgb"),o!==null){if(s===Md)return o.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(s===Ud)return o.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(s===Td)return o.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(s===Id)return o.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else return null;else if(o=t.get("WEBGL_compressed_texture_s3tc"),o!==null){if(s===Md)return o.COMPRESSED_RGB_S3TC_DXT1_EXT;if(s===Ud)return o.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(s===Td)return o.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(s===Id)return o.COMPRESSED_RGBA_S3TC_DXT5_EXT}else return null;if(s===ww||s===vw||s===yw||s===Bw)if(o=t.get("WEBGL_compressed_texture_pvrtc"),o!==null){if(s===ww)return o.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(s===vw)return o.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(s===yw)return o.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(s===Bw)return o.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}else return null;if(s===gU)return o=t.get("WEBGL_compressed_texture_etc1"),o!==null?o.COMPRESSED_RGB_ETC1_WEBGL:null;if(s===_w||s===xw)if(o=t.get("WEBGL_compressed_texture_etc"),o!==null){if(s===_w)return A===kn?o.COMPRESSED_SRGB8_ETC2:o.COMPRESSED_RGB8_ETC2;if(s===xw)return A===kn?o.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:o.COMPRESSED_RGBA8_ETC2_EAC}else return null;if(s===bw||s===Cw||s===Sw||s===Fw||s===Ew||s===Mw||s===Uw||s===Tw||s===Iw||s===Qw||s===Lw||s===Pw||s===Dw||s===Rw)if(o=t.get("WEBGL_compressed_texture_astc"),o!==null){if(s===bw)return A===kn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:o.COMPRESSED_RGBA_ASTC_4x4_KHR;if(s===Cw)return A===kn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:o.COMPRESSED_RGBA_ASTC_5x4_KHR;if(s===Sw)return A===kn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:o.COMPRESSED_RGBA_ASTC_5x5_KHR;if(s===Fw)return A===kn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:o.COMPRESSED_RGBA_ASTC_6x5_KHR;if(s===Ew)return A===kn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:o.COMPRESSED_RGBA_ASTC_6x6_KHR;if(s===Mw)return A===kn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:o.COMPRESSED_RGBA_ASTC_8x5_KHR;if(s===Uw)return A===kn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:o.COMPRESSED_RGBA_ASTC_8x6_KHR;if(s===Tw)return A===kn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:o.COMPRESSED_RGBA_ASTC_8x8_KHR;if(s===Iw)return A===kn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:o.COMPRESSED_RGBA_ASTC_10x5_KHR;if(s===Qw)return A===kn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:o.COMPRESSED_RGBA_ASTC_10x6_KHR;if(s===Lw)return A===kn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:o.COMPRESSED_RGBA_ASTC_10x8_KHR;if(s===Pw)return A===kn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:o.COMPRESSED_RGBA_ASTC_10x10_KHR;if(s===Dw)return A===kn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:o.COMPRESSED_RGBA_ASTC_12x10_KHR;if(s===Rw)return A===kn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:o.COMPRESSED_RGBA_ASTC_12x12_KHR}else return null;if(s===Ow)if(o=t.get("EXT_texture_compression_bptc"),o!==null){if(s===Ow)return A===kn?o.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:o.COMPRESSED_RGBA_BPTC_UNORM_EXT}else return null;return s===ka?i?34042:(o=t.get("WEBGL_depth_texture"),o!==null?o.UNSIGNED_INT_24_8_WEBGL:null):n[s]!==void 0?n[s]:null}return{convert:r}}class dL extends _r{constructor(t=[]){super(),this.isArrayCamera=!0,this.cameras=t}}class Su extends hr{constructor(){super(),this.isGroup=!0,this.type="Group"}}const pL={type:"move"};class Ap{constructor(){this._targetRay=null,this._grip=null,this._hand=null}getHandSpace(){return this._hand===null&&(this._hand=new Su,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}getTargetRaySpace(){return this._targetRay===null&&(this._targetRay=new Su,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new ee,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new ee),this._targetRay}getGripSpace(){return this._grip===null&&(this._grip=new Su,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new ee,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new ee),this._grip}dispatchEvent(t){return this._targetRay!==null&&this._targetRay.dispatchEvent(t),this._grip!==null&&this._grip.dispatchEvent(t),this._hand!==null&&this._hand.dispatchEvent(t),this}disconnect(t){return this.dispatchEvent({type:"disconnected",data:t}),this._targetRay!==null&&(this._targetRay.visible=!1),this._grip!==null&&(this._grip.visible=!1),this._hand!==null&&(this._hand.visible=!1),this}update(t,e,i){let r=null,s=null,A=null;const o=this._targetRay,a=this._grip,l=this._hand;if(t&&e.session.visibilityState!=="visible-blurred"){if(l&&t.hand){A=!0;for(const h of t.hand.values()){const g=e.getJointPose(h,i);if(l.joints[h.jointName]===void 0){const U=new Su;U.matrixAutoUpdate=!1,U.visible=!1,l.joints[h.jointName]=U,l.add(U)}const b=l.joints[h.jointName];g!==null&&(b.matrix.fromArray(g.transform.matrix),b.matrix.decompose(b.position,b.rotation,b.scale),b.jointRadius=g.radius),b.visible=g!==null}const c=l.joints["index-finger-tip"],u=l.joints["thumb-tip"],f=c.position.distanceTo(u.position),m=.02,y=.005;l.inputState.pinching&&f>m+y?(l.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:t.handedness,target:this})):!l.inputState.pinching&&f<=m-y&&(l.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:t.handedness,target:this}))}else a!==null&&t.gripSpace&&(s=e.getPose(t.gripSpace,i),s!==null&&(a.matrix.fromArray(s.transform.matrix),a.matrix.decompose(a.position,a.rotation,a.scale),s.linearVelocity?(a.hasLinearVelocity=!0,a.linearVelocity.copy(s.linearVelocity)):a.hasLinearVelocity=!1,s.angularVelocity?(a.hasAngularVelocity=!0,a.angularVelocity.copy(s.angularVelocity)):a.hasAngularVelocity=!1));o!==null&&(r=e.getPose(t.targetRaySpace,i),r===null&&s!==null&&(r=s),r!==null&&(o.matrix.fromArray(r.transform.matrix),o.matrix.decompose(o.position,o.rotation,o.scale),r.linearVelocity?(o.hasLinearVelocity=!0,o.linearVelocity.copy(r.linearVelocity)):o.hasLinearVelocity=!1,r.angularVelocity?(o.hasAngularVelocity=!0,o.angularVelocity.copy(r.angularVelocity)):o.hasAngularVelocity=!1,this.dispatchEvent(pL)))}return o!==null&&(o.visible=r!==null),a!==null&&(a.visible=s!==null),l!==null&&(l.visible=A!==null),this}}class gL extends Zr{constructor(t,e,i,r,s,A,o,a,l,c){if(c=c!==void 0?c:So,c!==So&&c!==nl)throw new Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");i===void 0&&c===So&&(i=po),i===void 0&&c===nl&&(i=ka),super(null,r,s,A,o,a,c,i,l),this.isDepthTexture=!0,this.image={width:t,height:e},this.magFilter=o!==void 0?o:Gi,this.minFilter=a!==void 0?a:Gi,this.flipY=!1,this.generateMipmaps=!1}}class mL extends Vo{constructor(t,e){super();const i=this;let r=null,s=1,A=null,o="local-floor",a=null,l=null,c=null,u=null,f=null,m=null;const y=e.getContextAttributes();let h=null,g=null;const b=[],U=[],N=new _r;N.layers.enable(1),N.viewport=new pi;const L=new _r;L.layers.enable(2),L.viewport=new pi;const R=[N,L],j=new dL;j.layers.enable(1),j.layers.enable(2);let st=null,O=null;this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(kt){let Vt=b[kt];return Vt===void 0&&(Vt=new Ap,b[kt]=Vt),Vt.getTargetRaySpace()},this.getControllerGrip=function(kt){let Vt=b[kt];return Vt===void 0&&(Vt=new Ap,b[kt]=Vt),Vt.getGripSpace()},this.getHand=function(kt){let Vt=b[kt];return Vt===void 0&&(Vt=new Ap,b[kt]=Vt),Vt.getHandSpace()};function V(kt){const Vt=U.indexOf(kt.inputSource);if(Vt===-1)return;const we=b[Vt];we!==void 0&&we.dispatchEvent({type:kt.type,data:kt.inputSource})}function gt(){r.removeEventListener("select",V),r.removeEventListener("selectstart",V),r.removeEventListener("selectend",V),r.removeEventListener("squeeze",V),r.removeEventListener("squeezestart",V),r.removeEventListener("squeezeend",V),r.removeEventListener("end",gt),r.removeEventListener("inputsourceschange",Nt);for(let kt=0;kt<b.length;kt++){const Vt=U[kt];
vendor: 38,769 bytes, line 3157
3157Vt!==null&&(U[kt]=null,b[kt].disconnect(Vt))}st=null,O=null,t.setRenderTarget(h),f=null,u=null,c=null,r=null,g=null,Wt.stop(),i.isPresenting=!1,i.dispatchEvent({type:"sessionend"})}this.setFramebufferScaleFactor=function(kt){s=kt,i.isPresenting===!0&&console.warn("THREE.WebXRManager: Cannot change framebuffer scale while presenting.")},this.setReferenceSpaceType=function(kt){o=kt,i.isPresenting===!0&&console.warn("THREE.WebXRManager: Cannot change reference space type while presenting.")},this.getReferenceSpace=function(){return a||A},this.setReferenceSpace=function(kt){a=kt},this.getBaseLayer=function(){return u!==null?u:f},this.getBinding=function(){return c},this.getFrame=function(){return m},this.getSession=function(){return r},this.setSession=async function(kt){if(r=kt,r!==null){if(h=t.getRenderTarget(),r.addEventListener("select",V),r.addEventListener("selectstart",V),r.addEventListener("selectend",V),r.addEventListener("squeeze",V),r.addEventListener("squeezestart",V),r.addEventListener("squeezeend",V),r.addEventListener("end",gt),r.addEventListener("inputsourceschange",Nt),y.xrCompatible!==!0&&await e.makeXRCompatible(),r.renderState.layers===void 0||t.capabilities.isWebGL2===!1){const Vt={antialias:r.renderState.layers===void 0?y.antialias:!0,alpha:y.alpha,depth:y.depth,stencil:y.stencil,framebufferScaleFactor:s};f=new XRWebGLLayer(r,e,Vt),r.updateRenderState({baseLayer:f}),g=new Po(f.framebufferWidth,f.framebufferHeight,{format:ls,type:Qo,encoding:t.outputEncoding,stencilBuffer:y.stencil})}else{let Vt=null,we=null,oe=null;y.depth&&(oe=y.stencil?35056:33190,Vt=y.stencil?nl:So,we=y.stencil?ka:po);const Be={colorFormat:32856,depthFormat:oe,scaleFactor:s};c=new XRWebGLBinding(r,e),u=c.createProjectionLayer(Be),r.updateRenderState({layers:[u]}),g=new Po(u.textureWidth,u.textureHeight,{format:ls,type:Qo,depthTexture:new gL(u.textureWidth,u.textureHeight,we,void 0,void 0,void 0,void 0,void 0,void 0,Vt),stencilBuffer:y.stencil,encoding:t.outputEncoding,samples:y.antialias?4:0});const Ue=t.properties.get(g);Ue.__ignoreDepthValues=u.ignoreDepthValues}g.isXRRenderTarget=!0,this.setFoveation(1),a=null,A=await r.requestReferenceSpace(o),Wt.setContext(r),Wt.start(),i.isPresenting=!0,i.dispatchEvent({type:"sessionstart"})}};function Nt(kt){for(let Vt=0;Vt<kt.removed.length;Vt++){const we=kt.removed[Vt],oe=U.indexOf(we);oe>=0&&(U[oe]=null,b[oe].dispatchEvent({type:"disconnected",data:we}))}for(let Vt=0;Vt<kt.added.length;Vt++){const we=kt.added[Vt];let oe=U.indexOf(we);if(oe===-1){for(let Ue=0;Ue<b.length;Ue++)if(Ue>=U.length){U.push(we),oe=Ue;break}else if(U[Ue]===null){U[Ue]=we,oe=Ue;break}if(oe===-1)break}const Be=b[oe];Be&&Be.dispatchEvent({type:"connected",data:we})}}const Dt=new ee,Et=new ee;function xt(kt,Vt,we){Dt.setFromMatrixPosition(Vt.matrixWorld),Et.setFromMatrixPosition(we.matrixWorld);const oe=Dt.distanceTo(Et),Be=Vt.projectionMatrix.elements,Ue=we.projectionMatrix.elements,zt=Be[14]/(Be[10]-1),Ht=Be[14]/(Be[10]+1),re=(Be[9]+1)/Be[5],le=(Be[9]-1)/Be[5],Le=(Be[8]-1)/Be[0],xe=(Ue[8]+1)/Ue[0],De=zt*Le,Te=zt*xe,it=oe/(-Le+xe),bt=it*-Le;Vt.matrixWorld.decompose(kt.position,kt.quaternion,kt.scale),kt.translateX(bt),kt.translateZ(it),kt.matrixWorld.compose(kt.position,kt.quaternion,kt.scale),kt.matrixWorldInverse.copy(kt.matrixWorld).invert();const Jt=zt+it,fe=Ht+it,ge=De-bt,ue=Te+(oe-bt),pe=re*Ht/fe*Jt,he=le*Ht/fe*Jt;kt.projectionMatrix.makePerspective(ge,ue,pe,he,Jt,fe)}function Xt(kt,Vt){Vt===null?kt.matrixWorld.copy(kt.matrix):kt.matrixWorld.multiplyMatrices(Vt.matrixWorld,kt.matrix),kt.matrixWorldInverse.copy(kt.matrixWorld).invert()}this.updateCamera=function(kt){if(r===null)return;j.near=L.near=N.near=kt.near,j.far=L.far=N.far=kt.far,(st!==j.near||O!==j.far)&&(r.updateRenderState({depthNear:j.near,depthFar:j.far}),st=j.near,O=j.far);const Vt=kt.parent,we=j.cameras;Xt(j,Vt);for(let Be=0;Be<we.length;Be++)Xt(we[Be],Vt);j.matrixWorld.decompose(j.position,j.quaternion,j.scale),kt.matrix.copy(j.matrix),kt.matrix.decompose(kt.position,kt.quaternion,kt.scale);const oe=kt.children;for(let Be=0,Ue=oe.length;Be<Ue;Be++)oe[Be].updateMatrixWorld(!0);we.length===2?xt(j,N,L):j.projectionMatrix.copy(N.projectionMatrix)},this.getCamera=function(){return j},this.getFoveation=function(){if(u!==null)return u.fixedFoveation;if(f!==null)return f.fixedFoveation},this.setFoveation=function(kt){u!==null&&(u.fixedFoveation=kt),f!==null&&f.fixedFoveation!==void 0&&(f.fixedFoveation=kt)};let jt=null;function Gt(kt,Vt){if(l=Vt.getViewerPose(a||A),m=Vt,l!==null){const we=l.views;f!==null&&(t.setRenderTargetFramebuffer(g,f.framebuffer),t.setRenderTarget(g));let oe=!1;we.length!==j.cameras.length&&(j.cameras.length=0,oe=!0);for(let Be=0;Be<we.length;Be++){const Ue=we[Be];let zt=null;if(f!==null)zt=f.getViewport(Ue);else{const re=c.getViewSubImage(u,Ue);zt=re.viewport,Be===0&&(t.setRenderTargetTextures(g,re.colorTexture,u.ignoreDepthValues?void 0:re.depthStencilTexture),t.setRenderTarget(g))}let Ht=R[Be];Ht===void 0&&(Ht=new _r,Ht.layers.enable(Be),Ht.viewport=new pi,R[Be]=Ht),Ht.matrix.fromArray(Ue.transform.matrix),Ht.projectionMatrix.fromArray(Ue.projectionMatrix),Ht.viewport.set(zt.x,zt.y,zt.width,zt.height),Be===0&&j.matrix.copy(Ht.matrix),oe===!0&&j.cameras.push(Ht)}}for(let we=0;we<b.length;we++){const oe=U[we],Be=b[we];oe!==null&&Be!==void 0&&Be.update(oe,Vt,a||A)}jt&&jt(kt,Vt),m=null}const Wt=new xx;Wt.setAnimationLoop(Gt),this.setAnimationLoop=function(kt){jt=kt},this.dispose=function(){}}}function wL(n,t){function e(h,g){h.fogColor.value.copy(g.color),g.isFog?(h.fogNear.value=g.near,h.fogFar.value=g.far):g.isFogExp2&&(h.fogDensity.value=g.density)}function i(h,g,b,U,N){g.isMeshBasicMaterial||g.isMeshLambertMaterial?r(h,g):g.isMeshToonMaterial?(r(h,g),c(h,g)):g.isMeshPhongMaterial?(r(h,g),l(h,g)):g.isMeshStandardMaterial?(r(h,g),u(h,g),g.isMeshPhysicalMaterial&&f(h,g,N)):g.isMeshMatcapMaterial?(r(h,g),m(h,g)):g.isMeshDepthMaterial?r(h,g):g.isMeshDistanceMaterial?(r(h,g),y(h,g)):g.isMeshNormalMaterial?r(h,g):g.isLineBasicMaterial?(s(h,g),g.isLineDashedMaterial&&A(h,g)):g.isPointsMaterial?o(h,g,b,U):g.isSpriteMaterial?a(h,g):g.isShadowMaterial?(h.color.value.copy(g.color),h.opacity.value=g.opacity):g.isShaderMaterial&&(g.uniformsNeedUpdate=!1)}function r(h,g){h.opacity.value=g.opacity,g.color&&h.diffuse.value.copy(g.color),g.emissive&&h.emissive.value.copy(g.emissive).multiplyScalar(g.emissiveIntensity),g.map&&(h.map.value=g.map),g.alphaMap&&(h.alphaMap.value=g.alphaMap),g.bumpMap&&(h.bumpMap.value=g.bumpMap,h.bumpScale.value=g.bumpScale,g.side===Ur&&(h.bumpScale.value*=-1)),g.displacementMap&&(h.displacementMap.value=g.displacementMap,h.displacementScale.value=g.displacementScale,h.displacementBias.value=g.displacementBias),g.emissiveMap&&(h.emissiveMap.value=g.emissiveMap),g.normalMap&&(h.normalMap.value=g.normalMap,h.normalScale.value.copy(g.normalScale),g.side===Ur&&h.normalScale.value.negate()),g.specularMap&&(h.specularMap.value=g.specularMap),g.alphaTest>0&&(h.alphaTest.value=g.alphaTest);const b=t.get(g).envMap;if(b&&(h.envMap.value=b,h.flipEnvMap.value=b.isCubeTexture&&b.isRenderTargetTexture===!1?-1:1,h.reflectivity.value=g.reflectivity,h.ior.value=g.ior,h.refractionRatio.value=g.refractionRatio),g.lightMap){h.lightMap.value=g.lightMap;const L=n.physicallyCorrectLights!==!0?Math.PI:1;h.lightMapIntensity.value=g.lightMapIntensity*L}g.aoMap&&(h.aoMap.value=g.aoMap,h.aoMapIntensity.value=g.aoMapIntensity);let U;g.map?U=g.map:g.specularMap?U=g.specularMap:g.displacementMap?U=g.displacementMap:g.normalMap?U=g.normalMap:g.bumpMap?U=g.bumpMap:g.roughnessMap?U=g.roughnessMap:g.metalnessMap?U=g.metalnessMap:g.alphaMap?U=g.alphaMap:g.emissiveMap?U=g.emissiveMap:g.clearcoatMap?U=g.clearcoatMap:g.clearcoatNormalMap?U=g.clearcoatNormalMap:g.clearcoatRoughnessMap?U=g.clearcoatRoughnessMap:g.iridescenceMap?U=g.iridescenceMap:g.iridescenceThicknessMap?U=g.iridescenceThicknessMap:g.specularIntensityMap?U=g.specularIntensityMap:g.specularColorMap?U=g.specularColorMap:g.transmissionMap?U=g.transmissionMap:g.thicknessMap?U=g.thicknessMap:g.sheenColorMap?U=g.sheenColorMap:g.sheenRoughnessMap&&(U=g.sheenRoughnessMap),U!==void 0&&(U.isWebGLRenderTarget&&(U=U.texture),U.matrixAutoUpdate===!0&&U.updateMatrix(),h.uvTransform.value.copy(U.matrix));let N;g.aoMap?N=g.aoMap:g.lightMap&&(N=g.lightMap),N!==void 0&&(N.isWebGLRenderTarget&&(N=N.texture),N.matrixAutoUpdate===!0&&N.updateMatrix(),h.uv2Transform.value.copy(N.matrix))}function s(h,g){h.diffuse.value.copy(g.color),h.opacity.value=g.opacity}function A(h,g){h.dashSize.value=g.dashSize,h.totalSize.value=g.dashSize+g.gapSize,h.scale.value=g.scale}function o(h,g,b,U){h.diffuse.value.copy(g.color),h.opacity.value=g.opacity,h.size.value=g.size*b,h.scale.value=U*.5,g.map&&(h.map.value=g.map),g.alphaMap&&(h.alphaMap.value=g.alphaMap),g.alphaTest>0&&(h.alphaTest.value=g.alphaTest);let N;g.map?N=g.map:g.alphaMap&&(N=g.alphaMap),N!==void 0&&(N.matrixAutoUpdate===!0&&N.updateMatrix(),h.uvTransform.value.copy(N.matrix))}function a(h,g){h.diffuse.value.copy(g.color),h.opacity.value=g.opacity,h.rotation.value=g.rotation,g.map&&(h.map.value=g.map),g.alphaMap&&(h.alphaMap.value=g.alphaMap),g.alphaTest>0&&(h.alphaTest.value=g.alphaTest);let b;g.map?b=g.map:g.alphaMap&&(b=g.alphaMap),b!==void 0&&(b.matrixAutoUpdate===!0&&b.updateMatrix(),h.uvTransform.value.copy(b.matrix))}function l(h,g){h.specular.value.copy(g.specular),h.shininess.value=Math.max(g.shininess,1e-4)}function c(h,g){g.gradientMap&&(h.gradientMap.value=g.gradientMap)}function u(h,g){h.roughness.value=g.roughness,h.metalness.value=g.metalness,g.roughnessMap&&(h.roughnessMap.value=g.roughnessMap),g.metalnessMap&&(h.metalnessMap.value=g.metalnessMap),t.get(g).envMap&&(h.envMapIntensity.value=g.envMapIntensity)}function f(h,g,b){h.ior.value=g.ior,g.sheen>0&&(h.sheenColor.value.copy(g.sheenColor).multiplyScalar(g.sheen),h.sheenRoughness.value=g.sheenRoughness,g.sheenColorMap&&(h.sheenColorMap.value=g.sheenColorMap),g.sheenRoughnessMap&&(h.sheenRoughnessMap.value=g.sheenRoughnessMap)),g.clearcoat>0&&(h.clearcoat.value=g.clearcoat,h.clearcoatRoughness.value=g.clearcoatRoughness,g.clearcoatMap&&(h.clearcoatMap.value=g.clearcoatMap),g.clearcoatRoughnessMap&&(h.clearcoatRoughnessMap.value=g.clearcoatRoughnessMap),g.clearcoatNormalMap&&(h.clearcoatNormalScale.value.copy(g.clearcoatNormalScale),h.clearcoatNormalMap.value=g.clearcoatNormalMap,g.side===Ur&&h.clearcoatNormalScale.value.negate())),g.iridescence>0&&(h.iridescence.value=g.iridescence,h.iridescenceIOR.value=g.iridescenceIOR,h.iridescenceThicknessMinimum.value=g.iridescenceThicknessRange[0],h.iridescenceThicknessMaximum.value=g.iridescenceThicknessRange[1],g.iridescenceMap&&(h.iridescenceMap.value=g.iridescenceMap),g.iridescenceThicknessMap&&(h.iridescenceThicknessMap.value=g.iridescenceThicknessMap)),g.transmission>0&&(h.transmission.value=g.transmission,h.transmissionSamplerMap.value=b.texture,h.transmissionSamplerSize.value.set(b.width,b.height),g.transmissionMap&&(h.transmissionMap.value=g.transmissionMap),h.thickness.value=g.thickness,g.thicknessMap&&(h.thicknessMap.value=g.thicknessMap),h.attenuationDistance.value=g.attenuationDistance,h.attenuationColor.value.copy(g.attenuationColor)),h.specularIntensity.value=g.specularIntensity,h.specularColor.value.copy(g.specularColor),g.specularIntensityMap&&(h.specularIntensityMap.value=g.specularIntensityMap),g.specularColorMap&&(h.specularColorMap.value=g.specularColorMap)}function m(h,g){g.matcap&&(h.matcap.value=g.matcap)}function y(h,g){h.referencePosition.value.copy(g.referencePosition),h.nearDistance.value=g.nearDistance,h.farDistance.value=g.farDistance}return{refreshFogUniforms:e,refreshMaterialUniforms:i}}function vL(n,t,e,i){let r={},s={},A=[];const o=e.isWebGL2?n.getParameter(35375):0;function a(U,N){const L=N.program;i.uniformBlockBinding(U,L)}function l(U,N){let L=r[U.id];L===void 0&&(y(U),L=c(U),r[U.id]=L,U.addEventListener("dispose",g));const R=N.program;i.updateUBOMapping(U,R);const j=t.render.frame;s[U.id]!==j&&(f(U),s[U.id]=j)}function c(U){const N=u();U.__bindingPointIndex=N;const L=n.createBuffer(),R=U.__size,j=U.usage;return n.bindBuffer(35345,L),n.bufferData(35345,R,j),n.bindBuffer(35345,null),n.bindBufferBase(35345,N,L),L}function u(){for(let U=0;U<o;U++)if(A.indexOf(U)===-1)return A.push(U),U;return console.error("THREE.WebGLRenderer: Maximum number of simultaneously usable uniforms groups reached."),0}function f(U){const N=r[U.id],L=U.uniforms,R=U.__cache;n.bindBuffer(35345,N);for(let j=0,st=L.length;j<st;j++){const O=L[j];if(m(O,j,R)===!0){const V=O.value,gt=O.__offset;typeof V=="number"?(O.__data[0]=V,n.bufferSubData(35345,gt,O.__data)):(O.value.isMatrix3?(O.__data[0]=O.value.elements[0],O.__data[1]=O.value.elements[1],O.__data[2]=O.value.elements[2],O.__data[3]=O.value.elements[0],O.__data[4]=O.value.elements[3],O.__data[5]=O.value.elements[4],O.__data[6]=O.value.elements[5],O.__data[7]=O.value.elements[0],O.__data[8]=O.value.elements[6],O.__data[9]=O.value.elements[7],O.__data[10]=O.value.elements[8],O.__data[11]=O.value.elements[0]):V.toArray(O.__data),n.bufferSubData(35345,gt,O.__data))}}n.bindBuffer(35345,null)}function m(U,N,L){const R=U.value;if(L[N]===void 0)return typeof R=="number"?L[N]=R:L[N]=R.clone(),!0;if(typeof R=="number"){if(L[N]!==R)return L[N]=R,!0}else{const j=L[N];if(j.equals(R)===!1)return j.copy(R),!0}return!1}function y(U){const N=U.uniforms;let L=0;const R=16;let j=0;for(let st=0,O=N.length;st<O;st++){const V=N[st],gt=h(V);if(V.__data=new Float32Array(gt.storage/Float32Array.BYTES_PER_ELEMENT),V.__offset=L,st>0){j=L%R;const Nt=R-j;j!==0&&Nt-gt.boundary<0&&(L+=R-j,V.__offset=L)}L+=gt.storage}return j=L%R,j>0&&(L+=R-j),U.__size=L,U.__cache={},this}function h(U){const N=U.value,L={boundary:0,storage:0};return typeof N=="number"?(L.boundary=4,L.storage=4):N.isVector2?(L.boundary=8,L.storage=8):N.isVector3||N.isColor?(L.boundary=16,L.storage=12):N.isVector4?(L.boundary=16,L.storage=16):N.isMatrix3?(L.boundary=48,L.storage=48):N.isMatrix4?(L.boundary=64,L.storage=64):N.isTexture?console.warn("THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group."):console.warn("THREE.WebGLRenderer: Unsupported uniform value type.",N),L}function g(U){const N=U.target;N.removeEventListener("dispose",g);const L=A.indexOf(N.__bindingPointIndex);A.splice(L,1),n.deleteBuffer(r[N.id]),delete r[N.id],delete s[N.id]}function b(){for(const U in r)n.deleteBuffer(r[U]);A=[],r={},s={}}return{bind:a,update:l,dispose:b}}function yL(){const n=Of("canvas");return n.style.display="block",n}function Ex(n={}){this.isWebGLRenderer=!0;const t=n.canvas!==void 0?n.canvas:yL(),e=n.context!==void 0?n.context:null,i=n.depth!==void 0?n.depth:!0,r=n.stencil!==void 0?n.stencil:!0,s=n.antialias!==void 0?n.antialias:!1,A=n.premultipliedAlpha!==void 0?n.premultipliedAlpha:!0,o=n.preserveDrawingBuffer!==void 0?n.preserveDrawingBuffer:!1,a=n.powerPreference!==void 0?n.powerPreference:"default",l=n.failIfMajorPerformanceCaveat!==void 0?n.failIfMajorPerformanceCaveat:!1;let c;e!==null?c=e.getContextAttributes().alpha:c=n.alpha!==void 0?n.alpha:!1;let u=null,f=null;const m=[],y=[];this.domElement=t,this.debug={checkShaderErrors:!0},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this.outputEncoding=Lo,this.physicallyCorrectLights=!1,this.toneMapping=Ns,this.toneMappingExposure=1,Object.defineProperties(this,{gammaFactor:{get:function(){return console.warn("THREE.WebGLRenderer: .gammaFactor has been removed."),2},set:function(){console.warn("THREE.WebGLRenderer: .gammaFactor has been removed.")}}});const h=this;let g=!1,b=0,U=0,N=null,L=-1,R=null;const j=new pi,st=new pi;let O=null,V=t.width,gt=t.height,Nt=1,Dt=null,Et=null;const xt=new pi(0,0,V,gt),Xt=new pi(0,0,V,gt);let jt=!1;const Gt=new _x;let Wt=!1,kt=!1,Vt=null;const we=new mi,oe=new fn,Be=new ee,Ue={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};function zt(){return N===null?Nt:1}let Ht=e;function re(d,_){for(let E=0;E<d.length;E++){const F=d[E],T=t.getContext(F,_);if(T!==null)return T}return null}try{const d={alpha:!0,depth:i,stencil:r,antialias:s,premultipliedAlpha:A,preserveDrawingBuffer:o,powerPreference:a,failIfMajorPerformanceCaveat:l};if("setAttribute"in t&&t.setAttribute("data-engine",`three.js r${o0}`),t.addEventListener("webglcontextlost",ze,!1),t.addEventListener("webglcontextrestored",je,!1),t.addEventListener("webglcontextcreationerror",$e,!1),Ht===null){const _=["webgl2","webgl","experimental-webgl"];if(h.isWebGL1Renderer===!0&&_.shift(),Ht=re(_,d),Ht===null)throw re(_)?new Error("Error creating WebGL context with your selected attributes."):new Error("Error creating WebGL context.")}Ht.getShaderPrecisionFormat===void 0&&(Ht.getShaderPrecisionFormat=function(){return{rangeMin:1,rangeMax:1,precision:1}})}catch(d){throw console.error("THREE.WebGLRenderer: "+d.message),d}let le,Le,xe,De,Te,it,bt,Jt,fe,ge,ue,pe,he,_e,J,Z,Ct,$t,pt,Ft,te,lt,St,de;function Se(){le=new T6(Ht),Le=new b6(Ht,le,n),le.init(Le),lt=new hL(Ht,le,Le),xe=new uL(Ht,le,Le),De=new L6,Te=new JQ,it=new fL(Ht,le,xe,Te,Le,lt,De),bt=new S6(h),Jt=new U6(h),fe=new GU(Ht,Le),St=new _6(Ht,le,fe,Le),ge=new I6(Ht,fe,De,St),ue=new O6(Ht,ge,fe,De),pt=new R6(Ht,Le,it),Z=new C6(Te),pe=new YQ(h,bt,Jt,le,Le,St,Z),he=new wL(h,Te),_e=new $Q,J=new sL(le,Le),$t=new B6(h,bt,xe,ue,c,A),Ct=new cL(h,ue,Le),de=new vL(Ht,De,Le,xe),Ft=new x6(Ht,le,De,Le),te=new Q6(Ht,le,De,Le),De.programs=pe.programs,h.capabilities=Le,h.extensions=le,h.properties=Te,h.renderLists=_e,h.shadowMap=Ct,h.state=xe,h.info=De}Se();const Fe=new mL(h,Ht);this.xr=Fe,this.getContext=function(){return Ht},this.getContextAttributes=function(){return Ht.getContextAttributes()},this.forceContextLoss=function(){const d=le.get("WEBGL_lose_context");d&&d.loseContext()},this.forceContextRestore=function(){const d=le.get("WEBGL_lose_context");d&&d.restoreContext()},this.getPixelRatio=function(){return Nt},this.setPixelRatio=function(d){d!==void 0&&(Nt=d,this.setSize(V,gt,!1))},this.getSize=function(d){return d.set(V,gt)},this.setSize=function(d,_,E){if(Fe.isPresenting){console.warn("THREE.WebGLRenderer: Can't change size while VR device is presenting.");return}V=d,gt=_,t.width=Math.floor(d*Nt),t.height=Math.floor(_*Nt),E!==!1&&(t.style.width=d+"px",t.style.height=_+"px"),this.setViewport(0,0,d,_)},this.getDrawingBufferSize=function(d){return d.set(V*Nt,gt*Nt).floor()},this.setDrawingBufferSize=function(d,_,E){V=d,gt=_,Nt=E,t.width=Math.floor(d*E),t.height=Math.floor(_*E),this.setViewport(0,0,d,_)},this.getCurrentViewport=function(d){return d.copy(j)},this.getViewport=function(d){return d.copy(xt)},this.setViewport=function(d,_,E,F){d.isVector4?xt.set(d.x,d.y,d.z,d.w):xt.set(d,_,E,F),xe.viewport(j.copy(xt).multiplyScalar(Nt).floor())},this.getScissor=function(d){return d.copy(Xt)},this.setScissor=function(d,_,E,F){d.isVector4?Xt.set(d.x,d.y,d.z,d.w):Xt.set(d,_,E,F),xe.scissor(st.copy(Xt).multiplyScalar(Nt).floor())},this.getScissorTest=function(){return jt},this.setScissorTest=function(d){xe.setScissorTest(jt=d)},this.setOpaqueSort=function(d){Dt=d},this.setTransparentSort=function(d){Et=d},this.getClearColor=function(d){return d.copy($t.getClearColor())},this.setClearColor=function(){$t.setClearColor.apply($t,arguments)},this.getClearAlpha=function(){return $t.getClearAlpha()},this.setClearAlpha=function(){$t.setClearAlpha.apply($t,arguments)},this.clear=function(d=!0,_=!0,E=!0){let F=0;d&&(F|=16384),_&&(F|=256),E&&(F|=1024),Ht.clear(F)},this.clearColor=function(){this.clear(!0,!1,!1)},this.clearDepth=function(){this.clear(!1,!0,!1)},this.clearStencil=function(){this.clear(!1,!1,!0)},this.dispose=function(){t.removeEventListener("webglcontextlost",ze,!1),t.removeEventListener("webglcontextrestored",je,!1),t.removeEventListener("webglcontextcreationerror",$e,!1),_e.dispose(),J.dispose(),Te.dispose(),bt.dispose(),Jt.dispose(),ue.dispose(),St.dispose(),de.dispose(),pe.dispose(),Fe.dispose(),Fe.removeEventListener("sessionstart",Ye),Fe.removeEventListener("sessionend",_n),Vt&&(Vt.dispose(),Vt=null),B.stop()};function ze(d){d.preventDefault(),console.log("THREE.WebGLRenderer: Context Lost."),g=!0}function je(){console.log("THREE.WebGLRenderer: Context Restored."),g=!1;const d=De.autoReset,_=Ct.enabled,E=Ct.autoUpdate,F=Ct.needsUpdate,T=Ct.type;Se(),De.autoReset=d,Ct.enabled=_,Ct.autoUpdate=E,Ct.needsUpdate=F,Ct.type=T}function $e(d){console.error("THREE.WebGLRenderer: A WebGL context could not be created. Reason: ",d.statusMessage)}function Qt(d){const _=d.target;_.removeEventListener("dispose",Qt),Re(_)}function Re(d){Qe(d),Te.remove(d)}function Qe(d){const _=Te.get(d).programs;_!==void 0&&(_.forEach(function(E){pe.releaseProgram(E)}),d.isShaderMaterial&&pe.releaseShaderCache(d))}this.renderBufferDirect=function(d,_,E,F,T,k){_===null&&(_=Ue);const K=T.isMesh&&T.matrixWorld.determinant()<0,X=S(d,_,E,F,T);xe.setMaterial(F,K);let tt=E.index;const ft=E.attributes.position;if(tt===null){if(ft===void 0||ft.count===0)return}else if(tt.count===0)return;let wt=1;F.wireframe===!0&&(tt=ge.getWireframeAttribute(E),wt=2),St.setup(T,F,X,E,tt);let ht,at=Ft;tt!==null&&(ht=fe.get(tt),at=te,at.setIndex(ht));const H=tt!==null?tt.count:ft.count,dt=E.drawRange.start*wt,rt=E.drawRange.count*wt,Bt=k!==null?k.start*wt:0,vt=k!==null?k.count*wt:1/0,Kt=Math.max(dt,Bt),yt=Math.min(H,dt+rt,Bt+vt)-1,$=Math.max(0,yt-Kt+1);if($!==0){if(T.isMesh)F.wireframe===!0?(xe.setLineWidth(F.wireframeLinewidth*zt()),at.setMode(1)):at.setMode(4);else if(T.isLine){let z=F.linewidth;z===void 0&&(z=1),xe.setLineWidth(z*zt()),T.isLineSegments?at.setMode(1):T.isLineLoop?at.setMode(2):at.setMode(3)}else T.isPoints?at.setMode(0):T.isSprite&&at.setMode(4);if(T.isInstancedMesh)at.renderInstances(Kt,$,T.count);else if(E.isInstancedBufferGeometry){const z=Math.min(E.instanceCount,E._maxInstanceCount);at.renderInstances(Kt,$,z)}else at.render(Kt,$)}},this.compile=function(d,_){function E(F,T,k){F.transparent===!0&&F.side===CA?(F.side=Ur,F.needsUpdate=!0,x(F,T,k),F.side=$a,F.needsUpdate=!0,x(F,T,k),F.side=CA):x(F,T,k)}f=J.get(d),f.init(),y.push(f),d.traverseVisible(function(F){F.isLight&&F.layers.test(_.layers)&&(f.pushLight(F),F.castShadow&&f.pushShadow(F))}),f.setupLights(h.physicallyCorrectLights),d.traverse(function(F){const T=F.material;if(T)if(Array.isArray(T))for(let k=0;k<T.length;k++){const K=T[k];E(K,d,F)}else E(T,d,F)}),y.pop(),f=null};let me=null;function Ie(d){me&&me(d)}function Ye(){B.stop()}function _n(){B.start()}const B=new xx;B.setAnimationLoop(Ie),typeof self<"u"&&B.setContext(self),this.setAnimationLoop=function(d){me=d,Fe.setAnimationLoop(d),d===null?B.stop():B.start()},Fe.addEventListener("sessionstart",Ye),Fe.addEventListener("sessionend",_n),this.render=function(d,_){if(_!==void 0&&_.isCamera!==!0){console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");return}if(g===!0)return;d.matrixWorldAutoUpdate===!0&&d.updateMatrixWorld(),_.parent===null&&_.matrixWorldAutoUpdate===!0&&_.updateMatrixWorld(),Fe.enabled===!0&&Fe.isPresenting===!0&&(Fe.cameraAutoUpdate===!0&&Fe.updateCamera(_),_=Fe.getCamera()),d.isScene===!0&&d.onBeforeRender(h,d,_,N),f=J.get(d,y.length),f.init(),y.push(f),we.multiplyMatrices(_.projectionMatrix,_.matrixWorldInverse),Gt.setFromProjectionMatrix(we),kt=this.localClippingEnabled,Wt=Z.init(this.clippingPlanes,kt,_),u=_e.get(d,m.length),u.init(),m.push(u),Q(d,_,0,h.sortObjects),u.finish(),h.sortObjects===!0&&u.sort(Dt,Et),Wt===!0&&Z.beginShadows();const E=f.state.shadowsArray;if(Ct.render(E,d,_),Wt===!0&&Z.endShadows(),this.info.autoReset===!0&&this.info.reset(),$t.render(u,d),f.setupLights(h.physicallyCorrectLights),_.isArrayCamera){const F=_.cameras;for(let T=0,k=F.length;T<k;T++){const K=F[T];D(u,d,K,K.viewport)}}else D(u,d,_);N!==null&&(it.updateMultisampleRenderTarget(N),it.updateRenderTargetMipmap(N)),d.isScene===!0&&d.onAfterRender(h,d,_),St.resetDefaultState(),L=-1,R=null,y.pop(),y.length>0?f=y[y.length-1]:f=null,m.pop(),m.length>0?u=m[m.length-1]:u=null};function Q(d,_,E,F){if(d.visible===!1)return;if(d.layers.test(_.layers)){if(d.isGroup)E=d.renderOrder;else if(d.isLOD)d.autoUpdate===!0&&d.update(_);else if(d.isLight)f.pushLight(d),d.castShadow&&f.pushShadow(d);else if(d.isSprite){if(!d.frustumCulled||Gt.intersectsSprite(d)){F&&Be.setFromMatrixPosition(d.matrixWorld).applyMatrix4(we);const K=ue.update(d),X=d.material;X.visible&&u.push(d,K,X,E,Be.z,null)}}else if((d.isMesh||d.isLine||d.isPoints)&&(d.isSkinnedMesh&&d.skeleton.frame!==De.render.frame&&(d.skeleton.update(),d.skeleton.frame=De.render.frame),!d.frustumCulled||Gt.intersectsObject(d))){F&&Be.setFromMatrixPosition(d.matrixWorld).applyMatrix4(we);const K=ue.update(d),X=d.material;if(Array.isArray(X)){const tt=K.groups;for(let ft=0,wt=tt.length;ft<wt;ft++){const ht=tt[ft],at=X[ht.materialIndex];at&&at.visible&&u.push(d,K,at,E,Be.z,ht)}}else X.visible&&u.push(d,K,X,E,Be.z,null)}}const k=d.children;for(let K=0,X=k.length;K<X;K++)Q(k[K],_,E,F)}function D(d,_,E,F){const T=d.opaque,k=d.transmissive,K=d.transparent;f.setupLightsView(E),k.length>0&&v(T,_,E),F&&xe.viewport(j.copy(F)),T.length>0&&p(T,_,E),k.length>0&&p(k,_,E),K.length>0&&p(K,_,E),xe.buffers.depth.setTest(!0),xe.buffers.depth.setMask(!0),xe.buffers.color.setMask(!0),xe.setPolygonOffset(!1)}function v(d,_,E){const F=Le.isWebGL2;Vt===null&&(Vt=new Po(1,1,{generateMipmaps:!0,type:le.has("EXT_color_buffer_half_float")?bc:Qo,minFilter:Eh,samples:F&&s===!0?4:0})),h.getDrawingBufferSize(oe),F?Vt.setSize(oe.x,oe.y):Vt.setSize(Cg(oe.x),Cg(oe.y));const T=h.getRenderTarget();h.setRenderTarget(Vt),h.clear();const k=h.toneMapping;h.toneMapping=Ns,p(d,_,E),h.toneMapping=k,it.updateMultisampleRenderTarget(Vt),it.updateRenderTargetMipmap(Vt),h.setRenderTarget(T)}function p(d,_,E){const F=_.isScene===!0?_.overrideMaterial:null;for(let T=0,k=d.length;T<k;T++){const K=d[T],X=K.object,tt=K.geometry,ft=F===null?K.material:F,wt=K.group;X.layers.test(E.layers)&&w(X,_,E,tt,ft,wt)}}function w(d,_,E,F,T,k){d.onBeforeRender(h,_,E,F,T,k),d.modelViewMatrix.multiplyMatrices(E.matrixWorldInverse,d.matrixWorld),d.normalMatrix.getNormalMatrix(d.modelViewMatrix),T.onBeforeRender(h,_,E,F,d,k),T.transparent===!0&&T.side===CA?(T.side=Ur,T.needsUpdate=!0,h.renderBufferDirect(E,_,F,T,d,k),T.side=$a,T.needsUpdate=!0,h.renderBufferDirect(E,_,F,T,d,k),T.side=CA):h.renderBufferDirect(E,_,F,T,d,k),d.onAfterRender(h,_,E,F,T,k)}function x(d,_,E){_.isScene!==!0&&(_=Ue);const F=Te.get(d),T=f.state.lights,k=f.state.shadowsArray,K=T.state.version,X=pe.getParameters(d,T.state,k,_,E),tt=pe.getProgramCacheKey(X);let ft=F.programs;F.environment=d.isMeshStandardMaterial?_.environment:null,F.fog=_.fog,F.envMap=(d.isMeshStandardMaterial?Jt:bt).get(d.envMap||F.environment),ft===void 0&&(d.addEventListener("dispose",Qt),ft=new Map,F.programs=ft);let wt=ft.get(tt);if(wt!==void 0){if(F.currentProgram===wt&&F.lightsStateVersion===K)return C(d,X),wt}else X.uniforms=pe.getUniforms(d),d.onBuild(E,X,h),d.onBeforeCompile(X,h),wt=pe.acquireProgram(X,tt),ft.set(tt,wt),F.uniforms=X.uniforms;const ht=F.uniforms;(!d.isShaderMaterial&&!d.isRawShaderMaterial||d.clipping===!0)&&(ht.clippingPlanes=Z.uniform),C(d,X),F.needsLights=P(d),F.lightsStateVersion=K,F.needsLights&&(ht.ambientLightColor.value=T.state.ambient,ht.lightProbe.value=T.state.probe,ht.directionalLights.value=T.state.directional,ht.directionalLightShadows.value=T.state.directionalShadow,ht.spotLights.value=T.state.spot,ht.spotLightShadows.value=T.state.spotShadow,ht.rectAreaLights.value=T.state.rectArea,ht.ltc_1.value=T.state.rectAreaLTC1,ht.ltc_2.value=T.state.rectAreaLTC2,ht.pointLights.value=T.state.point,ht.pointLightShadows.value=T.state.pointShadow,ht.hemisphereLights.value=T.state.hemi,ht.directionalShadowMap.value=T.state.directionalShadowMap,ht.directionalShadowMatrix.value=T.state.directionalShadowMatrix,ht.spotShadowMap.value=T.state.spotShadowMap,ht.spotLightMatrix.value=T.state.spotLightMatrix,ht.spotLightMap.value=T.state.spotLightMap,ht.pointShadowMap.value=T.state.pointShadowMap,ht.pointShadowMatrix.value=T.state.pointShadowMatrix);const at=wt.getUniforms(),H=cf.seqWithValue(at.seq,ht);return F.currentProgram=wt,F.uniformsList=H,wt}function C(d,_){const E=Te.get(d);E.outputEncoding=_.outputEncoding,E.instancing=_.instancing,E.skinning=_.skinning,E.morphTargets=_.morphTargets,E.morphNormals=_.morphNormals,E.morphColors=_.morphColors,E.morphTargetsCount=_.morphTargetsCount,E.numClippingPlanes=_.numClippingPlanes,E.numIntersection=_.numClipIntersection,E.vertexAlphas=_.vertexAlphas,E.vertexTangents=_.vertexTangents,E.toneMapping=_.toneMapping}function S(d,_,E,F,T){_.isScene!==!0&&(_=Ue),it.resetTextureUnits();const k=_.fog,K=F.isMeshStandardMaterial?_.environment:null,X=N===null?h.outputEncoding:N.isXRRenderTarget===!0?N.texture.encoding:Lo,tt=(F.isMeshStandardMaterial?Jt:bt).get(F.envMap||K),ft=F.vertexColors===!0&&!!E.attributes.color&&E.attributes.color.itemSize===4,wt=!!F.normalMap&&!!E.attributes.tangent,ht=!!E.morphAttributes.position,at=!!E.morphAttributes.normal,H=!!E.morphAttributes.color,dt=F.toneMapped?h.toneMapping:Ns,rt=E.morphAttributes.position||E.morphAttributes.normal||E.morphAttributes.color,Bt=rt!==void 0?rt.length:0,vt=Te.get(F),Kt=f.state.lights;if(Wt===!0&&(kt===!0||d!==R)){const mt=d===R&&F.id===L;Z.setState(F,d,mt)}let yt=!1;F.version===vt.__version?(vt.needsLights&&vt.lightsStateVersion!==Kt.state.version||vt.outputEncoding!==X||T.isInstancedMesh&&vt.instancing===!1||!T.isInstancedMesh&&vt.instancing===!0||T.isSkinnedMesh&&vt.skinning===!1||!T.isSkinnedMesh&&vt.skinning===!0||vt.envMap!==tt||F.fog===!0&&vt.fog!==k||vt.numClippingPlanes!==void 0&&(vt.numClippingPlanes!==Z.numPlanes||vt.numIntersection!==Z.numIntersection)||vt.vertexAlphas!==ft||vt.vertexTangents!==wt||vt.morphTargets!==ht||vt.morphNormals!==at||vt.morphColors!==H||vt.toneMapping!==dt||Le.isWebGL2===!0&&vt.morphTargetsCount!==Bt)&&(yt=!0):(yt=!0,vt.__version=F.version);let $=vt.currentProgram;yt===!0&&($=x(F,_,T));let z=!1,ct=!1,q=!1;const At=$.getUniforms(),ot=vt.uniforms;if(xe.useProgram($.program)&&(z=!0,ct=!0,q=!0),F.id!==L&&(L=F.id,ct=!0),z||R!==d){if(At.setValue(Ht,"projectionMatrix",d.projectionMatrix),Le.logarithmicDepthBuffer&&At.setValue(Ht,"logDepthBufFC",2/(Math.log(d.far+1)/Math.LN2)),R!==d&&(R=d,ct=!0,q=!0),F.isShaderMaterial||F.isMeshPhongMaterial||F.isMeshToonMaterial||F.isMeshStandardMaterial||F.envMap){const mt=At.map.cameraPosition;mt!==void 0&&mt.setValue(Ht,Be.setFromMatrixPosition(d.matrixWorld))}(F.isMeshPhongMaterial||F.isMeshToonMaterial||F.isMeshLambertMaterial||F.isMeshBasicMaterial||F.isMeshStandardMaterial||F.isShaderMaterial)&&At.setValue(Ht,"isOrthographic",d.isOrthographicCamera===!0),(F.isMeshPhongMaterial||F.isMeshToonMaterial||F.isMeshLambertMaterial||F.isMeshBasicMaterial||F.isMeshStandardMaterial||F.isShaderMaterial||F.isShadowMaterial||T.isSkinnedMesh)&&At.setValue(Ht,"viewMatrix",d.matrixWorldInverse)}if(T.isSkinnedMesh){At.setOptional(Ht,T,"bindMatrix"),At.setOptional(Ht,T,"bindMatrixInverse");const mt=T.skeleton;mt&&(Le.floatVertexTextures?(mt.boneTexture===null&&mt.computeBoneTexture(),At.setValue(Ht,"boneTexture",mt.boneTexture,it),At.setValue(Ht,"boneTextureSize",mt.boneTextureSize)):console.warn("THREE.WebGLRenderer: SkinnedMesh can only be used with WebGL 2. With WebGL 1 OES_texture_float and vertex textures support is required."))}const Pt=E.morphAttributes;if((Pt.position!==void 0||Pt.normal!==void 0||Pt.color!==void 0&&Le.isWebGL2===!0)&&pt.update(T,E,F,$),(ct||vt.receiveShadow!==T.receiveShadow)&&(vt.receiveShadow=T.receiveShadow,At.setValue(Ht,"receiveShadow",T.receiveShadow)),F.isMeshGouraudMaterial&&F.envMap!==null&&(ot.envMap.value=tt,ot.flipEnvMap.value=tt.isCubeTexture&&tt.isRenderTargetTexture===!1?-1:1),ct&&(At.setValue(Ht,"toneMappingExposure",h.toneMappingExposure),vt.needsLights&&I(ot,q),k&&F.fog===!0&&he.refreshFogUniforms(ot,k),he.refreshMaterialUniforms(ot,F,Nt,gt,Vt),cf.upload(Ht,vt.uniformsList,ot,it)),F.isShaderMaterial&&F.uniformsNeedUpdate===!0&&(cf.upload(Ht,vt.uniformsList,ot,it),F.uniformsNeedUpdate=!1),F.isSpriteMaterial&&At.setValue(Ht,"center",T.center),At.setValue(Ht,"modelViewMatrix",T.modelViewMatrix),At.setValue(Ht,"normalMatrix",T.normalMatrix),At.setValue(Ht,"modelMatrix",T.matrixWorld),F.isShaderMaterial||F.isRawShaderMaterial){const mt=F.uniformsGroups;for(let qt=0,Mt=mt.length;qt<Mt;qt++)if(Le.isWebGL2){const W=mt[qt];de.update(W,$),de.bind(W,$)}else console.warn("THREE.WebGLRenderer: Uniform Buffer Objects can only be used with WebGL 2.")}return $}function I(d,_){d.ambientLightColor.needsUpdate=_,d.lightProbe.needsUpdate=_,d.directionalLights.needsUpdate=_,d.directionalLightShadows.needsUpdate=_,d.pointLights.needsUpdate=_,d.pointLightShadows.needsUpdate=_,d.spotLights.needsUpdate=_,d.spotLightShadows.needsUpdate=_,d.rectAreaLights.needsUpdate=_,d.hemisphereLights.needsUpdate=_}function P(d){return d.isMeshLambertMaterial||d.isMeshToonMaterial||d.isMeshPhongMaterial||d.isMeshStandardMaterial||d.isShadowMaterial||d.isShaderMaterial&&d.lights===!0}this.getActiveCubeFace=function(){return b},this.getActiveMipmapLevel=function(){return U},this.getRenderTarget=function(){return N},this.setRenderTargetTextures=function(d,_,E){Te.get(d.texture).__webglTexture=_,Te.get(d.depthTexture).__webglTexture=E;const F=Te.get(d);F.__hasExternalTextures=!0,F.__hasExternalTextures&&(F.__autoAllocateDepthBuffer=E===void 0,F.__autoAllocateDepthBuffer||le.has("WEBGL_multisampled_render_to_texture")===!0&&(console.warn("THREE.WebGLRenderer: Render-to-texture extension was disabled because an external texture was provided"),F.__useRenderToTexture=!1))},this.setRenderTargetFramebuffer=function(d,_){const E=Te.get(d);E.__webglFramebuffer=_,E.__useDefaultFramebuffer=_===void 0},this.setRenderTarget=function(d,_=0,E=0){N=d,b=_,U=E;let F=!0;if(d){const tt=Te.get(d);tt.__useDefaultFramebuffer!==void 0?(xe.bindFramebuffer(36160,null),F=!1):tt.__webglFramebuffer===void 0?it.setupRenderTarget(d):tt.__hasExternalTextures&&it.rebindTextures(d,Te.get(d.texture).__webglTexture,Te.get(d.depthTexture).__webglTexture)}let T=null,k=!1,K=!1;if(d){const tt=d.texture;(tt.isData3DTexture||tt.isDataArrayTexture)&&(K=!0);const ft=Te.get(d).__webglFramebuffer;d.isWebGLCubeRenderTarget?(T=ft[_],k=!0):Le.isWebGL2&&d.samples>0&&it.useMultisampledRTT(d)===!1?T=Te.get(d).__webglMultisampledFramebuffer:T=ft,j.copy(d.viewport),st.copy(d.scissor),O=d.scissorTest}else j.copy(xt).multiplyScalar(Nt).floor(),st.copy(Xt).multiplyScalar(Nt).floor(),O=jt;if(xe.bindFramebuffer(36160,T)&&Le.drawBuffers&&F&&xe.drawBuffers(d,T),xe.viewport(j),xe.scissor(st),xe.setScissorTest(O),k){const tt=Te.get(d.texture);Ht.framebufferTexture2D(36160,36064,34069+_,tt.__webglTexture,E)}else if(K){const tt=Te.get(d.texture),ft=_||0;Ht.framebufferTextureLayer(36160,36064,tt.__webglTexture,E||0,ft)}L=-1},this.readRenderTargetPixels=function(d,_,E,F,T,k,K){if(!(d&&d.isWebGLRenderTarget)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");return}let X=Te.get(d).__webglFramebuffer;if(d.isWebGLCubeRenderTarget&&K!==void 0&&(X=X[K]),X){xe.bindFramebuffer(36160,X);try{const tt=d.texture,ft=tt.format,wt=tt.type;if(ft!==ls&<.convert(ft)!==Ht.getParameter(35739)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");return}const ht=wt===bc&&(le.has("EXT_color_buffer_half_float")||Le.isWebGL2&&le.has("EXT_color_buffer_float"));if(wt!==Qo&<.convert(wt)!==Ht.getParameter(35738)&&!(wt===go&&(Le.isWebGL2||le.has("OES_texture_float")||le.has("WEBGL_color_buffer_float")))&&!ht){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");return}_>=0&&_<=d.width-F&&E>=0&&E<=d.height-T&&Ht.readPixels(_,E,F,T,lt.convert(ft),lt.convert(wt),k)}finally{const tt=N!==null?Te.get(N).__webglFramebuffer:null;xe.bindFramebuffer(36160,tt)}}},this.copyFramebufferToTexture=function(d,_,E=0){const F=Math.pow(2,-E),T=Math.floor(_.image.width*F),k=Math.floor(_.image.height*F);it.setTexture2D(_,0),Ht.copyTexSubImage2D(3553,E,0,0,d.x,d.y,T,k),xe.unbindTexture()},this.copyTextureToTexture=function(d,_,E,F=0){const T=_.image.width,k=_.image.height,K=lt.convert(E.format),X=lt.convert(E.type);it.setTexture2D(E,0),Ht.pixelStorei(37440,E.flipY),Ht.pixelStorei(37441,E.premultiplyAlpha),Ht.pixelStorei(3317,E.unpackAlignment),_.isDataTexture?Ht.texSubImage2D(3553,F,d.x,d.y,T,k,K,X,_.image.data):_.isCompressedTexture?Ht.compressedTexSubImage2D(3553,F,d.x,d.y,_.mipmaps[0].width,_.mipmaps[0].height,K,_.mipmaps[0].data):Ht.texSubImage2D(3553,F,d.x,d.y,K,X,_.image),F===0&&E.generateMipmaps&&Ht.generateMipmap(3553),xe.unbindTexture()},this.copyTextureToTexture3D=function(d,_,E,F,T=0){if(h.isWebGL1Renderer){console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: can only be used with WebGL2.");return}const k=d.max.x-d.min.x+1,K=d.max.y-d.min.y+1,X=d.max.z-d.min.z+1,tt=lt.convert(F.format),ft=lt.convert(F.type);let wt;if(F.isData3DTexture)it.setTexture3D(F,0),wt=32879;else if(F.isDataArrayTexture)it.setTexture2DArray(F,0),wt=35866;else{console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.");return}Ht.pixelStorei(37440,F.flipY),Ht.pixelStorei(37441,F.premultiplyAlpha),Ht.pixelStorei(3317,F.unpackAlignment);const ht=Ht.getParameter(3314),at=Ht.getParameter(32878),H=Ht.getParameter(3316),dt=Ht.getParameter(3315),rt=Ht.getParameter(32877),Bt=E.isCompressedTexture?E.mipmaps[0]:E.image;Ht.pixelStorei(3314,Bt.width),Ht.pixelStorei(32878,Bt.height),Ht.pixelStorei(3316,d.min.x),Ht.pixelStorei(3315,d.min.y),Ht.pixelStorei(32877,d.min.z),E.isDataTexture||E.isData3DTexture?Ht.texSubImage3D(wt,T,_.x,_.y,_.z,k,K,X,tt,ft,Bt.data):E.isCompressedTexture?(console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture."),Ht.compressedTexSubImage3D(wt,T,_.x,_.y,_.z,k,K,X,tt,Bt.data)):Ht.texSubImage3D(wt,T,_.x,_.y,_.z,k,K,X,tt,ft,Bt),Ht.pixelStorei(3314,ht),Ht.pixelStorei(32878,at),Ht.pixelStorei(3316,H),Ht.pixelStorei(3315,dt),Ht.pixelStorei(32877,rt),T===0&&F.generateMipmaps&&Ht.generateMipmap(wt),xe.unbindTexture()},this.initTexture=function(d){d.isCubeTexture?it.setTextureCube(d,0):d.isData3DTexture?it.setTexture3D(d,0):d.isDataArrayTexture?it.setTexture2DArray(d,0):it.setTexture2D(d,0),xe.unbindTexture()},this.resetState=function(){b=0,U=0,N=null,xe.reset(),St.reset()},typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}
3157class BL extends Ex{}BL.prototype.isWebGL1Renderer=!0;class _L extends hr{constructor(){super(),this.isScene=!0,this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.overrideMaterial=null,typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(t,e){return super.copy(t,e),t.background!==null&&(this.background=t.background.clone()),t.environment!==null&&(this.environment=t.environment.clone()),t.fog!==null&&(this.fog=t.fog.clone()),t.overrideMaterial!==null&&(this.overrideMaterial=t.overrideMaterial.clone()),this.matrixAutoUpdate=t.matrixAutoUpdate,this}toJSON(t){const e=super.toJSON(t);return this.fog!==null&&(e.object.fog=this.fog.toJSON()),e}get autoUpdate(){return console.warn("THREE.Scene: autoUpdate was renamed to matrixWorldAutoUpdate in r144."),this.matrixWorldAutoUpdate}set autoUpdate(t){console.warn("THREE.Scene: autoUpdate was renamed to matrixWorldAutoUpdate in r144."),this.matrixWorldAutoUpdate=t}}class _2{constructor(t=1,e=0,i=0){return this.radius=t,this.phi=e,this.theta=i,this}set(t,e,i){return this.radius=t,this.phi=e,this.theta=i,this}copy(t){return this.radius=t.radius,this.phi=t.phi,this.theta=t.theta,this}makeSafe(){return this.phi=Math.max(1e-6,Math.min(Math.PI-1e-6,this.phi)),this}setFromVector3(t){return this.setFromCartesianCoords(t.x,t.y,t.z)}setFromCartesianCoords(t,e,i){return this.radius=Math.sqrt(t*t+e*e+i*i),this.radius===0?(this.theta=0,this.phi=0):(this.theta=Math.atan2(t,i),this.phi=Math.acos(Ki(e/this.radius,-1,1))),this}clone(){return new this.constructor().copy(this)}}typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:o0}}));typeof window<"u"&&(window.__THREE__?console.warn("WARNING: Multiple instances of Three.js being imported."):window.__THREE__=o0);const x2={type:"change"},op={type:"start"},b2={type:"end"};class xL extends Vo{constructor(t,e){super(),this.object=t,this.domElement=e,this.domElement.style.touchAction="none",this.enabled=!0,this.target=new ee,this.minDistance=0,this.maxDistance=1/0,this.minZoom=0,this.maxZoom=1/0,this.minPolarAngle=0,this.maxPolarAngle=Math.PI,this.minAzimuthAngle=-1/0,this.maxAzimuthAngle=1/0,this.enableDamping=!1,this.dampingFactor=.05,this.enableZoom=!0,this.zoomSpeed=1,this.enableRotate=!0,this.rotateSpeed=1,this.enablePan=!0,this.panSpeed=1,this.screenSpacePanning=!0,this.keyPanSpeed=7,this.autoRotate=!1,this.autoRotateSpeed=2,this.keys={LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",BOTTOM:"ArrowDown"},this.mouseButtons={LEFT:Zo.ROTATE,MIDDLE:Zo.DOLLY,RIGHT:Zo.PAN},this.touches={ONE:$o.ROTATE,TWO:$o.DOLLY_PAN},this.target0=this.target.clone(),this.position0=this.object.position.clone(),this.zoom0=this.object.zoom,this._domElementKeyEvents=null,this.getPolarAngle=function(){return o.phi},this.getAzimuthalAngle=function(){return o.theta},this.getDistance=function(){return this.object.position.distanceTo(this.target)},this.listenToKeyEvents=function(lt){lt.addEventListener("keydown",_e),this._domElementKeyEvents=lt},this.saveState=function(){i.target0.copy(i.target),i.position0.copy(i.object.position),i.zoom0=i.object.zoom},this.reset=function(){i.target.copy(i.target0),i.object.position.copy(i.position0),i.object.zoom=i.zoom0,i.object.updateProjectionMatrix(),i.dispatchEvent(x2),i.update(),s=r.NONE},this.update=function(){const lt=new ee,St=new Do().setFromUnitVectors(t.up,new ee(0,1,0)),de=St.clone().invert(),Se=new ee,Fe=new Do,ze=2*Math.PI;return function(){const $e=i.object.position;lt.copy($e).sub(i.target),lt.applyQuaternion(St),o.setFromVector3(lt),i.autoRotate&&s===r.NONE&&V(st()),i.enableDamping?(o.theta+=a.theta*i.dampingFactor,o.phi+=a.phi*i.dampingFactor):(o.theta+=a.theta,o.phi+=a.phi);let Qt=i.minAzimuthAngle,Re=i.maxAzimuthAngle;return isFinite(Qt)&&isFinite(Re)&&(Qt<-Math.PI?Qt+=ze:Qt>Math.PI&&(Qt-=ze),Re<-Math.PI?Re+=ze:Re>Math.PI&&(Re-=ze),Qt<=Re?o.theta=Math.max(Qt,Math.min(Re,o.theta)):o.theta=o.theta>(Qt+Re)/2?Math.max(Qt,o.theta):Math.min(Re,o.theta)),o.phi=Math.max(i.minPolarAngle,Math.min(i.maxPolarAngle,o.phi)),o.makeSafe(),o.radius*=l,o.radius=Math.max(i.minDistance,Math.min(i.maxDistance,o.radius)),i.enableDamping===!0?i.target.addScaledVector(c,i.dampingFactor):i.target.add(c),lt.setFromSpherical(o),lt.applyQuaternion(de),$e.copy(i.target).add(lt),i.object.lookAt(i.target),i.enableDamping===!0?(a.theta*=1-i.dampingFactor,a.phi*=1-i.dampingFactor,c.multiplyScalar(1-i.dampingFactor)):(a.set(0,0,0),c.set(0,0,0)),l=1,u||Se.distanceToSquared(i.object.position)>A||8*(1-Fe.dot(i.object.quaternion))>A?(i.dispatchEvent(x2),Se.copy(i.object.position),Fe.copy(i.object.quaternion),u=!1,!0):!1}}(),this.dispose=function(){i.domElement.removeEventListener("contextmenu",Ct),i.domElement.removeEventListener("pointerdown",bt),i.domElement.removeEventListener("pointercancel",ge),i.domElement.removeEventListener("wheel",he),i.domElement.removeEventListener("pointermove",Jt),i.domElement.removeEventListener("pointerup",fe),i._domElementKeyEvents!==null&&i._domElementKeyEvents.removeEventListener("keydown",_e)};const i=this,r={NONE:-1,ROTATE:0,DOLLY:1,PAN:2,TOUCH_ROTATE:3,TOUCH_PAN:4,TOUCH_DOLLY_PAN:5,TOUCH_DOLLY_ROTATE:6};let s=r.NONE;const A=1e-6,o=new _2,a=new _2;let l=1;const c=new ee;let u=!1;const f=new fn,m=new fn,y=new fn,h=new fn,g=new fn,b=new fn,U=new fn,N=new fn,L=new fn,R=[],j={};function st(){return 2*Math.PI/60/60*i.autoRotateSpeed}function O(){return Math.pow(.95,i.zoomSpeed)}function V(lt){a.theta-=lt}function gt(lt){a.phi-=lt}const Nt=function(){const lt=new ee;return function(de,Se){lt.setFromMatrixColumn(Se,0),lt.multiplyScalar(-de),c.add(lt)}}(),Dt=function(){const lt=new ee;return function(de,Se){i.screenSpacePanning===!0?lt.setFromMatrixColumn(Se,1):(lt.setFromMatrixColumn(Se,0),lt.crossVectors(i.object.up,lt)),lt.multiplyScalar(de),c.add(lt)}}(),Et=function(){const lt=new ee;return function(de,Se){const Fe=i.domElement;if(i.object.isPerspectiveCamera){const ze=i.object.position;lt.copy(ze).sub(i.target);let je=lt.length();je*=Math.tan(i.object.fov/2*Math.PI/180),Nt(2*de*je/Fe.clientHeight,i.object.matrix),Dt(2*Se*je/Fe.clientHeight,i.object.matrix)}else i.object.isOrthographicCamera?(Nt(de*(i.object.right-i.object.left)/i.object.zoom/Fe.clientWidth,i.object.matrix),Dt(Se*(i.object.top-i.object.bottom)/i.object.zoom/Fe.clientHeight,i.object.matrix)):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - pan disabled."),i.enablePan=!1)}}();function xt(lt){i.object.isPerspectiveCamera?l/=lt:i.object.isOrthographicCamera?(i.object.zoom=Math.max(i.minZoom,Math.min(i.maxZoom,i.object.zoom*lt)),i.object.updateProjectionMatrix(),u=!0):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),i.enableZoom=!1)}function Xt(lt){i.object.isPerspectiveCamera?l*=lt:i.object.isOrthographicCamera?(i.object.zoom=Math.max(i.minZoom,Math.min(i.maxZoom,i.object.zoom/lt)),i.object.updateProjectionMatrix(),u=!0):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),i.enableZoom=!1)}function jt(lt){f.set(lt.clientX,lt.clientY)}function Gt(lt){U.set(lt.clientX,lt.clientY)}function Wt(lt){h.set(lt.clientX,lt.clientY)}function kt(lt){m.set(lt.clientX,lt.clientY),y.subVectors(m,f).multiplyScalar(i.rotateSpeed);const St=i.domElement;V(2*Math.PI*y.x/St.clientHeight),gt(2*Math.PI*y.y/St.clientHeight),f.copy(m),i.update()}function Vt(lt){N.set(lt.clientX,lt.clientY),L.subVectors(N,U),L.y>0?xt(O()):L.y<0&&Xt(O()),U.copy(N),i.update()}function we(lt){g.set(lt.clientX,lt.clientY),b.subVectors(g,h).multiplyScalar(i.panSpeed),Et(b.x,b.y),h.copy(g),i.update()}function oe(lt){lt.deltaY<0?Xt(O()):lt.deltaY>0&&xt(O()),i.update()}function Be(lt){let St=!1;switch(lt.code){case i.keys.UP:Et(0,i.keyPanSpeed),St=!0;break;case i.keys.BOTTOM:Et(0,-i.keyPanSpeed),St=!0;break;case i.keys.LEFT:Et(i.keyPanSpeed,0),St=!0;break;case i.keys.RIGHT:Et(-i.keyPanSpeed,0),St=!0;break}St&&(lt.preventDefault(),i.update())}function Ue(){if(R.length===1)f.set(R[0].pageX,R[0].pageY);else{const lt=.5*(R[0].pageX+R[1].pageX),St=.5*(R[0].pageY+R[1].pageY);f.set(lt,St)}}function zt(){if(R.length===1)h.set(R[0].pageX,R[0].pageY);else{const lt=.5*(R[0].pageX+R[1].pageX),St=.5*(R[0].pageY+R[1].pageY);h.set(lt,St)}}function Ht(){const lt=R[0].pageX-R[1].pageX,St=R[0].pageY-R[1].pageY,de=Math.sqrt(lt*lt+St*St);U.set(0,de)}function re(){i.enableZoom&&Ht(),i.enablePan&&zt()}function le(){i.enableZoom&&Ht(),i.enableRotate&&Ue()}function Le(lt){if(R.length==1)m.set(lt.pageX,lt.pageY);else{const de=te(lt),Se=.5*(lt.pageX+de.x),Fe=.5*(lt.pageY+de.y);m.set(Se,Fe)}y.subVectors(m,f).multiplyScalar(i.rotateSpeed);const St=i.domElement;V(2*Math.PI*y.x/St.clientHeight),gt(2*Math.PI*y.y/St.clientHeight),f.copy(m)}function xe(lt){if(R.length===1)g.set(lt.pageX,lt.pageY);else{const St=te(lt),de=.5*(lt.pageX+St.x),Se=.5*(lt.pageY+St.y);g.set(de,Se)}b.subVectors(g,h).multiplyScalar(i.panSpeed),Et(b.x,b.y),h.copy(g)}function De(lt){const St=te(lt),de=lt.pageX-St.x,Se=lt.pageY-St.y,Fe=Math.sqrt(de*de+Se*Se);N.set(0,Fe),L.set(0,Math.pow(N.y/U.y,i.zoomSpeed)),xt(L.y),U.copy(N)}function Te(lt){i.enableZoom&&De(lt),i.enablePan&&xe(lt)}function it(lt){i.enableZoom&&De(lt),i.enableRotate&&Le(lt)}function bt(lt){i.enabled!==!1&&(R.length===0&&(i.domElement.setPointerCapture(lt.pointerId),i.domElement.addEventListener("pointermove",Jt),i.domElement.addEventListener("pointerup",fe)),$t(lt),lt.pointerType==="touch"?J(lt):ue(lt))}function Jt(lt){i.enabled!==!1&&(lt.pointerType==="touch"?Z(lt):
3157pe(lt))}function fe(lt){pt(lt),R.length===0&&(i.domElement.releasePointerCapture(lt.pointerId),i.domElement.removeEventListener("pointermove",Jt),i.domElement.removeEventListener("pointerup",fe)),i.dispatchEvent(b2),s=r.NONE}function ge(lt){pt(lt)}function ue(lt){let St;switch(lt.button){case 0:St=i.mouseButtons.LEFT;break;case 1:St=i.mouseButtons.MIDDLE;break;case 2:St=i.mouseButtons.RIGHT;break;default:St=-1}switch(St){case Zo.DOLLY:if(i.enableZoom===!1)return;Gt(lt),s=r.DOLLY;break;case Zo.ROTATE:if(lt.ctrlKey||lt.metaKey||lt.shiftKey){if(i.enablePan===!1)return;Wt(lt),s=r.PAN}else{if(i.enableRotate===!1)return;jt(lt),s=r.ROTATE}break;case Zo.PAN:if(lt.ctrlKey||lt.metaKey||lt.shiftKey){if(i.enableRotate===!1)return;jt(lt),s=r.ROTATE}else{if(i.enablePan===!1)return;Wt(lt),s=r.PAN}break;default:s=r.NONE}s!==r.NONE&&i.dispatchEvent(op)}function pe(lt){switch(s){case r.ROTATE:if(i.enableRotate===!1)return;kt(lt);break;case r.DOLLY:if(i.enableZoom===!1)return;Vt(lt);break;case r.PAN:if(i.enablePan===!1)return;we(lt);break}}function he(lt){i.enabled===!1||i.enableZoom===!1||s!==r.NONE||(lt.preventDefault(),i.dispatchEvent(op),oe(lt),i.dispatchEvent(b2))}function _e(lt){i.enabled===!1||i.enablePan===!1||Be(lt)}function J(lt){switch(Ft(lt),R.length){case 1:switch(i.touches.ONE){case $o.ROTATE:if(i.enableRotate===!1)return;Ue(),s=r.TOUCH_ROTATE;break;case $o.PAN:if(i.enablePan===!1)return;zt(),s=r.TOUCH_PAN;break;default:s=r.NONE}break;case 2:switch(i.touches.TWO){case $o.DOLLY_PAN:if(i.enableZoom===!1&&i.enablePan===!1)return;re(),s=r.TOUCH_DOLLY_PAN;break;case $o.DOLLY_ROTATE:if(i.enableZoom===!1&&i.enableRotate===!1)return;le(),s=r.TOUCH_DOLLY_ROTATE;break;default:s=r.NONE}break;default:s=r.NONE}s!==r.NONE&&i.dispatchEvent(op)}function Z(lt){switch(Ft(lt),s){case r.TOUCH_ROTATE:if(i.enableRotate===!1)return;Le(lt),i.update();break;case r.TOUCH_PAN:if(i.enablePan===!1)return;xe(lt),i.update();break;case r.TOUCH_DOLLY_PAN:if(i.enableZoom===!1&&i.enablePan===!1)return;Te(lt),i.update();break;case r.TOUCH_DOLLY_ROTATE:if(i.enableZoom===!1&&i.enableRotate===!1)return;it(lt),i.update();break;default:s=r.NONE}}function Ct(lt){i.enabled!==!1&<.preventDefault()}function $t(lt){R.push(lt)}function pt(lt){delete j[lt.pointerId];for(let St=0;St<R.length;St++)if(R[St].pointerId==lt.pointerId){R.splice(St,1);return}}function Ft(lt){let St=j[lt.pointerId];St===void 0&&(St=new fn,j[lt.pointerId]=St),St.set(lt.pageX,lt.pageY)}function te(lt){const St=lt.pointerId===R[0].pointerId?R[1]:R[0];return j[St.pointerId]}i.domElement.addEventListener("contextmenu",Ct),i.domElement.addEventListener("pointerdown",bt),i.domElement.addEventListener("pointercancel",ge),i.domElement.addEventListener("wheel",he,{passive:!1}),this.update()}}const ap=new _L,Qr=gh("wegbl",{state:()=>({cameraNew:null,canvas:null,sizes:null,camera:null,light_one:null,webgl:null,renderer:null,controls:null}),getters:{standState:n=>n.contentStandState,sideBarWidthState:n=>n.sideBarWidth},actions:{setRenderer(n,t){this.renderer=new Ex({canvas:n.value,alpha:!0}),this.renderer.shadowMap.enabled=!0,this.renderer.shadowMap.type=sx,this.renderer.setSize(t.width,t.height),this.renderer.setPixelRatio(Math.min(window.devicePixelRatio*3,10))},render(){this.renderer.render(ap,this.camera)},setScene(){},addToScene(n){ap.add(n)},setCameraControls(n){let t={width:window.innerWidth,height:window.innerHeight};this.camera=new _r(70,t.width*.5/t.height,.01,60),this.camera.position.set(16,4,5),this.controls=new xL(this.camera,n),this.controls.target.set(-5,.75,0),this.controls.enableDamping=!0,ap.add(this.camera)},updateControls(){this.controls.update()},setRenderSize(n,t){this.renderer.setSize(n,t)},randomizeCounter(){this.count=Math.round(100*Math.random())},setSideBarWidth(n){this.sideBarWidth=n},updateRenderer(n,t){this.camera.aspect=n.width/n.height,this.camera.updateProjectionMatrix(),this.renderer.setPixelRatio(window.devicePixelRatio),this.renderer.setSize(n.width,n.height)},moveCamera(n,t){let e=new ks.timeline;const i=this.camera,r=this.controls;e.to(r.target,{x:t.x,y:t.y,z:t.z,duration:1,ease:"sine",onUpdate:function(){r.update(
3157)}}),e.to(i.position,{x:n.x-1,y:n.y,z:n.z,duration:1,ease:"power1",onUpdate:function(){}})}}}),C2="https://cmsdemo.exporeal-berlin-brandenburg.de/",$s=gh("stand",()=>{const n=Ks({value:null,view:"StandOverview"}),t=Ks({value:null});return{getMessestaende:async()=>(globalThis.messestaende=await Pa.get(C2+"items/messestand?fields=*&fields=kontaktdaten.*&fields=infostaende.*"),console.log("this.messestaende",globalThis.messestaende),globalThis.messestaende),setActiveView:A=>{n.view=A,console.log("setActiveView",A)},messestand:n,setActiveMessestand:A=>{n.value=A},contacts:t,getKontakte:async()=>{t.value=await Pa.get(C2+"items/agenturkontakte?fields=*.*"),console.log("contacts",t)}}});const bL={setup(){const n=$i(),t=Qr(),e=$s();return{stateStore:n,webglStore:t,api:"https://cmsdemo.exporeal-berlin-brandenburg.de/assets/",standStore:e}},props:{messestand:Object},data(){var n;return{slug:(n=this.$route.params)==null?void 0:n.id}},methods:{setContent(n){let t="/stand/"+this.slug+"/"+n;this.$router.push(t),this.$emit("sizeChange")},setWidth(n){this.stateStore.setSideBarWidth(n),this.$emit("sizeChange")}},mounted(){console.log("messestand StandOverview",this.messestand),this.stateStore.setSideBarWidth(60),this.$emit("sizeChange")}},CL=["if"],SL={class:"headFlexBox"},FL=["src"],EL={class:"flexKontakt"},ML=["if"],UL=["src"];function TL(n,t,e,i,r,s){var o,a,l,c,u,f,m,y,h;const A=Fi("font-awesome-icon");return ye(),be("div",{class:"inner-container",if:e.messestand},[_t("ul",null,[_t("li",null,[_t("div",SL,[_t("div",null,[t[5]||(t[5]=_t("h3",null,"Profil",-1)),_t("h2",null,Yn((o=e.messestand)==null?void 0:o.firmen_name),1)]),_t("img",{src:i.api+((a=e.messestand)==null?void 0:a.firmen_logo),alt:""},null,8,FL)])]),((l=e.messestand)==null?void 0:l.kontaktdaten.length)>0?(ye(),be("li",{key:0,onClick:t[0]||(t[0]=g=>{var b;return(b=i.standStore)==null?void 0:b.setActiveView("kontakt")})},[_t("h3",null,[qe(A,{icon:"fa-solid fa-address-card icon"}),t[6]||(t[6]=Pn(" Kontakt ",-1)),qe(A,{icon:"fa-solid fa-arrow-right"})]),_t("p",EL,[(ye(!0),be(Qn,null,cr((c=e.messestand)==null?void 0:c.kontaktdaten,(g,b)=>{var U;return ye(),be("div",{if:(U=e.messestand)==null?void 0:U.kontaktdaten,class:"kontaktImage",key:b},[g.bild?(ye(),be("img",{key:0,src:i.api+g.bild,alt:""},null,8,UL)):Ze("",!0)],8,ML)}),128))])])):Ze("",!0),((u=e.messestand)==null?void 0:u.tafel_1)||((f=e.messestand)==null?void 0:f.tafel_2)||((m=e.messestand)==null?void 0:m.tafel_3)?(ye(),be("li",{key:1,onClick:t[1]||(t[1]=g=>{var b;return(b=i.standStore)==null?void 0:b.setActiveView("boards")})},[_t("h3",null,[qe(A,{icon:"fa-solid fa-circle-info icon"}),t[7]||(t[7]=Pn(" Tafeln ",-1)),qe(A,{icon:"fa-solid fa-arrow-right"})])])):Ze("",!0),((y=e.messestand)==null?void 0:y.infostaende.length)>0?(ye(),be("li",{key:2,onClick:t[2]||(t[2]=g=>{var b;return(b=i.standStore)==null?void 0:b.setActiveView("infomaterial")})},[_t("h3",null,[qe(A,{icon:"fa-solid fa-circle-info icon"}),t[8]||(t[8]=Pn(" Brosch\xFCren ",-1)),qe(A,{icon:"fa-solid fa-arrow-right"})])])):Ze("",!0),(h=e.messestand)!=null&&h.video?(ye(),be("li",{key:3,onClick:t[3]||(t[3]=g=>{var b;return(b=i.standStore)==null?void 0:b.setActiveView("Video")})},[_t("h3",null,[qe(A,{icon:"fa-solid fa-video icon"}),t[9]||(t[9]=Pn(" Video ",-1)),qe(A,{icon:"fa-solid fa-arrow-right"})])])):Ze("",!0),_t("li",{onClick:t[4]||(t[4]=g=>{var b;return(b=i.standStore)==null?void 0:b.setActiveView("webseite")})},[_t("h3",null,[qe(A,{icon:"fa-solid fa-globe"}),t[10]||(t[10]=Pn(" Webseite ",-1)),qe(A,{icon:"fa-solid fa-arrow-right"})])])])],8,CL)}const Mx=wi(bL,[["render",TL],["__scopeId","data-v-39da9401"]]);const IL={setup(){const n=$i(),t=Qr();return{stateStore:n,webglStore:t,api:"https://cmsdemo.exporeal-berlin-brandenburg.de/assets/"}},props:{messestand:Object},data(){var n;return{slug:(n=this.$route.params)==null?void 0:n.id}},methods:{setContent(n){let t="/stand/"+this.slug+"/"+n;this.$router.push(t),this.$emit("sizeChange")},setWidth(n){this.stateStore.setSideBarWidth(n),this.$emit("sizeChange")}},mounted(){console.log("messestand StandOverview",this.messestand),this.stateStore.setSideBarWidth(60),this.$emit("sizeChange")}},QL=["if"],LL={class:"headFlexBox"},PL=["src"],DL={class:"flexKontakt"},RL=["if"],OL=["src"];function HL(n,t,e,i,r,s){var o,a,l,c,u,f,m,y,h;const A=Fi("font-awesome-icon");return ye(),be("div",{class:"inner-container",if:e.messestand},[_t("ul",null,[_t("li",null,[_t("div",LL,[_t("div",null,[t[5]||(t[5]=_t("h3",null,"Profil",-1)),_t("h2",null,Yn((o=e.messestand)==null?void 0:o.firmen_name),1)]),_t("img",{src:i.api+((a=e.messestand)==null?void 0:a.firmen_logo),alt:""},null,8,PL)])]),((l=e.messestand)==null?void 0:l.kontaktdaten.length)>0?(ye(),be("li",{key:0,onClick:t[0]||(t[0]=g=>s.setContent("kontakt"))},[_t("h3",null,[qe(A,{icon:"fa-solid fa-address-card icon"}),t[6]||(t[6]=Pn(" Kontakt und Standort ",-1)),qe(A,{icon:"fa-solid fa-arrow-right"})]),_t("p",DL,[(ye(!0),be(Qn,null,cr((c=e.messestand)==null?void 0:c.kontaktdaten,(g,b)=>{var U;return ye(),be("div",{if:(U=e.messestand)==null?void 0:U.kontaktdaten,class:"kontaktImage",key:b},[g.bild?(ye(),be("img",{key:0,src:i.api+g.bild,alt:""},null,8,OL)):Ze("",!0)],8,RL)}),128))])])):Ze("",!0),((u=e.messestand)==null?void 0:u.tafel_1)||((f=e.messestand)==null?void 0:f.tafel_2)||((m=e.messestand)==null?void 0:m.tafel_3)?(ye(),be("li",{key:1,onClick:t[1]||(t[1]=g=>s.setContent("boards"))},[_t("h3",null,[qe(A,{icon:"fa-solid fa-circle-info icon"}
3157),t[7]||(t[7]=Pn(" Tafeln ",-1)),qe(A,{icon:"fa-solid fa-arrow-right"})])])):Ze("",!0),((y=e.messestand)==null?void 0:y.infostaende.length)>0?(ye(),be("li",{key:2,onClick:t[2]||(t[2]=g=>s.setContent("infomaterial"))},[_t("h3",null,[qe(A,{icon:"fa-solid fa-circle-info icon"}),t[8]||(t[8]=Pn(" Brosch\xFCren ",-1)),qe(A,{icon:"fa-solid fa-arrow-right"})])])):Ze("",!0),(h=e.messestand)!=null&&h.video?(ye(),be("li",{key:3,onClick:t[3]||(t[3]=g=>s.setContent("Video"))},[_t("h3",null,[qe(A,{icon:"fa-solid fa-video icon"}),t[9]||(t[9]=Pn(" Video ",-1)),qe(A,{icon:"fa-solid fa-arrow-right"})])])):Ze("",!0),_t("li",{onClick:t[4]||(t[4]=g=>s.setContent("webseite"))},[_t("h3",null,[qe(A,{icon:"fa-solid fa-globe"}),t[10]||(t[10]=Pn(" Webseite ",-1)),qe(A,{icon:"fa-solid fa-arrow-right"})])])])],8,QL)}const kL=wi(IL,[["render",HL],["__scopeId","data-v-06d6c270"]]),Th="/assets/person-dummy.a54ea93a.jpg";const NL={setup(){const n=$i(),t=Qr(),e=$s();return{stateStore:n,webglStore:t,api:"https://cmsdemo.exporeal-berlin-brandenburg.de/assets/",standStore:e}},data(){var n;return{personImage:Th,slug:(n=this.$route.params)==null?void 0:n.id}},props:{messestand:Object},methods:{setContent(n){let t="/stand/"+this.slug+"/"+n;this.$router.push(t),this.stateStore.setStandContent(n)}},mounted(){this.stateStore.setSideBarWidth(60),this.$emit("sizeChange")}},zL={class:"inner-container"},VL={class:"headFlexBox"},GL={class:"header-links"},KL={class:"headerlist"},WL={class:"contactCards"},qL=["if"],jL={class:"content"},XL={class:"bold"},YL={key:0},JL={key:1},ZL={key:2},$L={class:"kontakt-bild"},tP=["src"],eP={class:"messestandort"},nP=["src"];function iP(n,t,e,i,r,s){var o,a,l,c,u,f,m,y,h,g;const A=Fi("font-awesome-icon");return ye(),be("div",zL,[_t("ul",null,[_t("li",null,[_t("div",VL,[_t("div",GL,[_t("div",null,[t[5]||(t[5]=_t("h2",null,"Kontakt und Standort",-1)),_t("h3",null,Yn((o=e.messestand)==null?void 0:o.firmen_name),1)]),_t("ul",KL,[_t("li",{onClick:t[0]||(t[0]=b=>i.standStore.setActiveView("stand-overview"))},"\xDCbersicht"),((a=e.messestand)==null?void 0:a.tafel_1)||((l=e.messestand)==null?void 0:l.tafel_2)||((c=e.messestand)==null?void 0:c.tafel_3)?(ye(),be("li",{key:0,onClick:t[1]||(t[1]=b=>i.standStore.setActiveView("boards"))}," Tafeln ")):Ze("",!0),((u=e.messestand)==null?void 0:u.infostaende.length)>0?(ye(),be("li",{key:1,onClick:t[2]||(t[2]=b=>i.standStore.setActiveView("Infomaterial"))}," Brosch\xFCren ")):Ze("",!0),(f=e.messestand)!=null&&f.video?(ye(),be("li",{key:2,onClick:t[3]||(t[3]=b=>i.standStore.setActiveView("Video"))},"Video")):Ze("",!0),((m=e.messestand)==null?void 0:m.website)||((y=e.messestand)==null?void 0:y.website_ersatz)?(ye(),be("li",{key:3,onClick:t[4]||(t[4]=b=>i.standStore.setActiveView("Webseite"))}," Webseite ")):Ze("",!0)])])])]),_t("li",null,[_t("div",WL,[(ye(!0),be(Qn,null,cr((h=e.messestand)==null?void 0:h.kontaktdaten,(b,U)=>{var N,L,R,j;return ye(),be("div",{class:"headFlexBox",if:(N=e.messestand)==null?void 0:N.kontaktdaten,key:U},[_t("div",jL,[_t("h3",null,[qe(A,{icon:"fa-solid fa-address-card icon"}),_t("span",XL,Yn(b.name),1)]),((L=b.job_titel)==null?void 0:L.length)>0?(ye(),be("h3",YL,Yn(b.job_titel),1)):Ze("",!0),((R=b.email)==null?void 0:R.length)>0?(ye(),be("h3",JL,[qe(A,{icon:"fa-solid fa-envelope"}),t[6]||(t[6]=_t("span",{class:"bold"}," Email",-1)),Pn(": "+Yn(b.email),1)])):Ze("",!0),((j=b.telefon)==null?void 0:j.length)>0?(ye(),be("h3",ZL,[qe(A,{icon:"fa-solid fa-phone"}),t[7]||(t[7]=_t("span",{class:"bold"}," Tel.",-1)),Pn(": "+Yn(b.telefon),1)])):Ze("",!0)]),_t("div",$L,[_t("img",{src:i.api+b.bild,alt:""},null,8,tP)])],8,qL)}),128))])]),_t("li",null,[_t("div",eP,[_t("img",{src:i.api+((g=e.messestand)==null?void 0:g.messestandort),alt:""},null,8,nP)])])])])}const Ux=wi(NL,[["render",iP],["__scopeId","data-v-6cbea363"]]);const rP={setup(){const n=$i(),t=Qr(),e=$s();return{stateStore:n,webglStore:t,api:"https://cmsdemo.exporeal-berlin-brandenburg.de/assets/",standStore:e}},data(){var n;return{slug:(n=this.$route.params)==null?void 0:n.id}},props:{messestand:Object},methods:{setContent(n){let t="/stand/"+this.slug+"/"+n;this.$router.push(t),this.stateStore.setStandContent(n)}},mounted(){this.stateStore.setSideBarWidth(60),this.$emit("sizeChange")}},sP={class:"inner-container"},AP={class:"headFlexBox"},oP={class:"header-links"},aP={class:"headerlist"},lP={key:0,class:"headFlexBox"},cP=["src"];function uP(n,t,e,i,r,s){var A,o,a,l,c,u,f,m;return ye(),be("div",sP,[_t("ul",null,[_t("li",null,[_t("div",AP,[_t("div",oP,[_t("div",null,[t[5]||(t[5]=_t("h2",null,"Video",-1)),_t("h3",null,Yn((A
3157=e.messestand)==null?void 0:A.firmen_name),1)]),_t("ul",aP,[_t("li",{onClick:t[0]||(t[0]=y=>i.standStore.setActiveView("stand-overview"))}," \xDCbersicht "),((o=e.messestand)==null?void 0:o.tafel_1)||((a=e.messestand)==null?void 0:a.tafel_2)||((l=e.messestand)==null?void 0:l.tafel_3)?(ye(),be("li",{key:0,onClick:t[1]||(t[1]=y=>i.standStore.setActiveView("boards"))},"Tafeln")):Ze("",!0),((c=e.messestand)==null?void 0:c.infostaende.length)>0?(ye(),be("li",{key:1,onClick:t[2]||(t[2]=y=>i.standStore.setActiveView("Infomaterial"))}," Brosch\xFCren ")):Ze("",!0),((u=e.messestand)==null?void 0:u.kontaktdaten.length)>0?(ye(),be("li",{key:2,onClick:t[3]||(t[3]=y=>i.standStore.setActiveView("Kontakt"))}," Kontakt ")):Ze("",!0),((f=e.messestand)==null?void 0:f.website)||((m=e.messestand)==null?void 0:m.website_ersatz)?(ye(),be("li",{key:3,onClick:t[4]||(t[4]=y=>i.standStore.setActiveView("Webseite"))}," Webseite ")):Ze("",!0)])]),t[6]||(t[6]=_t("div",null,null,-1))])]),_t("li",null,[e.messestand?(ye(),be("div",lP,[_t("video",{src:i.api+e.messestand.video,controls:""},null,8,cP)])):Ze("",!0)])])])}const Tx=wi(rP,[["render",uP],["__scopeId","data-v-adf4d7c0"]]);const fP={setup(){const n=$i(),t=Qr(),e=$s();return{stateStore:n,webglStore:t,api:"https://cmsdemo.exporeal-berlin-brandenburg.de/assets/",standStore:e}},data(){var n;return{activeIndex:null,personImage:Th,iframeContent:null,slug:(n=this.$route.params)==null?void 0:n.id}},props:{messestand:Object},methods:{setContent(n){let t="/stand/"+this.slug+"/"+n;this.$router.push(t),this.stateStore.setStandContent(n)},openInfo(n,t){this.activeIndex=t,console.log("info",n),this.iframeC
3157ontent=n.directus_files_id}},mounted(){this.$emit("sizeChange")}},hP={class:"inner-container"},dP={class:"headFlexBox"},pP={class:"header-links"},gP={class:"headerlist"},mP={class:Wi(["brochure-overview"])},wP=["onClick"],vP={key:0,class:"frame-li"},yP={class:"frame-wrapper"},BP=["src"];function _P(n,t,e,i,r,s){var o,a,l,c,u,f,m,y,h;const A=Fi("font-awesome-icon");return ye(),be("div",hP,[_t("ul",null,[_t("li",null,[_t("div",dP,[_t("div",pP,[_t("div",null,[t[5]||(t[5]=_t("h2",null,"Brosch\xFCren",-1)),_t("h3",null,Yn((o=e.messestand)==null?void 0:o.firmen_name),1)]),_t("ul",gP,[_t("li",{onClick:t[0]||(t[0]=g=>i.standStore.setActiveView("StandOverview"))},"\xDCbersicht"),((a=e.messestand)==null?void 0:a.kontaktdaten.length)>0?(ye(),be("li",{key:0,onClick:t[1]||(t[1]=g=>i.standStore.setActiveView("kontakt"))},"Kontakt")):Ze("",!0),((l=e.messestand)==null?void 0:l.tafel_1)||((c=e.messestand)==null?void 0:c.tafel_2)||((u=e.messestand)==null?void 0:u.tafel_3)?(ye(),be("li",{key:1,onClick:t[2]||(t[2]=g=>i.standStore.setActiveView("boards"))},"Tafeln")):Ze("",!0),(f=e.messestand)!=null&&f.video?(ye(),be("li",{key:2,onClick:t[3]||(t[3]=g=>i.standStore.setActiveView("Video"))},"Video")):Ze("",!0),((m=e.messestand)==null?void 0:m.website)||((y=e.messestand)==null?void 0:y.website_ersatz)?(ye(),be("li",{key:3,onClick:t[4]||(t[4]=g=>i.standStore.setActiveView("Webseite"))},"Webseite")):Ze("",!0)])]),t[6]||(t[6]=_t("div",null,null,-1))])]),_t("li",mP,[(ye(!0),be(Qn,null,cr((h=e.messestand)==null?void 0:h.infostaende,(g,b)=>(ye(),be("div",{key:b,class:Wi(["infomaterial",["infomaterial",r.activeIndex===b?"active":"inactive"]]),onClick:U=>s.openInfo(g,b)},[qe(A,{icon:"fa-solid fa-file"}),_t("span",null,Yn(g.titel),1)],10,wP))),128))])]),_t("ul",null,[r.iframeContent?(ye(),be("li",vP,[_t("div",yP,[_t("iframe",{src:i.api+r.iframeContent,width:"100%",class:"frame",allowfullscreen:""},null,8,BP)])])):Ze("",!0)])])}const Ix=wi(fP,[["render",_P],["__scopeId","data-v-ab3c63c1"]]);const xP={setup(){const n=$i(),t=Qr(),e=$s();return{stateStore:n,webglStore:t,api:"https://cmsdemo.exporeal-berlin-brandenburg.de/assets/",standStore:e}},data(){var n;return{personImage:Th,iframeContent:null,slug:(n=this.$route.params)==null?void 0:n.id}},props:{messestand:Object},methods:{setContent(n){let t="/stand/"+this.slug+"/"+n;this.$router.push(t),this.stateStore.setStandContent(n)}
3157,openInfo(n){console.log("info",n),this.iframeContent=n.directus_files_id}},mounted(){console.log("messestand webseite",this.messestand),this.stateStore.setSideBarWidth(60),this.$emit("sizeChange")}},bP={class:"inner-container"},CP={class:"headFlexBox"},SP={class:"header-links"},FP={class:"headerlist"},EP={key:0,style:{"line-height":"0"}},MP=["src"],UP={key:1},TP={class:"frame-wrapper"},IP=["src"];function QP(n,t,e,i,r,s){var A,o,a,l,c,u,f,m,y,h,g;return ye(),be("div",bP,[_t("ul",null,[_t("li",null,[_t("div",CP,[_t("div",SP,[_t("div",null,[t[5]||(t[5]=_t("h2",null,"Webseite",-1)),_t("h3",null,Yn((A=e.messestand)==null?void 0:A.firmen_name),1)]),_t("ul",FP,[_t("li",{onClick:t[0]||(t[0]=b=>i.standStore.setActiveView("StandOverview"))}," \xDCbersicht "),((o=e.messestand)==null?void 0:o.kontaktdaten.length)>0?(ye(),be("li",{key:0,onClick:t[1]||(t[1]=b=>i.standStore.setActiveView("kontakt"))}," Kontakt ")):Ze("",!0),((a=e.messestand)==null?void 0:a.tafel_1)||((l=e.messestand)==null?void 0:l.tafel_2)||((c=e.messestand)==null?void 0:c.tafel_3)?(ye(),be("li",{key:1,onClick:t[2]||(t[2]=b=>i.standStore.setActiveView("boards"))}," Tafeln ")):Ze("",!0),((u=e.messestand)==null?void 0:u.infostaende.length)>0?(ye(),be("li",{key:2,onClick:t[3]||(t[3]=b=>i.standStore.setActiveView("Infomaterial"))}," Brosch\xFCren ")):Ze("",!0),(f=e.messestand)!=null&&f.video?(ye(),be("li",{key:3,onClick:t[4]||(t[4]=b=>i.standStore.setActiveView("Video"))},"Video")):Ze("",!0)])])])]),(m=e.messestand)!=null&&m.website_ersatz?(ye(),be("li",EP,[_t("img",{src:i.api+((y=e.messestand)==null?void 0:y.website_ersatz),class:"frame-ersatz"},null,8,MP)])):(h=e.messestand)!=null&&h.website?(ye(),be("li",UP,[_t("div",TP,[_t("iframe",{src:(g=e.messestand)==null?void 0:g.website,class:"frame",allowfullscreen:""},null,8,IP)])])):Ze("",!0)])])}const Qx=wi(xP,[["render",QP],["__scopeId","data-v-9d495b79"]]);const LP={setup(){const n=$i(),t=Qr(),e=$s();return{stateStore:n,webglStore:t,api:"https://cmsdemo.exporeal-berlin-brandenburg.de/assets/",standStore:e}},data(){var n;return{activeIndex:null,personImage:Th,iframeContent:null,slug:(n=this.$route.params)==null?void 0:n.id,fullscreen:!1}},props:{messestand:Object},methods:{setContent(n){let t="/stand/"+this.slug+"/"+n;this.$router.push(t),this.stateStore.setStandContent(n)},openInfo(n,t){this.activeIndex=t,console.log("info",n),this.iframeC
3157ontent=n},toggleFullscreen(){console.log("toggle fullscreen",this.fullscreen),this.fullscreen?document.exitFullscreen&&(document.exitFullscreen(),ks.to(".frame",{height:"700px"}),this.fullscreen=!1):this.$refs.fullscreenBox.requestFullscreen&&(this.$refs.fullscreenBox.requestFullscreen(),ks.to(".frame",{height:"100vh"}),this.fullscreen=!0)}},mounted(){this.$emit("sizeChange");let n=this;window.addEventListener("fullscreenchange",function(t){var e;((e=document.fullscreenElement)==null?void 0:e.nodeName)=="LI"?n.fullscreen=!0:(n.fullscreen=!1,ks.to(".frame",{height:"700px"}))})}},PP={class:"inner-container"},DP={class:"headFlexBox"},RP={class:"header-links"},OP={class:"headerlist"},HP={class:Wi(["brochure-overview"])},kP={key:0,class:"frame-li",ref:"fullscreenBox"},NP={class:"top-bar"},zP={key:0,class:"fullscreen-state"},VP={key:1,class:"normal-state"},GP={class:"frame-wrapper"},KP=["src"];function WP(n,t,e,i,r,s){var o,a,l,c,u,f,m,y,h;const A=Fi("font-awesome-icon");return ye(),be("div",PP,[_t("ul",null,[_t("li",null,[_t("div",DP,[_t("div",RP,[_t("div",null,[t[9]||(t[9]=_t("h2",null,"Tafeln",-1)),_t("h3",null,Yn((o=e.messestand)==null?void 0:o.firmen_name),1)]),_t("ul",OP,[_t("li",{onClick:t[0]||(t[0]=g=>i.standStore.setActiveView("StandOverview"))},"\xDCbersicht"),((a=e.messestand)==null?void 0:a.kontaktdaten.length)>0?(ye(),be("li",{key:0,onClick:t[1]||(t[1]=g=>i.standStore.setActiveView("Kontakt"))},"Kontakt")):Ze("",!0),(l=e.messestand)!=null&&l.video?(ye(),be("li",{key:1,onClick:t[2]||(t[2]=g=>i.standStore.setActiveView("Video"))},"Video")):Ze("",!0),((c=e.messestand)==null?void 0:c.website)||((u=e.messestand)==null?void 0:u.website_ersatz)?(ye(),be("li",{key:2,onClick:t[3]||(t[3]=g=>i.standStore.setActiveView("Webseite"))},"Webseite")):Ze("",!0),((f=e.messestand)==null?void 0:f.infostaende.length)>0?(ye(),be("li",{key:3,onClick:t[4]||(t[4]=g=>i.standStore.setActiveView("Infomaterial"))}," Brosch\xFCren ")):Ze("",!0)])]),t[10]||(t[10]=_t("div",null,null,-1))])]),_t("li",HP,[(m=e.messestand)!=null&&m.tafel_1?(ye(),be("div",{key:0,class:Wi(["infomaterial",["infomaterial",r.activeIndex===n.index?"active":"inactive"]]),onClick:t[5]||(t[5]=g=>{var b;return s.openInfo((b=e.messestand)==null?void 0:b.tafel_1,0)})},[qe(A,{icon:"fa-solid fa-file"}),t[11]||(t[11]=_t("span",null,"Tafel 1",-1))],2)):Ze("",!0),(y=e.messestand)!=null&&y.tafel_2?(ye(),be("div",{key:0,class:Wi(["infomaterial",["infomaterial",r.activeIndex===n.index?"active":"inactive"]]),onClick:t[6]||(t[6]=g=>{var b;return s.openInfo((b=e.messestand)==null?void 0:b.tafel_2,1)})},[qe(A,{icon:"fa-solid fa-file"}),t[12]||(t[12]=_t("span",null,"Tafel 2",-1))],2)):Ze("",!0),(h=e.messestand)!=null&&h.tafel_3?(ye(),be("div",{key:0,class:Wi(["infomaterial",["infomaterial",r.activeIndex===n.index?"active":"inactive"]]),onClick:t[7]||(t[7]=g=>{var b;return s.openInfo((b=e.messestand)==null?void 0:b.tafel_3,2)})},[qe(A,{icon:"fa-solid fa-file"}),t[13]||(t[13]=_t("span",null,"Tafel 3",-1))],2)):Ze("",!0)])]),_t("ul",null,[r.iframeContent?(ye(),be("li",kP,[_t("div",NP,[_t("button",{onClick:t[8]||(t[8]=g=>s.toggleFullscreen()),class:"fullscreen-toggle"},[r.fullscreen?(ye(),be("div",zP,[...t[14]||(t[14]=[_t("div",null,null,-1),_t("div",null,null,-1),_t("div",null,null,-1),_t("div",null,null,-1)])])):(ye(),be("div",VP,[...t[15]||(t[15]=[_t("div",null,null,-1),_t("div",null,null,-1),_t("div",null,null,-1),_t("div",null,null,-1)])]))])]),_t("div",GP,[_t("iframe",{src:i.api+r.iframeContent,width:"100%",class:"frame",allowfullscreen:""},null,8,KP)])],512)):Ze("",!0)])])}const Lx=wi(LP,[["render",WP],["__scopeId","data-v-3d8ea62d"]]);const qP={components:{StandOverview:Mx,Kontakt:Ux,NavInfo:Pc,Video:Tx,Infomaterial:Ix,Webseite:Qx,Boards:Lx,StandOverviewModal:kL},setup(){const n=$i(),t=Qr(),e=No(),i=$s();return Ks({name:""}),{stateStore:n,webglStore:t,dataStore:e,standStore:i}},data(){var n,t;return{slug:(n=this.$route.params)==null?void 0:n.id,subpart:(t=this.$route.params)==null?void 0:t.subdivision,messestand:null}},methods:{changeSize(){console.log("changing size"),ks.to(".sidebar",{width:this.sideBarWidth.width+"%",duration:1})}},computed:{sideBarWidth(){return{width:this.stateStore.sideBarWidthState}}},async mounted(){const n=parseInt(this.slug);
3157if(console.log("this.$route",this.$route),this.dataStore.dataMessestaende){const t=this.dataStore.dataMessestaende.data.data;console.log("messestaende",t),this.messestand=t.filter(e=>parseInt(e.id)==n),this.messestand=this.messestand[0]}else{const t=await this.dataStore.getMessestaende();console.log("messestaende async",t),this.messestand=t==null?void 0:t.data.data.filter(e=>parseInt(e.id)==n),this.messestand=this.messestand[0]}console.log("this.messestand",this.messestand),console.log("this.currentCompontentName",this.currentCompontentName),console.log("slug mounted")}};function jP(n,t,e,i,r,s){var A,o,a,l,c;return ye(),be("div",{class:"content-area",key:n.currentCompontentName},[(ye(),dh(Jy((o=(A=i.standStore)==null?void 0:A.messestand)==null?void 0:o.view),{onSizeChange:t[0]||(t[0]=u=>s.changeSize()),messestand:(a=i.standStore)==null?void 0:a.messestand.value,key:(c=(l=i.standStore)==null?void 0:l.messestand)==null?void 0:c.view},null,40,["messestand"]))])}const XP=wi(qP,[["render",jP],["__scopeId","data-v-07c82588"]]);const YP={setup(){const n=$s();return{api:"https://cmsneu.mipim-berlin.de/assets/",standStore:n}}},JP={class:"contact-wrapper"},ZP={class:"contact-content",id:"kontakt"},$P={class:"contact-container"},tD=["src"],eD={class:"card-info"},nD={style:{"font-style":"italic"}},iD=["href"];function rD(n,t,e,i,r,s){var A,o;return ye(),be("div",JP,[_t("div",ZP,[t[5]||(t[5]=_t("h2",null,"Kontakt",-1)),_t("div",$P,[(ye(!0),be(Qn,null,cr((o=(A=i.standStore)==null?void 0:A.contacts.value)==null?void 0:o.data.data.kontakte,(a,l)=>(ye(),be("div",{key:l,class:"contact-card"},[_t("img",{src:i.api+a.foto,alt:""},null,8,tD),_t("div",eD,[Pn(Yn(a.vorname)+", "+Yn(a.name)+" ",1),t[0]||(t[0]=_t("br",null,null,-1)),_t("span",nD,Yn(a.beschreibung),1),t[1]||(t[1]=Pn()),t[2]||(t[2]=_t("br",null,null,-1)),_t("a",{href:"mailto:"+a.email},Yn(a.email),9,iD),t[3]||(t[3]=Pn()),t[4]||(t[4]=_t("br",null,null,-1))])]))),128))])])])}const sD=wi(YP,[["render",rD],["__scopeId","data-v-71353630"]]);const AD={},oD={class:"footer"},aD={class:"footer-content"},lD={class:"social-media"},cD={href:"https://de.linkedin.com/company/runze-casper",target:"_blank",rel:"noopener"};function uD(n,t){const e=Fi("font-awesome-icon");return ye(),be("div",oD,[_t("div",aD,[t[0]||(t[0]=_t("p",null,"\xA9 2026 Exporeal Berlin Brandenburg. Alle Rechte vorbehalten.",-1)),_t("div",lD,[_t("a",cD,[qe(e,{icon:"fa-brands fa-linkedin"})])]),t[1]||(t[1]=_t("div",{class:"footer-links"},[_t("a",{href:"/text/impressum"},"Impressum"),_t("a",{href:"/text/datenschutz"},"Datenschutz")],-1))])])}const Px=wi(AD,[["render",uD],["__scopeId","data-v-dcb88486"]]),fD="/assets/Berlin-Brandenburg.17533219.jpg";const hD={setup(){const n=$i(),t=No(),e=$s(),i="https://cmsdemo.exporeal-berlin-brandenburg.de/assets/",r=oh(!1);function s(){r.value=!r.value}return{stateStore:n,dataStore:t,api:i,toggleMenu:s,isMenuOpen:r,standStore:e}},components:{Programm:fE,StandModal:XP,SiteContact:sD,Footer:Px},data(){return{messestaende:null,programm:null,standIsOpen:!1,messestand:null,isBlinkOn:!0,isBlinking:!0,_blinkInterval:null}},methods:{openStand(n){var t;this.stateStore.setActiveStand(n),this.standStore.setActiveView("StandOverview"),this.messestand=(t=this.messestaende)==null?void 0:t.data.data.filter(e=>parseInt(e.id)==n),this.messestand=this.messestand[0],this.standStore.setActiveMessestand(this.messestand),this.standIsOpen=!0},goBack(){},goTo(n,t,e,i){this.stateStore.setActiveStand(n),this.stateStore.setActiveNavigation("stand"),this.$router.push(`/stand/${n}/stand-overview`)},scrollTo(n,t=!0){document.getElementById(n).scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}),t&&this.toggleMenu()},scrollToHashOnLoad(n=""){var i;const t=(n||window.location.hash||((i=this.$route)==null?void 0:i.hash)||"").replace("#","");if(console.log("hash",t),!t)return;const e=()=>{const r=document.getElementById(t);if(!r){requestAnimationFrame(()=>setTimeout(e,100));return}r.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})};this.$nextTick(()=>{requestAnimationFrame(()=>setTimeout(e,50))})}},async mounted(){var n;console.log("HOME INIT HASH",window.location.hash,(n=this.$route)==null?void 0:n.hash),this.isBlinkOn=!0,this.isBlinking=!0,this._blinkInterval=setInterval(()=>{this.isBlinkOn=!this.isBlinkOn},600),this._onUserScroll=()=>{this._blinkInterval&&(clearInterval(this._blinkInterval),this._blinkInterval=null),this.isBlinking=!1,this.isBlinkOn=!1,window.removeEventListener("scroll",this._onUserScroll)},window.addEventListener("scroll",this._onUserScroll,{passive:!0}
3157),this.messestaende=await this.dataStore.getMessestaende(),console.log("messestaende",this.messestaende),this._onHashChange=()=>{this.scrollToHashOnLoad(window.location.hash)},window.addEventListener("hashchange",this._onHashChange,{passive:!0}),this.scrollToHashOnLoad(window.location.hash)},beforeUnmount(){this._blinkInterval&&(clearInterval(this._blinkInterval),this._blinkInterval=null),this._onUserScroll&&(window.removeEventListener("scroll",this._onUserScroll),this._onUserScroll=null),this._onHashChange&&(window.removeEventListener("hashchange",this._onHashChange),this._onHashChange=null)}},dD={class:"menu-wrapper"},pD={key:0,class:"middle-menu"},gD={key:1,class:"middle-menu slim"},mD={class:"home"},wD={class:"color-overlay"},vD={key:0,class:"blink-wrapper"},yD={class:"teilnehmer",id:"teilnehmer"},BD={class:"teilnehmer-container"},_D=["onClick"],xD=["src"],bD={class:"teilnehmer-container"},CD=["onClick"],SD=["src"],FD={class:"teilnehmer-container"},ED=["onClick"],MD=["src"],UD={class:"programm",id:"programm"};function TD(n,t,e,i,r,s){var u,f,m,y,h,g;const A=Fi("font-awesome-icon"),o=Fi("NavInfo"),a=Fi("Programm"),l=Fi("StandModal"),c=Fi("Footer");return ye(),be("div",null,[_t("div",{class:Wi(["side-menu",i.isMenuOpen?"open":null])},[_t("div",dD,[_t("div",{class:Wi(["bar-menu",{open:i.isMenuOpen}]),onClick:t[0]||(t[0]=(...b)=>i.toggleMenu&&i.toggleMenu(...b)),style:{cursor:"pointer",width:"32px",height:"32px",display:"flex","flex-direction":"column","justify-content":"center","align-items":"flex-start"}},[_t("span",{class:Wi(["bar",{bar1:!0,change:i.isMenuOpen}])},null,2),_t("span",{class:Wi(["bar",{bar2:!0,change:i.isMenuOpen}])},null,2),_t("span",{class:Wi(["bar",{bar3:!0,change:i.isMenuOpen}])},null,2)],2)]),i.isMenuOpen?(ye(),be("div",pD,[_t("ul",null,[_t("li",{onClick:t[1]||(t[1]=b=>s.scrollTo("teilnehmer"))}," Teilnehmer "),_t("li",{onClick:t[2]||(t[2]=b=>s.scrollTo("programm"))}," Programm ")])])):(ye(),be("div",gD,[_t("ul",null,[_t("li",{onClick:t[3]||(t[3]=b=>s.scrollTo("teilnehmer",!1))},[qe(A,{icon:"fa-solid fa-users"})]),_t("li",{onClick:t[4]||(t[4]=b=>s.scrollTo("programm",!1))},[qe(A,{icon:"fa-solid fa-clipboard-list"})])])])),t[8]||(t[8]=_t("div",{class:"info-nav-wrapper"},[_t("ul",{class:"info-nav"},[_t("li",null,[_t("a",{href:"/text/datenschutz"},"Datenschutz")]),_t("li",null,[_t("a",{href:"/text/impressum"},"Impressum")])])],-1))],2),_t("main",mD,[t[11]||(t[11]=_t("img",{class:"background-image",src:fD,alt:""},null,-1)),_t("div",wD,[r.isBlinking?(ye(),be("div",vD,[t[10]||(t[10]=_t("p",null,"Bitte Scrollen",-1)),(ye(),be("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640",style:rh([{opacity:r.isBlinkOn?1:0,transition:"opacity 0.18s linear"},{color:"#FFF",width:"40px",fill:"white"}]),"aria-hidden":"true"},[...t[9]||(t[9]=[_t("path",{d:"M342.6 534.6C330.1 547.1 309.8 547.1 297.3 534.6L137.3 374.6C124.8 362.1 124.8 341.8 137.3 329.3C149.8 316.8 170.1 316.8 182.6 329.3L320 466.7L457.4 329.4C469.9 316.9 490.2 316.9 502.7 329.4C515.2 341.9 515.2 362.2 502.7 374.7L342.7 534.7zM502.6 182.6L342.6 342.6C330.1 355.1 309.8 355.1 297.3 342.6L137.3 182.6C124.8 170.1 124.8 149.8 137.3 137.3C149.8 124.8 170.1 124.8 182.6 137.3L320 274.7L457.4 137.4C469.9 124.9 490.2 124.9 502.7 137.4C515.2 149.9 515.2 170.2 502.7 182.7z"},null,-1)])],4))])):Ze("",!0)]),qe(o),t[12]||(t[12]=_t("div",{class:"introH1Wrapper"},[_t("div",{class:"IntroH1"},[_t("h2",null,"Willkommen auf dem Stand Berlin-Brandenburg Expo Real in M\xFCnchen vom 5.-7. Oktober 2026 Standnummer B2.420 ")])],-1))]),_t("div",yD,[t[13]||(t[13]=_t("h2",null," Premium Partner",-1)),_t("div",BD,[(ye(!0),be(Qn,null,cr((f=(u=r.messestaende)==null?void 0:u.data)==null?void 0:f.data.filter(b=>b.partner_kategorie==="Premium"),(b,U)=>(ye(),be("div",{class:"teilnehmer-box",onClick:N=>s.openStand(b.id),key:U},[_t("img",{src:"https://cmsdemo.exporeal-berlin-brandenburg.de/assets/"+b.firmen_logo,alt:""},null,8,xD)],8,_D))),128))]),t[14]||(t[14]=_t("h2",null," Partner ",-1)),_t("div",bD,[(ye(!0),be(Qn,null,cr((y=(m=r.messestaende)==null?void 0:m.data)==null?void 0:y.data.filter(b=>b.partner_kategorie==="Advanced"),(b,U)=>(ye(),be("div",{class:"teilnehmer-box",onClick:N=>s.openStand(b.id),key:U},[_t("img",{src:"https://cmsdemo.exporeal-berlin-brandenburg.de/assets/"+b.firmen_logo,alt:""},null,8,SD)],8,CD))),128))]),t[15]||(t[15]=_t("h2",null," Sponsor ",-1)),_t("div",FD,[(ye(!0),be(Qn,null,cr((g=(h=r.messestaende)==null?void 0:h.data)==null?void 0:g.data.filter(b=>b.partner_kategorie==="Starter"),(b,U)=>(ye(),be("div",{class:"teilnehmer-box",onClick:N=>s.openStand(b.id),key:U},[_t("img",{src:"https://cmsdemo.exporeal-berlin-brandenburg.de/assets/"+b.firmen_logo,alt:""},null,8,MD)],8,ED))),128))])]),_t("div",UD,[qe(a)]),qe(Q4,{name:"fade-blur"},{default:lh(()=>[r.standIsOpen?(ye(),be("div",{key:0,class:"modal-overlay",onClick:t[7]||(t[7]=b=>
3157r.standIsOpen=!1)},[_t("div",{class:"modal-content",onClick:t[6]||(t[6]=n5(()=>{},["stop"]))},[_t("div",{onClick:t[5]||(t[5]=b=>r.standIsOpen=!1),class:"close-icon"},[qe(A,{icon:"fa-solid fa-x"})]),qe(l,{messestand:r.messestand},null,8,["messestand"])])])):Ze("",!0)]),_:1}),qe(c)])}const ID=wi(hD,[["render",TD],["__scopeId","data-v-517a547b"]]),QD="/assets/MIPIM23-Header-links.9a78b553.9a78b553.png",LD="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA1wAAAD6CAYAAAC1SEaqAAAACXBIWXMAAAsSAAALEgHS3X78AAAOFElEQVR42u3df2yUdZ7A8U/Bblns0K3ggq25P4xJEUgInK13R+xdgVxQ/xAot5q9pAh6P0iAuQVWsqjIcVHPNXgWuax7QA6MxhNbocm6IZuF3kEumDSn1gPSJoY/VEa56HWhPQLbhd4fhG6H6Y/pD2BKX6+kf8wzzzzzzHfmSfrO8yuvq6srAAAAGHnjDAEAAIDgAgAAEFwAAAAILgAAAMEFAAAguAAAABBcAAAAggsAAEBwAQAAILgAAAAEFwAAgOACAABAcAEAAAguAAAAwQUAAIDgAgAAEFwAAACCCwAAAMEFAAAguAAAAAQXAAAAggsAAEBwAQAACC4AAAAEFwAAgOACAAAQXAAAAAguAAAAwQUAACC4AAAAEFwAAACCCwAAQHABAAAguAAAAAQXAACA4AIAAEBwAQAACC4AAADBBQAAgOACAAAQXAAAAIILAAAAwQUAACC4AAAABBcAAACCCwAAQHABAAAILgAAAAQXAACA4AIAABBcAAAACC4AAADBBQAAILgAAAAQXAAAAIILAABAcAEAACC4AAAABBcAAIDgAgAAQHABAAAILgAAAMEFAACA4AIAABBcAAAAggsAAADBBQAAILgAAAAEFwAAAIILAABAcAEAAAguAAAABBcAAIDgAgAAEFwAAAAILgAAAMEFAAAguAAAABBcAAAAggsAAEBwAQAAILgAAAAEFwAAgOACAABAcAEAAAguAAAAwWUIAAAABBcAAIDgAgAAQHABAAAILgAAAMEFAACA4AIAABBcAAAAggsAAADBBQAAILgAAABGp9sMAQDAjZWXl9dlFBirurq68gQXAADXVXV1dVRWVhqIMSiZTI7J7//IkSNRX18/5r5vwQUAcBNUVlbG2rVrDcQYDa6x+v2PxeByDhcAAIDgAgAAEFwAAAAILgAAAMEFAAAguAAAABBcAAAAggsAAEBwAQAA0O02QwAAAGNLe3t7tLS0REREeXm5ARFcAADAcDU1NcXBgwfjjTfeiFQq1T29qqoq5s6dGw899FAsWLDAQAkuAAAgW/Pnz4/GxsY+n29sbIzGxsbYtm1bdHV1GbAR5BwuAAC4xd1xxx0GQXABAADXw6pVq7Ket7W11YAJLgAAIFsLFiyI06dPR21t7YDz7tu3z4AJLgAAIOLKhTC2b98eTU1N/c5XV1cXyWRywOU1NzcbVMEFAABERJw8eTKSyWRUVFTE9u3b+5xvxYoV8eSTTw64vPr6eoMquAAAgIiIpUuXRklJSUREvPzyy33u6UokErFr1y4DdoO5LDwAwCjz7V+ti67fnO3z+fzZM2P8H5TGdxf+aYwvmTasZfWU972imLzz1YzpFw4fjY6f7el3fcYVTYoJf/5nkV9274Dv0/76rrh45Fj34+LaFwb8HFddSn0dbclnuh9P/MvqmLj44QE/d1/zXdXZ+lmcffal7seFq56ICfMfzInfQyKRiI0bN0YymYxUKhUVFRUxe/bsWLlyZSxbtqw7xiIiDh06ZAMSXAAA9OfC3gP9Pn+x4cr9ls5GROHm1ZFI/nWMSxQOaVkZegmuzhOt3e/Z3/qcixdj/Kx7ovjnr0RB+Zy+5z9yLG15v3v6q6yD63env8pYl95C6trP3fnhJ1FQMbfP97nwq39PW25B5R/nTHBFXDlc8MCBA9332mpubo5kMhnJZDKqqqpizZo1MWPGjKipqRlwWbNnz7aRjSCHFAIA3MI6tu6I/12ZzJn1uXT8VHwzrzrOH/hlTo3T5TNtce6f3hi133MikYiGhoZez9FqbGyMpUuXxvTp0yOVSg24rPvvv9+GI7gAAMjWxYbGnAucth+sjguHj+bUOp2vfTM6Wz8b1dG1a9eu2LNnz7CW88gjj9hoBBcAAFfd9e2nUfrbU1H621Mx5T/rY9K2TZkx8Xb9oJfV2182Jm3b1D3/9//7VzH54N6YmMw8lK1t+d/l3Fj2PE9rtFq+fHm0tLQM+dDAhQsX2qgEFwAA3f/Q9Tg/q6B8TiTWPJURXZ0ffjLoZY2E/LJ7Y8L8B6P4lS1RvG9H2nOXz7Tl3J63iw2NObfnbSjKysri6NGjWV0Gvqf169dHIpGwUQkuAAD6850/+sOMuLnZJi5+OPIr56aH4PGWnBu732z4+1viN5BIJGLr1q2D2tM1b948G4/gAgBgIJdOf5X2+NrQuVm+++ii9OBqPpEb/xRPLf792B0/Fe2vj+77VaVSqdiwYUOUlpZGc3Nz1q974IEHbDyCCwCA/lxs+jjOrnmu39AhXeKFp9Med/z0Z3G5vWNUh9a2bdsG/fqe9+xiZLgPFwDAKPf
3157NX/z+PJ3ODz/JOHxw/Kx74vYnHs9qWf+zcFmMKy7q8/kp7+0eXgz2uKFxxJWbIueCwprHouO1nXHp+JULg1w+0xbttf8SRc+uy9nv/dChQ3HixIkoKiqKGTNmxLvvvjukyBJbggsAgP4ipp+bDudXzo3Jb+7I+mIYnUc+um7ref7ALzPWNX/W9JwZx+KfvxLfzKvuftyxdUcUrvxh1jddvtFG+mqCd955p43pOnBIIQDALazzyEdxvv4XN+39L7d3xMWmj6Ptx1ui7Qer0/8RnVocExZU5sxYFZTPiYJHq9KmtSWfydnvtqWlJaqrq/t8vqSkJKqrq/udp6fBnOtF9uzhAgC4xZ1b/2LkFSWisOaxYS2n54UlBnq/c+tfHHC+otf/YcQvQz9cxbUvxNcNf9L9+GJDY1xs+jgnv9eysrKoq6uL/fv3x9tvvx0REZWVlTFz5sy47777ug8R3L9/f9TX19sQBBcAAENx7Q2JL6W+jm9rVqcdHtj+zE+zCq5sb248XIWbV8fExQ/n3FiOL5kWE5M1cb72ze5pZ3/yQk5fdGTJkiWxZMmSPp+/++67s15Wa2trlJWV2ahGkEMKAQBuMeNLpsWU/XvSpl0+05YTe2rGz7onJh/cm9MXoyjavCFtb17nkY/i//7130bt72H69OzPkzt58qQNSHABADDgP3mJwozzkW5kVBU8WtXr+9++4vGYMP/BnB+7wqdXpU27evXC0SiRSERVVXa/hQ8++MDGI7gAABjI5faOfq9eeD3dvuLxmPLe7pjy3u6YsHxx2nPn1r+Ys+dEpUXKmqdi/Kx7bonfwqFDh6KxMbvfwu7du6O9vd0GJLgAAOjLpdTX8c2SJzKm31Z61w1fl+JXt2aES9vf/HhU3FR40uZ1o/63kEqloqamZlCvef/9921EI8hFMwAARrnT3xl4T0x+5dys7ifV37LGTS2Ou774r0Gt27hEYcb9rS4dPxVt6zbH5J2vZrWMnq+9VuHm1dftfLCJix+O849W3bQ9hSNh7dq1kUqlBvWaGTNm2KhGkD1cAABjQNFLw7+f1OUzbUN6XUH5nCjcnH4Prgt7D0THm+8Oe506m09c13FLPL161H7nra2tQ7ocfHl5uQ1GcAEAkNU/e1OLo3jfjigon3Nzg+/ZdZFfOTdt2tmnfhKdrZ/l9PgVlM+JicmaUfnd79y5c0iva2pqsuEILgCAsR1R/bl6lcCiXS/F1JP/0e/9rq6NoKG8b15RIn2ZM3u/j1PxP/9jxjI6dr2VubzvFWW9TvmzZ6av46REv8/39rkHGs9JP/rbjPPQrv3Mueidd94Z0uu+/PJLG9kIcg4XAMAoM9jzqPrz/V/XDXsZhTWPZXVT5fyye7Na98k7X43I8vyu3t4jm5s3D+Zzjy+ZFtM++vWo+o2kUqk+z92qqqrq96qFX3zxhY1sBNnDBQAAt5jTp0/3GVuHDx+O9evX9/naTz/91AAKLgAAYDBKSkrirbeuHML5/PPP93kz5FOnThkswQUAAAzGxo0bo6SkJCIiEolENDQ0RHV15iX3s71JMoILAADGpOnTp2dMW7ZsWdrjRCIRdXV1sXXr1ox5B3vvLgQXAACMGS0tLWmPq6qquvduXeu5556L2tratGl9nQOG4AIAgDFr7969UVpaGhUVFRnB1Zv29vYoLS2NZDKZNv3YsWMGU3ABAAA9bdq0qdfDAWfNmtXr/K+99lqv8xcVFRnMEeI+XAAAcAtob2+PAwcO9PpceXl5r9MXLVoUixYtynp+BBcAAIxJiURi0KEkrK4/hxQCAAAILgAAAMEFAACA4AIAABBcAAAAggsAAADBBQAAILgAAAAEFwAAAN1uMwQAADfe559/Hk1NTQbC9z+mPvNYlNfV1eUXDwBwI/8By8vzDxhjVldXV95Y+rz2cAEA3GBbtmz5kVGAscEeLgAAgOvERTMAAAAEFwAAgOACAABAcAEAAAguAAAAwQUAAIDgAgAAEFwAAACCCwAAAMEFAAAguAAAAAQXAAAAggsAAEBwAQAACC4AAAAEFwAAgOACAAAQXAAAAAguAAAAwQUAACC4AAAAEFwAAACCCwAAQHABAAAguAAAAAQXAACA4AIAAEBwAQAACC4AAADBBQAAgOACAAAQXAAAAIILAAAAwQUAACC4AAAABBcAAACCCwAAQHABAAAILgAAAAQXAACA4AIAABBcAAAACC4AAADBBQAAILgAAAAQXAAAAIILAABAcAEAACC4AAAABBcAAIDgAgAAQHABAAAILgAAAMEFAACA4AIAABBcAAAAggsAAADBBQAAILgAAAAEFwAAAIILAABAcAEAAAguAAAABBcAAIDgAgAAEFwAAAAILgAAAMEFAAAguAAAABBcAAAAggsAAEBwAQAAILgAAAAEFwAAgOACAABAcAEAAAguAAAAwQUAAIDgAgAAEFwAAACCCwAAAMEFAAAguAAAAAQXAAAAggsAAEBwAQAA8P9kPgLoVB5WXgAAAABJRU5ErkJggg==";const PD={components:{StandOverview:Mx,Kontakt:Ux,NavInfo:Pc,Video:Tx,Infomaterial:Ix,Webseite:Qx,Boards:Lx},setup(){const n=$i(),t=Qr(),e=No();return{stateStore:n,webglStore:t,dataStore:e}},data(){var n,t,e;return{slug:(n=this.$route.params)==null?void 0:n.id,subpart:(t=this.$route.params)==null?void 0:t.subdivision,currentCompontentName:(e=this.$route.params)==null?void 0:e.subdivision,messestand:null}},methods:{changeSize(){console.log("changing size"),ks.to(".sidebar",{width:this.sideBarWidth.width+"%",duration:1})}},computed:{sideBarWidth(){return{width:this.stateStore.sideBarWidthState}}},async mounted(){const n=parseInt(this.slug);if(console.log("this.$route",this.$route),this.dataStore.dataMessestaende){const t=this.dataStore.dataMessestaende.data.data;console.log("messestaende",t),this.messestand=t.filter(e=>parseInt(e.id)==n),this.messestand=this.messestand[0]}else{const t=await this.dataStore.getMessestaende();console.log("messestaende async",t),this.messestand=t==null?void 0:t.data.data.filter(e=>parseInt(e.id)==n),this.messestand=this.messestand[0]}console.log("this.messestand",this.messestand),console.log("this.currentCompontentName",this.currentCompontentName),console.log("slug mounted")}};function DD(n,t,e,i,r,s){return ye(),be("div",{class:"sidebar",key:r.currentCompontentName},[t[1]||(t[1]=_t("div",{class:"header-teilnehmer"},[_t("img",{src:QD}),_t("div",{class:"image-right"},[_t("img",{src:LD})])],-1)),(ye(),dh(Jy(r.currentCompontentName),{onSizeChange:t[0]||(t[0]=A=>s.changeSize()),messestand:r.messestand,key:r.currentCompontentName},null,40,["messestand"]))])}const S2=wi(PD,[["render",DD],["__scopeId","data-v-91517a41"]]),Dx="/assets/ExpoReal_23_transparent.78a6f0ae.png";const RD={data(){return{programm:null}},components:{NavInfo:Pc},setup(){const n=Qr(),t=No(),e=$i();return{webglStore:n,dataStore:t,days:["Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag","Sonntag"],stateStore:e}},async mounted(){var e;this.programm=await this.dataStore.getProgramm(),this.programm=(e=this.programm)==null?void 0:e.data.data[0],console.log("this.programm",this.programm);let n=window.innerWidth,t=window.innerHeight;this.stateStore.setSideBarWidth(60),this.webglStore.setRenderSize(.4*n,t)},methods:{returnDay(n){const t=new Date(n),e=t.getFullYear();return this.days[t.getDay()-1]+", "+t.getDate()+"."+(t.getMonth()+1)+"."+e.toString().substring(2)},addZero(n){return n<10&&(n="0"+n),n},returnTime(n){const t=new Date(n);return this.addZero(t.getHours())+":"+this.addZero(t.getMinutes())}}},OD={class:"sidebar"},HD={class:"inner-container"},kD={class:"header-teilnehmer"},ND={class:"programm-wrapper",id:"programm-wrapper",ref:"table"},zD={key:0},VD={key:0},GD={key:0},KD=["innerHTML"];function WD(n,t,e,i,r,s){const A=Fi("NavInfo"),o=Fi("v-pdf");return ye(),be("div",OD,[_t("div",HD,[_t("div",kD,[qe(A),t[0]||(t[0]=_t("img",{src:D
3157x},null,-1)),t[1]||(t[1]=_t("div",{class:"image-right"},[Pn(" Expo Real 2025 "),_t("br"),Pn(" vom 6.-8. Oktober "),_t("br"),Pn(" Stand B2.420 ")],-1))]),t[3]||(t[3]=_t("div",{class:"download-line"},[Pn(" Hier k\xF6nnen Sie das Programm als PDF herunterladen: "),_t("a",{href:"https://cmsdemo.exporeal-berlin-brandenburg.de/assets/2f4d0572-f97e-4b37-a95d-8d10df35ddf7",download:"Programm_Exporeal_2024.pdf",target:"_blank"},"PDF Download")],-1)),qe(o,{ref:"pdf"},{default:lh(()=>[_t("div",ND,[t[2]||(t[2]=_t("h2",null,"Programm",-1)),r.programm?(ye(),be("ul",zD,[(ye(!0),be(Qn,null,cr(r.programm.tag,(a,l)=>(ye(),be("li",{key:l},[a.tag?(ye(),be("h2",VD,Yn(s.returnDay(a.tag)),1)):Ze("",!0),_t("ul",null,[(ye(!0),be(Qn,null,cr(a.punkte,(c,u)=>(ye(),be("li",{key:u},[c.uhrzeit?(ye(),be("h3",GD,Yn(s.returnTime(c.uhrzeit)),1)):Ze("",!0),_t("p",{innerHTML:c.text},null,8,KD)]))),128))])]))),128))])):Ze("",!0)],512)]),_:1},512)])])}const qD=wi(RD,[["render",WD],["__scopeId","data-v-96e54215"]]),jD="/assets/LogoCGElementum_cmyk.1bd7e93b.png",Rx="/assets/ALDI.cf5a902d.png",Ox="/assets/Logo_EXPO_REAL.1344d8ef.png";const XD={data(){return{firmaLogo:jD,firmaLogoAldi:Rx,messestaende:null}},components:{NavInfo:Pc},setup(){const n=$i(),t=Qr(),e=No();return{stateStore:n,webglStore:t,dataStore:e}},async mounted(){this.messestaende=await this.dataStore.getMessestaende(),console.log("this.messestaende mounted",this.messestaende),ks.to(".header-teilnehmer",{backgroundImage:"linear-gradient(45deg,rgba(255,255,255,1) 0%, rgba(202, 49, 49, 0.945) 35%,rgba(255,255,255,1) 100%)",repeat:-1,duration:5,yoyo:!0,repeatDelay:.2},3)},methods:{goTo(n,t,e,i){this.stateStore.setActiveStand(n),this.stateStore.setActiveNavigation("stand"),this.$router.push(`/stand/${n}/stand-overview`)}}},YD={class:"sidebarTeilnehmer"},JD={class:"header-teilnehmer"},ZD={class:"teilnehmer-container"},$D=["onClick"],tR=["src"];function eR(n,t,e,i,r,s){var o,a;const A=Fi("NavInfo");return ye(),be("div",YD,[_t("div",JD,[qe(A),t[0]||(t[0]=_t("img",{src:Dx,alt:""},null,-1)),t[1]||(t[1]=_t("div",{class:"image-right"},[Pn(" Expo Real 2025 "),_t("br"),Pn(" vom 6.-8. Oktober "),_t("br"),Pn(" Stand B2.420 ")],-1))]),t[2]||(t[2]=_t("div",{class:"header-line"},[_t("h2",null,"Partner"),_t("img",{src:Ox,alt:""})],-1)),_t("div",ZD,[(ye(!0),be(Qn,null,cr((a=(o=r.messestaende)==null?void 0:o.data)==null?void 0:a.data,(l,c)=>(ye(),be("div",{class:"teilnehmer-box",onClick:u=>s.goTo(l.id,{x:6.8,y:2,z:-5},{x:-3,y:1,z:0},"stand"),key:c},[_t("img",{src:"https://cmsneu.mipim-berlin.de/assets/"+l.firmen_logo,alt:""},null,8,tR)],8,$D))),128))])])}const nR=wi(XD,[["render",eR],["__scopeId","data-v-d9f0c222"]]);const iR={data(){var n;return{firmaLogo:Ox,firmaLogoAldi:Rx,item:null,slug:(n=this.$route.params)==null?void 0:n.page}},setup(){const n=$i(),t=Qr(),e=No();return{stateStore:n,webglStore:t,dataStore:e}},components:{Footer:Px},async mounted(){this.item=await this.dataStore.getItem(this.slug),console.log("impressum",this.slug),console.log("impressum",this.item),ks.to(".header-teilnehmer",{backgroundImage:"linear-gradient(45deg,rgba(255,255,255,1) 0%, rgba(202, 49, 49, 0.945) 35%,rgba(255,255,255,1) 100%)",repeat:-1,duration:5,yoyo:!0,repeatDelay:.2},3)},methods:{navTo(n,t,e){console.log("test stateStore",this),this.stateStore.setActiveNavigation(e),this.stateStore.activeNavigationState==="stand"?this.$router.push(n+"/"+this.stateStore.standidState+"/stand-overview"):this.$router.push(n),this.stateStore.setStandContent(t)}}},rR={class:"text-wrapper"},sR={class:"header-line"},AR=["src"],oR={class:"content"},aR=["innerHTML"],lR={key:0},cR=["innerHTML"];function uR(n,t,e,i,r,s){var o,a;const A=Fi("Footer");return ye(),be("div",rR,[_t("nav",null,[_t("div",sR,[_t("img",{src:r.firmaLogo,alt:"Firma Logo"},null,8,AR),t[0]||(t[0]=_t("div",{class:"side-nav"},[_t("ul",null,[_t("li",null,[_t("a",{href:"/"},"Startseite")])])],-1))])]),_t("div",oR,[_t("p",{innerHTML:(o=r.item)==null?void 0:o.inhalt},null,8,aR),r.slug=="datenschutz"?(ye(),be("h3",lR,"Datenschutz")):Ze("",!0),_t("p",{innerHTML:(a=r.item)==null?void 0:a.text},null,8,cR)]),qe(A)])}const fR=wi(iR,[["render",uR],["__scopeId","data-v-3e203779"]]),hR=pS({history:I5("/"),scrollBehavior(n,t,e){return e||(n.hash?new Promise(i=>{const r=n.hash,s=()=>
3157{if(document.querySelector(r)){i({el:r,behavior:"smooth",top:0});return}requestAnimationFrame(()=>setTimeout(s,50))};s()}):{top:0,left:0})},routes:[{path:"/",name:"home",component:ID},{path:"/stand/:id",component:S2,children:[{path:":subdivision",component:S2}]},{path:"/text/:page",component:fR},{path:"/programm",name:"programm",component:qD},{path:"/teilnehmer",name:"teilnehmer",component:nR},{path:"/about",name:"about",component:()=>_S(()=>import("./AboutView.59079e07.js"),["assets/AboutView.59079e07.js","assets/AboutView.4d995ba2.css"])}]});/*! 3158 * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com 3159 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) 3160 * Copyright 2024 Fonticons, Inc. 3161 */function dR(n,t,e){return(t=gR(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function F2(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable})),e.push.apply(e,i)}return e}function Ee(n){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?F2(Object(e),!0).forEach(function(i){dR(n,i,e[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):F2(Object(e)).forEac
vendor: 5,554 bytes, line 3161
3161h(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(e,i))})}return n}function pR(n,t){if(typeof n!="object"||!n)return n;var e=n[Symbol.toPrimitive];if(e!==void 0){var i=e.call(n,t||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(n)}function gR(n){var t=pR(n,"string");return typeof t=="symbol"?t:t+""}const E2=()=>{};let u0={},Hx={},kx=null,Nx={mark:E2,measure:E2};try{typeof window<"u"&&(u0=window),typeof document<"u"&&(Hx=document),typeof MutationObserver<"u"&&(kx=MutationObserver),typeof performance<"u"&&(Nx=performance)}catch{}const{userAgent:M2=""}=u0.navigator||{},kA=u0,Tn=Hx,U2=kx,Fu=Nx;kA.document;const tA=!!Tn.documentElement&&!!Tn.head&&typeof Tn.addEventListener=="function"&&typeof Tn.createElement=="function",zx=~M2.indexOf("MSIE")||~M2.indexOf("Trident/");var mR=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,wR=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,Vx={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},vR={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Gx=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Ti="classic",Ih="duotone",yR="sharp",BR="sharp-duotone",Kx=[Ti,Ih,yR,BR],_R={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},xR={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},bR=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),CR={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},SR=["fak","fa-kit","fakd","fa-kit-duotone"],T2={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},FR=["kit"],ER={kit:{"fa-kit":"fak"},"kit-duotone":{"fa-kit-duotone":"fakd"}},MR=["fak","fakd"],UR={kit:{fak:"fa-kit"},"kit-duotone":{fakd:"fa-kit-duotone"}},I2={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Eu={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},TR=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],IR=["fak","fa-kit","fakd","fa-kit-duotone"],QR={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},LR={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},PR={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},Fg={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},DR=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],Eg=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...TR,...DR],RR=["solid","regular","light","thin","duotone","brands"],Wx=[1,2,3,4,5,6,7,8,9,10],OR=Wx.concat([11,12,13,14,15,16,17,18,19,20]),HR=[...Object.keys(PR),...RR,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vert
3161ical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Eu.GROUP,Eu.SWAP_OPACITY,Eu.PRIMARY,Eu.SECONDARY].concat(Wx.map(n=>"".concat(n,"x"))).concat(OR.map(n=>"w-".concat(n))),kR={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const Xs="___FONT_AWESOME___",Mg=16,qx="fa",jx="svg-inline--fa",Oo="data-fa-i2svg",Ug="data-fa-pseudo-element",NR="data-fa-pseudo-element-pending",f0="data-prefix",h0="data-icon",Q2="fontawesome-i2svg",zR="async",VR=["HTML","HEAD","STYLE","SCRIPT"],Xx=(()=>{try{return!0}catch{return!1}})();function zc(n){return new Proxy(n,{get(t,e){return e in t?t[e]:t[Ti]}})}const Yx=Ee({},Vx);Yx[Ti]=Ee(Ee(Ee(Ee({},{"fa-duotone":"duotone"}),Vx[Ti]),T2.kit),T2["kit-duotone"]);const GR=zc(Yx),Tg=Ee({},CR);Tg[Ti]=Ee(Ee(Ee(Ee({},{duotone:"fad"}),Tg[Ti]),I2.kit),I2["kit-duotone"]);const L2=zc(Tg),Ig=Ee({},Fg);Ig[Ti]=Ee(Ee({},Ig[Ti]),UR.kit);const d0=zc(Ig),Qg=Ee({},LR);Qg[Ti]=Ee(Ee({},Qg[Ti]),ER.kit);zc(Qg);const KR=mR,Jx="fa-layers-text",WR=wR,qR=Ee({},_R);zc(qR);const jR=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],lp=vR,XR=[...FR,...HR],ec=kA.FontAwesomeConfig||{};function YR(n){var t=Tn.querySelector("script["+n+"]");if(t)return t.getAttribute(n)}function JR(n){return n===""?!0:n==="false"?!1:n==="true"?!0:n}Tn&&typeof Tn.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(t=>{let[e,i]=t;const r=JR(YR(e));r!=null&&(ec[i]=r)});const Zx={styleDefault:"solid",familyDefault:Ti,cssPrefix:qx,replacementClass:jx,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};ec.familyPrefix&&(ec.cssPrefix=ec.familyPrefix);const rl=Ee(Ee({},Zx),ec);rl.autoReplaceSvg||(rl.observeMutations=!1);const Ge={};Object.keys(Zx).forEach(n=>{Object.defineProperty(Ge,n,{enumerable:!0,set:function(t){rl[n]=t,nc.forEach(e=>e(Ge))},get:function(){return rl[n]}})});Object.defineProperty(Ge,"familyPrefix",{enumerable:!0,set:function(n){rl.cssPrefix=n,nc.forEach(t=>t(Ge))},get:function(){return rl.cssPrefix}});kA.FontAwesomeConfig=Ge;const nc=[];function ZR(n){return nc.push(n),()=>{nc.splice(nc.indexOf(n),1)}}const fA=Mg,cs={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function $R(n){if(!n||!tA)return;const t=Tn.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=n;const e=Tn.head.childNodes;let i=null;for(let r=e.length-1;r>-1;r--){const s=e[r],A=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(A)>-1&&(i=s)}return Tn.head.insertBefore(t,i),n}const t8="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Cc(){let n=12,t="";for(;n-- >0;)t+=t8[Math.random()*62|0];return t}function cl(n){const t=[];for(let e=(n||[]).length>>>0;e--;)t[e]=n[e];return t}function p0(n){return n.classList?cl(n.classList):(n.getAttribute("class")||"").split(" ").filter(t=>t)}function $x(n){return"".concat(n).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function e8(n){return Object.keys(n||{}).reduce((t,e)=>t+"".concat(e,'="').concat($x(n[e]),'" '),"").trim()}function Qh(n){return Object.keys(n||{}).reduce((t,e)=>t+"".concat(e,": ").concat(n[e].trim(),";"),"")}function g0(n){return n.size!==cs.size||n.x!==cs.x||n.y!==cs.y||n.rotate!==cs.rotate||n.flipX||n.flipY}function n8(n){let{transform:t,containerWidth:e,iconWidth:i}=n;const r={transform:"translate(".concat(e/2," 256)")},s="translate(".concat(t.x*32,", ").concat(t.y*32,") "),A="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),o="rotate(".concat(t.rotate," 0 0)"),a={transform:"".concat(s," ").concat(A," ").concat(o)},l={transform:"translate(".concat(i/2*-1," -256)")};return{outer:r,inner:a,path:l}}function i8(n){let{transform:t,width:e=Mg,height:i=Mg,startCentered:r=!1}=n,s="";return r&&zx?s+="translate(".concat(t.x/fA-e/2,"em, ").concat(t.y/fA-i/2,"em) "):r?s+="translate(calc(-50% + ".concat(t.x/fA,"em), calc(-50% + ").concat(t.y/fA,"em)) "):s+="translate(".concat(t.x/fA,"em, ").concat(t.y/fA,"em) "),s+="scale(".concat(t.size/fA*(t.flipX?-1:1),", ").concat(t.size/fA*(t.flipY?-1:1),") "),s+="rotate(".concat(t.rotate,"deg) "),s}var r8=
vendor: 12,335 bytes, lines 3161-3714
3161`:root, :host { 3162 --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free"; 3163 --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free"; 3164 --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro"; 3165 --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro"; 3166 --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone"; 3167 --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone"; 3168 --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone"; 3169 --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone"; 3170 --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands"; 3171 --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp"; 3172 --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp"; 3173 --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp"; 3174 --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp"; 3175 --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone"; 3176 --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone"; 3177 --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone"; 3178 --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone"; 3179} 3180 3181svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { 3182 overflow: visible; 3183 box-sizing: content-box; 3184} 3185 3186.svg-inline--fa { 3187 display: var(--fa-display, inline-block); 3188 height: 1em; 3189 overflow: visible; 3190 vertical-align: -0.125em; 3191} 3192.svg-inline--fa.fa-2xs { 3193 vertical-align: 0.1em; 3194} 3195.svg-inline--fa.fa-xs { 3196 vertical-align: 0em; 3197} 3198.svg-inline--fa.fa-sm { 3199 vertical-align: -0.0714285705em; 3200} 3201.svg-inline--fa.fa-lg { 3202 vertical-align: -0.2em; 3203} 3204.svg-inline--fa.fa-xl { 3205 vertical-align: -0.25em; 3206} 3207.svg-inline--fa.fa-2xl { 3208 vertical-align: -0.3125em; 3209} 3210.svg-inline--fa.fa-pull-left { 3211 margin-right: var(--fa-pull-margin, 0.3em); 3212 width: auto; 3213} 3214.svg-inline--fa.fa-pull-right { 3215 margin-left: var(--fa-pull-margin, 0.3em); 3216 width: auto; 3217} 3218.svg-inline--fa.fa-li { 3219 width: var(--fa-li-width, 2em); 3220 top: 0.25em; 3221} 3222.svg-inline--fa.fa-fw { 3223 width: var(--fa-fw-width, 1.25em); 3224} 3225 3226.fa-layers svg.svg-inline--fa { 3227 bottom: 0; 3228 left: 0; 3229 margin: auto; 3230 position: absolute; 3231 right: 0; 3232 top: 0; 3233} 3234 3235.fa-layers-counter, .fa-layers-text { 3236 display: inline-block; 3237 position: absolute; 3238 text-align: center; 3239} 3240 3241.fa-layers { 3242 display: inline-block; 3243 height: 1em; 3244 position: relative; 3245 text-align: center; 3246 vertical-align: -0.125em; 3247 width: 1em; 3248} 3249.fa-layers svg.svg-inline--fa { 3250 transform-origin: center center; 3251} 3252 3253.fa-layers-text { 3254 left: 50%; 3255 top: 50%; 3256 transform: translate(-50%, -50%); 3257 transform-origin: center center; 3258} 3259 3260.fa-layers-counter { 3261 background-color: var(--fa-counter-background-color, #ff253a); 3262 border-radius: var(--fa-counter-border-radius, 1em); 3263 box-sizing: border-box; 3264 color: var(--fa-inverse, #fff); 3265 line-height: var(--fa-counter-line-height, 1); 3266 max-width: var(--fa-counter-max-width, 5em); 3267 min-width: var(--fa-counter-min-width, 1.5em); 3268 overflow: hidden; 3269 padding: var(--fa-counter-padding, 0.25em 0.5em); 3270 right: var(--fa-right, 0); 3271 text-overflow: ellipsis; 3272 top: var(--fa-top, 0); 3273 transform: scale(var(--fa-counter-scale, 0.25)); 3274 transform-origin: top right; 3275} 3276 3277.fa-layers-bottom-right { 3278 bottom: var(--fa-bottom, 0); 3279 right: var(--fa-right, 0); 3280 top: auto; 3281 transform: scale(var(--fa-layers-scale, 0.25)); 3282 transform-origin: bottom right; 3283} 3284 3285.fa-layers-bottom-left { 3286 bottom: var(--fa-bottom, 0); 3287 left: var(--fa-left, 0); 3288 right: auto; 3289 top: auto; 3290 transform: scale(var(--fa-layers-scale, 0.25)); 3291 transform-origin: bottom left; 3292} 3293 3294.fa-layers-top-right { 3295 top: var(--fa-top, 0); 3296 right: var(--fa-right, 0); 3297 transform: scale(var(--fa-layers-scale, 0.25)); 3298 transform-origin: top right; 3299} 3300 3301.fa-layers-top-left { 3302 left: var(--fa-left, 0); 3303 right: auto; 3304 top: var(--fa-top, 0); 3305 transform: scale(var(--fa-layers-scale, 0.25)); 3306 transform-origin: top left; 3307} 3308 3309.fa-1x { 3310 font-size: 1em; 3311} 3312 3313.fa-2x { 3314 font-size: 2em; 3315} 3316 3317.fa-3x { 3318 font-size: 3em; 3319} 3320 3321.fa-4x { 3322 font-size: 4em; 3323} 3324 3325.fa-5x { 3326 font-size: 5em; 3327} 3328 3329.fa-6x { 3330 font-size: 6em; 3331} 3332 3333.fa-7x { 3334 font-size: 7em; 3335} 3336 3337.fa-8x { 3338 font-size: 8em; 3339} 3340 3341.fa-9x { 3342 font-size: 9em; 3343} 3344 3345.fa-10x { 3346 font-size: 10em; 3347} 3348 3349.fa-2xs { 3350 font-size: 0.625em; 3351 line-height: 0.1em; 3352 vertical-align: 0.225em; 3353} 3354 3355.fa-xs { 3356 font-size: 0.75em; 3357 line-height: 0.0833333337em; 3358 vertical-align: 0.125em; 3359} 3360 3361.fa-sm { 3362 font-size: 0.875em; 3363 line-height: 0.0714285718em; 3364 vertical-align: 0.0535714295em; 3365} 3366 3367.fa-lg { 3368 font-size: 1.25em; 3369 line-height: 0.05em; 3370 vertical-align: -0.075em; 3371} 3372 3373.fa-xl { 3374 font-size: 1.5em; 3375 line-height: 0.0416666682em; 3376 vertical-align: -0.125em; 3377} 3378 3379.fa-2xl { 3380 font-size: 2em; 3381 line-height: 0.03125em; 3382 vertical-align: -0.1875em; 3383} 3384 3385.fa-fw { 3386 text-align: center; 3387 width: 1.25em; 3388} 3389 3390.fa-ul { 3391 list-style-type: none; 3392 margin-left: var(--fa-li-margin, 2.5em); 3393 padding-left: 0; 3394} 3395.fa-ul > li { 3396 position: relative; 3397} 3398 3399.fa-li { 3400 left: calc(-1 * var(--fa-li-width, 2em)); 3401 position: absolute; 3402 text-align: center; 3403 width: var(--fa-li-width, 2em); 3404 line-height: inherit; 3405} 3406 3407.fa-border { 3408 border-color: var(--fa-border-color, #eee); 3409 border-radius: var(--fa-border-radius, 0.1em); 3410 border-style: var(--fa-border-style, solid); 3411 border-width: var(--fa-border-width, 0.08em); 3412 padding: var(--fa-border-padding, 0.2em 0.25em 0.15em); 3413} 3414 3415.fa-pull-left { 3416 float: left; 3417 margin-right: var(--fa-pull-margin, 0.3em); 3418} 3419 3420.fa-pull-right { 3421 float: right; 3422 margin-left: var(--fa-pull-margin, 0.3em); 3423} 3424 3425.fa-beat { 3426 animation-name: fa-beat; 3427 animation-delay: var(--fa-animation-delay, 0s); 3428 animation-direction: var(--fa-animation-direction, normal); 3429 animation-duration: var(--fa-animation-duration, 1s); 3430 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 3431 animation-timing-function: var(--fa-animation-timing, ease-in-out); 3432} 3433 3434.fa-bounce { 3435 animation-name: fa-bounce; 3436 animation-delay: var(--fa-animation-delay, 0s); 3437 animation-direction: var(--fa-animation-direction, normal); 3438 animation-duration: var(--fa-animation-duration, 1s); 3439 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 3440 animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); 3441} 3442 3443.fa-fade { 3444 animation-name: fa-fade; 3445 animation-delay: var(--fa-animation-delay, 0s); 3446 animation-direction: var(--fa-animation-direction, normal); 3447 animation-duration: var(--fa-animation-duration, 1s); 3448 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 3449 animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); 3450} 3451 3452.fa-beat-fade { 3453 animation-name: fa-beat-fade; 3454 animation-delay: var(--fa-animation-delay, 0s); 3455 animation-direction: var(--fa-animation-direction, normal); 3456 animation-duration: var(--fa-animation-duration, 1s); 3457 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 3458 animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); 3459} 3460 3461.fa-flip { 3462 animation-name: fa-flip; 3463 animation-delay: var(--fa-animation-delay, 0s); 3464 animation-direction: var(--fa-animation-direction, normal); 3465 animation-duration: var(--fa-animation-duration, 1s); 3466 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 3467 animation-timing-function: var(--fa-animation-timing, ease-in-out); 3468} 3469 3470.fa-shake { 3471 animation-name: fa-shake; 3472 animation-delay: var(--fa-animation-delay, 0s); 3473 animation-direction: var(--fa-animation-direction, normal); 3474 animation-duration: var(--fa-animation-duration, 1s); 3475 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 3476 animation-timing-function: var(--fa-animation-timing, linear); 3477} 3478 3479.fa-spin { 3480 animation-name: fa-spin; 3481 animation-delay: var(--fa-animation-delay, 0s); 3482 animation-direction: var(--fa-animation-direction, normal); 3483 animation-duration: var(--fa-animation-duration, 2s); 3484 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 3485 animation-timing-function: var(--fa-animation-timing, linear); 3486} 3487 3488.fa-spin-reverse { 3489 --fa-animation-direction: reverse; 3490} 3491 3492.fa-pulse, 3493.fa-spin-pulse { 3494 animation-name: fa-spin; 3495 animation-direction: var(--fa-animation-direction, normal); 3496 animation-duration: var(--fa-animation-duration, 1s); 3497 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 3498 animation-timing-function: var(--fa-animation-timing, steps(8)); 3499} 3500 3501@media (prefers-reduced-motion: reduce) { 3502 .fa-beat, 3503.fa-bounce, 3504.fa-fade, 3505.fa-beat-fade, 3506.fa-flip, 3507.fa-pulse, 3508.fa-shake, 3509.fa-spin, 3510.fa-spin-pulse { 3511 animation-delay: -1ms; 3512 animation-duration: 1ms; 3513 animation-iteration-count: 1; 3514 transition-delay: 0s; 3515 transition-duration: 0s; 3516 } 3517} 3518@keyframes fa-beat { 3519 0%, 90% { 3520 transform: scale(1); 3521 } 3522 45% { 3523 transform: scale(var(--fa-beat-scale, 1.25)); 3524 } 3525} 3526@keyframes fa-bounce { 3527 0% { 3528 transform: scale(1, 1) translateY(0); 3529 } 3530 10% { 3531 transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); 3532 } 3533 30% { 3534 transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); 3535 } 3536 50% { 3537 transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); 3538 } 3539 57% { 3540 transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); 3541 } 3542 64% { 3543 transform: scale(1, 1) translateY(0); 3544 } 3545 100% { 3546 transform: scale(1, 1) translateY(0); 3547 } 3548} 3549@keyframes fa-fade { 3550 50% { 3551 opacity: var(--fa-fade-opacity, 0.4); 3552 } 3553} 3554@keyframes fa-beat-fade { 3555 0%, 100% { 3556 opacity: var(--fa-beat-fade-opacity, 0.4); 3557 transform: scale(1); 3558 } 3559 50% { 3560 opacity: 1; 3561 transform: scale(var(--fa-beat-fade-scale, 1.125)); 3562 } 3563} 3564@keyframes fa-flip { 3565 50% { 3566 transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); 3567 } 3568} 3569@keyframes fa-shake { 3570 0% { 3571 transform: rotate(-15deg); 3572 } 3573 4% { 3574 transform: rotate(15deg); 3575 } 3576 8%, 24% { 3577 transform: rotate(-18deg); 3578 } 3579 12%, 28% { 3580 transform: rotate(18deg); 3581 } 3582 16% { 3583 transform: rotate(-22deg); 3584 } 3585 20% { 3586 transform: rotate(22deg); 3587 } 3588 32% { 3589 transform: rotate(-12deg); 3590 } 3591 36% { 3592 transform: rotate(12deg); 3593 } 3594 40%, 100% { 3595 transform: rotate(0deg); 3596 } 3597} 3598@keyframes fa-spin { 3599 0% { 3600 transform: rotate(0deg); 3601 } 3602 100% { 3603 transform: rotate(360deg); 3604 } 3605} 3606.fa-rotate-90 { 3607 transform: rotate(90deg); 3608} 3609 3610.fa-rotate-180 { 3611 transform: rotate(180deg); 3612} 3613 3614.fa-rotate-270 { 3615 transform: rotate(270deg); 3616} 3617 3618.fa-flip-horizontal { 3619 transform: scale(-1, 1); 3620} 3621 3622.fa-flip-vertical { 3623 transform: scale(1, -1); 3624} 3625 3626.fa-flip-both, 3627.fa-flip-horizontal.fa-flip-vertical { 3628 transform: scale(-1, -1); 3629} 3630 3631.fa-rotate-by { 3632 transform: rotate(var(--fa-rotate-angle, 0)); 3633} 3634 3635.fa-stack { 3636 display: inline-block; 3637 vertical-align: middle; 3638 height: 2em; 3639 position: relative; 3640 width: 2.5em; 3641} 3642 3643.fa-stack-1x, 3644.fa-stack-2x { 3645 bottom: 0; 3646 left: 0; 3647 margin: auto; 3648 position: absolute; 3649 right: 0; 3650 top: 0; 3651 z-index: var(--fa-stack-z-index, auto); 3652} 3653 3654.svg-inline--fa.fa-stack-1x { 3655 height: 1em; 3656 width: 1.25em; 3657} 3658.svg-inline--fa.fa-stack-2x { 3659 height: 2em; 3660 width: 2.5em; 3661} 3662 3663.fa-inverse { 3664 color: var(--fa-inverse, #fff); 3665} 3666 3667.sr-only, 3668.fa-sr-only { 3669 position: absolute; 3670 width: 1px; 3671 height: 1px; 3672 padding: 0; 3673 margin: -1px; 3674 overflow: hidden; 3675 clip: rect(0, 0, 0, 0); 3676 white-space: nowrap; 3677 border-width: 0; 3678} 3679 3680.sr-only-focusable:not(:focus), 3681.fa-sr-only-focusable:not(:focus) { 3682 position: absolute; 3683 width: 1px; 3684 height: 1px; 3685 padding: 0; 3686 margin: -1px; 3687 overflow: hidden; 3688 clip: rect(0, 0, 0, 0); 3689 white-space: nowrap; 3690 border-width: 0; 3691} 3692 3693.svg-inline--fa .fa-primary { 3694 fill: var(--fa-primary-color, currentColor); 3695 opacity: var(--fa-primary-opacity, 1); 3696} 3697 3698.svg-inline--fa .fa-secondary { 3699 fill: var(--fa-secondary-color, currentColor); 3700 opacity: var(--fa-secondary-opacity, 0.4); 3701} 3702 3703.svg-inline--fa.fa-swap-opacity .fa-primary { 3704 opacity: var(--fa-secondary-opacity, 0.4); 3705} 3706 3707.svg-inline--fa.fa-swap-opacity .fa-secondary { 3708 opacity: var(--fa-primary-opacity, 1); 3709} 3710 3711.svg-inline--fa mask .fa-primary, 3712.svg-inline--fa mask .fa-secondary { 3713 fill: black; 3714}`;
3714function tb(){const n=qx,t=jx,e=Ge.cssPrefix,i=Ge.replacementClass;let r=r8;if(e!==n||i!==t){const s=new RegExp("\\.".concat(n,"\\-"),"g"),A=new RegExp("\\--".concat(n,"\\-"),"g"),o=new RegExp("\\.".concat(t),"g");r=r.replace(s,".".concat(e,"-")).replace(A,"--".concat(e,"-")).replace(o,".".concat(i))}return r}let P2=!1;function cp(){Ge.autoAddCss&&!P2&&($R(tb()),P2=!0)}var s8={mixout(){return{dom:{css:tb,insertCss:cp}}},hooks(){return{beforeDOMElementCreation(){cp()},beforeI2svg(){cp()}}}};const Ys=kA||{};Ys[Xs]||(Ys[Xs]={});Ys[Xs].styles||(Ys[Xs].styles={});Ys[Xs].hooks||(Ys[Xs].hooks={});Ys[Xs].shims||(Ys[Xs].shims=[]);var us=Ys[Xs];const eb=[],nb=function(){Tn.removeEventListener("DOMContentLoaded",nb),Hf=1,eb.map(n=>n())};let Hf=!1;tA&&(Hf=(Tn.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Tn.readyState),Hf||Tn.addEventListener("DOMContentLoaded",nb));function A8(n){!tA||(Hf?setTimeout(n,0):eb.push(n))}function Vc(n){const{tag:t,attributes:e={},children:i=[]}=n;return typeof n=="string"?$x(n):"<".concat(t," ").concat(e8(e),">").concat(i.map(Vc).join(""),"</").concat(t,">")}function D2(n,t,e){if(n&&n[t]&&n[t][e])return{prefix:t,iconName:e,icon:n[t][e]}}var o8=function(t,e){return function(i,r,s,A){return t.call(e,i,r,s,A)}},up=function(t,e,i,r){var s=Object.keys(t),A=s.length,o=r!==void 0?o8(e,r):e,a,l,c;for(i===void 0?(a=1,c=t[s[0]]):(a=0,c=i);a<A;a++)l=s[a],c=o(c,t[l],l,t);return c};function a8(n){const t=[];let e=0;const i=n.length;for(;e<i;){const r=n.charCodeAt(e++);if(r>=55296&&r<=56319&&e<i){const s=n.charCodeAt(e++);(s&64512)==56320?t.push(((r&1023)<<10)+(s&1023)+65536):(t.push(r),e--)}else t.push(r)}return t}function Lg(n){const t=a8(n);return t.length===1?t[0].toString(16):null}function l8(n,t){const e=n.length;let i=n.charCodeAt(t),r;return i>=55296&&i<=56319&&e>t+1&&(r=n.charCodeAt(t+1),r>=56320&&r<=57343)?(i-55296)*1024+r-56320+65536:i}function R2(n){return Object.keys(n).reduce((t,e)=>{const i=n[e];return!!i.icon?t[i.iconName]=i.icon:t[e]=i,t},{})}function Pg(n,t){let e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:i=!1}=e,r=R2(t);typeof us.hooks.addPack=="function"&&!i?us.hooks.addPack(n,R2(t)):us.styles[n]=Ee(Ee({},us.styles[n]||{}),r),n==="fas"&&Pg("fa",t)}const{styles:Sc,shims:c8}=us,ib=Object.keys(d0),u8=ib.reduce((n,t)=>(n[t]=Object.keys(d0[t]),n),{});let m0=null,rb={},sb={},Ab={},ob={},ab={};function f8(n){return~XR.indexOf(n)}function h8(n,t){const e=t.split("-"),i=e[0],r=e.slice(1).join("-");return i===n&&r!==""&&!f8(r)?r:null}const lb=()=>{const n=i=>up(Sc,(r,s,A)=>(r[A]=up(s,i,{}),r),{});rb=n((i,r,s)=>(r[3]&&(i[r[3]]=s),r[2]&&r[2].filter(o=>typeof o=="number").forEach(o=>{i[o.toString(16)]=s}),i)),sb=n((i,r,s)=>(i[s]=s,r[2]&&r[2].filter(o=>typeof o=="string").forEach(o=>{i[o]=s}),i)),ab=n((i,r,s)=>{const A=r[2];return i[s]=s,A.forEach(o=>{i[o]=s}),i});const t="far"in Sc||Ge.autoFetchSvg,e=up(c8,(i,r)=>{const s=r[0];let A=r[1];const o=r[2];return A==="far"&&!t&&(A="fas"),typeof s=="string"&&(i.names[s]={prefix:A,iconName:o}),typeof s=="number"&&(i.unicodes[s.toString(16)]={prefix:A,iconName:o}),i},{names:{},unicodes:{}});Ab=e.names,ob=e.unicodes,m0=Lh(Ge.styleDefault,{family:Ge.familyDefault})};ZR(n=>{m0=Lh(n.styleDefault,{family:Ge.familyDefault})});lb();function w0(n,t){return(rb[n]||{})[t]}function d8(n,t){return(sb[n]||{})[t]}function wo(n,t){return(ab[n]||{})[t]}function cb(n){return Ab[n]||{prefix:null,iconName:null}}function p8(n){const t=ob[n],e=w0("fas",n);return t||(e?{prefix:"fas",iconName:e}:null)||{prefix:null,iconName:null}}function NA(){return m0}const ub=()=>({prefix:null,iconName:null,rest:[]}
3714);function g8(n){let t=Ti;const e=ib.reduce((i,r)=>(i[r]="".concat(Ge.cssPrefix,"-").concat(r),i),{});return Kx.forEach(i=>{(n.includes(e[i])||n.some(r=>u8[i].includes(r)))&&(t=i)}),t}function Lh(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:e=Ti}=t,i=GR[e][n];if(e===Ih&&!n)return"fad";const r=L2[e][n]||L2[e][i],s=n in us.styles?n:null;return r||s||null}function m8(n){let t=[],e=null;return n.forEach(i=>{const r=h8(Ge.cssPrefix,i);r?e=r:i&&t.push(i)}),{iconName:e,rest:t}}function O2(n){return n.sort().filter((t,e,i)=>i.indexOf(t)===e)}function Ph(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:e=!1}=t;let i=null;const r=Eg.concat(IR),s=O2(n.filter(u=>r.includes(u))),A=O2(n.filter(u=>!Eg.includes(u))),o=s.filter(u=>(i=u,!Gx.includes(u))),[a=null]=o,l=g8(s),c=Ee(Ee({},m8(A)),{},{prefix:Lh(a,{family:l})});return Ee(Ee(Ee({},c),B8({values:n,family:l,styles:Sc,config:Ge,canonical:c,givenPrefix:i})),w8(e,i,c))}function w8(n,t,e){let{prefix:i,iconName:r}=e;if(n||!i||!r)return{prefix:i,iconName:r};const s=t==="fa"?cb(r):{},A=wo(i,r);return r=s.iconName||A||r,i=s.prefix||i,i==="far"&&!Sc.far&&Sc.fas&&!Ge.autoFetchSvg&&(i="fas"),{prefix:i,iconName:r}}const v8=Kx.filter(n=>n!==Ti||n!==Ih),y8=Object.keys(Fg).filter(n=>n!==Ti).map(n=>Object.keys(Fg[n])).flat();function B8(n){const{values:t,family:e,canonical:i,givenPrefix:r="",styles:s={},config:A={}}=n,o=e===Ih,a=t.includes("fa-duotone")||t.includes("fad"),l=A.familyDefault==="duotone",c=i.prefix==="fad"||i.prefix==="fa-duotone";if(!o&&(a||l||c)&&(i.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(i.prefix="fab"),!i.prefix&&v8.includes(e)&&(Object.keys(s).find(f=>y8.includes(f))||A.autoFetchSvg)){const f=bR.get(e).defaultShortPrefixId;i.prefix=f,i.iconName=wo(i.prefix,i.iconName)||i.iconName}return(i.prefix==="fa"||r==="fa")&&(i.prefix=NA()||"fas"),i}class _8{constructor(){this.definitions={}}add(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];const r=e.reduce(this._pullDefinitions,{});Object.keys(r).forEach(s=>{this.definitions[s]=Ee(Ee({},this.definitions[s]||{}),r[s]),Pg(s,r[s]);const A=d0[Ti][s];A&&Pg(A,r[s]),lb()})}reset(){this.definitions={}}_pullDefinitions(t,e){const i=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(i).map(r=>{const{prefix:s,iconName:A,icon:o}=i[r],a=o[2];t[s]||(t[s]={}),a.length>0&&a.forEach(l=>{typeof l=="string"&&(t[s][l]=o)}),t[s][A]=o}),t}}let H2=[],Ea={};const Na={},x8=Object.keys(Na);function b8(n,t){let{mixoutsTo:e}=t;return H2=n,Ea={},Object.keys(Na).forEach(i=>{x8.indexOf(i)===-1&&delete Na[i]}),H2.forEach(i=>{const r=i.mixout?i.mixout():{};if(Object.keys(r).forEach(s=>{typeof r[s]=="function"&&(e[s]=r[s]),typeof r[s]=="object"&&Object.keys(r[s]).forEach(A=>{e[s]||(e[s]={}),e[s][A]=r[s][A]})}),i.hooks){const s=i.hooks();Object.keys(s).forEach(A=>{Ea[A]||(Ea[A]=[]),Ea[A].push(s[A])})}i.provides&&i.provides(Na)}),e}function Dg(n,t){for(var e=arguments.length,i=new Array(e>2?e-2:0),r=2;r<e;r++)i[r-2]=arguments[r];return(Ea[n]||[]).forEach(A=>{t=A.apply(null,[t,...i])}),t}function Ho(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),i=1;i<t;i++)e[i-1]=arguments[i];(Ea[n]||[]).forEach(s=>{s.apply(null,e)})}function zA(){const n=arguments[0],t=Array.prototype.slice.call(arguments,1);return Na[n]?Na[n].apply(null,t):void 0}function Rg(n){n.prefix==="fa"&&(n.prefix="fas");let{iconName:t}=n;const e=n.prefix||NA();if(!!t)return t=wo(e,t)||t,D2(fb.definitions,e,t)||D2(us.styles,e,t)}const fb=new _8,C8=()=>{Ge.autoReplaceSvg=!1,Ge.observeMutations=!1,Ho("noAuto")},S8={i2svg:function(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return tA?(Ho("beforeI2svg",n),zA("pseudoElements2svg",n),zA("i2svg",n)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t}=n;Ge.autoReplaceSvg===!1&&(Ge.autoReplaceSvg=!0),Ge.observeMutations=!0,A8(()=>{E8({autoReplaceSvgRoot:t}),Ho("watch",n)})}},F8={icon:n=>{if(n===null)return null;if(typeof n=="object"&&n.prefix&&n.iconName)return{prefix:n.prefix,iconName:wo(n.prefix,n.iconName)||n.iconName};if(Array.isArray(n)&&n.length===2){const t=n[1].indexOf("fa-")===0?n[1].slice(3):n[1],e=Lh(n[0]);return{prefix:e,iconName:wo(e,t)||t}}if(typeof n=="string"&&(n.indexOf("".concat(Ge.cssPrefix,"-"))>-1||n.match(KR))){const t=Ph(n.split(" "),{skipLookups:!0});return{prefix:t.prefix||NA(),iconName:wo(t.prefix,t.iconName)||t.iconName}}if(typeof n=="string"){const t=NA();return{prefix:t,iconName:wo(t,n)||n}}}},gr={noAuto:C8,config:Ge,dom:S8,parse:F8,library:fb,findIconDefinition:Rg,toHtml:Vc},E8=function(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t=Tn}=n;(Object.keys(us.styles).length>0||Ge.autoFetchSvg)&&tA&&Ge.autoReplaceSvg&&gr.dom.i2svg({node:t})};function Dh(n,t){return Object.defineProperty(n,"abstract",{get:t}),Object.defineProperty(n,"html",{get:function(){return n.abstract.map(e=>Vc(e))}}),Object.defineProperty(n,"node",{get:function(){if(!tA)return;const e=Tn.createElement("div");return e.innerHTML=n.html,e.children}}),n}function M8(n){let{children:t,main:e,mask:i,attributes:r,styles:s,transform:A}=n;if(g0(A)&&e.found&&!i.found){const{width:o,height:a}=e,l={x:o/a/2,y:.5};r.style=Qh(Ee(Ee({},s),{},{"transform-origin":"".concat(l.x+A.x/16,"em ").concat(l.y+A.y/16,"em")}))}return[{tag:"svg",attributes:r,children:t}]}function U8(n){let{prefix:t,iconName:e,children:i,attributes:r,symbol:s}=n;const A=s===!0?"".concat(t,"-").concat(Ge.cssPrefix,"-").concat(e):s;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Ee(Ee({},r),{},{id:A}),children:i}]}]}function v0(n){const{icons:{main:t,mask:e},prefix:i,iconName:r,transform:s,symbol:A,title:o,maskId:a,titleId:l,extra:c,watchable:u=!1}=n,{width:f,height:m}=e.found?e:t,y=MR.includes(i),h=[Ge.replacementClass,r?"".concat(Ge.cssPrefix,"-").concat(r):""].filter(R=>c.classes.indexOf(R)===-1).filter(R=>R!==""||!!R).concat(c.classes).join(" ");let g={children:[],attributes:Ee(Ee({},c.attributes),{},{"data-prefix":i,"data-icon":r,class:h,role:c.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(f," ").concat(m)})};const b=y&&!~c.classes.indexOf("fa-fw")?{width:"".concat(f/m*16*.0625,"em")}:{};u&&(g.attributes[Oo]=""),o&&(g.children.push({tag:"title",attributes:{id:g.attributes["aria-labelledby"]||"title-".concat(l||Cc())},children:[o]}),delete g.attributes.title);const U=Ee(Ee({},g),{},{prefix:i,iconName:r,main:t,mask:e,maskId:a,transform:s,symbol:A,styles:Ee(Ee({},b),c.styles)}),{children:N,attributes:L}=e.found&&t.found?zA("generateAbstractMask",U)||{children:[],attributes:{}}:zA("generateAbstractIcon",U)||{children:[],attributes:{}};return U.children=N,U.attributes=L,A?U8(U):M8(U)}function k2(n){const{content:t,width:e,height:i,transform:r,title:s,extra:A,watchable:o=!1}=n,a=Ee(Ee(Ee({},A.attributes),s?{title:s}:{}),{},{class:A.classes.join(" ")});o&&(a[Oo]="");const l=Ee({},A.styles);g0(r)&&(l.transform=i8({transform:r,startCentered:!0,width:e,height:i}),l["-webkit-transform"]=l.transform);const c=Qh(l);c.length>0&&(a.style=c);const u=[];return u.push({tag:"span",attributes:a,children:[t]}),s&&u.push({tag:"span",attributes:{class:"sr-only"},children:[s]}),u}function T8(n){const{content:t,title:e,extra:i}=n,r=Ee(Ee(Ee({},i.attributes),e?{title:e}:{}),{},{class:i.classes.join(" ")}),s=Qh(i.styles);s.length>0&&(r.style=s);const A=[];return A.push({tag:"span",attributes:r,children:[t]}),e&&A.push({tag:"span",attributes:{class:"sr-only"},children:[e]}),A}const{styles:fp}=us;function Og(n){const t=n[0],e=n[1],[i]=n.slice(4);let r=null;return Array.isArray(i)?r={tag:"g",attributes:{class:"".concat(Ge.cssPrefix,"-").concat(lp.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Ge.cssPrefix,"-").concat(lp.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(Ge.cssPrefix,"-").concat(lp.PRIMARY),fill:"currentColor",d:i[1]}}]}
3714:r={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:e,icon:r}}const I8={found:!1,width:512,height:512};function Q8(n,t){!Xx&&!Ge.showMissingIcons&&n&&console.error('Icon with name "'.concat(n,'" and prefix "').concat(t,'" is missing.'))}function Hg(n,t){let e=t;return t==="fa"&&Ge.styleDefault!==null&&(t=NA()),new Promise((i,r)=>{if(e==="fa"){const s=cb(n)||{};n=s.iconName||n,t=s.prefix||t}if(n&&t&&fp[t]&&fp[t][n]){const s=fp[t][n];return i(Og(s))}Q8(n,t),i(Ee(Ee({},I8),{},{icon:Ge.showMissingIcons&&n?zA("missingIconAbstract")||{}:{}}))})}const N2=()=>{},kg=Ge.measurePerformance&&Fu&&Fu.mark&&Fu.measure?Fu:{mark:N2,measure:N2},Ll='FA "6.7.2"',L8=n=>(kg.mark("".concat(Ll," ").concat(n," begins")),()=>hb(n)),hb=n=>{kg.mark("".concat(Ll," ").concat(n," ends")),kg.measure("".concat(Ll," ").concat(n),"".concat(Ll," ").concat(n," begins"),"".concat(Ll," ").concat(n," ends"))};var y0={begin:L8,end:hb};const uf=()=>{};function z2(n){return typeof(n.getAttribute?n.getAttribute(Oo):null)=="string"}function P8(n){const t=n.getAttribute?n.getAttribute(f0):null,e=n.getAttribute?n.getAttribute(h0):null;return t&&e}function D8(n){return n&&n.classList&&n.classList.contains&&n.classList.contains(Ge.replacementClass)}function R8(){return Ge.autoReplaceSvg===!0?ff.replace:ff[Ge.autoReplaceSvg]||ff.replace}function O8(n){return Tn.createElementNS("http://www.w3.org/2000/svg",n)}function H8(n){return Tn.createElement(n)}function db(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:e=n.tag==="svg"?O8:H8}=t;if(typeof n=="string")return Tn.createTextNode(n);const i=e(n.tag);return Object.keys(n.attributes||[]).forEach(function(s){i.setAttribute(s,n.attributes[s])}),(n.children||[]).forEach(function(s){i.appendChild(db(s,{ceFn:e}))}),i}function k8(n){let t=" ".concat(n.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const ff={replace:function(n){const t=n[0];if(t.parentNode)if(n[1].forEach(e=>{t.parentNode.insertBefore(db(e),t)}),t.getAttribute(Oo)===null&&Ge.keepOriginalSource){let e=Tn.createComment(k8(t));t.parentNode.replaceChild(e,t)}else t.remove()},nest:function(n){const t=n[0],e=n[1];if(~p0(t).indexOf(Ge.replacementClass))return ff.replace(n);const i=new RegExp("".concat(Ge.cssPrefix,"-.*"));if(delete e[0].attributes.id,e[0].attributes.class){const s=e[0].attributes.class.split(" ").reduce((A,o)=>(o===Ge.replacementClass||o.match(i)?A.toSvg.push(o):A.toNode.push(o),A),{toNode:[],toSvg:[]});e[0].attributes.class=s.toSvg.join(" "),s.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",s.toNode.join(" "))}const r=e.map(s=>Vc(s)).join(` 3715`);t.setAttribute(Oo,""),t.innerHTML=r}};function V2(n){n()}function pb(n,t){const e=typeof t=="function"?t:uf;if(n.length===0)e();else{let i=V2;Ge.mutateApproach===zR&&(i=kA.requestAnimationFrame||V2),i(()=>{const r=R8(),s=y0.begin("mutate");n.map(r),s(),e()})}}let B0=!1;function gb(){B0=!0}function Ng(){B0=!1}let kf=null;function G2(n){if(!U2||!Ge.observeMutations)return;const{treeCallback:t=uf,nodeCallback:e=uf,pseudoElementsCallback:i=uf,observeMutationsRoot:r=Tn}=n;kf=new U2(s=>{if(B0)return;const A=NA();cl(s).forEach(o=>{if(o.type==="childList"&&o.addedNodes.length>0&&!z2(o.addedNodes[0])&&(Ge.searchPseudoElements&&i(o.target),t(o.target)),o.type==="attributes"&&o.target.parentNode&&Ge.searchPseudoElements&&i(o.target.parentNode),o.type==="attributes"&&z2(o.target)&&~jR.indexOf(o.attributeName))if(o.attributeName==="class"&&P8(o.target)){const{prefix:a,iconName:l}=Ph(p0(o.target));o.target.setAttribute(f0,a||A),l&&o.target.setAttribute(h0,l)}else D8(o.target)&&e(o.target)})}),tA&&kf.observe(r,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function N8(){!kf||kf.disconnect()}function z8(n){const t=n.getAttribute("style");let e=[];return t&&(e=t.split(";").reduce((i,r)=>{const s=r.split(":"),A=s[0],o=s.slice(1);return A&&o.length>0&&(i[A]=o.join(":").trim()),i},{})),e}function V8(n){const t=n.getAttribute("data-prefix"),e=n.getAttribute("data-icon"),i=n.innerText!==void 0?n.innerText.trim():"";let r=Ph(p0(n));return r.prefix||(r.prefix=NA()),t&&e&&(r.prefix=t,r.iconName=e),r.iconName&&r.prefix||(r.prefix&&i.length>0&&(r.iconName=d8(r.prefix,n.innerText)||w0(r.prefix,Lg(n.innerText))),!r.iconName&&Ge.autoFetchSvg&&n.firstChild&&n.firstChild.nodeType===Node.TEXT_NODE&&(r.iconName=n.firstChild.data)),r}function G8(n){const t=cl(n.attributes).reduce((r,s)=>(r.name!=="class"&&r.name!=="style"&&(r[s.name]=s.value),r),{}),e=n.getAttribute("title"),i=n.getAttribute("data-fa-title-id");return Ge.autoA11y&&(e?t["aria-labelledby"]="".concat(Ge.replacementClass,"-title-").concat(i||Cc()):(t["aria-hidden"]="true",t.focusable="false")),t}function K8(){return{iconName:null,title:null,titleId:null,prefix:null,transform:cs,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function K2(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:e,prefix:i,rest:r}=V8(n),s=G8(n),A=Dg("parseNodeAttributes",{},n);let o=t.styleParser?z8(n):[];return Ee({iconName:e,title:n.getAttribute("title"),titleId:n.getAttribute("data-fa-title-id"),prefix:i,transform:cs,mask:{iconName:null,prefix:null,rest:[]}
3715,maskId:null,symbol:!1,extra:{classes:r,styles:o,attributes:s}},A)}const{styles:W8}=us;function mb(n){const t=Ge.autoReplaceSvg==="nest"?K2(n,{styleParser:!1}):K2(n);return~t.extra.classes.indexOf(Jx)?zA("generateLayersText",n,t):zA("generateSvgReplacementMutation",n,t)}function q8(){return[...SR,...Eg]}function W2(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!tA)return Promise.resolve();const e=Tn.documentElement.classList,i=c=>e.add("".concat(Q2,"-").concat(c)),r=c=>e.remove("".concat(Q2,"-").concat(c)),s=Ge.autoFetchSvg?q8():Gx.concat(Object.keys(W8));s.includes("fa")||s.push("fa");const A=[".".concat(Jx,":not([").concat(Oo,"])")].concat(s.map(c=>".".concat(c,":not([").concat(Oo,"])"))).join(", ");if(A.length===0)return Promise.resolve();let o=[];try{o=cl(n.querySelectorAll(A))}catch{}if(o.length>0)i("pending"),r("complete");else return Promise.resolve();const a=y0.begin("onTree"),l=o.reduce((c,u)=>{try{const f=mb(u);f&&c.push(f)}catch(f){Xx||f.name==="MissingIcon"&&console.error(f)}return c},[]);return new Promise((c,u)=>{Promise.all(l).then(f=>{pb(f,()=>{i("active"),i("complete"),r("pending"),typeof t=="function"&&t(),a(),c()})}).catch(f=>{a(),u(f)})})}function j8(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;mb(n).then(e=>{e&&pb([e],t)})}function X8(n){return function(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=(t||{}).icon?t:Rg(t||{});let{mask:r}=e;return r&&(r=(r||{}).icon?r:Rg(r||{})),n(i,Ee(Ee({},e),{},{mask:r}))}}const Y8=function(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:e=cs,symbol:i=!1,mask:r=null,maskId:s=null,title:A=null,titleId:o=null,classes:a=[],attributes:l={},styles:c={}}=t;if(!n)return;const{prefix:u,iconName:f,icon:m}=n;return Dh(Ee({type:"icon"},n),()=>(Ho("beforeDOMElementCreation",{iconDefinition:n,params:t}),Ge.autoA11y&&(A?l["aria-labelledby"]="".concat(Ge.replacementClass,"-title-").concat(o||Cc()):(l["aria-hidden"]="true",l.focusable="false")),v0({icons:{main:Og(m),mask:r?Og(r.icon):{found:!1,width:null,height:null,icon:{}}},prefix:u,iconName:f,transform:Ee(Ee({},cs),e),symbol:i,title:A,maskId:s,titleId:o,extra:{attributes:l,styles:c,classes:a}})))};var J8={mixout(){return{icon:X8(Y8)}},hooks(){return{mutationObserverCallbacks(n){return n.treeCallback=W2,n.nodeCallback=j8,n}}},provides(n){n.i2svg=function(t){const{node:e=Tn,callback:i=()=>{}}=t;return W2(e,i)},n.generateSvgReplacementMutation=function(t,e){const{iconName:i,title:r,titleId:s,prefix:A,transform:o,symbol:a,mask:l,maskId:c,extra:u}=e;return new Promise((f,m)=>{Promise.all([Hg(i,A),l.iconName?Hg(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(y=>{let[h,g]=y;f([t,v0({icons:{main:h,mask:g},prefix:A,iconName:i,transform:o,symbol:a,maskId:c,title:r,titleId:s,extra:u,watchable:!0})])}).catch(m)})},n.generateAbstractIcon=function(t){let{children:e,attributes:i,main:r,transform:s,styles:A}=t;const o=Qh(A);o.length>0&&(i.style=o);let a;return g0(s)&&(a=zA("generateAbstractTransformGrouping",{main:r,transform:s,containerWidth:r.width,iconWidth:r.width})),e.push(a||r.icon),{children:e,attributes:i}}}},Z8={mixout(){return{layer(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:e=[]}=t;return Dh({type:"layer"},()=>{Ho("beforeDOMElementCreation",{assembler:n,params:t});let i=[];return n(r=>{Array.isArray(r)?r.map(s=>{i=i.concat(s.abstract)}):i=i.concat(r.abstract)}),[{tag:"span",attributes:{class:["".concat(Ge.cssPrefix,"-layers"),...e].join(" ")},children:i}]})}}}},$8={mixout(){return{counter(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:e=null,classes:i=[],attributes:r={},styles:s={}}=t;return Dh({type:"counter",content:n},()=>(Ho("beforeDOMElementCreation",{content:n,params:t}),T8({content:n.toString(),title:e,extra:{attributes:r,styles:s,classes:["".concat(Ge.cssPrefix,"-layers-counter"),...i]}})))}}}},tO={mixout(){return{text(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:e=cs,title:i=null,classes:r=[],attributes:s={},styles:A={}}=t;return Dh({type:"text",content:n},()=>(Ho("beforeDOMElementCreation",{content:n,params:t}),k2({content:n,transform:Ee(Ee({},cs),e),title:i,extra:{attributes:s,styles:A,classes:["".concat(Ge.cssPrefix,"-layers-text"),...r]}})))}}},provides(n){n.generateLayersText=function(t,e){const{title:i,transform:r,extra:s}=e;let A=null,o=null;if(zx){const a=parseInt(getComputedStyle(t).fontSize,10),l=t.getBoundingClientRect();A=l.width/a,o=l.height/a}return Ge.autoA11y&&!i&&(s.attributes["aria-hidden"]="true"),Promise.resolve([t,k2({content:t.innerHTML,width:A,height:o,transform:r,title:i,extra:s,watchable:!0})])}}};
3715const eO=new RegExp('"',"ug"),q2=[1105920,1112319],j2=Ee(Ee(Ee(Ee({},{FontAwesome:{normal:"fas",400:"fas"}}),xR),kR),QR),zg=Object.keys(j2).reduce((n,t)=>(n[t.toLowerCase()]=j2[t],n),{}),nO=Object.keys(zg).reduce((n,t)=>{const e=zg[t];return n[t]=e[900]||[...Object.entries(e)][0][1],n},{});function iO(n){const t=n.replace(eO,""),e=l8(t,0),i=e>=q2[0]&&e<=q2[1],r=t.length===2?t[0]===t[1]:!1;return{value:Lg(r?t[0]:t),isSecondary:i||r}}function rO(n,t){const e=n.replace(/^['"]|['"]$/g,"").toLowerCase(),i=parseInt(t),r=isNaN(i)?"normal":i;return(zg[e]||{})[r]||nO[e]}function X2(n,t){const e="".concat(NR).concat(t.replace(":","-"));return new Promise((i,r)=>{if(n.getAttribute(e)!==null)return i();const A=cl(n.children).filter(f=>f.getAttribute(Ug)===t)[0],o=kA.getComputedStyle(n,t),a=o.getPropertyValue("font-family"),l=a.match(WR),c=o.getPropertyValue("font-weight"),u=o.getPropertyValue("content");if(A&&!l)return n.removeChild(A),i();if(l&&u!=="none"&&u!==""){const f=o.getPropertyValue("content");let m=rO(a,c);const{value:y,isSecondary:h}=iO(f),g=l[0].startsWith("FontAwesome");let b=w0(m,y),U=b;if(g){const N=p8(y);N.iconName&&N.prefix&&(b=N.iconName,m=N.prefix)}if(b&&!h&&(!A||A.getAttribute(f0)!==m||A.getAttribute(h0)!==U)){n.setAttribute(e,U),A&&n.removeChild(A);const N=K8(),{extra:L}=N;L.attributes[Ug]=t,Hg(b,m).then(R=>{const j=v0(Ee(Ee({},N),{},{icons:{main:R,mask:ub()},prefix:m,iconName:U,extra:L,watchable:!0})),st=Tn.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?n.insertBefore(st,n.firstChild):n.appendChild(st),st.outerHTML=j.map(O=>Vc(O)).join(` 3716`),n.removeAttribute(e),i()}).catch(r)}else i()}else i()})}function sO(n){return Promise.all([X2(n,"::before"),X2(n,"::after")])}function AO(n){return n.parentNode!==document.head&&!~VR.indexOf(n.tagName.toUpperCase())&&!n.getAttribute(Ug)&&(!n.parentNode||n.parentNode.tagName!=="svg")}function Y2(n){if(!!tA)return new Promise((t,e)=>{const i=cl(n.querySelectorAll("*")).filter(AO).map(sO),r=y0.begin("searchPseudoElements");gb(),Promise.all(i).then(()=>{r(),Ng(),t()}).catch(()=>{r(),Ng(),e()})})}var oO={hooks(){return{mutationObserverCallbacks(n){return n.pseudoElementsCallback=Y2,n}}},provides(n){n.pseudoElements2svg=function(t){const{node:e=Tn}=t;Ge.searchPseudoElements&&Y2(e)}}};let J2=!1;var aO={mixout(){return{dom:{unwatch(){gb(),J2=!0}}}},hooks(){return{bootstrap(){G2(Dg("mutationObserverCallbacks",{}))},noAuto(){N8()},watch(n){const{observeMutationsRoot:t}=n;J2?Ng():G2(Dg("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}};const Z2=n=>{let t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return n.toLowerCase().split(" ").reduce((e,i)=>{const r=i.toLowerCase().split("-"),s=r[0];let A=r.slice(1).join("-");if(s&&A==="h")return e.flipX=!0,e;if(s&&A==="v")return e.flipY=!0,e;if(A=parseFloat(A),isNaN(A))return e;switch(s){case"grow":e.size=e.size+A;break;case"shrink":e.size=e.size-A;break;case"left":e.x=e.x-A;break;case"right":e.x=e.x+A;break;case"up":e.y=e.y-A;break;case"down":e.y=e.y+A;break;case"rotate":e.rotate=e.rotate+A;break}return e},t)};var lO={mixout(){return{parse:{transform:n=>Z2(n)}}},hooks(){return{parseNodeAttributes(n,t){const e=t.getAttribute("data-fa-transform");return e&&(n.transform=Z2(e)),n}}},provides(n){n.generateAbstractTransformGrouping=function(t){let{main:e,transform:i,containerWidth:r,iconWidth:s}=t;const A={transform:"translate(".concat(r/2," 256)")},o="translate(".concat(i.x*32,", ").concat(i.y*32,") "),a="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),l="rotate(".concat(i.rotate," 0 0)"),c={transform:"".concat(o," ").concat(a," ").concat(l)},u={transform:"translate(".concat(s/2*-1," -256)")},f={outer:A,inner:c,path:u};return{tag:"g",attributes:Ee({},f.outer),children:[{tag:"g",attributes:Ee({},f.inner),children:[{tag:e.icon.tag,children:e.icon.children,attributes:Ee(Ee({},e.icon.attributes),f.path)}]}]}}}};const hp={x:0,y:0,width:"100%",height:"100%"};function $2(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return n.attributes&&(n.attributes.fill||t)&&(n.attributes.fill="black"),n}function cO(n){return n.tag==="g"?n.children:[n]}var uO={hooks(){return{parseNodeAttributes(n,t){const e=t.getAttribute("data-fa-mask"),i=e?Ph(e.split(" ").map(r=>r.trim())):ub();return i.prefix||(i.prefix=NA()),n.mask=i,n.maskId=t.getAttribute("data-fa-mask-id"),n}}},provides(n){n.generateAbstractMask=function(t){let{children:e,attributes:i,main:r,mask:s,maskId:A,transform:o}=t;const{width:a,icon:l}=r,{width:c,icon:u}=s,f=n8({transform:o,containerWidth:c,iconWidth:a}),m={tag:"rect",attributes:Ee(Ee({},hp),{},{fill:"white"})},y=l.children?{children:l.children.map($2)}:{},h={tag:"g",attributes:Ee({},f.inner),children:[$2(Ee({tag:l.tag,attributes:Ee(Ee({},l.attributes),f.path)},y))]},g={tag:"g",attributes:Ee({},f.outer),children:[h]},b="mask-".concat(A||Cc()),U="clip-".concat(A||Cc()),N={tag:"mask",attributes:Ee(Ee({},hp),{},{id:b,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,g]},L={tag:"defs",children:[{tag:"clipPath",attributes:{id:U},children:cO(u)},N]};return e.push(L,{tag:"rect",attributes:Ee({fill:"currentColor","clip-path":"url(#".concat(U,")"),mask:"url(#".concat(b,")")},hp)}),{children:e,attributes:i}}}},fO={provides(n){let t=!1;kA.matchMedia&&(t=kA.matchMedia("(prefers-reduced-motion: reduce)").matches),n.missingIconAbstract=function(){const e=[],i={fill:"
3716currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:Ee(Ee({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const s=Ee(Ee({},r),{},{attributeName:"opacity"}),A={tag:"circle",attributes:Ee(Ee({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||A.children.push({tag:"animate",attributes:Ee(Ee({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Ee(Ee({},s),{},{values:"1;0;1;1;0;1;"})}),e.push(A),e.push({tag:"path",attributes:Ee(Ee({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:Ee(Ee({},s),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:Ee(Ee({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Ee(Ee({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},hO={hooks(){return{parseNodeAttributes(n,t){const e=t.getAttribute("data-fa-symbol"),i=e===null?!1:e===""?!0:e;return n.symbol=i,n}}}},dO=[s8,J8,Z8,$8,tO,oO,aO,lO,uO,fO,hO];b8(dO,{mixoutsTo:gr});gr.noAuto;const wb=gr.config,vb=gr.library;gr.dom;const Nf=gr.parse;gr.findIconDefinition;gr.toHtml;const pO=gr.icon;gr.layer;const gO=gr.text;gr.counter;var Wn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function mO(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function Mu(n){throw new Error('Could not dynamically require "'+n+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Vg={exports:{}};(function(n,t){(function(e,i){n.exports=i()})(Wn,function(){var e,i,r,s,A,o,a,l,c,u,f,m,y,h,g,b,U,N,L,R,j,st,O,V,gt,Nt,Dt,Et,xt,Xt,jt,Gt,Wt,kt,Vt,we,oe,Be,Ue,zt,Ht,re,le,Le,xe,De,Te,it,bt,Jt,fe,ge,ue,pe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(B){return typeof B}:function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},he=function(B){var Q="1.3",D={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};function v(w){var x={};this.subscribe=function(C,S,I){if(typeof S!="function")return!1;x.hasOwnProperty(C)||(x[C]={});var P=Math.random().toString(35);return x[C][P]=[S,!!I],P},this.unsubscribe=function(C){for(var S in x)if(x[S][C])return delete x[S][C],!0;return!1},this.publish=function(C){if(x.hasOwnProperty(C)){var S=Array.prototype.slice.call(arguments,1
3716),I=[];for(var P in x[C]){var d=x[C][P];try{d[0].apply(w,S)}catch(_){B.console&&console.error("jsPDF PubSub Error",_.message,_)}d[1]&&I.push(P)}I.length&&I.forEach(this.unsubscribe)}}}function p(w,x,C,S){var I={};(w===void 0?"undefined":pe(w))==="object"&&(w=(I=w).orientation,x=I.unit||x,C=I.format||C,S=I.compress||I.compressPdf||S),x=x||"mm",C=C||"a4",w=(""+(w||"P")).toLowerCase(),(""+C).toLowerCase();var P,d,_,E,F,T,k,K,X,tt,ft,wt=!!S&&typeof Uint8Array=="function",ht=I.textColor||"0 g",at=I.drawColor||"0 G",H=I.fontSize||16,dt=I.charSpace||0,rt=I.R2L||!1,Bt=I.lineHeight||1.15,vt=I.lineWidth||.200025,Kt="00000000000000000000000000000000",yt=2,$=!1,z=[],ct={},q={},At=0,ot=[],Pt=[],mt=[],qt=[],Mt=[],W=0,et=0,M=0,G={title:"",subject:"",author:"",keywords:"",creator:""},Y={},ut=new v(Y),Lt=I.hotfixes||[],Ot=function(nt){var Rt,Zt=nt.ch1,Ut=nt.ch2,Tt=nt.ch3,Yt=nt.ch4,se=(nt.precision,nt.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"]);if(typeof Zt=="string"&&Zt.charAt(0)!=="#"){var ce=new RGBColor(Zt);ce.ok&&(Zt=ce.toHex())}if(typeof Zt=="string"&&/^#[0-9A-Fa-f]{3}$/.test(Zt)&&(Zt="#"+Zt[1]+Zt[1]+Zt[2]+Zt[2]+Zt[3]+Zt[3]),typeof Zt=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Zt)){var Ce=parseInt(Zt.substr(1),16);Zt=Ce>>16&255,Ut=Ce>>8&255,Tt=255&Ce}if(Ut===void 0||Yt===void 0&&Zt===Ut&&Ut===Tt)if(typeof Zt=="string")Rt=Zt+" "+se[0];else switch(nt.precision){case 2:Rt=ve(Zt/255)+" "+se[0];break;case 3:default:Rt=He(Zt/255)+" "+se[0]}else if(Yt===void 0||(Yt===void 0?"undefined":pe(Yt))==="object"){if(typeof Zt=="string")Rt=[Zt,Ut,Tt,se[1]].join(" ");else switch(nt.precision){case 2:Rt=[ve(Zt/255),ve(Ut/255),ve(Tt/255),se[1]].join(" ");break;default:case 3:Rt=[He(Zt/255),He(Ut/255),He(Tt/255),se[1]].join(" ")}Yt&&Yt.a===0&&(Rt=["255","255","255",se[1]].join(" "))}else if(typeof Zt=="string")Rt=[Zt,Ut,Tt,Yt,se[2]].join(" ");else switch(nt.precision){case 2:Rt=[ve(Zt),ve(Ut),ve(Tt),ve(Yt),se[2]].join(" ");break;case 3:default:Rt=[He(Zt),He(Ut),He(Tt),He(Yt),se[2]].join(" ")}return Rt},ne=function(nt){var Rt=function(ce){return("0"+parseInt(ce)).slice(-2)},Zt=nt.getTimezoneOffset(),Ut=Zt<0?"+":"-",Tt=Math.floor(Math.abs(Zt/60)),Yt=Math.abs(Zt%60),se=[Ut,Rt(Tt),"'",Rt(Yt),"'"].join("");return["D:",nt.getFullYear(),Rt(nt.getMonth()+1),Rt(nt.getDate()),Rt(nt.getHours()),Rt(nt.getMinutes()),Rt(nt.getSeconds()),se].join("")},ae=function(nt){var Rt;return(nt===void 0?"undefined":pe(nt))===void 0&&(nt=new Date),Rt=(nt===void 0?"undefined":pe(nt))==="object"&&Object.prototype.toString.call(nt)==="[object Date]"?ne(nt):/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|\-0[0-9]|\-1[0-1])\'(0[0-9]|[1-5][0-9])\'?$/.test(nt)?nt:ne(new Date),tt=Rt},ie=function(nt){var Rt=tt;return nt==="jsDate"&&(Rt=function(Zt){var Ut=parseInt(Zt.substr(2,4),10),Tt=parseInt(Zt.substr(6,2),10)-1,Yt=parseInt(Zt.substr(8,2),10),se=parseInt(Zt.substr(10,2),10),ce=parseInt(Zt.substr(12,2),10),Ce=parseInt(Zt.substr(14,2),10);return parseInt(Zt.substr(16,2),10),parseInt(Zt.substr(20,2),10),new Date(Ut,Tt,Yt,se,ce,Ce,0)}(tt)),Rt},Me=function(nt){return nt=nt||"12345678901234567890123456789012".split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),Kt=nt},ve=function(nt){return nt.toFixed(2)},He=function(nt){return nt.toFixed(3)},It=function(nt){nt=typeof nt=="string"?nt:nt.toString(),$?ot[E].push(nt):(M+=nt.length+1,qt.push(nt))},pn=function(){return z[++yt]=M,It(yt+" 0 obj"),yt},sn=function(nt){It("stream"),It(nt),It("endstream")},An=function(){for(var nt in It("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),It("/Font <<"),ct)ct.hasOwnProperty(nt)&&It("/"+nt+" "+ct[nt].objectNumber+" 0 R");It(">>"),It("/XObject <<"),ut.publish("putXobjectDict"),It(">>")},Un=function(){(function(){for(var nt in ct)ct.hasOwnProperty(nt)&&(Rt=ct[nt],ut.publish("putFont",{font:Rt,out:It,newObject:pn}),Rt.isAlreadyPutted!==!0&&(Rt.objectNumber=pn(),It("<<"),It("/Type /Font"),It("/BaseFont /"+Rt.postScriptName),It("/Subtype /Type1"),typeof Rt.encoding=="string"&&It("/Encoding /"+Rt.encoding),It("/FirstChar 32"),It("/LastChar 255"),It(">>"),It("endobj")));var Rt})(),ut.publish("putResources"),z[2]=M,It("2 0 obj"),It("<<"),An(),It(">>"),It("endobj"),ut.publish("postPutResources")},We=function(nt,Rt,Zt){q.hasOwnProperty(Rt)||(q[Rt]={}),q[Rt][Zt]=nt},un=function(nt,Rt,Zt,Ut){var Tt="F"+(Object.keys(ct).length+1).toString(10),Yt=ct[Tt]={id:Tt,postScriptName:nt,fontName:Rt,fontStyle:Zt,encoding:Ut,metadata:{}};return We(Tt,Rt,Zt),ut.publish("addFont",Yt),Tt},mn=function(nt,Rt){return function(Zt,Ut){var Tt,Yt,se,ce,Ce,ke,Je,Ve,en;if(se=(Ut=Ut||{}).sourceEncoding||"Unicode",Ce=Ut.outputEncoding,(Ut.autoencode||Ce)&&ct[P].metadata&&ct[P].metadata[se]&&
3716ct[P].metadata[se].encoding&&(ce=ct[P].metadata[se].encoding,!Ce&&ct[P].encoding&&(Ce=ct[P].encoding),!Ce&&ce.codePages&&(Ce=ce.codePages[0]),typeof Ce=="string"&&(Ce=ce[Ce]),Ce)){for(Je=!1,ke=[],Tt=0,Yt=Zt.length;Tt<Yt;Tt++)(Ve=Ce[Zt.charCodeAt(Tt)])?ke.push(String.fromCharCode(Ve)):ke.push(Zt[Tt]),ke[Tt].charCodeAt(0)>>8&&(Je=!0);Zt=ke.join("")}for(Tt=Zt.length;Je===void 0&&Tt!==0;)Zt.charCodeAt(Tt-1)>>8&&(Je=!0),Tt--;if(!Je)return Zt;for(ke=Ut.noBOM?[]:[254,255],Tt=0,Yt=Zt.length;Tt<Yt;Tt++){if((en=(Ve=Zt.charCodeAt(Tt))>>8)>>8)throw new Error("Character at position "+Tt+" of string '"+Zt+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");ke.push(en),ke.push(Ve-(en<<8))}return String.fromCharCode.apply(void 0,ke)}(nt,Rt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},ln=function(){(function(nt,Rt){var Zt=typeof Rt=="string"&&Rt.toLowerCase();if(typeof nt=="string"){var Ut=nt.toLowerCase();D.hasOwnProperty(Ut)&&(nt=D[Ut][0]/d,Rt=D[Ut][1]/d)}if(Array.isArray(nt)&&(Rt=nt[1],nt=nt[0]),Zt){switch(Zt.substr(0,1)){case"l":nt<Rt&&(Zt="s");break;case"p":Rt<nt&&(Zt="s")}Zt==="s"&&(_=nt,nt=Rt,Rt=_)}$=!0,ot[++At]=[],mt[At]={width:Number(nt)||F,height:Number(Rt)||T},Pt[At]={},an(At)}).apply(this,arguments),It(ve(vt*d)+" w"),It(at),W!==0&&It(W+" J"),et!==0&&It(et+" j"),ut.publish("addPage",{pageNumber:At})},an=function(nt){0<nt&&nt<=At&&(F=mt[E=nt].width,T=mt[nt].height)},wn=function(nt,Rt,Zt){var Ut,Tt=void 0;return Zt=Zt||{},nt=nt!==void 0?nt:ct[P].fontName,Rt=Rt!==void 0?Rt:ct[P].fontStyle,Ut=nt.toLowerCase(),q[Ut]!==void 0&&q[Ut][Rt]!==void 0?Tt=q[Ut][Rt]:q[nt]!==void 0&&q[nt][Rt]!==void 0?Tt=q[nt][Rt]:Zt.disableWarning===!1&&console.warn("Unable to look up font label for font '"+nt+"', '"+Rt+"'. Refer to getFontList() for available fonts."),Tt||Zt.noFallback||(Tt=q.times[Rt])==null&&(Tt=q.times.normal),Tt},Gn=function(){$=!1,yt=2,M=0,qt=[],z=[],Mt=[],ut.publish("buildDocument"),It("%PDF-"+Q),It("%\xBA\xDF\xAC\xE0"),function(){var Tt,Yt,se,ce,Ce,ke,Je,Ve,en,dn=[];for(Je=B.adler32cs||p.API.adler32cs,wt&&Je===void 0&&(wt=!1),Tt=1;Tt<=At;Tt++){if(dn.push(pn()),Ve=(F=mt[Tt].width)*d,en=(T=mt[Tt].height)*d,It("<</Type /Page"),It("/Parent 1 0 R"),It("/Resources 2 0 R"),It("/MediaBox [0 0 "+ve(Ve)+" "+ve(en)+"]"),ut.publish("putPage",{pageNumber:Tt,page:ot[Tt]}),It("/Contents "+(yt+1)+" 0 R"),It(">>"),It("endobj"),Yt=ot[Tt].join(` 3717`),pn(),wt){for(se=[],ce=Yt.length;ce--;)se[ce]=Yt.charCodeAt(ce);ke=Je.from(Yt),(Ce=new Deflater(6)).append(new Uint8Array(se)),Yt=Ce.flush(),(se=new Uint8Array(Yt.length+6)).set(new Uint8Array([120,156])),se.set(Yt,2),se.set(new Uint8Array([255&ke,ke>>8&255,ke>>16&255,ke>>24&255]),Yt.length+2),Yt=String.fromCharCode.apply(null,se),It("<</Length "+Yt.length+" /Filter [/FlateDecode]>>")}else It("<</Length "+Yt.length+">>");sn(Yt),It("endobj")}z[1]=M,It("1 0 obj"),It("<</Type /Pages");var Kn="/Kids [";for(ce=0;ce<At;ce++)Kn+=dn[ce]+" 0 R ";It(Kn+"]"),It("/Count "+At),It(">>"),It("endobj"),ut.publish("postPutPages")}(),function(){ut.publish("putAdditionalObjects");for(var Tt=0;Tt<Mt.length;Tt++){var Yt=Mt[Tt];z[Yt.objId]=M,It(Yt.objId+" 0 obj"),It(Yt.content),It("endobj")}yt+=Mt.length,ut.publish("postPutAdditionalObjects")}(),Un(),pn(),It("<<"),function(){for(var Tt in It("/Producer (jsPDF "+p.version+")"),G)G.hasOwnProperty(Tt)&&G[Tt]&&It("/"+Tt.substr(0,1).toUpperCase()+Tt.substr(1)+" ("+mn(G[Tt])+")");It("/CreationDate ("+tt+")")}(),It(">>"),It("endobj"),pn(),It("<<"),function(){switch(It("/Type /Catalog"),It("/Pages 1 0 R"),K||(K="fullwidth"),K){case"fullwidth":It("/OpenAction [3 0 R /FitH null]");break;case"fullheight":It("/OpenAction [3 0 R /FitV null]");break;case"fullpage":It("/OpenAction [3 0 R /Fit]");break;case"original":It("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Tt=""+K;Tt.substr(Tt.length-1)==="%"&&(K=parseInt(K)/100),typeof K=="number"&&It("/OpenAction [3 0 R /XYZ null null "+ve(K)+"]")}switch(X||(X="continuous"),X){case"continuous":It("/PageLayout /OneColumn");break;case"single":It("/PageLayout /SinglePage");break;case"two":case"twoleft":It("/PageLayout /TwoColumnLeft");break;case"tworight":It("/PageLayout /TwoColumnRight")}k&&It("/PageMode /"+k),ut.publish("putCatalog")}(),It(">>"),It("endobj");
3717var nt,Rt=M,Zt="0000000000";for(It("xref"),It("0 "+(yt+1)),It(Zt+" 65535 f "),nt=1;nt<=yt;nt++){var Ut=z[nt];It(typeof Ut=="function"?(Zt+z[nt]()).slice(-10)+" 00000 n ":(Zt+z[nt]).slice(-10)+" 00000 n ")}return It("trailer"),It("<<"),It("/Size "+(yt+1)),It("/Root "+yt+" 0 R"),It("/Info "+(yt-1)+" 0 R"),It("/ID [ <"+Kt+"> <"+Kt+"> ]"),It(">>"),It("startxref"),It(""+Rt),It("%%EOF"),$=!0,qt.join(` 3718`)},Ke=function(nt){var Rt="S";return nt==="F"?Rt="f":nt==="FD"||nt==="DF"?Rt="B":nt!=="f"&&nt!=="f*"&&nt!=="B"&&nt!=="B*"||(Rt=nt),Rt},tr=function(){for(var nt=Gn(),Rt=nt.length,Zt=new ArrayBuffer(Rt),Ut=new Uint8Array(Zt);Rt--;)Ut[Rt]=nt.charCodeAt(Rt);return Zt},Ii=function(){return new Blob([tr()],{type:"application/pdf"})},Lr=((ft=function(nt,Rt){var Zt=(""+nt).substr(0,6)==="dataur"?"data:application/pdf;base64,"+btoa(Gn()):0;switch(nt){case void 0:return Gn();case"save":if((typeof navigator>"u"?"undefined":pe(navigator))==="object"&&navigator.getUserMedia&&(B.URL===void 0||B.URL.createObjectURL===void 0))return Y.output("dataurlnewwindow");Qt(Ii(),Rt),typeof Qt.unload=="function"&&B.setTimeout&&setTimeout(Qt.unload,911);break;case"arraybuffer":return tr();case"blob":return Ii();case"bloburi":case"bloburl":return B.URL&&B.URL.createObjectURL(Ii())||void 0;case"datauristring":case"dataurlstring":return Zt;case"dataurlnewwindow":var Ut=B.open(Zt);if(Ut||typeof safari>"u")return Ut;case"datauri":case"dataurl":return B.document.location.href=Zt;default:throw new Error('Output type "'+nt+'" is not supported.')}}).foo=function(){try{return ft.apply(this,arguments)}catch(Zt){var nt=Zt.stack||"";~nt.indexOf(" at ")&&(nt=nt.split(" at ")[1]);var Rt="Error in function "+nt.split(` 3719`)[0].split("<")[0]+": "+Zt.message;if(!B.console)throw new Error(Rt);B.console.error(Rt,Zt),B.alert&&alert(Rt)}},(ft.foo.bar=ft).foo),es=function(nt){return Array.isArray(Lt)===!0&&-1<Lt.indexOf(nt)};switch(x){case"pt":d=1;break;case"mm":d=72/25.4;break;case"cm":d=72/2.54;break;case"in":d=72;break;case"px":d=es("px_scaling")==1?.75:96/72;break;case"pc":case"em":d=12;break;case"ex":d=6;break;default:throw"Invalid unit: "+x}for(var ii in ae(),Me(),Y.internal={pdfEscape:mn,getStyle:Ke,getFont:function(){return ct[wn.apply(Y,arguments)]},getFontSize:function(){return H},getCharSpace:function(){return dt},getTextColor:function(){var nt=ht.split(" ");if(nt.length===2&&nt[1]==="g"){var Rt=parseFloat(nt[0]);nt=[Rt,Rt,Rt,"r"]}for(var Zt="#",Ut=0;Ut<3;Ut++)Zt+=("0"+Math.floor(255*parseFloat(nt[Ut])).toString(16)).slice(-2);return Zt},getLineHeight:function(){return H*Bt},write:function(nt){It(arguments.length===1?nt:Array.prototype.join.call(arguments," "))},getCoordinateString:function(nt){return ve(nt*d)},getVerticalCoordinateString:function(nt){return ve((T-nt)*d)},collections:{},newObject:pn,newAdditionalObject:function(){var nt=2*ot.length+1,Rt={objId:nt+=Mt.length,content:""};return Mt.push(Rt),Rt},newObjectDeferred:function(){return z[++yt]=function(){return M},yt},newObjectDeferredBegin:function(nt){z[nt]=M},putStream:sn,events:ut,scaleFactor:d,pageSize:{getWidth:function(){return F},getHeight:function(){return T}},output:function(nt,Rt){return Lr(nt,Rt)},getNumberOfPages:function(){return ot.length-1},pages:ot,out:It,f2:ve,getPageInfo:function(nt){return{objId:2*(nt-1)+3,pageNumber:nt,pageContext:Pt[nt]}},getCurrentPageInfo:function(){return{objId:2*(E-1)+3,pageNumber:E,pageContext:Pt[E]}},getPDFVersion:function(){return Q},hasHotfix:es},Y.addPage=function(){return ln.apply(this,arguments),this},Y.setPage=function(){return an.apply(this,arguments),this},Y.insertPage=function(nt){return this.addPage(),this.movePage(E,nt),this},Y.movePage=function(nt,Rt){if(Rt<nt){for(var Zt=ot[nt],Ut=mt[nt],Tt=Pt[nt],Yt=nt;Rt<Yt;Yt--)ot[Yt]=ot[Yt-1],mt[Yt]=mt[Yt-1],Pt[Yt]=Pt[Yt-1];ot[Rt]=Zt,mt[Rt]=Ut,Pt[Rt]=Tt,this.setPage(Rt)}else if(nt<Rt){for(Zt=ot[nt],Ut=mt[nt],Tt=Pt[nt],Yt=nt;Yt<Rt;Yt++)ot[Yt]=ot[Yt+1],mt[Yt]=mt[Yt+1],Pt[Yt]=Pt[Yt+1];ot[Rt]=Zt,mt[Rt]=Ut,Pt[Rt]=Tt,this.setPage(Rt)}return this},Y.deletePage=function(){return function(nt){0<nt&&nt<=At&&(ot.splice(nt,1),mt.splice(nt,1),--At<E&&(E=At),this.setPage(E))}.apply(this,arguments),this},Y.setCreationDate=function(nt){return ae(nt),this},Y.getCreationDate=function(nt){return ie(nt)},Y.setFileId=function(nt){return Me(nt),this},Y.getFileId=function(){return Kt},Y.setDisplayMode=function(nt,Rt,Zt){if(K=nt,X=Rt,[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(k=Zt)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+Zt+'" is not recognized.');return this},Y.text=function(nt,Rt,Zt,Ut){var Tt,Yt,se="",ce=Bt,Ce=this;function ke(Pi){for(var Di,ns=Pi.concat(),fi=[],qo=ns.length;qo--;)typeof(Di=ns.shift())=="string"?fi.push(Di):Object.prototype.toString.call(Pi)==="[object Array]"&&Di.length===1?fi.push(Di[0]):fi.push([Di[0],Di[1],Di[2]]);return fi}function Je(Pi,Di){var ns;if(typeof Pi=="string")ns=Di(Pi)[0];else if(Object.prototype.toString.call(Pi)==="[object Array]"){for(var fi,qo,Q0=Pi.concat(),Yh=[],UC=Q0.length;UC--;)typeof(fi=Q0.shift())=="string"?Yh.push(Di(fi)[0]):Object.prototype.toString.call(fi)==="[object Array]"&&fi[0]==="str
3719ing"&&(qo=Di(fi[0],fi[1],fi[2]),Yh.push([qo[0],qo[1],qo[2]]));ns=Yh}return ns}typeof nt=="number"&&(Yt=Zt,Zt=Rt,Rt=nt,nt=Yt);var Ve=Ut,en=arguments[4],dn=arguments[5];(Ve===void 0?"undefined":pe(Ve))==="object"&&Ve!==null||(typeof en=="string"&&(dn=en,en=null),typeof Ve=="string"&&(dn=Ve,Ve=null),typeof Ve=="number"&&(en=Ve,Ve=null),Ut={flags:Ve,angle:en,align:dn});var Kn=!1,vi=!0;if(typeof nt=="string")Kn=!0;else if(Object.prototype.toString.call(nt)==="[object Array]"){for(var yi,fl=nt.concat(),Hn=[],Qi=fl.length;Qi--;)(typeof(yi=fl.shift())!="string"||Object.prototype.toString.call(yi)==="[object Array]"&&typeof yi[0]!="string")&&(vi=!1);Kn=vi}if(Kn===!1)throw new Error('Type of text must be string or Array. "'+nt+'" is not recognized.');var hl=ct[P].encoding;hl!=="WinAnsiEncoding"&&hl!=="StandardEncoding"||(nt=Je(nt,function(Pi,Di,ns){return[(fi=Pi,fi=fi.split(" ").join(Array(Ut.TabLen||9).join(" ")),mn(fi,Ve)),Di,ns];var fi})),typeof nt=="string"&&(nt=nt.match(/[\r?\n]/)?nt.split(/\r\n|\r|\n/g):[nt]),0<(XA=Ut.maxWidth||0)&&(typeof nt=="string"?nt=Ce.splitTextToSize(nt,XA):Object.prototype.toString.call(nt)==="[object Array]"&&(nt=Ce.splitTextToSize(nt.join(" "),XA)));var ws={text:nt,x:Rt,y:Zt,options:Ut,mutex:{pdfEscape:mn,activeFontKey:P,fonts:ct,activeFontSize:H}};ut.publish("preProcessText",ws),nt=ws.text,en=(Ut=ws.options).angle;var Zn=Ce.internal.scaleFactor,WA=(Ce.internal.pageSize.getHeight(),[]);if(en){en*=Math.PI/180;var Ko=Math.cos(en),Wo=Math.sin(en),qA=function(Pi){return Pi.toFixed(2)};WA=[qA(Ko),qA(Wo),qA(-1*Wo),qA(Ko)]}(jh=Ut.charSpace)!==void 0&&(se+=jh+` Tc 3720`),Ut.lang;var Li=-1,qc=Ut.renderingMode||Ut.stroke,dl=Ce.internal.getCurrentPageInfo().pageContext;switch(qc){case 0:case!1:case"fill":Li=0;break;case 1:case!0:case"stroke":Li=1;break;case 2:case"fillThenStroke":Li=2;break;case 3:case"invisible":Li=3;break;case 4:case"fillAndAddForClipping":Li=4;break;case 5:case"strokeAndAddPathForClipping":Li=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":Li=6;break;case 7:case"addToPathForClipping":Li=7}var jc=dl.usedRenderingMode||-1;Li!==-1?se+=Li+` Tr 3721`:jc!==-1&&(se+=`0 Tr 3722`),Li!==-1&&(dl.usedRenderingMode=Li),dn=Ut.align||"left";var jA=H*ce,eA=Ce.internal.pageSize.getHeight(),EC=Ce.internal.pageSize.getWidth(),MC=(Zn=Ce.internal.scaleFactor,ct[P]),jh=Ut.charSpace||dt,XA=Ut.maxWidth||0,Xc=(Ve={},[]);if(Object.prototype.toString.call(nt)==="[object Array]"){var vs,Pr;Hn=ke(nt),dn!=="left"&&(Pr=Hn.map(function(Pi){return Ce.getStringUnitWidth(Pi,{font:MC,charSpace:jh,fontSize:H})*H/Zn}));var ys,I0=Math.max.apply(Math,Pr),Yc=0;if(dn==="right"){Rt-=Pr[0],nt=[];var nn=0;for(Qi=Hn.length;nn<Qi;nn++)I0-Pr[nn],nn===0?(ys=Rt*Zn,vs=(eA-Zt)*Zn):(ys=(Yc-Pr[nn])*Zn,vs=-jA),nt.push([Hn[nn],ys,vs]),Yc=Pr[nn]}else if(dn==="center")for(Rt-=Pr[0]/2,nt=[],nn=0,Qi=Hn.length;nn<Qi;nn++)(I0-Pr[nn])/2,nn===0?(ys=Rt*Zn,vs=(eA-Zt)*Zn):(ys=(Yc-Pr[nn])/2*Zn,vs=-jA),nt.push([Hn[nn],ys,vs]),Yc=Pr[nn];else if(dn==="left")for(nt=[],nn=0,Qi=Hn.length;nn<Qi;nn++)vs=nn===0?(eA-Zt)*Zn:-jA,ys=nn===0?Rt*Zn:0,nt.push(Hn[nn]);else{if(dn!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(nt=[],XA=XA!==0?XA:EC,nn=0,Qi=Hn.length;nn<Qi;nn++)vs=nn===0?(eA-Zt)*Zn:-jA,ys=nn===0?Rt*Zn:0,nn<Qi-1&&Xc.push(((XA-Pr[nn])/(Hn[nn].split(" ").length-1)*Zn).toFixed(2)),nt.push([Hn[nn],ys,vs])}}(typeof Ut.R2L=="boolean"?Ut.R2L:rt)===!0&&(nt=Je(nt,function(Pi,Di,ns){return[Pi.split("").reverse().join(""),Di,ns]})),ws={text:nt,x:Rt,y:Zt,options:Ut,mutex:{pdfEscape:mn,activeFontKey:P,fonts:ct,activeFontSize:H}},ut.publish("postProcessText",ws),nt=ws.text,Tt=ws.mutex.isHex,Hn=ke(nt),nt=[];var Jc,Zc,pl,$c=0,gl=(Qi=Hn.length,"");for(nn=0;nn<Qi;nn++)gl="",Object.prototype.toString.call(Hn[nn])!=="[object Array]"?(Jc=parseFloat(Rt*Zn).toFixed(2),Zc=parseFloat((eA-Zt)*Zn).toFixed(2),pl=(Tt?"<":"(")+Hn[nn]+(Tt?">":")")):Object.prototype.toString.call(Hn[nn])==="[object Array]"&&(Jc=parseFloat(Hn[nn][1]).toFixed(2),Zc=parseFloat(Hn[nn][2]).toFixed(2),pl=(Tt?"<":"(")+Hn[nn][0]+(Tt?">":")"),$c=1),Xc!==void 0&&Xc[nn]!==void 0&&(gl=Xc[nn]+` Tw 3723`),WA.length!==0&&nn===0?nt.push(gl+WA.join(" ")+" "+Jc+" "+Zc+` Tm 3724`+pl):$c===1||$c===0&&nn===0?nt.push(gl+Jc+" "+Zc+` Td 3725`+pl):nt.push(gl+pl);nt=$c===0?nt.join(` Tj 3726T* `):nt.join(` Tj 3727`),nt+=` Tj 3728`;var Xh=`BT 3729/`+P+" "+H+` Tf 3730`+(H*ce).toFixed(2)+` TL 3731`+ht+` 3732`;return Xh+=se,Xh+=nt,It(Xh+="ET"),Ce},Y.lstext=function(nt,Rt,Zt,Ut){console.warn("jsPDF.lstext is deprecated");for(var Tt=0,Yt=nt.length;Tt<Yt;Tt++,Rt+=Ut)this.text(nt[Tt],Rt,Zt);return this},Y.line=function(nt,Rt,Zt,Ut){return this.lines([[Zt-nt,Ut-Rt]],nt,Rt)},Y.clip=function(){It("W"),It("S")}
3732,Y.clip_fixed=function(nt){It(nt==="evenodd"?"W*":"W"),It("n")},Y.lines=function(nt,Rt,Zt,Ut,Tt,Yt){var se,ce,Ce,ke,Je,Ve,en,dn,Kn,vi,yi;for(typeof nt=="number"&&(_=Zt,Zt=Rt,Rt=nt,nt=_),Ut=Ut||[1,1],It(He(Rt*d)+" "+He((T-Zt)*d)+" m "),se=Ut[0],ce=Ut[1],ke=nt.length,vi=Rt,yi=Zt,Ce=0;Ce<ke;Ce++)(Je=nt[Ce]).length===2?(vi=Je[0]*se+vi,yi=Je[1]*ce+yi,It(He(vi*d)+" "+He((T-yi)*d)+" l")):(Ve=Je[0]*se+vi,en=Je[1]*ce+yi,dn=Je[2]*se+vi,Kn=Je[3]*ce+yi,vi=Je[4]*se+vi,yi=Je[5]*ce+yi,It(He(Ve*d)+" "+He((T-en)*d)+" "+He(dn*d)+" "+He((T-Kn)*d)+" "+He(vi*d)+" "+He((T-yi)*d)+" c"));return Yt&&It(" h"),Tt!==null&&It(Ke(Tt)),this},Y.rect=function(nt,Rt,Zt,Ut,Tt){return Ke(Tt),It([ve(nt*d),ve((T-Rt)*d),ve(Zt*d),ve(-Ut*d),"re"].join(" ")),Tt!==null&&It(Ke(Tt)),this},Y.triangle=function(nt,Rt,Zt,Ut,Tt,Yt,se){return this.lines([[Zt-nt,Ut-Rt],[Tt-Zt,Yt-Ut],[nt-Tt,Rt-Yt]],nt,Rt,[1,1],se,!0),this},Y.roundedRect=function(nt,Rt,Zt,Ut,Tt,Yt,se){var ce=1.3333333333333333*(Math.SQRT2-1);return this.lines([[Zt-2*Tt,0],[Tt*ce,0,Tt,Yt-Yt*ce,Tt,Yt],[0,Ut-2*Yt],[0,Yt*ce,-Tt*ce,Yt,-Tt,Yt],[2*Tt-Zt,0],[-Tt*ce,0,-Tt,-Yt*ce,-Tt,-Yt],[0,2*Yt-Ut],[0,-Yt*ce,Tt*ce,-Yt,Tt,-Yt]],nt+Tt,Rt,[1,1],se),this},Y.ellipse=function(nt,Rt,Zt,Ut,Tt){var Yt=1.3333333333333333*(Math.SQRT2-1)*Zt,se=4/3*(Math.SQRT2-1)*Ut;return It([ve((nt+Zt)*d),ve((T-Rt)*d),"m",ve((nt+Zt)*d),ve((T-(Rt-se))*d),ve((nt+Yt)*d),ve((T-(Rt-Ut))*d),ve(nt*d),ve((T-(Rt-Ut))*d),"c"].join(" ")),It([ve((nt-Yt)*d),ve((T-(Rt-Ut))*d),ve((nt-Zt)*d),ve((T-(Rt-se))*d),ve((nt-Zt)*d),ve((T-Rt)*d),"c"].join(" ")),It([ve((nt-Zt)*d),ve((T-(Rt+se))*d),ve((nt-Yt)*d),ve((T-(Rt+Ut))*d),ve(nt*d),ve((T-(Rt+Ut))*d),"c"].join(" ")),It([ve((nt+Yt)*d),ve((T-(Rt+Ut))*d),ve((nt+Zt)*d),ve((T-(Rt+se))*d),ve((nt+Zt)*d),ve((T-Rt)*d),"c"].join(" ")),Tt!==null&&It(Ke(Tt)),this},Y.circle=function(nt,Rt,Zt,Ut){return this.ellipse(nt,Rt,Zt,Zt,Ut)},Y.setProperties=function(nt){for(var Rt in G)G.hasOwnProperty(Rt)&&nt[Rt]&&(G[Rt]=nt[Rt]);return this},Y.setFontSize=function(nt){return H=nt,this},Y.setFont=function(nt,Rt){return P=wn(nt,Rt),this},Y.setFontStyle=Y.setFontType=function(nt){return P=wn(void 0,nt),this},Y.getFontList=function(){var nt,Rt,Zt,Ut={};for(nt in q)if(q.hasOwnProperty(nt))for(Rt in Ut[nt]=Zt=[],q[nt])q[nt].hasOwnProperty(Rt)&&Zt.push(Rt);return Ut},Y.addFont=function(nt,Rt,Zt,Ut){un(nt,Rt,Zt,Ut=Ut||"Identity-H")},Y.setLineWidth=function(nt){return It((nt*d).toFixed(2)+" w"),this},Y.setDrawColor=function(nt,Rt,Zt,Ut){return It(Ot({ch1:nt,ch2:Rt,ch3:Zt,ch4:Ut,pdfColorType:"draw",precision:2})),this},Y.setFillColor=function(nt,Rt,Zt,Ut){return It(Ot({ch1:nt,ch2:Rt,ch3:Zt,ch4:Ut,pdfColorType:"fill",precision:2})),this},Y.setTextColor=function(nt,Rt,Zt,Ut){return ht=Ot({ch1:nt,ch2:Rt,ch3:Zt,ch4:Ut,pdfColorType:"text",precision:3}),this},Y.setCharSpace=function(nt){return dt=nt,this},Y.setR2L=function(nt){return rt=nt,this},Y.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},Y.setLineCap=function(nt){var Rt=this.CapJoinStyles[nt];if(Rt===void 0)throw new Error("Line cap style of '"+nt+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return It((W=Rt)+" J"),this},Y.setLineJoin=function(nt){var Rt=this.CapJoinStyles[nt];if(Rt===void 0)throw new Error("Line join style of '"+nt+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return It((et=Rt)+" j"),this},Y.output=Lr,Y.save=function(nt){Y.output("save",nt)},p.API)p.API.hasOwnProperty(ii)&&(ii==="events"&&p.API.events.length?function(nt,Rt){var Zt,Ut,Tt;for(Tt=Rt.length-1;Tt!==-1;Tt--)Zt=Rt[Tt][0],Ut=Rt[Tt][1],nt.subscribe.apply(nt,[Zt].concat(typeof Ut=="function"?[Ut]:Ut))}(ut,p.API.events):Y[ii]=p.API[ii]);return function(){for(var nt="helvetica",Rt="times",Zt="courier",Ut="normal",Tt="bold",Yt="italic",se="bolditalic",ce=[["Helvetica",nt,Ut,"WinAnsiEncoding"],["Helvetica-Bold",nt,Tt,"WinAnsiEncoding"],["Helvetica-Oblique",nt,Yt,"WinAnsiEncoding"],["Helvetica-BoldOblique",nt,se,"WinAnsiEncoding"],["Courier",Zt,Ut,"WinAnsiEncoding"],["Courier-Bold",Zt,Tt,"WinAnsiEncoding"],["Courier-Oblique",Zt,Yt,"WinAnsiEncoding"],["Courier-BoldOblique",Zt,se,"WinAnsiEncoding"],["Times-Roman",Rt,Ut,"WinAnsiEncoding"],["Times-Bold",Rt,Tt,"WinAnsiEncoding"],["Times-Italic",Rt,Yt,"WinAnsiEncoding"],["Times-BoldItalic",Rt,se,"WinAnsiEncoding"],["ZapfDingbats","zapfdingbats",Ut,null],["Symbol","symbol",Ut,null]],
3732Ce=0,ke=ce.length;Ce<ke;Ce++){var Je=un(ce[Ce][0],ce[Ce][1],ce[Ce][2],ce[Ce][3]),Ve=ce[Ce][0].split("-");We(Je,Ve[0],Ve[1]||"")}ut.publish("addFonts",{fonts:ct,dictionary:q})}(),P="F1",ln(C,w),ut.publish("initialized"),Y}return p.API={events:[]},p.version="0.0.0",n.exports?(n.exports=p,n.exports.jsPDF=p):B.jsPDF=p,p}(typeof self<"u"&&self||typeof window<"u"&&window||typeof Wn<"u"&&Wn||Function('return typeof this === "object" && this.content')()||Function("return this")());/** @preserve 3733 * jsPDF - PDF Document creation from JavaScript 3734 * Version 1.4.1 Built on 2018-06-06T07:49:34.040Z 3735 * CommitID 3233f44044 3736 * 3737 * Copyright (c) 2010-2016 James Hall <[email protected]>, https://github.com/MrRio/jsPDF 3738 * 2010 Aaron Spike, https://github.com/acspike 3739 * 2012 Willow Systems Corporation, willow-systems.com 3740 * 2012 Pablo Hess, https://github.com/pablohess 3741 * 2012 Florian Jenett, https://github.com/fjenett 3742 * 2013 Warren Weckesser, https://github.com/warrenweckesser 3743 * 2013 Youssef Beddad, https://github.com/lifof 3744 * 2013 Lee Driscoll, https://github.com/lsdriscoll 3745 * 2013 Stefan Slonevskiy, https://github.com/stefslon 3746 * 2013 Jeremy Morel, https://github.com/jmorel 3747 * 2013 Christoph Hartmann, https://github.com/chris-rock 3748 * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria 3749 * 2014 James Makes, https://github.com/dollaruw 3750 * 2014 Diego Casorran, https://github.com/diegocr 3751 * 2014 Steven Spungin, https://github.com/Flamenco 3752 * 2014 Kenneth Glassey, https://github.com/Gavvers 3753 * 3754 * Licensed under the MIT License 3755 * 3756 * Contributor(s): 3757 * siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango, 3758 * kim3er, mfo, alnorth, Flamenco 3759 */(function(B,Q){var D,v,p=1,w=function(W,et){W.prototype=Object.create(et.prototype),W.prototype.constructor=W},x=function(W){return W*(p/1)},C=function(W){var et=new rt,M=Mt.internal.getHeight(W)||0,G=Mt.internal.getWidth(W)||0;return et.BBox=[0,0,G.toFixed(2),M.toFixed(2)],et},S=function(W,et,M){W=W||0;var G=1;return G<<=et-1,(M=M||1)==1?W=W|G:W=W&~G,W},I=function(W,et,M){return M=M||1.3,W=W||0,et.readOnly==1&&(W=S(W,1)),et.required==1&&(W=S(W,2)),et.noExport==1&&(W=S(W,3)),et.multiline==1&&(W=S(W,13)),et.password&&(W=S(W,14)),et.noToggleToOff&&(W=S(W,15)),et.radio&&(W=S(W,16)),et.pushbutton&&(W=S(W,17)),et.combo&&(W=S(W,18)),et.edit&&(W=S(W,19)),et.sort&&(W=S(W,20)),et.fileSelect&&1.4<=M&&(W=S(W,21)),et.multiSelect&&1.4<=M&&(W=S(W,22)),et.doNotSpellCheck&&1.4<=M&&(W=S(W,23)),et.doNotScroll==1&&1.4<=M&&(W=S(W,24)),et.richText&&1.4<=M&&(W=S(W,25)),W},P=function(W){var et=W[0],M=W[1],G=W[2],Y=W[3],ut={};return Array.isArray(et)?(et[0]=x(et[0]),et[1]=x(et[1]),et[2]=x(et[2]),et[3]=x(et[3])):(et=x(et),M=x(M),G=x(G),Y=x(Y)),ut.lowerLeft_X=et||0,ut.lowerLeft_Y=x(v)-M-Y||0,ut.upperRight_X=et+G||0,ut.upperRight_Y=x(v)-M||0,[ut.lowerLeft_X.toFixed(2),ut.lowerLeft_Y.toFixed(2),ut.upperRight_X.toFixed(2),ut.upperRight_Y.toFixed(2)]},d=function(W){if(W.appearanceStreamContent)return W.appearanceStreamContent;if(W.V||W.DV){var et=[],M=W.V||W.DV,G=_(W,M);et.push("/Tx BMC"),et.push("q"),et.push("/F1 "+G.fontSize.toFixed(2)+" Tf"),et.push("1 0 0 1 0 0 Tm"),et.push("BT"),et.push(G.text),et.push("ET"),et.push("Q"),et.push("EMC");var Y=new C(W);return Y.stream=et.join(` 3760`),Y}},_=function(W,et,M,G){G=G||12,M=M||"helvetica";var Y={text:"",fontSize:""},ut=(et=(et=et.substr(0,1)=="("?et.substr(1):et).substr(et.length-1)==")"?et.substr(0,et.length-1):et).split(" "),Lt=G,Ot=Mt.internal.getHeight(W)||0;Ot=Ot<0?-Ot:Ot;var ne=Mt.internal.getWidth(W)||0;ne=ne<0?-ne:ne;var ae=function(Gn,Ke,tr){if(Gn+1<ut.length){var Ii=Ke+" "+ut[Gn+1];return E(Ii,tr+"px",M).width<=ne-4}return!1};Lt++;t:for(;;){et="";var ie=E("3",--Lt+"px",M).height,Me=W.multiline?Ot-Lt:(Ot-ie)/2,ve=-2,He=Me+=2,It=0,pn=0,sn=0;if(Lt<=0){Lt=12,et=`(...) Tj
3761`,et+="% Width of Text: "+E(et,"1px").width+", FieldWidth:"+ne+` 3762`;break}sn=E(ut[0]+" ",Lt+"px",M).width;var An="",Un=0;for(var We in ut){An=(An+=ut[We]+" ").substr(An.length-1)==" "?An.substr(0,An.length-1):An;var un=parseInt(We);sn=E(An+" ",Lt+"px",M).width;var mn=ae(un,An,Lt),ln=We>=ut.length-1;if(!mn||ln){if(mn||ln){if(ln)pn=un;else if(W.multiline&&Ot<(ie+2)*(Un+2)+2)continue t}else{if(!W.multiline||Ot<(ie+2)*(Un+2)+2)continue t;pn=un}for(var an="",wn=It;wn<=pn;wn++)an+=ut[wn]+" ";switch(an=an.substr(an.length-1)==" "?an.substr(0,an.length-1):an,sn=E(an,Lt+"px",M).width,W.Q){case 2:ve=ne-sn-2;break;case 1:ve=(ne-sn)/2;break;case 0:default:ve=2}et+=ve.toFixed(2)+" "+He.toFixed(2)+` Td 3763`,et+="("+an+`) Tj 3764`,et+=-ve.toFixed(2)+` 0 Td 3765`,He=-(Lt+2),sn=0,It=pn+1,Un++,An=""}else An+=" "}break}return Y.text=et,Y.fontSize=Lt,Y},E=function(W,et,M){M=M||"helvetica";var G=D.internal.getFont(M),Y=D.getStringUnitWidth(W,{font:G,fontSize:parseFloat(et),charSpace:0})*parseFloat(et);return{height:D.getStringUnitWidth("3",{font:G,fontSize:parseFloat(et),charSpace:0})*parseFloat(et)*1.5,width:Y}},F={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},T=function(){for(var W in D.internal.acroformPlugin.acroFormDictionaryRoot.Fields){var et=D.internal.acroformPlugin.acroFormDictionaryRoot.Fields[W];et.hasAnnotation&&K.call(D,et)}},k=function(W){D.internal.acroformPlugin.printedOut&&(D.internal.acroformPlugin.printedOut=!1,D.internal.acroformPlugin.acroFormDictionaryRoot=null),D.internal.acroformPlugin.acroFormDictionaryRoot||ht.call(D),D.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(W)},K=function(W){var et={type:"reference",object:W};D.annotationPlugin.annotations[D.internal.getPageInfo(W.page).pageNumber].push(et)},X=function(){D.internal.acroformPlugin.acroFormDictionaryRoot!==void 0?D.internal.write("/AcroForm "+D.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R"):console.log("Root missing...")},tt=function(){D.internal.events.unsubscribe(D.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete D.internal.acroformPlugin.acroFormDictionaryRoot._eventID,D.internal.acroformPlugin.printedOut=!0},ft=function(W){var et=!W;W||(D.internal.newObjectDeferredBegin(D.internal.acroformPlugin.acroFormDictionaryRoot.objId),D.internal.out(D.internal.acroformPlugin.acroFormDictionaryRoot.getString())),W=W||D.internal.acroformPlugin.acroFormDictionaryRoot.Kids;for(var M in W){var G=W[M],Y=G.Rect;G.Rect&&(G.Rect=P.call(this,G.Rect)),D.internal.newObjectDeferredBegin(G.objId);var ut=G.objId+` 0 obj 3766<< 3767`;if((G===void 0?"undefined":pe(G))==="object"&&typeof G.getContent=="function"&&(ut+=G.getContent()),G.Rect=Y,G.hasAppearanceStream&&!G.appearanceStreamContent){var Lt=d.call(this,G);ut+="/AP << /N "+Lt+` >> 3768`,D.internal.acroformPlugin.xForms.push(Lt)}if(G.appearanceStreamContent){for(var Ot in ut+="/AP << ",G.appearanceStreamContent){var ne=G.appearanceStreamContent[Ot];if(ut+="/"+Ot+" ",ut+="<< ",1<=Object.keys(ne).length||Array.isArray(ne))for(var M in ne){var ae;typeof(ae=ne[M])=="function"&&(ae=ae.call(this,G)),ut+="/"+M+" "+ae+" ",0<=D.internal.acroformPlugin.xForms.indexOf(ae)||D.internal.acroformPlugin.xForms.push(ae)}else typeof(ae=ne)=="function"&&(ae=ae.call(this,G)),ut+="/"+M+" "+ae+` 3769`,0<=D.internal.acroformPlugin.xForms.indexOf(ae)||D.internal.acroformPlugin.xForms.push(ae);ut+=` >> 3770`}ut+=`>> 3771`}ut+=`>> 3772endobj 3773`,D.internal.out(ut)}et&&wt.call(this,D.internal.acroformPlugin.xForms)},wt=function(W){for(var et in W){var M=et,G=W[et];D.internal.newObjectDeferredBegin(G&&G.objId);var Y="";(G===void 0?"undefined":pe(G))==="object"&&typeof G.getString=="function"&&(Y=G.getString()),D.internal.out(Y),delete W[M]}},ht=function(){if(this.internal!==void 0&&(this.internal.acroformPlugin===void 0||this.internal.acroformPlugin.isInitialized===!1)){if(D=this,vt.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify(F)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");p=D.internal.scaleFactor,v=D.internal.pageSize.getHeight(),D.internal.acroformPlugin.acroFormDictionaryRoot=new Bt,D.internal.acroformPlugin.acroFormDictionaryRoot._eventID=D.internal.events.subscribe("postPutResources",tt),D.internal.events.subscribe("buildDocument",T),D.internal.events.subscribe("putCatalog",X),D.internal.events.subscribe("postPutPages",ft),D.internal.acroformPlugin.isInitialized=!0}},at=function(W){if(Array.isArray(W)){var et=" [";for(var M in W)et+=W[M].toString(),et+=M<W.length-1?" ":"";return et+="]"}},H=function(W){return(W=W||"").indexOf("(")!==0&&(W="("+W),W.substring(W.length-1)!=")"&&(W+=")"),W},dt=function(){var W;Object.defineProperty(this,"objId",{get:function(){return W||(W=D.internal.newObjectDeferred()),W||console.log("Couldn't create Object ID"),W},configurable:!1})};dt.prototype.toString=function(){return this.objId+" 0 R"},dt.prototype.getString=function(){var W=this.objId+` 0 obj 3774<<`;return W+=this.getContent()+`>> 3775`,this.stream&&(W+=`stream 3776`,W+=this.stream,W+=` 3777endstream 3778`),W+=`endobj 3779`},dt.prototype.getContent=function(){var W="";return W+=function(et){var M="",G=Object.keys(et).filter(function(Ot){return Ot!="content"&&Ot!="appearanceStreamContent"&&Ot.substring(0,1)!="_"});for(var Y in G){var ut=G[Y],Lt=et[ut];Lt&&(Array.isArray(Lt)?M+="/"+ut+" "+at(Lt)+` 3780`:M+=Lt instanceof dt?"/"+ut+" "+Lt.objId+` 0 R 3781`:"/"+ut+" "+Lt+` 3782`)}return M}(this)};var rt=function(){var W;dt.call(this),this.Type="/XObject",this.Subtype="/Form",this.FormType=1,this.BBox,this.Matrix,this.Resources="2 0 R",this.PieceInfo,Object.defineProperty(this,"Length",{enumerable:!0,get:function(){return W!==void 0?W.length:0}}),Object.defineProperty(this,"stream",{enumerable:!1,set:function(et){W=et.trim()},get:function(){return W||null}})};w(rt,dt);var Bt=function(){dt.call(this);var W=[];
3782Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return 0<W.length?W:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!0,configurable:!0,get:function(){return W}}),this.DA};w(Bt,dt);var vt=function W(){var et;dt.call(this),Object.defineProperty(this,"Rect",{enumerable:!0,configurable:!1,get:function(){if(et)return et},set:function(Ot){et=Ot}});var M,G,Y,ut,Lt="";Object.defineProperty(this,"FT",{enumerable:!0,set:function(Ot){Lt=Ot},get:function(){return Lt}}),Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,set:function(Ot){M=Ot},get:function(){return!M||M.length<1?this instanceof ot?void 0:"(FieldObject"+W.FieldNum+++")":M.substring(0,1)=="("&&M.substring(M.length-1)?M:"("+M+")"}}),Object.defineProperty(this,"DA",{enumerable:!0,get:function(){if(G)return"("+G+")"},set:function(Ot){G=Ot}}),Object.defineProperty(this,"DV",{enumerable:!0,configurable:!0,get:function(){if(Y)return Y},set:function(Ot){Y=Ot}}),Object.defineProperty(this,"V",{enumerable:!0,configurable:!0,get:function(){if(ut)return ut},set:function(Ot){ut=Ot}}),Object.defineProperty(this,"Type",{enumerable:!0,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,get:function(){return this.hasAnnotation?"/Widget":null}}),this.BG,Object.defineProperty(this,"hasAnnotation",{enumerable:!1,get:function(){return!!(this.Rect||this.BC||this.BG)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!1,configurable:!0,writable:!0}),Object.defineProperty(this,"page",{enumerable:!1,configurable:!0,writable:!0})};w(vt,dt);var Kt=function(){vt.call(this),this.FT="/Ch",this.Opt=[],this.V="()",this.TI=0;var W=!1;Object.defineProperty(this,"combo",{enumerable:!1,get:function(){return W},set:function(et){W=et}}),Object.defineProperty(this,"edit",{enumerable:!0,set:function(et){et==1?(this._edit=!0,this.combo=!0):this._edit=!1},get:function(){return!!this._edit&&this._edit},configurable:!1}),this.hasAppearanceStream=!0};w(Kt,vt);var yt=function(){Kt.call(this),this.combo=!1};w(yt,Kt);var $=function(){yt.call(this),this.combo=!0};w($,yt);var z=function(){$.call(this),this.edit=!0};w(z,$);var ct=function(){vt.call(this),this.FT="/Btn"};w(ct,vt);var q=function(){ct.call(this);var W=!0;Object.defineProperty(this,"pushbutton",{enumerable:!1,get:function(){return W},set:function(et){W=et}})};w(q,ct);var At=function(){ct.call(this);var W=!0;Object.defineProperty(this,"radio",{enumerable:!1,get:function(){return W},set:function(G){W=G}});var et,M=[];Object.defineProperty(this,"Kids",{enumerable:!0,get:function(){if(0<M.length)return M}}),Object.defineProperty(this,"__Kids",{get:function(){return M}}),Object.defineProperty(this,"noToggleToOff",{enumerable:!1,get:function(){return et},set:function(G){et=G}})};w(At,ct);var ot=function(W,et){vt.call(this),this.Parent=W,this._AppearanceType=Mt.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(et),this.F=S(this.F,3,1),this.MK=this._AppearanceType.createMK(),this.AS="/Off",this._Name=et};w(ot,vt),At.prototype.setAppearance=function(W){if("createAppearanceStream"in W&&"createMK"in W)for(var et in this.__Kids){var M=this.__Kids[et];M.appearanceStreamContent=W.createAppearanceStream(M._Name),M.MK=W.createMK()}else console.log("Couldn't assign Appearance to RadioButton. Appearance was Invalid!")},At.prototype.createOption=function(W){this.__Kids.length;var et=new ot(this,W);return this.__Kids.push(et),B.addField(et),et};var Pt=function(){ct.call(this),this.appearanceStreamContent=Mt.CheckBox.createAppearanceStream(),this.MK=Mt.CheckBox.createMK(),this.AS="/On",this.V="/On"};w(Pt,ct);var mt=function(){var W,et;vt.call(this),this.DA=Mt.createDefaultAppearanceStream(),this.F=4,Object.defineProperty(this,"V",{get:function(){return W&&H(W)},enumerable:!0,set:function(Ot){W=Ot}}),Object.defineProperty(this,"DV",{get:function(){return et&&H(et)},enumerable:!0,set:function(Ot){et=Ot}});var M=!1;Object.defineProperty(this,"multiline",{enumerable:!1,get:function(){return M},set:function(Ot){M=Ot}});var G=!1;Object.defineProperty(this,"fileSelect",{enumerable:!1,get:function(){return G},set:function(Ot){G=Ot}});var Y=!1;Object.defineProperty(this,"doNotSpellCheck",{enumerable:!1,get:function(){return Y},set:function(Ot){Y=Ot}});var ut=!1;Object.defineProperty(this,"doNotScroll",{enumerable:!1,get:function(){return ut},set:function(Ot){ut=Ot}}
3782);var Lt=!1;Object.defineProperty(this,"MaxLen",{enumerable:!0,get:function(){return Lt},set:function(Ot){Lt=Ot}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!1,get:function(){return this.V||this.DV}})};w(mt,vt);var qt=function(){mt.call(this);var W=!0;Object.defineProperty(this,"password",{enumerable:!1,get:function(){return W},set:function(et){W=et}})};w(qt,mt);var Mt={CheckBox:{createAppearanceStream:function(){return{N:{On:Mt.CheckBox.YesNormal},D:{On:Mt.CheckBox.YesPushDown,Off:Mt.CheckBox.OffPushDown}}},createMK:function(){return"<< /CA (3)>>"},YesPushDown:function(W){var et=C(W),M=[],G=D.internal.getFont("zapfdingbats","normal").id;W.Q=1;var Y=_(W,"3","ZapfDingbats",50);return M.push("0.749023 g"),M.push("0 0 "+Mt.internal.getWidth(W).toFixed(2)+" "+Mt.internal.getHeight(W).toFixed(2)+" re"),M.push("f"),M.push("BMC"),M.push("q"),M.push("0 0 1 rg"),M.push("/"+G+" "+Y.fontSize.toFixed(2)+" Tf 0 g"),M.push("BT"),M.push(Y.text),M.push("ET"),M.push("Q"),M.push("EMC"),et.stream=M.join(` 3783`),et},YesNormal:function(W){var et=C(W),M=D.internal.getFont("zapfdingbats","normal").id,G=[];W.Q=1;var Y=Mt.internal.getHeight(W),ut=Mt.internal.getWidth(W),Lt=_(W,"3","ZapfDingbats",.9*Y);return G.push("1 g"),G.push("0 0 "+ut.toFixed(2)+" "+Y.toFixed(2)+" re"),G.push("f"),G.push("q"),G.push("0 0 1 rg"),G.push("0 0 "+(ut-1).toFixed(2)+" "+(Y-1).toFixed(2)+" re"),G.push("W"),G.push("n"),G.push("0 g"),G.push("BT"),G.push("/"+M+" "+Lt.fontSize.toFixed(2)+" Tf 0 g"),G.push(Lt.text),G.push("ET"),G.push("Q"),et.stream=G.join(` 3784`),et},OffPushDown:function(W){var et=C(W),M=[];return M.push("0.749023 g"),M.push("0 0 "+Mt.internal.getWidth(W).toFixed(2)+" "+Mt.internal.getHeight(W).toFixed(2)+" re"),M.push("f"),et.stream=M.join(` 3785`),et}},RadioButton:{Circle:{createAppearanceStream:function(W){var et={D:{Off:Mt.RadioButton.Circle.OffPushDown},N:{}};return et.N[W]=Mt.RadioButton.Circle.YesNormal,et.D[W]=Mt.RadioButton.Circle.YesPushDown,et},createMK:function(){return"<< /CA (l)>>"},YesNormal:function(W){var et=C(W),M=[],G=Mt.internal.getWidth(W)<=Mt.internal.getHeight(W)?Mt.internal.getWidth(W)/4:Mt.internal.getHeight(W)/4;G*=.9;var Y=Mt.internal.Bezier_C;return M.push("q"),M.push("1 0 0 1 "+Mt.internal.getWidth(W)/2+" "+Mt.internal.getHeight(W)/2+" cm"),M.push(G+" 0 m"),M.push(G+" "+G*Y+" "+G*Y+" "+G+" 0 "+G+" c"),M.push("-"+G*Y+" "+G+" -"+G+" "+G*Y+" -"+G+" 0 c"),M.push("-"+G+" -"+G*Y+" -"+G*Y+" -"+G+" 0 -"+G+" c"),M.push(G*Y+" -"+G+" "+G+" -"+G*Y+" "+G+" 0 c"),M.push("f"),M.push("Q"),et.stream=M.join(` 3786`),et},YesPushDown:function(W){var et=C(W),M=[],G=Mt.internal.getWidth(W)<=Mt.internal.getHeight(W)?Mt.internal.getWidth(W)/4:Mt.internal.getHeight(W)/4,Y=2*(G*=.9),ut=Y*Mt.internal.Bezier_C,Lt=G*Mt.internal.Bezier_C;return M.push("0.749023 g"),M.push("q"),M.push("1 0 0 1 "+(Mt.internal.getWidth(W)/2).toFixed(2)+" "+(Mt.internal.getHeight(W)/2).toFixed(2)+" cm"),M.push(Y+" 0 m"),M.push(Y+" "+ut+" "+ut+" "+Y+" 0 "+Y+" c"),M.push("-"+ut+" "+Y+" -"+Y+" "+ut+" -"+Y+" 0 c"),M.push("-"+Y+" -"+ut+" -"+ut+" -"+Y+" 0 -"+Y+" c"),M.push(ut+" -"+Y+" "+Y+" -"+ut+" "+Y+" 0 c"),M.push("f"),M.push("Q"),M.push("0 g"),M.push("q"),M.push("1 0 0 1 "+(Mt.internal.getWidth(W)/2).toFixed(2)+" "+(Mt.internal.getHeight(W)/2).toFixed(2)+" cm"),M.push(G+" 0 m"),M.push(G+" "+Lt+" "+Lt+" "+G+" 0 "+G+" c"),M.push("-"+Lt+" "+G+" -"+G+" "+Lt+" -"+G+" 0 c"),M.push("-"+G+" -"+Lt+" -"+Lt+" -"+G+" 0 -"+G+" c"),M.push(Lt+" -"+G+" "+G+" -"+Lt+" "+G+" 0 c"),M.push("f"),M.push("Q"),et.stream=M.join(` 3787`),et},OffPushDown:function(W){var et=C(W),M=[],G=Mt.internal.getWidth(W)<=Mt.internal.getHeight(W)?Mt.internal.getWidth(W)/4:Mt.internal.getHeight(W)/4,Y=2*(G*=.9),ut=Y*Mt.internal.Bezier_C;return M.push("0.749023 g"),M.push("q"),M.push("1 0 0 1 "+(Mt.internal.getWidth(W)/2).toFixed(2)+" "+(Mt.internal.getHeight(W)/2).toFixed(2)+" cm"),M.push(Y+" 0 m"),M.push(Y+" "+ut+" "+ut+" "+Y+" 0 "+Y+" c"),M.push("-"+ut+" "+Y+" -"+Y+" "+ut+" -"+Y+" 0 c"),M.push("-"+Y+" -"+ut+" -"+ut+" -"+Y+" 0 -"+Y+" c"),M.push(ut+" -"+Y+" "+Y+" -"+ut+" "+Y+" 0 c"),M.push("f"),M.push("Q"),et.stream=M.join(` 3788`),et}},Cross:{createAppearanceStream:function(W){var et={D:{Off:Mt.RadioButton.Cross.OffPushDown},N:{}}
3788;return et.N[W]=Mt.RadioButton.Cross.YesNormal,et.D[W]=Mt.RadioButton.Cross.YesPushDown,et},createMK:function(){return"<< /CA (8)>>"},YesNormal:function(W){var et=C(W),M=[],G=Mt.internal.calculateCross(W);return M.push("q"),M.push("1 1 "+(Mt.internal.getWidth(W)-2).toFixed(2)+" "+(Mt.internal.getHeight(W)-2).toFixed(2)+" re"),M.push("W"),M.push("n"),M.push(G.x1.x.toFixed(2)+" "+G.x1.y.toFixed(2)+" m"),M.push(G.x2.x.toFixed(2)+" "+G.x2.y.toFixed(2)+" l"),M.push(G.x4.x.toFixed(2)+" "+G.x4.y.toFixed(2)+" m"),M.push(G.x3.x.toFixed(2)+" "+G.x3.y.toFixed(2)+" l"),M.push("s"),M.push("Q"),et.stream=M.join(` 3789`),et},YesPushDown:function(W){var et=C(W),M=Mt.internal.calculateCross(W),G=[];return G.push("0.749023 g"),G.push("0 0 "+Mt.internal.getWidth(W).toFixed(2)+" "+Mt.internal.getHeight(W).toFixed(2)+" re"),G.push("f"),G.push("q"),G.push("1 1 "+(Mt.internal.getWidth(W)-2).toFixed(2)+" "+(Mt.internal.getHeight(W)-2).toFixed(2)+" re"),G.push("W"),G.push("n"),G.push(M.x1.x.toFixed(2)+" "+M.x1.y.toFixed(2)+" m"),G.push(M.x2.x.toFixed(2)+" "+M.x2.y.toFixed(2)+" l"),G.push(M.x4.x.toFixed(2)+" "+M.x4.y.toFixed(2)+" m"),G.push(M.x3.x.toFixed(2)+" "+M.x3.y.toFixed(2)+" l"),G.push("s"),G.push("Q"),et.stream=G.join(` 3790`),et},OffPushDown:function(W){var et=C(W),M=[];return M.push("0.749023 g"),M.push("0 0 "+Mt.internal.getWidth(W).toFixed(2)+" "+Mt.internal.getHeight(W).toFixed(2)+" re"),M.push("f"),et.stream=M.join(` 3791`),et}}},createDefaultAppearanceStream:function(W){return"/F1 0 Tf 0 g"}};Mt.internal={Bezier_C:.551915024494,calculateCross:function(W){var et,M,G=Mt.internal.getWidth(W),Y=Mt.internal.getHeight(W),ut=(M=Y)<(et=G)?M:et;return{x1:{x:(G-ut)/2,y:(Y-ut)/2+ut},x2:{x:(G-ut)/2+ut,y:(Y-ut)/2},x3:{x:(G-ut)/2,y:(Y-ut)/2},x4:{x:(G-ut)/2+ut,y:(Y-ut)/2+ut}}}},Mt.internal.getWidth=function(W){var et=0;return(W===void 0?"undefined":pe(W))==="object"&&(et=x(W.Rect[2])),et},Mt.internal.getHeight=function(W){var et=0;return(W===void 0?"undefined":pe(W))==="object"&&(et=x(W.Rect[3])),et},B.addField=function(W){return ht.call(this),W instanceof mt?this.addTextField.call(this,W):W instanceof Kt?this.addChoiceField.call(this,W):W instanceof ct?this.addButton.call(this,W):W instanceof ot?k.call(this,W):W&&k.call(this,W),W.page=D.internal.getCurrentPageInfo().pageNumber,this},B.addButton=function(W){ht.call(this);var et=W||new vt;et.FT="/Btn",et.Ff=I(et.Ff,W,D.internal.getPDFVersion()),k.call(this,et)},B.addTextField=function(W){ht.call(this);var et=W||new vt;et.FT="/Tx",et.Ff=I(et.Ff,W,D.internal.getPDFVersion()),k.call(this,et)},B.addChoiceField=function(W){ht.call(this);var et=W||new vt;et.FT="/Ch",et.Ff=I(et.Ff,W,D.internal.getPDFVersion()),k.call(this,et)},(Q===void 0?"undefined":pe(Q))=="object"&&(Q.ChoiceField=Kt,Q.ListBox=yt,Q.ComboBox=$,Q.EditBox=z,Q.Button=ct,Q.PushButton=q,Q.RadioButton=At,Q.CheckBox=Pt,Q.TextField=mt,Q.PasswordField=qt,Q.AcroForm={Appearance:Mt}),B.AcroFormChoiceField=Kt,B.AcroFormListBox=yt,B.AcroFormComboBox=$,B.AcroFormEditBox=z,B.AcroFormButton=ct,B.AcroFormPushButton=q,B.AcroFormRadioButton=At,B.AcroFormCheckBox=Pt,B.AcroFormTextField=mt,B.AcroFormPasswordField=qt,B.AcroForm={ChoiceField:Kt,ListBox:yt,ComboBox:$,EditBox:z,Button:ct,PushButton:q,RadioButton:At,CheckBox:Pt,TextField:mt,PasswordField:qt}})(he.API,typeof window<"u"&&window||typeof Wn<"u"&&Wn),he.API.addHTML=function(B,Q,D,v,p){if(typeof html2canvas>"u"&&typeof rasterizeHTML>"u")throw new Error("You need either https://github.com/niklasvh/html2canvas or https://github.com/cburgmer/rasterizeHTML.js");typeof Q!="number"&&(v=Q,p=D),typeof v=="function"&&(p=v,v=null),typeof p!="function"&&(p=function(){});var w=this.internal,x=w.scaleFactor,C=w.pageSize.getWidth(),S=w.pageSize.getHeight();if((v=v||{}).onrendered=function(P){Q=parseInt(Q)||0,D=parseInt(D)||0;var d=v.dim||{},_=Object.assign({top:0,right:0,bottom:0,left:0,useFor:"content"},v.margin),E=d.h||Math.min(S,P.height/x),F=d.w||Math.min(C,P.width/x)-Q,T=v.format||"JPEG",k=v.imageCompression||"SLOW";if(P.height>S-_.top-_.bottom&&v.pagesplit){var K=function(ht,at,H,dt,rt){var Bt=document.createElement("canvas");Bt.height=rt,Bt.width=dt;var vt=Bt.getContext("2d");return vt.mozImageSmoothingEnabled=!1,vt.webkitImageSmoothingEnabled=!1,vt.msImageSmoothingEnabled=!1,vt.imageSmoothingEnabled=!1,vt.fillStyle=v.backgroundColor||"#ffffff",vt.fillRect(0,0,dt,rt),vt.drawImage(ht,at,H,dt,rt,0,0,dt,rt),Bt},X=function(){for(var ht,at,H=0,dt=0,rt={},Bt=!1;;){var vt;
3791if(dt=0,rt.top=H!==0?_.top:D,rt.left=H!==0?_.left:Q,Bt=(C-_.left-_.right)*x<P.width,_.useFor==="content"?H===0?(ht=Math.min((C-_.left)*x,P.width),at=Math.min((S-_.top)*x,P.height-H)):(ht=Math.min(C*x,P.width),at=Math.min(S*x,P.height-H),rt.top=0):(ht=Math.min((C-_.left-_.right)*x,P.width),at=Math.min((S-_.bottom-_.top)*x,P.height-H)),Bt)for(;;){_.useFor==="content"&&(dt===0?ht=Math.min((C-_.left)*x,P.width):(ht=Math.min(C*x,P.width-dt),rt.left=0));var Kt=[vt=K(P,dt,H,ht,at),rt.left,rt.top,vt.width/x,vt.height/x,T,null,k];if(this.addImage.apply(this,Kt),(dt+=ht)>=P.width)break;this.addPage()}else Kt=[vt=K(P,0,H,ht,at),rt.left,rt.top,vt.width/x,vt.height/x,T,null,k],this.addImage.apply(this,Kt);if((H+=at)>=P.height)break;this.addPage()}p(F,H,null,Kt)}.bind(this);if(P.nodeName==="CANVAS"){var tt=new Image;tt.onload=X,tt.src=P.toDataURL("image/png"),P=tt}else X()}else{var ft=Math.random().toString(35),wt=[P,Q,D,F,E,T,ft,k];this.addImage.apply(this,wt),p(F,E,ft,wt)}}.bind(this),typeof html2canvas<"u"&&!v.rstz)return html2canvas(B,v);if(typeof rasterizeHTML<"u"){var I="drawDocument";return typeof B=="string"&&(I=/^http/.test(B)?"drawURL":"drawHTML"),v.width=v.width||C*x,rasterizeHTML[I](B,void 0,v).then(function(P){v.onrendered(P.image)},function(P){p(null,P)})}return null},function(B){var Q="addImage_",D={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]};B.getImageFileTypeByImageData=function(d,_){var E,F;_=_||"UNKNOWN";var T,k,K,X="UNKNOWN";for(K in D)for(T=D[K],E=0;E<T.length;E+=1){for(k=!0,F=0;F<T[E].length;F+=1)if(T[E][F]!==void 0&&T[E][F]!==d.charCodeAt(F)){k=!1;break}if(k===!0){X=K;break}}return X==="UNKOWN"&&_!=="UNKNOWN"&&(console.warn('FileType of Image not recognized. Processing image as "'+_+'".'),X=_),X};var v=function d(_){var E=this.internal.newObject(),F=this.internal.write,T=this.internal.putStream;if(_.n=E,F("<</Type /XObject"),F("/Subtype /Image"),F("/Width "+_.w),F("/Height "+_.h),_.cs===this.color_spaces.INDEXED?F("/ColorSpace [/Indexed /DeviceRGB "+(_.pal.length/3-1)+" "+("smask"in _?E+2:E+1)+" 0 R]"):(F("/ColorSpace /"+_.cs),_.cs===this.color_spaces.DEVICE_CMYK&&F("/Decode [1 0 1 0 1 0 1 0]")),F("/BitsPerComponent "+_.bpc),"f"in _&&F("/Filter /"+_.f),"dp"in _&&F("/DecodeParms <<"+_.dp+">>"),"trns"in _&&_.trns.constructor==Array){for(var k="",K=0,X=_.trns.length;K<X;K++)k+=_.trns[K]+" "+_.trns[K]+" ";F("/Mask ["+k+"]")}if("smask"in _&&F("/SMask "+(E+1)+" 0 R"),F("/Length "+_.data.length+">>"),T(_.data),F("endobj"),"smask"in _){var tt="/Predictor "+_.p+" /Colors 1 /BitsPerComponent "+_.bpc+" /Columns "+_.w,ft={w:_.w,h:_.h,cs:"DeviceGray",bpc:_.bpc,dp:tt,data:_.smask};"f"in _&&(ft.f=_.f),d.call(this,ft)}_.cs===this.color_spaces.INDEXED&&(this.internal.newObject(),F("<< /Length "+_.pal.length+">>"),T(this.arrayBufferToBinaryString(new Uint8Array(_.pal))),F("endobj"))},p=function(){var d=this.internal.collections[Q+"images"];for(var _ in d)v.call(this,d[_])},w=function(){var d,_=this.internal.collections[Q+"images"],E=this.internal.write;for(var F in _)E("/I"+(d=_[F]).i,d.n,"0","R")},x=function(d){return typeof B["process"+d.toUpperCase()]=="function"},C=function(d){return(d===void 0?"undefined":pe(d))==="object"&&d.nodeType===1},S=function(d,_){if(d.nodeName==="IMG"&&d.hasAttribute("src")){var E=""+d.getAttribute("src");if(E.indexOf("data:image/")===0)return E;!_&&/\.png(?:[?#].*)?$/i.test(E)&&(_="png")}if(d.nodeName==="CANVAS")var F=d;else{(F=document.createElement("canvas")).width=d.clientWidth||d.width,F.height=d.clientHeight||d.height;var T=F.getContext("2d");if(!T)throw"addImage requires canvas to be supported by browser.";T.drawImage(d,0,0,F.width,F.height)}return F.toDataURL((""+_).toLowerCase()=="png"?"image/png":"image/jpeg")},I=function(d,_){var E;if(_){for(var F in _)if(d===_[F].alias){E=_[F];break}}return E};B.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"},B.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"},B.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},B.sHashCode=function(d){return d=d||"",Array.prototype.reduce&&d.split("").reduce(function(_,E){return(_=(_<<5)-_+E.charCodeAt(0))&_},0)}
3791,B.isString=function(d){return typeof d=="string"},B.validateStringAsBase64=function(d){var _=!0;return(d=d||"").length%4!=0&&(_=!1),/[A-Za-z0-9\/]+/.test(d.substr(0,d.length-2))===!1&&(_=!1),/[A-Za-z0-9\/][A-Za-z0-9+\/]|[A-Za-z0-9+\/]=|==/.test(d.substr(-2))===!1&&(_=!1),_},B.extractInfoFromBase64DataURI=function(d){return/^data:([\w]+?\/([\w]+?));base64,(.+)$/g.exec(d)},B.supportsArrayBuffer=function(){return typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"},B.isArrayBuffer=function(d){return!!this.supportsArrayBuffer()&&d instanceof ArrayBuffer},B.isArrayBufferView=function(d){return!!this.supportsArrayBuffer()&&typeof Uint32Array<"u"&&(d instanceof Int8Array||d instanceof Uint8Array||typeof Uint8ClampedArray<"u"&&d instanceof Uint8ClampedArray||d instanceof Int16Array||d instanceof Uint16Array||d instanceof Int32Array||d instanceof Uint32Array||d instanceof Float32Array||d instanceof Float64Array)},B.binaryStringToUint8Array=function(d){for(var _=d.length,E=new Uint8Array(_),F=0;F<_;F++)E[F]=d.charCodeAt(F);return E},B.arrayBufferToBinaryString=function(d){if(typeof atob=="function")return atob(this.arrayBufferToBase64(d));if(typeof TextDecoder=="function"){var _=new TextDecoder("ascii");if(_.encoding==="ascii")return _.decode(d)}for(var E=this.isArrayBuffer(d)?d:new Uint8Array(d),F=20480,T="",k=Math.ceil(E.byteLength/F),K=0;K<k;K++)T+=String.fromCharCode.apply(null,E.slice(K*F,K*F+F));return T},B.arrayBufferToBase64=function(d){for(var _,E="",F="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",T=new Uint8Array(d),k=T.byteLength,K=k%3,X=k-K,tt=0;tt<X;tt+=3)E+=F[(16515072&(_=T[tt]<<16|T[tt+1]<<8|T[tt+2]))>>18]+F[(258048&_)>>12]+F[(4032&_)>>6]+F[63&_];return K==1?E+=F[(252&(_=T[X]))>>2]+F[(3&_)<<4]+"==":K==2&&(E+=F[(64512&(_=T[X]<<8|T[X+1]))>>10]+F[(1008&_)>>4]+F[(15&_)<<2]+"="),E},B.createImageInfo=function(d,_,E,F,T,k,K,X,tt,ft,wt,ht,at){var H={alias:X,w:_,h:E,cs:F,bpc:T,i:K,data:d};return k&&(H.f=k),tt&&(H.dp=tt),ft&&(H.trns=ft),wt&&(H.pal=wt),ht&&(H.smask=ht),at&&(H.p=at),H},B.addImage=function(d,_,E,F,T,k,K,X,tt){var ft="";if(typeof _!="string"){var wt=k;k=T,T=F,F=E,E=_,_=wt}if((d===void 0?"undefined":pe(d))==="object"&&!C(d)&&"imageData"in d){var ht=d;d=ht.imageData,_=ht.format||_,E=ht.x||E||0,F=ht.y||F||0,T=ht.w||T,k=ht.h||k,K=ht.alias||K,X=ht.compression||X,tt=ht.rotation||ht.angle||tt}if(isNaN(E)||isNaN(F))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var at,H,dt,rt,Bt,vt,Kt,yt=function(){var $=this.internal.collections[Q+"images"];return $||(this.internal.collections[Q+"images"]=$={},this.internal.events.subscribe("putResources",p),this.internal.events.subscribe("putXobjectDict",w)),$}.call(this);if(!(at=I(d,yt))&&(C(d)&&(d=S(d,_)),((Kt=K)==null||Kt.length===0)&&(K=typeof(vt=d)=="string"&&B.sHashCode(vt)),!(at=I(K,yt)))){if(this.isString(d)&&((ft=this.convertStringToImageData(d))!==""||(ft=this.loadImageFile(d))!==void 0)&&(d=ft),_=this.getImageFileTypeByImageData(d,_),!x(_))throw new Error("addImage does not support files of type '"+_+"', please ensure that a plugin for '"+_+"' support is added.");if(this.supportsArrayBuffer()&&(d instanceof Uint8Array||(H=d,d=this.binaryStringToUint8Array(d))),!(at=this["process"+_.toUpperCase()](d,(Bt=0,(rt=yt)&&(Bt=Object.keys?Object.keys(rt).length:function($){var z=0;for(var ct in $)$.hasOwnProperty(ct)&&z++;return z}(rt)),Bt),K,((dt=X)&&typeof dt=="string"&&(dt=dt.toUpperCase()),dt in B.image_compression?dt:B.image_compression.NONE),H)))throw new Error("An unkwown error occurred whilst processing the image")}return function($,z,ct,q,At,ot,Pt,mt){var qt=function(ut,Lt,Ot){return ut||Lt||(Lt=ut=-96),ut<0&&(ut=-1*Ot.w*72/ut/this.internal.scaleFactor),Lt<0&&(Lt=-1*Ot.h*72/Lt/this.internal.scaleFactor),ut===0&&(ut=Lt*Ot.w/Ot.h),Lt===0&&(Lt=ut*Ot.h/Ot.w),[ut,Lt]}.call(this,ct,q,At),Mt=this.internal.getCoordinateString,W=this.internal.getVerticalCoordinateString;if(ct=qt[0],q=qt[1],Pt[ot]=At,mt){mt*=Math.PI/180;var et=Math.cos(mt),M=Math.sin(mt),G=function(ut){return ut.toFixed(4)},Y=[G(et),G(M),G(-1*M),G(et),0,0,"cm"]}this.internal.write("q"),mt?(this.internal.write([1,"0","0",1,Mt($),W(z+q),"cm"].join(" ")),this.internal.write(Y.join(" ")),this.internal.write([Mt(ct),"0","0",Mt(q),"0","0","cm"].join(" "))):this.internal.write([Mt(ct),"0","0",Mt(q),Mt($),W(z+q),"cm"].join(" ")),this.internal.write("/I"+At.i+" Do"),this.internal.write("Q")}
3791.call(this,E,F,T,k,at,at.i,yt,tt),this},B.convertStringToImageData=function(d){var _,E="";return this.isString(d)&&((_=this.extractInfoFromBase64DataURI(d))!==null?B.validateStringAsBase64(_[3])&&(E=atob(_[3])):B.validateStringAsBase64(d)&&(E=atob(d))),E};var P=function(d,_){return d.subarray(_,_+5)};B.processJPEG=function(d,_,E,F,T,k){var K,X=this.decode.DCT_DECODE;if(!this.isString(d)&&!this.isArrayBuffer(d)&&!this.isArrayBufferView(d))return null;if(this.isString(d)&&(K=function(tt){var ft;if(!tt.charCodeAt(0)===255||!tt.charCodeAt(1)===216||!tt.charCodeAt(2)===255||!tt.charCodeAt(3)===224||!tt.charCodeAt(6)==="J".charCodeAt(0)||!tt.charCodeAt(7)==="F".charCodeAt(0)||!tt.charCodeAt(8)==="I".charCodeAt(0)||!tt.charCodeAt(9)==="F".charCodeAt(0)||!tt.charCodeAt(10)===0)throw new Error("getJpegSize requires a binary string jpeg file");for(var wt=256*tt.charCodeAt(4)+tt.charCodeAt(5),ht=4,at=tt.length;ht<at;){if(ht+=wt,tt.charCodeAt(ht)!==255)throw new Error("getJpegSize could not find the size of the image");if(tt.charCodeAt(ht+1)===192||tt.charCodeAt(ht+1)===193||tt.charCodeAt(ht+1)===194||tt.charCodeAt(ht+1)===195||tt.charCodeAt(ht+1)===196||tt.charCodeAt(ht+1)===197||tt.charCodeAt(ht+1)===198||tt.charCodeAt(ht+1)===199)return ft=256*tt.charCodeAt(ht+5)+tt.charCodeAt(ht+6),[256*tt.charCodeAt(ht+7)+tt.charCodeAt(ht+8),ft,tt.charCodeAt(ht+9)];ht+=2,wt=256*tt.charCodeAt(ht)+tt.charCodeAt(ht+1)}}(d)),this.isArrayBuffer(d)&&(d=new Uint8Array(d)),this.isArrayBufferView(d)&&(K=function(tt){if((tt[0]<<8|tt[1])!=65496)throw new Error("Supplied data is not a JPEG");for(var ft,wt=tt.length,ht=(tt[4]<<8)+tt[5],at=4;at<wt;){if(ht=((ft=P(tt,at+=ht))[2]<<8)+ft[3],(ft[1]===192||ft[1]===194)&&ft[0]===255&&7<ht)return{width:((ft=P(tt,at+5))[2]<<8)+ft[3],height:(ft[0]<<8)+ft[1],numcomponents:ft[4]};at+=2}throw new Error("getJpegSizeFromBytes could not find the size of the image")}(d),d=T||this.arrayBufferToBinaryString(d)),k===void 0)switch(K.numcomponents){case 1:k=this.color_spaces.DEVICE_GRAY;break;case 4:k=this.color_spaces.DEVICE_CMYK;break;default:case 3:k=this.color_spaces.DEVICE_RGB}return this.createImageInfo(d,K.width,K.height,k,8,X,_,E)},B.processJPG=function(){return this.processJPEG.apply(this,arguments)},B.loadImageFile=function(d,_,E){if(_=_||!0,Object.prototype.toString.call(typeof process<"u"?process:0),(typeof window>"u"?"undefined":pe(window))!==void 0&&(typeof location>"u"?"undefined":pe(location))==="object"&&location.protocol.substr(0,4)==="http")return function(F,T,k){var K=new XMLHttpRequest,X=[],tt=0,ft=function(wt){var ht=wt.length,at=String.fromCharCode;for(tt=0;tt<ht;tt+=1)X.push(at(255&wt.charCodeAt(tt)));return X.join("")};if(K.open("GET",F,!T),K.overrideMimeType("text/plain; charset=x-user-defined"),T===!1&&(K.onload=function(){return ft(this.responseText)}),K.send(null),K.status===200)return T?ft(K.responseText):void 0;console.warn('Unable to load file "'+F+'"')}(d,_)},B.getImageProperties=function(d){var _,E,F="";if(C(d)&&(d=S(d)),this.isString(d)&&((F=this.convertStringToImageData(d))!==""||(F=this.loadImageFile(d))!==void 0)&&(d=F),E=this.getImageFileTypeByImageData(d),!x(E))throw new Error("addImage does not support files of type '"+E+"', please ensure that a plugin for '"+E+"' support is added.");if(this.supportsArrayBuffer()&&(d instanceof Uint8Array||(d=this.binaryStringToUint8Array(d))),!(_=this["process"+E.toUpperCase()](d)))throw new Error("An unkwown error occurred whilst processing the image");return{fileType:E,width:_.w,height:_.h,colorSpace:_.cs,compressionMode:_.f,bitsPerComponent:_.bpc}}}(he.API),e=he.API,i={annotations:[],f2:function(B){return B.toFixed(2)},notEmpty:function(B){if(B!==void 0&&B!="")return!0}},he.API.annotationPlugin=i,he.API.events.push(["addPage",function(B){this.annotationPlugin.annotations[B.pageNumber]=[]}]),e.events.push(["putPage",function(B){for(var Q=this.annotationPlugin.annotations[B.pageNumber],D=!1,v=0;v<Q.length&&!D;v++)switch((S=Q[v]).type){case"link":if(i.notEmpty(S.options.url)||i.notEmpty(S.options.pageNumber)){D=!0;break}case"reference":case"text":case"freetext":D=!0}if(D!=0){this.internal.write("/Annots [");var p=this.annotationPlugin.f2,w=this.internal.scaleFactor,x=this.internal.pageSize.getHeight(),C=this.internal.getPageInfo(B.pageNumber);for(v=0;v<Q.length;v++){var S;switch((S=Q[v]).type){case"reference":this.internal.write(" "+S.object.objId+" 0 R ");break;case"text":var I=this.internal.newAdditionalObject(),P=this.internal.newAdditionalObject(),d=S.title||"Note";k="<</Type /Annot /Subtype /Text "+(E="/Rect ["+p(S.bounds.x*w)+" "+p(x-(S.bounds.y+S.bounds.h)*w)+" "+p((S.bounds.x+S.bounds.w)*w)+" "+p((x-S.bounds.y)*w)+"] ")+"/Contents ("+S.contents+")",k+=" /Popup "+P.objId+" 0 R",k+=" /P "+C.objId+" 0 R",k+=" /T ("+d+") >>",I.content=k;var _=I.objId+" 0 R";k="<</Type /Annot /Subtype /Popup "+(E="/Rect ["+p((S.bounds.x+30)*w)+" "+p(x-(S.bounds.y+S.bounds.h)*w)+" "+p((S.bounds.x+S.bounds.w+30)*w)+" "+p((x-S.bounds.y)*w)+"] ")+" /Parent "+_,S.open&&(k+=" /Open true"),k+=" >>",P.content=k,this.internal.write(I.objId,"0 R",P.objId,"0 R");break;case"freetext":var E="/Rect ["+p(S.bounds.x*w)+" "+p((x-S.bounds.y)*w)+" "+p(S.bounds.x+S.bounds.w*w)+" "+p(x-(S.bounds.y+S.bounds.h)*w)+"] ",F=S.color||"#000000";k="<</Type /Annot /Subtype /FreeText "+E+"/Contents ("+S.contents+")",k+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+F+")",k+=" /Border [0 0 0]",k+=" >>",this.internal.write(k);break;case"link":if(S.options.name){var T=this.annotations._nameMap[S.options.name];S.options.pageNumber=T.page,S.options.top=T.y}else S.options.top||(S.options.top=0);E="/Rect ["+p(S.x*w)+" "+p((x-S.y)*w)+" "+p((S.x+S.w)*w)+" "+p((x-(S.y+S.h))*w)+"] ";var k="";if(S.options.url)k="<</Type /Annot /Subtype /Link "+E+"/Border [0 0 0] /A <</S /URI /URI ("+S.options.url+") >>";else if(S.options.pageNumber)switch(k="<</Type /Annot /Subtype /Link "+E+"/Border [0 0 0] /Dest ["+(B=this.internal.getPageInfo(S.options.pageNumber)).objId+" 0 R",S.options.magFactor=S.options.magFactor||"XYZ",S.options.magFactor){case"Fit":k+=" /Fit]";break;case"FitH":k+=" /FitH "+S.options.top+"]";break;case"FitV":S.options.left=S.options.left||0,k+=" /FitV "+S.options.left+"]";break;case"XYZ":default:var K=p((x-S.options.top)*w);S.options.left=S.options.left||0,S.options.zoom===void 0&&(S.options.zoom=0),k+=" /XYZ "+S.options.left+" "+K+" "+S.options.zoom+"]"}k!=""&&(k+=" >>",this.internal.write(k))}}this.internal.write("]")}}]),e.createAnnotation=function(B){switch(B.type){case"link":this.link(B.bounds.x,B.bounds.y,B.bounds.w,B.bounds.h,B);break;case"text":case"freetext":this.annotationPlugin.annotations[this.internal.getCurrentPageInfo().pageNumber].push(B)}},e.link=function(B,Q,D,v,p){this.annotationPlugin.annotations[this.internal.getCurrentPageInfo().pageNumber].push({x:B,y:Q,w:D,h:v,options:p,type:"link"})},e.textWithLink=function(B,Q,D,v){var p=this.getTextWidth(B),w=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(B,Q,D),D+=.2*w,this.link(Q,D-w,p,w,v),p},e.getTextWidth=function(B){var Q=this.internal.getFontSize();
3791return this.getStringUnitWidth(B)*Q/this.internal.scaleFactor},e.getLineHeight=function(){return this.internal.getLineHeight()},function(B){var Q=Object.keys({ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",fa:"Persian","fa-IR":"Persian/Iran",ur:"Urdu"}),D={1569:[65152],1570:[65153,65154,65153,65154],1571:[65155,65156,65155,65156],1572:[65157,65158],1573:[65159,65160,65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166,65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194,65193],1584:[65195,65196,65195],1585:[65197,65198,65197],1586:[65199,65200,65199],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262,65261],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,6437
37917],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395,64394],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},v={1570:[65269,65270,65269,65270],1571:[65271,65272,65271,65272],1573:[65273,65274,65273,65274],1575:[65275,65276,65275,65276]},p={1570:[65153,65154,65153,65154],1571:[65155,65156,65155,65156],1573:[65159,65160,65159,65160],1575:[65165,65166,65165,65166]},w={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},x=[1570,1571,1573,1575],C=[1569,1570,1571,1572,1573,1575,1577,1583,1584,1585,1586,1608,1688],S=0,I=1,P=2,d=3;function _(X){return X!==void 0&&D[X.charCodeAt(0)]!==void 0}function E(X){return X!==void 0&&0<=C.indexOf(X.charCodeAt(0))}function F(X){return X!==void 0&&0<=x.indexOf(X.charCodeAt(0))}function T(X){return _(X)&&2<=D[X.charCodeAt(0)].length}function k(X,tt,ft,wt){return _(X)?(wt=wt||{},D=Object.assign(D,wt),!T(X)||!_(tt)&&!_(ft)||!_(ft)&&E(tt)||E(X)&&!_(tt)||E(X)&&F(tt)||E(X)&&E(tt)?(D=Object.assign(D,p),S):_(ht=X)&&D[ht.charCodeAt(0)].length==4&&_(tt)&&!E(tt)&&_(ft)&&T(ft)?(D=Object.assign(D,p),d):E(X)||!_(ft)?(D=Object.assign(D,p),I):(D=Object.assign(D,p),P)):-1;var ht}var K=B.processArabic=function(X,tt){X=X||"",tt=tt||!1;var ft,wt,ht,at="",H=0,dt=0,rt="",Bt="",vt="";for(H=0;H<X.length;H+=1)rt=X[H],Bt=X[H-1],vt=X[H+1],_(rt)?Bt!==void 0&&Bt.charCodeAt(0)===1604&&F(rt)?(dt=k(rt,X[H-2],X[H+1],v),ft=String.fromCharCode(v[rt.charCodeAt(0)][dt]),at=at.substr(0,at.length-1)+ft):Bt!==void 0&&Bt.charCodeAt(0)===1617&&(wt=rt)!==void 0&&w[wt.charCodeAt(0)]!==void 0?(dt=k(rt,X[H-2],X[H+1],p),ft=String.fromCharCode(w[rt.charCodeAt(0)][dt]),at=at.substr(0,at.length-1)+ft):(dt=k(rt,Bt,vt,p),at+=String.fromCharCode(D[rt.charCodeAt(0)][dt])):at+=tt?{"(":")",")":"("}[ht=rt]||ht:rt;return tt?at.split("").reverse().join(""):at};B.events.push(["preProcessText",function(X){var tt=X.text,ft=(X.x,X.y,X.options||{}),wt=(X.mutex,ft.lang),ht=[];if(0<=Q.indexOf(wt)){if(Object.prototype.toString.call(tt)==="[object Array]"){var at=0;for(ht=[],at=0;at<tt.length;at+=1)Object.prototype.toString.call(tt[at])==="[object Array]"?ht.push([K(tt[at][0],!0),tt[at][1],tt[at][2]]):ht.push([K(tt[at],!0)]);X.text=ht}else X.text=K(tt,!0);ft.charSpace===void 0&&(X.options.charSpace=0),ft.R2L===!0&&(X.options.R2L=!1)}}])}(he.API),he.API.autoPrint=function(B){var Q;switch((B=B||{}).variant=B.variant||"non-conform",B.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){Q=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+Q+" 0 R")})}return this},(r=he.API).events.push(["initialized",function(){this.canvas.pdf=this}]),r.canvas={getContext:function(B){return(this.pdf.context2d._canvas=this).pdf.context2d},childNodes:[]},Object.defineProperty(r.canvas,"width",{get:function(){return this._width},set:function(B){this._width=B,this.getContext("2d").pageWrapX=B+1}}),Object.defineProperty(r.canvas,"height",{get:function(){return this._height},set:function(B){this._height=B,this.getContext("2d").pageWrapY=B+1}}),s=he.API,c={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},u=1,f=function(B,Q,D,v,p){c={x:B,y:Q,w:D,h:v,ln:p}},m=function(){return c},y={left:0,top:0,bottom:0},s.setHeaderFunction=function(B){l=B},s.getTextDimensions=function(B){A=this.internal.getFont().fontName,o=this.table_font_size||this.internal.getFontSize(),a=this.internal.getFont().fontStyle;var Q,D,v=19.049976/25.4;(D=document.createElement("font")).id="jsPDFCell";try{D.style.fontStyle=a}catch{D.style.fontWeight=a}D.style.fontSize=o+"pt",D.style.fontFamily=A;try{D.textContent=B}catch{D.innerText=B}return document.body.appendChild(D),Q={w:(D.offsetWidth+1)*v,h:(D.offsetHeight+1)*v},document.body.removeChild(D),Q},s.cellAddPage=function(){var B=this.margins||y;this.addPage(),f(B.left,B.top,void 0,void 0),u+=1},s.cellInitialize=function(){c={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},u=1},s.cell=function(B,Q,D,v,p,w,x){var C=m(),S=!1;if(C.ln!==void 0)if(C.ln===w)B=C.x+C.w,Q=C.y;else{var I=this.margins||y;C.y+C.h+v+13>=this.internal.pageSize.getHeight()-I.bottom&&(this.cellAddPage(),S=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(w,!0)),Q=m().y+m().h,S&&(Q=23)}if(p[0]!==void 0)if(this.printingHeaderRow?this.rect(B,Q,D,v,"FD"):this.rect(B,Q,D,v),x==="right"){p instanceof Array||(p=[p]);for(var P=0;P<p.length;P++){var d=p[P],_=this.getStringUnitWidth(d)*this.internal.getFontSize();this.text(d,B+D-_-3,Q+this.internal.getLineHeight()*(P+1))}}else this.text(p,B+3,Q+this.internal.getLineHeight());return f(B,Q,D,v,w),this},s.arrayMax=function(B,Q){var D,v,p,w=B[0];for(D=0,v=B.length;D<v;D+=1)p=B[D],Q?Q(w,p)===-1&&(w=p):w<p&&(w=p);return w},s.table=function(B,Q,D,v,p){if(!D)throw"No data for PDF table";var w,x,C,S,I,P,d,_,E,F,T=[],k=[],K={},X={},tt=[],ft=[],wt=!1,ht=!0,at=12,H=y;if(H.width=this.internal.pageSize.getWidth(),p&&(p.autoSize===!0&&(wt=!0),p.printHeaders===!1&&(ht=!1),p.fontSize&&(at=p.fontSize),p.css&&p.css["font-size"]!==void 0&&(at=16*p.css["font-size"]),p.margins&&(H=p.margins)),this.lnMod=0,c={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},u=1,this.printHeaders=ht,this.margins=H,this.setFontSize(at),this.table_font_size=at,v==null)T=Object.keys(D[0]);
3791else if(v[0]&&typeof v[0]!="string")for(x=0,C=v.length;x<C;x+=1)w=v[x],T.push(w.name),k.push(w.prompt),X[w.name]=w.width*(19.049976/25.4);else T=v;if(wt)for(F=function(rt){return rt[w]},x=0,C=T.length;x<C;x+=1){for(K[w=T[x]]=D.map(F),tt.push(this.getTextDimensions(k[x]||w).w),d=0,S=(P=K[w]).length;d<S;d+=1)I=P[d],tt.push(this.getTextDimensions(I).w);X[w]=s.arrayMax(tt),tt=[]}if(ht){var dt=this.calculateLineHeight(T,X,k.length?k:T);for(x=0,C=T.length;x<C;x+=1)w=T[x],ft.push([B,Q,X[w],dt,String(k.length?k[x]:w)]);this.setTableHeaderRow(ft),this.printHeaderRow(1,!1)}for(x=0,C=D.length;x<C;x+=1)for(_=D[x],dt=this.calculateLineHeight(T,X,_),d=0,E=T.length;d<E;d+=1)w=T[d],this.cell(B,Q,X[w],dt,_[w],x+2,w.align);return this.lastCellPos=c,this.table_x=B,this.table_y=Q,this},s.calculateLineHeight=function(B,Q,D){for(var v,p=0,w=0;w<B.length;w++){D[v=B[w]]=this.splitTextToSize(String(D[v]),Q[v]-3);var x=this.internal.getLineHeight()*D[v].length+3;p<x&&(p=x)}return p},s.setTableHeaderRow=function(B){this.tableHeaderRow=B},s.printHeaderRow=function(B,Q){if(!this.tableHeaderRow)throw"Property tableHeaderRow does not exist.";var D,v,p,w;if(this.printingHeaderRow=!0,l!==void 0){var x=l(this,u);f(x[0],x[1],x[2],x[3],-1)}this.setFontStyle("bold");var C=[];for(p=0,w=this.tableHeaderRow.length;p<w;p+=1)this.setFillColor(200,200,200),D=this.tableHeaderRow[p],Q&&(this.margins.top=13,D[1]=this.margins&&this.margins.top||0,C.push(D)),v=[].concat(D),this.cell.apply(this,v.concat(B));0<C.length&&this.setTableHeaderRow(C),this.setFontStyle("normal"),this.printingHeaderRow=!1},function(B){B.events.push(["initialized",function(){((this.context2d.pdf=this).context2d.internal.pdf=this).context2d.ctx=new D,this.context2d.ctxStack=[],this.context2d.path=[]}]),B.context2d={pageWrapXEnabled:!1,pageWrapYEnabled:!1,pageWrapX:9999999,pageWrapY:9999999,ctx:new D,f2:function(v){return v.toFixed(2)},fillRect:function(v,p,w,x){if(!this._isFillTransparent()){v=this._wrapX(v),p=this._wrapY(p);var C=this._matrix_map_rect(this.ctx._transform,{x:v,y:p,w,h:x});this.pdf.rect(C.x,C.y,C.w,C.h,"f")}}
3791,strokeRect:function(v,p,w,x){if(!this._isStrokeTransparent()){v=this._wrapX(v),p=this._wrapY(p);var C=this._matrix_map_rect(this.ctx._transform,{x:v,y:p,w,h:x});this.pdf.rect(C.x,C.y,C.w,C.h,"s")}},clearRect:function(v,p,w,x){if(!this.ctx.ignoreClearRect){v=this._wrapX(v),p=this._wrapY(p);var C=this._matrix_map_rect(this.ctx._transform,{x:v,y:p,w,h:x});this.save(),this.setFillStyle("#ffffff"),this.pdf.rect(C.x,C.y,C.w,C.h,"f"),this.restore()}},save:function(){this.ctx._fontSize=this.pdf.internal.getFontSize();var v=new D;v.copy(this.ctx),this.ctxStack.push(this.ctx),this.ctx=v},restore:function(){this.ctx=this.ctxStack.pop(),this.setFillStyle(this.ctx.fillStyle),this.setStrokeStyle(this.ctx.strokeStyle),this.setFont(this.ctx.font),this.pdf.setFontSize(this.ctx._fontSize),this.setLineCap(this.ctx.lineCap),this.setLineWidth(this.ctx.lineWidth),this.setLineJoin(this.ctx.lineJoin)},rect:function(v,p,w,x){this.moveTo(v,p),this.lineTo(v+w,p),this.lineTo(v+w,p+x),this.lineTo(v,p+x),this.lineTo(v,p),this.closePath()},beginPath:function(){this.path=[]},closePath:function(){this.path.push({type:"close"})},_getRGBA:function(v){var p,w,x,C,S=new RGBColor(v);if(!v)return{r:0,g:0,b:0,a:0,style:v};if(this.internal.rxTransparent.test(v))C=x=w=p=0;else{var I=this.internal.rxRgb.exec(v);I!=null?(p=parseInt(I[1]),w=parseInt(I[2]),x=parseInt(I[3]),C=1):(I=this.internal.rxRgba.exec(v))!=null?(p=parseInt(I[1]),w=parseInt(I[2]),x=parseInt(I[3]),C=parseFloat(I[4])):(C=1,v.charAt(0)!="#"&&(v=S.ok?S.toHex():"#000000"),v.length===4?(p=v.substring(1,2),p+=p,w=v.substring(2,3),w+=w,x=v.substring(3,4),x+=x):(p=v.substring(1,3),w=v.substring(3,5),x=v.substring(5,7)),p=parseInt(p,16),w=parseInt(w,16),x=parseInt(x,16))}return{r:p,g:w,b:x,a:C,style:v}},setFillStyle:function(v){var p=this._getRGBA(v);this.ctx.fillStyle=v,this.ctx._isFillTransparent=p.a===0,this.ctx._fillOpacity=p.a,this.pdf.setFillColor(p.r,p.g,p.b,{a:p.a}),this.pdf.setTextColor(p.r,p.g,p.b,{a:p.a})},setStrokeStyle:function(v){var p=this._getRGBA(v);this.ctx.strokeStyle=p.style,this.ctx._isStrokeTransparent=p.a===0,this.ctx._strokeOpacity=p.a,p.a===0?this.pdf.setDrawColor(255,255,255):(p.a,this.pdf.setDrawColor(p.r,p.g,p.b))},fillText:function(v,p,w,x){if(!this._isFillTransparent()){p=this._wrapX(p),w=this._wrapY(w);var C=this._matrix_map_point(this.ctx._transform,[p,w]);p=C[0],w=C[1];var S=57.2958*this._matrix_rotation(this.ctx._transform);if(0<this.ctx._clip_path.length){var I;(I=window.outIntercept?window.outIntercept.type==="group"?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage()).push("q");var P=this.path;this.path=this.ctx._clip_path,this.ctx._clip_path=[],this._fill(null,!0),this.ctx._clip_path=this.path,this.path=P}var d=1;try{d=this._matrix_decompose(this._getTransform()).scale[0]}catch(E){console.warn(E)}if(d<.01)this.pdf.text(v,p,this._getBaseline(w),null,S);else{var _=this.pdf.internal.getFontSize();this.pdf.setFontSize(_*d),this.pdf.text(v,p,this._getBaseline(w),null,S),this.pdf.setFontSize(_)}0<this.ctx._clip_path.length&&I.push("Q")}}
3791,strokeText:function(v,p,w,x){if(!this._isStrokeTransparent()){p=this._wrapX(p),w=this._wrapY(w);var C=this._matrix_map_point(this.ctx._transform,[p,w]);p=C[0],w=C[1];var S=57.2958*this._matrix_rotation(this.ctx._transform);if(0<this.ctx._clip_path.length){var I;(I=window.outIntercept?window.outIntercept.type==="group"?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage()).push("q");var P=this.path;this.path=this.ctx._clip_path,this.ctx._clip_path=[],this._fill(null,!0),this.ctx._clip_path=this.path,this.path=P}var d=1;try{d=this._matrix_decompose(this._getTransform()).scale[0]}catch(E){console.warn(E)}if(d===1)this.pdf.text(v,p,this._getBaseline(w),{stroke:!0},S);else{var _=this.pdf.internal.getFontSize();this.pdf.setFontSize(_*d),this.pdf.text(v,p,this._getBaseline(w),{stroke:!0},S),this.pdf.setFontSize(_)}0<this.ctx._clip_path.length&&I.push("Q")}},setFont:function(v){if(this.ctx.font=v,(_=/\s*(\w+)\s+(\w+)\s+(\w+)\s+([\d\.]+)(px|pt|em)\s+(.*)?/.exec(v))!=null){var p=_[1],w=(_[2],_[3]),x=_[4],C=_[5],S=_[6];x=Math.floor(C==="px"?parseFloat(x):C==="em"?parseFloat(x)*this.pdf.getFontSize():parseFloat(x)),this.pdf.setFontSize(x),w==="bold"||w==="700"?this.pdf.setFontStyle("bold"):p==="italic"?this.pdf.setFontStyle("italic"):this.pdf.setFontStyle("normal"),E=w==="bold"||w==="700"?p==="italic"?"bolditalic":"bold":p==="italic"?"italic":"normal";for(var I=S.toLowerCase().split(/\s*,\s*/),P="Times",d=0;d<I.length;d++){if(this.pdf.internal.getFont(I[d],E,{noFallback:!0,disableWarning:!0})!==void 0){P=I[d];break}if(E==="bolditalic"&&this.pdf.internal.getFont(I[d],"bold",{noFallback:!0,disableWarning:!0})!==void 0)P=I[d],E="bold";else if(this.pdf.internal.getFont(I[d],"normal",{noFallback:!0,disableWarning:!0})!==void 0){P=I[d],E="normal";break}}this.pdf.setFont(P,E)}else{var _=/\s*(\d+)(pt|px|em)\s+([\w "]+)\s*([\w "]+)?/.exec(v);if(_!=null){var E,F=_[1],T=(_[2],_[3]);(E=_[4])||(E="normal"),F=Math.floor(C==="em"?parseFloat(x)*this.pdf.getFontSize():parseFloat(F)),this.pdf.setFontSize(F),this.pdf.setFont(T,E)}}},setTextBaseline:function(v){this.ctx.textBaseline=v},getTextBaseline:function(){return this.ctx.textBaseline},setTextAlign:function(v){this.ctx.textAlign=v},getTextAlign:function(){return this.ctx.textAlign},setLineWidth:function(v){this.ctx.lineWidth=v,this.pdf.setLineWidth(v)},setLineCap:function(v){this.ctx.lineCap=v,this.pdf.setLineCap(v)},setLineJoin:function(v){this.ctx.lineJoin=v,this.pdf.setLineJoin(v)},moveTo:function(v,p){v=this._wrapX(v),p=this._wrapY(p);var w=this._matrix_map_point(this.ctx._transform,[v,p]),x={type:"mt",x:v=w[0],y:p=w[1]};this.path.push(x)},_wrapX:function(v){return this.pageWrapXEnabled?v%this.pageWrapX:v},_wrapY:function(v){return this.pageWrapYEnabled?(this._gotoPage(this._page(v)),(v-this.lastBreak)%this.pageWrapY):v},transform:function(v,p,w,x,C,S){this.ctx._transform=this._matrix_multiply(this.ctx._transform,[v,p,w,x,C,S])},setTransform:function(v,p,w,x,C,S){this.ctx._transform=[v,p,w,x,C,S]},_getTransform:function(){return this.ctx._transform},lastBreak:0,pageBreaks:[],_page:function(v){if(this.pageWrapYEnabled){for(var p=this.lastBreak=0,w=0,x=0;x<this.pageBreaks.length;x++)if(v>=this.pageBreaks[x]){p++,this.lastBreak===0&&w++;var C=this.pageBreaks[x]-this.lastBreak;this.lastBreak=this.pageBreaks[x],w+=Math.floor(C/this.pageWrapY)}return this.lastBreak===0&&(w+=Math.floor(v/this.pageWrapY)+1),w+p}return this.pdf.internal.getCurrentPageInfo().pageNumber},_gotoPage:function(v){},lineTo:function(v,p){v=this._wrapX(v),p=this._wrapY(p);var w=this._matrix_map_point(this.ctx._transform,[v,p]),x={type:"lt",x:v=w[0],y:p=w[1]};this.path.push(x)},bezierCurveTo:function(v,p,w,x,C,S){var I;v=this._wrapX(v),p=this._wrapY(p),w=this._wrapX(w),x=this._wrapY(x),C=this._wrapX(C),S=this._wrapY(S),C=(I=this._matrix_map_point(this.ctx._transform,[C,S]))[0],S=I[1];var P={type:"bct",x1:v=(I=this._matrix_map_point(this.ctx._transform,[v,p]))[0],y1:p=I[1],x2:w=(I=this._matrix_map_point(this.ctx._transform,[w,x]))[0],y2:x=I[1],x:C,y:S};this.path.push(P)},quadraticCurveTo:function(v,p,w,x){var C;v=this._wrapX(v),p=this._wrapY(p),w=this._wrapX(w),x=this._wrapY(x),w=(C=this._matrix_map_point(this.ctx._transform,[w,x]))[0],x=C[1];var S={type:"qct",x1:v=(C=this._matrix_map_point(this.ctx._transform,[v,p]))[0],y1:p=C[1],x:w,y:x};this.path.push(S)}
3791,arc:function(v,p,w,x,C,S){if(v=this._wrapX(v),p=this._wrapY(p),!this._matrix_is_identity(this.ctx._transform)){var I=this._matrix_map_point(this.ctx._transform,[v,p]);v=I[0],p=I[1];var P=this._matrix_map_point(this.ctx._transform,[0,0]),d=this._matrix_map_point(this.ctx._transform,[0,w]);w=Math.sqrt(Math.pow(d[0]-P[0],2)+Math.pow(d[1]-P[1],2))}var _={type:"arc",x:v,y:p,radius:w,startAngle:x,endAngle:C,anticlockwise:S};this.path.push(_)},drawImage:function(v,p,w,x,C,S,I,P,d){S!==void 0&&(p=S,w=I,x=P,C=d),p=this._wrapX(p),w=this._wrapY(w);var _,E=this._matrix_map_rect(this.ctx._transform,{x:p,y:w,w:x,h:C}),F=(this._matrix_map_rect(this.ctx._transform,{x:S,y:I,w:P,h:d}),/data:image\/(\w+).*/i.exec(v));_=F!=null?F[1]:"png",this.pdf.addImage(v,_,E.x,E.y,E.w,E.h)},_matrix_multiply:function(v,p){var w=p[0],x=p[1],C=p[2],S=p[3],I=p[4],P=p[5],d=w*v[0]+x*v[2],_=C*v[0]+S*v[2],E=I*v[0]+P*v[2]+v[4];return x=w*v[1]+x*v[3],S=C*v[1]+S*v[3],P=I*v[1]+P*v[3]+v[5],[w=d,x,C=_,S,I=E,P]},_matrix_rotation:function(v){return Math.atan2(v[2],v[0])},_matrix_decompose:function(v){var p=v[0],w=v[1],x=v[2],C=v[3],S=Math.sqrt(p*p+w*w),I=(p/=S)*x+(w/=S)*C;x-=p*I,C-=w*I;var P=Math.sqrt(x*x+C*C);return I/=P,p*(C/=P)<w*(x/=P)&&(p=-p,w=-w,I=-I,S=-S),{scale:[S,0,0,P,0,0],translate:[1,0,0,1,v[4],v[5]],rotate:[p,w,-w,p,0,0],skew:[1,0,I,1,0,0]}},_matrix_map_point:function(v,p){var w=v[0],x=v[1],C=v[2],S=v[3],I=v[4],P=v[5],d=p[0],_=p[1];return[d*w+_*C+I,d*x+_*S+P]},_matrix_map_point_obj:function(v,p){var w=this._matrix_map_point(v,[p.x,p.y]);return{x:w[0],y:w[1]}},_matrix_map_rect:function(v,p){var w=this._matrix_map_point(v,[p.x,p.y]),x=this._matrix_map_point(v,[p.x+p.w,p.y+p.h]);return{x:w[0],y:w[1],w:x[0]-w[0],h:x[1]-w[1]}},_matrix_is_identity:function(v){return v[0]==1&&v[1]==0&&v[2]==0&&v[3]==1&&v[4]==0&&v[5]==0},rotate:function(v){var p=[Math.cos(v),Math.sin(v),-Math.sin(v),Math.cos(v),0,0];this.ctx._transform=this._matrix_multiply(this.ctx._transform,p)},scale:function(v,p){var w=[v,0,0,p,0,0];this.ctx._transform=this._matrix_multiply(this.ctx._transform,w)},translate:function(v,p){var w=[1,0,0,1,v,p];this.ctx._transform=this._matrix_multiply(this.ctx._transform,w)},stroke:function(){if(0<this.ctx._clip_path.length){var v;(v=window.outIntercept?window.outIntercept.type==="group"?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage()).push("q");var p=this.path;this.path=this.ctx._clip_path,this.ctx._clip_path=[],this._stroke(!0),this.ctx._clip_path=this.path,this.path=p,this._stroke(!1),v.push("Q")}else this._stroke(!1)}
3791,_stroke:function(v){if(v||!this._isStrokeTransparent()){for(var p=[],w=this.path,x=0;x<w.length;x++){var C=w[x];switch(C.type){case"mt":p.push({start:C,deltas:[],abs:[]});break;case"lt":var S=[C.x-w[x-1].x,C.y-w[x-1].y];p[p.length-1].deltas.push(S),p[p.length-1].abs.push(C);break;case"bct":S=[C.x1-w[x-1].x,C.y1-w[x-1].y,C.x2-w[x-1].x,C.y2-w[x-1].y,C.x-w[x-1].x,C.y-w[x-1].y],p[p.length-1].deltas.push(S);break;case"qct":var I=w[x-1].x+2/3*(C.x1-w[x-1].x),P=w[x-1].y+2/3*(C.y1-w[x-1].y),d=C.x+2/3*(C.x1-C.x),_=C.y+2/3*(C.y1-C.y),E=C.x,F=C.y;S=[I-w[x-1].x,P-w[x-1].y,d-w[x-1].x,_-w[x-1].y,E-w[x-1].x,F-w[x-1].y],p[p.length-1].deltas.push(S);break;case"arc":p.length==0&&p.push({start:{x:0,y:0},deltas:[],abs:[]}),p[p.length-1].arc=!0,Array.isArray(p[p.length-1].abs)&&p[p.length-1].abs.push(C)}}for(x=0;x<p.length;x++){var T;if(T=x==p.length-1?"s":null,p[x].arc)for(var k=p[x].abs,K=0;K<k.length;K++){var X=k[K],tt=360*X.startAngle/(2*Math.PI),ft=360*X.endAngle/(2*Math.PI),wt=X.x,ht=X.y;this.internal.arc2(this,wt,ht,X.radius,tt,ft,X.anticlockwise,T,v)}else wt=p[x].start.x,ht=p[x].start.y,v?(this.pdf.lines(p[x].deltas,wt,ht,null,null),this.pdf.clip_fixed()):this.pdf.lines(p[x].deltas,wt,ht,null,T)}}},_isFillTransparent:function(){return this.ctx._isFillTransparent||this.globalAlpha==0},_isStrokeTransparent:function(){return this.ctx._isStrokeTransparent||this.globalAlpha==0},fill:function(v){if(0<this.ctx._clip_path.length){var p;(p=window.outIntercept?window.outIntercept.type==="group"?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage()).push("q");var w=this.path;this.path=this.ctx._clip_path,this.ctx._clip_path=[],this._fill(v,!0),this.ctx._clip_path=this.path,this.path=w,this._fill(v,!1),p.push("Q")}else this._fill(v,!1)},_fill:function(v,p){if(!this._isFillTransparent()){var w,x=typeof this.pdf.internal.newObject2=="function";w=window.outIntercept?window.outIntercept.type==="group"?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage();var C=[],S=window.outIntercept;if(x)switch(this.ctx.globalCompositeOperation){case"normal":case"source-over":break;case"destination-in":case"destination-out":var I=this.pdf.internal.newStreamObject(),P=this.pdf.internal.newObject2();P.push("<</Type /ExtGState"),P.push("/SMask <</S /Alpha /G "+I.objId+" 0 R>>"),P.push(">>");var d="MASK"+P.objId;this.pdf.internal.addGraphicsState(d,P.objId);var _="/"+d+" gs";w.splice(0,0,"q"),w.splice(1,0,_),w.push("Q"),window.outIntercept=I;break;default:var E="/"+this.pdf.internal.blendModeMap[this.ctx.globalCompositeOperation.toUpperCase()];E&&this.pdf.internal.out(E+" gs")}var F=this.ctx.globalAlpha;if(this.ctx._fillOpacity<1&&(F=this.ctx._fillOpacity),x){var T=this.pdf.internal.newObject2();T.push("<</Type /ExtGState"),T.push("/CA "+F),T.push("/ca "+F),T.push(">>"),d="GS_O_"+T.objId,this.pdf.internal.addGraphicsState(d,T.objId),this.pdf.internal.out("/"+d+" gs")}for(var k=this.path,K=0;K<k.length;K++){var X=k[K];switch(X.type){case"mt":C.push({start:X,deltas:[],abs:[]});break;case"lt":var tt=[X.x-k[K-1].x,X.y-k[K-1].y];C[C.length-1].deltas.push(tt),C[C.length-1].abs.push(X);break;case"bct":tt=[X.x1-k[K-1].x,X.y1-k[K-1].y,X.x2-k[K-1].x,X.y2-k[K-1].y,X.x-k[K-1].x,X.y-k[K-1].y],C[C.length-1].deltas.push(tt);break;case"qct":var ft=k[K-1].x+2/3*(X.x1-k[K-1].x),wt=k[K-1].y+2/3*(X.y1-k[K-1].y),ht=X.x+2/3*(X.x1-X.x),at=X.y+2/3*(X.y1-X.y),H=X.x,dt=X.y;tt=[ft-k[K-1].x,wt-k[K-1].y,ht-k[K-1].x,at-k[K-1].y,H-k[K-1].x,dt-k[K-1].y],C[C.length-1].deltas.push(tt);break;case"arc":C.length===0&&C.push({deltas:[],abs:[]}),C[C.length-1].arc=!0,Array.isArray(C[C.length-1].abs)&&C[C.length-1].abs.push(X);break;case"close":C.push({close:!0})}}for(K=0;K<C.length;K++){var rt;if(K==C.length-1?(rt="f",v==="evenodd"&&(rt+="*")):rt=null,C[K].close)this.pdf.internal.out("h"),rt&&this.pdf.internal.out(rt);else if(C[K].arc){C[K].start&&this.internal.move2(this,C[K].start.x,C[K].start.y);for(var Bt=C[K].abs,vt=0;vt<Bt.length;vt++){var Kt=Bt[vt];if(Kt.startAngle!==void 0){var yt=360*Kt.startAngle/(2*Math.PI),$=360*Kt.endAngle/(2*Math.PI),z=Kt.x,ct=Kt.y;vt===0&&this.internal.move2(this,z,ct),this.internal.arc2(this,z,ct,Kt.radius,yt,$,Kt.anticlockwise,null,p),vt===Bt.length-1&&C[K].start&&(z=C[K].start.x,ct=C[K].start.y,this.internal.line2(Q,z,ct))}else this.internal.line2(Q,Kt.x,Kt.y)}}else z=C[K].start.x,ct=C[K].start.y,p?(this.pdf.lines(C[K].deltas,z,ct,null,null),this.pdf.clip_f
3791ixed()):this.pdf.lines(C[K].deltas,z,ct,null,rt)}window.outIntercept=S}},pushMask:function(){if(typeof this.pdf.internal.newObject2=="function"){var v=this.pdf.internal.newStreamObject(),p=this.pdf.internal.newObject2();p.push("<</Type /ExtGState"),p.push("/SMask <</S /Alpha /G "+v.objId+" 0 R>>"),p.push(">>");var w="MASK"+p.objId;this.pdf.internal.addGraphicsState(w,p.objId);var x="/"+w+" gs";this.pdf.internal.out(x)}else console.log("jsPDF v2 not enabled")},clip:function(){if(0<this.ctx._clip_path.length)for(var v=0;v<this.path.length;v++)this.ctx._clip_path.push(this.path[v]);else this.ctx._clip_path=this.path;this.path=[]},measureText:function(v){var p=this.pdf;return{getWidth:function(){var w=p.internal.getFontSize(),x=p.getStringUnitWidth(v)*w/p.internal.scaleFactor;return x*=1.3333},get width(){return this.getWidth(v)}}},_getBaseline:function(v){var p=parseInt(this.pdf.internal.getFontSize()),w=.25*p;switch(this.ctx.textBaseline){case"bottom":return v-w;case"top":return v+p;case"hanging":return v+p-w;case"middle":return v+p/2-w;case"ideographic":return v;case"alphabetic":default:return v}}};var Q=B.context2d;function D(){this._isStrokeTransparent=!1,this._strokeOpacity=1,this.strokeStyle="#000000",this.fillStyle="#000000",this._isFillTransparent=!1,this._fillOpacity=1,this.font="12pt times",this.textBaseline="alphabetic",this.textAlign="start",this.lineWidth=1,this.lineJoin="miter",this.lineCap="butt",this._transform=[1,0,0,1,0,0],this.globalCompositeOperation="normal",this.globalAlpha=1,this._clip_path=[],this.ignoreClearRect=!1,this.copy=function(v){this._isStrokeTransparent=v._isStrokeTransparent,this._strokeOpacity=v._strokeOpacity,this.strokeStyle=v.strokeStyle,this._isFillTransparent=v._isFillTransparent,this._fillOpacity=v._fillOpacity,this.fillStyle=v.fillStyle,this.font=v.font,this.lineWidth=v.lineWidth,this.lineJoin=v.lineJoin,this.lineCap=v.lineCap,this.textBaseline=v.textBaseline,this.textAlign=v.textAlign,this._fontSize=v._fontSize,this._transform=v._transform.slice(0),this.globalCompositeOperation=v.globalCompositeOperation,this.globalAlpha=v.globalAlpha,this._clip_path=v._clip_path.slice(0),this.ignoreClearRect=v.ignoreClearRect}}Object.defineProperty(Q,"fillStyle",{set:function(v){this.setFillStyle(v)},get:function(){return this.ctx.fillStyle}}),Object.defineProperty(Q,"strokeStyle",{set:function(v){this.setStrokeStyle(v)},get:function(){return this.ctx.strokeStyle}}),Object.defineProperty(Q,"lineWidth",{set:function(v){this.setLineWidth(v)},get:function(){return this.ctx.lineWidth}}),Object.defineProperty(Q,"lineCap",{set:function(v){this.setLineCap(v)},get:function(){return this.ctx.lineCap}}),Object.defineProperty(Q,"lineJoin",{set:function(v){this.setLineJoin(v)},get:function(){return this.ctx.lineJoin}}),Object.defineProperty(Q,"miterLimit",{set:function(v){this.ctx.miterLimit=v},get:function(){return this.ctx.miterLimit}}),Object.defineProperty(Q,"textBaseline",{set:function(v){this.setTextBaseline(v)},get:function(){return this.getTextBaseline()}}),Object.defineProperty(Q,"textAlign",{set:function(v){this.setTextAlign(v)},get:function(){return this.getTextAlign()}}),Object.defineProperty(Q,"font",{set:function(v){this.setFont(v)},get:function(){return this.ctx.font}}),Object.defineProperty(Q,"globalCompositeOperation",{set:function(v){this.ctx.globalCompositeOperation=v},get:function(){return this.ctx.globalCompositeOperation}}),Object.defineProperty(Q,"globalAlpha",{set:function(v){this.ctx.globalAlpha=v},get:function(){return this.ctx.globalAlpha}}),Object.defineProperty(Q,"canvas",{get:function(){return{parentNode:!1,style:!1}}}),Object.defineProperty(Q,"ignoreClearRect",{set:function(v){this.ctx.ignoreClearRect=v},get:function(){return this.ctx.ignoreClearRect}}),Q.internal={},Q.internal.rxRgb=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/,Q.internal.rxRgba=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d\.]+)\s*\)/,Q.internal.rxTransparent=/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/,Q.internal.arc=function(v,p,w,x,C,S,I,P){for(var d=this.pdf.internal.scaleFactor,_=this.pdf.internal.pageSize.getHeight(),E=this.pdf.internal.f2,F=C*(Math.PI/180),T=S*(Math.PI/180),k=this.createArc(x,F,T,I),K=0;K<k.length;K++){var X=k[K];K===0?this.pdf.internal.out([E((X.x1+p)*d),E((_-(X.y1+w))*d),"m",E((X.x2+p)*d),E((_-(X.y2+w))*d),E((X.x3+p)*d),E((_-(X.y3+w))*d),E((X.x4+p)*d),E((_-(X.y4+w))*d),"c"].join(" ")):this.pdf.internal.out([E((X.x2+p)*d),E((_-(X.y2+w))*d),E((X.x3+p)*d),E((_-(X.y3+w))*d),E((X.x4+p)*d),E((_-(X.y4+w))*d),"c"].join(" ")),v._lastPoint={x:p,y:w}}P!==null&&this.pdf.internal.out(this.pdf.internal.getStyle(P))},Q.internal.arc2=function(v,p,w,x,C,S,I,P,d){var _=p,E=w;
3791d?(this.arc(v,_,E,x,C,S,I,null),this.pdf.clip_fixed()):this.arc(v,_,E,x,C,S,I,P)},Q.internal.move2=function(v,p,w){var x=this.pdf.internal.scaleFactor,C=this.pdf.internal.pageSize.getHeight(),S=this.pdf.internal.f2;this.pdf.internal.out([S(p*x),S((C-w)*x),"m"].join(" ")),v._lastPoint={x:p,y:w}},Q.internal.line2=function(v,p,w){var x=this.pdf.internal.scaleFactor,C=this.pdf.internal.pageSize.getHeight(),S=this.pdf.internal.f2,I={x:p,y:w};this.pdf.internal.out([S(I.x*x),S((C-I.y)*x),"l"].join(" ")),v._lastPoint=I},Q.internal.createArc=function(v,p,w,x){var C=2*Math.PI,S=Math.PI/2,I=p;for((I<C||C<I)&&(I%=C),I<0&&(I=C+I);w<p;)p-=C;var P=Math.abs(w-p);P<C&&x&&(P=C-P);for(var d=[],_=x?-1:1,E=I;1e-5<P;){var F=E+_*Math.min(P,S);d.push(this.createSmallArc(v,E,F)),P-=Math.abs(F-E),E=F}return d},Q.internal.getCurrentPage=function(){return this.pdf.internal.pages[this.pdf.internal.getCurrentPageInfo().pageNumber]},Q.internal.createSmallArc=function(v,p,w){var x=(w-p)/2,C=v*Math.cos(x),S=v*Math.sin(x),I=C,P=-S,d=I*I+P*P,_=d+I*C+P*S,E=4/3*(Math.sqrt(2*d*_)-_)/(I*S-P*C),F=I-E*P,T=P+E*I,k=F,K=-T,X=x+p,tt=Math.cos(X),ft=Math.sin(X);return{x1:v*Math.cos(p),y1:v*Math.sin(p),x2:F*tt-T*ft,y2:F*ft+T*tt,x3:k*tt-K*ft,y3:k*ft+K*tt,x4:v*Math.cos(w),y4:v*Math.sin(w)}}}(he.API,typeof self<"u"&&self||typeof window<"u"&&window||typeof Wn<"u"&&Wn||Function('return typeof this === "object" && this.content')()||Function("return this")()),function(B){var Q,D,v,p,w,x,C,S,I,P,d,_,E,F,T,k,K,X,tt,ft;Q=function(){return function(H){return at.prototype=H,new at};function at(){}}(),P=function(at){var H,dt,rt,Bt,vt,Kt,yt;for(dt=0,rt=at.length,H=void 0,Kt=Bt=!1;!Bt&&dt!==rt;)(H=at[dt]=at[dt].trimLeft())&&(Bt=!0),dt++;for(dt=rt-1;rt&&!Kt&&dt!==-1;)(H=at[dt]=at[dt].trimRight())&&(Kt=!0),dt--;for(vt=/\s+$/g,yt=!0,dt=0;dt!==rt;)at[dt]!="\u2028"&&(H=at[dt].replace(/\s+/g," "),yt&&(H=H.trimLeft()),H&&(yt=vt.test(H)),at[dt]=H),dt++;return at},_=function(at){var H,dt,rt;for(H=void 0,dt=(rt=at.split(",")).shift();!H&&dt;)H=v[dt.trim().toLowerCase()],dt=rt.shift();return H},E=function(at){var H;return-1<(at=at==="auto"?"0px":at).indexOf("em")&&!isNaN(Number(at.replace("em","")))&&(at=18.719*Number(at.replace("em",""))+"px"),-1<at.indexOf("pt")&&!isNaN(Number(at.replace("pt","")))&&(at=1.333*Number(at.replace("pt",""))+"px"),(H=F[at])?H:(H={"xx-small":9,"x-small":11,small:13,medium:16,large:19,"x-large":23,"xx-large":28,auto:0}[at])!==void 0||(H=parseFloat(at))?F[at]=H/16:(H=at.match(/([\d\.]+)(px)/),Array.isArray(H)&&H.length===3?F[at]=parseFloat(H[1])/16:F[at]=1)},I=function(at){var H,dt,rt,Bt,vt;return vt=at,Bt=document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(vt,null):vt.currentStyle?vt.currentStyle:vt.style,dt=void 0,(H={})["font-family"]=_((rt=function(Kt){return Kt=Kt.replace(/-\D/g,function(yt){return yt.charAt(1).toUpperCase()}),Bt[Kt]})("font-family"))||"times",H["font-style"]=p[rt("font-style")]||"normal",H["text-align"]=w[rt("text-align")]||"left",(dt=x[rt("font-weight")]||"normal")==="bold"&&(H["font-style"]==="normal"?H["font-style"]=dt:H["font-style"]=dt+H["font-style"]),H["font-size"]=E(rt("font-size"))||1,H["line-height"]=E(rt("line-height"))||1,H.display=rt("display")==="inline"?"inline":"block",dt=H.display==="block",H["margin-top"]=dt&&E(rt("margin-top"))||0,H["margin-bottom"]=dt&&E(rt("margin-bottom"))||0,H["padding-top"]=dt&&E(rt("padding-top"))||0,H["padding-bottom"]=dt&&E(rt("padding-bottom"))||0,H["margin-left"]=dt&&E(rt("margin-left"))||0,H["margin-right"]=dt&&E(rt("margin-right"))||0,H["padding-left"]=dt&&E(rt("padding-left"))||0,H["padding-right"]=dt&&E(rt("padding-right"))||0,H["page-break-before"]=rt("page-break-before")||"auto",H.float=C[rt("cssFloat")]||"none",H.clear=S[rt("clear")]||"none",H.color=rt("color"),H},T=function(at,H,dt){var rt,Bt,vt,Kt,yt;if(vt=!1,Kt=Bt=void 0,rt=dt["#"+at.id])if(typeof rt=="function")vt=rt(at,H);else for(Bt=0,Kt=rt.length;!vt&&Bt!==Kt;)vt=rt[Bt](at,H),Bt++;if(rt=dt[at.nodeName],!vt&&rt)if(typeof rt=="function")vt=rt(at,H);else for(Bt=0,Kt=rt.length;!vt&&Bt!==Kt;)vt=rt[Bt](at,H),Bt++;for(yt=typeof at.className=="string"?at.className.split(" "):[],Bt=0;Bt<yt.length;Bt++)if(rt=dt["."+yt[Bt]],!vt&&rt)if(typeof rt=="function")vt=rt(at,H);else for(Bt=0,Kt=rt.length;!vt&&Bt!==Kt;)vt=rt[Bt](at,H),Bt++;return vt},ft=function(at,H){var dt,rt,Bt,vt,Kt,yt,$,z,ct;for(dt=[],rt=[],Bt=0,ct=at.rows[0].cells.length,$=at.clientWidth;Bt<ct;)z=at.rows[0].cells[Bt],rt[Bt]={name:z.textContent.toLowerCase().replace(/\s+/g,""),prompt:z.textContent.replace(/\r?\n/g,""),width:z.clientWidth/$*H.pdf.internal.pageSize.getWidth()},Bt++;for(Bt=1;Bt<at.rows.length;){for(yt=at.rows[Bt],Kt={},vt=0;vt<yt.cells.length;)Kt[rt[vt].name]=yt.cells[vt].textContent.replace(/\r?\n/g,""),vt++;dt.push(Kt),Bt++}return{rows:dt,headers:rt}};var wt={SCRIPT:1,STYLE:1,NOSCRIPT:1,OBJECT:1,EMBED:1,SELECT:1},ht=1;D=function(at,H,dt){var rt,Bt,vt,Kt,yt,$,z,ct;for(Bt=at.childNodes,rt=void 0,(yt=(vt=I(at)).display==="block")&&(H.setBlockBoundary(),H.setBlockStyle(vt)),Kt=0,$=Bt.length;Kt<$;){if(((rt=Bt[Kt])===void 0?"undefined":pe(rt))==="object"){if(H.executeWatchFunctions(rt),rt.nodeType===1&&rt.nodeName==="HEADER"){var q=rt,At=H.pdf.margins_doc.top;H.pdf.internal.events.subscribe("addPage",function(ie){H.y=At,D(q,H,dt),H.pdf.margins_doc.top=H.y+10,H.y+=10},!1)}if(rt.nodeType===8&&rt.nodeName==="#comment")~rt.textContent.indexOf("ADD_PAGE")&&(H.pdf.addPage(),H.y=H.pdf.margins_doc.top);else if(rt.nodeType!==1||wt[rt.nodeName])if(rt.nodeType===3){var ot=rt.nodeValue;if(rt.nodeValue&&rt.parentNode.nodeName==="LI")if(rt.parentNode.parentNode.nodeName==="OL")ot=ht+++". "+ot;else{var Pt=vt["font-size"],mt=(3-.75*Pt)*H.pdf.internal.scaleFactor,qt=.75*Pt*H.pdf.internal.scaleFactor,Mt=1.74*Pt/H.pdf.internal.scaleFactor;ct=function(ie,Me){this.pdf.circle(ie+mt,Me+qt,Mt,"FD")}}16&rt.ownerDocument.body.compareDocumentPosition(rt)&&H.addText(ot,vt)}else typeof rt=="string"&&H.addText(rt,vt);else{var W;if(rt.nodeName==="IMG"){var et=rt.getAttribute("src");W=k[H.pdf.sHashCode(et)||et]}if(W){H.pdf.internal.pageSize.getHeight()-H.pdf.margins_doc.bottom<H.y+rt.height&&H.y>H.pdf.margins_doc.top&&(H.pdf.addPage(),H.y=H.pdf.margins_doc.top,H.executeWatchFunctions(rt));var M=I(rt),G=H.x,Y=12/H.pdf.internal.scaleFactor,ut=(M["margin-left"]+M["padding-left"])*Y,Lt=(M["margin-right"]+M["padding-right"])*Y,Ot=(M["margin-top"]+M["padding-top"])*Y,ne=(M["margin-bottom"]+M["padding-bottom"])*Y;M.float!==void 0&&M.float==="right"?G+=H.settings.width-rt.width-Lt:G+=ut,H.pdf.addImage(W,G,H.y+Ot,rt.width,rt.height),W=void 0,M.float==="right"||M.float==="left"?
3791(H.watchFunctions.push(function(ie,Me,ve,He){return H.y>=Me?(H.x+=ie,H.settings.width+=ve,!0):!!(He&&He.nodeType===1&&!wt[He.nodeName]&&H.x+He.width>H.pdf.margins_doc.left+H.pdf.margins_doc.width)&&(H.x+=ie,H.y=Me,H.settings.width+=ve,!0)}.bind(this,M.float==="left"?-rt.width-ut-Lt:0,H.y+rt.height+Ot+ne,rt.width)),H.watchFunctions.push(function(ie,Me,ve){return!(H.y<ie&&Me===H.pdf.internal.getNumberOfPages())||ve.nodeType===1&&I(ve).clear==="both"&&(H.y=ie,!0)}.bind(this,H.y+rt.height,H.pdf.internal.getNumberOfPages())),H.settings.width-=rt.width+ut+Lt,M.float==="left"&&(H.x+=rt.width+ut+Lt)):H.y+=rt.height+Ot+ne}else if(rt.nodeName==="TABLE")z=ft(rt,H),H.y+=10,H.pdf.table(H.x,H.y,z.rows,z.headers,{autoSize:!1,printHeaders:dt.printHeaders,margins:H.pdf.margins_doc,css:I(rt)}),H.y=H.pdf.lastCellPos.y+H.pdf.lastCellPos.h+20;else if(rt.nodeName==="OL"||rt.nodeName==="UL")ht=1,T(rt,H,dt)||D(rt,H,dt),H.y+=10;else if(rt.nodeName==="LI"){var ae=H.x;H.x+=20/H.pdf.internal.scaleFactor,H.y+=3,T(rt,H,dt)||D(rt,H,dt),H.x=ae}else rt.nodeName==="BR"?(H.y+=vt["font-size"]*H.pdf.internal.scaleFactor,H.addText("\u2028",Q(vt))):T(rt,H,dt)||D(rt,H,dt)}}Kt++}if(dt.outY=H.y,yt)return H.setBlockBoundary(ct)},k={},K=function(at,H,dt,rt){var Bt,vt=at.getElementsByTagName("img"),Kt=vt.length,yt=0;function $(){H.pdf.internal.events.publish("imagesLoaded"),rt(Bt)}function z(ct,q,At){if(ct){var ot=new Image;Bt=++yt,ot.crossOrigin="",ot.onerror=ot.onload=function(){if(ot.complete&&(ot.src.indexOf("data:image/")===0&&(ot.width=q||ot.width||0,ot.height=At||ot.height||0),ot.width+ot.height)){var Pt=H.pdf.sHashCode(ct)||ct;k[Pt]=k[Pt]||ot}--yt||$()},ot.src=ct}}for(;Kt--;)z(vt[Kt].getAttribute("src"),vt[Kt].width,vt[Kt].height);return yt||$()},X=function(at,H,dt){var rt=at.getElementsByTagName("footer");if(0<rt.length){rt=rt[0];var Bt=H.pdf.internal.write,vt=H.y;H.pdf.internal.write=function(){},D(rt,H,dt);var Kt=Math.ceil(H.y-vt)+5;H.y=vt,H.pdf.internal.write=Bt,H.pdf.margins_doc.bottom+=Kt;for(var yt=function(ct){var q=ct!==void 0?ct.pageNumber:1,At=H.y;H.y=H.pdf.internal.pageSize.getHeight()-H.pdf.margins_doc.bottom,H.pdf.margins_doc.bottom-=Kt;for(var ot=rt.getElementsByTagName("span"),Pt=0;Pt<ot.length;++Pt)-1<(" "+ot[Pt].className+" ").replace(/[\n\t]/g," ").indexOf(" pageCounter ")&&(ot[Pt].innerHTML=q),-1<(" "+ot[Pt].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&(ot[Pt].innerHTML="###jsPDFVarTotalPages###");D(rt,H,dt),H.pdf.margins_doc.bottom+=Kt,H.y=At},$=rt.getElementsByTagName("span"),z=0;z<$.length;++z)-1<(" "+$[z].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&H.pdf.internal.events.subscribe("htmlRenderingFinished",H.pdf.putTotalPages.bind(H.pdf,"###jsPDFVarTotalPages###"),!0);H.pdf.internal.events.subscribe("addPage",yt,!1),yt(),wt.FOOTER=1}},tt=function(at,H,dt,rt,Bt,vt){if(!H)return!1;var Kt,yt,$,z;typeof H=="string"||H.parentNode||(H=""+H.innerHTML),typeof H=="string"&&(Kt=H.replace(/<\/?script[^>]*?>/gi,""),z="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),($=document.createElement("div")).style.cssText="position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;",$.innerHTML='<iframe style="height:1px;width:1px" name="'+z+'" />',document.body.appendChild($),(yt=window.frames[z]).document.open(),yt.document.writeln(Kt),yt.document.close(),H=yt.document.body);var ct,q=new d(at,dt,rt,Bt);return K.call(this,H,q,Bt.elementHandlers,function(At){X(H,q,Bt.elementHandlers),D(H,q,Bt.elementHandlers),q.pdf.internal.events.publish("htmlRenderingFinished"),ct=q.dispose(),typeof vt=="function"?vt(ct):At&&console.error("jsPDF Warning: rendering issues? provide a callback to fromHTML!")}),ct||{x:q.x,y:q.y}},(d=function(at,H,dt,rt){return this.pdf=at,this.x=H,this.y=dt,this.settings=rt,this.watchFunctions=[],this.init(),this}).prototype.init=function(){return this.paragraph={text:[],style:[]},this.pdf.internal.write("q")},d.prototype.dispose=function(){return this.pdf.internal.write("Q"),{x:this.x,y:this.y,ready:!0}},d.prototype.executeWatchFunctions=function(at){var H=!1,dt=[];
3791if(0<this.watchFunctions.length){for(var rt=0;rt<this.watchFunctions.length;++rt)this.watchFunctions[rt](at)===!0?H=!0:dt.push(this.watchFunctions[rt]);this.watchFunctions=dt}return H},d.prototype.splitFragmentsIntoLines=function(at,H){var dt,rt,Bt,vt,Kt,yt,$,z,ct,q,At,ot,Pt,mt;for(q=this.pdf.internal.scaleFactor,vt={},yt=$=z=mt=Kt=Bt=ct=rt=void 0,ot=[At=[]],dt=0,Pt=this.settings.width;at.length;)if(Kt=at.shift(),mt=H.shift(),Kt)if((Bt=vt[(rt=mt["font-family"])+(ct=mt["font-style"])])||(Bt=this.pdf.internal.getFont(rt,ct).metadata.Unicode,vt[rt+ct]=Bt),z={widths:Bt.widths,kerning:Bt.kerning,fontSize:12*mt["font-size"],textIndent:dt},$=this.pdf.getStringUnitWidth(Kt,z)*z.fontSize/q,Kt=="\u2028")At=[],ot.push(At);else if(Pt<dt+$){for(yt=this.pdf.splitTextToSize(Kt,Pt,z),At.push([yt.shift(),mt]);yt.length;)At=[[yt.shift(),mt]],ot.push(At);dt=this.pdf.getStringUnitWidth(At[0][0],z)*z.fontSize/q}else At.push([Kt,mt]),dt+=$;if(mt["text-align"]!==void 0&&(mt["text-align"]==="center"||mt["text-align"]==="right"||mt["text-align"]==="justify"))for(var qt=0;qt<ot.length;++qt){var Mt=this.pdf.getStringUnitWidth(ot[qt][0][0],z)*z.fontSize/q;0<qt&&(ot[qt][0][1]=Q(ot[qt][0][1]));var W=Pt-Mt;if(mt["text-align"]==="right")ot[qt][0][1]["margin-left"]=W;else if(mt["text-align"]==="center")ot[qt][0][1]["margin-left"]=W/2;else if(mt["text-align"]==="justify"){var et=ot[qt][0][0].split(" ").length-1;ot[qt][0][1]["word-spacing"]=W/et,qt===ot.length-1&&(ot[qt][0][1]["word-spacing"]=0)}}return ot},d.prototype.RenderTextFragment=function(at,H){var dt,rt;rt=0,this.pdf.internal.pageSize.getHeight()-this.pdf.margins_doc.bottom<this.y+this.pdf.internal.getFontSize()&&(this.pdf.internal.write("ET","Q"),this.pdf.addPage(),this.y=this.pdf.margins_doc.top,this.pdf.internal.write("q","BT",this.getPdfColor(H.color),this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td"),rt=Math.max(rt,H["line-height"],H["font-size"]),this.pdf.internal.write(0,(-12*rt).toFixed(2),"Td")),dt=this.pdf.internal.getFont(H["font-family"],H["font-style"]);var Bt=this.getPdfColor(H.color);Bt!==this.lastTextColor&&(this.pdf.internal.write(Bt),this.lastTextColor=Bt),H["word-spacing"]!==void 0&&0<H["word-spacing"]&&this.pdf.internal.write(H["word-spacing"].toFixed(2),"Tw"),this.pdf.internal.write("/"+dt.id,(12*H["font-size"]).toFixed(2),"Tf","("+this.pdf.internal.pdfEscape(at)+") Tj"),H["word-spacing"]!==void 0&&this.pdf.internal.write(0,"Tw")},d.prototype.getPdfColor=function(at){var H,dt,rt,Bt=new RGBColor(at),vt=/rgb\s*\(\s*(\d+),\s*(\d+),\s*(\d+\s*)\)/.exec(at);if(vt!=null?(H=parseInt(vt[1]),dt=parseInt(vt[2]),rt=parseInt(vt[3])):(at.charAt(0)!="#"&&(at=Bt.ok?Bt.toHex():"#000000"),H=at.substring(1,3),H=parseInt(H,16),dt=at.substring(3,5),dt=parseInt(dt,16),rt=at.substring(5,7),rt=parseInt(rt,16)),typeof H=="string"&&/^#[0-9A-Fa-f]{6}$/.test(H)){var Kt=parseInt(H.substr(1),16);H=Kt>>16&255,dt=Kt>>8&255,rt=255&Kt}var yt=this.f3;return H===0&&dt===0&&rt===0||dt===void 0?yt(H/255)+" g":[yt(H/255),yt(dt/255),yt(rt/255),"rg"].join(" ")},d.prototype.f3=function(at){return at.toFixed(3)},d.prototype.renderParagraph=function(at){var H,dt,rt,Bt,vt,Kt,yt,$,z,ct,q,At,ot;if(rt=P(this.paragraph.text),At=this.paragraph.style,H=this.paragraph.blockstyle,this.paragraph.priorblockstyle,this.paragraph={text:[],style:[],blockstyle:{},priorblockstyle:H},rt.join("").trim()){yt=this.splitFragmentsIntoLines(rt,At),$=Kt=void 0,dt=12/this.pdf.internal.scaleFactor,this.priorMarginBottom=this.priorMarginBottom||0,q=(Math.max((H["margin-top"]||0)-this.priorMarginBottom,0)+(H["padding-top"]||0))*dt,ct=((H["margin-bottom"]||0)+(H["padding-bottom"]||0))*dt,this.priorMarginBottom=H["margin-bottom"]||0,H["page-break-before"]==="always"&&(this.pdf.addPage(),this.y=0,q=((H["margin-top"]||0)+(H["padding-top"]||0))*dt),z=this.pdf.internal.write,vt=Bt=void 0,this.y+=q,z("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td");for(var Pt=0;yt.length;){for(Bt=$=0,vt=(Kt=yt.shift()).length;Bt!==vt;)Kt[Bt][0].trim()&&($=Math.max($,Kt[Bt][1]["line-height"],Kt[Bt][1]["font-size"]),ot=7*Kt[Bt][1]["font-size"]),Bt++;var mt=0,qt=0;for(Kt[0][1]["margin-left"]!==void 0&&0<Kt[0][1]["margin-left"]&&(mt=(qt=this.pdf.internal.getCoordinateString(Kt[0][1]["margin-left"]))-Pt,Pt=qt),z(mt+Math.max(H["margin-left"]||0,0)*dt,(-12*$).toFixed(2),"Td"),Bt=0,vt=Kt.length;Bt!==vt;)Kt[Bt][0]&&this.RenderTextFragment(Kt[Bt][0],Kt[Bt][1]),Bt++;if(this.y+=$*dt,this.executeWatchFunctions(Kt[0][1])&&0<yt.length){var Mt=[],W=[];yt.forEach(function(et){for(var M=0,G=et.length;M!==G;
3791)et[M][0]&&(Mt.push(et[M][0]+" "),W.push(et[M][1])),++M}),yt=this.splitFragmentsIntoLines(P(Mt),W),z("ET","Q"),z("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td")}}return at&&typeof at=="function"&&at.call(this,this.x-9,this.y-ot/2),z("ET","Q"),this.y+=ct}},d.prototype.setBlockBoundary=function(at){return this.renderParagraph(at)},d.prototype.setBlockStyle=function(at){return this.paragraph.blockstyle=at},d.prototype.addText=function(at,H){return this.paragraph.text.push(at),this.paragraph.style.push(H)},v={helvetica:"helvetica","sans-serif":"helvetica","times new roman":"times",serif:"times",times:"times",monospace:"courier",courier:"courier"},x={100:"normal",200:"normal",300:"normal",400:"normal",500:"bold",600:"bold",700:"bold",800:"bold",900:"bold",normal:"normal",bold:"bold",bolder:"bold",lighter:"normal"},p={normal:"normal",italic:"italic",oblique:"italic"},w={left:"left",right:"right",center:"center",justify:"justify"},C={none:"none",right:"right",left:"left"},S={none:"none",both:"both"},F={normal:1},B.fromHTML=function(at,H,dt,rt,Bt,vt){return this.margins_doc=vt||{top:0,bottom:0},rt||(rt={}),rt.elementHandlers||(rt.elementHandlers={}),tt(this,at,isNaN(H)?4:H,isNaN(dt)?4:dt,rt,Bt)}}(he.API),he.API.addJS=function(B){return b=B,this.internal.events.subscribe("postPutResources",function(Q){h=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(h+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),g=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+b+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){h!==void 0&&g!==void 0&&this.internal.out("/Names <</JavaScript "+h+" 0 R>>")}),this},(U=he.API).events.push(["postPutResources",function(){var B=this,Q=/^(\d+) 0 obj$/;if(0<this.outline.root.children.length)for(var D=B.outline.render().split(/\r\n/),v=0;v<D.length;v++){var p=D[v],w=Q.exec(p);if(w!=null){var x=w[1];B.internal.newObjectDeferredBegin(x)}B.internal.write(p)}if(this.outline.createNamedDestinations){var C=this.internal.pages.length,S=[];for(v=0;v<C;v++){var I=B.internal.newObject();S.push(I);var P=B.internal.getPageInfo(v+1);B.internal.write("<< /D["+P.objId+" 0 R /XYZ null null null]>> endobj")}var d=B.internal.newObject();for(B.internal.write("<< /Names [ "),v=0;v<S.length;v++)B.internal.write("(page_"+(v+1)+")"+S[v]+" 0 R");B.internal.write(" ] >>","endobj"),B.internal.newObject(),B.internal.write("<< /Dests "+d+" 0 R"),B.internal.write(">>","endobj")}}]),U.events.push(["putCatalog",function(){0<this.outline.root.children.length&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+namesOid+" 0 R"))}]),U.events.push(["initialized",function(){var B=this;B.outline={createNamedDestinations:!1,root:{children:[]}},B.outline.add=function(Q,D,v){var p={title:D,options:v,children:[]};return Q==null&&(Q=this.root),Q.children.push(p),p},B.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=B,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},B.outline.genIds_r=function(Q){Q.id=B.internal.newObjectDeferred();for(var D=0;D<Q.children.length;D++)this.genIds_r(Q.children[D])},B.outline.renderRoot=function(Q){this.objStart(Q),this.line("/Type /Outlines"),0<Q.children.length&&(this.line("/First "+this.makeRef(Q.children[0])),this.line("/Last "+this.makeRef(Q.children[Q.children.length-1]))),this.line("/Count "+this.count_r({count:0},Q)),this.objEnd()},B.outline.renderItems=function(Q){for(var D=0;D<Q.children.length;D++){var v=Q.children[D];this.objStart(v),this.line("/Title "+this.makeString(v.title)),this.line("/Parent "+this.makeRef(Q)),0<D&&this.line("/Prev "+this.makeRef(Q.children[D-1])),D<Q.children.length-1&&this.line("/Next "+this.makeRef(Q.children[D+1])),0<v.children.length&&(this.line("/First "+this.makeRef(v.children[0])),this.line("/Last "+this.makeRef(v.children[v.children.length-1])));var p=this.count=this.count_r({count:0},v);if(0<p&&this.line("/Count "+p),v.options&&v.options.pageNumber){var w=B.internal.getPageInfo(v.options.pageNumber);this.line("/Dest ["+w.objId+" 0 R /XYZ 0 "+this.ctx.pdf.internal.pageSize.getHeight()*this.ctx.pdf.internal.scaleFactor+" 0]")}this.objEnd()}for(D=0;D<Q.children.length;D++)v=Q.children[D],this.renderItems(v)},B.outline.line=function(Q){this.ctx.val+=Q+`\r 3792`},B.outline.makeRef=function(Q){return Q.id+" 0 R"},B.outline.makeString=function(Q){return"("+B.internal.pdfEscape(Q)+")"},B.outline.objStart=function(Q){this.ctx.val+=`\r 3793`+Q.id+` 0 obj\r 3794<<\r 3795`},B.outline.objEnd=function(Q){this.ctx.val+=`>> \r 3796endobj\r 3797`},B.outline.count_r=function(Q,D){for(var v=0;v<D.children.length;v++)Q.count++,this.count_r(Q,D.children[v]);return Q.count}}]),N=he.API,L=function(){var B=typeof Deflater=="function";if(!B)throw new Error("requires deflate.js for compression");return B},R=function(B,Q,D,v){var p=5,w=Nt;switch(v){case N.image_compression.FAST:p=3,w=gt;break;case N.image_compression.MEDIUM:p=6,w=Dt;break;case N.image_compression.SLOW:p=9,w=Et}B=O(B,Q,D,w);var x=new Uint8Array(j(p)),C=st(B),S=new Deflater(p),I=S.append(B),P=S.flush(),d=x.length+I.length+P.length,_=new Uint8Array(d+4);return _.set(x),_.set(I,x.length),_.set(P,x.length+I.length),_[d++]=C>>>24&255,_[d++]=C>>>16&255,_[d++]=C>>>8&255,_[d++]=255&C,N.arrayBufferToBinaryString(_)},j=function(B,Q){var D=Math.LOG2E*Math.log(32768)-8<<4|8,v=D<<8;
3797return v|=Math.min(3,(Q-1&255)>>1)<<6,v|=0,[D,255&(v+=31-v%31)]},st=function(B,Q){for(var D,v=1,p=0,w=B.length,x=0;0<w;){for(w-=D=Q<w?Q:w;p+=v+=B[x++],--D;);v%=65521,p%=65521}return(p<<16|v)>>>0},O=function(B,Q,D,v){for(var p,w,x,C=B.length/Q,S=new Uint8Array(B.length+C),I=Xt(),P=0;P<C;P++){if(x=P*Q,p=B.subarray(x,x+Q),v)S.set(v(p,D,w),x+P);else{for(var d=0,_=I.length,E=[];d<_;d++)E[d]=I[d](p,D,w);var F=jt(E.concat());S.set(E[F],x+P)}w=p}return S},V=function(B,Q,D){var v=Array.apply([],B);return v.unshift(0),v},gt=function(B,Q,D){var v,p=[],w=0,x=B.length;for(p[0]=1;w<x;w++)v=B[w-Q]||0,p[w+1]=B[w]-v+256&255;return p},Nt=function(B,Q,D){var v,p=[],w=0,x=B.length;for(p[0]=2;w<x;w++)v=D&&D[w]||0,p[w+1]=B[w]-v+256&255;return p},Dt=function(B,Q,D){var v,p,w=[],x=0,C=B.length;for(w[0]=3;x<C;x++)v=B[x-Q]||0,p=D&&D[x]||0,w[x+1]=B[x]+256-(v+p>>>1)&255;return w},Et=function(B,Q,D){var v,p,w,x,C=[],S=0,I=B.length;for(C[0]=4;S<I;S++)v=B[S-Q]||0,p=D&&D[S]||0,w=D&&D[S-Q]||0,x=xt(v,p,w),C[S+1]=B[S]-x+256&255;return C},xt=function(B,Q,D){var v=B+Q-D,p=Math.abs(v-B),w=Math.abs(v-Q),x=Math.abs(v-D);return p<=w&&p<=x?B:w<=x?Q:D},Xt=function(){return[V,gt,Nt,Dt,Et]},jt=function(B){for(var Q,D,v,p=0,w=B.length;p<w;)((Q=Gt(B[p].slice(1)))<D||!D)&&(D=Q,v=p),p++;return v},Gt=function(B){for(var Q=0,D=B.length,v=0;Q<D;)v+=Math.abs(B[Q++]);return v},N.processPNG=function(B,Q,D,v,p){var w,x,C,S,I,P,d=this.color_spaces.DEVICE_RGB,_=this.decode.FLATE_DECODE,E=8;if(this.isArrayBuffer(B)&&(B=new Uint8Array(B)),this.isArrayBufferView(B)){if(typeof PNG!="function"||typeof _n!="function")throw new Error("PNG support requires png.js and zlib.js");if(B=(w=new PNG(B)).imgData,E=w.bits,d=w.colorSpace,S=w.colors,[4,6].indexOf(w.colorType)!==-1){if(w.bits===8)for(var F,T=(rt=w.pixelBitlength==32?new Uint32Array(w.decodePixels().buffer):w.pixelBitlength==16?new Uint16Array(w.decodePixels().buffer):new Uint8Array(w.decodePixels().buffer)).length,k=new Uint8Array(T*w.colors),K=new Uint8Array(T),X=w.pixelBitlength-w.bits,tt=0,ft=0;tt<T;tt++){for(wt=rt[tt],F=0;F<X;)k[ft++]=wt>>>F&255,F+=w.bits;K[tt]=wt>>>F&255}if(w.bits===16){T=(rt=new Uint32Array(w.decodePixels().buffer)).length,k=new Uint8Array(T*(32/w.pixelBitlength)*w.colors),K=new Uint8Array(T*(32/w.pixelBitlength));for(var wt,ht=1<w.colors,at=ft=tt=0;tt<T;)wt=rt[tt++],k[ft++]=wt>>>0&255,ht&&(k[ft++]=wt>>>16&255,wt=rt[tt++],k[ft++]=wt>>>0&255),K[at++]=wt>>>16&255;E=8}v!==N.image_compression.NONE&&L()?(B=R(k,w.width*w.colors,w.colors,v),P=R(K,w.width,1,v)):(B=k,P=K,_=null)}if(w.colorType===3&&(d=this.color_spaces.INDEXED,I=w.palette,w.transparency.indexed)){var H=w.transparency.indexed,dt=0;for(tt=0,T=H.length;tt<T;++tt)dt+=H[tt];if((dt/=255)==T-1&&H.indexOf(0)!==-1)C=[H.indexOf(0)];else if(dt!==T){var rt=w.decodePixels();for(K=new Uint8Array(rt.length),tt=0,T=rt.length;tt<T;tt++)K[tt]=H[rt[tt]];P=R(K,w.width,1)}}var Bt=function(vt){var Kt;switch(vt){case N.image_compression.FAST:Kt=11;break;case N.image_compression.MEDIUM:Kt=13;break;case N.image_compression.SLOW:Kt=14;break;default:Kt=12}return Kt}(v);return x=_===this.decode.FLATE_DECODE?"/Predictor "+Bt+" /Colors "+S+" /BitsPerComponent "+E+" /Columns "+w.width:"/Colors "+S+" /BitsPerComponent "+E+" /Columns "+w.width,(this.isArrayBuffer(B)||this.isArrayBufferView(B))&&(B=this.arrayBufferToBinaryString(B)),(P&&this.isArrayBuffer(P)||this.isArrayBufferView(P))&&(P=this.arrayBufferToBinaryString(P)),this.createImageInfo(B,w.width,w.height,d,E,_,Q,D,x,C,I,P,Bt)}throw new Error("Unsupported PNG image data, try using JPEG instead.")},(Wt=he.API).processGIF89A=function(B,Q,D,v,p){var w=new Re(B),x=w.width,C=w.height,S=[];w.decodeAndBlitFrameRGBA(0,S);var I={data:S,width:x,height:C},P=new me(100).encode(I,100);return Wt.processJPEG.call(this,P,Q,D,v)},Wt.processGIF87A=Wt.processGIF89A,(kt=he.API).processBMP=function(B,Q,D,v,p){var w=new Ie(B,!1),x=w.width,C=w.height,S={data:w.getData(),width:x,height:C},I=new me(100).encode(S,100);return kt.processJPEG.call(this,I,Q,D,v)},he.API.setLanguage=function(B){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq
vendor: 4,472 bytes, line 3797
3797:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"FYRO Macedonian",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[B]!==void 0&&(this.internal.languageSettings.languageCode=B,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},Vt=he.API,we=Vt.getCharWidthsArray=function(B,Q){var D,v,p,w=(Q=Q||{}).font||this.internal.getFont(),x=Q.fontSize||this.internal.getFontSize(),C=Q.charSpace||this.internal.getCharSpace(),S=Q.widths?Q.widths:w.metadata.Unicode.widths,I=S.fof?S.fof:1,P=Q.kerning?Q.kerning:w.metadata.Unicode.kerning,d=P.fof?P.fof:1,_=0,E=S[0]||I,F=[];for(D=0,v=B.length;D<v;
3797D++)p=B.charCodeAt(D),typeof w.metadata.widthOfString=="function"?F.push((w.metadata.widthOfGlyph(w.metadata.characterToGlyph(p))+C*(1e3/x)||0)/1e3):F.push((S[p]||E)/I+(P[p]&&P[p][_]||0)/d),_=p;return F},oe=Vt.getArraySum=function(B){for(var Q=B.length,D=0;Q;)D+=B[--Q];return D},Be=Vt.getStringUnitWidth=function(B,Q){var D=(Q=Q||{}).fontSize||this.internal.getFontSize(),v=Q.font||this.internal.getFont(),p=Q.charSpace||this.internal.getCharSpace();return typeof v.metadata.widthOfString=="function"?v.metadata.widthOfString(B,D,p)/D:oe(we.apply(this,arguments))},Ue=function(B,Q,D,v){for(var p=[],w=0,x=B.length,C=0;w!==x&&C+Q[w]<D;)C+=Q[w],w++;p.push(B.slice(0,w));var S=w;for(C=0;w!==x;)C+Q[w]>v&&(p.push(B.slice(S,w)),C=0,S=w),C+=Q[w],w++;return S!==w&&p.push(B.slice(S,w)),p},zt=function(B,Q,D){D||(D={});var v,p,w,x,C,S,I=[],P=[I],d=D.textIndent||0,_=0,E=0,F=B.split(" "),T=we.apply(this,[" ",D])[0];if(S=D.lineIndent===-1?F[0].length+2:D.lineIndent||0){var k=Array(S).join(" "),K=[];F.map(function(ft){1<(ft=ft.split(/\s*\n/)).length?K=K.concat(ft.map(function(wt,ht){return(ht&&wt.length?` 3798`:"")+wt})):K.push(ft[0])}),F=K,S=Be.apply(this,[k,D])}for(w=0,x=F.length;w<x;w++){var X=0;if(v=F[w],S&&v[0]==` 3799`&&(v=v.substr(1),X=1),p=we.apply(this,[v,D]),Q<d+_+(E=oe(p))||X){if(Q<E){for(C=Ue.apply(this,[v,p,Q-(d+_),Q]),I.push(C.shift()),I=[C.pop()];C.length;)P.push([C.shift()]);E=oe(p.slice(v.length-(I[0]?I[0].length:0)))}else I=[v];P.push(I),d=E+S,_=T}else I.push(v),d+=_+E,_=T}if(S)var tt=function(ft,wt){return(wt?k:"")+ft.join(" ")};else tt=function(ft){return ft.join(" ")};return P.map(tt)},Vt.splitTextToSize=function(B,Q,D){var v,p=(D=D||{}).fontSize||this.internal.getFontSize(),w=function(P){var d={0:1},_={};if(P.widths&&P.kerning)return{widths:P.widths,kerning:P.kerning};var E=this.internal.getFont(P.fontName,P.fontStyle),F="Unicode";return E.metadata[F]?{widths:E.metadata[F].widths||d,kerning:E.metadata[F].kerning||_}:{font:E.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,D);v=Array.isArray(B)?B:B.split(/\r?\n/);var x=1*this.internal.scaleFactor*Q/p;w.textIndent=D.textIndent?1*D.textIndent*this.internal.scaleFactor/p:0,w.lineIndent=D.lineIndent;var C,S,I=[];for(C=0,S=v.length;C<S;C++)I=I.concat(zt.apply(this,[v[C],x,w]));return I},Ht=he.API,le={codePages:["WinAnsiEncoding"],WinAnsiEncoding:(re=function(B){for(var Q="klmnopqrstuvwxyz",D={},v=0;v<Q.length;v++)D[Q[v]]="0123456789abcdef"[v];var p,w,x,C,S,I={},P=1,d=I,_=[],E="",F="",T=B.length-1;for(v=1;v!=T;)S=B[v],v+=1,S=="'"?w?(C=w.join(""),w=p):w=[]:w?w.push(S):S=="{"?(_.push([d,C]),d={},C=p):S=="}"?((x=_.pop())[0][x[1]]=d,C=p,d=x[0]):S=="-"?P=-1:C===p?D.hasOwnProperty(S)?(E+=D[S],C=parseInt(E,16)*P,P=1,E=""):E+=S:D.hasOwnProperty(S)?(F+=D[S],d[C]=parseInt(F,16)*P,P=1,C=p,F=""):F+=S;return I})("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},Le={Unicode:{Courier:le,"Courier-Bold":le,"Courier-BoldOblique":le,"Courier-Oblique":le,Helvetica:le,"Helvetica-Bold":le,"Helvetica-BoldOblique":le,"Helvetica-Oblique":le,"Times-Roman":le,"Times-Bold":le,"Times-BoldItalic":le,"Times-Italic":le}},xe={Unicode:{"Courier-Oblique":re("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":re("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}
37993u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":re("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4y
3799dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:re("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":re("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":re("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:re("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:re("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4y
3799dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":re("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4y
3799dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:re("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":re("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":re("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}
3799fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":re("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":re("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4y
3799dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}},Ht.events.push(["addFont",function(B){var Q,D,v,p="Unicode";(Q=xe[p][B.postScriptName])&&((D=B.metadata[p]?B.metadata[p]:B.metadata[p]={}).widths=Q.widths,D.kerning=Q.kerning),(v=Le[p][B.postScriptName])&&((D=B.metadata[p]?B.metadata[p]:B.metadata[p]={}).encoding=v).codePages&&v.codePages.length&&(B.encoding=v.codePages[0])}]),De=he,typeof self<"u"&&self||typeof Wn<"u"&&Wn||typeof window<"u"&&window||Function("return this")(),De.API.events.push(["addFont",function(B){De.API.existsFileInVFS(B.postScriptName)?(B.metadata=De.API.TTFFont.open(B.postScriptName,B.fontName,De.API.getFileFromVFS(B.postScriptName),B.encoding),B.metadata.Unicode=B.metadata.Unicode||{encoding:{},kerning:{},widths:[]}):14<B.id.slice(1)&&console.error("Font does not exist in FileInVFS, import fonts or remove declaration doc.addFont('"+B.postScriptName+"').")}]),(Te=he.API).addSvg=function(B,Q,D,v,p){if(Q===void 0||D===void 0)throw new Error("addSVG needs values for 'x' and 'y'");function w(H){for(var dt=parseFloat(H[1]),rt=parseFloat(H[2]),Bt=[],vt=3,Kt=H.length;vt<Kt;)H[vt]==="c"?(Bt.push([parseFloat(H[vt+1]),parseFloat(H[vt+2]),parseFloat(H[vt+3]),parseFloat(H[vt+4]),parseFloat(H[vt+5]),parseFloat(H[vt+6])]),vt+=7):H[vt]==="l"?(Bt.push([parseFloat(H[vt+1]),parseFloat(H[vt+2])]),vt+=3):vt+=1;return[dt,rt,Bt]}var x,C,S,I,P,d,_,E,F=(I=document,E=I.createElement("iframe"),P=".jsPDF_sillysvg_iframe {display:none;position:absolute;}",(_=(d=I).createElement("style")).type="text/css",_.styleSheet?_.styleSheet.cssText=P:_.appendChild(d.createTextNode(P)),d.getElementsByTagName("head")[0].appendChild(_),E.name="childframe",E.setAttribute("width",0),E.setAttribute("height",0),E.setAttribute("frameborder","0"),E.setAttribute("scrolling","no"),E.setAttribute("seamless","seamless"),E.setAttribute("class","jsPDF_sillysvg_iframe"),I.body.appendChild(E),E),T=(x=B,(S=((C=F).contentWindow||C.contentDocument).document).write(x),S.close(),S.getElementsByTagName("svg")[0]),k=[1,1],K=parseFloat(T.getAttribute("width")),X=parseFloat(T.getAttribute("height"));K&&X&&(v&&p?k=[v/K,p/X]:v?k=[v/K,v/K]:p&&(k=[p/X,p/X]));var tt,ft,wt,ht,at=T.childNodes;for(tt=0,ft=at.length;tt<ft;tt++)(wt=at[tt]).tagName&&wt.tagName.toUpperCase()==="PATH"&&((ht=w(wt.getAttribute("d").split(" ")))[0]=ht[0]*k[0]+Q,ht[1]=ht[1]*k[1]+D,this.lines.call(this,ht[2],ht[0],ht[1],k));return this},Te.addSVG=Te.addSvg,Te.addSvgAsImage=function(B,Q,D,v,p,w,x,C){if(isNaN(Q)||isNaN(D))throw console.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(v)||isNaN(p))throw console.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var S=document.createElement("canvas");S.width=v,S.height=p;var I=S.getContext("2d");return I.fillStyle="#fff",I.fillRect(0,0,S.width,S.height),canvg(S,B,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0}),this.addImage(S.toDataURL("image/jpeg",1),Q,D,v,p,x,C),this},he.API.putTotalPages=function(B){for(var Q=new RegExp(B,"g"),D=1;D<=this.internal.getNumberOfPages();D++)for(var v=0;v<this.internal.pages[D].length;v++)this.internal.pages[D][v]=this.internal.pages[D][v].replace(Q,this.internal.getNumberOfPages());return this},he.API.viewerPreferences=function(B,Q){var D;B=B||{},Q=Q||!1;var v,p,w={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},x=Object.keys(w),C=[],S=0,I=0,P=0,d=!0;function _(F,T){var k,K=!1;for(k=0;k<F.length;k+=1)F[k]===T&&(K=!0);return K}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(w)),this.internal.viewerpreferences.isSubscribed=!1),D=this.internal.viewerpreferences.configuration,B==="reset"||Q===!0){var E=x.length;for(P=0;P<E;P+=1)D[x[P]].value=D[x[P]].defaultValue,D[x[P]].explicitSet=!1}if((B===void 0?"undefined":pe(B))==="object"){for(v in B)if(p=B[v],_(x,v)&&p!==void 0){if(D[v].t
3799ype==="boolean"&&typeof p=="boolean")D[v].value=p;else if(D[v].type==="name"&&_(D[v].valueSet,p))D[v].value=p;else if(D[v].type==="integer"&&Number.isInteger(p))D[v].value=p;else if(D[v].type==="array"){for(S=0;S<p.length;S+=1)if(d=!0,p[S].length===1&&typeof p[S][0]=="number")C.push(String(p[S]));else if(1<p[S].length){for(I=0;I<p[S].length;I+=1)typeof p[S][I]!="number"&&(d=!1);d===!0&&C.push(String(p[S].join("-")))}D[v].value=String(C)}else D[v].value=D[v].defaultValue;D[v].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var F,T=[];for(F in D)D[F].explicitSet===!0&&(D[F].type==="name"?T.push("/"+F+" /"+D[F].value):T.push("/"+F+" "+D[F].value));T.length!==0&&this.internal.write(`/ViewerPreferences 3800<< 3801`+T.join(` 3802`)+` 3803>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=D,this},it=he.API,fe=Jt=bt="",it.addMetadata=function(B,Q){return Jt=Q||"http://jspdf.default.namespaceuri/",bt=B,this.internal.events.subscribe("postPutResources",function(){if(bt){var D='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+Jt+'"><jspdf:metadata>',v=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),p=unescape(encodeURIComponent(D)),w=unescape(encodeURIComponent(bt)),x=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),C=unescape(encodeURIComponent("</x:xmpmeta>")),S=p.length+w.length+x.length+v.length+C.length;fe=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+S+" >>"),this.internal.write("stream"),this.internal.write(v+p+w+x+C),this.internal.write("endstream"),this.internal.write("endobj")}else fe=""}),this.internal.events.subscribe("putCatalog",function(){fe&&this.internal.write("/Metadata "+fe+" 0 R")}),this},function(B,Q){var D=B.API,v=[0];
3803D.events.push(["putFont",function(w){(function(x,C,S){if(x.metadata instanceof B.API.TTFFont&&x.encoding==="Identity-H"){for(var I=x.metadata.Unicode.widths,P=x.metadata.subset.encode(v),d="",_=0;_<P.length;_++)d+=String.fromCharCode(P[_]);var E=S();C("<<"),C("/Length "+d.length),C("/Length1 "+d.length),C(">>"),C("stream"),C(d),C("endstream"),C("endobj");var F=S();C("<<"),C("/Type /FontDescriptor"),C("/FontName /"+x.fontName),C("/FontFile2 "+E+" 0 R"),C("/FontBBox "+B.API.PDFObject.convert(x.metadata.bbox)),C("/Flags "+x.metadata.flags),C("/StemV "+x.metadata.stemV),C("/ItalicAngle "+x.metadata.italicAngle),C("/Ascent "+x.metadata.ascender),C("/Descent "+x.metadata.decender),C("/CapHeight "+x.metadata.capHeight),C(">>"),C("endobj");var T=S();C("<<"),C("/Type /Font"),C("/BaseFont /"+x.fontName),C("/FontDescriptor "+F+" 0 R"),C("/W "+B.API.PDFObject.convert(I)),C("/CIDToGIDMap /Identity"),C("/DW 1000"),C("/Subtype /CIDFontType2"),C("/CIDSystemInfo"),C("<<"),C("/Supplement 0"),C("/Registry (Adobe)"),C("/Ordering ("+x.encoding+")"),C(">>"),C(">>"),C("endobj"),x.objectNumber=S(),C("<<"),C("/Type /Font"),C("/Subtype /Type0"),C("/BaseFont /"+x.fontName),C("/Encoding /"+x.encoding),C("/DescendantFonts ["+T+" 0 R]"),C(">>"),C("endobj"),x.isAlreadyPutted=!0}})(w.font,w.out,w.newObject)}
3803]),D.events.push(["putFont",function(w){(function(x,C,S){if(x.metadata instanceof B.API.TTFFont&&x.encoding==="WinAnsiEncoding"){x.metadata.Unicode.widths;for(var I=x.metadata.rawData,P="",d=0;d<I.length;d++)P+=String.fromCharCode(I[d]);var _=S();C("<<"),C("/Length "+P.length),C("/Length1 "+P.length),C(">>"),C("stream"),C(P),C("endstream"),C("endobj");var E=S();for(C("<<"),C("/Descent "+x.metadata.decender),C("/CapHeight "+x.metadata.capHeight),C("/StemV "+x.metadata.stemV),C("/Type /FontDescriptor"),C("/FontFile2 "+_+" 0 R"),C("/Flags 96"),C("/FontBBox "+B.API.PDFObject.convert(x.metadata.bbox)),C("/FontName /"+x.fontName),C("/ItalicAngle "+x.metadata.italicAngle),C("/Ascent "+x.metadata.ascender),C(">>"),C("endobj"),x.objectNumber=S(),d=0;d<x.metadata.hmtx.widths.length;d++)x.metadata.hmtx.widths[d]=parseInt(x.metadata.hmtx.widths[d]*(1e3/x.metadata.head.unitsPerEm));C("<</Subtype/TrueType/Type/Font/BaseFont/"+x.fontName+"/FontDescriptor "+E+" 0 R/Encoding/"+x.encoding+" /FirstChar 29 /LastChar 255 /Widths "+B.API.PDFObject.convert(x.metadata.hmtx.widths)+">>"),C("endobj"),x.isAlreadyPutted=!0}})(w.font,w.out,w.newObject)}]);var p=function(w){var x,C,S=w.text||"",I=w.x,P=w.y,d=w.options||{},_=w.mutex||{},E=_.pdfEscape,F=_.activeFontKey,T=_.fonts,k=(_.activeFontSize,""),K=0,X="",tt=T[C=F].encoding;if(T[C].encoding!=="Identity-H")return{text:S,x:I,y:P,options:d,mutex:_};for(X=S,C=F,Object.prototype.toString.call(S)==="[object Array]"&&(X=S[0]),K=0;K<X.length;K+=1)T[C].metadata.hasOwnProperty("cmap")&&(x=T[C].metadata.cmap.unicode.codeMap[X[K].charCodeAt(0)]),x||X[K].charCodeAt(0)<256&&T[C].metadata.hasOwnProperty("Unicode")?k+=X[K]:k+="";var ft="";return parseInt(C.slice(1))<14||tt==="WinAnsiEncoding"?ft=function(wt){for(var ht="",at=0;at<wt.length;at++)ht+=""+wt.charCodeAt(at).toString(16);return ht}(E(k,C)):tt==="Identity-H"&&(ft=function(wt,ht){for(var at,H=ht.metadata.Unicode.widths,dt=["","0","00","000","0000"],rt=[""],Bt=0,vt=wt.length;Bt<vt;++Bt){if(at=ht.metadata.characterToGlyph(wt.charCodeAt(Bt)),v.push(at),H.indexOf(at)==-1&&(H.push(at),H.push([parseInt(ht.metadata.widthOfGlyph(at),10)])),at=="0")return rt.join("");at=at.toString(16),rt.push(dt[4-at.length],at)}return rt.join("")}(k,T[C])),_.isHex=!0,{text:ft,x:I,y:P,options:d,mutex:_}};D.events.push(["postProcessText",function(w){var x=w.text||"",C=w.x,S=w.y,I=w.options,P=w.mutex,d=(I.lang,[]),_={text:x,x:C,y:S,options:I,mutex:P};if(Object.prototype.toString.call(x)==="[object Array]"){var E=0;for(E=0;E<x.length;E+=1)Object.prototype.toString.call(x[E])==="[object Array]"&&x[E].length===3?d.push([p(Object.assign({},_,{text:x[E][0]})).text,x[E][1],x[E][2]]):d.push(p(Object.assign({},_,{text:x[E]})).text);w.text=d}else w.text=p(Object.assign({},_,{text:x})).text}])}(he,typeof self<"u"&&self||typeof Wn<"u"&&Wn||typeof window<"u"&&window||Function("return this")()),ge=he.API,ue={},ge.existsFileInVFS=function(B){return ue.hasOwnProperty(B)},ge.addFileToVFS=function(B,Q){return ue[B]=Q,this},ge.getFileFromVFS=function(B){return ue.hasOwnProperty(B)?ue[B]:null},function(B){if(B.URL=B.URL||B.webkitURL,B.Blob&&B.URL)try{return new Blob}catch{}var Q=B.BlobBuilder||B.WebKitBlobBuilder||B.MozBlobBuilder||function(v){var p=function(ht){return Object.prototype.toString.call(ht).match(/^\[object\s(.*)\]$/)[1]},w=function(){this.data=[]},x=function(ht,at,H){this.data=ht,this.size=ht.length,this.type=at,this.encoding=H},C=w.prototype,S=x.prototype,I=v.FileReaderSync,P=function(ht){this.code=this[this.name=ht]},d="NOT_FOUND_ERR SECURITY_ERR ABORT_ERR NOT_READABLE_ERR ENCODING_ERR NO_MODIFICATION_ALLOWED_ERR INVALID_STATE_ERR SYNTAX_ERR".split(" "),_=d.length,E=v.URL||v.webkitURL||v,F=E.createObjectURL,T=E.revokeObjectURL,k=E,K=v.btoa,X=v.atob,tt=v.ArrayBuffer,ft=v.Uint8Array,wt=/^[\w-]+:\/*\[?[\w\.:-]+\]?(?::[0-9]+)?/;for(x.fake=S.fake=!0;_--;)P.prototype[d[_]]=_+1;return E.createObjectURL||(k=v.URL=function(ht){var at,H=document.createElementNS("http://www.w3.org/1999/xhtml","a");return H.href=ht,"origin"in H||(H.protocol.toLowerCase()==="data:"?H.origin=null:(at=ht.match(wt),H.origin=at&&at[1])),H}),k.createObjectURL=function(ht){var at,H=ht.type;return H===null&&(H="application/octet-stream"),ht instanceof x?(at="data:"+H,ht.encoding==="base64"?at+";base64,"+ht.data:ht.encoding==="URI"?at+","+decodeURIComponent(ht.data):K?at+";base64,"+K(ht.data):at+","+encodeURIComponent(ht.data)):F?F.call(E,ht):void 0},k.revokeObjectURL=function(ht){ht.substring(0,5)!=="data:"&&T&&T.call(E,ht)},C.append=function(ht){var at=this.data;if(ft&&(ht instanceof tt||ht instanceof ft)){for(var H="",dt=new ft(ht),rt=0,Bt=dt.length;rt<Bt;rt++)H+=String.fromCharCode(dt[rt]);at.push(H)}else if(p(ht)==="Blob"||p(ht)==="File"){if(!I)throw new P("NOT_READABLE_ERR");var vt=new I;at.push(vt.readAsBinaryString(ht))}else ht instanceof x?ht.encoding==="base64"&&X?at.push(X(ht.data)):ht.encoding==="URI"?at.push(decodeURIComponent(ht.data)):ht.encoding==="raw"&&at.push(ht.data):(typeof ht!="string"&&(ht+=""),at.push(unescape(encodeURIComponent(ht))))},C.getBlob=function(ht){return arguments.length||(ht=null),new x(this.data.join(""),ht,"raw")}
3803,C.toString=function(){return"[object BlobBuilder]"},S.slice=function(ht,at,H){var dt=arguments.length;return dt<3&&(H=null),new x(this.data.slice(ht,1<dt?at:this.data.length),H,this.encoding)},S.toString=function(){return"[object Blob]"},S.close=function(){this.size=0,delete this.data},w}(B);B.Blob=function(v,p){var w=p&&p.type||"",x=new Q;if(v)for(var C=0,S=v.length;C<S;C++)Uint8Array&&v[C]instanceof Uint8Array?x.append(v[C].buffer):x.append(v[C]);var I=x.getBlob(w);return!I.slice&&I.webkitSlice&&(I.slice=I.webkitSlice),I};var D=Object.getPrototypeOf||function(v){return v.__proto__};B.Blob.prototype=D(new B.Blob)}(typeof self<"u"&&self||typeof window<"u"&&window||window.content||window);var _e,J,Z,Ct,$t,pt,Ft,te,lt,St,de,Se,Fe,ze,je,$e,Qt=Qt||function(B){if(!(B===void 0||typeof navigator<"u"&&/MSIE [1-9]\./.test(navigator.userAgent))){var Q=B.document,D=function(){return B.URL||B.webkitURL||B},v=Q.createElementNS("http://www.w3.org/1999/xhtml","a"),p="download"in v,w=/constructor/i.test(B.HTMLElement)||B.safari,x=/CriOS\/[\d]+/.test(navigator.userAgent),C=function(_){(B.setImmediate||B.setTimeout)(function(){throw _},0)},S=function(_){setTimeout(function(){typeof _=="string"?D().revokeObjectURL(_):_.remove()},4e4)},I=function(_){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(_.type)?new Blob([String.fromCharCode(65279),_],{type:_.type}):_},P=function(_,E,F){F||(_=I(_));var T,k=this,K=_.type==="application/octet-stream",X=function(){(function(tt,ft,wt){for(var ht=(ft=[].concat(ft)).length;ht--;){var at=tt["on"+ft[ht]];if(typeof at=="function")try{at.call(tt,wt||tt)}catch(H){C(H)}}})(k,"writestart progress write writeend".split(" "))};if(k.readyState=k.INIT,p)return T=D().createObjectURL(_),void setTimeout(function(){var tt,ft;v.href=T,v.download=E,tt=v,ft=new MouseEvent("click"),tt.dispatchEvent(ft),X(),S(T),k.readyState=k.DONE});(function(){if((x||K&&w)&&B.FileReader){var tt=new FileReader;return tt.onloadend=function(){var ft=x?tt.result:tt.result.replace(/^data:[^;]*;/,"data:attachment/file;");B.open(ft,"_blank")||(B.location.href=ft),ft=void 0,k.readyState=k.DONE,X()},tt.readAsDataURL(_),k.readyState=k.INIT}T||(T=D().createObjectURL(_)),K?B.location.href=T:B.open(T,"_blank")||(B.location.href=T),k.readyState=k.DONE,X(),S(T)})()},d=P.prototype;return typeof navigator<"u"&&navigator.msSaveOrOpenBlob?function(_,E,F){return E=E||_.name||"download",F||(_=I(_)),navigator.msSaveOrOpenBlob(_,E)}:(d.abort=function(){},d.readyState=d.INIT=0,d.WRITING=1,d.DONE=2,d.error=d.onwritestart=d.onprogress=d.onwrite=d.onabort=d.onerror=d.onwriteend=null,function(_,E,F){return new P(_,E||_.name||"download",F)})}}(typeof self<"u"&&self||typeof window<"u"&&window||window.content);function Re(B){var Q=0;if(B[Q++]!==71||B[Q++]!==73||B[Q++]!==70||B[Q++]!==56||(B[Q++]+1&253)!=56||B[Q++]!==97)throw"Invalid GIF 87a/89a header.";var D=B[Q++]|B[Q++]<<8,v=B[Q++]|B[Q++]<<8,p=B[Q++],w=p>>7,x=1<<(7&p)+1;B[Q++],B[Q++];var C=null;w&&(C=Q,Q+=3*x);var S=!0,I=[],P=0,d=null,_=0,E=null;for(this.width=D,this.height=v;S&&Q<B.length;)switch(B[Q++]){case 33:switch(B[Q++]){case 255:if(B[Q]!==11||B[Q+1]==78&&B[Q+2]==69&&B[Q+3]==84&&B[Q+4]==83&&B[Q+5]==67&&B[Q+6]==65&&B[Q+7]==80&&B[Q+8]==69&&B[Q+9]==50&&B[Q+10]==46&&B[Q+11]==48&&B[Q+12]==3&&B[Q+13]==1&&B[Q+16]==0)Q+=14,E=B[Q++]|B[Q++]<<8,Q++;else for(Q+=12;(H=B[Q++])!==0;)Q+=H;break;case 249:if(B[Q++]!==4||B[Q+4]!==0)throw"Invalid graphics extension block.";var F=B[Q++];P=B[Q++]|B[Q++]<<8,d=B[Q++],!(1&F)&&(d=null),_=F>>2&7,Q++;break;case 254:for(;(H=B[Q++])!==0;)Q+=H;break;default:throw"Unknown graphic control label: 0x"+B[Q-1].toString(16)}break;case 44:var T=B[Q++]|B[Q++]<<8,k=B[Q++]|B[Q++]<<8,K=B[Q++]|B[Q++]<<8,X=B[Q++]|B[Q++]<<8,tt=B[Q++],ft=tt>>6&1,wt=C,ht=!1;tt>>7&&(ht=!0,wt=Q,Q+=3*(1<<(7&tt)+1));var at=Q;for(Q++;;){var H;if((H=B[Q++])===0)break;Q+=H}I.push({x:T,y:k,width:K,height:X,has_local_palette:ht,palette_offset:wt,data_offset:at,data_length:Q-at,transparent_index:d,interlaced:!!ft,delay:P,disposal:_});break;case 59:S=!1;break;default:throw"Unknown gif block: 0x"+B[Q-1].toString(16)}this.numFrames=function(){return I.length},this.loopCount=function(){return E},this.frameInfo=function(dt){if(dt<0||dt>=I.length)throw"Frame index out of range.";return I[dt]},this.decodeAndBlitFrameBGRA=function(dt,rt){var Bt=this.frameInfo(dt),vt=Bt.width*Bt.height,Kt=new Uint8Array(vt);Qe(B,Bt.data_offset,Kt,vt);var yt=Bt.palette_offset,$=Bt.transparent_index;$===null&&($=256);var z=Bt.width,ct=D-z,q=z,At=4*(Bt.y*D+Bt.x),ot=4*((Bt.y+Bt.height)*D+Bt.x),Pt=At,mt=4*ct;Bt.interlaced===!0&&(mt+=4*(z+ct)*7);for(var qt=8,Mt=0,W=Kt.length;Mt<W;++Mt){var et=Kt[Mt];
3803if(q===0&&(q=z,ot<=(Pt+=mt)&&(mt=ct+4*(z+ct)*(qt-1),Pt=At+(z+ct)*(qt<<1),qt>>=1)),et===$)Pt+=4;else{var M=B[yt+3*et],G=B[yt+3*et+1],Y=B[yt+3*et+2];rt[Pt++]=Y,rt[Pt++]=G,rt[Pt++]=M,rt[Pt++]=255}--q}},this.decodeAndBlitFrameRGBA=function(dt,rt){var Bt=this.frameInfo(dt),vt=Bt.width*Bt.height,Kt=new Uint8Array(vt);Qe(B,Bt.data_offset,Kt,vt);var yt=Bt.palette_offset,$=Bt.transparent_index;$===null&&($=256);var z=Bt.width,ct=D-z,q=z,At=4*(Bt.y*D+Bt.x),ot=4*((Bt.y+Bt.height)*D+Bt.x),Pt=At,mt=4*ct;Bt.interlaced===!0&&(mt+=4*(z+ct)*7);for(var qt=8,Mt=0,W=Kt.length;Mt<W;++Mt){var et=Kt[Mt];if(q===0&&(q=z,ot<=(Pt+=mt)&&(mt=ct+4*(z+ct)*(qt-1),Pt=At+(z+ct)*(qt<<1),qt>>=1)),et===$)Pt+=4;else{var M=B[yt+3*et],G=B[yt+3*et+1],Y=B[yt+3*et+2];rt[Pt++]=M,rt[Pt++]=G,rt[Pt++]=Y,rt[Pt++]=255}--q}}}function Qe(B,Q,D,v){for(var p=B[Q++],w=1<<p,x=w+1,C=x+1,S=p+1,I=(1<<S)-1,P=0,d=0,_=0,E=B[Q++],F=new Int32Array(4096),T=null;;){for(;P<16&&E!==0;)d|=B[Q++]<<P,P+=8,E===1?E=B[Q++]:--E;if(P<S)break;var k=d&I;if(d>>=S,P-=S,k!==w){if(k===x)break;for(var K=k<C?k:T,X=0,tt=K;w<tt;)tt=F[tt]>>8,++X;var ft=tt;if(v<_+X+(K!==k?1:0))return void console.log("Warning, gif stream longer than expected.");D[_++]=ft;var wt=_+=X;for(K!==k&&(D[_++]=ft),tt=K;X--;)tt=F[tt],D[--wt]=255&tt,tt>>=8;T!==null&&C<4096&&(F[C++]=T<<8|ft,I+1<=C&&S<12&&(++S,I=I<<1|1)),T=k}else C=x+1,I=(1<<(S=p+1))-1,T=null}return _!==v&&console.log("Warning, gif stream shorter than expected."),D}n.exports&&(n.exports.saveAs=Qt),he.API.adler32cs=(pt=typeof ArrayBuffer=="function"&&typeof Uint8Array=="function",Ft=null,te=function(){if(!pt)return function(){return!1};try{var B={};typeof B.Buffer=="function"&&(Ft=B.Buffer)}catch{}return function(Q){return Q instanceof ArrayBuffer||Ft!==null&&Q instanceof Ft}}(),lt=Ft!==null?function(B){return new Ft(B,"utf8").toString("binary")}:function(B){return unescape(encodeURIComponent(B))},St=65521,de=function(B,Q){for(var D=65535&B,v=B>>>16,p=0,w=Q.length;p<w;p++)D=(D+(255&Q.charCodeAt(p)))%St,v=(v+D)%St;return(v<<16|D)>>>0},Se=function(B,Q){for(var D=65535&B,v=B>>>16,p=0,w=Q.length;p<w;p++)D=(D+Q[p])%St,v=(v+D)%St;return(v<<16|D)>>>0},ze=(Fe={}).Adler32=((($t=(Ct=function(B){if(!(this instanceof Ct))throw new TypeError("Constructor cannot called be as a function.");if(!isFinite(B=B==null?1:+B))throw new Error("First arguments needs to be a finite number.");this.checksum=B>>>0}).prototype={}).constructor=Ct).from=((_e=function(B){if(!(this instanceof Ct))throw new TypeError("Constructor cannot called be as a function.");if(B==null)throw new Error("First argument needs to be a string.");this.checksum=de(1,B.toString())}).prototype=$t,_e),Ct.fromUtf8=((J=function(B){if(!(this instanceof Ct))throw new TypeError("Constructor cannot called be as a function.");if(B==null)throw new Error("First argument needs to be a string.");var Q=lt(B.toString());this.checksum=de(1,Q)}).prototype=$t,J),pt&&(Ct.fromBuffer=((Z=function(B){if(!(this instanceof Ct))throw new TypeError("Constructor cannot called be as a function.");if(!te(B))throw new Error("First argument needs to be ArrayBuffer.");var Q=new Uint8Array(B);return this.checksum=Se(1,Q)}).prototype=$t,Z)),$t.update=function(B){if(B==null)throw new Error("First argument needs to be a string.");return B=B.toString(),this.checksum=de(this.checksum,B)},$t.updateUtf8=function(B){if(B==null)throw new Error("First argument needs to be a string.");var Q=lt(B.toString());return this.checksum=de(this.checksum,Q)},pt&&($t.updateBuffer=function(B){if(!te(B))throw new Error("First argument needs to be ArrayBuffer.");var Q=new Uint8Array(B);return this.checksum=Se(this.checksum,Q)}),$t.clone=function(){return new ze(this.checksum)},Ct),Fe.from=function(B){if(B==null)throw new Error("First argument needs to be a string.");return de(1,B.toString())},Fe.fromUtf8=function(B){if(B==null)throw new Error("First argument needs to be a string.");var Q=lt(B.toString());return de(1,Q)},pt&&(Fe.fromBuffer=function(B){if(!te(B))throw new Error("First argument need to be ArrayBuffer.");var Q=new Uint8Array(B);return Se(1,Q)}),Fe);try{t.GifWriter=function(B,Q,D,v){var p=0,w=(v=v===void 0?{}:v).loop===void 0?null:v.loop,x=v.palette===void 0?null:v.palette;if(Q<=0||D<=0||65535<Q||65535<D)throw"Width/Height invalid.";function C(T){var k=T.length;if(k<2||256<k||k&k-1)throw"Invalid code/color length, must be power of 2 and 2 .. 256.";return k}B[p++]=71,B[p++]=73,B[p++]=70,B[p++]=56,B[p++]=57,B[p++]=97;var S=0,I=0;if(x!==null){for(var P=C(x);P>>=1;)++S;if(P=1<<S,--S,v.background!==void 0){if(P<=(I=v.background))throw"Backgroun
3803d index out of range.";if(I===0)throw"Background index explicitly passed as 0."}}if(B[p++]=255&Q,B[p++]=Q>>8&255,B[p++]=255&D,B[p++]=D>>8&255,B[p++]=(x!==null?128:0)|S,B[p++]=I,B[p++]=0,x!==null)for(var d=0,_=x.length;d<_;++d){var E=x[d];B[p++]=E>>16&255,B[p++]=E>>8&255,B[p++]=255&E}if(w!==null){if(w<0||65535<w)throw"Loop count invalid.";B[p++]=33,B[p++]=255,B[p++]=11,B[p++]=78,B[p++]=69,B[p++]=84,B[p++]=83,B[p++]=67,B[p++]=65,B[p++]=80,B[p++]=69,B[p++]=50,B[p++]=46,B[p++]=48,B[p++]=3,B[p++]=1,B[p++]=255&w,B[p++]=w>>8&255,B[p++]=0}var F=!1;this.addFrame=function(T,k,K,X,tt,ft){if(F===!0&&(--p,F=!1),ft=ft===void 0?{}:ft,T<0||k<0||65535<T||65535<k)throw"x/y invalid.";if(K<=0||X<=0||65535<K||65535<X)throw"Width/Height invalid.";if(tt.length<K*X)throw"Not enough pixels for the frame size.";var wt=!0,ht=ft.palette;if(ht==null&&(wt=!1,ht=x),ht==null)throw"Must supply either a local or global palette.";for(var at=C(ht),H=0;at>>=1;)++H;at=1<<H;var dt=ft.delay===void 0?0:ft.delay,rt=ft.disposal===void 0?0:ft.disposal;if(rt<0||3<rt)throw"Disposal out of range.";var Bt=!1,vt=0;if(ft.transparent!==void 0&&ft.transparent!==null&&(Bt=!0,(vt=ft.transparent)<0||at<=vt))throw"Transparent color index.";if((rt!==0||Bt||dt!==0)&&(B[p++]=33,B[p++]=249,B[p++]=4,B[p++]=rt<<2|(Bt===!0?1:0),B[p++]=255&dt,B[p++]=dt>>8&255,B[p++]=vt,B[p++]=0),B[p++]=44,B[p++]=255&T,B[p++]=T>>8&255,B[p++]=255&k,B[p++]=k>>8&255,B[p++]=255&K,B[p++]=K>>8&255,B[p++]=255&X,B[p++]=X>>8&255,B[p++]=wt===!0?128|H-1:0,wt===!0)for(var Kt=0,yt=ht.length;Kt<yt;++Kt){var $=ht[Kt];B[p++]=$>>16&255,B[p++]=$>>8&255,B[p++]=255&$}p=function(z,ct,q,At){z[ct++]=q;var ot=ct++,Pt=1<<q,mt=Pt-1,qt=Pt+1,Mt=qt+1,W=q+1,et=0,M=0;function G(ve){for(;ve<=et;)z[ct++]=255&M,M>>=8,et-=8,ct===ot+256&&(z[ot]=255,ot=ct++)}function Y(ve){M|=ve<<et,et+=W,G(8)}var ut=At[0]&mt,Lt={};Y(Pt);for(var Ot=1,ne=At.length;Ot<ne;++Ot){var ae=At[Ot]&mt,ie=ut<<8|ae,Me=Lt[ie];if(Me===void 0){for(M|=ut<<et,et+=W;8<=et;)z[ct++]=255&M,M>>=8,et-=8,ct===ot+256&&(z[ot]=255,ot=ct++);Mt===4096?(Y(Pt),Mt=qt+1,W=q+1,Lt={}):(1<<W<=Mt&&++W,Lt[ie]=Mt++),ut=ae}else ut=Me}return Y(ut),Y(qt),G(1),ot+1===ct?z[ot]=0:(z[ot]=ct-ot-1,z[ct++]=0),ct}(B,p,H<2?2:H,tt)},this.end=function(){return F===!1&&(B[p++]=59,F=!0),p}},t.GifReader=Re}catch{}function me(B){var Q,D,v,p,w,x=Math.floor,C=new Array(64),S=new Array(64),I=new Array(64),P=new Array(64),d=new Array(65535),_=new Array(65535),E=new Array(64),F=new Array(64),T=[],k=0,K=7,X=new Array(64),tt=new Array(64),ft=new Array(64),wt=new Array(256),ht=new Array(2048),at=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],H=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],dt=[0,1,2,3,4,5,6,7,8,9,10,11],rt=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Bt=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],vt=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Kt=[0,1,2,3,4,5,6,7,8,9,10,11],yt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],$=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function z(mt,qt){for(var Mt=0,W=0,et=new Array,M=1;M<=16;M++){for(var G=1;G<=mt[M];G++)et[qt[W]]=[],et[qt[W]][0]=Mt,et[qt[W]][1]=M,W++,Mt++;Mt*=2}return et}function ct(mt){for(var qt=mt[0],Mt=mt[1]-1;0<=Mt;
3803)qt&1<<Mt&&(k|=1<<K),Mt--,--K<0&&(k==255?(q(255),q(0)):q(k),K=7,k=0)}function q(mt){T.push(mt)}function At(mt){q(mt>>8&255),q(255&mt)}function ot(mt,qt,Mt,W,et){for(var M,G=et[0],Y=et[240],ut=function(It,pn){var sn,An,Un,We,un,mn,ln,an,wn,Gn,Ke=0;for(wn=0;wn<8;++wn){sn=It[Ke],An=It[Ke+1],Un=It[Ke+2],We=It[Ke+3],un=It[Ke+4],mn=It[Ke+5],ln=It[Ke+6];var tr=sn+(an=It[Ke+7]),Ii=sn-an,Lr=An+ln,es=An-ln,ii=Un+mn,nt=Un-mn,Rt=We+un,Zt=We-un,Ut=tr+Rt,Tt=tr-Rt,Yt=Lr+ii,se=Lr-ii;It[Ke]=Ut+Yt,It[Ke+4]=Ut-Yt;var ce=.707106781*(se+Tt);It[Ke+2]=Tt+ce,It[Ke+6]=Tt-ce;var Ce=.382683433*((Ut=Zt+nt)-(se=es+Ii)),ke=.5411961*Ut+Ce,Je=1.306562965*se+Ce,Ve=.707106781*(Yt=nt+es),en=Ii+Ve,dn=Ii-Ve;It[Ke+5]=dn+ke,It[Ke+3]=dn-ke,It[Ke+1]=en+Je,It[Ke+7]=en-Je,Ke+=8}for(wn=Ke=0;wn<8;++wn){sn=It[Ke],An=It[Ke+8],Un=It[Ke+16],We=It[Ke+24],un=It[Ke+32],mn=It[Ke+40],ln=It[Ke+48];var Kn=sn+(an=It[Ke+56]),vi=sn-an,yi=An+ln,fl=An-ln,Hn=Un+mn,Qi=Un-mn,hl=We+un,ws=We-un,Zn=Kn+hl,WA=Kn-hl,Ko=yi+Hn,Wo=yi-Hn;It[Ke]=Zn+Ko,It[Ke+32]=Zn-Ko;var qA=.707106781*(Wo+WA);It[Ke+16]=WA+qA,It[Ke+48]=WA-qA;var Li=.382683433*((Zn=ws+Qi)-(Wo=fl+vi)),qc=.5411961*Zn+Li,dl=1.306562965*Wo+Li,jc=.707106781*(Ko=Qi+fl),jA=vi+jc,eA=vi-jc;It[Ke+40]=eA+qc,It[Ke+24]=eA-qc,It[Ke+8]=jA+dl,It[Ke+56]=jA-dl,Ke++}for(wn=0;wn<64;++wn)Gn=It[wn]*pn[wn],E[wn]=0<Gn?Gn+.5|0:Gn-.5|0;return E}(mt,qt),Lt=0;Lt<64;++Lt)F[at[Lt]]=ut[Lt];var Ot=F[0]-Mt;Mt=F[0],Ot==0?ct(W[0]):(ct(W[_[M=32767+Ot]]),ct(d[M]));for(var ne=63;0<ne&&F[ne]==0;ne--);if(ne==0)return ct(G),Mt;for(var ae,ie=1;ie<=ne;){for(var Me=ie;F[ie]==0&&ie<=ne;++ie);var ve=ie-Me;if(16<=ve){ae=ve>>4;
3803for(var He=1;He<=ae;++He)ct(Y);ve&=15}M=32767+F[ie],ct(et[(ve<<4)+_[M]]),ct(d[M]),ie++}return ne!=63&&ct(G),Mt}function Pt(mt){mt<=0&&(mt=1),100<mt&&(mt=100),w!=mt&&(function(qt){for(var Mt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],W=0;W<64;W++){var et=x((Mt[W]*qt+50)/100);et<1?et=1:255<et&&(et=255),C[at[W]]=et}for(var M=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],G=0;G<64;G++){var Y=x((M[G]*qt+50)/100);Y<1?Y=1:255<Y&&(Y=255),S[at[G]]=Y}for(var ut=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Lt=0,Ot=0;Ot<8;Ot++)for(var ne=0;ne<8;ne++)I[Lt]=1/(C[at[Lt]]*ut[Ot]*ut[ne]*8),P[Lt]=1/(S[at[Lt]]*ut[Ot]*ut[ne]*8),Lt++}(mt<50?Math.floor(5e3/mt):Math.floor(200-2*mt)),w=mt)}this.encode=function(mt,qt){var Mt,W;new Date().getTime(),qt&&Pt(qt),T=new Array,k=0,K=7,At(65496),At(65504),At(16),q(74),q(70),q(73),q(70),q(0),q(1),q(1),q(0),At(1),At(1),q(0),q(0),function(){At(65499),At(132),q(0);for(var We=0;We<64;We++)q(C[We]);q(1);for(var un=0;un<64;un++)q(S[un])}(),Mt=mt.width,W=mt.height,At(65472),At(17),q(8),At(W),At(Mt),q(3),q(1),q(17),q(0),q(2),q(17),q(1),q(3),q(17),q(1),function(){At(65476),At(418),q(0);for(var We=0;We<16;We++)q(H[We+1]);for(var un=0;un<=11;un++)q(dt[un]);q(16);for(var mn=0;mn<16;mn++)q(rt[mn+1]);for(var ln=0;ln<=161;ln++)q(Bt[ln]);q(1);for(var an=0;an<16;an++)q(vt[an+1]);for(var wn=0;wn<=11;wn++)q(Kt[wn]);q(17);for(var Gn=0;Gn<16;Gn++)q(yt[Gn+1]);for(var Ke=0;Ke<=161;Ke++)q($[Ke])}(),At(65498),At(12),q(3),q(1),q(0),q(2),q(17),q(3),q(17),q(0),q(63),q(0);var et=0,M=0,G=0;k=0,K=7,this.encode.displayName="_encode_";for(var Y,ut,Lt,Ot,ne,ae,ie,Me,ve,He=mt.data,It=mt.width,pn=mt.height,sn=4*It,An=0;An<pn;){for(Y=0;Y<sn;){for(ae=ne=sn*An+Y,ie=-1,ve=Me=0;ve<64;ve++)ae=ne+(Me=ve>>3)*sn+(ie=4*(7&ve)),pn<=An+Me&&(ae-=sn*(An+1+Me-pn)),sn<=Y+ie&&(ae-=Y+ie-sn+4),ut=He[ae++],Lt=He[ae++],Ot=He[ae++],X[ve]=(ht[ut]+ht[Lt+256>>0]+ht[Ot+512>>0]>>16)-128,tt[ve]=(ht[ut+768>>0]+ht[Lt+1024>>0]+ht[Ot+1280>>0]>>16)-128,ft[ve]=(ht[ut+1280>>0]+ht[Lt+1536>>0]+ht[Ot+1792>>0]>>16)-128;et=ot(X,I,et,Q,v),M=ot(tt,P,M,D,p),G=ot(ft,P,G,D,p),Y+=32}An+=8}if(0<=K){var Un=[];Un[1]=K+1,Un[0]=(1<<K+1)-1,ct(Un)}return At(65497),new Uint8Array(T)},function(){new Date().getTime(),B||(B=50),function(){for(var mt=String.fromCharCode,qt=0;qt<256;qt++)wt[qt]=mt(qt)}(),Q=z(H,dt),D=z(vt,Kt),v=z(rt,Bt),p=z(yt,$),function(){for(var mt=1,qt=2,Mt=1;Mt<=15;Mt++){for(var W=mt;W<qt;W++)_[32767+W]=Mt,d[32767+W]=[],d[32767+W][1]=Mt,d[32767+W][0]=W;for(var et=-(qt-1);et<=-mt;et++)_[32767+et]=Mt,d[32767+et]=[],d[32767+et][1]=Mt,d[32767+et][0]=qt-1+et;mt<<=1,qt<<=1}}(),function(){for(var mt=0;mt<256;mt++)ht[mt]=19595*mt,ht[mt+256>>0]=38470*mt,ht[mt+512>>0]=7471*mt+32768,ht[mt+768>>0]=-11059*mt,ht[mt+1024>>0]=-21709*mt,ht[mt+1280>>0]=32768*mt+8421375,ht[mt+1536>>0]=-27439*mt,ht[mt+1792>>0]=-5329*mt}(),Pt(B),new Date().getTime()}()}try{n.exports=me}catch{}function Ie(B,Q){if(this.pos=0,this.buffer=B,this.datav=new DataView(B.buffer),this.is_with_alpha=!!Q,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}Ie.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var B=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(B);for(var Q=0;Q<B;Q++){var D=this.datav.getUint8(this.pos++,!0),v=this.datav.getUint8(this.pos++,!0),p=this.datav.getUint8(this.pos++,!0),w=this.datav.getUint8(this.pos++,!0);this.palette[Q]={red:p,green:v,blue:D,quad:w}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Ie.prototype.parseBGR=function(){this.pos=this.offset;try{var B="bit"+this.bitPP,Q=this.width*this.height*4;this.data=new Uint8Array(Q),this[B]()}catch(D){console.log("bit decode error:"+D)}},Ie.prototype.bit1=function(){var B=Math.ceil(this.width/8),Q=B%4,D=0<=this.height?this.height-1:-this.height;for(D=this.height-1;0<=D;D--){for(var v=this.bottom_up?D:this.height-1-D,p=0;p<B;p++)for(var w=this.datav.getUint8(this.pos++,!0),x=v*this.width*4+8*p*4,C=0;C<8&&8*p+C<this.width;C++){var S=this.palette[w>>7-C&1];this.data[x+4*C]=S.blue,this.data[x+4*C+1]=S.green,this.data[x+4*C+2]=S.red,this.data[x+4*C+3]=255}Q!=0&&(this.pos+=4-Q)}},Ie.prototype.bit4=function(){for(var B=Math.ceil(this.width/2),Q=B%4,D=this.height-1;0<=D;D--){for(var v=this.bottom_up?D:this.height-1-D,p=0;p<B;p++){var w=this.datav.getUint8(this.pos++,!0),x=v*this.width*4+2*p*4,C=w>>4,S=15&w,I=this.palette[C];if(this.data[x]=I.blue,this.data[x+1]=I.green,this.data[x+2]=I.red,this.data[x+3]=255,2*p+1>=this.width)break;I=this.palette[S],this.data[x+4]=I.blue,this.data[x+4+1]=I.green,this.data[x+4+2]=I.red,this.data[x+4+3]=255}Q!=0&&(this.pos+=4-Q)}},Ie.prototype.bit8=function(){for(var B=this.width%4,Q=this.height-1;0<=Q;Q--){for(var D=this.bottom_up?Q:this.height-1-Q,v=0;v<this.width;v++){var p=this.datav.getUint8(this.pos++,!0),w=D*this.width*4+4*v;if(p<this.palette.length){var x=this.palette[p];this.data[w]=x.red,this.data[w+1]=x.green,this.data[w+2]=x.blue,this.data[w+3]=255}else this.data[w]=255,this.data[w+1]=255,this.data[w+2]=255,this.data[w+3]=255}B!=0&&(this.pos+=4-B)}},Ie.prototype.bit15=function(){for(var B=this.width%3,Q=parseInt("11111",2),D=this.height-1;0<=D;D--){for(var v=this.bottom_up?D:this.height-1-D,p=0;p<this.width;p++){var w=this.datav.getUint16(this.pos,!0);this.pos+=2;var x=(w&Q)/Q*255|0,C=(w>>5&Q)/Q*255|0,S=(w>>10&Q)/Q*255|0,I=w>>15?255:0,P=v*this.width*4+4*p;this.data[P]=S,this.data[P+1]=C,this.data[P+2]=x,this.data[P+3]=I}this.pos+=B}},Ie.prototype.bit16=function(){for(var B=this.width%3,Q=parseInt("11111",2),D=parseInt("111111",2),v=this.height-1;0<=v;v--){for(var p=this.bottom_up?v:this.height-1-v,w=0;w<this.width;w++){var x=this.datav.getUint16(this.pos,!0);this.pos+=2;var C=(x&Q)/Q*255|0,S=(x>>5&D)/D*255|0,I=(x>>11)/Q*255|0,P=p*this.width*4+4*w;this.data[P]=I,this.data[P+1]=S,this.data[P+2]=C,this.data[P+3]=255}this.pos+=B}},Ie.prototype.bit24=function(){for(var B=this.height-1;0<=B;B--){for(var Q=this.bottom_up?B:this.height-1-B,D=0;D<this.width;D++){var v=this.datav.getUint8(this.pos++,!0),p=this.datav.getUint8(this.pos++,!0),w=this.datav.getUint8(this.pos++,!0),x=Q*this.width*4+4*D;this.data[x]=w,this.data[x+1]=p,this.data[x+2]=v,this.data[x+3]=255}this.pos+=this.width%4}},Ie.prototype.bit32=function(){for(var B=this.height-1;0<=B;B--)for(var Q=this.bottom_up?B:this.height-1-B,D=0;D<this.width;D++){var v=this.datav.getUint8(this.pos++,!0),p=this.datav.getUint8(this.pos++,!0),w=this.datav.getUint8(this.pos++,!0),x=this.datav.getUint8(this.pos++,!0),C=Q*this.width*4+4*D;this.data[C]=w,this.data[C+1]=p,this.data[C+2]=v,this.data[C+3]=x}},Ie.prototype.getData=function(){return this.data};try{n.exports=function(B){var Q=new Ie(B);return{data:Q.getData(),width:Q.width,height:Q.height}}}catch{}(function(B){var Q=15,D=573,v=[0,1,2,3,4,4,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,0,16,17,18,18,19,19,20,20,20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29];function p(){var F=this;function T(k,K){for(var X=0;X|=1&k,k>>>=1,X<<=1,0<--K;);return X>>>1}F.build_tree=function(k){var K,X,tt,ft=F.dyn_tree,wt=F.stat_desc.static_tree,ht=F.stat_desc.elems,at=-1;for(k.heap_len=0,k.heap_max=D,K=0;K<ht;K++)ft[2*K]!==0?(k.heap[++k.heap_len]=at=K,k.depth[K]=0):ft[2*K+1]=0;for(;k.heap_len<2;)ft[2*(tt=k.heap[++k.heap_len]=at<2?++at:0)]=1,k.depth[tt]=0,k.opt_len--,wt&&(k.static_len-=wt[2*tt+1]);for(F.max_code=at,K=Math.floor(k.heap_len/2);1<=K;K--)k.pqdownheap(ft,K);for(tt=ht;K=k.heap[1],k.heap[1]=k.heap[k.heap_len--],k.pqdownheap(ft,1),X=k.heap[1],k.heap[--k.heap_max]=K,k.heap[--k.heap_max]=X,ft[2*tt]=ft[2*K]+ft[2*X],k.depth[tt]=Math.max(k.depth[K],k.depth[X])+1,ft[2*K+1]=ft[2*X+1]=tt,k.heap[1]=tt++,k.pqdownheap(ft,1),2<=k.heap_len;);k.heap[--k.heap_max]=k.heap[1],function(H){var dt,rt,Bt,vt,Kt,yt,$=F.dyn_tree,z=F.stat_desc.static_tree,ct=F.stat_desc.extra_bits,q=F.stat_desc.extra_base,At=F.stat_desc.max_length,ot=0;for(vt=0;vt<=Q;vt++)H.bl_count[vt]=0;for($[2*H.heap[H.heap_max]+1]=0,dt=H.heap_max+1;dt<D;dt++)At<(vt=$[2*$[2*(rt=H.heap[dt])+1]+1]+1)&&(vt=At,ot++),$[2*rt+1]=vt,rt>F.max_code||(H.bl_count[vt]++,Kt=0,q<=rt&&(Kt=ct[rt-q]),yt=$[2*rt],H.opt_len+=yt*(vt+Kt),z&&(H.static_len+=yt*(z[2*rt+1]+Kt)));if(ot!==0){do{for(vt=At-1;H.bl_count[vt]===0;)vt--;H.bl_count[vt]--,H.bl_count[vt+1]+=2,H.bl_count[At]--,ot-=2}while(0<ot);for(vt=At;vt!==0;vt--)for(rt=H.bl_count[vt];rt!==0;)(Bt=H.heap[--dt])>F.max_code||($[2*Bt+1]!=vt&&(H.opt_len+=(vt-$[2*Bt+1])*$[2*Bt],$[2*Bt+1]=vt),rt--)}}(k),function(H,dt,rt){var Bt,vt,Kt,yt=[],$=0;for(Bt=1;Bt<=Q;Bt++)yt[Bt]=$=$+rt[Bt-1]<<1;for(vt=0;vt<=dt;vt++)(Kt=H[2*vt+1])!==0&&(H[2*vt]=T(yt[Kt]++,Kt))}(ft,F.max_code,k.bl_count)}
3803}function w(F,T,k,K,X){var tt=this;tt.static_tree=F,tt.extra_bits=T,tt.extra_base=k,tt.elems=K,tt.max_length=X}p._length_code=[0,1,2,3,4,5,6,7,8,8,9,9,10,10,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28],p.base_length=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],p.base_dist=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],p.d_code=function(F){return F<256?v[F]:v[256+(F>>>7)]},p.extra_lbits=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],p.extra_dbits=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],p.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],p.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],w.static_ltree=[12,8,140,8,76,8,204,8,44,8,172,8,108,8,236,8,28,8,156,8,92,8,220,8,60,8,188,8,124,8,252,8,2,8,130,8,66,8,194,8,34,8,162,8,98,8,226,8,18,8,146,8,82,8,210,8,50,8,178,8,114,8,242,8,10,8,138,8,74,8,202,8,42,8,170,8,106,8,234,8,26,8,154,8,90,8,218,8,58,8,186,8,122,8,250,8,6,8,134,8,70,8,198,8,38,8,166,8,102,8,230,8,22,8,150,8,86,8,214,8,54,8,182,8,118,8,246,8,14,8,142,8,78,8,206,8,46,8,174,8,110,8,238,8,30,8,158,8,94,8,222,8,62,8,190,8,126,8,254,8,1,8,129,8,65,8,193,8,33,8,161,8,97,8,225,8,17,8,145,8,81,8,209,8,49,8,177,8,113,8,241,8,9,8,137,8,73,8,201,8,41,8,169,8,105,8,233,8,25,8,153,8,89,8,217,8,57,8,185,8,121,8,249,8,5,8,133,8,69,8,197,8,37,8,165,8,101,8,229,8,21,8,149,8,85,8,213,8,53,8,181,8,117,8,245,8,13,8,141,8,77,8,205,8,45,8,173,8,109,8,237,8,29,8,157,8,93,8,221,8,61,8,189,8,125,8,253,8,19,9,275,9,147,9,403,9,83,9,339,9,211,9,467,9,51,9,307,9,179,9,435,9,115,9,371,9,243,9,499,9,11,9,267,9,139,9,395,9,75,9,331,9,203,9,459,9,43,9,299,9,171,9,427,9,107,9,363,9,235,9,491,9,27,9,283,9,155,9,411,9,91,9,347,9,219,9,475,9,59,9,315,9,187,9,443,9,123,9,379,9,251,9,507,9,7,9,263,9,135,9,391,9,71,9,327,9,199,9,455,9,39,9,295,9,167,9,423,9,103,9,359,9,231,9,487,9,23,9,279,9,151,9,407,9,87,9,343,9,215,9,471,9,55,9,311,9,183,9,439,9,119,9,375,9,247,9,503,9,15,9,271,9,143,9,399,9,79,9,335,9,207,9,463,9,47,9,303,9,175,9,431,9,111,9,367,9,239,9,495,9,31,9,287,9,159,9,415,9,95,9,351,9,223,9,479,9,63,9,319,9,191,9,447,9,127,9,383,9,255,9,511,9,0,7,64,7,32,7,96,7,16,7,80,7,48,7,112,7,8,7,72,7,40,7,104,7,24,7,88,7,56,7,120,7,4,7,68,7,36,7,100,7,20,7,84,7,52,7,116,7,3,8,131,8,67,8,195,8,35,8,163,8,99,8,227,8],w.static_dtree=[0,5,16,5,8,5,24,5,4,5,20,5,12,5,28,5,2,5,18,5,10,5,26,5,6,5,22,5,14,5,30,5,1,5,17,5,9,5,25,5,5,5,21,5,13,5,29,5,3,5,19,5,11,5,27,5,7,5,23,5],w.static_l_desc=new w(w.static_ltree,p.extra_lbits,257,286,Q),w.static_d_desc=new w(w.static_dtree,p.extra_dbits,0,30,Q),w.static_bl_desc=new w(null,p.extra_blbits,0,19,7);function x(F,T,k,K,X){var tt=this;tt.good_length=F,tt.max_lazy=T,tt.nice_length=k,tt.max_chain=K,tt.func=X}var C=[new x(0,0,0,0,0),new x(4,4,8,4,1),new x(4,5,16,8,1),new x(4,6,32,32,1),new x(4,4,16,16,2),new x(8,16,32,32,2),new x(8,16,128,128,2),new x(8,32,128,256,2),new x(32,128,258,1024,2),new x(32,258,258,4096,2)],S=["need dictionary","stream end","","","stream error","data error","","buffer error","",""],I=262;function P(F,T,k,K){var X=F[2*T],tt=F[2*k];return X<tt||X==tt&&K[T]<=K[k]}function d(){var F,T,k,K,X,tt,ft,wt,ht,at,H,dt,rt,Bt,vt,Kt,yt,$,z,ct,q,At,ot,Pt,mt,qt,Mt,W,et,M,G,Y,ut,Lt,Ot,ne,ae,ie,Me,ve,He,It=this,pn=new p,sn=new p,An=new p;function Un(){var Ut;for(Ut=0;Ut<286;Ut++)G[2*Ut]=0;for(Ut=0;Ut<30;Ut++)Y[2*Ut]=0;for(Ut=0;Ut<19;Ut++)ut[2*Ut]=0;
3803G[512]=1,It.opt_len=It.static_len=0,ne=ie=0}function We(Ut,Tt){var Yt,se,ce=-1,Ce=Ut[1],ke=0,Je=7,Ve=4;for(Ce===0&&(Je=138,Ve=3),Ut[2*(Tt+1)+1]=65535,Yt=0;Yt<=Tt;Yt++)se=Ce,Ce=Ut[2*(Yt+1)+1],++ke<Je&&se==Ce||(ke<Ve?ut[2*se]+=ke:se!==0?(se!=ce&&ut[2*se]++,ut[32]++):ke<=10?ut[34]++:ut[36]++,ce=se,(ke=0)===Ce?(Je=138,Ve=3):se==Ce?(Je=6,Ve=3):(Je=7,Ve=4))}function un(Ut){It.pending_buf[It.pending++]=Ut}function mn(Ut){un(255&Ut),un(Ut>>>8&255)}function ln(Ut,Tt){var Yt,se=Tt;16-se<He?(mn(ve|=(Yt=Ut)<<He&65535),ve=Yt>>>16-He,He+=se-16):(ve|=Ut<<He&65535,He+=se)}function an(Ut,Tt){var Yt=2*Ut;ln(65535&Tt[Yt],65535&Tt[Yt+1])}function wn(Ut,Tt){var Yt,se,ce=-1,Ce=Ut[1],ke=0,Je=7,Ve=4;for(Ce===0&&(Je=138,Ve=3),Yt=0;Yt<=Tt;Yt++)if(se=Ce,Ce=Ut[2*(Yt+1)+1],!(++ke<Je&&se==Ce)){if(ke<Ve)for(;an(se,ut),--ke!=0;);else se!==0?(se!=ce&&(an(se,ut),ke--),an(16,ut),ln(ke-3,2)):ke<=10?(an(17,ut),ln(ke-3,3)):(an(18,ut),ln(ke-11,7));ce=se,(ke=0)===Ce?(Je=138,Ve=3):se==Ce?(Je=6,Ve=3):(Je=7,Ve=4)}}function Gn(){He==16?(mn(ve),He=ve=0):8<=He&&(un(255&ve),ve>>>=8,He-=8)}function Ke(Ut,Tt){var Yt,se,ce;if(It.pending_buf[ae+2*ne]=Ut>>>8&255,It.pending_buf[ae+2*ne+1]=255&Ut,It.pending_buf[Lt+ne]=255&Tt,ne++,Ut===0?G[2*Tt]++:(ie++,Ut--,G[2*(p._length_code[Tt]+256+1)]++,Y[2*p.d_code(Ut)]++),(8191&ne)==0&&2<Mt){for(Yt=8*ne,se=q-yt,ce=0;ce<30;ce++)Yt+=Y[2*ce]*(5+p.extra_dbits[ce]);if(Yt>>>=3,ie<Math.floor(ne/2)&&Yt<Math.floor(se/2))return!0}return ne==Ot-1}function tr(Ut,Tt){var Yt,se,ce,Ce,ke=0;if(ne!==0)for(;Yt=It.pending_buf[ae+2*ke]<<8&65280|255&It.pending_buf[ae+2*ke+1],se=255&It.pending_buf[Lt+ke],ke++,Yt===0?an(se,Ut):(an((ce=p._length_code[se])+256+1,Ut),(Ce=p.extra_lbits[ce])!==0&&ln(se-=p.base_length[ce],Ce),an(ce=p.d_code(--Yt),Tt),(Ce=p.extra_dbits[ce])!==0&&ln(Yt-=p.base_dist[ce],Ce)),ke<ne;);an(256,Ut),Me=Ut[513]}function Ii(){8<He?mn(ve):0<He&&un(255&ve),He=ve=0}function Lr(Ut,Tt,Yt){var se,ce,Ce;ln(0+(Yt?1:0),3),se=Ut,ce=Tt,Ce=!0,Ii(),Me=8,Ce&&(mn(ce),mn(~ce)),It.pending_buf.set(wt.subarray(se,se+ce),It.pending),It.pending+=ce}function es(Ut,Tt,Yt){var se,ce,Ce=0;0<Mt?(pn.build_tree(It),sn.build_tree(It),Ce=function(){var ke;for(We(G,pn.max_code),We(Y,sn.max_code),An.build_tree(It),ke=18;3<=ke&&ut[2*p.bl_order[ke]+1]===0;ke--);return It.opt_len+=3*(ke+1)+5+5+4,ke}(),se=It.opt_len+3+7>>>3,(ce=It.static_len+3+7>>>3)<=se&&(se=ce)):se=ce=Tt+5,Tt+4<=se&&Ut!=-1?Lr(Ut,Tt,Yt):ce==se?(ln(2+(Yt?1:0),3),tr(w.static_ltree,w.static_dtree)):(ln(4+(Yt?1:0),3),function(ke,Je,Ve){var en;for(ln(ke-257,5),ln(Je-1,5),ln(Ve-4,4),en=0;en<Ve;en++)ln(ut[2*p.bl_order[en]+1],3);wn(G,ke-1),wn(Y,Je-1)}(pn.max_code+1,sn.max_code+1,Ce+1),tr(G,Y)),Un(),Yt&&Ii()}function ii(Ut){es(0<=yt?yt:-1,q-yt,Ut),yt=q,F.flush_pending()}function nt(){var Ut,Tt,Yt,se;do{if((se=ht-ot-q)===0&&q===0&&ot===0)se=X;else if(se==-1)se--;else if(X+X-I<=q){for(wt.set(wt.subarray(X,X+X),0),At-=X,q-=X,yt-=X,Yt=Ut=rt;Tt=65535&H[--Yt],H[Yt]=X<=Tt?Tt-X:0,--Ut!=0;);for(Yt=Ut=X;Tt=65535&at[--Yt],at[Yt]=X<=Tt?Tt-X:0,--Ut!=0;);se+=X}if(F.avail_in===0)return;Ut=F.read_buf(wt,q+ot,se),3<=(ot+=Ut)&&(dt=((dt=255&wt[q])<<Kt^255&wt[q+1])&vt)}while(ot<I&&F.avail_in!==0)}function Rt(Ut){var Tt,Yt,se=mt,ce=q,Ce=Pt,ke=X-I<q?q-(X-I):0,Je=M,Ve=ft,en=q+258,dn=wt[ce+Ce-1],Kn=wt[ce+Ce];et<=Pt&&(se>>=2),ot<Je&&(Je=ot);do if(wt[(Tt=Ut)+Ce]==Kn&&wt[Tt+Ce-1]==dn&&wt[Tt]==wt[ce]&&wt[++Tt]==wt[ce+1]){ce+=2,Tt++;do;while(wt[++ce]==wt[++Tt]&&wt[++ce]==wt[++Tt]&&wt[++ce]==wt[++Tt]&&wt[++ce]==wt[++Tt]&&wt[++ce]==wt[++Tt]&&wt[++ce]==wt[++Tt]&&wt[++ce]==wt[++Tt]&&wt[++ce]==wt[++Tt]&&ce<en);if(Yt=258-(en-ce),ce=en-258,Ce<Yt){if(At=Ut,Je<=(Ce=Yt))break;dn=wt[ce+Ce-1],Kn=wt[ce+Ce]}}while((Ut=65535&at[Ut&Ve])>ke&&--se!=0);return Ce<=ot?Ce:ot}function Zt(Ut){return Ut.total_in=Ut.total_out=0,Ut.msg=null,It.pending=0,It.pending_out=0,T=113,K=0,pn.dyn_tree=G,pn.stat_desc=w.static_l_desc,sn.dyn_tree=Y,sn.stat_desc=w.static_d_desc,An.dyn_tree=ut,An.stat_desc=w.static_bl_desc,He=ve=0,Me=8,Un(),function(){var Tt;for(ht=2*X,Tt=H[rt-1]=0;Tt<rt-1;Tt++)H[Tt]=0;qt=C[Mt].max_lazy,et=C[Mt].good_length,M=C[Mt].nice_length,mt=C[Mt].max_chain,$=Pt=2,dt=ct=ot=yt=q=0}(),0}
3803It.depth=[],It.bl_count=[],It.heap=[],G=[],Y=[],ut=[],It.pqdownheap=function(Ut,Tt){for(var Yt=It.heap,se=Yt[Tt],ce=Tt<<1;ce<=It.heap_len&&(ce<It.heap_len&&P(Ut,Yt[ce+1],Yt[ce],It.depth)&&ce++,!P(Ut,se,Yt[ce],It.depth));)Yt[Tt]=Yt[ce],Tt=ce,ce<<=1;Yt[Tt]=se},It.deflateInit=function(Ut,Tt,Yt,se,ce,Ce){return se||(se=8),ce||(ce=8),Ce||(Ce=0),Ut.msg=null,Tt==-1&&(Tt=6),ce<1||9<ce||se!=8||Yt<9||15<Yt||Tt<0||9<Tt||Ce<0||2<Ce?-2:(Ut.dstate=It,ft=(X=1<<(tt=Yt))-1,vt=(rt=1<<(Bt=ce+7))-1,Kt=Math.floor((Bt+3-1)/3),wt=new Uint8Array(2*X),at=[],H=[],Ot=1<<ce+6,It.pending_buf=new Uint8Array(4*Ot),k=4*Ot,ae=Math.floor(Ot/2),Lt=3*Ot,Mt=Tt,W=Ce,Zt(Ut))},It.deflateEnd=function(){return T!=42&&T!=113&&T!=666?-2:(It.pending_buf=null,wt=at=H=null,It.dstate=null,T==113?-3:0)},It.deflateParams=function(Ut,Tt,Yt){var se=0;return Tt==-1&&(Tt=6),Tt<0||9<Tt||Yt<0||2<Yt?-2:(C[Mt].func!=C[Tt].func&&Ut.total_in!==0&&(se=Ut.deflate(1)),Mt!=Tt&&(qt=C[Mt=Tt].max_lazy,et=C[Mt].good_length,M=C[Mt].nice_length,mt=C[Mt].max_chain),W=Yt,se)},It.deflateSetDictionary=function(Ut,Tt,Yt){var se,ce=Yt,Ce=0;if(!Tt||T!=42)return-2;if(ce<3)return 0;for(X-I<ce&&(Ce=Yt-(ce=X-I)),wt.set(Tt.subarray(Ce,Ce+ce),0),yt=q=ce,dt=((dt=255&wt[0])<<Kt^255&wt[1])&vt,se=0;se<=ce-3;se++)dt=(dt<<Kt^255&wt[se+2])&vt,at[se&ft]=H[dt],H[dt]=se;return 0},It.deflate=function(Ut,Tt){var Yt,se,ce,Ce,ke,Je;if(4<Tt||Tt<0)return-2;if(!Ut.next_out||!Ut.next_in&&Ut.avail_in!==0||T==666&&Tt!=4)return Ut.msg=S[4],-2;if(Ut.avail_out===0)return Ut.msg=S[7],-5;if(F=Ut,Ce=K,K=Tt,T==42&&(se=8+(tt-8<<4)<<8,3<(ce=(Mt-1&255)>>1)&&(ce=3),se|=ce<<6,q!==0&&(se|=32),T=113,un((Je=se+=31-se%31)>>8&255),un(255&Je)),It.pending!==0){if(F.flush_pending(),F.avail_out===0)return K=-1,0}else if(F.avail_in===0&&Tt<=Ce&&Tt!=4)return F.msg=S[7],-5;if(T==666&&F.avail_in!==0)return Ut.msg=S[7],-5;if(F.avail_in!==0||ot!==0||Tt!=0&&T!=666){switch(ke=-1,C[Mt].func){case 0:ke=function(Ve){var en,dn=65535;for(k-5<dn&&(dn=k-5);;){if(ot<=1){if(nt(),ot===0&&Ve==0)return 0;if(ot===0)break}
3803if(q+=ot,en=yt+dn,((ot=0)===q||en<=q)&&(ot=q-en,q=en,ii(!1),F.avail_out===0)||X-I<=q-yt&&(ii(!1),F.avail_out===0))return 0}return ii(Ve==4),F.avail_out===0?Ve==4?2:0:Ve==4?3:1}(Tt);break;case 1:ke=function(Ve){for(var en,dn=0;;){if(ot<I){if(nt(),ot<I&&Ve==0)return 0;if(ot===0)break}if(3<=ot&&(dt=(dt<<Kt^255&wt[q+2])&vt,dn=65535&H[dt],at[q&ft]=H[dt],H[dt]=q),dn!==0&&(q-dn&65535)<=X-I&&W!=2&&($=Rt(dn)),3<=$)if(en=Ke(q-At,$-3),ot-=$,$<=qt&&3<=ot){for($--;dt=(dt<<Kt^255&wt[++q+2])&vt,dn=65535&H[dt],at[q&ft]=H[dt],H[dt]=q,--$!=0;);q++}else q+=$,$=0,dt=((dt=255&wt[q])<<Kt^255&wt[q+1])&vt;else en=Ke(0,255&wt[q]),ot--,q++;if(en&&(ii(!1),F.avail_out===0))return 0}return ii(Ve==4),F.avail_out===0?Ve==4?2:0:Ve==4?3:1}(Tt);break;case 2:ke=function(Ve){for(var en,dn,Kn=0;;){if(ot<I){if(nt(),ot<I&&Ve==0)return 0;if(ot===0)break}if(3<=ot&&(dt=(dt<<Kt^255&wt[q+2])&vt,Kn=65535&H[dt],at[q&ft]=H[dt],H[dt]=q),Pt=$,z=At,$=2,Kn!==0&&Pt<qt&&(q-Kn&65535)<=X-I&&(W!=2&&($=Rt(Kn)),$<=5&&(W==1||$==3&&4096<q-At)&&($=2)),3<=Pt&&$<=Pt){for(dn=q+ot-3,en=Ke(q-1-z,Pt-3),ot-=Pt-1,Pt-=2;++q<=dn&&(dt=(dt<<Kt^255&wt[q+2])&vt,Kn=65535&H[dt],at[q&ft]=H[dt],H[dt]=q),--Pt!=0;);if(ct=0,$=2,q++,en&&(ii(!1),F.avail_out===0))return 0}else if(ct!==0){if((en=Ke(0,255&wt[q-1]))&&ii(!1),q++,ot--,F.avail_out===0)return 0}else ct=1,q++,ot--}return ct!==0&&(en=Ke(0,255&wt[q-1]),ct=0),ii(Ve==4),F.avail_out===0?Ve==4?2:0:Ve==4?3:1}(Tt)}if(ke!=2&&ke!=3||(T=666),ke==0||ke==2)return F.avail_out===0&&(K=-1),0;if(ke==1){if(Tt==1)ln(2,3),an(256,w.static_ltree),Gn(),1+Me+10-He<9&&(ln(2,3),an(256,w.static_ltree),Gn()),Me=7;else if(Lr(0,0,!1),Tt==3)for(Yt=0;Yt<rt;Yt++)H[Yt]=0;if(F.flush_pending(),F.avail_out===0)return K=-1,0}}return Tt!=4?0:1}}function _(){var F=this;F.next_in_index=0,F.next_out_index=0,F.avail_in=0,F.total_in=0,F.avail_out=0,F.total_out=0}_.prototype={deflateInit:function(F,T){return this.dstate=new d,T||(T=Q),this.dstate.deflateInit(this,F,T)},deflate:function(F){return this.dstate?this.dstate.deflate(this,F):-2},deflateEnd:function(){if(!this.dstate)return-2;var F=this.dstate.deflateEnd();return this.dstate=null,F},deflateParams:function(F,T){return this.dstate?this.dstate.deflateParams(this,F,T):-2},deflateSetDictionary:function(F,T){return this.dstate?this.dstate.deflateSetDictionary(this,F,T):-2},read_buf:function(F,T,k){var K=this,X=K.avail_in;return k<X&&(X=k),X===0?0:(K.avail_in-=X,F.set(K.next_in.subarray(K.next_in_index,K.next_in_index+X),T),K.next_in_index+=X,K.total_in+=X,X)},flush_pending:function(){var F=this,T=F.dstate.pending;T>F.avail_out&&(T=F.avail_out),T!==0&&(F.next_out.set(F.dstate.pending_buf.subarray(F.dstate.pending_out,F.dstate.pending_out+T),F.next_out_index),F.next_out_index+=T,F.dstate.pending_out+=T,F.total_out+=T,F.avail_out-=T,F.dstate.pending-=T,F.dstate.pending===0&&(F.dstate.pending_out=0))}};var E=B.zip||B;E.Deflater=E._jzlib_Deflater=function(F){var T=new _,k=new Uint8Array(512),K=F?F.level:-1;K===void 0&&(K=-1),T.deflateInit(K),T.next_out=k,this.append=function(X,tt){var ft,wt=[],ht=0,at=0,H=0;if(X.length){T.next_in_index=0,T.next_in=X,T.avail_in=X.length;do{if(T.next_out_index=0,T.avail_out=512,T.deflate(0)!=0)throw new Error("deflating: "+T.msg);T.next_out_index&&(T.next_out_index==512?wt.push(new Uint8Array(k)):wt.push(new Uint8Array(k.subarray(0,T.next_out_index)))),H+=T.next_out_index,tt&&0<T.next_in_index&&T.next_in_index!=ht&&(tt(T.next_in_index),ht=T.next_in_index)}while(0<T.avail_in||T.avail_out===0);return ft=new Uint8Array(H),wt.forEach(function(dt){ft.set(dt,at),at+=dt.length}),ft}},this.flush=function(){var X,tt,ft=[],wt=0,ht=0;do{if(T.next_out_index=0,T.avail_out=512,(X=T.deflate(4))!=1&&X!=0)throw new Error("deflating: "+T.msg);0<512-T.avail_out&&ft.push(new Uint8Array(k.subarray(0,T.next_out_index))),ht+=T.next_out_index}while(0<T.avail_in||T.avail_out===0);return T.deflateEnd(),tt=new Uint8Array(ht),ft.forEach(function(at){tt.set(at,wt),wt+=at.length}),tt}}})(typeof self<"u"&&self||typeof window<"u"&&window||typeof Wn<"u"&&Wn||Function('return typeof this === "object" && this.content')()||Function("return this")()),function(B){function Q(D){var v;this.ok=!1,D.charAt(0)=="#"&&(D=D.substr(1,6)),D=(D=D.replace(/ /g,"")).toLowerCase();var p={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee9
38030",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};for(var w in p)D==w&&(D=p[w]);for(var x=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(d){return[parseInt(d[1]),parseInt(d[2]),parseInt(d[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(d){return[parseInt(d[1],16),parseInt(d[2],16),parseInt(d[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(d){return[parseInt(d[1]+d[1],16),parseInt(d[2]+d[2],16),parseInt(d[3]+d[3],16)]}}],C=0;C<x.length;C++){var S=x[C].re,I=x[C].process,P=S.exec(D);P&&(v=I(P),this.r=v[0],this.g=v[1],this.b=v[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:255<this.r?255:this.r,this.g=this.g<0||isNaN(this.g)?0:255<this.g?255:this.g,this.b=this.b<0||isNaN(this.b)?0:255<this.b?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var d=this.r.toString(16),_=this.g.toString(16),E=this.b.toString(16);return d.length==1&&(d="0"+d),_.length==1&&(_="0"+_),E.length==1&&(E="0"+E),"#"+d+_+E},this.getHelpXML=function(){for(var d=new Array,_=0;_<x.length;_++)for(var E=x[_].example,F=0;F<E.length;F++)d[d.length]=E[F];for(var T in p)d[d.length]=T;var k=document.createElement("ul");for(k.setAttribute("id","rgbcolor-examples"),_=0;_<d.length;_++)try{var K=document.createElement("li"),X=new Q(d[_]),tt=document.createElement("div");tt.style.cssText="margin: 3px; border: 1px solid black; background:"+X.toHex()+"; color:"+X.toHex(),tt.appendChild(document.createTextNode("test"));var ft=document.createTextNode(" "+d[_]+" -> "+X.toRGB()+" -> "+X.toHex());K.appendChild(tt),K.appendChild(ft),k.appendChild(K)}catch{}return k}}n.exports&&(n.exports=Q),B.RGBColor=Q}(typeof self<"u"&&self||typeof window<"u"&&window||typeof Wn<"u"&&Wn||Function('return typeof this === "object" && this.content')()||Function("return this")()),function(B){n.exports=B()}(function(){return function B(Q,D,v){function p(C,S){if(!D[C]){if(!Q[C]){var I=typeof Mu=="function"&Μif(!S&&I)return I(C,!0);if(w)return w(C,!0);var P=new Error("Cannot find module '"+C+"'");throw P.code="MODULE_NOT_FOUND",P}var d=D[C]={exports:{}};Q[C][0].call(d.exports,function(_){var E=Q[C][1][_];return p(E||_)},d,d.exports,B,Q,D,v)}return D[C].exports}for(var w=typeof Mu=="function"&&Mu,x=0;x<v.length;x++)p(v[x]);return p}({1:[function(B,Q,D){(function(v){(function(p){var w=typeof D=="object"&&D,x=typeof Q=="object"&&Q&&Q.exports==w&&Q,C=typeof v=="object"&&v;C.global!==C&&C.window!==C||(p=C);var S,I,P=2147483647,d=36,_=1,E=26,F=38,T=700,k=72,K=128,X="-",tt=/^xn--/,ft=/[^ -~]/,wt=/\x2E|\u3002|\uFF0E|\uFF61/g,ht={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >
3803= 0x80 (not a basic code point)","invalid-input":"Invalid input"},at=d-_,H=Math.floor,dt=String.fromCharCode;function rt(At){throw RangeError(ht[At])}function Bt(At,ot){for(var Pt=At.length;Pt--;)At[Pt]=ot(At[Pt]);return At}function vt(At,ot){return Bt(At.split(wt),ot).join(".")}function Kt(At){for(var ot,Pt,mt=[],qt=0,Mt=At.length;qt<Mt;)55296<=(ot=At.charCodeAt(qt++))&&ot<=56319&&qt<Mt?(64512&(Pt=At.charCodeAt(qt++)))==56320?mt.push(((1023&ot)<<10)+(1023&Pt)+65536):(mt.push(ot),qt--):mt.push(ot);return mt}function yt(At){return Bt(At,function(ot){var Pt="";return 65535<ot&&(Pt+=dt((ot-=65536)>>>10&1023|55296),ot=56320|1023&ot),Pt+=dt(ot)}).join("")}function $(At,ot){return At+22+75*(At<26)-((ot!=0)<<5)}function z(At,ot,Pt){var mt=0;for(At=Pt?H(At/T):At>>1,At+=H(At/ot);at*E>>1<At;mt+=d)At=H(At/at);return H(mt+(at+1)*At/(At+F))}function ct(At){var ot,Pt,mt,qt,Mt,W,et,M,G,Y,ut,Lt=[],Ot=At.length,ne=0,ae=K,ie=k;for((Pt=At.lastIndexOf(X))<0&&(Pt=0),mt=0;mt<Pt;++mt)128<=At.charCodeAt(mt)&&rt("not-basic"),Lt.push(At.charCodeAt(mt));for(qt=0<Pt?Pt+1:0;qt<Ot;){for(Mt=ne,W=1,et=d;Ot<=qt&&rt("invalid-input"),ut=At.charCodeAt(qt++),(d<=(M=ut-48<10?ut-22:ut-65<26?ut-65:ut-97<26?ut-97:d)||M>H((P-ne)/W))&&rt("overflow"),ne+=M*W,!(M<(G=et<=ie?_:ie+E<=et?E:et-ie));et+=d)W>H(P/(Y=d-G))&&rt("overflow"),W*=Y;ie=z(ne-Mt,ot=Lt.length+1,Mt==0),H(ne/ot)>P-ae&&rt("overflow"),ae+=H(ne/ot),ne%=ot,Lt.splice(ne++,0,ae)}return yt(Lt)}function q(At){var ot,Pt,mt,qt,Mt,W,et,M,G,Y,ut,Lt,Ot,ne,ae,ie=[];for(Lt=(At=Kt(At)).length,ot=K,Mt=k,W=Pt=0;W<Lt;++W)(ut=At[W])<128&&ie.push(dt(ut));for(mt=qt=ie.length,qt&&ie.push(X);mt<Lt;){for(et=P,W=0;W<Lt;++W)ot<=(ut=At[W])&&ut<et&&(et=ut);for(et-ot>H((P-Pt)/(Ot=mt+1))&&rt("overflow"),Pt+=(et-ot)*Ot,ot=et,W=0;W<Lt;++W)if((ut=At[W])<ot&&++Pt>P&&rt("overflow"),ut==ot){for(M=Pt,G=d;!(M<(Y=G<=Mt?_:Mt+E<=G?E:G-Mt));G+=d)ae=M-Y,ne=d-Y,ie.push(dt($(Y+ae%ne,0))),M=H(ae/ne);ie.push(dt($(M,0))),Mt=z(Pt,Ot,mt==qt),Pt=0,++mt}++Pt,++ot}return ie.join("")}if(S={version:"1.2.4",ucs2:{decode:Kt,encode:yt},decode:ct,encode:q,toASCII:function(At){return vt(At,function(ot){return ft.test(ot)?"xn--"+q(ot):ot})},toUnicode:function(At){return vt(At,function(ot){return tt.test(ot)?ct(ot.slice(4).toLowerCase()):ot})}},w&&!w.nodeType)if(x)x.exports=S;else for(I in S)S.hasOwnProperty(I)&&(w[I]=S[I]);else p.punycode=S})(this)}).call(this,typeof Wn<"u"?Wn:typeof self<"u"?self:typeof window<"u"?window:{})},{}],2:[function(B,Q,D){var v=B("./log");function p(w,x){for(var C=w.nodeType===3?document.createTextNode(w.nodeValue):w.cloneNode(!1),S=w.firstChild;S;)x!==!0&&S.nodeType===1&&S.nodeName==="SCRIPT"||C.appendChild(p(S,x)),S=S.nextSibling;return w.nodeType===1&&(C._scrollTop=w.scrollTop,C._scrollLeft=w.scrollLeft,w.nodeName==="CANVAS"?function(I,P){try{P&&(P.width=I.width,P.height=I.height,P.getContext("2d").putImageData(I.getContext("2d").getImageData(0,0,I.width,I.height),0,0))}catch(d){v("Unable to copy canvas content from",I,d)}}(w,C):w.nodeName!=="TEXTAREA"&&w.nodeName!=="SELECT"||(C.value=w.value)),C}Q.exports=function(w,x,C,S,I,P,d){var _=p(w.documentElement,I.javascriptEnabled),E=x.createElement("iframe");return E.className="html2canvas-container",E.style.visibility="hidden",E.style.position="fixed",E.style.left="-10000px",E.style.top="0px",E.style.border="0",E.width=C,E.height=S,E.scrolling="no",x.body.appendChild(E),new Promise(function(F){var T,k,K,X=E.contentWindow.document;E.contentWindow.onload=E.onload=function(){var tt=setInterval(function(){0<X.body.childNodes.length&&(function ft(wt){if(wt.nodeType===1){wt.scrollTop=wt._scrollTop,wt.scrollLeft=wt._scrollLeft;for(var ht=wt.firstChild;ht;)ft(ht),ht=ht.nextSibling}}(X.documentElement),clearInterval(tt),I.type==="view"&&(E.contentWindow.scrollTo(P,d),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||E.contentWindow.scrollY===d&&E.contentWindow.scrollX===P||(X.documentElement.style.top=-d+"px",X.documentElement.style.left=-P+"px",X.documentElement.style.position="absolute")),F(E))},50)},X.open(),X.write("<!DOCTYPE html><html></html>"),k=P,K=d,!(T=w).defaultView||k===T.defaultView.pageXOffset&&K===T.defaultView.pageYOffset||T.defaultView.scrollTo(k,K),X.replaceChild(X.adoptNode(_),X.documentElement),X.close()})}},{"./log":13}
3803],3:[function(B,Q,D){function v(I){this.r=0,this.g=0,this.b=0,this.a=null,this.fromArray(I)||this.namedColor(I)||this.rgb(I)||this.rgba(I)||this.hex6(I)||this.hex3(I)}v.prototype.darken=function(I){var P=1-I;return new v([Math.round(this.r*P),Math.round(this.g*P),Math.round(this.b*P),this.a])},v.prototype.isTransparent=function(){return this.a===0},v.prototype.isBlack=function(){return this.r===0&&this.g===0&&this.b===0},v.prototype.fromArray=function(I){return Array.isArray(I)&&(this.r=Math.min(I[0],255),this.g=Math.min(I[1],255),this.b=Math.min(I[2],255),3<I.length&&(this.a=I[3])),Array.isArray(I)};var p=/^#([a-f0-9]{3})$/i;v.prototype.hex3=function(I){var P;return(P=I.match(p))!==null&&(this.r=parseInt(P[1][0]+P[1][0],16),this.g=parseInt(P[1][1]+P[1][1],16),this.b=parseInt(P[1][2]+P[1][2],16)),P!==null};var w=/^#([a-f0-9]{6})$/i;v.prototype.hex6=function(I){var P=null;return(P=I.match(w))!==null&&(this.r=parseInt(P[1].substring(0,2),16),this.g=parseInt(P[1].substring(2,4),16),this.b=parseInt(P[1].substring(4,6),16)),P!==null};var x=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/;v.prototype.rgb=function(I){var P;return(P=I.match(x))!==null&&(this.r=Number(P[1]),this.g=Number(P[2]),this.b=Number(P[3])),P!==null};var C=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?\.?\d+)\s*\)$/;v.prototype.rgba=function(I){var P;return(P=I.match(C))!==null&&(this.r=Number(P[1]),this.g=Number(P[2]),this.b=Number(P[3]),this.a=Number(P[4])),P!==null},v.prototype.toString=function(){return this.a!==null&&this.a!==1?"rgba("+[this.r,this.g,this.b,this.a].join(",")+")":"rgb("+[this.r,this.g,this.b].join(",")+")"},v.prototype.namedColor=function(I){I=I.toLowerCase();var P=S[I];if(P)this.r=P[0],this.g=P[1],this.b=P[2];else if(I==="transparent")return this.r=this.g=this.b=this.a=0,!0;return!!P},v.prototype.isColor=!0;var S={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],ol
3803ive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};Q.exports=v},{}],4:[function(B,Q,D){var v=B("./support"),p=B("./renderers/canvas"),w=B("./imageloader"),x=B("./nodeparser"),C=B("./nodecontainer"),S=B("./log"),I=B("./utils"),P=B("./clone"),d=B("./proxy").loadUrlDocument,_=I.getBounds,E="data-html2canvas-node",F=0;function T(tt,ft){var wt,ht,at=F++;if((ft=ft||{}).logging&&(S.options.logging=!0,S.options.start=Date.now()),ft.async=ft.async===void 0||ft.async,ft.allowTaint=ft.allowTaint!==void 0&&ft.allowTaint,ft.removeContainer=ft.removeContainer===void 0||ft.removeContainer,ft.javascriptEnabled=ft.javascriptEnabled!==void 0&&ft.javascriptEnabled,ft.imageTimeout=ft.imageTimeout===void 0?1e4:ft.imageTimeout,ft.renderer=typeof ft.renderer=="function"?ft.renderer:p,ft.strict=!!ft.strict,typeof tt=="string"){if(typeof ft.proxy!="string")return Promise.reject("Proxy must be used when rendering url");var H=ft.width!=null?ft.width:window.innerWidth,dt=ft.height!=null?ft.height:window.innerHeight;return d((wt=tt,ht=document.createElement("a"),ht.href=wt,ht.href=ht.href,ht),ft.proxy,document,H,dt,ft).then(function(z){return K(z.contentWindow.document.documentElement,z,ft,H,dt)})}var rt,Bt,vt,Kt,yt,$=(tt===void 0?[document.documentElement]:tt.length?tt:[tt])[0];return $.setAttribute(E+at,at),(rt=$.ownerDocument,Bt=ft,vt=$.ownerDocument.defaultView.innerWidth,Kt=$.ownerDocument.defaultView.innerHeight,yt=at,P(rt,rt,vt,Kt,Bt,rt.defaultView.pageXOffset,rt.defaultView.pageYOffset).then(function(z){S("Document cloned");var ct=E+yt,q="["+ct+"='"+yt+"']";rt.querySelector(q).removeAttribute(ct);var At=z.contentWindow,ot=At.document.querySelector(q),Pt=typeof Bt.onclone=="function"?Promise.resolve(Bt.onclone(At.document)):Promise.resolve(!0);return Pt.then(function(){return K(ot,z,Bt,vt,Kt)})})).then(function(z){return typeof ft.onrendered=="function"&&(S("options.onrendered is deprecated, html2canvas returns a Promise containing the canvas"),ft.onrendered(z)),z})}T.CanvasRenderer=p,T.NodeContainer=C,T.log=S,T.utils=I;var k=typeof document>"u"||typeof Object.create!="function"||typeof document.createElement("canvas").getContext!="function"?function(){return Promise.reject("No canvas support")}:T;function K(tt,ft,wt,ht,at){var H,dt,rt=ft.contentWindow,Bt=new v(rt.document),vt=new w(wt,Bt),Kt=_(tt),yt=wt.type==="view"?ht:(H=rt.document,Math.max(Math.max(H.body.scrollWidth,H.documentElement.scrollWidth),Math.max(H.body.offsetWidth,H.documentElement.offsetWidth),Math.max(H.body.clientWidth,H.documentElement.clientWidth))),$=wt.type==="view"?at:(dt=rt.document,Math.max(Math.max(dt.body.scrollHeight,dt.documentElement.scrollHeight),Math.max(dt.body.offsetHeight,dt.documentElement.offsetHeight),Math.max(dt.body.clientHeight,dt.documentElement.clientHeight))),z=new wt.renderer(yt,$,vt,wt,document);return new x(tt,z,Bt,vt,wt).ready.then(function(){var ct,q;return S("Finished rendering"),ct=wt.type==="view"?X(z.canvas,{width:z.canvas.width,height:z.canvas.height,top:0,left:0,x:0,y:0}):tt===rt.document.body||tt===rt.document.documentElement||wt.canvas!=null?z.canvas:X(z.canvas,{width:wt.width!=null?wt.width:Kt.width,height:wt.height!=null?wt.height:Kt.height,top:Kt.top,left
3803:Kt.left,x:0,y:0}),q=ft,wt.removeContainer&&(q.parentNode.removeChild(q),S("Cleaned up container")),ct})}function X(tt,ft){var wt=document.createElement("canvas"),ht=Math.min(tt.width-1,Math.max(0,ft.left)),at=Math.min(tt.width,Math.max(1,ft.left+ft.width)),H=Math.min(tt.height-1,Math.max(0,ft.top)),dt=Math.min(tt.height,Math.max(1,ft.top+ft.height));wt.width=ft.width,wt.height=ft.height;var rt=at-ht,Bt=dt-H;return S("Cropping canvas at:","left:",ft.left,"top:",ft.top,"width:",rt,"height:",Bt),S("Resulting crop with width",ft.width,"and height",ft.height,"with x",ht,"and y",H),wt.getContext("2d").drawImage(tt,ht,H,rt,Bt,ft.x,ft.y,rt,Bt),wt}Q.exports=k},{"./clone":2,"./imageloader":11,"./log":13,"./nodecontainer":14,"./nodeparser":15,"./proxy":16,"./renderers/canvas":20,"./support":22,"./utils":26}],5:[function(B,Q,D){var v=B("./log"),p=B("./utils").smallImage;Q.exports=function w(x){if(this.src=x,v("DummyImageContainer for",x),!this.promise||!this.image){v("Initiating DummyImageContainer"),w.prototype.image=new Image;var C=this.image;w.prototype.promise=new Promise(function(S,I){C.onload=S,C.onerror=I,C.src=p(),C.complete===!0&&S(C)})}}},{"./log":13,"./utils":26}],6:[function(B,Q,D){var v=B("./utils").smallImage;Q.exports=function(p,w){var x,C,S=document.createElement("div"),I=document.createElement("img"),P=document.createElement("span"),d="Hidden Text";S.style.visibility="hidden",S.style.fontFamily=p,S.style.fontSize=w,S.style.margin=0,S.style.padding=0,document.body.appendChild(S),I.src=v(),I.width=1,I.height=1,I.style.margin=0,I.style.padding=0,I.style.verticalAlign="baseline",P.style.fontFamily=p,P.style.fontSize=w,P.style.margin=0,P.style.padding=0,P.appendChild(document.createTextNode(d)),S.appendChild(P),S.appendChild(I),x=I.offsetTop-P.offsetTop+1,S.removeChild(P),S.appendChild(document.createTextNode(d)),S.style.lineHeight="normal",I.style.verticalAlign="super",C=I.offsetTop-S.offsetTop+1,document.body.removeChild(S),this.baseline=x,this.lineWidth=1,this.middle=C}},{"./utils":26}],7:[function(B,Q,D){var v=B("./font");function p(){this.data={}}p.prototype.getMetrics=function(w,x){return this.data[w+"-"+x]===void 0&&(this.data[w+"-"+x]=new v(w,x)),this.data[w+"-"+x]},Q.exports=p},{"./font":6}],8:[function(B,Q,D){var v=B("./utils").getBounds,p=B("./proxy").loadUrlDocument;function w(x,C,S){this.image=null,this.src=x;var I=this,P=v(x);this.promise=(C?new Promise(function(d){x.contentWindow.document.URL==="about:blank"||x.contentWindow.document.documentElement==null?x.contentWindow.onload=x.onload=function(){d(x)}:d(x)}):this.proxyLoad(S.proxy,P,S)).then(function(d){return B("./core")(d.contentWindow.document.documentElement,{type:"view",width:d.width,height:d.height,proxy:S.proxy,javascriptEnabled:S.javascriptEnabled,removeContainer:S.removeContainer,allowTaint:S.allowTaint,imageTimeout:S.imageTimeout/2})}).then(function(d){return I.image=d})}w.prototype.proxyLoad=function(x,C,S){var I=this.src;return p(I.src,x,I.ownerDocument,C.width,C.height,S)},Q.exports=w},{"./core":4,"./proxy":16,"./utils":26}],9:[function(B,Q,D){function v(p){this.src=p.value,this.colorStops=[],this.type=null,this.x0=.5,this.y0=.5,this.x1=.5,this.y1=.5,this.promise=Promise.resolve(!0)}v.TYPES={LINEAR:1,RADIAL:2},v.REGEXP_COLORSTOP=/^\s*(rgba?\(\s*\d{1,3},\s*\d{1,3},\s*\d{1,3}(?:,\s*[0-9\.]+)?\s*\)|[a-z]{3,20}|#[a-f0-9]{3,6})(?:\s+(\d{1,3}(?:\.\d+)?)(%|px)?)?(?:\s|$)/i,Q.exports=v},{}],10:[function(B,Q,D){Q.exports=function(v,p){this.src=v,this.image=new Image;var w=this;this.tainted=null,this.promise=new Promise(function(x,C){w.image.onload=x,w.image.onerror=C,p&&(w.image.crossOrigin="anonymous"),w.image.src=v,w.image.complete===!0&&x(w.image)})}},{}],11:[function(B,Q,D){var v=B("./log"),p=B("./imagecontainer"),w=B("./dummyimagecontainer"),x=B("./proxyimagecontainer"),C=B("./framecontainer"),S=B("./svgcontainer"),I=B("./svgnodecontainer"),P=B("./lineargradientcontainer"),d=B("./webkitgradientcontainer"),_=B("./utils").bind;function E(F,T){this.link=null,this.options=F,this.support=T,this.origin=this.getOrigin(window.location.href)}E.prototype.findImages=function(F){var T=[];return F.reduce(function(k,K){switch(K.node.nodeName){case"IMG":return k.concat([{args:[K.node.src],method:"url"}]);case"svg":case"IFRAME":return k.concat([{args:[K.node],method:K.node.nodeName}])}return k}
3803,[]).forEach(this.addImage(T,this.loadImage),this),T},E.prototype.findBackgroundImage=function(F,T){return T.parseBackgroundImages().filter(this.hasImageBackground).forEach(this.addImage(F,this.loadImage),this),F},E.prototype.addImage=function(F,T){return function(k){k.args.forEach(function(K){this.imageExists(F,K)||(F.splice(0,0,T.call(this,k)),v("Added image #"+F.length,typeof K=="string"?K.substring(0,100):K))},this)}},E.prototype.hasImageBackground=function(F){return F.method!=="none"},E.prototype.loadImage=function(F){if(F.method==="url"){var T=F.args[0];return!this.isSVG(T)||this.support.svg||this.options.allowTaint?T.match(/data:image\/.*;base64,/i)?new p(T.replace(/url\(['"]{0,}|['"]{0,}\)$/gi,""),!1):this.isSameOrigin(T)||this.options.allowTaint===!0||this.isSVG(T)?new p(T,!1):this.support.cors&&!this.options.allowTaint&&this.options.useCORS?new p(T,!0):this.options.proxy?new x(T,this.options.proxy):new w(T):new S(T)}return F.method==="linear-gradient"?new P(F):F.method==="gradient"?new d(F):F.method==="svg"?new I(F.args[0],this.support.svg):F.method==="IFRAME"?new C(F.args[0],this.isSameOrigin(F.args[0].src),this.options):new w(F)},E.prototype.isSVG=function(F){return F.substring(F.length-3).toLowerCase()==="svg"||S.prototype.isInline(F)},E.prototype.imageExists=function(F,T){return F.some(function(k){return k.src===T})},E.prototype.isSameOrigin=function(F){return this.getOrigin(F)===this.origin},E.prototype.getOrigin=function(F){var T=this.link||(this.link=document.createElement("a"));return T.href=F,T.href=T.href,T.protocol+T.hostname+T.port},E.prototype.getPromise=function(F){return this.timeout(F,this.options.imageTimeout).catch(function(){return new w(F.src).promise.then(function(T){F.image=T})})},E.prototype.get=function(F){var T=null;return this.images.some(function(k){return(T=k).src===F})?T:null},E.prototype.fetch=function(F){return this.images=F.reduce(_(this.findBackgroundImage,this),this.findImages(F)),this.images.forEach(function(T,k){T.promise.then(function(){v("Succesfully loaded image #"+(k+1),T)},function(K){v("Failed loading image #"+(k+1),T,K)})}),this.ready=Promise.all(this.images.map(this.getPromise,this)),v("Finished searching images"),this},E.prototype.timeout=function(F,T){var k,K=Promise.race([F.promise,new Promise(function(X,tt){k=setTimeout(function(){v("Timed out loading image",F),tt(F)},T)})]).then(function(X){return clearTimeout(k),X});return K.catch(function(){clearTimeout(k)}),K},Q.exports=E},{"./dummyimagecontainer":5,"./framecontainer":8,"./imagecontainer":10,"./lineargradientcontainer":12,"./log":13,"./proxyimagecontainer":17,"./svgcontainer":23,"./svgnodecontainer":24,"./utils":26,"./webkitgradientcontainer":27}],12:[function(B,Q,D){var v=B("./gradientcontainer"),p=B("./color");function w(x){v.apply(this,arguments),this.type=v.TYPES.LINEAR;var C=w.REGEXP_DIRECTION.test(x.args[0])||!v.REGEXP_COLORSTOP.test(x.args[0]);C?x.args[0].split(/\s+/).reverse().forEach(function(S,I){switch(S){case"left":this.x0=0,this.x1=1;break;case"top":this.y0=0,this.y1=1;break;case"right":this.x0=1,this.x1=0;break;case"bottom":this.y0=1,this.y1=0;break;case"to":var P=this.y0,d=this.x0;this.y0=this.y1,this.x0=this.x1,this.x1=d,this.y1=P;break;case"center":break;default:var _=.01*parseFloat(S,10);if(isNaN(_))break;I===0?(this.y0=_,this.y1=1-this.y0):(this.x0=_,this.x1=1-this.x0)}},this):(this.y0=0,this.y1=1),this.colorStops=x.args.slice(C?1:0).map(function(S){var I=S.match(v.REGEXP_COLORSTOP),P=+I[2],d=P===0?"%":I[3];return{color:new p(I[1]),stop:d==="%"?P/100:null}}),this.colorStops[0].stop===null&&(this.colorStops[0].stop=0),this.colorStops[this.colorStops.length-1].stop===null&&(this.colorStops[this.colorStops.length-1].stop=1),this.colorStops.forEach(function(S,I){S.stop===null&&this.colorStops.slice(I).some(function(P,d){return P.stop!==null&&(S.stop=(P.stop-this.colorStops[I-1].stop)/(d+1)+this.colorStops[I-1].stop,!0)},this)},this)}w.prototype=Object.create(v.prototype),w.REGEXP_DIRECTION=/^\s*(?:to|left|right|top|bottom|center|\d{1,3}(?:\.\d+)?%?)(?:\s|$)/i,Q.exports=w},{"./color":3,"./gradientcontainer":9}],13:[function(B,Q,D){var v=function(){v.options.logging&&window.console&&window.console.log&&Function.prototype.bind.call(window.console.log,window.console).apply(window.console,[Date.now()-v.options.start+"ms","html2canvas:"].concat([].slice.call(arguments,0)))};v.options={logging:!1},Q.exports=v},{}],14:[function(B,Q,D){var v=B("./color"),p=B("./utils"),w=p.getBounds,x=p.parseBackgroun
3803ds,C=p.offsetBounds;function S(_,E){this.node=_,this.parent=E,this.stack=null,this.bounds=null,this.borders=null,this.clip=[],this.backgroundClip=[],this.offsetBounds=null,this.visible=null,this.computedStyles=null,this.colors={},this.styles={},this.backgroundImages=null,this.transformData=null,this.transformMatrix=null,this.isPseudoElement=!1,this.opacity=null}function I(_){return _.toString().indexOf("%")!==-1}function P(_){return _.replace("px","")}function d(_){return parseFloat(_)}S.prototype.cloneTo=function(_){_.visible=this.visible,_.borders=this.borders,_.bounds=this.bounds,_.clip=this.clip,_.backgroundClip=this.backgroundClip,_.computedStyles=this.computedStyles,_.styles=this.styles,_.backgroundImages=this.backgroundImages,_.opacity=this.opacity},S.prototype.getOpacity=function(){return this.opacity===null?this.opacity=this.cssFloat("opacity"):this.opacity},S.prototype.assignStack=function(_){(this.stack=_).children.push(this)},S.prototype.isElementVisible=function(){return this.node.nodeType===Node.TEXT_NODE?this.parent.visible:this.css("display")!=="none"&&this.css("visibility")!=="hidden"&&!this.node.hasAttribute("data-html2canvas-ignore")&&(this.node.nodeName!=="INPUT"||this.node.getAttribute("type")!=="hidden")},S.prototype.css=function(_){return this.computedStyles||(this.computedStyles=this.isPseudoElement?this.parent.computedStyle(this.before?":before":":after"):this.computedStyle(null)),this.styles[_]||(this.styles[_]=this.computedStyles[_])},S.prototype.prefixedCss=function(_){var E=this.css(_);return E===void 0&&["webkit","moz","ms","o"].some(function(F){return(E=this.css(F+_.substr(0,1).toUpperCase()+_.substr(1)))!==void 0},this),E===void 0?null:E},S.prototype.computedStyle=function(_){return this.node.ownerDocument.defaultView.getComputedStyle(this.node,_)},S.prototype.cssInt=function(_){var E=parseInt(this.css(_),10);return isNaN(E)?0:E},S.prototype.color=function(_){return this.colors[_]||(this.colors[_]=new v(this.css(_)))},S.prototype.cssFloat=function(_){var E=parseFloat(this.css(_));return isNaN(E)?0:E},S.prototype.fontWeight=function(){var _=this.css("fontWeight");switch(parseInt(_,10)){case 401:_="bold";break;case 400:_="normal"}return _},S.prototype.parseClip=function(){var _=this.css("clip").match(this.CLIP);return _?{top:parseInt(_[1],10),right:parseInt(_[2],10),bottom:parseInt(_[3],10),left:parseInt(_[4],10)}:null},S.prototype.parseBackgroundImages=function(){return this.backgroundImages||(this.backgroundImages=x(this.css("backgroundImage")))},S.prototype.cssList=function(_,E){var F=(this.css(_)||"").split(",");return(F=(F=F[E||0]||F[0]||"auto").trim().split(" ")).length===1&&(F=[F[0],I(F[0])?"auto":F[0]]),F},S.prototype.parseBackgroundSize=function(_,E,F){var T,k,K=this.cssList("backgroundSize",F);if(I(K[0]))T=_.width*parseFloat(K[0])/100;else{if(/contain|cover/.test(K[0])){var X=_.width/_.height,tt=E.width/E.height;return X<tt^K[0]==="contain"?{width:_.height*tt,height:_.height}:{width:_.width,height:_.width/tt}}T=parseInt(K[0],10)}return k=K[0]==="auto"&&K[1]==="auto"?E.height:K[1]==="auto"?T/E.width*E.height:I(K[1])?_.height*parseFloat(K[1])/100:parseInt(K[1],10),K[0]==="auto"&&(T=k/E.height*E.width),{width:T,height:k}},S.prototype.parseBackgroundPosition=function(_,E,F,T){var k,K,X=this.cssList("backgroundPosition",F);return k=I(X[0])?(_.width-(T||E).width)*(parseFloat(X[0])/100):parseInt(X[0],10),K=X[1]==="auto"?k/E.width*E.height:I(X[1])?(_.height-(T||E).height)*parseFloat(X[1])/100:parseInt(X[1],10),X[0]==="auto"&&(k=K/E.height*E.width),{left:k,top:K}},S.prototype.parseBackgroundRepeat=function(_){return this.cssList("backgroundRepeat",_)[0]},S.prototype.parseTextShadows=function(){var _=this.css("textShadow"),E=[];if(_&&_!=="none")for(var F=_.match(this.TEXT_SHADOW_PROPERTY),T=0;F&&T<F.length;T++){var k=F[T].match(this.TEXT_SHADOW_VALUES);E.push({color:new v(k[0]),offsetX:k[1]?parseFloat(k[1].replace("px","")):0,offsetY:k[2]?parseFloat(k[2].replace("px","")):0,blur:k[3]?k[3].replace("px",""):0})}return E},S.prototype.parseTransform=function(){if(!this.transformData)if(this.hasTransform()){var _=this.parseBounds(),E=this.prefixedCss("transformOrigin").split(" ").map(P).map(d);E[0]+=_.left,E[1]+=_.top,this.transformData={origin:E,matrix:this.parseTransformMatrix()}}else this.transformData={origin:[0,0],matrix:[1,0,0,1,0,0]};return this.transformData},S.prototype.parseTransformMatrix=function(){if(!this.transformMatrix){var _=this.prefixedCss("transform"),E=_?function(F){{if(F&&F[1]==="matrix")return F[2].split(",").map(function(k){return parseFloat(k.trim())});if(F&&F[1]==="matrix3d"){var T=F[2].split(",").map(function(k){return parseFloat(k.trim())});return[T[0],T[1],T[4],T[5],T[12],T[13]]}}}(_.match(this.MATRIX_PROPERTY)):null;this.transformMatrix=E||[1,0,0,1,0,0]}return this.transformMatrix},S.prototype.parseBounds=function(){return this.bounds||(this.bounds=this.hasTransform()?C(this.node):w(this.node))},S.prototype.hasTransform=function(){return this.parseTransformMatrix().join(",")!=="1,0,0,1,0,0"||this.parent&&this.parent.hasTransform()},S.prototype.getValue=function(){var _,E,F=this.node.value||"";return this.node.tagName==="SELECT"?(_=this.node,F=(E=_.options[_.selectedIndex||0])&&E.text||""):this.node.type==="password"&&(F=Array(F.length+1).join("\u2022")),F.length===0?this.node.placeholder||"":F},S.prototype.MATRIX_PROPERTY=/(matrix|matrix3d)\((.+)\)/,S.prototype.TEXT_SHADOW_PROPERTY=/((rgba|rgb)\([^\)]+\)(\s-?\d+px){0,})/g,S.prototype.TEXT_SHADOW_VALUES=/(-?\d+px)|(#.+)|(rgb\(.+\))|(rgba\(.+\))/g,S.prototype.CLIP=/^rect\((\d+)px,? (\d+)px,? (\d+)px,? (\d+)px\)$/,Q.exports=S},{"./color":3,"./utils":26}],15:[function(B,Q,D){var v=B("./log"),p=B("punycode"),w=B("./nodecontainer"),x=B("./textcontainer"),C=B("./pseudoelementcontainer"),S=B("./fontmetrics"),I=B("./color"),P=B("./stackingcontext"),d=B("./utils"),_=d.bind,E=d.getBounds,F=d.parseBackgroun
3803ds,T=d.offsetBounds;function k(M,G,Y,ut,Lt){v("Starting NodeParser"),this.renderer=G,this.options=Lt,this.range=null,this.support=Y,this.renderQueue=[],this.stack=new P(!0,1,M.ownerDocument,null);var Ot=new w(M,null);if(Lt.background&&G.rectangle(0,0,G.width,G.height,new I(Lt.background)),M===M.ownerDocument.documentElement){var ne=new w(Ot.color("backgroundColor").isTransparent()?M.ownerDocument.body:M.ownerDocument.documentElement,null);G.rectangle(0,0,G.width,G.height,ne.color("backgroundColor"))}Ot.visibile=Ot.isElementVisible(),this.createPseudoHideStyles(M.ownerDocument),this.disableAnimations(M.ownerDocument),this.nodes=et([Ot].concat(this.getChildren(Ot)).filter(function(ae){return ae.visible=ae.isElementVisible()}).map(this.getPseudoElements,this)),this.fontMetrics=new S,v("Fetched nodes, total:",this.nodes.length),v("Calculate overflow clips"),this.calculateOverflowClips(),v("Start fetching images"),this.images=ut.fetch(this.nodes.filter(ot)),this.ready=this.images.ready.then(_(function(){return v("Images loaded, starting parsing"),v("Creating stacking contexts"),this.createStackingContexts(),v("Sorting stacking contexts"),this.sortStackingContexts(this.stack),this.parse(this.stack),v("Render queue created with "+this.renderQueue.length+" items"),new Promise(_(function(ae){Lt.async?typeof Lt.async=="function"?Lt.async.call(this,this.renderQueue,ae):0<this.renderQueue.length?(this.renderIndex=0,this.asyncRenderer(this.renderQueue,ae)):ae():(this.renderQueue.forEach(this.paint,this),ae())},this))},this))}function K(M){return M.parent&&M.parent.clip.length}function X(){}k.prototype.calculateOverflowClips=function(){this.nodes.forEach(function(M){if(ot(M)){Pt(M)&&M.appendToDOM(),M.borders=this.parseBorders(M);var G=M.css("overflow")==="hidden"?[M.borders.clip]:[],Y=M.parseClip();Y&&["absolute","fixed"].indexOf(M.css("position"))!==-1&&G.push([["rect",M.bounds.left+Y.left,M.bounds.top+Y.top,Y.right-Y.left,Y.bottom-Y.top]]),M.clip=K(M)?M.parent.clip.concat(G):G,M.backgroundClip=M.css("overflow")!=="hidden"?M.clip.concat([M.borders.clip]):M.clip,Pt(M)&&M.cleanDOM()}else mt(M)&&(M.clip=K(M)?M.parent.clip:[]);Pt(M)||(M.bounds=null)},this)},k.prototype.asyncRenderer=function(M,G,Y){Y=Y||Date.now(),this.paint(M[this.renderIndex++]),M.length===this.renderIndex?G():Y+20>Date.now()?this.asyncRenderer(M,G,Y):setTimeout(_(function(){this.asyncRenderer(M,G)},this),0)},k.prototype.createPseudoHideStyles=function(M){this.createStyles(M,"."+C.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE+':before { content: "" !important; display: none !important; }.'+C.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER+':after { content: "" !important; display: none !important; }')},k.prototype.disableAnimations=function(M){this.createStyles(M,"* { -webkit-animation: none !important; -moz-animation: none !important; -o-animation: none !important; animation: none !important; -webkit-transition: none !important; -moz-transition: none !important; -o-transition: none !important; transition: none !important;}")},k.prototype.createStyles=function(M,G){var Y=M.createElement("style");Y.innerHTML=G,M.body.appendChild(Y)},k.prototype.getPseudoElements=function(M){var G=[[M]];if(M.node.nodeType===Node.ELEMENT_NODE){var Y=this.getPseudoElement(M,":before"),ut=this.getPseudoElement(M,":after");Y&&G.push(Y),ut&&G.push(ut)}return et(G)},k.prototype.getPseudoElement=function(M,G){var Y=M.computedStyle(G);if(!Y||!Y.content||Y.content==="none"||Y.content==="-moz-alt-content"||Y.display==="none")return null;for(var ut,Lt,Ot=(ut=Y.content,(Lt=ut.substr(0,1))===ut.substr(ut.length-1)&&Lt.match(/'|"/)?ut.substr(1,ut.length-2):ut),ne=Ot.substr(0,3)==="url",ae=document.createElement(ne?"img":"html2canvaspseudoelement"),ie=new C(ae,M,G),Me=Y.length-1;0<=Me;Me--){var ve=Y.item(Me).replace(/(\-[a-z])/g,function(It){return It.toUpperCase().replace("-","")});ae.style[ve]=Y[ve]}if(ae.className=C.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE+" "+C.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER,ne)return ae.src=F(Ot)[0].args[0],[ie];var He=document.createTextNode(Ot);return ae.appendChild(He),[ie,new x(He,ie)]},k.prototype.getChildren=function(M){return et([].filter.call(M.node.childNodes,z).map(function(G){var Y=[G.nodeType===Node.TEXT_NODE?new x(G,M):new w(G,M)].filter(W);return G.nodeType===Node.ELEMENT_NODE&&Y.length&&G.tagName!=="TEXTAREA"?Y[0].isElementVisible()?Y.concat(this.getChildren(Y[0])):[]:Y},this))},k.prototype.newStackingContext=function(M,G){var Y=new P(G,M.getOpacity(),M.node,M.parent);M.cloneTo(Y),(G?Y.getParentStack(this):Y.parent.stack).contexts.push(Y),M.stack=Y},k.prototype.createStackingContexts=function(){this.nodes.forEac
3803h(function(M){var G,Y;ot(M)&&(this.isRootElement(M)||M.getOpacity()<1||(Y=(G=M).css("position"),(["absolute","relative","fixed"].indexOf(Y)!==-1?G.css("zIndex"):"auto")!=="auto")||this.isBodyWithTransparentRoot(M)||M.hasTransform())?this.newStackingContext(M,!0):ot(M)&&(ct(M)&&vt(M)||["inline-block","inline-table"].indexOf(M.css("display"))!==-1||q(M))?this.newStackingContext(M,!1):M.assignStack(M.parent.stack)},this)},k.prototype.isBodyWithTransparentRoot=function(M){return M.node.nodeName==="BODY"&&M.parent.color("backgroundColor").isTransparent()},k.prototype.isRootElement=function(M){return M.parent===null},k.prototype.sortStackingContexts=function(M){var G;M.contexts.sort((G=M.contexts.slice(0),function(Y,ut){return Y.cssInt("zIndex")+G.indexOf(Y)/G.length-(ut.cssInt("zIndex")+G.indexOf(ut)/G.length)})),M.contexts.forEach(this.sortStackingContexts,this)},k.prototype.parseTextBounds=function(M){return function(G,Y,ut){if(M.parent.css("textDecoration").substr(0,4)!=="none"||G.trim().length!==0){if(this.support.rangeBounds&&!M.parent.hasTransform()){var Lt=ut.slice(0,Y).join("").length;return this.getRangeBounds(M.node,Lt,G.length)}if(M.node&&typeof M.node.data=="string"){var Ot=M.node.splitText(G.length),ne=this.getWrapperBounds(M.node,M.parent.hasTransform());return M.node=Ot,ne}}else this.support.rangeBounds&&!M.parent.hasTransform()||(M.node=M.node.splitText(G.length));return{}}},k.prototype.getWrapperBounds=function(M,G){var Y=M.ownerDocument.createElement("html2canvaswrapper"),ut=M.parentNode,Lt=M.cloneNode(!0);Y.appendChild(M.cloneNode(!0)),ut.replaceChild(Y,M);var Ot=G?T(Y):E(Y);return ut.replaceChild(Lt,Y),Ot},k.prototype.getRangeBounds=function(M,G,Y){var ut=this.range||(this.range=M.ownerDocument.createRange());return ut.setStart(M,G),ut.setEnd(M,G+Y),ut.getBoundingClientRect()},k.prototype.parse=function(M){var G=M.contexts.filter(rt),Y=M.children.filter(ot),ut=Y.filter(At(q)),Lt=ut.filter(At(ct)).filter(At(Kt)),Ot=Y.filter(At(ct)).filter(q),ne=ut.filter(At(ct)).filter(Kt),ae=M.contexts.concat(ut.filter(ct)).filter(vt),ie=M.children.filter(mt).filter($),Me=M.contexts.filter(Bt);G.concat(Lt).concat(Ot).concat(ne).concat(ae).concat(ie).concat(Me).forEach(function(ve){this.renderQueue.push(ve),yt(ve)&&(this.parse(ve),this.renderQueue.push(new X))},this)},k.prototype.paint=function(M){try{M instanceof X?this.renderer.ctx.restore():mt(M)?(Pt(M.parent)&&M.parent.appendToDOM(),this.paintText(M),Pt(M.parent)&&M.parent.cleanDOM()):this.paintNode(M)}catch(G){if(v(G),this.options.strict)throw G}},k.prototype.paintNode=function(M){yt(M)&&(this.renderer.setOpacity(M.opacity),this.renderer.ctx.save(),M.hasTransform()&&this.renderer.setTransform(M.parseTransform())),M.node.nodeName==="INPUT"&&M.node.type==="checkbox"?this.paintCheckbox(M):M.node.nodeName==="INPUT"&&M.node.type==="radio"?this.paintRadio(M):this.paintElement(M)},k.prototype.paintElement=function(M){var G=M.parseBounds();this.renderer.clip(M.backgroundClip,function(){this.renderer.renderBackground(M,G,M.borders.borders.map(Mt))},this),this.renderer.clip(M.clip,function(){this.renderer.renderBorders(M.borders.borders)},this),this.renderer.clip(M.backgroundClip,function(){switch(M.node.nodeName){case"svg":case"IFRAME":var Y=this.images.get(M.node);Y?this.renderer.renderImage(M,G,M.borders,Y):v("Error loading <"+M.node.nodeName+">",M.node);break;case"IMG":var ut=this.images.get(M.node.src);ut?this.renderer.renderImage(M,G,M.borders,ut):v("Error loading <img>",M.node.src);break;case"CANVAS":this.renderer.renderImage(M,G,M.borders,{image:M.node});break;case"SELECT":case"INPUT":case"TEXTAREA":this.paintFormValue(M)}},this)},k.prototype.paintCheckbox=function(M){var G=M.parseBounds(),Y=Math.min(G.width,G.height),ut={width:Y-1,height:Y-1,top:G.top,left:G.left},Lt=[3,3],Ot=[Lt,Lt,Lt,Lt],ne=[1,1,1,1].map(function(ie){return{color:new I("#A5A5A5"),width:ie}}),ae=ht(ut,Ot,ne);this.renderer.clip(M.backgroundClip,function(){this.renderer.rectangle(ut.left+1,ut.top+1,ut.width-2,ut.height-2,new I("#DEDEDE")),this.renderer.renderBorders(ft(ne,ut,ae,Ot)),M.node.checked&&(this.renderer.font(new I("#424242"),"normal","normal","bold",Y-3+"px","arial"),this.renderer.text("\u2714",ut.left+Y/6,ut.top+Y-1))},this)},k.prototype.paintRadio=function(M){var G=M.parseBounds(),Y=Math.min(G.width,G.height)-2;this.renderer.clip(M.backgroundClip,function(){this.renderer.circleStroke(G.left+1,G.top+1,Y,new I("#DEDEDE"),1,new I("#A5A5A5")),M.node.checked&&this.renderer.circle(Math.ceil(G.left+Y/4)+1,Math.ceil(G.top+Y/4)+1,Math.floor(Y/2),new I("#424242"))},this)},k.prototype.paintFormValue=function(M){var G=M.getValue();if(0<G.length){var Y=M.node.ownerDocument,ut=Y.createElement("html2canvaswrapper");["lineHeight","textAlign","fontFamily","fontWeight","fontSize","color","paddingLeft","paddingTop","paddingRight","paddingBottom","width","height","borderLeftStyle","borderTopStyle","borderLeftWidth","borderTopWidth","boxSizing","whiteSpace","wordWrap"].forEach(function(Ot){try{ut.style[Ot]=M.css(Ot)}catch(ne){v("html2canvas: Parse: Exception caught in renderFormValue: "+ne.message)}});var Lt=M.parseBounds();ut.style.position="fixed",ut.style.left=Lt.left+"px",ut.style.top=Lt.to
3803p+"px",ut.textContent=G,Y.body.appendChild(ut),this.paintText(new x(ut.firstChild,M)),Y.body.removeChild(ut)}},k.prototype.paintText=function(M){M.applyTextTransform();var G,Y=p.ucs2.decode(M.node.data),ut=this.options.letterRendering&&!/^(normal|none|0px)$/.test(M.parent.css("letterSpacing"))||(G=M.node.data,/[^\u0000-\u00ff]/.test(G))?Y.map(function(ie){return p.ucs2.encode([ie])}):function(ie){for(var Me,ve=[],He=0,It=!1;ie.length;)pn=ie[He],[32,13,10,9,45].indexOf(pn)!==-1===It?((Me=ie.splice(0,He)).length&&ve.push(p.ucs2.encode(Me)),It=!It,He=0):He++,He>=ie.length&&(Me=ie.splice(0,He)).length&&ve.push(p.ucs2.encode(Me));var pn;return ve}(Y),Lt=M.parent.fontWeight(),Ot=M.parent.css("fontSize"),ne=M.parent.css("fontFamily"),ae=M.parent.parseTextShadows();this.renderer.font(M.parent.color("color"),M.parent.css("fontStyle"),M.parent.css("fontVariant"),Lt,Ot,ne),ae.length?this.renderer.fontShadow(ae[0].color,ae[0].offsetX,ae[0].offsetY,ae[0].blur):this.renderer.clearShadow(),this.renderer.clip(M.parent.clip,function(){ut.map(this.parseTextBounds(M),this).forEach(function(ie,Me){ie&&/^\s*$/.test(ut[Me])===!1&&(this.renderer.text(ut[Me],ie.left,ie.bottom),this.renderTextDecoration(M.parent,ie,this.fontMetrics.getMetrics(ne,Ot)))},this)},this)},k.prototype.renderTextDecoration=function(M,G,Y){switch(M.css("textDecoration").split(" ")[0]){case"underline":this.renderer.rectangle(G.left,Math.round(G.top+Y.baseline+Y.lineWidth),G.width,1,M.color("color"));break;case"overline":this.renderer.rectangle(G.left,Math.round(G.top),G.width,1,M.color("color"));break;case"line-through":this.renderer.rectangle(G.left,Math.ceil(G.top+Y.middle+Y.lineWidth),G.width,1,M.color("color"))}};var tt={inset:[["darken",.6],["darken",.1],["darken",.1],["darken",.6]]};function ft(M,G,Y,ut){return M.map(function(Lt,Ot){if(0<Lt.width){var ne=G.left,ae=G.top,ie=G.width,Me=G.height-M[2].width;switch(Ot){case 0:Me=M[0].width,Lt.args=H({c1:[ne,ae],c2:[ne+ie,ae],c3:[ne+ie-M[1].width,ae+Me],c4:[ne+M[3].width,ae+Me]},ut[0],ut[1],Y.topLeftOuter,Y.topLeftInner,Y.topRightOuter,Y.topRightInner);break;case 1:ne=G.left+G.width-M[1].width,ie=M[1].width,Lt.args=H({c1:[ne+ie,ae],c2:[ne+ie,ae+Me+M[2].width],c3:[ne,ae+Me],c4:[ne,ae+M[0].width]},ut[1],ut[2],Y.topRightOuter,Y.topRightInner,Y.bottomRightOuter,Y.bottomRightInner);break;case 2:ae=ae+G.height-M[2].width,Me=M[2].width,Lt.args=H({c1:[ne+ie,ae+Me],c2:[ne,ae+Me],c3:[ne+M[3].width,ae],c4:[ne+ie-M[3].width,ae]},ut[2],ut[3],Y.bottomRightOuter,Y.bottomRightInner,Y.bottomLeftOuter,Y.bottomLeftInner);break;case 3:ie=M[3].width,Lt.args=H({c1:[ne,ae+Me+M[2].width],c2:[ne,ae],c3:[ne+ie,ae+M[0].width],c4:[ne+ie,ae+Me]},ut[3],ut[0],Y.bottomLeftOuter,Y.bottomLeftInner,Y.topLeftOuter,Y.topLeftInner)}}return Lt})}function wt(M,G,Y,ut){var Lt=(Math.sqrt(2)-1)/3*4,Ot=Y*Lt,ne=ut*Lt,ae=M+Y,ie=G+ut;return{topLeft:at({x:M,y:ie},{x:M,y:ie-ne},{x:ae-Ot,y:G},{x:ae,y:G}),topRight:at({x:M,y:G},{x:M+Ot,y:G},{x:ae,y:ie-ne},{x:ae,y:ie}),bottomRight:at({x:ae,y:G},{x:ae,y:G+ne},{x:M+Ot,y:ie},{x:M,y:ie}),bottomLeft:at({x:ae,y:ie},{x:ae-Ot,y:ie},{x:M,y:G+ne},{x:M,y:G})}}function ht(M,G,Y){var ut=M.left,Lt=M.top,Ot=M.width,ne=M.height,ae=G[0][0]<Ot/2?G[0][0]:Ot/2,ie=G[0][1]<ne/2?G[0][1]:ne/2,Me=G[1][0]<Ot/2?G[1][0]:Ot/2,ve=G[1][1]<ne/2?G[1][1]:ne/2,He=G[2][0]<Ot/2?G[2][0]:Ot/2,It=G[2][1]<ne/2?G[2][1]:ne/2,pn=G[3][0]<Ot/2?G[3][0]:Ot/2,sn=G[3][1]<ne/2?G[3][1]:ne/2,An=Ot-Me,Un=ne-It,We=Ot-He,un=ne-sn;return{topLeftOuter:wt(ut,Lt,ae,ie).topLeft.subdivide(.5),topLeftInner:wt(ut+Y[3].width,Lt+Y[0].width,Math.max(0,ae-Y[3].width),Math.max(0,ie-Y[0].width)).topLeft.subdivide(.5),topRightOuter:wt(ut+An,Lt,Me,ve).topRight.subdivide(.5),topRightInner:wt(ut+Math.min(An,Ot+Y[3].width),Lt+Y[0].width,An>Ot+Y[3].width?0:Me-Y[3].width,ve-Y[0].width).topRight.subdivide(.5),bottomRightOuter:wt(ut+We,Lt+Un,He,It).bottomRight.subdivide(.5),bottomRightInner:wt(ut+Math.min(We,Ot-Y[3].width),Lt+Math.min(Un,ne+Y[0].width),Math.max(0,He-Y[1].width),It-Y[2].width).bottomRight.subdivide(.5),bottomLeftOuter:wt(ut,Lt+un,pn,sn).bottomLeft.subdivide(.5),bottomLeftInner:wt(ut+Y[3].width,Lt+un,Math.max(0,pn-Y[3].width),sn-Y[2].width).bottomLeft.subdivide(.5)}}function at(M,G,Y,ut){var Lt=function(Ot,ne,ae){return{x:Ot.x+(ne.x-Ot.x)*ae,y:Ot.y+(ne.y-Ot.y)*ae}};return{start:M,startControl:G,endControl:Y,end:ut,subdivide:function(Ot){var ne=Lt(M,G,Ot),ae=Lt(G,Y,Ot),ie=Lt(Y,ut,Ot),Me=Lt(ne,ae,Ot),ve=Lt(ae,ie,Ot),He=Lt(Me,ve,Ot);return[at(M,ne,Me,He),at(He,ve,ie,ut)]},curveTo:function(Ot){Ot.push(["bezierCurve",G.x,G.y,Y.x,Y.y,ut.x,ut.y])},curveToReversed:function(Ot){Ot.push(["bezierCurve",Y.x,Y.y,G.x,G.y,M.x,M.y])}}}function H(M,G,Y,ut,Lt,Ot,ne){var ae=[];return 0<G[0]||0<G[1]?(ae.push(["line",ut[1].start.x,ut[1].start.y]),ut[1].curveTo(ae)):ae.pu
3803sh(["line",M.c1[0],M.c1[1]]),0<Y[0]||0<Y[1]?(ae.push(["line",Ot[0].start.x,Ot[0].start.y]),Ot[0].curveTo(ae),ae.push(["line",ne[0].end.x,ne[0].end.y]),ne[0].curveToReversed(ae)):(ae.push(["line",M.c2[0],M.c2[1]]),ae.push(["line",M.c3[0],M.c3[1]])),0<G[0]||0<G[1]?(ae.push(["line",Lt[1].end.x,Lt[1].end.y]),Lt[1].curveToReversed(ae)):ae.push(["line",M.c4[0],M.c4[1]]),ae}function dt(M,G,Y,ut,Lt,Ot,ne){0<G[0]||0<G[1]?(M.push(["line",ut[0].start.x,ut[0].start.y]),ut[0].curveTo(M),ut[1].curveTo(M)):M.push(["line",Ot,ne]),(0<Y[0]||0<Y[1])&&M.push(["line",Lt[0].start.x,Lt[0].start.y])}function rt(M){return M.cssInt("zIndex")<0}function Bt(M){return 0<M.cssInt("zIndex")}function vt(M){return M.cssInt("zIndex")===0}function Kt(M){return["inline","inline-block","inline-table"].indexOf(M.css("display"))!==-1}function yt(M){return M instanceof P}function $(M){return 0<M.node.data.trim().length}function z(M){return M.nodeType===Node.TEXT_NODE||M.nodeType===Node.ELEMENT_NODE}function ct(M){return M.css("position")!=="static"}function q(M){return M.css("float")!=="none"}function At(M){var G=this;return function(){return!M.apply(G,arguments)}}function ot(M){return M.node.nodeType===Node.ELEMENT_NODE}function Pt(M){return M.isPseudoElement===!0}function mt(M){return M.node.nodeType===Node.TEXT_NODE}function qt(M){return parseInt(M,10)}function Mt(M){return M.width}function W(M){return M.node.nodeType!==Node.ELEMENT_NODE||["SCRIPT","HEAD","TITLE","OBJECT","BR","OPTION"].indexOf(M.node.nodeName)===-1}function et(M){return[].concat.apply([],M)}k.prototype.parseBorders=function(M){var G,Y=M.parseBounds(),ut=(G=M,["TopLeft","TopRight","BottomRight","BottomLeft"].map(function(ne){var ae=G.css("border"+ne+"Radius"),ie=ae.split(" ");return ie.length<=1&&(ie[1]=ie[0]),ie.map(qt)})),Lt=["Top","Right","Bottom","Left"].map(function(ne,ae){var ie=M.css("border"+ne+"Style"),Me=M.color("border"+ne+"Color");ie==="inset"&&Me.isBlack()&&(Me=new I([255,255,255,Me.a]));var ve=tt[ie]?tt[ie][ae]:null;return{width:M.cssInt("border"+ne+"Width"),color:ve?Me[ve[0]](ve[1]):Me,args:null}}),Ot=ht(Y,ut,Lt);return{clip:this.parseBackgroundClip(M,Ot,Lt,ut,Y),borders:ft(Lt,Y,Ot,ut)}},k.prototype.parseBackgroundClip=function(M,G,Y,ut,Lt){var Ot=[];switch(M.css("backgroundClip")){case"content-box":case"padding-box":dt(Ot,ut[0],ut[1],G.topLeftInner,G.topRightInner,Lt.left+Y[3].width,Lt.top+Y[0].width),dt(Ot,ut[1],ut[2],G.topRightInner,G.bottomRightInner,Lt.left+Lt.width-Y[1].width,Lt.top+Y[0].width),dt(Ot,ut[2],ut[3],G.bottomRightInner,G.bottomLeftInner,Lt.left+Lt.width-Y[1].width,Lt.top+Lt.height-Y[2].width),dt(Ot,ut[3],ut[0],G.bottomLeftInner,G.topLeftInner,Lt.left+Y[3].width,Lt.top+Lt.height-Y[2].width);break;default:dt(Ot,ut[0],ut[1],G.topLeftOuter,G.topRightOuter,Lt.left,Lt.top),dt(Ot,ut[1],ut[2],G.topRightOuter,G.bottomRightOuter,Lt.left+Lt.width,Lt.top),dt(Ot,ut[2],ut[3],G.bottomRightOuter,G.bottomLeftOuter,Lt.left+Lt.width,Lt.top+Lt.height),dt(Ot,ut[3],ut[0],G.bottomLeftOuter,G.topLeftOuter,Lt.left,Lt.top+Lt.height)}return Ot},Q.exports=k},{"./color":3,"./fontmetrics":7,"./log":13,"./nodecontainer":14,"./pseudoelementcontainer":18,"./stackingcontext":21,"./textcontainer":25,"./utils":26,punycode:1}],16:[function(B,Q,D){var v=B("./xhr"),p=B("./utils"),w=B("./log"),x=B("./clone"),C=p.decode64;function S(E,F,T){var k="withCredentials"in new XMLHttpRequest;if(!F)return Promise.reject("No proxy configured");var K=d(k),X=_(F,E,K);return k?v(X):P(T,X,K).then(function(tt){return C(tt.content)})}var I=0;function P(E,F,T){return new Promise(function(k,K){var X=E.createElement("script"),tt=function(){delete window.html2canvas.proxy[T],E.body.removeChild(X)};window.html2canvas.proxy[T]=function(ft){tt(),k(ft)},X.src=F,X.onerror=function(ft){tt(),K(ft)},E.body.appendChild(X)})}function d(E){return E?"":"html2canvas_"+Date.now()+"_"+ ++I+"_"+Math.round(1e5*Math.random())}function _(E,F,T){return E+"?url="+encodeURIComponent(F)+(T.length?"&callback=html2canvas.proxy."+T:"")}D.Proxy=S,D.ProxyURL=function(E,F,T){var k="crossOrigin"in new Image,K=d(k),X=_(F,E,K);return k?Promise.resolve(X):P(T,X,K).then(function(tt){return"data:"+tt.type+";base64,"+tt.content})},D.loadUrlDocument=function(E,F,T,k,K,X){return new S(E,F,window.document).then((tt=E,function(ft){var wt,ht=new DOMParser;try{wt=ht.parseFromString(ft,"text/html")}catch{w("DOMParser not supported, falling back to createHTMLDocument"),wt=document.implementation.createHTMLDocument("");try{wt.open(),wt.write(ft),wt.close()}catch{w("createHTMLDocument write not supported, falling back to document.body.innerHTML"),wt.body.innerHTML=ft}}var at=wt.querySelector("base");
vendor: 4,823 bytes, line 3803
3803if(!at||!at.href.host){var H=wt.createElement("base");H.href=tt,wt.head.insertBefore(H,wt.head.firstChild)}return wt})).then(function(ft){return x(ft,T,k,K,X,0,0)});var tt}},{"./clone":2,"./log":13,"./utils":26,"./xhr":28}],17:[function(B,Q,D){var v=B("./proxy").ProxyURL;Q.exports=function(p,w){var x=document.createElement("a");x.href=p,p=x.href,this.src=p,this.image=new Image;var C=this;this.promise=new Promise(function(S,I){C.image.crossOrigin="Anonymous",C.image.onload=S,C.image.onerror=I,new v(p,w,document).then(function(P){C.image.src=P}).catch(I)})}},{"./proxy":16}],18:[function(B,Q,D){var v=B("./nodecontainer");function p(w,x,C){v.call(this,w,x),this.isPseudoElement=!0,this.before=C===":before"}p.prototype.cloneTo=function(w){p.prototype.cloneTo.call(this,w),w.isPseudoElement=!0,w.before=this.before},(p.prototype=Object.create(v.prototype)).appendToDOM=function(){this.before?this.parent.node.insertBefore(this.node,this.parent.node.firstChild):this.parent.node.appendChild(this.node),this.parent.node.className+=" "+this.getHideClass()},p.prototype.cleanDOM=function(){this.node.parentNode.removeChild(this.node),this.parent.node.className=this.parent.node.className.replace(this.getHideClass(),"")},p.prototype.getHideClass=function(){return this["PSEUDO_HIDE_ELEMENT_CLASS_"+(this.before?"BEFORE":"AFTER")]},p.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE="___html2canvas___pseudoelement_before",p.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER="___html2canvas___pseudoelement_after",Q.exports=p},{"./nodecontainer":14}],19:[function(B,Q,D){var v=B("./log");function p(w,x,C,S,I){this.width=w,this.height=x,this.images=C,this.options=S,this.document=I}p.prototype.renderImage=function(w,x,C,S){var I=w.cssInt("paddingLeft"),P=w.cssInt("paddingTop"),d=w.cssInt("paddingRight"),_=w.cssInt("paddingBottom"),E=C.borders,F=x.width-(E[1].width+E[3].width+I+d),T=x.height-(E[0].width+E[2].width+P+_);this.drawImage(S,0,0,S.image.width||F,S.image.height||T,x.left+I+E[3].width,x.top+P+E[0].width,F,T)},p.prototype.renderBackground=function(w,x,C){0<x.height&&0<x.width&&(this.renderBackgroundColor(w,x),this.renderBackgroundImage(w,x,C))},p.prototype.renderBackgroundColor=function(w,x){var C=w.color("backgroundColor");C.isTransparent()||this.rectangle(x.left,x.top,x.width,x.height,C)},p.prototype.renderBorders=function(w){w.forEach(this.renderBorder,this)},p.prototype.renderBorder=function(w){w.color.isTransparent()||w.args===null||this.drawShape(w.args,w.color)},p.prototype.renderBackgroundImage=function(w,x,C){w.parseBackgroundImages().reverse().forEach(function(S,I,P){switch(S.method){case"url":var d=this.images.get(S.args[0]);d?this.renderBackgroundRepeating(w,x,d,P.length-(I+1),C):v("Error loading background-image",S.args[0]);break;case"linear-gradient":case"gradient":var _=this.images.get(S.value);_?this.renderBackgroundGradient(_,x,C):v("Error loading background-image",S.args[0]);break;case"none":break;default:v("Unknown background-image type",S.args[0])}},this)},p.prototype.renderBackgroundRepeating=function(w,x,C,S,I){var P=w.parseBackgroundSize(x,C.image,S),d=w.parseBackgroundPosition(x,C.image,S,P);switch(w.parseBackgroundRepeat(S)){case"repeat-x":case"repeat no-repeat":this.backgroundRepeatShape(C,d,P,x,x.left+I[3],x.top+d.top+I[0],99999,P.height,I);break;case"repeat-y":case"no-repeat repeat":this.backgroundRepeatShape(C,d,P,x,x.left+d.left+I[3],x.top+I[0],P.width,99999,I);break;case"no-repeat":this.backgroundRepeatShape(C,d,P,x,x.left+d.left+I[3],x.top+d.top+I[0],P.width,P.height,I);break;default:this.renderBackgroundRepeat(C,d,P,{top:x.top,left:x.left},I[3],I[0])}},Q.exports=p},{"./log":13}],20:[function(B,Q,D){var v=B("../renderer"),p=B("../lineargradientcontainer"),w=B("../log");function x(S,I){v.apply(this,arguments),this.canvas=this.options.canvas||this.document.createElement("canvas"),this.options.canvas||(this.canvas.width=S,this.canvas.height=I),this.ctx=this.canvas.getContext("2d"),this.taintCtx=this.document.createElement("canvas").getContext("2d"),this.ctx.textBaseline="bottom",this.variables={},w("Initialized CanvasRenderer with size",S,"x",I)}function C(S){return 0<S.length}(x.prototype=Object.create(v.prototype)).setFillStyle=function(S){return this.ctx.fillStyle=typeof S=="object"&&S.isColor?S.toString():S,this.ctx},x.prototype.rectangle=function(S,I,P,d,_){this.setFillStyle(_).fillRect(S,I,P,d)},x.prototype.circle=function(S,I,P,d){this.setFillStyle(d),this.ctx.beginPath(),this.ctx.arc(S+P/2,I+P/2,P/2,0,2*Math.PI,!0),this.ctx.closePath(),this.ctx.fill()},x.prototype.circleStroke=function(S,I,P,d,_,E){this.circle(S,I,P,d),this.ctx.strokeStyle=E.toString(),this.ctx.stroke()},x.prototype.drawShape=function(S,I){this.shape(S),this.setFillStyle(I).fill()},x.prototype.taints=function(S){if(S.tainted===null){this.taintCtx.drawImage(S.image,0,0
3803);try{this.taintCtx.getImageData(0,0,1,1),S.tainted=!1}catch{this.taintCtx=document.createElement("canvas").getContext("2d"),S.tainted=!0}}return S.tainted},x.prototype.drawImage=function(S,I,P,d,_,E,F,T,k){this.taints(S)&&!this.options.allowTaint||this.ctx.drawImage(S.image,I,P,d,_,E,F,T,k)},x.prototype.clip=function(S,I,P){this.ctx.save(),S.filter(C).forEach(function(d){this.shape(d).clip()},this),I.call(P),this.ctx.restore()},x.prototype.shape=function(S){return this.ctx.beginPath(),S.forEach(function(I,P){I[0]==="rect"?this.ctx.rect.apply(this.ctx,I.slice(1)):this.ctx[P===0?"moveTo":I[0]+"To"].apply(this.ctx,I.slice(1))},this),this.ctx.closePath(),this.ctx},x.prototype.font=function(S,I,P,d,_,E){this.setFillStyle(S).font=[I,P,d,_,E].join(" ").split(",")[0]},x.prototype.fontShadow=function(S,I,P,d){this.setVariable("shadowColor",S.toString()).setVariable("shadowOffsetY",I).setVariable("shadowOffsetX",P).setVariable("shadowBlur",d)},x.prototype.clearShadow=function(){this.setVariable("shadowColor","rgba(0,0,0,0)")},x.prototype.setOpacity=function(S){this.ctx.globalAlpha=S},x.prototype.setTransform=function(S){this.ctx.translate(S.origin[0],S.origin[1]),this.ctx.transform.apply(this.ctx,S.matrix),this.ctx.translate(-S.origin[0],-S.origin[1])},x.prototype.setVariable=function(S,I){return this.variables[S]!==I&&(this.variables[S]=this.ctx[S]=I),this},x.prototype.text=function(S,I,P){this.ctx.fillText(S,I,P)},x.prototype.backgroundRepeatShape=function(S,I,P,d,_,E,F,T,k){var K=[["line",Math.round(_),Math.round(E)],["line",Math.round(_+F),Math.round(E)],["line",Math.round(_+F),Math.round(T+E)],["line",Math.round(_),Math.round(T+E)]];this.clip([K],function(){this.renderBackgroundRepeat(S,I,P,d,k[3],k[0])},this)},x.prototype.renderBackgroundRepeat=function(S,I,P,d,_,E){var F=Math.round(d.left+I.left+_),T=Math.round(d.top+I.top+E);this.setFillStyle(this.ctx.createPattern(this.resizeImage(S,P),"repeat")),this.ctx.translate(F,T),this.ctx.fill(),this.ctx.translate(-F,-T)},x.prototype.renderBackgroundGradient=function(S,I){if(S instanceof p){var P=this.ctx.createLinearGradient(I.left+I.width*S.x0,I.top+I.height*S.y0,I.left+I.width*S.x1,I.top+I.height*S.y1);S.colorStops.forEach(function(d){P.addColorStop(d.stop,d.color.toString())}),this.rectangle(I.left,I.top,I.width,I.height,P)}},x.prototype.resizeImage=function(S,I){var P=S.image;if(P.width===I.width&&P.height===I.height)return P;var d=document.createElement("canvas");return d.width=I.width,d.height=I.height,d.getContext("2d").drawImage(P,0,0,P.width,P.height,0,0,I.width,I.height),d},Q.exports=x},{"../lineargradientcontainer":12,"../log":13,"../renderer":19}],21:[function(B,Q,D){var v=B("./nodecontainer");function p(w,x,C,S){v.call(this,C,S),this.ownStacking=w,this.contexts=[],this.children=[],this.opacity=(this.parent?this.parent.stack.opacity:1)*x}(p.prototype=Object.create(v.prototype)).getParentStack=function(w){var x=this.parent?this.parent.stack:null;return x?x.ownStacking?x:x.getParentStack(w):w.stack},Q.exports=p},{"./nodecontainer":14}],22:[function(B,Q,D){function v(p){this.rangeBounds=this.testRangeBounds(p),this.cors=this.testCORS(),this.svg=this.testSVG()}v.prototype.testRangeBounds=function(p){var w,x,C=!1;return p.createRange&&(w=p.createRange()).getBoundingClientRect&&((x=p.createElement("boundtest")).style.height="123px",x.style.display="block",p.body.appendChild(x),w.selectNode(x),w.getBoundingClientRect().height===123&&(C=!0),p.body.removeChild(x)),C},v.prototype.testCORS=function(){return new Image().crossOrigin!==void 0},v.prototype.testSVG=function(){var p=new Image,w=document.createElement("canvas"),x=w.getContext("2d");p.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{x.drawImage(p,0,0),w.toDataURL()}catch{return!1}return!0},Q.exports=v},{}],23:[function(B,Q,D){var v=B("./xhr"),p=B("./utils").decode64;function w(x){this.src=x,this.image=null;var C=this;this.promise=this.hasFabric().then(function(){return C.isInline(x)?Promise.resolve(C.inlineFormatting(x)):v(x)}).then(function(S){return new Promise(function(I){window.html2canvas.svg.fabric.loadSVGFromString(S,C.createCanvas.call(C,I))})})}w.prototype.hasFabric=function(){return window.html2canvas.svg&&window.html2canvas.svg.fabric?Promise.resolve():Promise.reject(new Error("html2canvas.svg.js is not loaded, cannot render svg"))},w.prototype.inlineFormatting=function(x){return/^data:image\/svg\+xml;base64,/.test(x)?this.decode64(this.removeContentType(x)):this.removeContentType(x)},w.prototype.removeContentType=function(x){return x.replace(/^data:image\/svg\+xml(;base64)?,/,"")},w.prototype.isInline=function(x){return/^data:image\/svg\+xml/i.test(x)},w.prototype.createCanvas=function(x){var C=this;return function(S,I){var P=new window.html2canvas.svg.fabric.StaticCanvas("c");C.image=P.lowerCanvasEl,P.setWidth(I.width).setHeight(I.height).add(window.html2canvas.svg.fabric.util.groupSVGElements(S,I)).renderAll(),x(P.lowerCanvasEl)}},w.prototype.decode64=function(x){return typeof window.atob=="function"?window.atob(x):p(x)},Q.exports=w},{"./utils":26,"./xhr":28}],24:[function(B,Q,D){var v=B("./svgcontainer");function p(w,x){this.src=w,this.image=null;var C=this;this.promise=x?new Promise(function(S,I){C.image=new Image,C.image.onload=S,C.image.onerror=I,C.image.src="data:image/svg+xml,"+ne
3803w XMLSerializer().serializeToString(w),C.image.complete===!0&&S(C.image)}):this.hasFabric().then(function(){return new Promise(function(S){window.html2canvas.svg.fabric.parseSVGDocument(w,C.createCanvas.call(C,S))})})}p.prototype=Object.create(v.prototype),Q.exports=p},{"./svgcontainer":23}],25:[function(B,Q,D){var v=B("./nodecontainer");function p(x,C){v.call(this,x,C)}function w(x,C,S){if(0<x.length)return C+S.toUpperCase()}(p.prototype=Object.create(v.prototype)).applyTextTransform=function(){this.node.data=this.transform(this.parent.css("textTransform"))},p.prototype.transform=function(x){var C=this.node.data;switch(x){case"lowercase":return C.toLowerCase();case"capitalize":return C.replace(/(^|\s|:|-|\(|\))([a-z])/g,w);case"uppercase":return C.toUpperCase();default:return C}},Q.exports=p},{"./nodecontainer":14}],26:[function(B,Q,D){D.smallImage=function(){return"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"},D.bind=function(v,p){return function(){return v.apply(p,arguments)}},D.decode64=function(v){var p,w,x,C,S,I,P,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_=v.length,E="";for(p=0;p<_;p+=4)S=d.indexOf(v[p])<<2|(w=d.indexOf(v[p+1]))>>4,I=(15&w)<<4|(x=d.indexOf(v[p+2]))>>2,P=(3&x)<<6|(C=d.indexOf(v[p+3])),E+=x===64?String.fromCharCode(S):C===64||C===-1?String.fromCharCode(S,I):String.fromCharCode(S,I,P);return E},D.getBounds=function(v){if(v.getBoundingClientRect){var p=v.getBoundingClientRect(),w=v.offsetWidth==null?p.width:v.offsetWidth;return{top:p.top,bottom:p.bottom||p.top+p.height,right:p.left+w,left:p.left,width:w,height:v.offsetHeight==null?p.height:v.offsetHeight}}return{}},D.offsetBounds=function(v){var p=v.offsetParent?D.offsetBounds(v.offsetParent):{top:0,left:0};return{top:v.offsetTop+p.top,bottom:v.offsetTop+v.offsetHeight+p.top,right:v.offsetLeft+p.left+v.offsetWidth,left:v.offsetLeft+p.left,width:v.offsetWidth,height:v.offsetHeight}},D.parseBackgrounds=function(v){var p,w,x,C,S,I,P,d=[],_=0,E=0,F=function(){p&&(w.substr(0,1)==='"'&&(w=w.substr(1,w.length-2)),w&&P.push(w),p.substr(0,1)==="-"&&0<(C=p.indexOf("-",1)+1)&&(x=p.substr(0,C),p=p.substr(C)),d.push({prefix:x,method:p.toLowerCase(),value:S,args:P,image:null})),P=[],p=x=w=S=""};return P=[],p=x=w=S="",v.split("").forEach(function(T){if(!(_===0&&-1<` \r 3804 `.indexOf(T))){switch(T){case'"':I?I===T&&(I=null):I=T;break;case"(":if(I)break;if(_===0)return _=1,void(S+=T);E++;break;case")":if(I)break;if(_===1){if(E===0)return _=0,S+=T,void F();E--}break;case",":if(I)break;if(_===0)return void F();if(_===1&&E===0&&!p.match(/^url$/i))return P.push(w),w="",void(S+=T)}S+=T,_===0?p+=T:w+=T}}),F(),d}},{}],27:[function(B,Q,D){var v=B("./gradientcontainer");function p(w){v.apply(this,arguments),this.type=w.args[0]==="linear"?v.TYPES.LINEAR:v.TYPES.RADIAL}p.prototype=Object.create(v.prototype),Q.exports=p},{"./gradientcontainer":9}],28:[function(B,Q,D){Q.exports=function(v){return new Promise(function(p,w){var x=new XMLHttpRequest;x.open("GET",v),x.onload=function(){x.status===200?p(x.responseText):w(new Error(x.statusText))},x.onerror=function(){w(new Error("Network Error"))},x.send()})}},{}]},{},[4])(4)}),function(B){var Q="+".charCodeAt(0),D="/".charCodeAt(0),v="0".charCodeAt(0),p="a".charCodeAt(0),w="A".charCodeAt(0),x="-".charCodeAt(0),C="_".charCodeAt(0),S=function(yt){var $=yt.charCodeAt(0);return $===Q||$===x?62:$===D||$===C?63:$<v?-1:$<v+10?$-v+26+26:$<w+26?$-w:$<p+26?$-p+26:void 0};B.API.TTFFont=function(){function yt($,z,ct){var q;if(this.rawData=$,q=this.contents=new P($),this.contents.pos=4,q.readString(4)==="ttcf")throw z?new Error("Font "+z+" not found in TTC file."):new Error("Mu
3804st specify a font name for TTC files.");q.pos=0,this.parse(),this.subset=new Kt(this),this.registerTTF()}return yt.open=function($,z,ct,q){return new yt(function(At){var ot,Pt,mt,qt,Mt,W;if(0<At.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var et=At.length;Mt=At.charAt(et-2)==="="?2:At.charAt(et-1)==="="?1:0,W=new Uint8Array(3*At.length/4-Mt),mt=0<Mt?At.length-4:At.length;var M=0;function G(Y){W[M++]=Y}for(Pt=ot=0;ot<mt;ot+=4,Pt+=3)G((16711680&(qt=S(At.charAt(ot))<<18|S(At.charAt(ot+1))<<12|S(At.charAt(ot+2))<<6|S(At.charAt(ot+3))))>>16),G((65280&qt)>>8),G(255&qt);return Mt===2?G(255&(qt=S(At.charAt(ot))<<2|S(At.charAt(ot+1))>>4)):Mt===1&&(G((qt=S(At.charAt(ot))<<10|S(At.charAt(ot+1))<<4|S(At.charAt(ot+2))>>2)>>8&255),G(255&qt)),W}(ct),z)},yt.prototype.parse=function(){return this.directory=new d(this.contents),this.head=new F(this),this.name=new wt(this),this.cmap=new k(this),this.hhea=new K(this),this.maxp=new ht(this),this.hmtx=new at(this),this.post=new tt(this),this.os2=new X(this),this.loca=new vt(this),this.glyf=new dt(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},yt.prototype.registerTTF=function(){var $,z,ct,q,At;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var ot,Pt,mt,qt;for(qt=[],ot=0,Pt=(mt=this.bbox).length;ot<Pt;ot++)$=mt[ot],qt.push(Math.round($*this.scaleFactor));return qt}.call(this),this.stemV=0,this.post.exists?(ct=255&(q=this.post.italic_angle),!0&(z=q>>16)&&(z=-(1+(65535^z))),this.italicAngle=+(z+"."+ct)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(At=this.familyClass)===1||At===2||At===3||At===4||At===5||At===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},yt.prototype.characterToGlyph=function($){var z;return((z=this.cmap.unicode)!=null?z.codeMap[$]:void 0)||0},yt.prototype.widthOfGlyph=function($){var z;return z=1e3/this.head.unitsPerEm,this.hmtx.forGlyph($).advance*z},yt.prototype.widthOfString=function($,z,ct){var q,At,ot,Pt,mt;for(At=Pt=ot=0,mt=($=""+$).length;0<=mt?Pt<mt:mt<Pt;At=0<=mt?++Pt:--Pt)q=$.charCodeAt(At),ot+=this.widthOfGlyph(this.characterToGlyph(q))+ct*(1e3/z)||0;return ot*(z/1e3)},yt.prototype.lineHeight=function($,z){var ct;return z==null&&(z=!1),ct=z?this.lineGap:0,(this.ascender+ct-this.decender)/1e3*$},yt}();var I,P=function(){function yt($){this.data=$!=null?$:[],this.pos=0,this.length=this.data.length}return yt.prototype.readByte=function(){return this.data[this.pos++]},yt.prototype.writeByte=function($){return this.data[this.pos++]=$},yt.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},yt.prototype.writeUInt32=function($){return this.writeByte($>>>24&255),this.writeByte($>>16&255),this.writeByte($>>8&255),this.writeByte(255&$)},yt.prototype.readInt32=function(){var $;return 2147483648<=($=this.readUInt32())?$-4294967296:$},yt.prototype.writeInt32=function($){return $<0&&($+=4294967296),this.writeUInt32($)},yt.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},yt.prototype.writeUInt16=function($){return this.writeByte($>>8&255),this.writeByte(255&$)},yt.prototype.readInt16=function(){var $;return 32768<=($=this.readUInt16())?$-65536:$},yt.prototype.writeInt16=function($){return $<0&&($+=65536),this.writeUInt16($)},yt.prototype.readString=function($){var z,ct,q;
vendor: 16,960 bytes, line 3804
3804for(ct=[],z=q=0;0<=$?q<$:$<q;z=0<=$?++q:--q)ct[z]=String.fromCharCode(this.readByte());return ct.join("")},yt.prototype.writeString=function($){var z,ct,q,At;for(At=[],z=ct=0,q=$.length;0<=q?ct<q:q<ct;z=0<=q?++ct:--ct)At.push(this.writeByte($.charCodeAt(z)));return At},yt.prototype.readShort=function(){return this.readInt16()},yt.prototype.writeShort=function($){return this.writeInt16($)},yt.prototype.readLongLong=function(){var $,z,ct,q,At,ot,Pt,mt;return $=this.readByte(),z=this.readByte(),ct=this.readByte(),q=this.readByte(),At=this.readByte(),ot=this.readByte(),Pt=this.readByte(),mt=this.readByte(),128&$?-1*(72057594037927940*(255^$)+281474976710656*(255^z)+1099511627776*(255^ct)+4294967296*(255^q)+16777216*(255^At)+65536*(255^ot)+256*(255^Pt)+(255^mt)+1):72057594037927940*$+281474976710656*z+1099511627776*ct+4294967296*q+16777216*At+65536*ot+256*Pt+mt},yt.prototype.readInt=function(){return this.readInt32()},yt.prototype.writeInt=function($){return this.writeInt32($)},yt.prototype.read=function($){var z,ct;for(z=[],ct=0;0<=$?ct<$:$<ct;0<=$?++ct:--ct)z.push(this.readByte());return z},yt.prototype.write=function($){var z,ct,q,At;for(At=[],ct=0,q=$.length;ct<q;ct++)z=$[ct],At.push(this.writeByte(z));return At},yt}(),d=function(){var yt;function $(z){var ct,q,At;for(this.scalarType=z.readInt(),this.tableCount=z.readShort(),this.searchRange=z.readShort(),this.entrySelector=z.readShort(),this.rangeShift=z.readShort(),this.tables={},q=0,At=this.tableCount;0<=At?q<At:At<q;0<=At?++q:--q)ct={tag:z.readString(4),checksum:z.readInt(),offset:z.readInt(),length:z.readInt()},this.tables[ct.tag]=ct}return $.prototype.encode=function(z){var ct,q,At,ot,Pt,mt,qt,Mt,W,et,M,G,Y;for(Y in M=Object.keys(z).length,mt=Math.log(2),W=16*Math.floor(Math.log(M)/mt),ot=Math.floor(W/mt),Mt=16*M-W,(q=new P).writeInt(this.scalarType),q.writeShort(M),q.writeShort(W),q.writeShort(ot),q.writeShort(Mt),At=16*M,qt=q.pos+At,Pt=null,G=[],z)for(et=z[Y],q.writeString(Y),q.writeInt(yt(et)),q.writeInt(qt),q.writeInt(et.length),G=G.concat(et),Y==="head"&&(Pt=qt),qt+=et.length;qt%4;)G.push(0),qt++;return q.write(G),ct=2981146554-yt(q.data),q.pos=Pt+8,q.writeUInt32(ct),q.data},yt=function(z){var ct,q,At,ot;for(z=H.call(z);z.length%4;)z.push(0);for(q=new P(z),At=ct=0,ot=z.length;At<ot;At+=4)ct+=q.readUInt32();return 4294967295&ct},$}(),_={}.hasOwnProperty,E=function(yt,$){for(var z in $)_.call($,z)&&(yt[z]=$[z]);function ct(){this.constructor=yt}return ct.prototype=$.prototype,yt.prototype=new ct,yt.__super__=$.prototype,yt};I=function(){function yt($){var z;this.file=$,z=this.file.directory.tables[this.tag],this.exists=!!z,z&&(this.offset=z.offset,this.length=z.length,this.parse(this.file.contents))}return yt.prototype.parse=function(){},yt.prototype.encode=function(){},yt.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},yt}();var F=function(yt){function $(){return $.__super__.constructor.apply(this,arguments)}return E($,I),$.prototype.tag="head",$.prototype.parse=function(z){return z.pos=this.offset,this.version=z.readInt(),this.revision=z.readInt(),this.checkSumAdjustment=z.readInt(),this.magicNumber=z.readInt(),this.flags=z.readShort(),this.unitsPerEm=z.readShort(),this.created=z.readLongLong(),this.modified=z.readLongLong(),this.xMin=z.readShort(),this.yMin=z.readShort(),this.xMax=z.readShort(),this.yMax=z.readShort(),this.macStyle=z.readShort(),this.lowestRecPPEM=z.readShort(),this.fontDirectionHint=z.readShort(),this.indexToLocFormat=z.readShort(),this.glyphDataFormat=z.readShort()},$}(),T=function(){function yt($,z){var ct,q,At,ot,Pt,mt,qt,Mt,W,et,M,G,Y,ut,Lt,Ot,ne,ae;switch(this.platformID=$.readUInt16(),this.encodingID=$.readShort(),this.offset=z+$.readInt(),W=$.pos,$.pos=this.offset,this.format=$.readUInt16(),this.length=$.readUInt16(),this.language=$.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(mt=Lt=0;Lt<256;mt=++Lt)this.codeMap[mt]=$.readByte();break;case 4:for(M=$.readUInt16(),et=M/2,$.pos+=6,At=function(){var ie,Me;for(Me=[],mt=ie=0;0<=et?ie<et:et<ie;mt=0<=et?++ie:--ie)Me.push($.readUInt16());return Me}(),$.pos+=2,Y=function(){var ie,Me;for(Me=[],mt=ie=0;0<=et?ie<et:et<ie;mt=0<=et?++ie:--ie)Me.push($.readUInt16());return Me}(),qt=function(){var ie,Me;for(Me=[],mt=ie=0;0<=et?ie<et:et<ie;mt=0<=et?++ie:--ie)Me.push($.readUInt16());return Me}(),Mt=function(){var ie,Me;for(Me=[],mt=ie=0;0<=et?ie<et:et<ie;mt=0<=et?++ie:--ie)Me.push($.readUInt16());return Me}(),q=(this.length-$.pos+this.offset)/2,Pt=function(){var ie,Me;for(Me=[],mt=ie=0;0<=q?ie<q:q<ie;mt=0<=q?++ie:--ie)Me.push($.readUInt16());return Me}(),mt=Ot=0,ae=At.length;Ot<ae;mt=++Ot)for(ut=At[mt],ct=ne=G=Y[mt];G<=ut?ne<=ut:ut<=ne;ct=G<=ut?++ne:--ne)Mt[mt]===0?ot=ct+qt[mt]:(ot=Pt[Mt[mt]/2+(ct-G)-(et-mt)]||0)!==0&&(ot+=qt[mt]),this.codeMap[ct]=65535&ot}$.pos=W}return yt.encode=function($,z){var ct,q,At,ot,Pt,mt,qt,Mt,W,et,M,G,Y,ut,Lt,Ot,ne,ae,ie,Me,ve,He,It,pn,sn,An,Un,We,un,mn,ln,an,wn,Gn,Ke,tr,Ii,Lr,es,ii,nt,Rt,Zt,Ut,Tt,Yt;switch(We=new P,ot=Object.keys($).sort(function(se,ce){return se-ce}),z){case"macroman":for(Y=0,ut=function(){var se,ce;for(ce=[],G=se=0;se<256;G=++se)ce.push(0);return ce}(),Ot={0:0},At={},un=0,wn=ot.length;un<wn;un++)Ot[Zt=$[q=ot[un]]]==null&&(Ot[Zt]=++Y),At[q]={old:$[q],new:Ot[$[q]]},ut[q]=Ot[$[q]];return We.writeUInt16(1),We.writeUInt16(0),We.writeUInt32(12),We.writeUInt16(0),We.writeUInt16(262),We.writeUInt16(0),We.write(ut),{charMap:At,subtable:We.data,maxGlyphID:Y+1};case"unicode":for(An=[],W=[],Ot={},ct={},Lt=qt=null,mn=ne=0,Gn=ot.length;mn<Gn;mn++)Ot[ie=$[q=ot[mn]]]==null&&(Ot[ie]=++ne),ct[q]={old:ie,new:Ot[ie]},Pt=Ot[ie]-q,Lt!=null&&Pt===qt||(Lt&&W.push(Lt),An.push(q),qt=Pt),Lt=q;for(Lt&&W.push(Lt),W.push(65535),An.push(65535),pn=2*(It=An.length),He=2*Math.pow(Math.log(It)/Math.LN2,2),et=Math.log(He/2)/Math.LN2,ve=2*It-He,mt=[],Me=[],M=[],G=ln=0,Ke=An.length;ln<Ke;G=++ln){if(sn=An[G],Mt=W[G],sn===65535){mt.push(0),Me.push(0);break}if(32768<=sn-(Un=ct[sn].new))for(mt.push(0),Me.push(2*(M.length+It-G)),q=an=sn;sn<=Mt?an<=Mt:Mt<=an;q=sn<=Mt?++an:--an)M.push(ct[q].new);else mt.push(Un-sn),Me.push(0)}for(We.writeUInt16(3),We.writeUInt16(1),We.writeUInt32(12),We.writeUInt16(4),We.writeUInt16(16+8*It+2*M.length),We.writeUInt16(0),We.writeUInt16(pn),We.writeUInt16(He),We.writeUInt16(et),We.writeUInt16(ve),nt=0,tr=W.length;nt<tr;nt++)q=W[nt],We.writeUInt16(q);for(We.writeUInt16(0),Rt=0,Ii=An.length;Rt<Ii;Rt++)q=An[Rt],We.writeUInt16(q);for(Ut=0,Lr=mt.length;Ut<Lr;Ut++)Pt=mt[Ut],We.writeUInt16(Pt);for(Tt=0,es=Me.length;Tt<es;Tt++)ae=Me[Tt],We.writeUInt16(ae);for(Yt=0,ii=M.length;Yt<ii;Yt++)Y=M[Yt],We.writeUInt16(Y);return{charMap:ct,subtable:We.data,maxGlyphID:ne+1}}},yt}(),k=function(yt){function $(){return $.__super__.constructor.apply(this,arguments)}return E($,I),$.prototype.tag="cmap",$.prototype.parse=function(z){var ct,q,At;for(z.pos=this.offset,this.version=z.readUInt16(),q=z.readUInt16(),this.tables=[],this.unicode=null,At=0;0<=q?At<q:q<At;0<=q?++At:--At)ct=new T(z,this.offset),this.tables.push(ct),ct.isUnicode&&this.unicode==null&&(this.unicode=ct);return!0},$.encode=function(z,ct){var q,At;return ct==null&&(ct="macroman"),q=T.encode(z,ct),(At=new P).writeUInt16(0),At.writeUInt16(1),q.table=At.data.concat(q.subtable),q},$}(),K=function(yt){function $(){return $.__super__.constructor.apply(this,arguments)}return E($,I),$.prototype.tag="hhea",$.prototype.parse=function(z){return z.pos=this.offset,this.version=z.readInt(),this.ascender=z.readShort(),this.decender=z.readShort(),this.lineGap=z.readShort(),this.advanceWidthMax=z.readShort(),this.minLeftSideBearing=z.readShort(),this.minRightSideBearing=z.readShort(),this.xMaxExtent=z.readShort(),this.caretSlopeRise=z.readShort(),this.caretSlopeRun=z.readShort(),this.caretOffset=z.readShort(),z.pos+=8,this.metricDataFormat=z.readShort(),this.numberOfMetrics=z.readUInt16()},$}(),X=function(yt){function $(){return $.__super__.constructor.apply(this,arguments)}return E($,I),$.prototype.tag="OS/2",$.prototype.parse=function(z){if(z.pos=this.offset,this.version=z.readUInt16(),this.averageCharWidth=z.readShort(),this.weightClass=z.readUInt16(),this.widthClass=z.readUInt16(),this.type=z.readShort(),this.ySubscriptXSize=z.readShort(),this.ySubscriptYSize=z.readShort(),this.ySubscriptXOffset=z.readShort(),this.ySubscriptYOffset=z.readShort(),this.ySuperscriptXSize=z.readShort(),this.ySuperscriptYSize=z.readShort(),this.ySuperscriptXOffset=z.readShort(),this.ySuperscriptYOffset=z.readShort(),this.yStrikeoutSize=z.readShort(),this.yStrikeoutPosition=z.readShort(),this.familyClass=z.readShort(),this.panose=function(){var ct,q;for(q=[],ct=0;ct<10;++ct)q.push(z.readByte());return q}(),this.charRange=function(){var ct,q;for(q=[],ct=0;ct<4;++ct)q.push(z.readInt());return q}(),this.vendorID=z.readString(4),this.selection=z.readShort(),this.firstCharIndex=z.readShort(),this.lastCharIndex=z.readShort(),0<this.version&&(this.ascent=z.readShort(),this.descent=z.readShort(),this.lineGap=z.readShort(),this.winAscent=z.readShort(),this.winDescent=z.readShort(),this.codePageRange=function(){var ct,q;for(q=[],ct=0;ct<2;++ct)q.push(z.readInt());return q}(),1<this.version))return this.xHeight=z.readShort(),this.capHeight=z.readShort(),this.defaultChar=z.readShort(),this.breakChar=z.readShort(),this.maxContext=z.readShort()},$}(),tt=function(yt){function $(){return $.__super__.constructor.apply(this,arguments)}return E($,I),$.prototype.tag="post",$.prototype.parse=function(z){var ct,q,At,ot;switch(z.pos=this.offset,this.format=z.readInt(),this.italicAngle=z.readInt(),this.underlinePosition=z.readShort(),this.underlineThickness=z.readShort(),this.isFixedPitch=z.readInt(),this.minMemType42=z.readInt(),this.maxMemType42=z.readInt(),this.minMemType1=z.readInt(),this.maxMemType1=z.readInt(),this.format){case 65536:break;case 131072:for(q=z.readUInt16(),this.glyphNameIndex=[],At=0;0<=q?At<q:q<At;0<=q?++At:--At)this.glyphNameIndex.push(z.readUInt16());for(this.names=[],ot=[];z.pos<this.offset+this.length;)ct=z.readByte(),ot.push(this.names.push(z.readString(ct)));return ot;case 151552:return q=z.readUInt16(),this.offsets=z.read(q);case 196608:break;case 262144:return this.map=function(){var Pt,mt,qt;for(qt=[],Pt=0,mt=this.file.maxp.numGlyphs;0<=mt?Pt<mt:mt<Pt;0<=mt?++Pt:--Pt)qt.push(z.readUInt32());return qt}.call(this)}},$}(),ft=function(yt,$){this.raw=yt,this.length=yt.length,this.platformID=$.platformID,this.encodingID=$.encodingID,this.languageID=$.languageID},wt=function(yt){function $(){return $.__super__.constructor.apply(this,arguments)}return E($,I),$.prototype.tag="name",$.prototype.parse=function(z){var ct,q,At,ot,Pt,mt,qt,Mt,W,et,M,G;for(z.pos=this.offset,z.readShort(),ct=z.readShort(),mt=z.readShort(),q=[],ot=W=0;0<=ct?W<ct:ct<W;ot=0<=ct?++W:--W)q.push({platformID:z.readShort(),encodingID:z.readShort(),languageID:z.readShort(),nameID:z.readShort(),length:z.readShort(),offset:this.offset+mt+z.readShort()});for(qt={},ot=et=0,M=q.length;et<M;ot=++et)At=q[ot],z.pos=At.offset,Mt=z.readString(At.length),Pt=new ft(Mt,At),qt[G=At.nameID]==null&&(qt[G]=[]),qt[At.nameID].push(Pt);return this.strings=qt,this.copyright=qt[0],this.fontFamily=qt[1],this.fontSubfamily=qt[2],this.uniqueSubfamily=qt[3],this.fontName=qt[4],this.version=qt[5],this.postscriptName=qt[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,""),this.trademark=qt[7],this.manufacturer=qt[8],this.designer=qt[9],this.description=qt[10],this.vendorUrl=qt[11],this.designerUrl=qt[12],this.license=qt[13],this.licenseUrl=qt[14],this.preferredFamily=qt[15],this.preferredSubfamily=qt[17],this.compatibleFull=qt[18],this.sampleText=qt[19]},$}(),ht=function(yt){function $(){return $.__super__.constructor.apply(this,arguments)}return E($,I),$.prototype.tag="maxp",$.prototype.parse=function(z){return z.pos=this.offset,this.version=z.readInt(),this.numGlyphs=z.readUInt16(),this.maxPoints=z.readUInt16(),this.maxContours=z.readUInt16(),this.maxCompositePoints=z.readUInt16(),this.maxComponentContours=z.readUInt16(),this.maxZones=z.readUInt16(),this.maxTwilightPoints=z.readUInt16(),this.maxStorage=z.readUInt16(),this.maxFunctionDefs=z.readUInt16(),this.maxInstructionDefs=z.readUInt16(),this.maxStackElements=z.readUInt16(),this.maxSizeOfInstructions=z.readUInt16(),this.maxComponentElements=z.readUInt16(),this.maxComponentDepth=z.readUInt16()},$}(),at=function(yt){function $(){return $.__super__.constructor.apply(this,arguments)}return E($,I),$.prototype.tag="hmtx",$.prototype.parse=function(z){var ct,q,At,ot,Pt,mt,qt;for(z.pos=this.offset,this.metrics=[],ot=0,mt=this.file.hhea.numberOfMetrics;0<=mt?ot<mt:mt<ot;0<=mt?++ot:--ot)this.metrics.push({advance:z.readUInt16(),lsb:z.readInt16()});for(q=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Mt,W;for(W=[],Mt=0;0<=q?Mt<q:q<Mt;0<=q?++Mt:--Mt)W.push(z.readInt16());return W}(),this.widths=function(){var Mt,W,et,M;for(M=[],Mt=0,W=(et=this.metrics).length;Mt<W;Mt++)At=et[Mt],M.push(At.advance);return M}.call(this),ct=this.widths[this.widths.length-1],qt=[],Pt=0;0<=q?Pt<q:q<Pt;0<=q?++Pt:--Pt)qt.push(this.widths.push(ct));return qt},$.prototype.forGlyph=function(z){return z in this.metrics?this.metrics[z]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[z-this.metrics.length]}},$}(),H=[].slice,dt=function(yt){function $(){return $.__super__.constructor.apply(this,arguments)}return E($,I),$.prototype.tag="glyf",$.prototype.parse=function(z){return this.cache={}},$.prototype.glyphFor=function(z){var ct,q,At,ot,Pt,mt,qt,Mt,W,et;return(z=z)in this.cache?this.cache[z]:(ot=this.file.loca,ct=this.file.contents,q=ot.indexOf(z),(At=ot.lengthOf(z))===0?this.cache[z]=null:(ct.pos=this.offset+q,Pt=(mt=new P(ct.read(At))).readShort(),Mt=mt.readShort(),et=mt.readShort(),qt=mt.readShort(),W=mt.readShort(),this.cache[z]=Pt===-1?new Bt(mt,Mt,et,qt,W):new rt(mt,Pt,Mt,et,qt,W),this.cache[z]))},$.prototype.encode=function(z,ct,q){var At,ot,Pt,mt,qt;for(Pt=[],ot=[],mt=0,qt=ct.length;mt<qt;mt++)At=z[ct[mt]],ot.push(Pt.length),At&&(Pt=Pt.concat(At.encode(q)));return ot.push(Pt.length),{table:Pt,offsets:ot}},$}(),rt=function(){function yt($,z,ct,q,At,ot){this.raw=$,this.numberOfContours=z,this.xMin=ct,this.yMin=q,this.xMax=At,this.yMax=ot,this.compound=!1}return yt.prototype.encode=function(){return this.raw.data},yt}(),Bt=function(){function yt($,z,ct,q,At){var ot,Pt;for(this.raw=$,this.xMin=z,this.yMin=ct,this.xMax=q,this.yMax=At,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],ot=this.raw;Pt=ot.readShort(),this.glyphOffsets.push(ot.pos),this.glyphIDs.push(ot.readShort()),32&Pt;)ot.pos+=1&Pt?4:2,128&Pt?ot.pos+=8:64&Pt?ot.pos+=4:8&Pt&&(ot.pos+=2)}return yt.prototype.encode=function($){var z,ct,q,At,ot;for(ct=new P(H.call(this.raw.data)),z=q=0,At=(ot=this.glyphIDs).length;q<At;z=++q)ot[z],ct.pos=this.glyphOffsets[z];return ct.data},yt}(),vt=function(yt){function $(){return $.__super__.constructor.apply(this,arguments)}return E($,I),$.prototype.tag="loca",$.prototype.parse=function(z){var ct;return z.pos=this.offset,ct=this.file.head.indexToLocFormat,this.offsets=ct===0?function(){var q,At,ot;for(ot=[],q=0,At=this.length;q<At;q+=2)ot.push(2*z.readUInt16());return ot}.call(this):function(){var q,At,ot;for(ot=[],q=0,At=this.length;q<At;q+=4)ot.push(z.readUInt32());return ot}.call(this)},$.prototype.indexOf=function(z){return this.offsets[z]},$.prototype.lengthOf=function(z){return this.offsets[z+1]-this.offsets[z]},$.prototype.encode=function(z,ct){for(var q=new Uint32Array(this.offsets.length),At=0,ot=0,Pt=0;Pt<q.length;++Pt)if(q[Pt]=At,ot<ct.length&&ct[ot]==Pt){++ot,q[Pt]=At;var mt=this.offsets[Pt],qt=this.offsets[Pt+1]-mt;0<qt&&(At+=qt)}for(var Mt=new Array(4*q.length),W=0;W<q.length;++W)Mt[4*W+3]=255&q[W],Mt[4*W+2]=(65280&q[W])>>8,Mt[4*W+1]=(16711680&q[W])>>16,Mt[4*W]=(4278190080&q[W])>>24;return Mt},$}(),Kt=function(){function yt($){this.font=$,this.subset={},this.unicodes={},this.next=33}return yt.prototype.generateCmap=function(){var $,z,ct,q,At;for(z in q=this.font.cmap.tables[0].codeMap,$={},At=this.subset)ct=At[z],$[z]=q[ct];return $},yt.prototype.glyphsFor=function($){var z,ct,q,At,ot,Pt,mt;for(q={},ot=0,Pt=$.length;ot<Pt;ot++)q[At=$[ot]]=this.font.glyf.glyphFor(At);for(At in z=[],q)(ct=q[At])!=null&&ct.compound&&z.push.apply(z,ct.glyphIDs);if(0<z.length)for(At in mt=this.glyphsFor(z))ct=mt[At],q[At]=ct;return q},yt.prototype.encode=function($){var z,ct,q,At,ot,Pt,mt,qt,Mt,W,et,M,G,Y,ut;for(ct in z=k.encode(this.generateCmap(),"unicode"),At=this.glyphsFor($),et={0:0},ut=z.charMap)et[(Pt=ut[ct]).old]=Pt.new;for(M in W=z.maxGlyphID,At)M in et||(et[M]=W++);return qt=function(Lt){var Ot,ne;for(Ot in ne={},Lt)ne[Lt[Ot]]=Ot;return ne}(et),Mt=Object.keys(qt).sort(function(Lt,Ot){return Lt-Ot}),G=function(){var Lt,Ot,ne;for(ne=[],Lt=0,Ot=Mt.length;
3804Lt<Ot;Lt++)ot=Mt[Lt],ne.push(qt[ot]);return ne}(),q=this.font.glyf.encode(At,G,et),mt=this.font.loca.encode(q.offsets,G),Y={cmap:this.font.cmap.raw(),glyf:q.table,loca:mt,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.raw()},this.font.os2.exists&&(Y["OS/2"]=this.font.os2.raw()),this.font.directory.encode(Y)},yt}();B.API.PDFObject=function(){var yt;function $(){}return yt=function(z,ct){return(Array(ct+1).join("0")+z).slice(-ct)},$.convert=function(z){var ct,q,At,ot;if(Array.isArray(z))return"["+function(){var Pt,mt,qt;for(qt=[],Pt=0,mt=z.length;Pt<mt;Pt++)ct=z[Pt],qt.push($.convert(ct));return qt}().join(" ")+"]";if(typeof z=="string")return"/"+z;if(z!=null&&z.isString)return"("+z+")";if(z instanceof Date)return"(D:"+yt(z.getUTCFullYear(),4)+yt(z.getUTCMonth(),2)+yt(z.getUTCDate(),2)+yt(z.getUTCHours(),2)+yt(z.getUTCMinutes(),2)+yt(z.getUTCSeconds(),2)+"Z)";if({}.toString.call(z)==="[object Object]"){for(q in At=["<<"],z)ot=z[q],At.push("/"+q+" "+$.convert(ot));return At.push(">>"),At.join(` 3805`)}return""+z},$}()}(he),je=typeof self<"u"&&self||typeof window<"u"&&window||typeof Wn<"u"&&Wn||Function('return typeof this === "object" && this.content')()||Function("return this")(),$e=function(){var B,Q,D;function v(p){var w,x,C,S,I,P,d,_,E,F,T,k,K,X;for(this.data=p,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},P=null;;){switch(w=this.readUInt32(),E=function(){var tt,ft;for(ft=[],tt=0;tt<4;++tt)ft.push(String.fromCharCode(this.data[this.pos++]));return ft}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(w);break;case"fcTL":P&&this.animation.frames.push(P),this.pos+=4,P={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},I=this.readUInt16(),S=this.readUInt16()||100,P.delay=1e3*I/S,P.disposeOp=this.data[this.pos++],P.blendOp=this.data[this.pos++],P.data=[];break;case"IDAT":case"fdAT":for(E==="fdAT"&&(this.pos+=4,w-=4),p=(P!=null?P.data:void 0)||this.imgData,k=0;0<=w?k<w:w<k;0<=w?++k:--k)p.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(C=this.palette.length/3,this.transparency.indexed=this.read(w),this.transparency.indexed.length>C)throw new Error("More transparent colors than palette size");if(0<(F=C-this.transparency.indexed.length))for(K=0;0<=F?K<F:F<K;0<=F?++K:--K)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(w)[0];break;case 2:this.transparency.rgb=this.read(w)}break;case"tEXt":d=(T=this.read(w)).indexOf(0),_=String.fromCharCode.apply(String,T.slice(0,d)),this.text[_]=String.fromCharCode.apply(String,T.slice(d+1));break;case"IEND":return P&&this.animation.frames.push(P),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(X=this.colorType)===4||X===6,x=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*x,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=w}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}v.load=function(p,w,x){var C;return typeof w=="function"&&(x=w),(C=new XMLHttpRequest).open("GET",p,!0),C.responseType="arraybuffer",C.onload=function(){var S;return S=new v(new Uint8Array(C.response||C.mozResponseArrayBuffer)),typeof(w!=null?w.getContext:void 0)=="function"&&S.render(w),typeof x=="function"?x(S):void 0},C.send(null)},v.prototype.read=function(p){var w,x;for(x=[],w=0;0<=p?w<p:p<w;0<=p?++w:--w)x.push(this.data[this.pos++]);return x},v.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},v.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},v.prototype.decodePixels=function(p){var w=this.pixelBitlength/8,x=new Uint8Array(this.width*this.height*w),C=0,S=this;if(p==null&&(p=this.imgData),p.length===0)return new Uint8Array(0);function I(P,d,_,E){var F,T,k,K,X,tt,ft,wt,ht,at,H,dt,rt,Bt,vt,Kt,yt,$,z,ct,q,At=Math.ceil((S.width-P)/_),ot=Math.ceil((S.height-d)/E),Pt=S.width==At&&S.height==ot;for(Bt=w*At,dt=Pt?x:new Uint8Array(Bt*ot),tt=p.length,T=rt=0;rt<ot&&C<tt;){switch(p[C++]){case 0:for(K=yt=0;yt<Bt;K=yt+=1)dt[T++]=p[C++];break;case 1:for(K=$=0;$<Bt;K=$+=1)F=p[C++],X=K<w?0:dt[T-w],dt[T++]=(F+X)%256;break;case 2:for(K=z=0;z<Bt;K=z+=1)F=p[C++],k=(K-K%w)/w,vt=rt&&dt[(rt-1)*Bt+k*w+K%w],dt[T++]=(vt+F)%256;break;case 3:for(K=ct=0;ct<Bt;K=ct+=1)F=p[C++],k=(K-K%w)/w,X=K<w?0:dt[T-w],vt=rt&&dt[(rt-1)*Bt+k*w+K%w],dt[T++]=(F+Math.floor((X+vt)/2))%256;break;case 4:for(K=q=0;q<Bt;K=q+=1)F=p[C++],k=(K-K%w)/w,X=K<w?0:dt[T-w],rt===0?vt=Kt=0:(vt=dt[(rt-1)*Bt+k*w+K%w],Kt=k&&dt[(rt-1)*Bt+(k-1)*w+K%w]),ft=X+vt-Kt,wt=Math.abs(ft-X),at=Math.abs(ft-vt),H=Math.abs(ft-Kt),ht=wt<=at&&wt<=H?X:at<=H?vt:Kt,dt[T++]=(F+ht)%256;break;default:throw new Error("Invalid filter algorithm: "+p[C-1])}if(!Pt){var mt=((d+rt*E)*S.width+P)*w,qt=rt*Bt;for(K=0;K<At;K+=1){for(var Mt=0;Mt<w;Mt+=1)x[mt++]=dt[qt++];mt+=(_-1)*w}}rt++}}
3805return p=(p=new _n(p)).getBytes(),S.interlaceMethod==1?(I(0,0,8,8),I(4,0,8,8),I(0,4,4,8),I(2,0,4,4),I(0,2,2,4),I(1,0,2,2),I(0,1,1,2)):I(0,0,1,1),x},v.prototype.decodePalette=function(){var p,w,x,C,S,I,P,d,_;for(x=this.palette,I=this.transparency.indexed||[],S=new Uint8Array((I.length||0)+x.length),C=0,x.length,w=P=p=0,d=x.length;P<d;w=P+=3)S[C++]=x[w],S[C++]=x[w+1],S[C++]=x[w+2],S[C++]=(_=I[p++])!=null?_:255;return S},v.prototype.copyToImageData=function(p,w){var x,C,S,I,P,d,_,E,F,T,k;if(C=this.colors,F=null,x=this.hasAlphaChannel,this.palette.length&&(F=(k=this._decodedPalette)!=null?k:this._decodedPalette=this.decodePalette(),C=4,x=!0),E=(S=p.data||p).length,P=F||w,I=d=0,C===1)for(;I<E;)_=F?4*w[I/4]:d,T=P[_++],S[I++]=T,S[I++]=T,S[I++]=T,S[I++]=x?P[_++]:255,d=_;else for(;I<E;)_=F?4*w[I/4]:d,S[I++]=P[_++],S[I++]=P[_++],S[I++]=P[_++],S[I++]=x?P[_++]:255,d=_},v.prototype.decode=function(){var p;return p=new Uint8Array(this.width*this.height*4),this.copyToImageData(p,this.decodePixels()),p};try{Q=je.document.createElement("canvas"),D=Q.getContext("2d")}catch{return-1}return B=function(p){var w;return D.width=p.width,D.height=p.height,D.clearRect(0,0,p.width,p.height),D.putImageData(p,0,0),(w=new Image).src=
3805Q.toDataURL(),w},v.prototype.decodeFrames=function(p){var w,x,C,S,I,P,d,_;if(this.animation){for(_=[],x=I=0,P=(d=this.animation.frames).length;I<P;x=++I)w=d[x],C=p.createImageData(w.width,w.height),S=this.decodePixels(new Uint8Array(w.data)),this.copyToImageData(C,S),w.imageData=C,_.push(w.image=B(C));return _}},v.prototype.renderFrame=function(p,w){var x,C,S;return x=(C=this.animation.frames)[w],S=C[w-1],w===0&&p.clearRect(0,0,this.width,this.height),(S!=null?S.disposeOp:void 0)===1?p.clearRect(S.xOffset,S.yOffset,S.width,S.height):(S!=null?S.disposeOp:void 0)===2&&p.putImageData(S.imageData,S.xOffset,S.yOffset),x.blendOp===0&&p.clearRect(x.xOffset,x.yOffset,x.width,x.height),p.drawImage(x.image,x.xOffset,x.yOffset)},v.prototype.animate=function(p){var w,x,C,S,I,P,d=this;return x=0,P=this.animation,S=P.numFrames,C=P.frames,I=P.numPlays,(w=function(){var _,E;if(_=x++%S,E=C[_],d.renderFrame(p,_),1<S&&x/S<I)return d.animation._timeout=setTimeout(w,E.delay)})()},v.prototype.stopAnimation=function(){var p;return clearTimeout((p=this.animation)!=null?p._timeout:void 0)},v.prototype.render=function(p){var w,x;return p._png&&p._png.stopAnimation(),p._png=this,p.width=this.width,p.height=this.height,w=p.getContext("2d"),this.animation?(this.decodeFrames(w),this.animate(w)):(x=w.createImageData(this.width,this.height),this.copyToImageData(x,this.decodePixels()),w.putImageData(x,0,0))},v}(),je.PNG=$e;var Ye=function(){function B(){this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=null}return B.prototype={ensureBuffer:function(Q){var D=this.buffer,v=D?D.byteLength:0;if(Q<v)return D;for(var p=512;p<Q;)p<<=1;for(var w=new Uint8Array(p),x=0;x<v;++x)w[x]=D[x];return this.buffer=w},getByte:function(){for(var Q=this.pos;this.bufferLength<=Q;){if(this.eof)return null;this.readBlock()}return this.buffer[this.pos++]},getBytes:function(Q){var D=this.pos;if(Q){this.ensureBuffer(D+Q);for(var v=D+Q;!this.eof&&this.bufferLength<v;)this.readBlock();var p=this.bufferLength;p<v&&(v=p)}else{for(;!this.eof;)this.readBlock();v=this.bufferLength}return this.pos=v,this.buffer.subarray(D,v)},lookChar:function(){for(var Q=this.pos;this.bufferLength<=Q;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos])},getChar:function(){for(var Q=this.pos;this.bufferLength<=Q;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos++])},makeSubStream:function(Q,D,v){for(var p=Q+D;this.bufferLength<=p&&!this.eof;)this.readBlock();return new Stream(this.buffer,Q,D,v)},skip:function(Q){Q||(Q=1),this.pos+=Q},reset:function(){this.pos=0}},B}(),_n=function(){if(typeof Uint32Array<"u"){var B=new Uint32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Q=new Uint32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),D=new Uint32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),v=[new Uint32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,5243
380568,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],p=[new Uint32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];return(x.prototype=Object.create(Ye.prototype)).getBits=function(C){for(var S,I=this.codeSize,P=this.codeBuf,d=this.bytes,_=this.bytesPos;I<C;)(S=d[_++])===void 0&&w("Bad encoding in flate stream"),P|=S<<I,I+=8;return S=P&(1<<C)-1,this.codeBuf=P>>C,this.codeSize=I-=C,this.bytesPos=_,S},x.prototype.getCode=function(C){for(var S=C[0],I=C[1],P=this.codeSize,d=this.codeBuf,_=this.bytes,E=this.bytesPos;P<I;){var F;(F=_[E++])===void 0&&w("Bad encoding in flate stream"),d|=F<<P,P+=8}var T=S[d&(1<<I)-1],k=T>>16,K=65535&T;return(P==0||P<k||k==0)&&w("Bad encoding in flate stream"),this.codeBuf=d>>k,this.codeSize=P-k,this.bytesPos=E,K},x.prototype.generateHuffmanTable=function(C){for(var S=C.length,I=0,P=0;P<S;++P)C[P]>I&&(I=C[P]);for(var d=1<<I,_=new Uint32Array(d),E=1,F=0,T=2;E<=I;++E,F<<=1,T<<=1)for(var k=0;k<S;++k)if(C[k]==E){var K=0,X=F;for(P=0;P<E;++P)K=K<<1|1&X,X>>=1;for(P=K;P<d;P+=T)_[P]=E<<16|k;++F}return[_,I]},x.prototype.readBlock=function(){function C(ot,Pt,mt,qt,Mt){for(var W=ot.getBits(mt)+qt;0<W--;)Pt[T++]=Mt}var S=this.getBits(3);if(1&S&&(this.eof=!0),(S>>=1)!=0){var I,P;if(S==1)I=v,P=p;else if(S==2){for(var d=this.getBits(5)+257,_=this.getBits(5)+1,E=this.getBits(4)+4,F=Array(B.length),T=0;T<E;)F[B[T++]]=this.getBits(3);for(var k=this.generateHuffmanTable(F),K=0,X=(T=0,d+_),tt=new Array(X);T<X;){var ft=this.getCode(k);ft==16?C(this,tt,2,3,K):ft==17?C(this,tt,3,3,K=0):ft==18?C(this,tt,7,11,K=0):tt[T++]=K=ft}I=this.generateHuffmanTable(tt.slice(0,d)),P=this.generateHuffmanTable(tt.slice(d,X))}else w("Unknown block type in flate stream");for(var wt=(ct=this.buffer)?ct.length:0,ht=this.bufferLength;;){var at=this.getCode(I);if(at<256)wt<=ht+1&&(wt=(ct=this.ensureBuffer(ht+1)).length),ct[ht++]=at;else{if(at==256)return void(this.bufferLength=ht);var H=(at=Q[at-=257])>>16;0<H&&(H=this.getBits(H)),K=(65535&at)+H,at=this.getCode(P),0<(H=(at=D[at])>>16)&&(H=this.getBits(H));var dt=(65535&at)+H;wt<=ht+K&&(wt=(ct=this.ensureBuffer(ht+K)).length);for(var rt=0;rt<K;++rt,++ht)ct[ht]=ct[ht-dt]}}}else{var Bt,vt=this.bytes,Kt=this.bytesPos;(Bt=vt[Kt++])===void 0&&w("Bad block header in flate stream");var yt=Bt;(Bt=vt[Kt++])===void 0&&w("Bad block header in flate stream"),yt|=Bt<<8,(Bt=vt[Kt++])===void 0&&w("Bad block header in flate stream");var $=Bt;(Bt=vt[Kt++])===void 0&&w("Bad block header in flate stream"),($|=Bt<<8)!=(65535&~yt)&&w("Bad uncompressed block length in flate stream"),this.codeBuf=0,this.codeSize=0;
3805var z=this.bufferLength,ct=this.ensureBuffer(z+yt),q=z+yt;this.bufferLength=q;for(var At=z;At<q;++At){if((Bt=vt[Kt++])===void 0){this.eof=!0;break}ct[At]=Bt}this.bytesPos=Kt}},x}function w(C){throw new Error(C)}function x(C){var S=0,I=C[S++],P=C[S++];I!=-1&&P!=-1||w("Invalid header in flate stream"),(15&I)!=8&&w("Unknown compression method in flate stream"),((I<<8)+P)%31!=0&&w("Bad FCHECK in flate stream"),32&P&&w("FDICT bit set in flate stream"),this.bytes=C,this.bytesPos=2,this.codeSize=0,this.codeBuf=0,Ye.call(this)}}();return function(B){if(typeof B.console!="object"){B.console={};for(var Q,D,v=B.console,p=function(){},w=["memory"],x="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");Q=w.pop();)v[Q]||(v[Q]={});for(;D=x.pop();)v[D]||(v[D]=p)}var C,S,I,P,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";B.btoa===void 0&&(B.btoa=function(_){var E,F,T,k,K,X=0,tt=0,ft="",wt=[];if(!_)return _;for(;E=(K=_.charCodeAt(X++)<<16|_.charCodeAt(X++)<<8|_.charCodeAt(X++))>>18&63,F=K>>12&63,T=K>>6&63,k=63&K,wt[tt++]=d.charAt(E)+d.charAt(F)+d.charAt(T)+d.charAt(k),X<_.length;);ft=wt.join("");var ht=_.length%3;return(ht?ft.slice(0,ht-3):ft)+"===".slice(ht||3)}),B.atob===void 0&&(B.atob=function(_){var E,F,T,k,K,X,tt=0,ft=0,wt=[];if(!_)return _;for(_+="";E=(X=d.indexOf(_.charAt(tt++))<<18|d.indexOf(_.charAt(tt++))<<12|(k=d.indexOf(_.charAt(tt++)))<<6|(K=d.indexOf(_.charAt(tt++))))>>16&255,F=X>>8&255,T=255&X,wt[ft++]=k==64?String.fromCharCode(E):K==64?String.fromCharCode(E,F):String.fromCharCode(E,F,T),tt<_.length;);return wt.join("")}),Array.prototype.map||(Array.prototype.map=function(_){if(this==null||typeof _!="function")throw new TypeError;for(var E=Object(this),F=E.length>>>0,T=new Array(F),k=1<arguments.length?arguments[1]:void 0,K=0;K<F;K++)K in E&&(T[K]=_.call(k,E[K],K,E));return T}),Array.isArray||(Array.isArray=function(_){return Object.prototype.toString.call(_)==="[object Array]"}),Array.prototype.forEach||(Array.prototype.forEach=function(_,E){if(this==null||typeof _!="function")throw new TypeError;for(var F=Object(this),T=F.length>>>0,k=0;k<T;k++)k in F&&_.call(E,F[k],k,F)}),Object.keys||(Object.keys=(C=Object.prototype.hasOwnProperty,S=!{toString:null}.propertyIsEnumerable("toString"),P=(I=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]).length,function(_){if(typeof _!="object"&&(typeof _!="function"||_===null))throw new TypeError;var E,F,T=[];for(E in _)C.call(_,E)&&T.push(E);if(S)for(F=0;F<P;F++)C.call(_,I[F])&&T.push(I[F]);return T})),typeof Object.assign!="function"&&(Object.assign=function(_){if(_==null)throw new TypeError("Cannot convert undefined or null to object");_=Object(_);for(var E=1;E<arguments.length;E++){var F=arguments[E];if(F!=null)for(var T in F)Object.prototype.hasOwnProperty.call(F,T)&&(_[T]=F[T])}return _}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),String.prototype.trimLeft||(String.prototype.trimLeft=function(){return this.replace(/^\s+/g,"")}),String.prototype.trimRight||(String.prototype.trimRight=function(){return this.replace(/\s+$/g,"")})}(typeof self<"u"&&self||typeof window<"u"&&window||typeof Wn<"u"&&Wn||Function('return typeof this === "object" && this.content')()||Function("return this")()),he})})(Vg,Vg.exports);var wO=Vg.exports;const _0=mO(wO);/*! 3806 * html2canvas 1.4.1 <https://html2canvas.hertzen.com> 3807 * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com> 3808 * Released under MIT License 3809 *//*! ***************************************************************************** 3810Copyright (c) Microsoft Corporation. 3811 3812Permission to use, copy, modify, and/or distribute this software for any 3813purpose with or without fee is hereby granted. 3814 3815THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 3816REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 3817AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 3818INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 3819LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 3820OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 3821PERFORMANCE OF THIS SOFTWARE. 3822***************************************************************************** */var Gg=function(n,t){return Gg=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])},Gg(n,t)};function ts(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Gg(n,t);function e(){this.constructor=n}
vendor: 5,701 bytes, line 3822
3822n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var Kg=function(){return Kg=Object.assign||function(n){for(var t,e=1,i=arguments.length;e<i;e++){t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},Kg.apply(this,arguments)};function Hi(n,t,e,i){function r(s){return s instanceof e?s:new e(function(A){A(s)})}return new(e||(e=Promise))(function(s,A){function o(c){try{l(i.next(c))}catch(u){A(u)}}function a(c){try{l(i.throw(c))}catch(u){A(u)}}function l(c){c.done?s(c.value):r(c.value).then(o,a)}l((i=i.apply(n,t||[])).next())})}function bi(n,t){var e={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},i,r,s,A;return A={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(A[Symbol.iterator]=function(){return this}),A;function o(l){return function(c){return a([l,c])}}function a(l){if(i)throw new TypeError("Generator is already executing.");for(;e;)try{if(i=1,r&&(s=l[0]&2?r.return:l[0]?r.throw||((s=r.return)&&s.call(r),0):r.next)&&!(s=s.call(r,l[1])).done)return s;switch(r=0,s&&(l=[l[0]&2,s.value]),l[0]){case 0:case 1:s=l;break;case 4:return e.label++,{value:l[1],done:!1};case 5:e.label++,r=l[1],l=[0];continue;case 7:l=e.ops.pop(),e.trys.pop();continue;default:if(s=e.trys,!(s=s.length>0&&s[s.length-1])&&(l[0]===6||l[0]===2)){e=0;continue}if(l[0]===3&&(!s||l[1]>s[0]&&l[1]<s[3])){e.label=l[1];break}if(l[0]===6&&e.label<s[1]){e.label=s[1],s=l;break}if(s&&e.label<s[2]){e.label=s[2],e.ops.push(l);break}s[2]&&e.ops.pop(),e.trys.pop();continue}l=t.call(n,e)}catch(c){l=[6,c],r=0}finally{i=s=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function Uu(n,t,e){if(e||arguments.length===2)for(var i=0,r=t.length,s;i<r;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return n.concat(s||t)}var Js=function(){function n(t,e,i,r){this.left=t,this.top=e,this.width=i,this.height=r}return n.prototype.add=function(t,e,i,r){return new n(this.left+t,this.top+e,this.width+i,this.height+r)},n.fromClientRect=function(t,e){return new n(e.left+t.windowBounds.left,e.top+t.windowBounds.top,e.width,e.height)},n.fromDOMRectList=function(t,e){var i=Array.from(e).find(function(r){return r.width!==0});return i?new n(i.left+t.windowBounds.left,i.top+t.windowBounds.top,i.width,i.height):n.EMPTY},n.EMPTY=new n(0,0,0,0),n}(),Rh=function(n,t){return Js.fromClientRect(n,t.getBoundingClientRect())},vO=function(n){var t=n.body,e=n.documentElement;if(!t||!e)throw new Error("Unable to get document size");var i=Math.max(Math.max(t.scrollWidth,e.scrollWidth),Math.max(t.offsetWidth,e.offsetWidth),Math.max(t.clientWidth,e.clientWidth)),r=Math.max(Math.max(t.scrollHeight,e.scrollHeight),Math.max(t.offsetHeight,e.offsetHeight),Math.max(t.clientHeight,e.clientHeight));return new Js(0,0,i,r)},Oh=function(n){for(var t=[],e=0,i=n.length;e<i;){var r=n.charCodeAt(e++);if(r>=55296&&r<=56319&&e<i){var s=n.charCodeAt(e++);(s&64512)===56320?t.push(((r&1023)<<10)+(s&1023)+65536):(t.push(r),e--)}else t.push(r)}return t},jn=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,n);var e=n.length;if(!e)return"";for(var i=[],r=-1,s="";++r<e;){var A=n[r];A<=65535?i.push(A):(A-=65536,i.push((A>>10)+55296,A%1024+56320)),(r+1===e||i.length>16384)&&(s+=String.fromCharCode.apply(String,i),i.length=0)}return s},tv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",yO=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Tu=0;Tu<tv.length;Tu++)yO[tv.charCodeAt(Tu)]=Tu;var ev="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pl=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Iu=0;Iu<ev.length;Iu++)Pl[ev.charCodeAt(Iu)]=Iu;var BO=function(n){var t=n.length*.75,e=n.length,i,r=0,s,A,o,a;n[n.length-1]==="="&&(t--,n[n.length-2]==="="&&t--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(t):new Array(t),c=Array.isArray(l)?l:new Uint8Array(l);for(i=0;i<e;i+=4)s=Pl[n.charCodeAt(i)],A=Pl[n.charCodeAt(i+1)],o=Pl[n.charCodeAt(i+2)],a=Pl[n.charCodeAt(i+3)],c[r++]=s<<2|A>>4,c[r++]=(A&15)<<4|o>>2,c[r++]=(o&3)<<6|a&63;return l},_O=function(n){for(var t=n.length,e=[],i=0;i<t;i+=2)e.push(n[i+1]<<8|n[i]);return e},xO=function(n){for(var t=n.length,e=[],i=0;i<t;i+=4)e.push(n[i+3]<<24|n[i+2]<<16|n[i+1]<<8|n[i]);return e},Mo=5,x0=6+5,dp=2,bO=x0-Mo,yb=65536>>Mo,CO=1<<Mo,pp=CO-1,SO=1024>>Mo,FO=yb+SO,EO=FO,MO=32,UO=EO+MO,TO=65536>>x0,IO=1<<bO,QO=IO-1,nv=function(n,t,e){return n.slice?n.slice(t,e):new Uint16Array(Array.prototype.slice.call(n,t,e))},LO=function(n,t,e){return n.slice?n.slice(t,e):new Uint32Array(Array.prototype.slice.call(n,t,e))},PO=function(n,t){var e=BO(n),i=Array.isArray(e)?xO(e):new Uint32Array(e),r=Array.isArray(e)?_O(e):new Uint16Array(e),s=24,A=nv(r,s/2,i[4]/2),o=i[5]===2?nv(r,(s+i[4])/2):LO(i,Math.ceil((s+i[4])/4));return new DO(i[0],i[1],i[2],i[3],A,o)},DO=function(){function n(t,e,i,r,s,A){this.initialValue=t,this.errorValue=e,this.highStart=i,this.highValueIndex=r,this.index=s,this.data=A}return n.prototype.get=function(t){var e;if(t>=0){if(t<55296||t>56319&&t<=65535)return e=this.index[t>>Mo],e=(e<<dp)+(t&pp),this.data[e];if(t<=65535)return e=this.index[yb+(t-55296>>Mo)],e=(e<<dp)+(t&pp),this.data[e];if(t<this.highStart)return e=UO-TO+(t>>x0),e=this.index[e],e+=t>>Mo&QO,e=this.index[e],e=(e<<dp)+(t&pp),this.data[e];if(t<=1114111)return this.data[this.highValueIndex]}return this.errorValue},n}(),iv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",RO=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Qu=0;Qu<iv.length;Qu++)RO[iv.charCodeAt(Qu)]=Qu;var OO=
vendor: 52,891 bytes, line 3822
3822"KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",
vendor: 3,550 bytes, line 3822
3822rv=50,HO=1,Bb=2,_b=3,kO=4,NO=5,sv=7,xb=8,Av=9,FA=10,Wg=11,ov=12,qg=13,zO=14,Dl=15,jg=16,Lu=17,Cl=18,VO=19,av=20,Xg=21,Sl=22,gp=23,da=24,rr=25,Rl=26,Ol=27,pa=28,GO=29,Ma=30,KO=31,Pu=32,Du=33,Yg=34,Jg=35,Zg=36,Fc=37,$g=38,hf=39,df=40,mp=41,bb=42,WO=43,qO=[9001,65288],Cb="!",Oi="\xD7",Ru="\xF7",tm=PO(OO),Ms=[Ma,Zg],em=[HO,Bb,_b,NO],Sb=[FA,xb],lv=[Ol,Rl],jO=em.concat(Sb),cv=[$g,hf,df,Yg,Jg],XO=[Dl,qg],YO=function(n,t){t===void 0&&(t="strict");var e=[],i=[],r=[];return n.forEach(function(s,A){var o=tm.get(s);if(o>rv?(r.push(!0),o-=rv):r.push(!1),["normal","auto","loose"].indexOf(t)!==-1&&[8208,8211,12316,12448].indexOf(s)!==-1)return i.push(A),e.push(jg);if(o===kO||o===Wg){if(A===0)return i.push(A),e.push(Ma);var a=e[A-1];return jO.indexOf(a)===-1?(i.push(i[A-1]),e.push(a)):(i.push(A),e.push(Ma))}if(i.push(A),o===KO)return e.push(t==="strict"?Xg:Fc);if(o===bb||o===GO)return e.push(Ma);if(o===WO)return s>=131072&&s<=196605||s>=196608&&s<=262141?e.push(Fc):e.push(Ma);e.push(o)}),[i,e,r]},wp=function(n,t,e,i){var r=i[e];if(Array.isArray(n)?n.indexOf(r)!==-1:n===r)for(var s=e;s<=i.length;){s++;var A=i[s];if(A===t)return!0;if(A!==FA)break}if(r===FA)for(var s=e;s>0;){s--;var o=i[s];if(Array.isArray(n)?n.indexOf(o)!==-1:n===o)for(var a=e;a<=i.length;){a++;var A=i[a];if(A===t)return!0;if(A!==FA)break}if(o!==FA)break}return!1},uv=function(n,t){for(var e=n;e>=0;){var i=t[e];if(i===FA)e--;else return i}return 0},JO=function(n,t,e,i,r){if(e[i]===0)return Oi;var s=i-1;if(Array.isArray(r)&&r[s]===!0)return Oi;var A=s-1,o=s+1,a=t[s],l=A>=0?t[A]:0,c=t[o];if(a===Bb&&c===_b)return Oi;if(em.indexOf(a)!==-1)return Cb;if(em.indexOf(c)!==-1||Sb.indexOf(c)!==-1)return Oi;if(uv(s,t)===xb)return Ru;if(tm.get(n[s])===Wg||(a===Pu||a===Du)&&tm.get(n[o])===Wg||a===sv||c===sv||a===Av||[FA,qg,Dl].indexOf(a)===-1&&c===Av||[Lu,Cl,VO,da,pa].indexOf(c)!==-1||uv(s,t)===Sl||wp(gp,Sl,s,t)||wp([Lu,Cl],Xg,s,t)||wp(ov,ov,s,t))return Oi;if(a===FA)return Ru;if(a===gp||c===gp)return Oi;if(c===jg||a===jg)return Ru;if([qg,Dl,Xg].indexOf(c)!==-1||a===zO||l===Zg&&XO.indexOf(a)!==-1||a===pa&&c===Zg||c===av||Ms.indexOf(c)!==-1&&a===rr||Ms.indexOf(a)!==-1&&c===rr||a===Ol&&[Fc,Pu,Du].indexOf(c)!==-1||[Fc,Pu,Du].indexOf(a)!==-1&&c===Rl||Ms.indexOf(a)!==-1&&lv.indexOf(c)!==-1||lv.indexOf(a)!==-1&&Ms.indexOf(c)!==-1||[Ol,Rl].indexOf(a)!==-1&&(c===rr||[Sl,Dl].indexOf(c)!==-1&&t[o+1]===rr)||[Sl,Dl].indexOf(a)!==-1&&c===rr||a===rr&&[rr,pa,da].indexOf(c)!==-1)return Oi;if([rr,pa,da,Lu,Cl].indexOf(c)!==-1)for(var u=s;u>=0;){var f=t[u];if(f===rr)return Oi;if([pa,da].indexOf(f)!==-1)u--;else break}if([Ol,Rl].indexOf(c)!==-1)for(var u=[Lu,Cl].indexOf(a)!==-1?A:s;u>=0;){var f=t[u];if(f===rr)return Oi;if([pa,da].indexOf(f)!==-1)u--;else break}if($g===a&&[$g,hf,Yg,Jg].indexOf(c)!==-1||[hf,Yg].indexOf(a)!==-1&&[hf,df].indexOf(c)!==-1||[df,Jg].indexOf(a)!==-1&&c===df||cv.indexOf(a)!==-1&&[av,Rl].indexOf(c)!==-1||cv.indexOf(c)!==-1&&a===Ol||Ms.indexOf(a)!==-1&&Ms.indexOf(c)!==-1||a===da&&Ms.indexOf(c)!==-1||Ms.concat(rr).indexOf(a)!==-1&&c===Sl&&qO.indexOf(n[o])===-1||Ms.concat(rr).indexOf(c)!==-1&&a===Cl)return Oi;if(a===mp&&c===mp){for(var m=e[s],y=1;m>0&&(m--,t[m]===mp);)y++;if(y%2!==0)return Oi}return a===Pu&&c===Du?Oi:Ru},ZO=function(n,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var e=YO(n,t.lineBreak),i=e[0],r=e[1],s=e[2];(t.wordBreak==="break-all"||t.wordBreak==="break-word")&&(r=r.map(function(o){return[rr,Ma,bb].indexOf(o)!==-1?Fc:o}));var A=t.wordBreak==="keep-all"?s.map(function(o,a){return o&&n[a]>=19968&&n[a]<=40959}):void 0;return[i,r,A]}
vendor: 15,169 bytes, line 3822
3822,$O=function(){function n(t,e,i,r){this.codePoints=t,this.required=e===Cb,this.start=i,this.end=r}return n.prototype.slice=function(){return jn.apply(void 0,this.codePoints.slice(this.start,this.end))},n}(),tH=function(n,t){var e=Oh(n),i=ZO(e,t),r=i[0],s=i[1],A=i[2],o=e.length,a=0,l=0;return{next:function(){if(l>=o)return{done:!0,value:null};for(var c=Oi;l<o&&(c=JO(e,s,r,++l,A))===Oi;);if(c!==Oi||l===o){var u=new $O(e,c,a,l);return a=l,{value:u,done:!1}}return{done:!0,value:null}}}},eH=1,nH=2,Gc=4,fv=8,zf=10,hv=47,ic=92,iH=9,rH=32,Ou=34,Fl=61,sH=35,AH=36,oH=37,Hu=39,ku=40,El=41,aH=95,Vi=45,lH=33,cH=60,uH=62,fH=64,hH=91,dH=93,pH=61,gH=123,Nu=63,mH=125,dv=124,wH=126,vH=128,pv=65533,vp=42,vo=43,yH=44,BH=58,_H=59,Ec=46,xH=0,bH=8,CH=11,SH=14,FH=31,EH=127,rs=-1,Fb=48,Eb=97,Mb=101,MH=102,UH=117,TH=122,Ub=65,Tb=69,Ib=70,IH=85,QH=90,ki=function(n){return n>=Fb&&n<=57},LH=function(n){return n>=55296&&n<=57343},ga=function(n){return ki(n)||n>=Ub&&n<=Ib||n>=Eb&&n<=MH},PH=function(n){return n>=Eb&&n<=TH},DH=function(n){return n>=Ub&&n<=QH},RH=function(n){return PH(n)||DH(n)},OH=function(n){return n>=vH},zu=function(n){return n===zf||n===iH||n===rH},Vf=function(n){return RH(n)||OH(n)||n===aH},gv=function(n){return Vf(n)||ki(n)||n===Vi},HH=function(n){return n>=xH&&n<=bH||n===CH||n>=SH&&n<=FH||n===EH},yA=function(n,t){return n!==ic?!1:t!==zf},Vu=function(n,t,e){return n===Vi?Vf(t)||yA(t,e):Vf(n)?!0:!!(n===ic&&yA(n,t))},yp=function(n,t,e){return n===vo||n===Vi?ki(t)?!0:t===Ec&&ki(e):ki(n===Ec?t:n)},kH=function(n){var t=0,e=1;(n[t]===vo||n[t]===Vi)&&(n[t]===Vi&&(e=-1),t++);for(var i=[];ki(n[t]);)i.push(n[t++]);var r=i.length?parseInt(jn.apply(void 0,i),10):0;n[t]===Ec&&t++;for(var s=[];ki(n[t]);)s.push(n[t++]);var A=s.length,o=A?parseInt(jn.apply(void 0,s),10):0;(n[t]===Tb||n[t]===Mb)&&t++;var a=1;(n[t]===vo||n[t]===Vi)&&(n[t]===Vi&&(a=-1),t++);for(var l=[];ki(n[t]);)l.push(n[t++]);var c=l.length?parseInt(jn.apply(void 0,l),10):0;return e*(r+o*Math.pow(10,-A))*Math.pow(10,a*c)},NH={type:2},zH={type:3},VH={type:4},GH={type:13},KH={type:8},WH={type:21},qH={type:9},jH={type:10},XH={type:11},YH={type:12},JH={type:14},Gu={type:23},ZH={type:1},$H={type:25},t7={type:24},e7={type:26},n7={type:27},i7={type:28},r7={type:29},s7={type:31},nm={type:32},Qb=function(){function n(){this._value=[]}return n.prototype.write=function(t){this._value=this._value.concat(Oh(t))},n.prototype.read=function(){for(var t=[],e=this.consumeToken();e!==nm;)t.push(e),e=this.consumeToken();return t},n.prototype.consumeToken=function(){var t=this.consumeCodePoint();switch(t){case Ou:return this.consumeStringToken(Ou);case sH:var e=this.peekCodePoint(0),i=this.peekCodePoint(1),r=this.peekCodePoint(2);if(gv(e)||yA(i,r)){var s=Vu(e,i,r)?nH:eH,A=this.consumeName();return{type:5,value:A,flags:s}}break;case AH:if(this.peekCodePoint(0)===Fl)return this.consumeCodePoint(),GH;break;case Hu:return this.consumeStringToken(Hu);case ku:return NH;case El:return zH;case vp:if(this.peekCodePoint(0)===Fl)return this.consumeCodePoint(),JH;break;case vo:if(yp(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case yH:return VH;case Vi:var o=t,a=this.peekCodePoint(0),l=this.peekCodePoint(1);if(yp(o,a,l))return this.reconsumeCodePoint(t),this.consumeNumericToken();if(Vu(o,a,l))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();if(a===Vi&&l===uH)return this.consumeCodePoint(),this.consumeCodePoint(),t7;break;case Ec:if(yp(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case hv:if(this.peekCodePoint(0)===vp)for(this.consumeCodePoint();;){var c=this.consumeCodePoint();if(c===vp&&(c=this.consumeCodePoint(),c===hv))return this.consumeToken();if(c===rs)return this.consumeToken()}break;case BH:return e7;case _H:return n7;case cH:if(this.peekCodePoint(0)===lH&&this.peekCodePoint(1)===Vi&&this.peekCodePoint(2)===Vi)return this.consumeCodePoint(),this.consumeCodePoint(),$H;break;case fH:var u=this.peekCodePoint(0),f=this.peekCodePoint(1),m=this.peekCodePoint(2);if(Vu(u,f,m)){var A=this.consumeName();return{type:7,value:A}}break;case hH:return i7;case ic:if(yA(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();break;case dH:return r7;case pH:if(this.peekCodePoint(0)===Fl)return this.consumeCodePoint(),KH;break;case gH:return XH;case mH:return YH;case UH:case IH:var y=this.peekCodePoint(0),h=this.peekCodePoint(1);return y===vo&&(ga(h)||h===Nu)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(t),this.consumeIdentLikeToken();case dv:if(this.peekCodePoint(0)===Fl)return this.consumeCodePoint(),qH;if(this.peekCodePoint(0)===dv)return this.consumeCodePoint(),WH;break;case wH:if(this.peekCodePoint(0)===Fl)return this.consumeCodePoint(),jH;break;case rs:return nm}return zu(t)?(this.consumeWhiteSpace(),s7):ki(t)?(this.reconsumeCodePoint(t),this.consumeNumericToken()):Vf(t)?(this.reconsumeCodePoint(t),this.consumeIdentLikeToken()):{type:6,value:jn(t)}},n.prototype.consumeCodePoint=function(){var t=this._value.shift();return typeof t>"u"?-1:t},n.prototype.reconsumeCodePoint=function(t){this._value.unshift(t)},n.prototype.peekCodePoint=function(t){return t>=this._value.length?-1:this._value[t]},n.prototype.consumeUnicodeRangeToken=function(){for(var t=[],e=this.consumeCodePoint();ga(e)&&t.length<6;)t.push(e),e=this.consumeCodePoint();for(var i=!1;e===Nu&&t.length<6;)t.push(e),e=this.consumeCodePoint(),i=!0;if(i){var r=parseInt(jn.apply(void 0,t.map(function(a){return a===Nu?Fb:a})),16),s=parseInt(jn.apply(void 0,t.map(function(a){return a===Nu?Ib:a})),16);return{type:30,start:r,end:s}}var A=parseInt(jn.apply(void 0,t),16);if(this.peekCodePoint(0)===Vi&&ga(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();for(var o=[];ga(e)&&o.length<6;)o.push(e),e=this.consumeCodePoint();var s=parseInt(jn.apply(void 0,o),16);return{type:30,start:A,end:s}}else return{type:30,start:A,end:A}},n.prototype.consumeIdentLikeToken=function(){var t=this.consumeName();return t.toLowerCase()==="url"&&this.peekCodePoint(0)===ku?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ku?(this.consumeCodePoint(),{type:19,value:t}):{type:20,value:t}},n.prototype.consumeUrlToken=function(){var t=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===rs)return{type:22,value:""};var e=this.peekCodePoint(0);if(e===Hu||e===Ou){var i=this.consumeStringToken(this.consumeCodePoint());return i.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===rs||this.peekCodePoint(0)===El)?(this.consumeCodePoint(),{type:22,value:i.value}):(this.consumeBadUrlRemnants(),Gu)}for(;;){var r=this.consumeCodePoint();if(r===rs||r===El)return{type:22,value:jn.apply(void 0,t)};if(zu(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===rs||this.peekCodePoint(0)===El?(this.consumeCodePoint(),{type:22,value:jn.apply(void 0,t)}):(this.consumeBadUrlRemnants(),Gu);if(r===Ou||r===Hu||r===ku||HH(r))return this.consumeBadUrlRemnants(),Gu;if(r===ic)if(yA(r,this.peekCodePoint(0)))t.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Gu;else t.push(r)}},n.prototype.consumeWhiteSpace=function(){for(;zu(this.peekCodePoint(0));)this.consumeCodePoint()},n.prototype.consumeBadUrlRemnants=function(){for(;;){var t=this.consumeCodePoint();if(t===El||t===rs)return;yA(t,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},n.prototype.consumeStringSlice=function(t){for(var e=5e4,i="";t>0;){var r=Math.min(e,t);i+=jn.apply(void 0,this._value.splice(0,r)),t-=r}return this._value.shift(),i},n.prototype.consumeStringToken=function(t){var e="",i=0;do{var r=this._value[i];if(r===rs||r===void 0||r===t)return e+=this.consumeStringSlice(i),{type:0,value:e};if(r===zf)return this._value.splice(0,i),ZH;if(r===ic){var s=this._value[i+1];s!==rs&&s!==void 0&&(s===zf?(e+=this.consumeStringSlice(i),i=-1,this._value.shift()):yA(r,s)&&(e+=this.consumeStringSlice(i),e+=jn(this.consumeEscapedCodePoint()),i=-1))}i++}while(!0)},n.prototype.consumeNumber=function(){var t=[],e=Gc,i=this.peekCodePoint(0);for((i===vo||i===Vi)&&t.push(this.consumeCodePoint());ki(this.peekCodePoint(0));)t.push(this.consumeCodePoint());i=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(i===Ec&&ki(r))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),e=fv;ki(this.peekCodePoint(0));)t.push(this.consumeCodePoint());i=this.peekCodePoint(0),r=this.peekCodePoint(1);var s=this.peekCodePoint(2);if((i===Tb||i===Mb)&&((r===vo||r===Vi)&&ki(s)||ki(r)))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),e=fv;ki(this.peekCodePoint(0));)t.push(this.consumeCodePoint());return[kH(t),e]},n.prototype.consumeNumericToken=function(){var t=this.consumeNumber(),e=t[0],i=t[1],r=this.peekCodePoint(0),s=this.peekCodePoint(1),A=this.peekCodePoint(2);if(Vu(r,s,A)){var o=this.consumeName();return{type:15,number:e,flags:i,unit:o}}return r===oH?(this.consumeCodePoint(),{type:16,number:e,flags:i}):{type:17,number:e,flags:i}},n.prototype.consumeEscapedCodePoint=function(){var t=this.consumeCodePoint();if(ga(t)){for(var e=jn(t);ga(this.peekCodePoint(0))&&e.length<6;)e+=jn(this.consumeCodePoint());zu(this.peekCodePoint(0))&&this.consumeCodePoint();var i=parseInt(e,16);return i===0||LH(i)||i>1114111?pv:i}return t===rs?pv:t},n.prototype.consumeName=function(){for(var t="";;){var e=this.consumeCodePoint();if(gv(e))t+=jn(e);else if(yA(e,this.peekCodePoint(0)))t+=jn(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(e),t}},n}(),Lb=function(){function n(t){this._tokens=t}return n.create=function(t){var e=new Qb;return e.write(t),new n(e.read())},n.parseValue=function(t){return n.create(t).parseComponentValue()},n.parseValues=function(t){return n.create(t).parseComponentValues()},n.prototype.parseComponentValue=function(){for(var t=this.consumeToken();t.type===31;)t=this.consumeToken();if(t.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(t);var e=this.consumeComponentValue();do t=this.consumeToken();while(t.type===31);if(t.type===32)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},n.prototype.parseComponentValues=function(){for(var t=[];;){var e=this.consumeComponentValue();if(e.type===32)return t;t.push(e),t.push()}},n.prototype.consumeComponentValue=function(){var t=this.consumeToken();switch(t.type){case 11:case 28:case 2:return this.consumeSimpleBlock(t.type);case 19:return this.consumeFunction(t)}return t},n.prototype.consumeSimpleBlock=function(t){for(var e={type:t,values:[]},i=this.consumeToken();;){if(i.type===32||o7(i,t))return e;this.reconsumeToken(i),e.values.push(this.consumeComponentValue()),i=this.consumeToken()}},n.prototype.consumeFunction=function(t){for(var e={name:t.value,values:[],type:18};;){var i=this.consumeToken();if(i.type===32||i.type===3)return e;this.reconsumeToken(i),e.values.push(this.consumeComponentValue())}},n.prototype.consumeToken=function(){var t=this._tokens.shift();return typeof t>"u"?nm:t},n.prototype.reconsumeToken=function(t){this._tokens.unshift(t)},n}(),Kc=function(n){return n.type===15},ul=function(n){return n.type===17},bn=function(n){return n.type===20},A7=function(n){return n.type===0},im=function(n,t){return bn(n)&&n.value===t},Pb=function(n){return n.type!==31},sl=function(n){return n.type!==31&&n.type!==4},gs=function(n){var t=[],e=[];return n.forEach(function(i){if(i.type===4){if(e.length===0)throw new Error("Error parsing function args, zero tokens for arg");t.push(e),e=[];return}i.type!==31&&e.push(i)}),e.length&&t.push(e),t},o7=function(n,t){return t===11&&n.type===12||t===28&&n.type===29?!0:t===2&&n.type===3},VA=function(n){return n.type===17||n.type===15},ei=function(n){return n.type===16||VA(n)},Db=function(n){return n.length>1?[n[0],n[1]]:[n[0]]},gi={type:17,number:0,flags:Gc},b0={type:16,number:50,flags:Gc},EA={type:16,number:100,flags:Gc},Hl=function(n,t,e){var i=n[0],r=n[1];return[En(i,t),En(typeof r<"u"?r:i,e)]},En=function(n,t){if(n.type===16)return n.number/100*t;if(Kc(n))switch(n.unit){case"rem":case"em":return 16*n.number;case"px":default:return n.number}return n.number},Rb="deg",Ob="grad",Hb="rad",kb="turn",Hh={name:"angle",parse:function(n,t){if(t.type===15)switch(t.unit){case Rb:return Math.PI*t.number/180;case Ob:return Math.PI/200*t.number;case Hb:return t.number;case kb:return Math.PI*2*t.number}throw new Error("Unsupported angle type")}},Nb=function(n){return n.type===15&&(n.unit===Rb||n.unit===Ob||n.unit===Hb||n.unit===kb)},zb=function(n){var t=n.filter(bn).map(function(e){return e.value}).join(" ");switch(t){case"to bottom right":case"to right bottom":case"left top":case"top left":return[gi,gi];case"to top":case"bottom":return Er(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[gi,EA];case"to right":case"left":return Er(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[EA,EA];case"to bottom":case"top":return Er(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[EA,gi];case"to left":case"right":return Er(270)}return 0},Er=function(n){return Math.PI*n/180},PA={name:"color",parse:function(n,t){if(t.type===18){var e=a7[t.name];if(typeof e>"u")throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return e(n,t.values)}if(t.type===5){if(t.value.length===3){var i=t.value.substring(0,1),r=t.value.substring(1,2),s=t.value.substring(2,3);return MA(parseInt(i+i,16),parseInt(r+r,16),parseInt(s+s,16),1)}if(t.value.length===4){var i=t.value.substring(0,1),r=t.value.substring(1,2),s=t.value.substring(2,3),A=t.value.substring(3,4);return MA(parseInt(i+i,16),parseInt(r+r,16),parseInt(s+s,16),parseInt(A+A,16)/255)}if(t.value.length===6){var i=t.value.substring(0,2),r=t.value.substring(2,4),s=t.value.substring(4,6);return MA(parseInt(i,16),parseInt(r,16),parseInt(s,16),1)}if(t.value.length===8){var i=t.value.substring(0,2),r=t.value.substring(2,4),s=t.value.substring(4,6),A=t.value.substring(6,8);return MA(parseInt(i,16),parseInt(r,16),parseInt(s,16),parseInt(A,16)/255)}}if(t.type===20){var o=zs[t.value.toUpperCase()];if(typeof o<"u")return o}return zs.TRANSPARENT}},DA=function(n){return(255&n)===0},ci=function(n){var t=255&n,e=255&n>>8,i=255&n>>16,r=255&n>>24;return t<255?"rgba("+r+","+i+","+e+","+t/255+")":"rgb("+r+","+i+","+e+")"},MA=function(n,t,e,i){return(n<<24|t<<16|e<<8|Math.round(i*255)<<0)>>>0},mv=function(n,t){if(n.type===17)return n.number;if(n.type===16){var e=t===3?1:255;return t===3?n.number/100*e:Math.round(n.number/100*e)}return 0},wv=function(n,t){var e=t.filter(sl);if(e.length===3){var i=e.map(mv),r=i[0],s=i[1],A=i[2];return MA(r,s,A,1)}if(e.length===4){var o=e.map(mv),r=o[0],s=o[1],A=o[2],a=o[3];return MA(r,s,A,a)}return 0};function Bp(n,t,e){return e<0&&(e+=1),e>=1&&(e-=1),e<1/6?(t-n)*e*6+n:e<1/2?t:e<2/3?(t-n)*6*(2/3-e)+n:n}var vv=function(n,t){var e=t.filter(sl),i=e[0],r=e[1],s=e[2],A=e[3],o=(i.type===17?Er(i.number):Hh.parse(n,i))/(Math.PI*2),a=ei(r)?r.number/100:0,l=ei(s)?s.number/100:0,
vendor: 11,491 bytes, line 3822
3822c=typeof A<"u"&&ei(A)?En(A,1):1;if(a===0)return MA(l*255,l*255,l*255,1);var u=l<=.5?l*(a+1):l+a-l*a,f=l*2-u,m=Bp(f,u,o+1/3),y=Bp(f,u,o),h=Bp(f,u,o-1/3);return MA(m*255,y*255,h*255,c)},a7={hsl:vv,hsla:vv,rgb:wv,rgba:wv},rc=function(n,t){return PA.parse(n,Lb.create(t).parseComponentValue())},zs={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},l7={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(n,t){return t.map(function(e){if(bn(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},c7={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},kh=function(n,t){var e=PA.parse(n,t[0]),i=t[1];return i&&ei(i)?{color:e,stop:i}:{color:e,stop:null}},yv=function(n,t){var e=n[0],i=n[n.length-1];e.stop===null&&(e.stop=gi),i.stop===null&&(i.stop=EA);for(var r=[],s=0,A=0;A<n.length;A++){var o=n[A].stop;if(o!==null){var a=En(o,t);a>s?r.push(a):r.push(s),s=a}else r.push(null)}for(var l=null,A=0;A<r.length;A++){var c=r[A];if(c===null)l===null&&(l=A);else if(l!==null){for(var u=A-l,f=r[l-1],m=(c-f)/(u+1),y=1;y<=u;y++)r[l+y-1]=m*y;l=null}}return n.map(function(h,g){var b=h.color;return{color:b,stop:Math.max(Math.min(1,r[g]/t),0)}})},u7=function(n,t,e){var i=t/2,r=e/2,s=En(n[0],t)-i,A=r-En(n[1],e);return(Math.atan2(A,s)+Math.PI*2)%(Math.PI*2)},f7=function(n,t,e){var i=typeof n=="number"?n:u7(n,t,e),r=Math.abs(t*Math.sin(i))+Math.abs(e*Math.cos(i)),s=t/2,A=e/2,o=r/2,a=Math.sin(i-Math.PI/2)*o,l=Math.cos(i-Math.PI/2)*o;return[r,s-l,s+l,A-a,A+a]},kr=function(n,t){return Math.sqrt(n*n+t*t)},Bv=function(n,t,e,i,r){var s=[[0,0],[0,t],[n,0],[n,t]];return s.reduce(function(A,o){var a=o[0],l=o[1],c=kr(e-a,i-l);return(r?c<A.optimumDistance:c>A.optimumDistance)?{optimumCorner:o,optimumDistance:c}:A},{optimumDistance:r?1/0:-1/0,optimumCorner:null}).optimumCorner},h7=function(n,t,e,i,r){var s=0,A=0;switch(n.size){case 0:n.shape===0?s=A=Math.min(Math.abs(t),Math.abs(t-i),Math.abs(e),Math.abs(e-r)):n.shape===1&&(s=Math.min(Math.abs(t),Math.abs(t-i)),A=Math.min(Math.abs(e),Math.abs(e-r)));break;case 2:if(n.shape===0)s=A=Math.min(kr(t,e),kr(t,e-r),kr(t-i,e),kr(t-i,e-r));else if(n.shape===1){var o=Math.min(Math.abs(e),Math.abs(e-r))/Math.min(Math.abs(t),Math.abs(t-i)),a=Bv(i,r,t,e,!0),l=a[0],c=a[1];s=kr(l-t,(c-e)/o),A=o*s}break;case 1:n.shape===0?s=A=Math.max(Math.abs(t),Math.abs(t-i),Math.abs(e),Math.abs(e-r)):n.shape===1&&(s=Math.max(Math.abs(t),Math.abs(t-i)),A=Math.max(Math.abs(e),Math.abs(e-r)));break;case 3:if(n.shape===0)s=A=Math.max(kr(t,e),kr(t,e-r),kr(t-i,e),kr(t-i,e-r));else if(n.shape===1){var o=Math.max(Math.abs(e),Math.abs(e-r))/Math.max(Math.abs(t),Math.abs(t-i)),u=Bv(i,r,t,e,!1),l=u[0],c=u[1];s=kr(l-t,(c-e)/o),A=o*s}break}return Array.isArray(n.size)&&(s=En(n.size[0],i),A=n.size.length===2?En(n.size[1],r):s),[s,A]},d7=function(n,t){var e=Er(180),i=[];return gs(t).forEach(function(r,s){if(s===0){var A=r[0];if(A.type===20&&A.value==="to"){e=zb(r);return}else if(Nb(A)){e=Hh.parse(n,A);return}}var o=kh(n,r);i.push(o)}),{angle:e,stops:i,type:1}},Ku=function(n,t){var e=Er(180),i=[];return gs(t).forEach(function(r,s){if(s===0){var A=r[0];if(A.type===20&&["top","left","right","bottom"].indexOf(A.value)!==-1){e=zb(r);return}else if(Nb(A)){e=(Hh.parse(n,A)+Er(270))%Er(360);return}}var o=kh(n,r);i.push(o)}),{angle:e,stops:i,type:1}},p7=function(n,t){var e=Er(180),i=[],r=1,s=0,A=3,o=[];return gs(t).forEach(function(a,l){var c=a[0];if(l===0){if(bn(c)&&c.value==="linear"){r=1;return}else if(bn(c)&&c.value==="radial"){r=2;return}}if(c.type===18){if(c.name==="from"){var u=PA.parse(n,c.values[0]);i.push({stop:gi,color:u})}else if(c.name==="to"){var u=PA.parse(n,c.values[0]);i.push({stop:EA,color:u})}else if(c.name==="color-stop"){var f=c.values.filter(sl);if(f.length===2){var u=PA.parse(n,f[1]),m=f[0];ul(m)&&i.push({stop:{type:16,number:m.number*100,flags:m.flags},color:u})}}}}),r===1?{angle:(e+Er(180))%Er(360),stops:i,type:r}:{size:A,shape:s,stops:i,position:o,type:r}},Vb="closest-side",Gb="farthest-side",Kb="closest-corner",Wb="farthest-corner",qb="circle",jb="ellipse",Xb="cover",Yb="contain",g7=function(n,t){var e=0,i=3,r=[],s=[];return gs(t).forEach(function(A,o){var a=!0;if(o===0){var l=!1;a=A.reduce(function(u,f){if(l)if(bn(f))switch(f.value){case"center":return s.push(b0),u;case"top":case"left":return s.push(gi),u;case"right":case"bottom":return s.push(EA),u}else(ei(f)||VA(f))&&s.push(f);else if(bn(f))switch(f.value){case qb:return e=0,!1;case jb:return e=1,!1;case"at":return l=!0,!1;case Vb:return i=0,!1;case Xb:case Gb:return i=1,!1;case Yb:case Kb:return i=2,!1;case Wb:return i=3,!1}else if(VA(f)||ei(f))return Array.isArray(i)||(i=[]),i.push(f),!1;return u},a)}if(a){var c=kh(n,A);r.push(c)}}),{size:i,shape:e,stops:r,position:s,type:2}},Wu=function(n,t){var e=0,i=3,r=[],s=[];return gs(t).forEach(function(A,o){var a=!0;if(o===0?a=A.reduce(function(c,u){if(bn(u))switch(u.value){case"center":return s.push(b0),!1;case"top":case"left":return s.push(gi),!1;case"right":case"bottom":return s.push(EA),!1}else if(ei(u)||VA(u))return s.push(u),!1;return c},a):o===1&&(a=A.reduce(function(c,u){if(bn(u))switch(u.value){case qb:return e=0,!1;case jb:return e=1,!1;case Yb:case Vb:return i=0,!1;case Gb:return i=1,!1;case Kb:return i=2,!1;case Xb:case Wb:return i=3,!1}else if(VA(u)||ei(u))return Array.isArray(i)||(i=[]),i.push(u),!1;return c},a)),a){var l=kh(n,A);r.push(l)}}),{size:i,shape:e,stops:r,position:s,type:2}},m7=function(n){return n.type===1},w7=function(n){return n.type===2},C0={name:"image",parse:function(n,t){if(t.type===22){var e={url:t.value,type:0};return n.cache.addImage(t.value),e}if(t.type===18){var i=Jb[t.name];if(typeof i>"u")throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return i(n,t.values)}throw new Error("Unsupported image type "+t.type)}};function v7(n){return!(n.type===20&&n.value==="none")&&(n.type!==18||!!Jb[n.name])}var Jb={"linear-gradient":d7,"-moz-linear-gradient":Ku,"-ms-linear-gradient":Ku,"-o-linear-gradient":Ku,"-webkit-linear-gradient":Ku,"radial-gradient":g7,"-moz-radial-gradient":Wu,"-ms-radial-gradient":Wu,"-o-radial-gradient":Wu,"-webkit-radial-gradient":Wu,"-webkit-gradient":p7},y7={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(n,t){if(t.length===0)return[];var e=t[0];return e.type===20&&e.value==="none"?[]:t.filter(function(i){return sl(i)&&v7(i)}).map(function(i){return C0.parse(n,i)})}},B7={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(n,t){return t.map(function(e){if(bn(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},_7={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(n,t){return gs(t).map(function(e){return e.filter(ei)}).map(Db)}},x7={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(n,t){return gs(t).map(function(e){return e.filter(bn).map(function(i){return i.value}).join(" ")}).map(b7)}},b7=function(n){switch(n){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},za;(function(n){n.AUTO="auto",n.CONTAIN="contain",n.COVER="cover"})(za||(za={}));var C7={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(n,t){return gs(t).map(function(e){return e.filter(S7)})}},S7=function(n){return bn(n)||ei(n)},Nh=function(n){return{name:"border-"+n+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},F7=Nh("top"),E7=Nh("right"),M7=Nh("bottom"),U7=Nh("left"),zh=function(n){return{name:"border-radius-"+n,initialValue:"0 0",prefix:!1,type:1,parse:function(t,e){return Db(e.filter(ei))}}},T7=zh("top-left"),I7=zh("top-right"),Q7=zh("bottom-right"),L7=zh("bottom-left"),Vh=function(n){return{name:"border-"+n+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(t,e){switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},P7=Vh("top"),D7=Vh("right"),R7=Vh("bottom"),O7=Vh("left"),Gh=function(n){return{name:"border-"+n+"-width",initialValue:"0",type:0,prefix:!1,parse:function(t,e){return Kc(e)?e.number:0}}},H7=Gh("top"),k7=Gh("right"),N7=Gh("bottom"),z7=Gh("left"),V7={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},G7={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(n,t){switch(t){case"rtl":return 1;case"ltr":default:return 0}}}
vendor: 16,045 bytes, line 3822
3822,K7={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(n,t){return t.filter(bn).reduce(function(e,i){return e|W7(i.value)},0)}},W7=function(n){switch(n){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},q7={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(n,t){switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},j7={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(n,t){return t.type===20&&t.value==="normal"?0:t.type===17||t.type===15?t.number:0}},Gf;(function(n){n.NORMAL="normal",n.STRICT="strict"})(Gf||(Gf={}));var X7={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(n,t){switch(t){case"strict":return Gf.STRICT;case"normal":default:return Gf.NORMAL}}},Y7={name:"line-height",initialValue:"normal",prefix:!1,type:4},_v=function(n,t){return bn(n)&&n.value==="normal"?1.2*t:n.type===17?t*n.number:ei(n)?En(n,t):t},J7={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(n,t){return t.type===20&&t.value==="none"?null:C0.parse(n,t)}},Z7={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(n,t){switch(t){case"inside":return 0;case"outside":default:return 1}}},rm={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(n,t){switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Kh=function(n){return{name:"margin-"+n,initialValue:"0",prefix:!1,type:4}},$7=Kh("top"),t9=Kh("right"),e9=Kh("bottom"),n9=Kh("left"),i9={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(n,t){return t.filter(bn).map(function(e){switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},r9={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(n,t){switch(t){case"break-word":return"break-word";case"normal":default:return"normal"}}},Wh=function(n){return{name:"padding-"+n,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},s9=Wh("top"),A9=Wh("right"),o9=Wh("bottom"),a9=Wh("left"),l9={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(n,t){switch(t){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},c9={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(n,t){switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},u9={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(n,t){return t.length===1&&im(t[0],"none")?[]:gs(t).map(function(e){for(var i={color:zs.TRANSPARENT,offsetX:gi,offsetY:gi,blur:gi},r=0,s=0;s<e.length;s++){var A=e[s];VA(A)?(r===0?i.offsetX=A:r===1?i.offsetY=A:i.blur=A,r++):i.color=PA.parse(n,A)}return i})}},f9={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(n,t){switch(t){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},h9={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(n,t){if(t.type===20&&t.value==="none")return null;if(t.type===18){var e=g9[t.name];if(typeof e>"u")throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return e(t.values)}return null}},d9=function(n){var t=n.filter(function(e){return e.type===17}).map(function(e){return e.number});return t.length===6?t:null},p9=function(n){var t=n.filter(function(a){return a.type===17}).map(function(a){return a.number}),e=t[0],i=t[1];t[2],t[3];var r=t[4],s=t[5];t[6],t[7],t[8],t[9],t[10],t[11];var A=t[12],o=t[13];return t[14],t[15],t.length===16?[e,i,r,s,A,o]:null},g9={matrix:d9,matrix3d:p9},xv={type:16,number:50,flags:Gc},m9=[xv,xv],w9={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(n,t){var e=t.filter(ei);return e.length!==2?m9:[e[0],e[1]]}},v9={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(n,t){switch(t){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},sc;(function(n){n.NORMAL="normal",n.BREAK_ALL="break-all",n.KEEP_ALL="keep-all"})(sc||(sc={}));var y9={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(n,t){switch(t){case"break-all":return sc.BREAK_ALL;case"keep-all":return sc.KEEP_ALL;case"normal":default:return sc.NORMAL}}},B9={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(n,t){if(t.type===20)return{auto:!0,order:0};if(ul(t))return{auto:!1,order:t.number};throw new Error("Invalid z-index number parsed")}},Zb={name:"time",parse:function(n,t){if(t.type===15)switch(t.unit.toLowerCase()){case"s":return 1e3*t.number;case"ms":return t.number}throw new Error("Unsupported time type")}},_9={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(n,t){return ul(t)?t.number:1}},x9={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},b9={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(n,t){return t.filter(bn).map(function(e){switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(e){return e!==0})}},C9={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(n,t){var e=[],i=[];return t.forEach(function(r){switch(r.type){case 20:case 0:e.push(r.value);break;case 17:e.push(r.number.toString());break;case 4:i.push(e.join(" ")),e.length=0;break}}),e.length&&i.push(e.join(" ")),i.map(function(r){return r.indexOf(" ")===-1?r:"'"+r+"'"})}},S9={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},F9={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(n,t){if(ul(t))return t.number;if(bn(t))switch(t.value){case"bold":return 700;case"normal":default:return 400}return 400}},E9={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(n,t){return t.filter(bn).map(function(e){return e.value})}},M9={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(n,t){switch(t){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},Ai=function(n,t){return(n&t)!==0},U9={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(n,t){if(t.length===0)return[];var e=t[0];return e.type===20&&e.value==="none"?[]:t}},T9={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(n,t){if(t.length===0)return null;var e=t[0];if(e.type===20&&e.value==="none")return null;for(var i=[],r=t.filter(Pb),s=0;s<r.length;s++){var A=r[s],o=r[s+1];if(A.type===20){var a=o&&ul(o)?o.number:1;i.push({counter:A.value,increment:a})}}return i}},I9={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(n,t){if(t.length===0)return[];for(var e=[],i=t.filter(Pb),r=0;r<i.length;r++){var s=i[r],A=i[r+1];if(bn(s)&&s.value!=="none"){var o=A&&ul(A)?A.number:0;e.push({counter:s.value,reset:o})}}return e}},Q9={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(n,t){return t.filter(Kc).map(function(e){return Zb.parse(n,e)})}},L9={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(n,t){if(t.length===0)return null;var e=t[0];if(e.type===20&&e.value==="none")return null;var i=[],r=t.filter(A7);if(r.length%2!==0)return null;for(var s=0;s<r.length;s+=2){var A=r[s].value,o=r[s+1].value;i.push({open:A,close:o})}return i}},bv=function(n,t,e){if(!n)return"";var i=n[Math.min(t,n.length-1)];return i?e?i.open:i.close:""},P9={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(n,t){return t.length===1&&im(t[0],"none")?[]:gs(t).map(function(e){for(var i={color:255,offsetX:gi,offsetY:gi,blur:gi,spread:gi,inset:!1},r=0,s=0;s<e.length;s++){var A=e[s];im(A,"inset")?i.inset=!0:VA(A)?(r===0?i.offsetX=A:r===1?i.offsetY=A:r===2?i.blur=A:i.spread=A,r++):i.color=PA.parse(n,A)}return i})}},D9={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(n,t){var e=[0,1,2],i=[];return t.filter(bn).forEach(function(r){switch(r.value){case"stroke":i.push(1);break;case"fill":i.push(0);break;case"markers":i.push(2);break}}),e.forEach(function(r){i.indexOf(r)===-1&&i.push(r)}),i}},R9={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},O9={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(n,t){return Kc(t)?t.number:0}},H9=function(){function n(t,e){var i,r;this.animationDuration=Ne(t,Q9,e.animationDuration),this.backgroundClip=Ne(t,l7,e.backgroundClip),this.backgroundColor=Ne(t,c7,e.backgroundColor),this.backgroundImage=Ne(t,y7,e.backgroundImage),this.backgroundOrigin=Ne(t,B7,e.backgroundOrigin),this.backgroundPosition=Ne(t,_7,e.backgroundPosition),this.backgroundRepeat=Ne(t,x7,e.backgroundRepeat),this.backgroundSize=Ne(t,C7,e.backgroundSize),this.borderTopColor=Ne(t,F7,e.borderTopColor),this.borderRightColor=Ne(t,E7,e.borderRightColor),this.borderBottomColor=Ne(t,M7,e.borderBottomColor),this.borderLeftColor=Ne(t,U7,e.borderLeftColor),this.borderTopLeftRadius=Ne(t,T7,e.borderTopLeftRadius),this.borderTopRightRadius=Ne(t,I7,e.borderTopRightRadius),this.borderBottomRightRadius=Ne(t,Q7,e.borderBottomRightRadius),this.borderBottomLeftRadius=Ne(t,L7,e.borderBottomLeftRadius),this.borderTopStyle=Ne(t,P7,e.borderTopStyle),this.borderRightStyle=Ne(t,D7,e.borderRightStyle),this.borderBottomStyle=Ne(t,R7,e.borderBottomStyle),this.borderLeftStyle=Ne(t,O7,e.borderLeftStyle),this.borderTopWidth=Ne(t,H7,e.borderTopWidth),this.borderRightWidth=Ne(t,k7,e.borderRightWidth),this.borderBottomWidth=Ne(t,N7,e.borderBottomWidth),this.borderLeftWidth=Ne(t,z7,e.borderLeftWidth),this.boxShadow=Ne(t,P9,e.boxShadow),this.color=Ne(t,V7,e.color),this.direction=Ne(t,G7,e.direction),this.display=Ne(t,K7,e.display),this.float=Ne(t,q7,e.cssFloat),this.fontFamily=Ne(t,C9,e.fontFamily),this.fontSize=Ne(t,S9,e.fontSize),this.fontStyle=Ne(t,M9,e.fontStyle),this.fontVariant=Ne(t,E9,e.fontVariant),this.fontWeight=Ne(t,F9,e.fontWeight),this.letterSpacing=Ne(t,j7,e.letterSpacing),this.lineBreak=Ne(t,X7,e.lineBreak),this.lineHeight=Ne(t,Y7,e.lineHeight),this.listStyleImage=Ne(t,J7,e.listStyleImage),this.listStylePosition=Ne(t,Z7,e.listStylePosition),this.listStyleType=Ne(t,rm,e.listStyleType),this.marginTop=Ne(t,$7,e.marginTop),this.marginRight=Ne(t,t9,e.marginRight),this.marginBottom=Ne(t,e9,e.marginBottom),this.marginLeft=Ne(t,n9,e.marginLeft),this.opacity=Ne(t,_9,e.opacity);var s=Ne(t,i9,e.overflow);this.overflowX=s[0],this.overflowY=s[s.length>1?1:0],this.overflowWrap=Ne(t,r9,e.overflowWrap),this.paddingTop=Ne(t,s9,e.paddingTop),this.paddingRight=Ne(t,A9,e.paddingRight),this.paddingBottom=Ne(t,o9,e.paddingBottom),this.paddingLeft=Ne(t,a9,e.paddingLeft),this.paintOrder=Ne(t,D9,e.paintOrder),this.position=Ne(t,c9,e.position),this.textAlign=Ne(t,l9,e.textAlign),this.textDecorationColor=Ne(t,x9,(i=e.textDecorationColor)!==null&&i!==void 0?i:e.color),this.textDecorationLine=Ne(t,b9,(r=e.textDecorationLine)!==null&&r!==void 0?r:e.textDecoration),this.textShadow=Ne(t,u9,e.textShadow),this.textTransform=Ne(t,f9,e.textTransform),this.transform=Ne(t,h9,e.transform),this.transformOrigin=Ne(t,w9,e.transformOrigin),this.visibility=Ne(t,v9,e.visibility),this.webkitTextStrokeColor=Ne(t,R9,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=Ne(t,O9,e.webkitTextStrokeWidth),this.wordBreak=Ne(t,y9,e.wordBreak),this.zIndex=Ne(t,B9,e.zIndex)}return n.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},n.prototype.isTransparent=function(){return DA(this.backgroundColor)},n.prototype.isTransformed=function(){return this.transform!==null},n.prototype.isPositioned=function(){return this.position!==0},n.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},n.prototype.isFloating=function(){return this.float!==0},n.prototype.isInlineLevel=function(){return Ai(this.display,4)||Ai(this.display,33554432)||Ai(this.display,268435456)||Ai(this.display,536870912)||Ai(this.display,67108864)||Ai(this.display,134217728)},n}(),k9=function(){function n(t,e){this.content=Ne(t,U9,e.content),this.quotes=Ne(t,L9,e.quotes)}return n}(),Cv=function(){function n(t,e){this.counterIncrement=Ne(t,T9,e.counterIncrement),this.counterReset=Ne(t,I9,e.counterReset)}return n}(),Ne=function(n,t,e){var i=new Qb,r=e!==null&&typeof e<"u"?e.toString():t.initialValue;i.write(r);var s=new Lb(i.read());switch(t.type){case 2:var A=s.parseComponentValue();return t.parse(n,bn(A)?A.value:t.initialValue);case 0:return t.parse(n,s.parseComponentValue());case 1:return t.parse(n,s.parseComponentValues());case 4:return s.parseComponentValue();case 3:switch(t.format){case"angle":return Hh.parse(n,s.parseComponentValue());case"color":return PA.parse(n,s.parseComponentValue());case"image":return C0.parse(n,s.parseComponentValue());case"length":var o=s.parseComponentValue();return VA(o)?o:gi;case"length-percentage":var a=s.parseComponentValue();return ei(a)?a:gi;case"time":return Zb.parse(n,s.parseComponentValue())}break}},N9="data-html2canvas-debug",z9=function(n){var t=n.getAttribute(N9);switch(t){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},sm=function(n,t){var e=z9(n);return e===1||t===e},ms=function(){function n(t,e){if(this.context=t,this.textNodes=[],this.elements=[],this.flags=0,sm(e,3))debugger;this.styles=new H9(t,window.getComputedStyle(e,null)),am(e)&&(this.styles.animationDuration.some(function(i){return i>0})&&(e.style.animationDuration="0s"),this.styles.transform!==null&&(e.style.transform="none")),this.bounds=Rh(this.context,e),sm(e,4)&&(this.flags|=16)}return n}(),V9=
vendor: 26,159 bytes, line 3822
3822"AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",
3822Sv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 16,578 bytes, line 3822
3822+/",kl=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var qu=0;qu<Sv.length;qu++)kl[Sv.charCodeAt(qu)]=qu;var G9=function(n){var t=n.length*.75,e=n.length,i,r=0,s,A,o,a;n[n.length-1]==="="&&(t--,n[n.length-2]==="="&&t--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(t):new Array(t),c=Array.isArray(l)?l:new Uint8Array(l);for(i=0;i<e;i+=4)s=kl[n.charCodeAt(i)],A=kl[n.charCodeAt(i+1)],o=kl[n.charCodeAt(i+2)],a=kl[n.charCodeAt(i+3)],c[r++]=s<<2|A>>4,c[r++]=(A&15)<<4|o>>2,c[r++]=(o&3)<<6|a&63;return l},K9=function(n){for(var t=n.length,e=[],i=0;i<t;i+=2)e.push(n[i+1]<<8|n[i]);return e},W9=function(n){for(var t=n.length,e=[],i=0;i<t;i+=4)e.push(n[i+3]<<24|n[i+2]<<16|n[i+1]<<8|n[i]);return e},Uo=5,S0=6+5,_p=2,q9=S0-Uo,$b=65536>>Uo,j9=1<<Uo,xp=j9-1,X9=1024>>Uo,Y9=$b+X9,J9=Y9,Z9=32,$9=J9+Z9,tk=65536>>S0,ek=1<<q9,nk=ek-1,Fv=function(n,t,e){return n.slice?n.slice(t,e):new Uint16Array(Array.prototype.slice.call(n,t,e))},ik=function(n,t,e){return n.slice?n.slice(t,e):new Uint32Array(Array.prototype.slice.call(n,t,e))},rk=function(n,t){var e=G9(n),i=Array.isArray(e)?W9(e):new Uint32Array(e),r=Array.isArray(e)?K9(e):new Uint16Array(e),s=24,A=Fv(r,s/2,i[4]/2),o=i[5]===2?Fv(r,(s+i[4])/2):ik(i,Math.ceil((s+i[4])/4));return new sk(i[0],i[1],i[2],i[3],A,o)},sk=function(){function n(t,e,i,r,s,A){this.initialValue=t,this.errorValue=e,this.highStart=i,this.highValueIndex=r,this.index=s,this.data=A}return n.prototype.get=function(t){var e;if(t>=0){if(t<55296||t>56319&&t<=65535)return e=this.index[t>>Uo],e=(e<<_p)+(t&xp),this.data[e];if(t<=65535)return e=this.index[$b+(t-55296>>Uo)],e=(e<<_p)+(t&xp),this.data[e];if(t<this.highStart)return e=$9-tk+(t>>S0),e=this.index[e],e+=t>>Uo&nk,e=this.index[e],e=(e<<_p)+(t&xp),this.data[e];if(t<=1114111)return this.data[this.highValueIndex]}return this.errorValue},n}(),Ev="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ak=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var ju=0;ju<Ev.length;ju++)Ak[Ev.charCodeAt(ju)]=ju;var ok=1,bp=2,Cp=3,Mv=4,Uv=5,ak=7,Tv=8,Sp=9,Fp=10,Iv=11,Qv=12,Lv=13,Pv=14,Ep=15,lk=function(n){for(var t=[],e=0,i=n.length;e<i;){var r=n.charCodeAt(e++);if(r>=55296&&r<=56319&&e<i){var s=n.charCodeAt(e++);(s&64512)===56320?t.push(((r&1023)<<10)+(s&1023)+65536):(t.push(r),e--)}else t.push(r)}return t},ck=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,n);var e=n.length;if(!e)return"";for(var i=[],r=-1,s="";++r<e;){var A=n[r];A<=65535?i.push(A):(A-=65536,i.push((A>>10)+55296,A%1024+56320)),(r+1===e||i.length>16384)&&(s+=String.fromCharCode.apply(String,i),i.length=0)}return s},uk=rk(V9),yo="\xD7",Dv="\xF7",fk=function(n){return uk.get(n)},hk=function(n,t,e){var i=e-2,r=t[i],s=t[e-1],A=t[e];if(s===bp&&A===Cp)return yo;if(s===bp||s===Cp||s===Mv||A===bp||A===Cp||A===Mv)return Dv;if(s===Tv&&[Tv,Sp,Iv,Qv].indexOf(A)!==-1||(s===Iv||s===Sp)&&(A===Sp||A===Fp)||(s===Qv||s===Fp)&&A===Fp||A===Lv||A===Uv||A===ak||s===ok)return yo;if(s===Lv&&A===Pv){for(;r===Uv;)r=t[--i];if(r===Pv)return yo}if(s===Ep&&A===Ep){for(var o=0;r===Ep;)o++,r=t[--i];if(o%2===0)return yo}return Dv},dk=function(n){var t=lk(n),e=t.length,i=0,r=0,s=t.map(fk);return{next:function(){if(i>=e)return{done:!0,value:null};for(var A=yo;i<e&&(A=hk(t,s,++i))===yo;);if(A!==yo||i===e){var o=ck.apply(null,t.slice(r,i));return r=i,{value:o,done:!1}}return{done:!0,value:null}}}},pk=function(n){for(var t=dk(n),e=[],i;!(i=t.next()).done;)i.value&&e.push(i.value.slice());return e},gk=function(n){var t=123;if(n.createRange){var e=n.createRange();if(e.getBoundingClientRect){var i=n.createElement("boundtest");i.style.height=t+"px",i.style.display="block",n.body.appendChild(i),e.selectNode(i);var r=e.getBoundingClientRect(),s=Math.round(r.height);if(n.body.removeChild(i),s===t)return!0}}return!1},mk=function(n){var t=n.createElement("boundtest");t.style.width="50px",t.style.display="block",t.style.fontSize="12px",t.style.letterSpacing="0px",t.style.wordSpacing="0px",n.body.appendChild(t);var e=n.createRange();t.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var i=t.firstChild,r=Oh(i.data).map(function(a){return jn(a)}),s=0,A={},o=r.every(function(a,l){e.setStart(i,s),e.setEnd(i,s+a.length);var c=e.getBoundingClientRect();s+=a.length;var u=c.x>A.x||c.y>A.y;return A=c,l===0?!0:u});return n.body.removeChild(t),o},wk=function(){return typeof new Image().crossOrigin<"u"},vk=function(){return typeof new XMLHttpRequest().responseType=="string"},yk=function(n){var t=new Image,e=n.createElement("canvas"),i=e.getContext("2d");if(!i)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{i.drawImage(t,0,0),e.toDataURL()}catch{return!1}return!0},Rv=function(n){return n[0]===0&&n[1]===255&&n[2]===0&&n[3]===255},Bk=function(n){var t=n.createElement("canvas"),e=100;t.width=e,t.height=e;var i=t.getContext("2d");if(!i)return Promise.reject(!1);i.fillStyle="rgb(0, 255, 0)",i.fillRect(0,0,e,e);var r=new Image,s=t.toDataURL();r.src=s;var A=Am(e,e,0,0,r);return i.fillStyle="red",i.fillRect(0,0,e,e),Ov(A).then(function(o){i.drawImage(o,0,0);var a=i.getImageData(0,0,e,e).data;i.fillStyle="red",i.fillRect(0,0,e,e);var l=n.createElement("div");return l.style.backgroundImage="url("+s+")",l.style.height=e+"px",Rv(a)?Ov(Am(e,e,0,0,l)):Promise.reject(!1)}).then(function(o){return i.drawImage(o,0,0),Rv(i.getImageData(0,0,e,e).data)}).catch(function(){return!1})},Am=function(n,t,e,i,r){var s="http://www.w3.org/2000/svg",A=document.createElementNS(s,"svg"),o=document.createElementNS(s,"foreignObject");return A.setAttributeNS(null,"width",n.toString()),A.setAttributeNS(null,"height",t.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",e.toString()),o.setAttributeNS(null,"y",i.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),A.appendChild(o),o.appendChild(r),A},Ov=function(n){return new Promise(function(t,e){var i=new Image;i.onload=function(){return t(i)},i.onerror=e,i.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(n))})},hi={get SUPPORT_RANGE_BOUNDS(){var n=gk(document);return Object.defineProperty(hi,"SUPPORT_RANGE_BOUNDS",{value:n}),n},get SUPPORT_WORD_BREAKING(){var n=hi.SUPPORT_RANGE_BOUNDS&&mk(document);return Object.defineProperty(hi,"SUPPORT_WORD_BREAKING",{value:n}),n},get SUPPORT_SVG_DRAWING(){var n=yk(document);return Object.defineProperty(hi,"SUPPORT_SVG_DRAWING",{value:n}),n},get SUPPORT_FOREIGNOBJECT_DRAWING(){var n=typeof Array.from=="function"&&typeof window.fetch=="function"?Bk(document):Promise.resolve(!1);return Object.defineProperty(hi,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:n}),n},get SUPPORT_CORS_IMAGES(){var n=wk();return Object.defineProperty(hi,"SUPPORT_CORS_IMAGES",{value:n}),n},get SUPPORT_RESPONSE_TYPE(){var n=vk();return Object.defineProperty(hi,"SUPPORT_RESPONSE_TYPE",{value:n}),n},get SUPPORT_CORS_XHR(){var n="withCredentials"in new XMLHttpRequest;return Object.defineProperty(hi,"SUPPORT_CORS_XHR",{value:n}),n},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var n=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(hi,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:n}),n}},Ac=function(){function n(t,e){this.text=t,this.bounds=e}return n}(),_k=function(n,t,e,i){var r=Ck(t,e),s=[],A=0;return r.forEach(function(o){if(e.textDecorationLine.length||o.trim().length>0)if(hi.SUPPORT_RANGE_BOUNDS){var a=Hv(i,A,o.length).getClientRects();if(a.length>1){var l=F0(o),c=0;l.forEach(function(f){s.push(new Ac(f,Js.fromDOMRectList(n,Hv(i,c+A,f.length).getClientRects()))),c+=f.length})}else s.push(new Ac(o,Js.fromDOMRectList(n,a)))}else{var u=i.splitText(o.length);s.push(new Ac(o,xk(n,i))),i=u}else hi.SUPPORT_RANGE_BOUNDS||(i=i.splitText(o.length));A+=o.length}),s},xk=function(n,t){var e=t.ownerDocument;if(e){var i=e.createElement("html2canvaswrapper");i.appendChild(t.cloneNode(!0));var r=t.parentNode;if(r){r.replaceChild(i,t);var s=Rh(n,i);return i.firstChild&&r.replaceChild(i.firstChild,i),s}}return Js.EMPTY},Hv=function(n,t,e){var i=n.ownerDocument;if(!i)throw new Error("Node has no owner document");var r=i.createRange();return r.setStart(n,t),r.setEnd(n,t+e),r},F0=function(n){if(hi.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(n)).map(function(e){return e.segment})}return pk(n)},bk=function(n,t){if(hi.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(e.segment(n)).map(function(i){return i.segment})}return Fk(n,t)},Ck=function(n,t){return t.letterSpacing!==0?F0(n):bk(n,t)},Sk=[32,160,4961,65792,65793,4153,4241],Fk=function(n,t){for(var e=tH(n,{lineBreak:t.lineBreak,wordBreak:t.overflowWrap==="break-word"?"break-word":t.wordBreak}),i=[],r,s=function(){if(r.value){var A=r.value.slice(),o=Oh(A),a="";o.forEach(function(l){Sk.indexOf(l)===-1?a+=jn(l):(a.length&&i.push(a),i.push(jn(l)),a="")}),a.length&&i.push(a)}};!(r=e.next()).done;)s();return i},Ek=function(){function n(t,e,i){this.text=Mk(e.data,i.textTransform),this.textBounds=_k(t,this.text,i,e)}return n}(),Mk=function(n,t){switch(t){case 1:return n.toLowerCase();case 3:return n.replace(Uk,Tk);case 2:return n.toUpperCase();default:return n}},Uk=/(^|\s|:|-|\(|\))([a-z])/g,Tk=function(n,t,e){return n.length>0?t+e.toUpperCase():n},tC=function(n){ts(t,n);function t(e,i){var r=n.call(this,e,i)||this;return r.src=i.currentSrc||i.src,r.intrinsicWidth=i.naturalWidth,r.intrinsicHeight=i.naturalHeight,r.context.cache.addImage(r.src),r}return t}(ms),eC=function(n){ts(t,n);function t(e,i){var r=n.call(this,e,i)||this;return r.canvas=i,r.intrinsicWidth=i.width,r.intrinsicHeight=i.height,r}return t}(ms),nC=function(n){ts(t,n);function t(e,i){var r=n.call(this,e,i)||this,s=new XMLSerializer,A=Rh(e,i);return i.setAttribute("width",A.width+"px"),i.setAttribute("height",A.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(s.serializeToString(i)),r.intrinsicWidth=i.width.baseVal.value,r.intrinsicHeight=i.height.baseVal.value,r.context.cache.addImage(r.svg),r}return t}(ms),iC=function(n){ts(t,n);function t(e,i){var r=n.call(this,e,i)||this;return r.value=i.value,r}return t}(ms),om=function(n){ts(t,n);function t(e,i){var r=n.call(this,e,i)||this;return r.start=i.start,r.reversed=typeof i.reversed=="boolean"&&i.reversed===!0,r}return t}(ms),Ik=[{type:15,flags:0,unit:"px",number:3}],Qk=[{type:16,flags:0,number:50}],Lk=function(n){return n.width>n.height?new Js(n.left+(n.width-n.height)/2,n.top,n.height,n.height):n.width<n.height?new Js(n.left,n.top+(n.height-n.width)/2,n.width,n.width):n},Pk=function(n){var t=n.type===Dk?new Array(n.value.length+1).join("\u2022"):n.value;return t.length===0?n.placeholder||"":t},Kf="checkbox",Wf="radio",Dk="password",kv=707406591,E0=function(n){ts(t,n);function t(e,i){var r=n.call(this,e,i)||this;switch(r.type=i.type.toLowerCase(),r.checked=i.checked,r.value=Pk(i),(r.type===Kf||r.type===Wf)&&(r.styles.backgroundColor=3739148031,r.styles.borderTopColor=r.styles.borderRightColor=r.styles.borderBottomColor=r.styles.borderLeftColor=2779096575,r.styles.borderTopWidth=r.styles.borderRightWidth=r.styles.borderBottomWidth=r.styles.borderLeftWidth=1,r.styles.borderTopStyle=r.styles.borderRightStyle=r.styles.borderBottomStyle=r.styles.borderLeftStyle=1,r.styles.backgroundClip=[0],r.styles.backgroundOrigin=[0],r.bounds=Lk(r.bounds)),r.type){case Kf:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=Ik;break;case Wf:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=Qk;break}return r}return t}(ms),rC=function(n){ts(t,n);function t(e,i){var r=n.call(this,e,i)||this,s=i.options[i.selectedIndex||0];return r.value=s&&s.text||"",r}return t}(ms),sC=function(n){ts(t,n);function t(e,i){var r=n.call(this,e,i)||this;return r.value=i.value,r}return t}(ms),AC=function(n){ts(t,n);function t(e,i){var r=n.call(this,e,i)||this;r.src=i.src,r.width=parseInt(i.width,10)||0,r.height=parseInt(i.height,10)||0,r.backgroundColor=r.styles.backgroundColor;try{if(i.contentWindow&&i.contentWindow.document&&i.contentWindow.document.documentElement){r.tree=aC(e,i.contentWindow.document.documentElement);var s=i.contentWindow.document.documentElement?rc(e,getComputedStyle(i.contentWindow.document.documentElement).backgroundColor):zs.TRANSPARENT,A=i.contentWindow.document.body?rc(e,getComputedStyle(i.contentWindow.document.body).backgroundColor):zs.TRANSPARENT;r.backgroundColor=DA(s)?DA(A)?r.styles.backgroundColor:A:s}}catch{}return r}return t}(ms),Rk=["OL","UL","MENU"],pf=function(n,t,e,i){for(var r=t.firstChild,s=void 0;r;r=s)if(s=r.nextSibling,lC(r)&&r.data.trim().length>0)e.textNodes.push(new Ek(n,r,e.styles));else if(Ua(r))if(hC(r)&&r.assignedNodes)r.assignedNodes().forEach(function(o){return pf(n,o,e,i)});else{var A=oC(n,r);A.styles.isVisible()&&(Ok(r,A,i)?A.flags|=4:Hk(A.styles)&&(A.flags|=2),Rk.indexOf(r.tagName)!==-1&&(A.flags|=8),e.elements.push(A),r.slot,r.shadowRoot?pf(n,r.shadowRoot,A,i):!qf(r)&&!cC(r)&&!jf(r)&&pf(n,r,A,i))}},oC=function(n,t){return lm(t)?new tC(n,t):uC(t)?new eC(n,t):cC(t)?new nC(n,t):kk(t)?new iC(n,t):Nk(t)?new om(n,t):zk(t)?new E0(n,t):jf(t)?new rC(n,t):qf(t)?new sC(n,t):fC(t)?new AC(n,t):new ms(n,t)},aC=function(n,t){var e=oC(n,t);return e.flags|=4,pf(n,t,e,e),e},Ok=function(n,t,e){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||M0(n)&&e.styles.isTransparent()},Hk=function(n){return n.isPositioned()||n.isFloating()},lC=function(n){return n.nodeType===Node.TEXT_NODE},Ua=function(n){return n.nodeType===Node.ELEMENT_NODE},am=function(n){return Ua(n)&&typeof n.style<"u"&&!gf(n)},gf=function(n){return typeof n.className=="object"},kk=function(n){return n.tagName==="LI"},Nk=function(n){return n.tagName==="OL"},zk=function(n){return n.tagName==="INPUT"},Vk=function(n){return n.tagName==="HTML"},cC=function(n){return n.tagName==="svg"},M0=function(n){return n.tagName==="BODY"},uC=function(n){return n.tagName==="CANVAS"},Nv=function(n){return n.tagName==="VIDEO"},lm=function(n){return n.tagName==="IMG"},fC=function(n){return n.tagName==="IFRAME"},zv=function(n){return n.tagName==="STYLE"},Gk=function(n){return n.tagName==="SCRIPT"},qf=function(n){return n.tagName==="TEXTAREA"},jf=function(n){return n.tagName==="SELECT"},hC=function(n){return n.tagName==="SLOT"},Vv=function(n){return n.tagName.indexOf("-")>0},Kk=function(){function n(){this.counters={}}return n.prototype.getCounterValue=function(t){var e=this.counters[t];return e&&e.length?e[e.length-1]:1},n.prototype.getCounterValues=function(t){var e=this.counters[t];return e||[]},n.prototype.pop=function(t){var e=this;t.forEach(function(i){return e.counters[i].pop()})},n.prototype.parse=function(t){var e=this,i=t.counterIncrement,r=t.counterReset,s=!0;i!==null&&i.forEach(function(o){var a=e.counters[o.counter];a&&o.increment!==0&&(s=!1,a.length||a.push(1),a[Math.max(0,a.length-1)]+=o.increment)});var A=[];return s&&r.forEach(function(o){var a=e.counters[o.counter];A.push(o.counter),a||(a=e.counters[o.counter]=[]),a.push(o.reset)}),A},n}(),Gv={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Kv={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Wk={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},qk={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,9
vendor: 5,819 bytes, line 3822
38220,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},ma=function(n,t,e,i,r,s){return n<t||n>e?Mc(n,r,s.length>0):i.integers.reduce(function(A,o,a){for(;n>=o;)n-=o,A+=i.values[a];return A},"")+s},dC=function(n,t,e,i){var r="";do e||n--,r=i(n)+r,n/=t;while(n*t>=t);return r},qn=function(n,t,e,i,r){var s=e-t+1;return(n<0?"-":"")+(dC(Math.abs(n),s,i,function(A){return jn(Math.floor(A%s)+t)})+r)},so=function(n,t,e){e===void 0&&(e=". ");var i=t.length;return dC(Math.abs(n),i,!1,function(r){return t[Math.floor(r%i)]})+e},xa=1,dA=2,pA=4,Nl=8,Us=function(n,t,e,i,r,s){if(n<-9999||n>9999)return Mc(n,4,r.length>0);var A=Math.abs(n),o=r;if(A===0)return t[0]+o;for(var a=0;A>0&&a<=4;a++){var l=A%10;l===0&&Ai(s,xa)&&o!==""?o=t[l]+o:l>1||l===1&&a===0||l===1&&a===1&&Ai(s,dA)||l===1&&a===1&&Ai(s,pA)&&n>100||l===1&&a>1&&Ai(s,Nl)?o=t[l]+(a>0?e[a-1]:"")+o:l===1&&a>0&&(o=e[a-1]+o),A=Math.floor(A/10)}return(n<0?i:"")+o},Wv="\u5341\u767E\u5343\u842C",qv="\u62FE\u4F70\u4EDF\u842C",jv="\u30DE\u30A4\u30CA\u30B9",Mp="\uB9C8\uC774\uB108\uC2A4",Mc=function(n,t,e){var i=e?". ":"",r=e?"\u3001":"",s=e?", ":"",A=e?" ":"";switch(t){case 0:return"\u2022"+A;case 1:return"\u25E6"+A;case 2:return"\u25FE"+A;case 5:var o=qn(n,48,57,!0,i);return o.length<4?"0"+o:o;case 4:return so(n,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",r);case 6:return ma(n,1,3999,Gv,3,i).toLowerCase();case 7:return ma(n,1,3999,Gv,3,i);case 8:return qn(n,945,969,!1,i);case 9:return qn(n,97,122,!1,i);case 10:return qn(n,65,90,!1,i);case 11:return qn(n,1632,1641,!0,i);case 12:case 49:return ma(n,1,9999,Kv,3,i);case 35:return ma(n,1,9999,Kv,3,i).toLowerCase();case 13:return qn(n,2534,2543,!0,i);case 14:case 30:return qn(n,6112,6121,!0,i);case 15:return so(n,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",r);case 16:return so(n,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",r);case 17:case 48:return Us(n,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Wv,"\u8CA0",r,dA|pA|Nl);case 47:return Us(n,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",qv,"\u8CA0",r,xa|dA|pA|Nl);case 42:return Us(n,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Wv,"\u8D1F",r,dA|pA|Nl);case 41:return Us(n,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",qv,"\u8D1F",r,xa|dA|pA|Nl);case 26:return Us(n,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",jv,r,0);case 25:return Us(n,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",jv,r,xa|dA|pA);case 31:return Us(n,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",Mp,s,xa|dA|pA);case 33:return Us(n,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",Mp,s,0);case 32:return Us(n,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",Mp,s,xa|dA|pA);case 18:return qn(n,2406,2415,!0,i);case 20:return ma(n,1,19999,qk,3,i);case 21:return qn(n,2790,2799,!0,i);case 22:return qn(n,2662,2671,!0,i);case 22:return ma(n,1,10999,Wk,3,i);case 23:return so(n,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return so(n,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return qn(n,3302,3311,!0,i);case 28:return so(n,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",r);case 29:return so(n,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",r);case 34:return qn(n,3792,3801,!0,i);case 37:return qn(n,6160,6169,!0,i);case 38:return qn(n,4160,4169,!0,i);case 39:return qn(n,2918,2927,!0,i);case 40:return qn(n,1776,1785,!0,i);case 43:return qn(n,3046,3055,!0,i);case 44:return qn(n,3174,3183,!0,i);case 45:return qn(n,3664,3673,!0,i);case 46:return qn(n,3872,3881,!0,i);case 3:default:return qn(n,48,57,!0,i)}},pC="data-html2canvas-ignore",Xv=function(){function n(t,e,i){if(this.context=t,this.options=i,this.scrolledElements=[],this.referenceElement=e,this.counters=new Kk,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}return n.prototype.toIFrame=function(t,e){var i=this,r=jk(t,e);if(!r.contentWindow)return Promise.reject("Unable to find iframe window");var s=t.defaultView.pageXOffset,A=t.defaultView.pageYOffset,o=r.contentWindow,a=o.document,l=Jk(r).then(function(){return Hi(i,void 0,void 0,function(){var c,u;return bi(this,function(f){switch(f.label){case 0:return this.scrolledElements.forEac
vendor: 18,721 bytes, lines 3822-3826
3822h(eN),o&&(o.scrollTo(e.left,e.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==e.top||o.scrollX!==e.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-e.left,o.scrollY-e.top,0,0))),c=this.options.onclone,u=this.clonedReferenceElement,typeof u>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:a.fonts&&a.fonts.ready?[4,a.fonts.ready]:[3,2];case 1:f.sent(),f.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Yk(a)]:[3,4];case 3:f.sent(),f.label=4;case 4:return typeof c=="function"?[2,Promise.resolve().then(function(){return c(a,u)}).then(function(){return r})]:[2,r]}})})});return a.open(),a.write($k(document.doctype)+"<html></html>"),tN(this.referenceElement.ownerDocument,s,A),a.replaceChild(a.adoptNode(this.documentElement),a.documentElement),a.close(),l},n.prototype.createElementClone=function(t){if(sm(t,2))debugger;if(uC(t))return this.createCanvasClone(t);if(Nv(t))return this.createVideoClone(t);if(zv(t))return this.createStyleClone(t);var e=t.cloneNode(!1);return lm(e)&&(lm(t)&&t.currentSrc&&t.currentSrc!==t.src&&(e.src=t.currentSrc,e.srcset=""),e.loading==="lazy"&&(e.loading="eager")),Vv(e)?this.createCustomElementClone(e):e},n.prototype.createCustomElementClone=function(t){var e=document.createElement("html2canvascustomelement");return Up(t.style,e),e},n.prototype.createStyleClone=function(t){try{var e=t.sheet;if(e&&e.cssRules){var i=[].slice.call(e.cssRules,0).reduce(function(s,A){return A&&typeof A.cssText=="string"?s+A.cssText:s},""),r=t.cloneNode(!1);return r.textContent=i,r}}catch(s){if(this.context.logger.error("Unable to access cssRules property",s),s.name!=="SecurityError")throw s}return t.cloneNode(!1)},n.prototype.createCanvasClone=function(t){var e;if(this.options.inlineImages&&t.ownerDocument){var i=t.ownerDocument.createElement("img");try{return i.src=t.toDataURL(),i}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",t)}}var r=t.cloneNode(!1);try{r.width=t.width,r.height=t.height;var s=t.getContext("2d"),A=r.getContext("2d");if(A)if(!this.options.allowTaint&&s)A.putImageData(s.getImageData(0,0,t.width,t.height),0,0);else{var o=(e=t.getContext("webgl2"))!==null&&e!==void 0?e:t.getContext("webgl");if(o){var a=o.getContextAttributes();(a==null?void 0:a.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",t)}A.drawImage(t,0,0)}return r}catch{this.context.logger.info("Unable to clone canvas as it is tainted",t)}return r},n.prototype.createVideoClone=function(t){var e=t.ownerDocument.createElement("canvas");e.width=t.offsetWidth,e.height=t.offsetHeight;var i=e.getContext("2d");try{return i&&(i.drawImage(t,0,0,e.width,e.height),this.options.allowTaint||i.getImageData(0,0,e.width,e.height)),e}catch{this.context.logger.info("Unable to clone video as it is tainted",t)}var r=t.ownerDocument.createElement("canvas");return r.width=t.offsetWidth,r.height=t.offsetHeight,r},n.prototype.appendChildNode=function(t,e,i){(!Ua(e)||!Gk(e)&&!e.hasAttribute(pC)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(e)))&&(!this.options.copyStyles||!Ua(e)||!zv(e))&&t.appendChild(this.cloneNode(e,i))},n.prototype.cloneChildNodes=function(t,e,i){for(var r=this,s=t.shadowRoot?t.shadowRoot.firstChild:t.firstChild;s;s=s.nextSibling)if(Ua(s)&&hC(s)&&typeof s.assignedNodes=="function"){var A=s.assignedNodes();A.length&&A.forEach(function(o){return r.appendChildNode(e,o,i)})}else this.appendChildNode(e,s,i)},n.prototype.cloneNode=function(t,e){if(lC(t))return document.createTextNode(t.data);if(!t.ownerDocument)return t.cloneNode(!1);var i=t.ownerDocument.defaultView;if(i&&Ua(t)&&(am(t)||gf(t))){var r=this.createElementClone(t);r.style.transitionProperty="none";var s=i.getComputedStyle(t),A=i.getComputedStyle(t,":before"),o=i.getComputedStyle(t,":after");this.referenceElement===t&&am(r)&&(this.clonedReferenceElement=r),M0(r)&&rN(r);var a=this.counters.parse(new Cv(this.context,s)),l=this.resolvePseudoContent(t,r,A,oc.BEFORE);Vv(t)&&(e=!0),Nv(t)||this.cloneChildNodes(t,r,e),l&&r.insertBefore(l,r.firstChild);var c=this.resolvePseudoContent(t,r,o,oc.AFTER);return c&&r.appendChild(c),this.counters.pop(a),(s&&(this.options.copyStyles||gf(t))&&!fC(t)||e)&&Up(s,r),(t.scrollTop!==0||t.scrollLeft!==0)&&this.scrolledElements.push([r,t.scrollLeft,t.scrollTop]),(qf(t)||jf(t))&&(qf(r)||jf(r))&&(r.value=t.value),r}return t.cloneNode(!1)},n.prototype.resolvePseudoContent=function(t,e,i,r){var s=this;if(i){var A=i.content,o=e.ownerDocument;if(!(!o||!A||A==="none"||A==="-moz-alt-content"||i.display==="none")){this.counters.parse(new Cv(this.context,i));var a=new k9(this.context,i),l=o.createElement("html2canvaspseudoelement");Up(i,l),a.content.forEach(function(u){if(u.type===0)l.appendChild(o.createTextNode(u.value));else if(u.type===22){var f=o.createElement("img");f.src=u.value,f.style.opacity="1",l.appendChild(f)}else if(u.type===18){if(u.name==="attr"){var m=u.values.filter(bn);m.length&&l.appendChild(o.createTextNode(t.getAttribute(m[0].value)||""))}else if(u.name==="counter"){var y=u.values.filter(sl),h=y[0],g=y[1];if(h&&bn(h)){var b=s.counters.getCounterValue(h.value),U=g&&bn(g)?rm.parse(s.context,g.value):3;l.appendChild(o.createTextNode(Mc(b,U,!1)))}}else if(u.name==="counters"){var N=u.values.filter(sl),h=N[0],L=N[1],g=N[2];if(h&&bn(h)){var R=s.counters.getCounterValues(h.value),j=g&&bn(g)?rm.parse(s.context,g.value):3,st=L&&L.type===0?L.value:"",O=R.map(function(Nt){return Mc(Nt,j,!1)}).join(st);l.appendChild(o.createTextNode(O))}}}else if(u.type===20)switch(u.value){case"open-quote":l.appendChild(o.createTextNode(bv(a.quotes,s.quoteDepth++,!0)));break;case"close-quote":l.appendChild(o.createTextNode(bv(a.quotes,--s.quoteDepth,!1)));break;default:l.appendChild(o.createTextNode(u.value))}}),l.className=cm+" "+um;var c=r===oc.BEFORE?" "+cm:" "+um;return gf(e)?e.className.baseValue+=c:e.className+=c,l}}},n.destroy=function(t){return t.parentNode?(t.parentNode.removeChild(t),!0):!1},n}(),oc;(function(n){n[n.BEFORE=0]="BEFORE",n[n.AFTER=1]="AFTER"})(oc||(oc={}));var jk=function(n,t){var e=n.createElement("iframe");return e.className="html2canvas-container",e.style.visibility="hidden",e.style.position="fixed",e.style.left="-10000px",e.style.top="0px",e.style.border="0",e.width=t.width.toString(),e.height=t.height.toString(),e.scrolling="no",e.setAttribute(pC,"true"),n.body.appendChild(e),e},Xk=function(n){return new Promise(function(t){if(n.complete){t();return}if(!n.src){t();return}n.onload=t,n.onerror=t})},Yk=function(n){return Promise.all([].slice.call(n.images,0).map(Xk))},Jk=function(n){return new Promise(function(t,e){var i=n.contentWindow;if(!i)return e("No window assigned for iframe");var r=i.document;i.onload=n.onload=function(){i.onload=n.onload=null;var s=setInterval(function(){r.body.childNodes.length>0&&r.readyState==="complete"&&(clearInterval(s),t(n))},50)}})},Zk=["all","d","content"],Up=function(n,t){for(var e=n.length-1;e>=0;e--){var i=n.item(e);Zk.indexOf(i)===-1&&t.style.setProperty(i,n.getPropertyValue(i))}return t},$k=function(n){var t="";return n&&(t+="<!DOCTYPE ",n.name&&(t+=n.name),n.internalSubset&&(t+=n.internalSubset),n.publicId&&(t+='"'+n.publicId+'"'),n.systemId&&(t+='"'+n.systemId+'"'),t+=">"),t},tN=function(n,t,e){n&&n.defaultView&&(t!==n.defaultView.pageXOffset||e!==n.defaultView.pageYOffset)&&n.defaultView.scrollTo(t,e)},eN=function(n){var t=n[0],e=n[1],i=n[2];t.scrollLeft=e,t.scrollTop=i},nN=":before",iN=":after",cm="___html2canvas___pseudoelement_before",um="___html2canvas___pseudoelement_after",Yv=`{ 3823 content: "" !important; 3824 display: none !important; 3825}`,rN=function(n){sN(n,"."+cm+nN+Yv+` 3826 .`+um+iN+Yv)},sN=function(n,t){var e=n.ownerDocument;if(e){var i=e.createElement("style");i.textContent=t,n.appendChild(i)}},gC=function(){function n(){}return n.getOrigin=function(t){var e=n._link;return e?(e.href=t,e.href=e.href,e.protocol+e.hostname+e.port):"about:blank"},n.isSameOrigin=function(t){return n.getOrigin(t)===n._origin},n.setContext=function(t){n._link=t.document.createElement("a"),n._origin=n.getOrigin(t.location.href)},n._origin="about:blank",n}(),AN=function(){function n(t,e){this.context=t,this._options=e,this._cache={}}return n.prototype.addImage=function(t){var e=Promise.resolve();return this.has(t)||(Ip(t)||cN(t))&&(this._cache[t]=this.loadImage(t)).catch(function(){}),e},n.prototype.match=function(t){return this._cache[t]},n.prototype.loadImage=function(t){return Hi(this,void 0,void 0,function(){var e,i,r,s,A=this;return bi(this,function(o){switch(o.label){case 0:return e=gC.isSameOrigin(t),i=!Tp(t)&&this._options.useCORS===!0&&hi.SUPPORT_CORS_IMAGES&&!e,r=!Tp(t)&&!e&&!Ip(t)&&typeof this._options.proxy=="string"&&hi.SUPPORT_CORS_XHR&&!i,!e&&this._options.allowTaint===!1&&!Tp(t)&&!Ip(t)&&!r&&!i?[2]:(s=t,r?[4,this.proxy(s)]:[3,2]);case 1:s=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+t.substring(0,256)),[4,new Promise(function(a,l){var c=new Image;c.onload=function(){return a(c)},c.onerror=l,(uN(s)||i)&&(c.crossOrigin="anonymous"),c.src=s,c.complete===!0&&setTimeout(function(){return a(c)},500),A._options.imageTimeout>0&&setTimeout(function(){return l("Timed out ("+A._options.imageTimeout+"ms) loading image")},A._options.imageTimeout)})];case 3:return[2,o.sent()]}})})},n.prototype.has=function(t){return typeof this._cache[t]<"u"},n.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},n.prototype.proxy=function(t){var e=this,i=this._options.proxy;if(!i)throw new Error("No proxy defined");var r=t.substring(0,256);return new Promise(function(s,A){var o=hi.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;a.onload=function(){if(a.status===200)if(o==="text")s(a.response);else{var u=new FileReader;u.addEventListener("load",function(){return s(u.result)},!1),u.addEventListener("error",function(f){return A(f)},!1),u.readAsDataURL(a.response)}else A("Failed to proxy resource "+r+" with status code "+a.status)},a.onerror=A;var l=i.indexOf("?")>-1?"&":"?";if(a.open("GET",""+i+l+"url="+encodeURIComponent(t)+"&responseType="+o),o!=="text"&&a instanceof XMLHttpRequest&&(a.responseType=o),e._options.imageTimeout){var c=e._options.imageTimeout;a.timeout=c,a.ontimeout=function(){return A("Timed out ("+c+"ms) proxying "+r)}}a.send()})},n}(),oN=/^data:image\/svg\+xml/i,aN=/^data:image\/.*;base64,/i,lN=/^data:image\/.*/i,cN=function(n){return hi.SUPPORT_SVG_DRAWING||!fN(n)},Tp=function(n){return lN.test(n)},uN=function(n){return aN.test(n)},Ip=function(n){return n.substr(0,4)==="blob"},fN=function(n){return n.substr(-3).toLowerCase()==="svg"||oN.test(n)},Oe=function(){function n(t,e){this.type=0,this.x=t,this.y=e}return n.prototype.add=function(t,e){return new n(this.x+t,this.y+e)},n}(),wa=function(n,t,e){return new Oe(n.x+(t.x-n.x)*e,n.y+(t.y-n.y)*e)},Xu=function(){function n(t,e,i,r){this.type=1,this.start=t,this.startControl=e,this.endControl=i,this.end=r}return n.prototype.subdivide=function(t,e){var i=wa(this.start,this.startControl,t),r=wa(this.startControl,this.endControl,t),s=wa(this.endControl,this.end,t),A=wa(i,r,t),o=wa(r,s,t),a=wa(A,o,t);return e?new n(this.start,i,A,a):new n(a,o,s,this.end)},n.prototype.add=function(t,e){return new n(this.start.add(t,e),this.startControl.add(t,e),this.endControl.add(t,e),this.end.add(t,e))},n.prototype.reverse=function(){return new n(this.end,this.endControl,this.startControl,this.start)},n}(),xr=function(n){return n.type===1},hN=function(){function n(t){var e=t.styles,i=t.bounds,r=Hl(e.borderTopLeftRadius,i.width,i.height),s=r[0],A=r[1],o=Hl(e.borderTopRightRadius,i.width,i.height),a=o[0],l=o[1],c=Hl(e.borderBottomRightRadius,i.width,i.height),u=c[0],f=c[1],m=Hl(e.borderBottomLeftRadius,i.width,i.height),y=m[0],h=m[1],g=[];g.push((s+a)/i.width),g.push((y+u)/i.width),g.push((A+h)/i.height),g.push((l+f)/i.height);var b=Math.max.apply(Math,g);b>1&&(s/=b,A/=b,a/=b,l/=b,u/=b,f/=b,y/=b,h/=b);var U=i.width-a,N=i.height-f,L=i.width-u,R=i.height-h,j=e.borderTopWidth,st=e.borderRightWidth,O=e.borderBottomWidth,V=e.borderLeftWidth,gt=En(e.paddingTop,t.bounds.width),Nt=En(e.paddingRight,t.bounds.width),Dt=En(e.paddingBottom,t.bounds.width),Et=En(e.paddingLeft,t.bounds.width);this.topLeftBorderDoubleOuterBox=s>0||A>0?In(i.left+V/3,i.top+j/3,s-V/3,A-j/3,vn.TOP_LEFT):new Oe(i.left+V/3,i.top+j/3),this.topRightBorderDoubleOuterBox=s>0||A>0?In(i.left+U,i.top+j/3,a-st/3,l-j/3,vn.TOP_RIGHT):new Oe(i.left+i.width-st/3,i.top+j/3),this.bottomRightBorderDoubleOuterBox=u>0||f>0?In(i.left+L,i.top+N,u-st/3,f-O/3,vn.BOTTOM_RIGHT):new Oe(i.left+i.width-st/3,i.top+i.height-O/3),this.bottomLeftBorderDoubleOuterBox=y>0||h>0?In(i.left+V/3,i.top+R,y-V/3,h-O/3,vn.BOTTOM_LEFT):new Oe(i.left+V/3,i.top+i.height-O/3),this.topLeftBorderDoubleInnerBox=s>0||A>0?In(i.left+V*2/3,i.top+j*2/3,s-V*2/3,A-j*2/3,vn.TOP_LEFT):new Oe(i.left+V*2/3,i.top+j*2/3),this.topRightBorderDoubleInnerBox=s>0||A>0?In(i.left+U,i.top+j*2/3,a-st*2/3,l-j*2/3,vn.TOP_RIGHT):new Oe(i.left+i.width-st*2/3,i.top+j*2/3),this.bottomRightBorderDoubleInnerBox=u>0||f>0?In(i.left+L,i.top+N,u-st*2/3,f-O*2/3,vn.BOTTOM_RIGHT):new Oe(i.left+i.width-st*2/3,i.top+i.height-O*2/3),this.bottomLeftBorderDoubleInnerBox=y>0||h>0?In(i.left+V*2/3,i.top+R,y-V*2/3,h-O*2/3,vn.BOTTOM_LEFT):new Oe(i.left+V*2/3,i.top+i.height-O*2/3),this.topLeftBorderStroke=s>0||A>0?In(i.left+V/2,i.top+j/2,s-V/2,A-j/2,vn.TOP_LEFT):new Oe(i.left+V/2,i.top+j/2),this.topRightBorderStroke=s>0||A>0?In(i.left+U,i.top+j/2,a-st/2,l-j/2,vn.TOP_RIGHT):new Oe(i.left+i.width-st/2,i.top+j/2),this.bottomRightBorderStroke=u>0||f>0?In(i.left+L,i.top+N,u-st/2,f-O/2,vn.BOTTOM_RIGHT):new Oe(i.left+i.width-st/2,i.top+i.height-O/2),this.bottomLeftBorderStroke=y>0||h>0?In(i.left+V/2,i.top+R,y-V/2,h-O/2,vn.BOTTOM_LEFT):new Oe(i.left+V/2,i.top+i.height-O/2),this.topLeftBorderBox=s>0||A>0?In(i.left,i.top,s,A,vn.TOP_LEFT):new Oe(i.left,i.top),this.topRightBorderBox=a>0||l>0?In(i.left+U,i.top,a,l,vn.TOP_RIGHT):new Oe(i.left+i.width,i.top),this.bottomRightBorderBox=u>0||f>0?In(i.left+L,i.top+N,u,f,vn.BOTTOM_RIGHT):new Oe(i.left+i.width,i.top+i.height),this.bottomLeftBorderBox=y>0||h>0?In(i.left,i.top+R,y,h,vn.BOTTOM_LEFT):new Oe(i.left,i.top+i.height),this.topLeftPaddingBox=s>0||A>0?In(i.left+V,i.top+j,Math.max(0,s-V),Math.max(0,A-j),vn.TOP_LEFT):new Oe(i.left+V,i.top+j),this.topRightPaddingBox=a>0||l>0?In(i.left+Math.min(U,i.width-st),i.top+j,U>i.width+st?0:Math.max(0,a-st),Math.max(0,l-j),vn.TOP_RIGHT):new Oe(i.left+i.width-st,i.top+j),this.bottomRightPaddingBox=u>0||f>0?In(i.left+Math.min(L,i.width-V),i.top+Math.min(N,i.height-O),Math.max(0,u-st),Math.max(0,f-O),vn.BOTTOM_RIGHT):new Oe(i.left+i.width-st,i.top+i.height-O),this.bottomLeftPaddingBox=y>0||h>0?In(i.left+V,i.top+Math.min(R,i.height-O),Math.max(0,y-V),Math.max(0,h-O),vn.BOTTOM_LEFT):new Oe(i.left+V,i.top+i.height-O),this.topLeftContentBox=s>0||A>0?In(i.left+V+Et,i.top+j+gt,Math.max(0,s-(V+Et)),Math.max(0,A-(j+gt)),vn.TOP_LEFT):new Oe(i.left+V+Et,i.top+j+gt),this.topRightContentBox=a>0||l>0?In(i.left+Math.min(U,i.width+V+Et),i.top+j+gt,U>i.width+V+Et?0:a-V+Et,l-(j+gt),vn.TOP_RIGHT):new Oe(i.left+i.width-(st+Nt),i.top+j+gt),this.bottomRightContentBox=u>0||f>0?In(i.left+Math.min(L,i.width-(V+Et)),i.top+Math.min(N,i.height+j+gt),Math.max(0,u-(st+Nt)),f-(O+Dt),vn.BOTTOM_RIGHT):new Oe(i.left+i.width-(st+Nt),i.top+i.height-(O+Dt)),this.bottomLeftContentBox=y>0||h>0?In(i.left+V+Et,i.top+R,Math.max(0,y-(V+Et)),h-(O+Dt),vn.BOTTOM_LEFT):new Oe(i.left+V+Et,i.top+i.height-(O+Dt))}return n}(),vn;(function(n){n[n.TOP_LEFT=0]="TOP_LEFT",n[n.TOP_RIGHT=1]="TOP_RIGHT",n[n.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",n[n.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(vn||(vn={}));var In=function(n,t,e,i,r){var s=4*((Math.sqrt(2)-1)/3),A=e*s,o=i*s,a=n+e,l=t+i;switch(r){case vn.TOP_LEFT:return new Xu(new Oe(n,l),new Oe(n,l-o),new Oe(a-A,t),new Oe(a,t));case vn.TOP_RIGHT:return new Xu(new Oe(n,t),new Oe(n+A,t),new Oe(a,l-o),new Oe(a,l));case vn.BOTTOM_RIGHT:return new Xu(new Oe(a,t),new Oe(a,t+o),new Oe(n+A,l),new Oe(n,l));case vn.BOTTOM_LEFT:default:return new Xu(new Oe(a,l),new Oe(a-A,l),new Oe(n,t+o),new Oe(n,t))}},Xf=function(n){return[n.topLeftBorderBox,n.topRightBorderBox,n.bottomRightBorderBox,n.bottomLeftBorderBox]},dN=function(n){return[n.topLeftContentBox,n.topRightContentBox,n.bottomRightContentBox,n.bottomLeftContentBox]},Yf=function(n){return[n.topLeftPaddingBox,n.topRightPaddingBox,n.bottomRightPaddingBox,n.bottomLeftPaddingBox]},pN=function(){function n(t,e,i){this.offsetX=t,this.offsetY=e,this.matrix=i,this.type=0,this.target=6}return n}(),Yu=function(){function n(t,e){this.path=t,this.target=e,this.type=1}return n}(),gN=function(){function n(t){this.opacity=t,this.type=2,this.target=6}return n}(),mN=function(n){return n.type===0},mC=function(n){return n.type===1},wN=function(n){return n.type===2},Jv=function(n,t){return n.length===t.length?n.some(function(e,i){return e===t[i]}):!1},vN=function(n,t,e,i,r){return n.map(function(s,A){switch(A){case 0:return s.add(t,e);case 1:return s.add(t+i,e);case 2:return s.add(t+i,e+r);case 3:return s.add(t,e+r)}return s})},wC=function(){function n(t){this.element=t,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return n}(),vC=function(){function n(t,e){if(this.container=t,this.parent=e,this.effects=[],this.curves=new hN(this.container),this.container.styles.opacity<1&&this.effects.push(new gN(this.container.styles.opacity)),this.container.styles.transform!==null){var i=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,s=this.container.styles.transform;this.effects.push(new pN(i,r,s))}if(this.container.styles.overflowX!==0){var A=Xf(this.curves),o=Yf(this.curves);Jv(A,o)?this.effects.push(new Yu(A,6)):(this.effects.push(new Yu(A,2)),this.effects.push(new Yu(o,4)))}}return n.prototype.getEffects=function(t){for(var e=[2,3].indexOf(this.container.styles.position)===-1,i=this.parent,r=this.effects.slice(0);i;){var s=i.effects.filter(function(a){return!mC(a)});if(e||i.container.styles.position!==0||!i.parent){if(r.unshift.apply(r,s),e=[2,3].indexOf(i.container.styles.position)===-1,i.container.styles.overflowX!==0){var A=Xf(i.curves),o=Yf(i.curves);Jv(A,o)||r.unshift(new Yu(o,6))}}else r.unshift.apply(r,s);i=i.parent}return r.filter(function(a){return Ai(a.target,t)})},n}
vendor: 6,258 bytes, line 3826
3826(),fm=function(n,t,e,i){n.container.elements.forEach(function(r){var s=Ai(r.flags,4),A=Ai(r.flags,2),o=new vC(r,n);Ai(r.styles.display,2048)&&i.push(o);var a=Ai(r.flags,8)?[]:i;if(s||A){var l=s||r.styles.isPositioned()?e:t,c=new wC(o);if(r.styles.isPositioned()||r.styles.opacity<1||r.styles.isTransformed()){var u=r.styles.zIndex.order;if(u<0){var f=0;l.negativeZIndex.some(function(y,h){return u>y.element.container.styles.zIndex.order?(f=h,!1):f>0}),l.negativeZIndex.splice(f,0,c)}else if(u>0){var m=0;l.positiveZIndex.some(function(y,h){return u>=y.element.container.styles.zIndex.order?(m=h+1,!1):m>0}),l.positiveZIndex.splice(m,0,c)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else r.styles.isFloating()?l.nonPositionedFloats.push(c):l.nonPositionedInlineLevel.push(c);fm(o,c,s?c:e,a)}else r.styles.isInlineLevel()?t.inlineLevel.push(o):t.nonInlineLevel.push(o),fm(o,t,e,a);Ai(r.flags,8)&&yC(r,a)})},yC=function(n,t){for(var e=n instanceof om?n.start:1,i=n instanceof om?n.reversed:!1,r=0;r<t.length;r++){var s=t[r];s.container instanceof iC&&typeof s.container.value=="number"&&s.container.value!==0&&(e=s.container.value),s.listValue=Mc(e,s.container.styles.listStyleType,!0),e+=i?-1:1}},yN=function(n){var t=new vC(n,null),e=new wC(t),i=[];return fm(t,e,e,i),yC(t.container,i),e},Zv=function(n,t){switch(t){case 0:return Mr(n.topLeftBorderBox,n.topLeftPaddingBox,n.topRightBorderBox,n.topRightPaddingBox);case 1:return Mr(n.topRightBorderBox,n.topRightPaddingBox,n.bottomRightBorderBox,n.bottomRightPaddingBox);case 2:return Mr(n.bottomRightBorderBox,n.bottomRightPaddingBox,n.bottomLeftBorderBox,n.bottomLeftPaddingBox);case 3:default:return Mr(n.bottomLeftBorderBox,n.bottomLeftPaddingBox,n.topLeftBorderBox,n.topLeftPaddingBox)}},BN=function(n,t){switch(t){case 0:return Mr(n.topLeftBorderBox,n.topLeftBorderDoubleOuterBox,n.topRightBorderBox,n.topRightBorderDoubleOuterBox);case 1:return Mr(n.topRightBorderBox,n.topRightBorderDoubleOuterBox,n.bottomRightBorderBox,n.bottomRightBorderDoubleOuterBox);case 2:return Mr(n.bottomRightBorderBox,n.bottomRightBorderDoubleOuterBox,n.bottomLeftBorderBox,n.bottomLeftBorderDoubleOuterBox);case 3:default:return Mr(n.bottomLeftBorderBox,n.bottomLeftBorderDoubleOuterBox,n.topLeftBorderBox,n.topLeftBorderDoubleOuterBox)}},_N=function(n,t){switch(t){case 0:return Mr(n.topLeftBorderDoubleInnerBox,n.topLeftPaddingBox,n.topRightBorderDoubleInnerBox,n.topRightPaddingBox);case 1:return Mr(n.topRightBorderDoubleInnerBox,n.topRightPaddingBox,n.bottomRightBorderDoubleInnerBox,n.bottomRightPaddingBox);case 2:return Mr(n.bottomRightBorderDoubleInnerBox,n.bottomRightPaddingBox,n.bottomLeftBorderDoubleInnerBox,n.bottomLeftPaddingBox);case 3:default:return Mr(n.bottomLeftBorderDoubleInnerBox,n.bottomLeftPaddingBox,n.topLeftBorderDoubleInnerBox,n.topLeftPaddingBox)}},xN=function(n,t){switch(t){case 0:return Ju(n.topLeftBorderStroke,n.topRightBorderStroke);case 1:return Ju(n.topRightBorderStroke,n.bottomRightBorderStroke);case 2:return Ju(n.bottomRightBorderStroke,n.bottomLeftBorderStroke);case 3:default:return Ju(n.bottomLeftBorderStroke,n.topLeftBorderStroke)}},Ju=function(n,t){var e=[];return xr(n)?e.push(n.subdivide(.5,!1)):e.push(n),xr(t)?e.push(t.subdivide(.5,!0)):e.push(t),e},Mr=function(n,t,e,i){var r=[];return xr(n)?r.push(n.subdivide(.5,!1)):r.push(n),xr(e)?r.push(e.subdivide(.5,!0)):r.push(e),xr(i)?r.push(i.subdivide(.5,!0).reverse()):r.push(i),xr(t)?r.push(t.subdivide(.5,!1).reverse()):r.push(t),r},BC=function(n){var t=n.bounds,e=n.styles;return t.add(e.borderLeftWidth,e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth),-(e.borderTopWidth+e.borderBottomWidth))},Jf=function(n){var t=n.styles,e=n.bounds,i=En(t.paddingLeft,e.width),r=En(t.paddingRight,e.width),s=En(t.paddingTop,e.width),A=En(t.paddingBottom,e.width);return e.add(i+t.borderLeftWidth,s+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+i+r),-(t.borderTopWidth+t.borderBottomWidth+s+A))},bN=function(n,t){return n===0?t.bounds:n===2?Jf(t):BC(t)},CN=function(n,t){return n===0?t.bounds:n===2?Jf(t):BC(t)},Qp=function(n,t,e){var i=bN(ba(n.styles.backgroundOrigin,t),n),r=CN(ba(n.styles.backgroundClip,t),n),s=SN(ba(n.styles.backgroundSize,t),e,i),A=s[0],o=s[1],a=Hl(ba(n.styles.backgroundPosition,t),i.width-A,i.height-o),l=FN(ba(n.styles.backgroundRepeat,t),a,s,i,r),c=Math.round(i.left+a[0]),u=Math.round(i.top+a[1]);return[l,c,u,A,o]},va=function(n){return bn(n)&&n.value===za.AUTO},Zu=function(n){return typeof n=="number"},SN=function(n,t,e){var i=t[0],r=t[1],s=t[2],A=n[0],o=n[1];if(!A)return[0,0];if(ei(A)&&o&&ei(o))return[En(A,e.width),En(o,e.height)];var a=Zu(s);if(bn(A)&&(A.value===za.CONTAIN||A.value===za.COVER)){if(Zu(s)){var l=e.width/e.height;return l<s!=(A.value===za.COVER)?[e.width,e.width/s]:[e.height*s,e.height]}return[e.width,e.height]}var c=Zu(i),u=Zu(r),f=c||u;if(va(A)&&(!o||va(o))){if(c&&u)return[i,r];if(!a&&!f)return[e.width,e.height];if(f&&a){var m=c?i:r*s,y=u?r:i/s;return[m,y]}var h=c?i:e.width,g=u?r:e.height;return[h,g]}if(a){var b=0,U=0;return ei(A)?b=En(A,e.width):ei(o)&&(U=En(o,e.height)),va(A)?b=U*s:(!o||va(o))&&(U=b/s),[b,U]}var N=null,L=null;if(ei(A)?N=En(A,e.width):o&&ei(o)&&(L=En(o,e.height)),N!==null&&(!o||va(o))&&(L=c&&u?N/i*r:e.height),L!==null&&va(A)&&(N=c&&u?L/r*i:e.width),N!==null&&L!==null)return[N,L];throw new Error("Unable to calculate background-size for element")},ba=function(n,t){var e=n[t];return typeof e>"u"?n[0]:e},FN=function(n,t,e,i,r){var s=t[0],A=t[1],o=e[0],a=e[1];switch(n){case 2:return[new Oe(Math.round(i.left),Math.round(i.top+A)),new Oe(Math.round(i.left+i.width),Math.round(i.top+A)),new Oe(Math.round(i.left+i.width),Math.round(a+i.top+A)),new Oe(Math.round(i.left),Math.round(a+i.top+A))];case 3:return[new Oe(Math.round(i.left+s),Math.round(i.top)),new Oe(Math.round(i.left+s+o),Math.round(i.top)),new Oe(Math.round(i.left+s+o),Math.round(i.height+i.top)),new Oe(Math.round(i.left+s),Math.round(i.height+i.top))];case 1:return[new Oe(Math.round(i.left+s),Math.round(i.top+A)),new Oe(Math.round(i.left+s+o),Math.round(i.top+A)),new Oe(Math.round(i.left+s+o),Math.round(i.top+A+a)),new Oe(Math.round(i.left+s),Math.round(i.top+A+a))];default:return[new Oe(Math.round(r.left),Math.round(r.top)),new Oe(Math.round(r.left+r.
vendor: 4,287 bytes, line 3826
3826width),Math.round(r.top)),new Oe(Math.round(r.left+r.width),Math.round(r.height+r.top)),new Oe(Math.round(r.left),Math.round(r.height+r.top))]}},EN="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",$v="Hidden Text",MN=function(){function n(t){this._data={},this._document=t}return n.prototype.parseMetrics=function(t,e){var i=this._document.createElement("div"),r=this._document.createElement("img"),s=this._document.createElement("span"),A=this._document.body;i.style.visibility="hidden",i.style.fontFamily=t,i.style.fontSize=e,i.style.margin="0",i.style.padding="0",i.style.whiteSpace="nowrap",A.appendChild(i),r.src=EN,r.width=1,r.height=1,r.style.margin="0",r.style.padding="0",r.style.verticalAlign="baseline",s.style.fontFamily=t,s.style.fontSize=e,s.style.margin="0",s.style.padding="0",s.appendChild(this._document.createTextNode($v)),i.appendChild(s),i.appendChild(r);var o=r.offsetTop-s.offsetTop+2;i.removeChild(s),i.appendChild(this._document.createTextNode($v)),i.style.lineHeight="normal",r.style.verticalAlign="super";var a=r.offsetTop-i.offsetTop+2;return A.removeChild(i),{baseline:o,middle:a}},n.prototype.getMetrics=function(t,e){var i=t+" "+e;return typeof this._data[i]>"u"&&(this._data[i]=this.parseMetrics(t,e)),this._data[i]},n}(),_C=function(){function n(t,e){this.context=t,this.options=e}return n}(),UN=1e4,TN=function(n){ts(t,n);function t(e,i){var r=n.call(this,e,i)||this;return r._activeEffects=[],r.canvas=i.canvas?i.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),i.canvas||(r.canvas.width=Math.floor(i.width*i.scale),r.canvas.height=Math.floor(i.height*i.scale),r.canvas.style.width=i.width+"px",r.canvas.style.height=i.height+"px"),r.fontMetrics=new MN(document),r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-i.x,-i.y),r.ctx.textBaseline="bottom",r._activeEffects=[],r.context.logger.debug("Canvas renderer initialized ("+i.width+"x"+i.height+") with scale "+i.scale),r}return t.prototype.applyEffects=function(e){for(var i=this;this._activeEffects.length;)this.popEffect();e.forEach(function(r){return i.applyEffect(r)})},t.prototype.applyEffect=function(e){this.ctx.save(),wN(e)&&(this.ctx.globalAlpha=e.opacity),mN(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),mC(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},t.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},t.prototype.renderStack=function(e){return Hi(this,void 0,void 0,function(){var i;return bi(this,function(r){switch(r.label){case 0:return i=e.element.container.styles,i.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}})})},t.prototype.renderNode=function(e){return Hi(this,void 0,void 0,function(){return bi(this,function(i){switch(i.label){case 0:if(Ai(e.container.flags,16))debugger;return e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return i.sent(),[4,this.renderNodeContent(e)];case 2:i.sent(),i.label=3;case 3:return[2]}})})},t.prototype.renderTextWithLetterSpacing=function(e,i,r){var s=this;if(i===0)this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+r);else{var A=F0(e.text);A.reduce(function(o,a){return s.ctx.fillText(a,o,e.bounds.top+r),o+s.ctx.measureText(a).width},e.bounds.left)}},t.prototype.createFontStyle=function(e){var i=e.fontVariant.filter(function(A){return A==="normal"||A==="small-caps"}).join(""),r=DN(e.fontFamily).join(", "),s=Kc(e.fontSize)?""+e.fontSize.number+e.fontSize.unit:e.fontSize.number+"px";return[[e.fontStyle,i,e.fontWeight,s,r].join(" "),r,s]},t.prototype.renderTextNode=function(e,i){return Hi(this,void 0,void 0,function(){var r,s,A,o,a,l,c,u,f=this;return bi(this,function(m){return r=this.createFontStyle(i),s=r[0],A=r[1],o=r[2],this.ctx.font=s,this.ctx.direction=i.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",a=this.fontMetrics.getMetrics(A,o),l=a.baseline,c=a.middle,u=i.paintOrder,e.textBounds.forEach(function(y){u.forEach(function(h){switch(h){case 0:f.ctx.fillStyle=ci(i.color),f.renderTextWithLetterSpacing(y,i.letterSpacing,l);var g=i.textShadow;
vendor: 5,334 bytes, line 3826
3826g.length&&y.text.trim().length&&(g.slice(0).reverse().forEach(function(b){f.ctx.shadowColor=ci(b.color),f.ctx.shadowOffsetX=b.offsetX.number*f.options.scale,f.ctx.shadowOffsetY=b.offsetY.number*f.options.scale,f.ctx.shadowBlur=b.blur.number,f.renderTextWithLetterSpacing(y,i.letterSpacing,l)}),f.ctx.shadowColor="",f.ctx.shadowOffsetX=0,f.ctx.shadowOffsetY=0,f.ctx.shadowBlur=0),i.textDecorationLine.length&&(f.ctx.fillStyle=ci(i.textDecorationColor||i.color),i.textDecorationLine.forEach(function(b){switch(b){case 1:f.ctx.fillRect(y.bounds.left,Math.round(y.bounds.top+l),y.bounds.width,1);break;case 2:f.ctx.fillRect(y.bounds.left,Math.round(y.bounds.top),y.bounds.width,1);break;case 3:f.ctx.fillRect(y.bounds.left,Math.ceil(y.bounds.top+c),y.bounds.width,1);break}}));break;case 1:i.webkitTextStrokeWidth&&y.text.trim().length&&(f.ctx.strokeStyle=ci(i.webkitTextStrokeColor),f.ctx.lineWidth=i.webkitTextStrokeWidth,f.ctx.lineJoin=window.chrome?"miter":"round",f.ctx.strokeText(y.text,y.bounds.left,y.bounds.top+l)),f.ctx.strokeStyle="",f.ctx.lineWidth=0,f.ctx.lineJoin="miter";break}})}),[2]})})},t.prototype.renderReplacedElement=function(e,i,r){if(r&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var s=Jf(e),A=Yf(i);this.path(A),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(r,0,0,e.intrinsicWidth,e.intrinsicHeight,s.left,s.top,s.width,s.height),this.ctx.restore()}},t.prototype.renderNodeContent=function(e){return Hi(this,void 0,void 0,function(){var i,r,s,A,o,a,U,U,l,c,u,f,L,m,y,R,h,g,b,U,N,L,R;return bi(this,function(j){switch(j.label){case 0:this.applyEffects(e.getEffects(4)),i=e.container,r=e.curves,s=i.styles,A=0,o=i.textNodes,j.label=1;case 1:return A<o.length?(a=o[A],[4,this.renderTextNode(a,s)]):[3,4];case 2:j.sent(),j.label=3;case 3:return A++,[3,1];case 4:if(!(i instanceof tC))return[3,8];j.label=5;case 5:return j.trys.push([5,7,,8]),[4,this.context.cache.match(i.src)];case 6:return U=j.sent(),this.renderReplacedElement(i,r,U),[3,8];case 7:return j.sent(),this.context.logger.error("Error loading image "+i.src),[3,8];case 8:if(i instanceof eC&&this.renderReplacedElement(i,r,i.canvas),!(i instanceof nC))return[3,12];j.label=9;case 9:return j.trys.push([9,11,,12]),[4,this.context.cache.match(i.svg)];case 10:return U=j.sent(),this.renderReplacedElement(i,r,U),[3,12];case 11:return j.sent(),this.context.logger.error("Error loading svg "+i.svg.substring(0,255)),[3,12];case 12:return i instanceof AC&&i.tree?(l=new t(this.context,{scale:this.options.scale,backgroundColor:i.backgroundColor,x:0,y:0,width:i.width,height:i.height}),[4,l.render(i.tree)]):[3,14];case 13:c=j.sent(),i.width&&i.height&&this.ctx.drawImage(c,0,0,i.width,i.height,i.bounds.left,i.bounds.top,i.bounds.width,i.bounds.height),j.label=14;case 14:if(i instanceof E0&&(u=Math.min(i.bounds.width,i.bounds.height),i.type===Kf?i.checked&&(this.ctx.save(),this.path([new Oe(i.bounds.left+u*.39363,i.bounds.top+u*.79),new Oe(i.bounds.left+u*.16,i.bounds.top+u*.5549),new Oe(i.bounds.left+u*.27347,i.bounds.top+u*.44071),new Oe(i.bounds.left+u*.39694,i.bounds.top+u*.5649),new Oe(i.bounds.left+u*.72983,i.bounds.top+u*.23),new Oe(i.bounds.left+u*.84,i.bounds.top+u*.34085),new Oe(i.bounds.left+u*.39363,i.bounds.top+u*.79)]),this.ctx.fillStyle=ci(kv),this.ctx.fill(),this.ctx.restore()):i.type===Wf&&i.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(i.bounds.left+u/2,i.bounds.top+u/2,u/4,0,Math.PI*2,!0),this.ctx.fillStyle=ci(kv),this.ctx.fill(),this.ctx.restore())),IN(i)&&i.value.length){switch(f=this.createFontStyle(s),L=f[0],m=f[1],y=this.fontMetrics.getMetrics(L,m).baseline,this.ctx.font=L,this.ctx.fillStyle=ci(s.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=LN(i.styles.textAlign),R=Jf(i),h=0,i.styles.textAlign){case 1:h+=R.width/2;break;case 2:h+=R.width;break}g=R.add(h,0,0,-R.height/2+1),this.ctx.save(),this.path([new Oe(R.left,R.top),new Oe(R.left+R.width,R.top),new Oe(R.left+R.width,R.top+R.height),new Oe(R.left,R.top+R.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Ac(i.value,g),s.letterSpacing,y),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Ai(i.styles.display,2048))return[3,20];if(i.styles.listStyleImage===null)return[3,19];if(b=i.styles.listStyleImage,b.type!==0)return[3,18];U=void 0,N=b.url,j.label=15;case 15:return j.trys.push([15,17,,18]),[4,this.context.cache.match(N)];case 16:return U=j.sent(),this.ctx.drawImage(U,i.bounds.left-(U.width+10),i.bounds.top),[3,18];case 17:return j.sent(),this.context.logger.error("Error loading list-style-image "+N),[3,18];case 18:return[3,20];case 19:e.listValue&&i.styles.listStyleType!==-1&&(L=this.createFontStyle(s)[0],this.ctx.font=L,this.ctx.fillStyle=ci(s.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",R=new Js(i.bounds.left,i.bounds.top+En(i.styles.paddingTop,i.bounds.width),i.bounds.width,_v(s.lineHeight,s.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Ac(e.listValue,R),s.letterSpacing,_v(s.lineHeight,s.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),j.label=20;case 20:return[2]}})})},t.prototype.renderStackContent=function(e){return Hi(this,void 0,void 0,function(){var i,r,b,s,A,b,o,a,b,l,c,b,u,f,b,m,y,b,h,g,b;return bi(this,function(U){switch(U.label){case 0:if(Ai(e.element.container.flags,16))debugger;
vendor: 4,251 bytes, line 3826
3826return[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:U.sent(),i=0,r=e.negativeZIndex,U.label=2;case 2:return i<r.length?(b=r[i],[4,this.renderStack(b)]):[3,5];case 3:U.sent(),U.label=4;case 4:return i++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:U.sent(),s=0,A=e.nonInlineLevel,U.label=7;case 7:return s<A.length?(b=A[s],[4,this.renderNode(b)]):[3,10];case 8:U.sent(),U.label=9;case 9:return s++,[3,7];case 10:o=0,a=e.nonPositionedFloats,U.label=11;case 11:return o<a.length?(b=a[o],[4,this.renderStack(b)]):[3,14];case 12:U.sent(),U.label=13;case 13:return o++,[3,11];case 14:l=0,c=e.nonPositionedInlineLevel,U.label=15;case 15:return l<c.length?(b=c[l],[4,this.renderStack(b)]):[3,18];case 16:U.sent(),U.label=17;case 17:return l++,[3,15];case 18:u=0,f=e.inlineLevel,U.label=19;case 19:return u<f.length?(b=f[u],[4,this.renderNode(b)]):[3,22];case 20:U.sent(),U.label=21;case 21:return u++,[3,19];case 22:m=0,y=e.zeroOrAutoZIndexOrTransformedOrOpacity,U.label=23;case 23:return m<y.length?(b=y[m],[4,this.renderStack(b)]):[3,26];case 24:U.sent(),U.label=25;case 25:return m++,[3,23];case 26:h=0,g=e.positiveZIndex,U.label=27;case 27:return h<g.length?(b=g[h],[4,this.renderStack(b)]):[3,30];case 28:U.sent(),U.label=29;case 29:return h++,[3,27];case 30:return[2]}})})},t.prototype.mask=function(e){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(e.slice(0).reverse()),this.ctx.closePath()},t.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},t.prototype.formatPath=function(e){var i=this;e.forEach(function(r,s){var A=xr(r)?r.start:r;s===0?i.ctx.moveTo(A.x,A.y):i.ctx.lineTo(A.x,A.y),xr(r)&&i.ctx.bezierCurveTo(r.startControl.x,r.startControl.y,r.endControl.x,r.endControl.y,r.end.x,r.end.y)})},t.prototype.renderRepeat=function(e,i,r,s){this.path(e),this.ctx.fillStyle=i,this.ctx.translate(r,s),this.ctx.fill(),this.ctx.translate(-r,-s)},t.prototype.resizeImage=function(e,i,r){var s;if(e.width===i&&e.height===r)return e;var A=(s=this.canvas.ownerDocument)!==null&&s!==void 0?s:document,o=A.createElement("canvas");o.width=Math.max(1,i),o.height=Math.max(1,r);var a=o.getContext("2d");return a.drawImage(e,0,0,e.width,e.height,0,0,i,r),o},t.prototype.renderBackgroundImage=function(e){return Hi(this,void 0,void 0,function(){var i,r,s,A,o,a;return bi(this,function(l){switch(l.label){case 0:i=e.styles.backgroundImage.length-1,r=function(c){var u,f,m,gt,jt,Gt,Et,xt,O,y,gt,jt,Gt,Et,xt,h,g,b,U,N,L,R,j,st,O,V,gt,Nt,Dt,Et,xt,Xt,jt,Gt,Wt,kt,Vt,we,oe,Be,Ue,zt;return bi(this,function(Ht){switch(Ht.label){case 0:if(c.type!==0)return[3,5];u=void 0,f=c.url,Ht.label=1;case 1:return Ht.trys.push([1,3,,4]),[4,s.context.cache.match(f)];case 2:return u=Ht.sent(),[3,4];case 3:return Ht.sent(),s.context.logger.error("Error loading background-image "+f),[3,4];case 4:return u&&(m=Qp(e,i,[u.width,u.height,u.width/u.height]),gt=m[0],jt=m[1],Gt=m[2],Et=m[3],xt=m[4],O=s.ctx.createPattern(s.resizeImage(u,Et,xt),"repeat"),s.renderRepeat(gt,O,jt,Gt)),[3,6];case 5:m7(c)?(y=Qp(e,i,[null,null,null]),gt=y[0],jt=y[1],Gt=y[2],Et=y[3],xt=y[4],h=f7(c.angle,Et,xt),g=h[0],b=h[1],U=h[2],N=h[3],L=h[4],R=document.createElement("canvas"),R.width=Et,R.height=xt,j=R.getContext("2d"),st=j.createLinearGradient(b,N,U,L),yv(c.stops,g).forEach(function(re){return st.addColorStop(re.stop,ci(re.color))}),j.fillStyle=st,j.fillRect(0,0,Et,xt),Et>0&&xt>0&&(O=s.ctx.createPattern(R,"repeat"),s.renderRepeat(gt,O,jt,Gt))):w7(c)&&(V=Qp(e,i,[null,null,null]),gt=V[0],Nt=V[1],Dt=V[2],Et=V[3],xt=V[4],Xt=c.position.length===0?[b0]:c.position,jt=En(Xt[0],Et),Gt=En(Xt[Xt.length-1],xt),Wt=h7(c,jt,Gt,Et,xt),kt=Wt[0],Vt=Wt[1],kt>0&&Vt>0&&(we=s.ctx.createRadialGradient(Nt+jt,Dt+Gt,0,Nt+jt,Dt+Gt,kt),yv(c.stops,kt*2).forEach(function(re){return we.addColorStop(re.stop,ci(re.color))}),s.path(gt),s.ctx.fillStyle=we,kt!==Vt?(oe=e.bounds.left+.5*e.bounds.width,Be=e.bounds.top+.5*e.bounds.height,Ue=Vt/kt,zt=1/Ue,s.ctx.save(),s.ctx.translate(oe,Be),s.ctx.transform(1,0,0,Ue,0,0),s.ctx.translate(-oe,-Be),s.ctx.fillRect(Nt,zt*(Dt-Be)+Be,Et,xt*zt),s.ctx.restore(
vendor: 9,607 bytes, line 3826
3826)):s.ctx.fill())),Ht.label=6;case 6:return i--,[2]}})},s=this,A=0,o=e.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return A<o.length?(a=o[A],[5,r(a)]):[3,4];case 2:l.sent(),l.label=3;case 3:return A++,[3,1];case 4:return[2]}})})},t.prototype.renderSolidBorder=function(e,i,r){return Hi(this,void 0,void 0,function(){return bi(this,function(s){return this.path(Zv(r,i)),this.ctx.fillStyle=ci(e),this.ctx.fill(),[2]})})},t.prototype.renderDoubleBorder=function(e,i,r,s){return Hi(this,void 0,void 0,function(){var A,o;return bi(this,function(a){switch(a.label){case 0:return i<3?[4,this.renderSolidBorder(e,r,s)]:[3,2];case 1:return a.sent(),[2];case 2:return A=BN(s,r),this.path(A),this.ctx.fillStyle=ci(e),this.ctx.fill(),o=_N(s,r),this.path(o),this.ctx.fill(),[2]}})})},t.prototype.renderNodeBackgroundAndBorders=function(e){return Hi(this,void 0,void 0,function(){var i,r,s,A,o,a,l,c,u=this;return bi(this,function(f){switch(f.label){case 0:return this.applyEffects(e.getEffects(2)),i=e.container.styles,r=!DA(i.backgroundColor)||i.backgroundImage.length,s=[{style:i.borderTopStyle,color:i.borderTopColor,width:i.borderTopWidth},{style:i.borderRightStyle,color:i.borderRightColor,width:i.borderRightWidth},{style:i.borderBottomStyle,color:i.borderBottomColor,width:i.borderBottomWidth},{style:i.borderLeftStyle,color:i.borderLeftColor,width:i.borderLeftWidth}],A=QN(ba(i.backgroundClip,0),e.curves),r||i.boxShadow.length?(this.ctx.save(),this.path(A),this.ctx.clip(),DA(i.backgroundColor)||(this.ctx.fillStyle=ci(i.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:f.sent(),this.ctx.restore(),i.boxShadow.slice(0).reverse().forEach(function(m){u.ctx.save();var y=Xf(e.curves),h=m.inset?0:UN,g=vN(y,-h+(m.inset?1:-1)*m.spread.number,(m.inset?1:-1)*m.spread.number,m.spread.number*(m.inset?-2:2),m.spread.number*(m.inset?-2:2));m.inset?(u.path(y),u.ctx.clip(),u.mask(g)):(u.mask(y),u.ctx.clip(),u.path(g)),u.ctx.shadowOffsetX=m.offsetX.number+h,u.ctx.shadowOffsetY=m.offsetY.number,u.ctx.shadowColor=ci(m.color),u.ctx.shadowBlur=m.blur.number,u.ctx.fillStyle=m.inset?ci(m.color):"rgba(0,0,0,1)",u.ctx.fill(),u.ctx.restore()}),f.label=2;case 2:o=0,a=0,l=s,f.label=3;case 3:return a<l.length?(c=l[a],c.style!==0&&!DA(c.color)&&c.width>0?c.style!==2?[3,5]:[4,this.renderDashedDottedBorder(c.color,c.width,o,e.curves,2)]:[3,11]):[3,13];case 4:return f.sent(),[3,11];case 5:return c.style!==3?[3,7]:[4,this.renderDashedDottedBorder(c.color,c.width,o,e.curves,3)];case 6:return f.sent(),[3,11];case 7:return c.style!==4?[3,9]:[4,this.renderDoubleBorder(c.color,c.width,o,e.curves)];case 8:return f.sent(),[3,11];case 9:return[4,this.renderSolidBorder(c.color,o,e.curves)];case 10:f.sent(),f.label=11;case 11:o++,f.label=12;case 12:return a++,[3,3];case 13:return[2]}})})},t.prototype.renderDashedDottedBorder=function(e,i,r,s,A){return Hi(this,void 0,void 0,function(){var o,a,l,c,u,f,m,y,h,g,b,U,N,L,R,j,R,j;return bi(this,function(st){return this.ctx.save(),o=xN(s,r),a=Zv(s,r),A===2&&(this.path(a),this.ctx.clip()),xr(a[0])?(l=a[0].start.x,c=a[0].start.y):(l=a[0].x,c=a[0].y),xr(a[1])?(u=a[1].end.x,f=a[1].end.y):(u=a[1].x,f=a[1].y),r===0||r===2?m=Math.abs(l-u):m=Math.abs(c-f),this.ctx.beginPath(),A===3?this.formatPath(o):this.formatPath(a.slice(0,2)),y=i<3?i*3:i*2,h=i<3?i*2:i,A===3&&(y=i,h=i),g=!0,m<=y*2?g=!1:m<=y*2+h?(b=m/(2*y+h),y*=b,h*=b):(U=Math.floor((m+h)/(y+h)),N=(m-U*y)/(U-1),L=(m-(U+1)*y)/U,h=L<=0||Math.abs(h-N)<Math.abs(h-L)?N:L),g&&(A===3?this.ctx.setLineDash([0,y+h]):this.ctx.setLineDash([y,h])),A===3?(this.ctx.lineCap="round",this.ctx.lineWidth=i):this.ctx.lineWidth=i*2+1.1,this.ctx.strokeStyle=ci(e),this.ctx.stroke(),this.ctx.setLineDash([]),A===2&&(xr(a[0])&&(R=a[3],j=a[0],this.ctx.beginPath(),this.formatPath([new Oe(R.end.x,R.end.y),new Oe(j.start.x,j.start.y)]),this.ctx.stroke()),xr(a[1])&&(R=a[1],j=a[2],this.ctx.beginPath(),this.formatPath([new Oe(R.end.x,R.end.y),new Oe(j.start.x,j.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},t.prototype.render=function(e){return Hi(this,void 0,void 0,function(){var i;return bi(this,function(r){switch(r.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=ci(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),i=yN(e),[4,this.renderStack(i)];case 1:return r.sent(),this.applyEffects([]),[2,this.canvas]}})})},t}(_C),IN=function(n){return n instanceof sC||n instanceof rC?!0:n instanceof E0&&n.type!==Wf&&n.type!==Kf},QN=function(n,t){switch(n){case 0:return Xf(t);case 2:return dN(t);case 1:default:return Yf(t)}},LN=function(n){switch(n){case 1:return"center";case 2:return"right";case 0:default:return"left"}},PN=["-apple-system","system-ui"],DN=function(n){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?n.filter(function(t){return PN.indexOf(t)===-1}):n},RN=function(n){ts(t,n);function t(e,i){var r=n.call(this,e,i)||this;return r.canvas=i.canvas?i.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),r.options=i,r.canvas.width=Math.floor(i.width*i.scale),r.canvas.height=Math.floor(i.height*i.scale),r.canvas.style.width=i.width+"px",r.canvas.style.height=i.height+"px",r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-i.x,-i.y),r.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+i.width+"x"+i.height+" at "+i.x+","+i.y+") with scale "+i.scale),r}return t.prototype.render=function(e){return Hi(this,void 0,void 0,function(){var i,r;return bi(this,function(s){switch(s.label){case 0:return i=Am(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,e),[4,ON(i)];case 1:return r=s.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=ci(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(r,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},t}(_C),ON=function(n){return new Promise(function(t,e){var i=new Image;i.onload=function(){t(i)},i.onerror=e,i.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(n))})},HN=function(){function n(t){var e=t.id,i=t.enabled;this.id=e,this.enabled=i,this.start=Date.now()}return n.prototype.debug=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,Uu([this.id,this.getTime()+"ms"],t)):this.info.apply(this,t))},n.prototype.getTime=function(){return Date.now()-this.start},n.prototype.info=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,Uu([this.id,this.getTime()+"ms"],t))},n.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,Uu([this.id,this.getTime()+"ms"],t)):this.info.apply(this,t))},n.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,Uu([this.id,this.getTime()+"ms"],t)):this.info.apply(this,t))},n.instances={},n}(),kN=function(){function n(t,e){var i;this.windowBounds=e,this.instanceName="#"+n.instanceCount++,this.logger=new HN({id:this.instanceName,enabled:t.logging}),this.cache=(i=t.cache)!==null&&i!==void 0?i:new AN(this,t)}return n.instanceCount=1,n}(),NN=function(n,t){return t===void 0&&(t={}),zN(n,t)};typeof window<"u"&&gC.setContext(window);var zN=function(n,t){return Hi(void 0,void 0,void 0,function(){var e,i,r,s,A,o,a,l,c,u,f,m,y,h,g,b,U,N,L,R,st,j,st,O,V,gt,Nt,Dt,Et,xt,Xt,jt,Gt,Wt,kt,Vt,we,oe,Be,Ue;return bi(this,function(zt){switch(zt.label){case 0:if(!n||typeof n!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(e=n.ownerDocument,!e)throw new Error("Element is not attached to a Document");if(i=e.defaultView,!i)throw new Error("Document is not attached to a Window");return r={allowTaint:(O=t.allowTaint)!==null&&O!==void 0?O:!1,imageTimeout:(V=t.imageTimeout)!==null&&V!==void 0?V:15e3,proxy:t.proxy,useCORS:(gt=t.useCORS)!==null&>!==void 0?gt:!1},s=Kg({logging:(Nt=t.logging)!==null&&Nt!==void 0?Nt:!0,cache:t.cache},r),A={windowWidth:(Dt=t.windowWidth)!==null&&Dt!==void 0?Dt:i.innerWidth,windowHeight:(Et=t.windowHeight)!==null&&Et!==void 0?Et:i.innerHeight,scrollX:(xt=t.scrollX)!==null&&xt!==void 0?xt:i.pageXOffset,scrollY:(Xt=t.scrollY)!==null&&Xt!==void 0?Xt:i.pageYOffset},o=new Js(A.scrollX,A.scrollY,A.windowWidth,A.windowHeight),a=new kN(s,o),l=(jt=t.foreignObjectRendering)!==null&&jt!==void 0?jt:!1,c={allowTaint:(Gt=t.allowTaint)!==null&&Gt!==void 0?Gt:!1,onclone:t.onclone,ignoreElements:t.ignoreElements,inlineImages:l,copyStyles:l},a.logger.debug("Starting document clone with size "+o.width+"x"+o.height+" scrolled to "+-o.left+","+-o.top),u=new Xv(a,n,c),f=u.clonedReferenceElement,f?[4,u.toIFrame(e,o)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return m=zt.sent(),y=M0(f)||Vk(f)?vO(f.ownerDocument):Rh(a,f),h=y.width,g=y.height,b=y.left,U=y.top,N=VN(a,f,t.backgroundColor),L={canvas:t.canvas,backgroundColor:N,scale:(kt=(Wt=t.scale)!==null&&Wt!==void 0?Wt:i.devicePixelRatio)!==null&&kt!==void 0?kt:1,x:((Vt=t.x)!==null&&Vt!==void 0?Vt:0)+b,y:((we=t.y
3826)!==null&&we!==void 0?we:0)+U,width:(oe=t.width)!==null&&oe!==void 0?oe:Math.ceil(h),height:(Be=t.height)!==null&&Be!==void 0?Be:Math.ceil(g)},l?(a.logger.debug("Document cloned, using foreign object rendering"),st=new RN(a,L),[4,st.render(f)]):[3,3];case 2:return R=zt.sent(),[3,5];case 3:return a.logger.debug("Document cloned, element located at "+b+","+U+" with size "+h+"x"+g+" using computed rendering"),a.logger.debug("Starting DOM parsing"),j=aC(a,f),N===j.styles.backgroundColor&&(j.styles.backgroundColor=zs.TRANSPARENT),a.logger.debug("Starting renderer for element at "+L.x+","+L.y+" with size "+L.width+"x"+L.height),st=new TN(a,L),[4,st.render(j)];case 4:R=zt.sent(),zt.label=5;case 5:return(!((Ue=t.removeContainer)!==null&&Ue!==void 0)||Ue)&&(Xv.destroy(m)||a.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),a.logger.debug("Finished rendering"),[2,R]}})})},VN=function(n,t,e){var i=t.ownerDocument,r=i.documentElement?rc(n,getComputedStyle(i.documentElement).backgroundColor):zs.TRANSPARENT,s=i.body?rc(n,getComputedStyle(i.body).backgroundColor):zs.TRANSPARENT,A=typeof e=="string"?rc(n,e):e===null?zs.TRANSPARENT:4294967295;return t===i.documentElement?DA(r)?DA(s)?A:s:r:A},xC=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},U0=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i])}return n},qh=function(n){var t=typeof n>"u"?"undefined":xC(n);return t==="undefined"?"undefined":t==="string"||n instanceof String?"string":t==="number"||n instanceof Number?"number":t==="function"||n instanceof Function?"function":n&&n.constructor===Array?"array":n&&n.nodeType===1?"element":t==="object"?"object":"unknown"},Uc=function(n,t){var e=document.createElement(n);if(t.className&&(e.className=t.className),t.innerHTML){e.innerHTML=t.innerHTML;for(var i=e.getElementsByTagName("script"),r=i.length;r-- >0;null)i[r].parentNode.removeChild(i[r])}for(var s in t.style)e.style[s]=t.style[s];return e},GN=function n(t,e){for(var i=t.nodeType===3?document.createTextNode(t.nodeValue):t.cloneNode(!1),r=t.firstChild;r;r=r.nextSibling)(e===!0||r.nodeType!==1||r.nodeName!=="SCRIPT")&&i.appendChild(n(r,e));return t.nodeType===1&&(t.nodeName==="CANVAS"?(i.width=t.width,i.height=t.height,i.getContext("2d").drawImage(t,0,0)):(t.nodeName==="TEXTAREA"||t.nodeName==="SELECT")&&(i.value=t.value),i.addEventListener("load",function(){i.scrollTop=t.scrollTop,i.scrollLeft=t.scrollLeft},!0)),i},ty=function(n,t){if(qh(n)==="number")return n*72/96/t;var e={};for(var i in n)e[i]=n[i]*72/96/t;return e},ey=function(n,t){return Math.floor(n*t/72*96)},Lp=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function KN(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function WN(n,t){return t={exports:{}},n(t,t.exports),t.exports}var qN=WN(function(n,t){/*! 3827 * @overview es6-promise - a tiny implementation of Promises/A+. 3828 * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) 3829 * @license Licensed under MIT license 3830 * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE 3831 * @version v4.2.5+7f2b526d 3832 */(function(e,i){n.exports=i()})(Lp,function(){function e(pt){var Ft=typeof pt;return pt!==null&&(Ft==="object"||Ft==="function")}function i(pt){return typeof pt=="function"}var r=void 0;Array.isArray?r=Array.isArray:r=function(pt){return Object.prototype.toString.call(pt)==="[object Array]"};var s=r,A=0,o=void 0,a=void 0,l=function(pt,Ft){j[A]=pt,j[A+1]=Ft,A+=2,A===2&&(a?a(st):V())};function c(pt){a=pt}function u(pt){l=pt}var f=typeof window<"u"?window:void 0,m=f||{},y=m.MutationObserver||m.WebKitMutationObserver,h=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",g=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function b(){return function(){return process.nextTick(st)}}function U(){return typeof o<"u"?function(){o(st)}:R()}function N(){var pt=0,Ft=new y(st),te=document.createTextNode("");return Ft.observe(te,{characterData:!0}
3832),function(){te.data=pt=++pt%2}}function L(){var pt=new MessageChannel;return pt.port1.onmessage=st,function(){return pt.port2.postMessage(0)}}function R(){var pt=setTimeout;return function(){return pt(st,1)}}var j=new Array(1e3);function st(){for(var pt=0;pt<A;pt+=2){var Ft=j[pt],te=j[pt+1];Ft(te),j[pt]=void 0,j[pt+1]=void 0}A=0}function O(){try{var pt=Function("return this")().require("vertx");return o=pt.runOnLoop||pt.runOnContext,U()}catch{return R()}}var V=void 0;h?V=b():y?V=N():g?V=L():f===void 0&&typeof KN=="function"?V=O():V=R();function gt(pt,Ft){var te=this,lt=new this.constructor(Et);lt[Dt]===void 0&&fe(lt);var St=te._state;if(St){var de=arguments[St-1];l(function(){return Te(St,lt,de,te._result)})}else Le(te,lt,pt,Ft);return lt}function Nt(pt){var Ft=this;if(pt&&typeof pt=="object"&&pt.constructor===Ft)return pt;var te=new Ft(Et);return zt(te,pt),te}var Dt=Math.random().toString(36).substring(2);function Et(){}var xt=void 0,Xt=1,jt=2,Gt={error:null};function Wt(){return new TypeError("You cannot resolve a promise with itself")}function kt(){return new TypeError("A promises callback cannot return that same promise.")}function Vt(pt){try{return pt.then}catch(Ft){return Gt.error=Ft,Gt}}function we(pt,Ft,te,lt){try{pt.call(Ft,te,lt)}catch(St){return St}}function oe(pt,Ft,te){l(function(lt){var St=!1,de=we(te,Ft,function(Se){St||(St=!0,Ft!==Se?zt(lt,Se):re(lt,Se))},function(Se){St||(St=!0,le(lt,Se))},"Settle: "+(lt._label||" unknown promise"));!St&&de&&(St=!0,le(lt,de))},pt)}function Be(pt,Ft){Ft._state===Xt?re(pt,Ft._result):Ft._state===jt?le(pt,Ft._result):Le(Ft,void 0,function(te){return zt(pt,te)},function(te){return le(pt,te)})}function Ue(pt,Ft,te){Ft.constructor===pt.constructor&&te===gt&&Ft.constructor.resolve===Nt?Be(pt,Ft):te===Gt?(le(pt,Gt.error),Gt.error=null):te===void 0?re(pt,Ft):i(te)?oe(pt,Ft,te):re(pt,Ft)}function zt(pt,Ft){pt===Ft?le(pt,Wt()):e(Ft)?Ue(pt,Ft,Vt(Ft)):re(pt,Ft)}function Ht(pt){pt._onerror&&pt._onerror(pt._result),xe(pt)}function re(pt,Ft){pt._state===xt&&(pt._result=Ft,pt._state=Xt,pt._subscribers.length!==0&&l(xe,pt))}function le(pt,Ft){pt._state===xt&&(pt._state=jt,pt._result=Ft,l(Ht,pt))}function Le(pt,Ft,te,lt){var St=pt._subscribers,de=St.length;pt._onerror=null,St[de]=Ft,St[de+Xt]=te,St[de+jt]=lt,de===0&&pt._state&&l(xe,pt)}function xe(pt){var Ft=pt._subscribers,te=pt._state;if(Ft.length!==0){for(var lt=void 0,St=void 0,de=pt._result,Se=0;Se<Ft.length;Se+=3)lt=Ft[Se],St=Ft[Se+te],lt?Te(te,lt,St,de):St(de);pt._subscribers.length=0}}function De(pt,Ft){try{return pt(Ft)}catch(te){return Gt.error=te,Gt}}function Te(pt,Ft,te,lt){var St=i(te),de=void 0,Se=void 0,Fe=void 0,ze=void 0;if(St){if(de=De(te,lt),de===Gt?(ze=!0,Se=de.error,de.error=null):Fe=!0,Ft===de){le(Ft,kt());return}}else de=lt,Fe=!0;Ft._state!==xt||(St&&Fe?zt(Ft,de):ze?le(Ft,Se):pt===Xt?re(Ft,de):pt===jt&&le(Ft,de))}function it(pt,Ft){try{Ft(function(te){zt(pt,te)},function(te){le(pt,te)})}catch(te){le(pt,te)}}var bt=0;function Jt(){return bt++}function fe(pt){pt[Dt]=bt++,pt._state=void 0,pt._result=void 0,pt._subscribers=[]}function ge(){return new Error("Array Methods must be provided an Array")}var ue=function(){function pt(Ft,te){this._instanceConstructor=Ft,this.promise=new Ft(Et),this.promise[Dt]||fe(this.promise),s(te)?(this.length=te.length,this._remaining=te.length,this._result=new Array(this.length),this.length===0?re(this.promise,this._result):(this.length=this.length||0,this._enumerate(te),this._remaining===0&&re(this.promise,this._result))):le(this.promise,ge())}return pt.prototype._enumerate=function(Ft){for(var te=0;this._state===xt&&te<Ft.length;te++)this._eachEntry(Ft[te],te)},pt.prototype._eachEntry=function(Ft,te){var lt=this._instanceConstructor,St=lt.resolve;if(St===Nt){var de=Vt(Ft);if(de===gt&&Ft._state!==xt)this._settledAt(Ft._state,te,Ft._result);else if(typeof de!="function")this._remaining--,this._result[te]=Ft;else if(lt===Ct){var Se=new lt(Et);Ue(Se,Ft,de),this._willSettleAt(Se,te)}else this._willSettleAt(new lt(function(Fe){return Fe(Ft)}),te)}else this._willSettleAt(St(Ft),te)},pt.prototype._settledAt=function(Ft,te,lt){var St=this.promise;St._state===xt&&(this._remaining--,Ft===jt?le(St,lt):this._result[te]=lt),this._remaining===0&&re(St,this._result)},pt.prototype._willSettleAt=function(Ft,te){var lt=this;Le(Ft,void 0,function(St){return lt._settledAt(Xt,te,St)},function(St){return lt._settledAt(jt,te,St)})},pt}();function pe(pt){return new ue(this,pt).promise}function he(pt){var Ft=this;return s(pt)?new Ft(function(te,lt){for(var St=pt.length,de=0;de<St;de++)Ft.resolve(pt[de]).then(te,lt)}):new Ft(function(te,lt){return lt(new TypeError("You must pass an array to race."))})}function _e(pt){var Ft=this,te=new Ft(Et);return le(te,pt),te}function J(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Z(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object c
3832onstructor cannot be called as a function.")}var Ct=function(){function pt(Ft){this[Dt]=Jt(),this._result=this._state=void 0,this._subscribers=[],Et!==Ft&&(typeof Ft!="function"&&J(),this instanceof pt?it(this,Ft):Z())}return pt.prototype.catch=function(Ft){return this.then(null,Ft)},pt.prototype.finally=function(Ft){var te=this,lt=te.constructor;return i(Ft)?te.then(function(St){return lt.resolve(Ft()).then(function(){return St})},function(St){return lt.resolve(Ft()).then(function(){throw St})}):te.then(Ft,Ft)},pt}();Ct.prototype.then=gt,Ct.all=pe,Ct.race=he,Ct.resolve=Nt,Ct.reject=_e,Ct._setScheduler=c,Ct._setAsap=u,Ct._asap=l;function $t(){var pt=void 0;if(typeof Lp<"u")pt=Lp;else if(typeof self<"u")pt=self;else try{pt=Function("return this")()}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var Ft=pt.Promise;if(Ft){var te=null;try{te=Object.prototype.toString.call(Ft.resolve())}catch{}if(te==="[object Promise]"&&!Ft.cast)return}pt.Promise=Ct}return Ct.polyfill=$t,Ct.Promise=Ct,Ct})}),Gr=qN.Promise,Xe=function n(t){var e=U0(n.convert(Gr.resolve()),JSON.parse(JSON.stringify(n.template))),i=n.convert(Gr.resolve(),e);return i=i.setProgress(1,n,1,[n]),i=i.set(t),i};Xe.prototype=Object.create(Gr.prototype);Xe.prototype.constructor=Xe;Xe.convert=function(n,t){return n.__proto__=t||Xe.prototype,n};Xe.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}};Xe.prototype.from=function(n,t){function e(i){switch(qh(i)){case"string":return"string";case"element":return i.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(t=t||e(n),t){case"string":return this.set({src:Uc("div",{innerHTML:n})});case"element":return this.set({src:n});case"canvas":return this.set({canvas:n});case"img":return this.set({img:n});default:return this.error("Unknown source type.")}})};Xe.prototype.to=function(n){switch(n){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}};Xe.prototype.toContainer=function(){var n=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(n).then(function(){var t={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},e={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};t.opacity=0;var i=GN(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=Uc("div",{className:"html2pdf__overlay",style:t}),this.prop.container=Uc("div",{className:"html2pdf__container",style:e}),this.prop.container.appendChild(i),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})};Xe.prototype.toCanvas=function(){var n=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(n).then(function(){var t=U0({},this.opt.html2canvas);return delete t.onrendered,NN(this.prop.container,t)}).then(function(t){var e=this.opt.html2canvas.onrendered||function(){};e(t),this.prop.canvas=t,document.body.removeChild(this.prop.overlay)})};Xe.prototype.toImg=function(){var n=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(n).then(function(){var t=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=t})};Xe.prototype.toPdf=function(){var n=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(n).then(function(){var t=this.prop.canvas,e=this.opt,i=t.height,r=Math.floor(t.width*this.prop.pageSize.inner.ratio),s=Math.ceil(i/r),A=this.prop.pageSize.inner.height,o=document.createElement("canvas"),a=o.getContext("2d");o.width=t.width,o.height=r,this.prop.pdf=this.prop.pdf||new _0(e.jsPDF);for(var l=0;l<s;l++){l===s-1&&i%r!==0&&(o.height=i%r,A=o.height*this.prop.pageSize.inner.width/o.width);var c=o.width,u=o.height;a.fillStyle="white",a.fillRect(0,0,c,u),a.drawImage(t,0,l*r,c,u,0,0,c,u),l&&this.prop.pdf.addPage();var f=o.toDataURL("image/"+e.image.type,e.image.quality);this.prop.pdf.addImage(f,e.image.type,e.margin[1],e.margin[0],this.prop.pageSize.inner.width,A)}})};Xe.prototype.output=function(n,t,e){return e=e||"pdf",e.toLowerCase()==="img"||e.toLowerCase()==="image"?this.outputImg(n,t):this.outputPdf(n,t)};Xe.prototype.outputPdf=function(n,t){var e=[function(){return this.prop.pdf||this.toPdf(
3832)}];return this.thenList(e).then(function(){return this.prop.pdf.output(n,t)})};Xe.prototype.outputImg=function(n,t){var e=[function(){return this.prop.img||this.toImg()}];return this.thenList(e).then(function(){switch(n){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+n+'" is not supported.'}})};Xe.prototype.save=function(n){var t=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(t).set(n?{filename:n}:null).then(function(){this.prop.pdf.save(this.opt.filename)})};Xe.prototype.set=function(n){if(qh(n)!=="object")return this;var t=Object.keys(n||{}).map(function(e){if(e in Xe.template.prop)return function(){this.prop[e]=n[e]};switch(e){case"margin":return this.setMargin.bind(this,n.margin);case"jsPDF":return function(){return this.opt.jsPDF=n.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,n.pageSize);default:return function(){this.opt[e]=n[e]}}},this);return this.then(function(){return this.thenList(t)})};Xe.prototype.get=function(n,t){return this.then(function(){var e=n in Xe.template.prop?this.prop[n]:this.opt[n];return t?t(e):e})};Xe.prototype.setMargin=function(n){return this.then(function(){switch(qh(n)){case"number":n=[n,n,n,n];case"array":if(n.length===2&&(n=[n[0],n[1],n[0],n[1]]),n.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=n}).then(this.setPageSize)};Xe.prototype.setPageSize=function(n){return this.then(function(){n=n||_0.getPageSize(this.opt.jsPDF),n.hasOwnProperty("inner")||(n.inner={width:n.width-this.opt.margin[1]-this.opt.margin[3],height:n.height-this.opt.margin[0]-this.opt.margin[2]},n.inner.px={width:ey(n.inner.width,n.k),height:ey(n.inner.height,n.k)},n.inner.ratio=n.inner.height/n.inner.width),this.prop.pageSize=n})};Xe.prototype.setProgress=function(n,t,e,i){return n!=null&&(this.progress.val=n),t!=null&&(this.progress.state=t),e!=null&&(this.progress.n=e),i!=null&&(this.progress.stack=i),this.progress.ratio=this.progress.val/this.progress.state,this};Xe.prototype.updateProgress=function(n,t,e,i){return this.setProgress(n?this.progress.val+n:null,t||null,e?this.progress.n+e:null,i?this.progress.stack.concat(i):null)};Xe.prototype.then=function(n,t){var e=this;return this.thenCore(n,t,function(i,r){return e.updateProgress(null,null,1,[i]),Gr.prototype.then.call(this,function(s){return e.updateProgress(null,i),s}).then(i,r).then(function(s){return e.updateProgress(1),s})})};Xe.prototype.thenCore=function(n,t,e){e=e||Gr.prototype.then;var i=this;n&&(n=n.bind(i)),t&&(t=t.bind(i));var r=Gr.toString().indexOf("[native code]")!==-1&&Gr.name==="Promise",s=r?i:Xe.convert(U0({},i),Gr.prototype),A=e.call(s,n,t);return Xe.convert(A,i.__proto__)};Xe.prototype.thenExternal=function(n,t){return Gr.prototype.then.call(this,n,t)};Xe.prototype.thenList=function(n){var t=this;return n.forEach(function(e){t=t.thenCore(e)}),t};Xe.prototype.catch=function(n){n&&(n=n.bind(this));var t=Gr.prototype.catch.call(this,n);return Xe.convert(t,this)};Xe.prototype.catchExternal=function(n){return Gr.prototype.catch.call(this,n)};Xe.prototype.error=function(n){return this.then(function(){throw new Error(n)})};Xe.prototype.using=Xe.prototype.set;Xe.prototype.saveAs=Xe.prototype.save;Xe.prototype.export=Xe.prototype.output;Xe.prototype.run=Xe.prototype.then;_0.getPageSize=function(n,t,e){if((typeof n>"u"?"undefined":xC(n))==="object"){var i=n;n=i.orientation,t=i.unit||t,e=i.format||e}t=t||"mm",e=e||"a4",n=(""+(n||"P")).toLowerCase();var r=(""+e).toLowerCase(),s={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(t){case"pt":var A=1;break;case"mm":var A=72/25.4;break;case"cm":var A=72/2.54;break;case"in":var A=72;break;case"px":var A=72/96;break;case"pc":var A=12;break;case"em":var A=12;break;case"ex":var A=6;break;default:throw"Invalid unit: "+t}if(s.hasOwnProperty(r))var o=s[r][1]/A,a=s[r][0]/A;else try{var o=e[1],a=e[0]}catch{throw new Error("Invalid format: "+e)}if(n==="p"||n==="portrait"){if(n="p",a>o){var l=a;a=o,o=l}}else if(n==="l"||n==="landscape"){if(n="l",o>a){var l=a;a=o,o=l}}else throw"Invalid orientation: "+n;var c={width:a,height:o,unit:t,k:A};return c};var jN={toContainer:Xe.prototype.toContainer};Xe.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]};Xe.prototype.toContainer=function(){return jN.toContainer.call(this).then(function(){var n=this.prop.container,t=this.prop.pageSize.inner.px.height,e=[].concat(this.opt.pagebreak.mode),i={avoidAll:e.indexOf("avoid-all")!==-1,css:e.indexOf("css")!==-1,legacy:e.indexOf("legacy")!==-1},r={},s=this;["before","after","avoid"].forEach(function(a){var l=i.avoidAll&&a==="avoid";r[a]=l?[]:[].concat(s.opt.pagebreak[a]||[]),r[a].length>
38320&&(r[a]=Array.prototype.slice.call(n.querySelectorAll(r[a].join(", "))))});var A=n.querySelectorAll(".html2pdf__page-break");A=Array.prototype.slice.call(A);var o=n.querySelectorAll("*");Array.prototype.forEach.call(o,function(a){var l={before:!1,after:i.legacy&&A.indexOf(a)!==-1,avoid:i.avoidAll};if(i.css){var c=window.getComputedStyle(a),u=["always","page","left","right"],f=["avoid","avoid-page"];l={before:l.before||u.indexOf(c.breakBefore||c.pageBreakBefore)!==-1,after:l.after||u.indexOf(c.breakAfter||c.pageBreakAfter)!==-1,avoid:l.avoid||f.indexOf(c.breakInside||c.pageBreakInside)!==-1}}Object.keys(l).forEach(function(U){l[U]=l[U]||r[U].indexOf(a)!==-1});var m=a.getBoundingClientRect();if(l.avoid&&!l.before){var y=Math.floor(m.top/t),h=Math.floor(m.bottom/t),g=Math.abs(m.bottom-m.top)/t;h!==y&&g<=1&&(l.before=!0)}if(l.before){var b=Uc("div",{style:{display:"block",height:t-m.top%t+"px"}});a.parentNode.insertBefore(b,a)}if(l.after){var b=Uc("div",{style:{display:"block",height:t-m.bottom%t+"px"}});a.parentNode.insertBefore(b,a.nextSibling)}})})};var hm=[],bC={toContainer:Xe.prototype.toContainer,toPdf:Xe.prototype.toPdf};Xe.prototype.toContainer=function(){return bC.toContainer.call(this).then(function(){if(this.opt.enableLinks){var n=this.prop.container,t=n.querySelectorAll("a"),e=ty(n.getBoundingClientRect(),this.prop.pageSize.k);hm=[],Array.prototype.forEach.call(t,function(i){for(var r=i.getClientRects(),s=0;s<r.length;s++){var A=ty(r[s],this.prop.pageSize.k);A.left-=e.left,A.top-=e.top;var o=Math.floor(A.top/this.prop.pageSize.inner.height)+1,a=this.opt.margin[0]+A.top%this.prop.pageSize.inner.height,l=this.opt.margin[1]+A.left;hm.push({page:o,top:a,left:l,clientRect:A,link:i})}},this)}})};Xe.prototype.toPdf=function(){return bC.toPdf.call(this).then(function(){if(this.opt.enableLinks){hm.forEach(function(t){this.prop.pdf.setPage(t.page),this.prop.pdf.link(t.left,t.top,t.clientRect.width,t.clientRect.height,{url:t.link.href})},this);var n=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(n)}})};var dm=function n(t,e){var i=new n.Worker(e);return t?i.from(t).save():i};dm.Worker=Xe;const XN={props:{index:{type:Number,default:1},filename:{type:String,default:"filename.pdf"},readyDownload:{type:Boolean,default:!1},options:{type:Object,default:{margin:15,image:{type:"jpeg",quality:1},html2canvas:{scale:3},jsPDF:{unit:"mm",format:"a4",orientation:"p"}}}},methods:{createPdfFromElement(){const n=document.getElementById(`Vue3SimpleHtml2pdf${this.index}`);return n?dm().from(n).set(this.options):alert(`Error! 3833not found pdf..`)},download(){this.createPdfFromElement().save(this.filename)},async blobPdf(){return(await this.createPdfFromElement().toPdf().get("pdf")).output("blob")},openInNewTab(){const n=document.getElementById(`Vue3SimpleHtml2pdf${this.index}`);n&&dm().from(n).set(this.options).toPdf().get("pdf").then(function(t){window.open(t.output("bloburl"),"_blank")})}},render(){return Al("div",{class:"vue3-simple-html2pdf",id:`Vue3SimpleHtml2pdf${this.index}`},this.$slots.default())}},YN={install:function(n){n.component("v-pdf",XN)}};function pm(n,t){(t==null||t>n.length)&&(t=n.length);for(var e=0,i=Array(t);e<t;e++)i[e]=n[e];return i}function JN(n){if(Array.isArray(n))return pm(n)}function xi(n,t,e){return(t=iz(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function ZN(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function $N(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 3834In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ny(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable})),e.push.apply(e,i)}return e}function zr(n){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?ny(Object(e),!0).forEach(function(i){xi(n,i,e[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):ny(Object(e)).forEac
3834h(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(e,i))})}return n}function tz(n,t){if(n==null)return{};var e,i,r=ez(n,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);for(i=0;i<s.length;i++)e=s[i],t.indexOf(e)===-1&&{}.propertyIsEnumerable.call(n,e)&&(r[e]=n[e])}return r}function ez(n,t){if(n==null)return{};var e={};for(var i in n)if({}.hasOwnProperty.call(n,i)){if(t.indexOf(i)!==-1)continue;e[i]=n[i]}return e}function gm(n){return JN(n)||ZN(n)||rz(n)||$N()}function nz(n,t){if(typeof n!="object"||!n)return n;var e=n[Symbol.toPrimitive];if(e!==void 0){var i=e.call(n,t||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(n)}function iz(n){var t=nz(n,"string");return typeof t=="symbol"?t:t+""}function Zf(n){return Zf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zf(n)}function rz(n,t){if(n){if(typeof n=="string")return pm(n,t);var e={}.toString.call(n).slice(8,-1);return e==="Object"&&n.constructor&&(e=n.constructor.name),e==="Map"||e==="Set"?Array.from(n):e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?pm(n,t):void 0}}function ac(n,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?xi({},n,t):{}}function sz(n){var t,e=(t={"fa-spin":n.spin,"fa-pulse":n.pulse,"fa-fw":n.fixedWidth,"fa-border":n.border,"fa-li":n.listItem,"fa-inverse":n.inverse,"fa-flip":n.flip===!0,"fa-flip-horizontal":n.flip==="horizontal"||n.flip==="both","fa-flip-vertical":n.flip==="vertical"||n.flip==="both"},xi(xi(xi(xi(xi(xi(xi(xi(xi(xi(t,"fa-".concat(n.size),n.size!==null),"fa-rotate-".concat(n.rotation),n.rotation!==null),"fa-rotate-by",n.rotateBy),"fa-pull-".concat(n.pull),n.pull!==null),"fa-swap-opacity",n.swapOpacity),"fa-bounce",n.bounce),"fa-shake",n.shake),"fa-beat",n.beat),"fa-fade",n.fade),"fa-beat-fade",n.beatFade),xi(xi(xi(xi(t,"fa-flash",n.flash),"fa-spin-pulse",n.spinPulse),"fa-spin-reverse",n.spinReverse),"fa-width-auto",n.widthAuto));return Object.keys(e).map(function(i){return e[i]?i:null}).filter(function(i){return i})}var Az=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},CC={exports:{}};(function(n){(function(t){var e=function(b,U,N){if(!l(U)||u(U)||f(U)||m(U)||a(U))return U;var L,R=0,j=0;if(c(U))for(L=[],j=U.length;R<j;R++)L.push(e(b,U[R],N));else{L={};for(var st in U)Object.prototype.hasOwnProperty.call(U,st)&&(L[b(st,N)]=e(b,U[st],N))}return L},i=function(b,U){U=U||{};var N=U.separator||"_",L=U.split||/(?=[A-Z])/;return b.split(L).join(N)},r=function(b){return y(b)?b:(b=b.replace(/[\-_\s]+(.)?/g,function(U,N){return N?N.toUpperCase():""}),b.substr(0,1).toLowerCase()+b.substr(1))},s=function(b){var U=r(b);return U.substr(0,1).toUpperCase()+U.substr(1)},A=function(b,U){return i(b,U).toLowerCase()},o=Object.prototype.toString,a=function(b){return typeof b=="function"},l=function(b){return b===Object(b)},c=function(b){return o.call(b)=="[object Array]"},u=function(b){return o.call(b)=="[object Date]"},f=function(b){return o.call(b)=="[object RegExp]"},m=function(b){return o.call(b)=="[object Boolean]"},y=function(b){return b=b-0,b===b},h=function(b,U){var N=U&&"process"in U?U.process:U;return typeof N!="function"?b:function(L,R){return N(L,b,R)}},g={camelize:r,decamelize:A,pascalize:s,depascalize:A,camelizeKeys:function(b,U){return e(h(r,U),b)},decamelizeKeys:function(b,U){return e(h(A,U),b,U)},pascalizeKeys:function(b,U){return e(h(s,U),b)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};n.exports?n.exports=g:t.humps=g})(Az)})(CC);var oz=CC.exports,az=["class","style"];function lz(n){return n.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,e){var i=e.indexOf(":"),r=oz.camelize(e.slice(0,i)),s=e.slice(i+1).trim();return t[r]=s,t},{})}function cz(n){return n.split(/\s+/).reduce(function(t,e){return t[e]=!0,t},{})}function T0(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof n=="string")return n;var i=(n.children||[]).map(function(a){return T0(a)}),r=Object.keys(n.attributes||{}).reduce(function(a,l){var c=n.attributes[l];switch(l){case"class":a.class=cz(c);break;case"style":a.style=lz(c);break;default:a.attrs[l]=c}return a},{attrs:{},class:{},style:{}});e.class;var s=e.style,A=s===void 0?{}:s,o=tz(e,az);return Al(n.tag,zr(zr(zr({},t),{},{class:r.class,style:zr(zr({},r.style),A)},r.attrs),o),i)}var SC=!1;try{SC=!0}catch{}function uz(){if(!SC&&console&&typeof console.error=="function"){var n;(n=console).error.apply(n,arguments)}}function iy(n){if(n&&Zf(n)==="object"&&n.prefix&&n.iconName&&n.icon)return n;if(Nf.icon)return Nf.icon(n);if(n===null)return null;if(Zf(n)==="object"&&n.prefix&&n.iconName)return n;if(Array.isArray(n)&&n.length===2)return{prefix:n[0],iconName:n[1]};if(typeof n=="string")return{prefix:"fas",iconName:n}}
3834var fz=Qc({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},maskId:{type:String,default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(Number.parseInt(t,10))>-1}},rotateBy:{type:Boolean,default:!1},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},titleId:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1},widthAuto:{type:Boolean,default:!1}},setup:function(t,e){var i=e.attrs,r=Ln(function(){return iy(t.icon)}),s=Ln(function(){return ac("classes",sz(t))}),A=Ln(function(){return ac("transform",typeof t.transform=="string"?Nf.transform(t.transform):t.transform)}),o=Ln(function(){return ac("mask",iy(t.mask))}),a=Ln(function(){var c=zr(zr(zr(zr({},s.value),A.value),o.value),{},{symbol:t.symbol,maskId:t.maskId});return c.title=t.title,c.titleId=t.titleId,pO(r.value,c)});La(a,function(c){if(!c)return uz("Could not find one or more icon(s)",r.value,o.value)},{immediate:!0});var l=Ln(function(){return a.value?T0(a.value.abstract[0],{},i):null});return function(){return l.value}}});Qc({name:"FontAwesomeLayers",props:{fixedWidth:{type:Boolean,default:!1}},setup:function(t,e){var i=e.slots,r=wb.familyPrefix,s=Ln(function(){return["".concat(r,"-layers")].concat(gm(t.fixedWidth?["".concat(r,"-fw")]:[]))});return function(){return Al("div",{class:s.value},i.default?i.default():[])}}});Qc({name:"FontAwesomeLayersText",props:{value:{type:[String,Number],default:""},transform:{type:[String,Object],default:null},counter:{type:Boolean,default:!1},position:{type:String,default:null,validator:function(t){return["bottom-left","bottom-right","top-left","top-right"].indexOf(t)>-1}}},setup:function(t,e){var i=e.attrs,r=wb.familyPrefix,s=Ln(function(){return ac("classes",[].concat(gm(t.counter?["".concat(r,"-layers-counter")]:[]),gm(t.position?["".concat(r,"-layers-").concat(t.position)]:[])))}),A=Ln(function(){return ac("transform",typeof t.transform=="string"?Nf.transform(t.transform):t.transform)}),o=Ln(function(){var l=gO(t.value.toString(),zr(zr({},A.value),s.value)),c=l.abstract;return t.counter&&(c[0].attributes.class=c[0].attributes.class.replace("fa-layers-text","")),c[0]}),a=Ln(function(){return T0(o.value,{},i)});return function(){return a.value}}});var hz={prefix:"fab",iconName:"linkedin",icon:[448,512,[],"f08c","M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]},dz={prefix:"fab",iconName:"instagram",icon:[448,512,[],"f16d","M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"]},pz={prefix:"fab",iconName:"facebook",icon:[512,512,[62e3],"f09a","M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"]};/*! 3835 * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com 3836 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) 3837 * Copyright 2024 Fonticons, Inc. 3838 */const gz={prefix:"fas",iconName:"address-book",icon:[512,512,[62138,"contact-book"],"f2b9","M96 0C60.7 0 32 28.7 32 64l0 384c0 35.3 28.7 64 64 64l288 0c35.3 0 64-28.7 64-64l0-384c0-35.3-28.7-64-64-64L96 0zM208 288l64 0c44.2 0 80 35.8 80 80c0 8.8-7.2 16-16 16l-192 0c-8.8 0-16-7.2-16-16c0-44.2 35.8-80 80-80zm-32-96a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zM512 80c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 64c0 8.8 7.2 16 16 16s16-
38387.2 16-16l0-64zM496 192c-8.8 0-16 7.2-16 16l0 64c0 8.8 7.2 16 16 16s16-7.2 16-16l0-64c0-8.8-7.2-16-16-16zm16 144c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 64c0 8.8 7.2 16 16 16s16-7.2 16-16l0-64z"]},mz={prefix:"fas",iconName:"clipboard-list",icon:[384,512,[],"f46d","M192 0c-41.8 0-77.4 26.7-90.5 64L64 64C28.7 64 0 92.7 0 128L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64l-37.5 0C269.4 26.7 233.8 0 192 0zm0 64a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM72 272a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm104-16l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zM72 368a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm88 0c0-8.8 7.2-16 16-16l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16z"]},wz={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},vz={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192l42.7 0c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0L21.3 320C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7l42.7 0C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3l-213.3 0zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352l117.3 0C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7l-330.7 0c-14.7 0-26.7-11.9-26.7-26.7z"]},yz={prefix:"fas",iconName:"chevron-up",icon:[512,512,[],"f077","M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]},Bz={prefix:"fas",iconName:"globe",icon:[512,512,[127760],"f0ac","M352 256c0 22.2-1.2 43.6-3.3 64l-185.3 0c-2.2-20.4-3.3-41.8-3.3-64s1.2-43.6 3.3-64l185.3 0c2.2 20.4 3.3 41.8 3.3 64zm28.8-64l123.1 0c5.3 20.5 8.1 41.9 8.1 64s-2.8 43.5-8.1 64l-123.1 0c2.1-20.6 3.2-42 3.2-64s-1.1-43.4-3.2-64zm112.6-32l-116.7 0c-10-63.9-29.8-117.4-55.3-151.6c78.3 20.7 142 77.5 171.9 151.6zm-149.1 0l-176.6 0c6.1-36.4 15.5-68.6 27-94.7c10.5-23.6 22.2-40.7 33.5-51.5C239.4 3.2 248.7 0 256 0s16.6 3.2 27.8 13.8c11.3 10.8 23 27.9 33.5 51.5c11.6 26 20.9 58.2 27 94.7zm-209 0L18.6 160C48.6 85.9 112.2 29.1 190.6 8.4C165.1 42.6 145.3 96.1 135.3 160zM8.1 192l123.1 0c-2.1 20.6-3.2 42-3.2 64s1.1 43.4 3.2 64L8.1 320C2.8 299.5 0 278.1 0 256s2.8-43.5 8.1-64zM194.7 446.6c-11.6-26-20.9-58.2-27-94.6l176.6 0c-6.1 36.4-15.5 68.6-27 94.6c-10.5 23.6-22.2 40.7-33.5 51.5C272.6 508.8 263.3 512 256 512s-16.6-3.2-27.8-13.8c-11.3-10.8-23-27.9-33.5-51.5zM135.3 352c10 63.9 29.8 117.4 55.3 151.6C112.2 482.9 48.6 426.1 18.6 352l116.7 0zm358.1 0c-30 74.1-93.6 130.9-171.9 151.6c25.5-34.2 45.2-87.7 55.3-151.6l116.7 0z"]},_z={prefix:"fas",iconName:"universal-access",icon:[512,512,[],"f29a","M0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm161.5-86.1c-12.2-5.2-26.3 .4-31.5 12.6s.4 26.3 12.6 31.5l11.9 5.1c17.3 7.4 35.2 12.9 53.6 16.3l0 50.1c0 4.3-.7 8.6-2.1 12.6l-28.7 86.1c-4.2 12.6 2.6 26.2 15.2 30.4s26.2-2.6 30.4-15.2l24.4-73.2c1.3-3.8 4.8-6.4 8.8-6.4s7.6 2.6 8.8 6.4l24.4 73.2c4.2 12.6 17.8 19.4 30.4 15.2s19.4-17.8 15.2-30.4l-28.7-86.1c-1.4-4.1-2.1-8.3-2.1-12.6l0-50.1c18.4-3.5 36.3-8.9 53.6-16.3l11.9-5.1c12.2-5.2 17.8-19.3 12.6-31.5s-19.3-17.8-31.5-12.6L338.7 175c-26.1 11.2-54.2 17-82.7 17s-56.5-5.8-82.7-17l-11.9-5.1zM256 160a40 40 0 1 0 0-80 40 40 0 1 0 0 80z"]},xz={prefix:"fas",iconName:"address-card",icon:[576,512,[62140,"contact-card","vcard"],"f2bb","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l448 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm80 256l64 0c44.2 0 80 35.8 80 80c0 8.8-7.2 16-16 16L80 384c-8.8 0-16-7.2-16-16c0-44.2 35.8-80 80-80zm-32-96a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zm256-32l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},bz={prefix:"fas",iconName:"arrow-right",icon:[448,512,[8594],"f061","M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]}
3838,Cz={prefix:"fas",iconName:"phone",icon:[512,512,[128222,128379],"f095","M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z"]},Sz={prefix:"fas",iconName:"arrow-left",icon:[448,512,[8592],"f060","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]},Fz={prefix:"fas",iconName:"user-secret",icon:[448,512,[128373],"f21b","M224 16c-6.7 0-10.8-2.8-15.5-6.1C201.9 5.4 194 0 176 0c-30.5 0-52 43.7-66 89.4C62.7 98.1 32 112.2 32 128c0 14.3 25 27.1 64.6 35.9c-.4 4-.6 8-.6 12.1c0 17 3.3 33.2 9.3 48l-59.9 0C38 224 32 230 32 237.4c0 1.7 .3 3.4 1 5l38.8 96.9C28.2 371.8 0 423.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c16.4 0 29.7-13.3 29.7-29.7c0-58.5-28.2-110.4-71.7-143L415 242.4c.6-1.6 1-3.3 1-5c0-7.4-6-13.4-13.4-13.4l-59.9 0c6-14.8 9.3-31 9.3-48c0-4.1-.2-8.1-.6-12.1C391 155.1 416 142.3 416 128c0-15.8-30.7-29.9-78-38.6C324 43.7 302.5 0 272 0c-18 0-25.9 5.4-32.5 9.9c-4.8 3.3-8.8 6.1-15.5 6.1zm56 208l-12.4 0c-16.5 0-31.1-10.6-36.3-26.2c-2.3-7-12.2-7-14.5 0c-5.2 15.6-19.9 26.2-36.3 26.2L168 224c-22.1 0-40-17.9-40-40l0-14.4c28.2 4.1 61 6.4 96 6.4s67.8-2.3 96-6.4l0 14.4c0 22.1-17.9 40-40 40zm-88 96l16 32L176 480 128 288l64 32zm128-32L272 480 240 352l16-32 64-32z"]},Ez={prefix:"fas",iconName:"envelope",icon:[512,512,[128386,9993,61443],"f0e0","M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48L48 64zM0 176L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-208L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z"]},Mz={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},Uz={prefix:"fas",iconName:"file",icon:[384,512,[128196,128459,61462],"f15b","M0 64C0 28.7 28.7 0 64 0L224 0l0 128c0 17.7 14.3 32 32 32l128 0 0 288c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64zm384 64l-128 0L256 0 384 128z"]},Tz={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},Iz=Tz,Qz={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},FC={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},Lz=FC,Pz={prefix:"fas",iconName:"x",icon:[384,512,[120],"58","M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z"]},Dz={prefix:"fas",iconName:"video",icon:[576,512,["video-camera"],"f03d","M0 128C0 92.7 28.7 64 64 64l256 0c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64L64 448c-35.3 0-64-28.7-64-64L0 128zM559.1 99.8c10.4 5.6 16.9 16.4 16.9 28.2l0 256c0 11.8-6.5 22.6-16.9 28.2s-23 5-32.9-1.6l-96-64L416 337.1l0-17.1 0-128 0-17.1 14.2-9.5 96-64c9.8-6.5 22.4-7.2 32.9-1.6z"]};vb.add(pz,dz,hz);vb.add(Fz,vz,Pz,mz,gz,_z,wz,Iz,Lz,FC,Qz,bz,Sz,yz,Dz,xz,Mz,Bz,Ez,Cz,Uz);const Wc=s5(vS);Wc.use(l5());Wc.use(hR);Wc.use(YN);Wc.component("font-awesome-icon",fz);Wc.mount("#app");export{wi as _,_t as a,be as c,ye as o};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.