@nabeeltahirdeveloper/chart-sdk 2.9.4 → 2.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chart-sdk.es.js +4 -4
- package/dist/chart-sdk.umd.js +2 -2
- package/package.json +1 -1
package/dist/chart-sdk.umd.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const i=new this(e);return t.forEach(r=>i.set(r)),i}static accessor(e){const i=(this[wh]=this[wh]={accessors:{}}).accessors,r=this.prototype;function n(s){const o=Fr(s);i[o]||(Jm(r,s),i[o]=!0)}return de.isArray(e)?e.forEach(n):n(e),this}};pA.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),de.reduceDescriptors(pA.prototype,({value:A},e)=>{let t=e[0].toUpperCase()+e.slice(1);return{get:()=>A,set(i){this[t]=i}}}),de.freezeMethods(pA);function $o(A,e){const t=this||xr,i=e||t,r=pA.from(i.headers);let n=i.data;return de.forEach(A,function(o){n=o.call(t,n,r.normalize(),e?e.status:void 0)}),r.normalize(),n}function Bh(A){return!!(A&&A.__CANCEL__)}let Qr=class extends et{constructor(e,t,i){super(e??"canceled",et.ERR_CANCELED,t,i),this.name="CanceledError",this.__CANCEL__=!0}};function yh(A,e,t){const i=t.config.validateStatus;!t.status||!i||i(t.status)?A(t):e(new et("Request failed with status code "+t.status,[et.ERR_BAD_REQUEST,et.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}function Zm(A){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(A);return e&&e[1]||""}function Ym(A,e){A=A||10;const t=new Array(A),i=new Array(A);let r=0,n=0,s;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),h=i[n];s||(s=c),t[r]=l,i[r]=c;let m=n,v=0;for(;m!==r;)v+=t[m++],m=m%A;if(r=(r+1)%A,r===n&&(n=(n+1)%A),c-s<e)return;const T=h&&c-h;return T?Math.round(v*1e3/T):void 0}}function qm(A,e){let t=0,i=1e3/e,r,n;const s=(c,h=Date.now())=>{t=h,r=null,n&&(clearTimeout(n),n=null),A(...c)};return[(...c)=>{const h=Date.now(),m=h-t;m>=i?s(c,h):(r=c,n||(n=setTimeout(()=>{n=null,s(r)},i-m)))},()=>r&&s(r)]}const In=(A,e,t=3)=>{let i=0;const r=Ym(50,250);return qm(n=>{const s=n.loaded,o=n.lengthComputable?n.total:void 0,l=s-i,c=r(l),h=s<=o;i=s;const m={loaded:s,total:o,progress:o?s/o:void 0,bytes:l,rate:c||void 0,estimated:c&&o&&h?(o-s)/c:void 0,event:n,lengthComputable:o!=null,[e?"download":"upload"]:!0};A(m)},t)},Ch=(A,e)=>{const t=A!=null;return[i=>e[0]({lengthComputable:t,total:A,loaded:i}),e[1]]},vh=A=>(...e)=>de.asap(()=>A(...e)),jm=AA.hasStandardBrowserEnv?((A,e)=>t=>(t=new URL(t,AA.origin),A.protocol===t.protocol&&A.host===t.host&&(e||A.port===t.port)))(new URL(AA.origin),AA.navigator&&/(msie|trident)/i.test(AA.navigator.userAgent)):()=>!0,e1=AA.hasStandardBrowserEnv?{write(A,e,t,i,r,n,s){if(typeof document>"u")return;const o=[`${A}=${encodeURIComponent(e)}`];de.isNumber(t)&&o.push(`expires=${new Date(t).toUTCString()}`),de.isString(i)&&o.push(`path=${i}`),de.isString(r)&&o.push(`domain=${r}`),n===!0&&o.push("secure"),de.isString(s)&&o.push(`SameSite=${s}`),document.cookie=o.join("; ")},read(A){if(typeof document>"u")return null;const e=document.cookie.match(new RegExp("(?:^|; )"+A+"=([^;]*)"));return e?decodeURIComponent(e[1]):null},remove(A){this.write(A,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function t1(A){return typeof A!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(A)}function A1(A,e){return e?A.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):A}function bh(A,e,t){let i=!t1(e);return A&&(i||t==!1)?A1(A,e):e}const Th=A=>A instanceof pA?{...A}:A;function Hi(A,e){e=e||{};const t={};function i(c,h,m,v){return de.isPlainObject(c)&&de.isPlainObject(h)?de.merge.call({caseless:v},c,h):de.isPlainObject(h)?de.merge({},h):de.isArray(h)?h.slice():h}function r(c,h,m,v){if(de.isUndefined(h)){if(!de.isUndefined(c))return i(void 0,c,m,v)}else return i(c,h,m,v)}function n(c,h){if(!de.isUndefined(h))return i(void 0,h)}function s(c,h){if(de.isUndefined(h)){if(!de.isUndefined(c))return i(void 0,c)}else return i(void 0,h)}function o(c,h,m){if(m in e)return i(c,h);if(m in A)return i(void 0,c)}const l={url:n,method:n,data:n,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:o,headers:(c,h,m)=>r(Th(c),Th(h),m,!0)};return de.forEach(Object.keys({...A,...e}),function(h){if(h==="__proto__"||h==="constructor"||h==="prototype")return;const m=de.hasOwnProp(l,h)?l[h]:r,v=m(A[h],e[h],h);de.isUndefined(v)&&m!==o||(t[h]=v)}),t}const xh=A=>{const e=Hi({},A);let{data:t,withXSRFToken:i,xsrfHeaderName:r,xsrfCookieName:n,headers:s,auth:o}=e;if(e.headers=s=pA.from(s),e.url=fh(bh(e.baseURL,e.url,e.allowAbsoluteUrls),A.params,A.paramsSerializer),o&&s.set("Authorization","Basic "+btoa((o.username||"")+":"+(o.password?unescape(encodeURIComponent(o.password)):""))),de.isFormData(t)){if(AA.hasStandardBrowserEnv||AA.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(de.isFunction(t.getHeaders)){const l=t.getHeaders(),c=["content-type","content-length"];Object.entries(l).forEach(([h,m])=>{c.includes(h.toLowerCase())&&s.set(h,m)})}}if(AA.hasStandardBrowserEnv&&(i&&de.isFunction(i)&&(i=i(e)),i||i!==!1&&jm(e.url))){const l=r&&n&&e1.read(n);l&&s.set(r,l)}return e},i1=typeof XMLHttpRequest<"u"&&function(A){return new Promise(function(t,i){const r=xh(A);let n=r.data;const s=pA.from(r.headers).normalize();let{responseType:o,onUploadProgress:l,onDownloadProgress:c}=r,h,m,v,T,Q;function b(){T&&T(),Q&&Q(),r.cancelToken&&r.cancelToken.unsubscribe(h),r.signal&&r.signal.removeEventListener("abort",h)}let E=new XMLHttpRequest;E.open(r.method.toUpperCase(),r.url,!0),E.timeout=r.timeout;function I(){if(!E)return;const N=pA.from("getAllResponseHeaders"in E&&E.getAllResponseHeaders()),H={data:!o||o==="text"||o==="json"?E.responseText:E.response,status:E.status,statusText:E.statusText,headers:N,config:A,request:E};yh(function(ee){t(ee),b()},function(ee){i(ee),b()},H),E=null}"onloadend"in E?E.onloadend=I:E.onreadystatechange=function(){!E||E.readyState!==4||E.status===0&&!(E.responseURL&&E.responseURL.indexOf("file:")===0)||setTimeout(I)},E.onabort=function(){E&&(i(new et("Request aborted",et.ECONNABORTED,A,E)),E=null)},E.onerror=function(Z){const H=Z&&Z.message?Z.message:"Network Error",W=new et(H,et.ERR_NETWORK,A,E);W.event=Z||null,i(W),E=null},E.ontimeout=function(){let Z=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const H=r.transitional||Vo;r.timeoutErrorMessage&&(Z=r.timeoutErrorMessage),i(new et(Z,H.clarifyTimeoutError?et.ETIMEDOUT:et.ECONNABORTED,A,E)),E=null},n===void 0&&s.setContentType(null),"setRequestHeader"in E&&de.forEach(s.toJSON(),function(Z,H){E.setRequestHeader(H,Z)}),de.isUndefined(r.withCredentials)||(E.withCredentials=!!r.withCredentials),o&&o!=="json"&&(E.responseType=r.responseType),c&&([v,Q]=In(c,!0),E.addEventListener("progress",v)),l&&E.upload&&([m,T]=In(l),E.upload.addEventListener("progress",m),E.upload.addEventListener("loadend",T)),(r.cancelToken||r.signal)&&(h=N=>{E&&(i(!N||N.type?new Qr(null,A,E):N),E.abort(),E=null)},r.cancelToken&&r.cancelToken.subscribe(h),r.signal&&(r.signal.aborted?h():r.signal.addEventListener("abort",h)));const F=Zm(r.url);if(F&&AA.protocols.indexOf(F)===-1){i(new et("Unsupported protocol "+F+":",et.ERR_BAD_REQUEST,A));return}E.send(n||null)})},r1=(A,e)=>{const{length:t}=A=A?A.filter(Boolean):[];if(e||t){let i=new AbortController,r;const n=function(c){if(!r){r=!0,o();const h=c instanceof Error?c:this.reason;i.abort(h instanceof et?h:new Qr(h instanceof Error?h.message:h))}};let s=e&&setTimeout(()=>{s=null,n(new et(`timeout of ${e}ms exceeded`,et.ETIMEDOUT))},e);const o=()=>{A&&(s&&clearTimeout(s),s=null,A.forEach(c=>{c.unsubscribe?c.unsubscribe(n):c.removeEventListener("abort",n)}),A=null)};A.forEach(c=>c.addEventListener("abort",n));const{signal:l}=i;return l.unsubscribe=()=>de.asap(o),l}},n1=function*(A,e){let t=A.byteLength;if(t<e){yield A;return}let i=0,r;for(;i<t;)r=i+e,yield A.slice(i,r),i=r},s1=async function*(A,e){for await(const t of o1(A))yield*n1(t,e)},o1=async function*(A){if(A[Symbol.asyncIterator]){yield*A;return}const e=A.getReader();try{for(;;){const{done:t,value:i}=await e.read();if(t)break;yield i}}finally{await e.cancel()}},Fh=(A,e,t,i)=>{const r=s1(A,e);let n=0,s,o=l=>{s||(s=!0,i&&i(l))};return new ReadableStream({async pull(l){try{const{done:c,value:h}=await r.next();if(c){o(),l.close();return}let m=h.byteLength;if(t){let v=n+=m;t(v)}l.enqueue(new Uint8Array(h))}catch(c){throw o(c),c}},cancel(l){return o(l),r.return()}},{highWaterMark:2})},Qh=64*1024,{isFunction:Pn}=de,a1=(({Request:A,Response:e})=>({Request:A,Response:e}))(de.global),{ReadableStream:Uh,TextEncoder:Sh}=de.global,Eh=(A,...e)=>{try{return!!A(...e)}catch{return!1}},l1=A=>{A=de.merge.call({skipUndefined:!0},a1,A);const{fetch:e,Request:t,Response:i}=A,r=e?Pn(e):typeof fetch=="function",n=Pn(t),s=Pn(i);if(!r)return!1;const o=r&&Pn(Uh),l=r&&(typeof Sh=="function"?(Q=>b=>Q.encode(b))(new Sh):async Q=>new Uint8Array(await new t(Q).arrayBuffer())),c=n&&o&&Eh(()=>{let Q=!1;const b=new t(AA.origin,{body:new Uh,method:"POST",get duplex(){return Q=!0,"half"}}).headers.has("Content-Type");return Q&&!b}),h=s&&o&&Eh(()=>de.isReadableStream(new i("").body)),m={stream:h&&(Q=>Q.body)};r&&["text","arrayBuffer","blob","formData","stream"].forEach(Q=>{!m[Q]&&(m[Q]=(b,E)=>{let I=b&&b[Q];if(I)return I.call(b);throw new et(`Response type '${Q}' is not supported`,et.ERR_NOT_SUPPORT,E)})});const v=async Q=>{if(Q==null)return 0;if(de.isBlob(Q))return Q.size;if(de.isSpecCompliantForm(Q))return(await new t(AA.origin,{method:"POST",body:Q}).arrayBuffer()).byteLength;if(de.isArrayBufferView(Q)||de.isArrayBuffer(Q))return Q.byteLength;if(de.isURLSearchParams(Q)&&(Q=Q+""),de.isString(Q))return(await l(Q)).byteLength},T=async(Q,b)=>{const E=de.toFiniteNumber(Q.getContentLength());return E??v(b)};return async Q=>{let{url:b,method:E,data:I,signal:F,cancelToken:N,timeout:Z,onDownloadProgress:H,onUploadProgress:W,responseType:ee,headers:q,withCredentials:ie="same-origin",fetchOptions:$}=xh(Q),se=e||fetch;ee=ee?(ee+"").toLowerCase():"text";let ce=r1([F,N&&N.toAbortSignal()],Z),te=null;const we=ce&&ce.unsubscribe&&(()=>{ce.unsubscribe()});let j;try{if(W&&c&&E!=="get"&&E!=="head"&&(j=await T(q,I))!==0){let fe=new t(b,{method:"POST",body:I,duplex:"half"}),Fe;if(de.isFormData(I)&&(Fe=fe.headers.get("content-type"))&&q.setContentType(Fe),fe.body){const[me,xe]=Ch(j,In(vh(W)));I=Fh(fe.body,Qh,me,xe)}}de.isString(ie)||(ie=ie?"include":"omit");const ge=n&&"credentials"in t.prototype,ae={...$,signal:ce,method:E.toUpperCase(),headers:q.normalize().toJSON(),body:I,duplex:"half",credentials:ge?ie:void 0};te=n&&new t(b,ae);let pe=await(n?se(te,$):se(b,ae));const ue=h&&(ee==="stream"||ee==="response");if(h&&(H||ue&&we)){const fe={};["status","statusText","headers"].forEach(Se=>{fe[Se]=pe[Se]});const Fe=de.toFiniteNumber(pe.headers.get("content-length")),[me,xe]=H&&Ch(Fe,In(vh(H),!0))||[];pe=new i(Fh(pe.body,Qh,me,()=>{xe&&xe(),we&&we()}),fe)}ee=ee||"text";let oe=await m[de.findKey(m,ee)||"text"](pe,Q);return!ue&&we&&we(),await new Promise((fe,Fe)=>{yh(fe,Fe,{data:oe,headers:pA.from(pe.headers),status:pe.status,statusText:pe.statusText,config:Q,request:te})})}catch(ge){throw we&&we(),ge&&ge.name==="TypeError"&&/Load failed|fetch/i.test(ge.message)?Object.assign(new et("Network Error",et.ERR_NETWORK,Q,te,ge&&ge.response),{cause:ge.cause||ge}):et.from(ge,ge&&ge.code,Q,te,ge&&ge.response)}}},c1=new Map,Lh=A=>{let e=A&&A.env||{};const{fetch:t,Request:i,Response:r}=e,n=[i,r,t];let s=n.length,o=s,l,c,h=c1;for(;o--;)l=n[o],c=h.get(l),c===void 0&&h.set(l,c=o?new Map:l1(e)),h=c;return c};Lh();const Xo={http:Mm,xhr:i1,fetch:{get:Lh}};de.forEach(Xo,(A,e)=>{if(A){try{Object.defineProperty(A,"name",{value:e})}catch{}Object.defineProperty(A,"adapterName",{value:e})}});const Mh=A=>`- ${A}`,h1=A=>de.isFunction(A)||A===null||A===!1;function u1(A,e){A=de.isArray(A)?A:[A];const{length:t}=A;let i,r;const n={};for(let s=0;s<t;s++){i=A[s];let o;if(r=i,!h1(i)&&(r=Xo[(o=String(i)).toLowerCase()],r===void 0))throw new et(`Unknown adapter '${o}'`);if(r&&(de.isFunction(r)||(r=r.get(e))))break;n[o||"#"+s]=r}if(!r){const s=Object.entries(n).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let o=t?s.length>1?`since :
|
|
4
4
|
`+s.map(Mh).join(`
|
|
5
5
|
`):" "+Mh(s[0]):"as no adapter specified";throw new et("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r}const Hh={getAdapter:u1,adapters:Xo};function Jo(A){if(A.cancelToken&&A.cancelToken.throwIfRequested(),A.signal&&A.signal.aborted)throw new Qr(null,A)}function Ih(A){return Jo(A),A.headers=pA.from(A.headers),A.data=$o.call(A,A.transformRequest),["post","put","patch"].indexOf(A.method)!==-1&&A.headers.setContentType("application/x-www-form-urlencoded",!1),Hh.getAdapter(A.adapter||xr.adapter,A)(A).then(function(i){return Jo(A),i.data=$o.call(A,A.transformResponse,i),i.headers=pA.from(i.headers),i},function(i){return Bh(i)||(Jo(A),i&&i.response&&(i.response.data=$o.call(A,A.transformResponse,i.response),i.response.headers=pA.from(i.response.headers))),Promise.reject(i)})}const Ph="1.13.5",Dn={};["object","boolean","number","function","string","symbol"].forEach((A,e)=>{Dn[A]=function(i){return typeof i===A||"a"+(e<1?"n ":" ")+A}});const Dh={};Dn.transitional=function(e,t,i){function r(n,s){return"[Axios v"+Ph+"] Transitional option '"+n+"'"+s+(i?". "+i:"")}return(n,s,o)=>{if(e===!1)throw new et(r(s," has been removed"+(t?" in "+t:"")),et.ERR_DEPRECATED);return t&&!Dh[s]&&(Dh[s]=!0,console.warn(r(s," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(n,s,o):!0}},Dn.spelling=function(e){return(t,i)=>(console.warn(`${i} is likely a misspelling of ${e}`),!0)};function p1(A,e,t){if(typeof A!="object")throw new et("options must be an object",et.ERR_BAD_OPTION_VALUE);const i=Object.keys(A);let r=i.length;for(;r-- >0;){const n=i[r],s=e[n];if(s){const o=A[n],l=o===void 0||s(o,n,A);if(l!==!0)throw new et("option "+n+" must be "+l,et.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new et("Unknown option "+n,et.ERR_BAD_OPTION)}}const _n={assertOptions:p1,validators:Dn},TA=_n.validators;let Ii=class{constructor(e){this.defaults=e||{},this.interceptors={request:new gh,response:new gh}}async request(e,t){try{return await this._request(e,t)}catch(i){if(i instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const n=r.stack?r.stack.replace(/^.+\n/,""):"";try{i.stack?n&&!String(i.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(i.stack+=`
|
|
6
|
-
`+n):i.stack=n}catch{}}throw i}}_request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=Hi(this.defaults,t);const{transitional:i,paramsSerializer:r,headers:n}=t;i!==void 0&&_n.assertOptions(i,{silentJSONParsing:TA.transitional(TA.boolean),forcedJSONParsing:TA.transitional(TA.boolean),clarifyTimeoutError:TA.transitional(TA.boolean),legacyInterceptorReqResOrdering:TA.transitional(TA.boolean)},!1),r!=null&&(de.isFunction(r)?t.paramsSerializer={serialize:r}:_n.assertOptions(r,{encode:TA.function,serialize:TA.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),_n.assertOptions(t,{baseUrl:TA.spelling("baseURL"),withXsrfToken:TA.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=n&&de.merge(n.common,n[t.method]);n&&de.forEach(["delete","get","head","post","put","patch","common"],Q=>{delete n[Q]}),t.headers=pA.concat(s,n);const o=[];let l=!0;this.interceptors.request.forEach(function(b){if(typeof b.runWhen=="function"&&b.runWhen(t)===!1)return;l=l&&b.synchronous;const E=t.transitional||Vo;E&&E.legacyInterceptorReqResOrdering?o.unshift(b.fulfilled,b.rejected):o.push(b.fulfilled,b.rejected)});const c=[];this.interceptors.response.forEach(function(b){c.push(b.fulfilled,b.rejected)});let h,m=0,v;if(!l){const Q=[Ih.bind(this),void 0];for(Q.unshift(...o),Q.push(...c),v=Q.length,h=Promise.resolve(t);m<v;)h=h.then(Q[m++],Q[m++]);return h}v=o.length;let T=t;for(;m<v;){const Q=o[m++],b=o[m++];try{T=Q(T)}catch(E){b.call(this,E);break}}try{h=Ih.call(this,T)}catch(Q){return Promise.reject(Q)}for(m=0,v=c.length;m<v;)h=h.then(c[m++],c[m++]);return h}getUri(e){e=Hi(this.defaults,e);const t=bh(e.baseURL,e.url,e.allowAbsoluteUrls);return fh(t,e.params,e.paramsSerializer)}};de.forEach(["delete","get","head","options"],function(e){Ii.prototype[e]=function(t,i){return this.request(Hi(i||{},{method:e,url:t,data:(i||{}).data}))}}),de.forEach(["post","put","patch"],function(e){function t(i){return function(n,s,o){return this.request(Hi(o||{},{method:e,headers:i?{"Content-Type":"multipart/form-data"}:{},url:n,data:s}))}}Ii.prototype[e]=t(),Ii.prototype[e+"Form"]=t(!0)});let d1=class uf{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(n){t=n});const i=this;this.promise.then(r=>{if(!i._listeners)return;let n=i._listeners.length;for(;n-- >0;)i._listeners[n](r);i._listeners=null}),this.promise.then=r=>{let n;const s=new Promise(o=>{i.subscribe(o),n=o}).then(r);return s.cancel=function(){i.unsubscribe(n)},s},e(function(n,s,o){i.reason||(i.reason=new Qr(n,s,o),t(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=i=>{e.abort(i)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new uf(function(r){e=r}),cancel:e}}};function f1(A){return function(t){return A.apply(null,t)}}function g1(A){return de.isObject(A)&&A.isAxiosError===!0}const Zo={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent: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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Zo).forEach(([A,e])=>{Zo[e]=A});function _h(A){const e=new Ii(A),t=Ah(Ii.prototype.request,e);return de.extend(t,Ii.prototype,e,{allOwnKeys:!0}),de.extend(t,e,null,{allOwnKeys:!0}),t.create=function(r){return _h(Hi(A,r))},t}const Ct=_h(xr);Ct.Axios=Ii,Ct.CanceledError=Qr,Ct.CancelToken=d1,Ct.isCancel=Bh,Ct.VERSION=Ph,Ct.toFormData=Mn,Ct.AxiosError=et,Ct.Cancel=Ct.CanceledError,Ct.all=function(e){return Promise.all(e)},Ct.spread=f1,Ct.isAxiosError=g1,Ct.mergeConfig=Hi,Ct.AxiosHeaders=pA,Ct.formToJSON=A=>mh(de.isHTMLForm(A)?new FormData(A):A),Ct.getAdapter=Hh.getAdapter,Ct.HttpStatusCode=Zo,Ct.default=Ct;const{Axios:ex,AxiosError:tx,CanceledError:Ax,isCancel:ix,CancelToken:rx,VERSION:nx,all:sx,Cancel:ox,isAxiosError:ax,spread:lx,toFormData:cx,AxiosHeaders:hx,HttpStatusCode:ux,formToJSON:px,getAdapter:dx,mergeConfig:fx}=Ct,GA=Object.create(null);GA.open="0",GA.close="1",GA.ping="2",GA.pong="3",GA.message="4",GA.upgrade="5",GA.noop="6";const kn=Object.create(null);Object.keys(GA).forEach(A=>{kn[GA[A]]=A});const Yo={type:"error",data:"parser error"},kh=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Oh=typeof ArrayBuffer=="function",Nh=A=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(A):A&&A.buffer instanceof ArrayBuffer,qo=({type:A,data:e},t,i)=>kh&&e instanceof Blob?t?i(e):Kh(e,i):Oh&&(e instanceof ArrayBuffer||Nh(e))?t?i(e):Kh(new Blob([e]),i):i(GA[A]+(e||"")),Kh=(A,e)=>{const t=new FileReader;return t.onload=function(){const i=t.result.split(",")[1];e("b"+(i||""))},t.readAsDataURL(A)};function zh(A){return A instanceof Uint8Array?A:A instanceof ArrayBuffer?new Uint8Array(A):new Uint8Array(A.buffer,A.byteOffset,A.byteLength)}let jo;function m1(A,e){if(kh&&A.data instanceof Blob)return A.data.arrayBuffer().then(zh).then(e);if(Oh&&(A.data instanceof ArrayBuffer||Nh(A.data)))return e(zh(A.data));qo(A,!1,t=>{jo||(jo=new TextEncoder),e(jo.encode(t))})}const Vh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ur=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let A=0;A<Vh.length;A++)Ur[Vh.charCodeAt(A)]=A;const w1=A=>{let e=A.length*.75,t=A.length,i,r=0,n,s,o,l;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);const c=new ArrayBuffer(e),h=new Uint8Array(c);for(i=0;i<t;i+=4)n=Ur[A.charCodeAt(i)],s=Ur[A.charCodeAt(i+1)],o=Ur[A.charCodeAt(i+2)],l=Ur[A.charCodeAt(i+3)],h[r++]=n<<2|s>>4,h[r++]=(s&15)<<4|o>>2,h[r++]=(o&3)<<6|l&63;return c},B1=typeof ArrayBuffer=="function",ea=(A,e)=>{if(typeof A!="string")return{type:"message",data:Wh(A,e)};const t=A.charAt(0);return t==="b"?{type:"message",data:y1(A.substring(1),e)}:kn[t]?A.length>1?{type:kn[t],data:A.substring(1)}:{type:kn[t]}:Yo},y1=(A,e)=>{if(B1){const t=w1(A);return Wh(t,e)}else return{base64:!0,data:A}},Wh=(A,e)=>e==="blob"?A instanceof Blob?A:new Blob([A]):A instanceof ArrayBuffer?A:A.buffer,Gh="",C1=(A,e)=>{const t=A.length,i=new Array(t);let r=0;A.forEach((n,s)=>{qo(n,!1,o=>{i[s]=o,++r===t&&e(i.join(Gh))})})},v1=(A,e)=>{const t=A.split(Gh),i=[];for(let r=0;r<t.length;r++){const n=ea(t[r],e);if(i.push(n),n.type==="error")break}return i};function b1(){return new TransformStream({transform(A,e){m1(A,t=>{const i=t.length;let r;if(i<126)r=new Uint8Array(1),new DataView(r.buffer).setUint8(0,i);else if(i<65536){r=new Uint8Array(3);const n=new DataView(r.buffer);n.setUint8(0,126),n.setUint16(1,i)}else{r=new Uint8Array(9);const n=new DataView(r.buffer);n.setUint8(0,127),n.setBigUint64(1,BigInt(i))}A.data&&typeof A.data!="string"&&(r[0]|=128),e.enqueue(r),e.enqueue(t)})}})}let ta;function On(A){return A.reduce((e,t)=>e+t.length,0)}function Nn(A,e){if(A[0].length===e)return A.shift();const t=new Uint8Array(e);let i=0;for(let r=0;r<e;r++)t[r]=A[0][i++],i===A[0].length&&(A.shift(),i=0);return A.length&&i<A[0].length&&(A[0]=A[0].slice(i)),t}function T1(A,e){ta||(ta=new TextDecoder);const t=[];let i=0,r=-1,n=!1;return new TransformStream({transform(s,o){for(t.push(s);;){if(i===0){if(On(t)<1)break;const l=Nn(t,1);n=(l[0]&128)===128,r=l[0]&127,r<126?i=3:r===126?i=1:i=2}else if(i===1){if(On(t)<2)break;const l=Nn(t,2);r=new DataView(l.buffer,l.byteOffset,l.length).getUint16(0),i=3}else if(i===2){if(On(t)<8)break;const l=Nn(t,8),c=new DataView(l.buffer,l.byteOffset,l.length),h=c.getUint32(0);if(h>Math.pow(2,21)-1){o.enqueue(Yo);break}r=h*Math.pow(2,32)+c.getUint32(4),i=3}else{if(On(t)<r)break;const l=Nn(t,r);o.enqueue(ea(n?l:ta.decode(l),e)),i=0}if(r===0||r>A){o.enqueue(Yo);break}}}})}const Rh=4;function Nt(A){if(A)return x1(A)}function x1(A){for(var e in Nt.prototype)A[e]=Nt.prototype[e];return A}Nt.prototype.on=Nt.prototype.addEventListener=function(A,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+A]=this._callbacks["$"+A]||[]).push(e),this},Nt.prototype.once=function(A,e){function t(){this.off(A,t),e.apply(this,arguments)}return t.fn=e,this.on(A,t),this},Nt.prototype.off=Nt.prototype.removeListener=Nt.prototype.removeAllListeners=Nt.prototype.removeEventListener=function(A,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var t=this._callbacks["$"+A];if(!t)return this;if(arguments.length==1)return delete this._callbacks["$"+A],this;for(var i,r=0;r<t.length;r++)if(i=t[r],i===e||i.fn===e){t.splice(r,1);break}return t.length===0&&delete this._callbacks["$"+A],this},Nt.prototype.emit=function(A){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),t=this._callbacks["$"+A],i=1;i<arguments.length;i++)e[i-1]=arguments[i];if(t){t=t.slice(0);for(var i=0,r=t.length;i<r;++i)t[i].apply(this,e)}return this},Nt.prototype.emitReserved=Nt.prototype.emit,Nt.prototype.listeners=function(A){return this._callbacks=this._callbacks||{},this._callbacks["$"+A]||[]},Nt.prototype.hasListeners=function(A){return!!this.listeners(A).length};const Kn=typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,t)=>t(e,0),xA=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),F1="arraybuffer";function gx(){}function $h(A,...e){return e.reduce((t,i)=>(A.hasOwnProperty(i)&&(t[i]=A[i]),t),{})}const Q1=xA.setTimeout,U1=xA.clearTimeout;function zn(A,e){e.useNativeTimers?(A.setTimeoutFn=Q1.bind(xA),A.clearTimeoutFn=U1.bind(xA)):(A.setTimeoutFn=xA.setTimeout.bind(xA),A.clearTimeoutFn=xA.clearTimeout.bind(xA))}const S1=1.33;function E1(A){return typeof A=="string"?L1(A):Math.ceil((A.byteLength||A.size)*S1)}function L1(A){let e=0,t=0;for(let i=0,r=A.length;i<r;i++)e=A.charCodeAt(i),e<128?t+=1:e<2048?t+=2:e<55296||e>=57344?t+=3:(i++,t+=4);return t}function Xh(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function M1(A){let e="";for(let t in A)A.hasOwnProperty(t)&&(e.length&&(e+="&"),e+=encodeURIComponent(t)+"="+encodeURIComponent(A[t]));return e}function H1(A){let e={},t=A.split("&");for(let i=0,r=t.length;i<r;i++){let n=t[i].split("=");e[decodeURIComponent(n[0])]=decodeURIComponent(n[1])}return e}class I1 extends Error{constructor(e,t,i){super(e),this.description=t,this.context=i,this.type="TransportError"}}class Aa extends Nt{constructor(e){super(),this.writable=!1,zn(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,t,i){return super.emitReserved("error",new I1(e,t,i)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const t=ea(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,t={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){const e=this.opts.hostname;return e.indexOf(":")===-1?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(e){const t=M1(e);return t.length?"?"+t:""}}class P1 extends Aa{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(e){this.readyState="pausing";const t=()=>{this.readyState="paused",e()};if(this._polling||!this.writable){let i=0;this._polling&&(i++,this.once("pollComplete",function(){--i||t()})),this.writable||(i++,this.once("drain",function(){--i||t()}))}else t()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const t=i=>{if(this.readyState==="opening"&&i.type==="open"&&this.onOpen(),i.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(i)};v1(e,this.socket.binaryType).forEach(t),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,C1(e,t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const e=this.opts.secure?"https":"http",t=this.query||{};return this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=Xh()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.createUri(e,t)}}let Jh=!1;try{Jh=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const D1=Jh;function _1(){}class k1 extends P1{constructor(e){if(super(e),typeof location<"u"){const t=location.protocol==="https:";let i=location.port;i||(i=t?"443":"80"),this.xd=typeof location<"u"&&e.hostname!==location.hostname||i!==e.port}}doWrite(e,t){const i=this.request({method:"POST",data:e});i.on("success",t),i.on("error",(r,n)=>{this.onError("xhr post error",r,n)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(t,i)=>{this.onError("xhr poll error",t,i)}),this.pollXhr=e}}class RA extends Nt{constructor(e,t,i){super(),this.createRequest=e,zn(this,i),this._opts=i,this._method=i.method||"GET",this._uri=t,this._data=i.data!==void 0?i.data:null,this._create()}_create(){var e;const t=$h(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this._opts.xd;const i=this._xhr=this.createRequest(t);try{i.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){i.setDisableHeaderCheck&&i.setDisableHeaderCheck(!0);for(let r in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(r)&&i.setRequestHeader(r,this._opts.extraHeaders[r])}}catch{}if(this._method==="POST")try{i.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{i.setRequestHeader("Accept","*/*")}catch{}(e=this._opts.cookieJar)===null||e===void 0||e.addCookies(i),"withCredentials"in i&&(i.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(i.timeout=this._opts.requestTimeout),i.onreadystatechange=()=>{var r;i.readyState===3&&((r=this._opts.cookieJar)===null||r===void 0||r.parseCookies(i.getResponseHeader("set-cookie"))),i.readyState===4&&(i.status===200||i.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof i.status=="number"?i.status:0)},0))},i.send(this._data)}catch(r){this.setTimeoutFn(()=>{this._onError(r)},0);return}typeof document<"u"&&(this._index=RA.requestsCount++,RA.requests[this._index]=this)}_onError(e){this.emitReserved("error",e,this._xhr),this._cleanup(!0)}_cleanup(e){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=_1,e)try{this._xhr.abort()}catch{}typeof document<"u"&&delete RA.requests[this._index],this._xhr=null}}_onLoad(){const e=this._xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}if(RA.requestsCount=0,RA.requests={},typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Zh);else if(typeof addEventListener=="function"){const A="onpagehide"in xA?"pagehide":"unload";addEventListener(A,Zh,!1)}}function Zh(){for(let A in RA.requests)RA.requests.hasOwnProperty(A)&&RA.requests[A].abort()}const O1=(function(){const A=Yh({xdomain:!1});return A&&A.responseType!==null})();class N1 extends k1{constructor(e){super(e);const t=e&&e.forceBase64;this.supportsBinary=O1&&!t}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new RA(Yh,this.uri(),e)}}function Yh(A){const e=A.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||D1))return new XMLHttpRequest}catch{}if(!e)try{return new xA[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const qh=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class K1 extends Aa{get name(){return"websocket"}doOpen(){const e=this.uri(),t=this.opts.protocols,i=qh?{}:$h(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(i.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,t,i)}catch(r){return this.emitReserved("error",r)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const i=e[t],r=t===e.length-1;qo(i,this.supportsBinary,n=>{try{this.doWrite(i,n)}catch{}r&&Kn(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=Xh()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}}const ia=xA.WebSocket||xA.MozWebSocket;class z1 extends K1{createSocket(e,t,i){return qh?new ia(e,t,i):t?new ia(e,t):new ia(e)}doWrite(e,t){this.ws.send(t)}}class V1 extends Aa{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved("error",e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{const t=T1(Number.MAX_SAFE_INTEGER,this.socket.binaryType),i=e.readable.pipeThrough(t).getReader(),r=b1();r.readable.pipeTo(e.writable),this._writer=r.writable.getWriter();const n=()=>{i.read().then(({done:o,value:l})=>{o||(this.onPacket(l),n())}).catch(o=>{})};n();const s={type:"open"};this.query.sid&&(s.data=`{"sid":"${this.query.sid}"}`),this._writer.write(s).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const i=e[t],r=t===e.length-1;this._writer.write(i).then(()=>{r&&Kn(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this._transport)===null||e===void 0||e.close()}}const W1={websocket:z1,webtransport:V1,polling:N1},G1=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,R1=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function ra(A){if(A.length>8e3)throw"URI too long";const e=A,t=A.indexOf("["),i=A.indexOf("]");t!=-1&&i!=-1&&(A=A.substring(0,t)+A.substring(t,i).replace(/:/g,";")+A.substring(i,A.length));let r=G1.exec(A||""),n={},s=14;for(;s--;)n[R1[s]]=r[s]||"";return t!=-1&&i!=-1&&(n.source=e,n.host=n.host.substring(1,n.host.length-1).replace(/;/g,":"),n.authority=n.authority.replace("[","").replace("]","").replace(/;/g,":"),n.ipv6uri=!0),n.pathNames=$1(n,n.path),n.queryKey=X1(n,n.query),n}function $1(A,e){const t=/\/{2,9}/g,i=e.replace(t,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&i.splice(0,1),e.slice(-1)=="/"&&i.splice(i.length-1,1),i}function X1(A,e){const t={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(i,r,n){r&&(t[r]=n)}),t}const na=typeof addEventListener=="function"&&typeof removeEventListener=="function",Vn=[];na&&addEventListener("offline",()=>{Vn.forEach(A=>A())},!1);class hi extends Nt{constructor(e,t){if(super(),this.binaryType=F1,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,e&&typeof e=="object"&&(t=e,e=null),e){const i=ra(e);t.hostname=i.host,t.secure=i.protocol==="https"||i.protocol==="wss",t.port=i.port,i.query&&(t.query=i.query)}else t.host&&(t.hostname=ra(t.host).host);zn(this,t),this.secure=t.secure!=null?t.secure:typeof location<"u"&&location.protocol==="https:",t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=t.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},t.transports.forEach(i=>{const r=i.prototype.name;this.transports.push(r),this._transportsByName[r]=i}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=H1(this.opts.query)),na&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Vn.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(e){const t=Object.assign({},this.opts.query);t.EIO=Rh,t.transport=e,this.id&&(t.sid=this.id);const i=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new this._transportsByName[e](i)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const e=this.opts.rememberUpgrade&&hi.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const t=this.createTransport(e);t.open(),this.setTransport(t)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",t=>this._onClose("transport close",t))}onOpen(){this.readyState="open",hi.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(e){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const t=new Error("server error");t.code=e.data,this._onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data);break}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this._pingInterval=e.pingInterval,this._pingTimeout=e.pingTimeout,this._maxPayload=e.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},e),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this._getWritablePackets();this.transport.send(e),this._prevBufferLen=e.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let t=1;for(let i=0;i<this.writeBuffer.length;i++){const r=this.writeBuffer[i].data;if(r&&(t+=E1(r)),i>0&&t>this._maxPayload)return this.writeBuffer.slice(0,i);t+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const e=Date.now()>this._pingTimeoutTime;return e&&(this._pingTimeoutTime=0,Kn(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),e}write(e,t,i){return this._sendPacket("message",e,t,i),this}send(e,t,i){return this._sendPacket("message",e,t,i),this}_sendPacket(e,t,i,r){if(typeof t=="function"&&(r=t,t=void 0),typeof i=="function"&&(r=i,i=null),this.readyState==="closing"||this.readyState==="closed")return;i=i||{},i.compress=i.compress!==!1;const n={type:e,data:t,options:i};this.emitReserved("packetCreate",n),this.writeBuffer.push(n),r&&this.once("flush",r),this.flush()}close(){const e=()=>{this._onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},i=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?i():e()}):this.upgrading?i():e()),this}_onError(e){if(hi.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",e),this._onClose("transport error",e)}_onClose(e,t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),na&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const i=Vn.indexOf(this._offlineEventListener);i!==-1&&Vn.splice(i,1)}this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this._prevBufferLen=0}}}hi.protocol=Rh;class J1 extends hi{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let t=this.createTransport(e),i=!1;hi.priorWebsocketSuccess=!1;const r=()=>{i||(t.send([{type:"ping",data:"probe"}]),t.once("packet",m=>{if(!i)if(m.type==="pong"&&m.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;hi.priorWebsocketSuccess=t.name==="websocket",this.transport.pause(()=>{i||this.readyState!=="closed"&&(h(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())})}else{const v=new Error("probe error");v.transport=t.name,this.emitReserved("upgradeError",v)}}))};function n(){i||(i=!0,h(),t.close(),t=null)}const s=m=>{const v=new Error("probe error: "+m);v.transport=t.name,n(),this.emitReserved("upgradeError",v)};function o(){s("transport closed")}function l(){s("socket closed")}function c(m){t&&m.name!==t.name&&n()}const h=()=>{t.removeListener("open",r),t.removeListener("error",s),t.removeListener("close",o),this.off("close",l),this.off("upgrading",c)};t.once("open",r),t.once("error",s),t.once("close",o),this.once("close",l),this.once("upgrading",c),this._upgrades.indexOf("webtransport")!==-1&&e!=="webtransport"?this.setTimeoutFn(()=>{i||t.open()},200):t.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){const t=[];for(let i=0;i<e.length;i++)~this.transports.indexOf(e[i])&&t.push(e[i]);return t}}let Z1=class extends J1{constructor(e,t={}){const i=typeof e=="object"?e:t;(!i.transports||i.transports&&typeof i.transports[0]=="string")&&(i.transports=(i.transports||["polling","websocket","webtransport"]).map(r=>W1[r]).filter(r=>!!r)),super(e,i)}};function Y1(A,e="",t){let i=A;t=t||typeof location<"u"&&location,A==null&&(A=t.protocol+"//"+t.host),typeof A=="string"&&(A.charAt(0)==="/"&&(A.charAt(1)==="/"?A=t.protocol+A:A=t.host+A),/^(https?|wss?):\/\//.test(A)||(typeof t<"u"?A=t.protocol+"//"+A:A="https://"+A),i=ra(A)),i.port||(/^(http|ws)$/.test(i.protocol)?i.port="80":/^(http|ws)s$/.test(i.protocol)&&(i.port="443")),i.path=i.path||"/";const n=i.host.indexOf(":")!==-1?"["+i.host+"]":i.host;return i.id=i.protocol+"://"+n+":"+i.port+e,i.href=i.protocol+"://"+n+(t&&t.port===i.port?"":":"+i.port),i}const q1=typeof ArrayBuffer=="function",j1=A=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(A):A.buffer instanceof ArrayBuffer,jh=Object.prototype.toString,ew=typeof Blob=="function"||typeof Blob<"u"&&jh.call(Blob)==="[object BlobConstructor]",tw=typeof File=="function"||typeof File<"u"&&jh.call(File)==="[object FileConstructor]";function sa(A){return q1&&(A instanceof ArrayBuffer||j1(A))||ew&&A instanceof Blob||tw&&A instanceof File}function Wn(A,e){if(!A||typeof A!="object")return!1;if(Array.isArray(A)){for(let t=0,i=A.length;t<i;t++)if(Wn(A[t]))return!0;return!1}if(sa(A))return!0;if(A.toJSON&&typeof A.toJSON=="function"&&arguments.length===1)return Wn(A.toJSON(),!0);for(const t in A)if(Object.prototype.hasOwnProperty.call(A,t)&&Wn(A[t]))return!0;return!1}function Aw(A){const e=[],t=A.data,i=A;return i.data=oa(t,e),i.attachments=e.length,{packet:i,buffers:e}}function oa(A,e){if(!A)return A;if(sa(A)){const t={_placeholder:!0,num:e.length};return e.push(A),t}else if(Array.isArray(A)){const t=new Array(A.length);for(let i=0;i<A.length;i++)t[i]=oa(A[i],e);return t}else if(typeof A=="object"&&!(A instanceof Date)){const t={};for(const i in A)Object.prototype.hasOwnProperty.call(A,i)&&(t[i]=oa(A[i],e));return t}return A}function iw(A,e){return A.data=aa(A.data,e),delete A.attachments,A}function aa(A,e){if(!A)return A;if(A&&A._placeholder===!0){if(typeof A.num=="number"&&A.num>=0&&A.num<e.length)return e[A.num];throw new Error("illegal attachments")}else if(Array.isArray(A))for(let t=0;t<A.length;t++)A[t]=aa(A[t],e);else if(typeof A=="object")for(const t in A)Object.prototype.hasOwnProperty.call(A,t)&&(A[t]=aa(A[t],e));return A}const rw=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var at;(function(A){A[A.CONNECT=0]="CONNECT",A[A.DISCONNECT=1]="DISCONNECT",A[A.EVENT=2]="EVENT",A[A.ACK=3]="ACK",A[A.CONNECT_ERROR=4]="CONNECT_ERROR",A[A.BINARY_EVENT=5]="BINARY_EVENT",A[A.BINARY_ACK=6]="BINARY_ACK"})(at||(at={}));class nw{constructor(e){this.replacer=e}encode(e){return(e.type===at.EVENT||e.type===at.ACK)&&Wn(e)?this.encodeAsBinary({type:e.type===at.EVENT?at.BINARY_EVENT:at.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let t=""+e.type;return(e.type===at.BINARY_EVENT||e.type===at.BINARY_ACK)&&(t+=e.attachments+"-"),e.nsp&&e.nsp!=="/"&&(t+=e.nsp+","),e.id!=null&&(t+=e.id),e.data!=null&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){const t=Aw(e),i=this.encodeAsString(t.packet),r=t.buffers;return r.unshift(i),r}}class la extends Nt{constructor(e){super(),this.reviver=e}add(e){let t;if(typeof e=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e);const i=t.type===at.BINARY_EVENT;i||t.type===at.BINARY_ACK?(t.type=i?at.EVENT:at.ACK,this.reconstructor=new sw(t),t.attachments===0&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else if(sa(e)||e.base64)if(this.reconstructor)t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+e)}decodeString(e){let t=0;const i={type:Number(e.charAt(0))};if(at[i.type]===void 0)throw new Error("unknown packet type "+i.type);if(i.type===at.BINARY_EVENT||i.type===at.BINARY_ACK){const n=t+1;for(;e.charAt(++t)!=="-"&&t!=e.length;);const s=e.substring(n,t);if(s!=Number(s)||e.charAt(t)!=="-")throw new Error("Illegal attachments");i.attachments=Number(s)}if(e.charAt(t+1)==="/"){const n=t+1;for(;++t&&!(e.charAt(t)===","||t===e.length););i.nsp=e.substring(n,t)}else i.nsp="/";const r=e.charAt(t+1);if(r!==""&&Number(r)==r){const n=t+1;for(;++t;){const s=e.charAt(t);if(s==null||Number(s)!=s){--t;break}if(t===e.length)break}i.id=Number(e.substring(n,t+1))}if(e.charAt(++t)){const n=this.tryParse(e.substr(t));if(la.isPayloadValid(i.type,n))i.data=n;else throw new Error("invalid payload")}return i}tryParse(e){try{return JSON.parse(e,this.reviver)}catch{return!1}}static isPayloadValid(e,t){switch(e){case at.CONNECT:return eu(t);case at.DISCONNECT:return t===void 0;case at.CONNECT_ERROR:return typeof t=="string"||eu(t);case at.EVENT:case at.BINARY_EVENT:return Array.isArray(t)&&(typeof t[0]=="number"||typeof t[0]=="string"&&rw.indexOf(t[0])===-1);case at.ACK:case at.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class sw{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const t=iw(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function eu(A){return Object.prototype.toString.call(A)==="[object Object]"}const ow=Object.freeze(Object.defineProperty({__proto__:null,Decoder:la,Encoder:nw,get PacketType(){return at}},Symbol.toStringTag,{value:"Module"}));function DA(A,e,t){return A.on(e,t),function(){A.off(e,t)}}const aw=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class tu extends Nt{constructor(e,t,i){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,i&&i.auth&&(this.auth=i.auth),this._opts=Object.assign({},i),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[DA(e,"open",this.onopen.bind(this)),DA(e,"packet",this.onpacket.bind(this)),DA(e,"error",this.onerror.bind(this)),DA(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){var i,r,n;if(aw.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(t.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(t),this;const s={type:at.EVENT,data:t};if(s.options={},s.options.compress=this.flags.compress!==!1,typeof t[t.length-1]=="function"){const h=this.ids++,m=t.pop();this._registerAckCallback(h,m),s.id=h}const o=(r=(i=this.io.engine)===null||i===void 0?void 0:i.transport)===null||r===void 0?void 0:r.writable,l=this.connected&&!(!((n=this.io.engine)===null||n===void 0)&&n._hasPingExpired());return this.flags.volatile&&!o||(l?(this.notifyOutgoingListeners(s),this.packet(s)):this.sendBuffer.push(s)),this.flags={},this}_registerAckCallback(e,t){var i;const r=(i=this.flags.timeout)!==null&&i!==void 0?i:this._opts.ackTimeout;if(r===void 0){this.acks[e]=t;return}const n=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let o=0;o<this.sendBuffer.length;o++)this.sendBuffer[o].id===e&&this.sendBuffer.splice(o,1);t.call(this,new Error("operation has timed out"))},r),s=(...o)=>{this.io.clearTimeoutFn(n),t.apply(this,o)};s.withError=!0,this.acks[e]=s}emitWithAck(e,...t){return new Promise((i,r)=>{const n=(s,o)=>s?r(s):i(o);n.withError=!0,t.push(n),this.emit(e,...t)})}_addToQueue(e){let t;typeof e[e.length-1]=="function"&&(t=e.pop());const i={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((r,...n)=>(this._queue[0],r!==null?i.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(r)):(this._queue.shift(),t&&t(null,...n)),i.pending=!1,this._drainQueue())),this._queue.push(i),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:at.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(i=>String(i.id)===e)){const i=this.acks[e];delete this.acks[e],i.withError&&i.call(this,new Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case at.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case at.EVENT:case at.BINARY_EVENT:this.onevent(e);break;case at.ACK:case at.BINARY_ACK:this.onack(e);break;case at.DISCONNECT:this.ondisconnect();break;case at.CONNECT_ERROR:this.destroy();const i=new Error(e.data.message);i.data=e.data.data,this.emitReserved("connect_error",i);break}}onevent(e){const t=e.data||[];e.id!=null&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const i of t)i.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){const t=this;let i=!1;return function(...r){i||(i=!0,t.packet({type:at.ACK,id:e,data:r}))}}onack(e){const t=this.acks[e.id];typeof t=="function"&&(delete this.acks[e.id],t.withError&&e.data.unshift(null),t.apply(this,e.data))}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:at.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const t=this._anyListeners;for(let i=0;i<t.length;i++)if(e===t[i])return t.splice(i,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const t=this._anyOutgoingListeners;for(let i=0;i<t.length;i++)if(e===t[i])return t.splice(i,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const t=this._anyOutgoingListeners.slice();for(const i of t)i.apply(this,e.data)}}}function Ji(A){A=A||{},this.ms=A.min||100,this.max=A.max||1e4,this.factor=A.factor||2,this.jitter=A.jitter>0&&A.jitter<=1?A.jitter:0,this.attempts=0}Ji.prototype.duration=function(){var A=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),t=Math.floor(e*this.jitter*A);A=(Math.floor(e*10)&1)==0?A-t:A+t}return Math.min(A,this.max)|0},Ji.prototype.reset=function(){this.attempts=0},Ji.prototype.setMin=function(A){this.ms=A},Ji.prototype.setMax=function(A){this.max=A},Ji.prototype.setJitter=function(A){this.jitter=A};class ca extends Nt{constructor(e,t){var i;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(t=e,e=void 0),t=t||{},t.path=t.path||"/socket.io",this.opts=t,zn(this,t),this.reconnection(t.reconnection!==!1),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor((i=t.randomizationFactor)!==null&&i!==void 0?i:.5),this.backoff=new Ji({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(t.timeout==null?2e4:t.timeout),this._readyState="closed",this.uri=e;const r=t.parser||ow;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=t.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(t=this.backoff)===null||t===void 0||t.setMin(e),this)}randomizationFactor(e){var t;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(t=this.backoff)===null||t===void 0||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(t=this.backoff)===null||t===void 0||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new Z1(this.uri,this.opts);const t=this.engine,i=this;this._readyState="opening",this.skipReconnect=!1;const r=DA(t,"open",function(){i.onopen(),e&&e()}),n=o=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",o),e?e(o):this.maybeReconnectOnOpen()},s=DA(t,"error",n);if(this._timeout!==!1){const o=this._timeout,l=this.setTimeoutFn(()=>{r(),n(new Error("timeout")),t.close()},o);this.opts.autoUnref&&l.unref(),this.subs.push(()=>{this.clearTimeoutFn(l)})}return this.subs.push(r),this.subs.push(s),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(DA(e,"ping",this.onping.bind(this)),DA(e,"data",this.ondata.bind(this)),DA(e,"error",this.onerror.bind(this)),DA(e,"close",this.onclose.bind(this)),DA(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(t){this.onclose("parse error",t)}}ondecoded(e){Kn(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let i=this.nsps[e];return i?this._autoConnect&&!i.active&&i.connect():(i=new tu(this,e,t),this.nsps[e]=i),i}_destroy(e){const t=Object.keys(this.nsps);for(const i of t)if(this.nsps[i].active)return;this._close()}_packet(e){const t=this.encoder.encode(e);for(let i=0;i<t.length;i++)this.engine.write(t[i],e.options)}cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(e,t){var i;this.cleanup(),(i=this.engine)===null||i===void 0||i.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();this._reconnecting=!0;const i=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(r=>{r?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",r)):e.onreconnect()}))},t);this.opts.autoUnref&&i.unref(),this.subs.push(()=>{this.clearTimeoutFn(i)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const Sr={};function Gn(A,e){typeof A=="object"&&(e=A,A=void 0),e=e||{};const t=Y1(A,e.path||"/socket.io"),i=t.source,r=t.id,n=t.path,s=Sr[r]&&n in Sr[r].nsps,o=e.forceNew||e["force new connection"]||e.multiplex===!1||s;let l;return o?l=new ca(i,e):(Sr[r]||(Sr[r]=new ca(i,e)),l=Sr[r]),t.query&&!e.query&&(e.query=t.queryKey),l.socket(t.path,e)}Object.assign(Gn,{Manager:ca,Socket:tu,io:Gn,connect:Gn});function ha(A){if(!A)return null;try{const e=typeof window<"u"&&window?.location?.origin?window.location.origin:void 0,t=new URL(A,e),i=t.pathname.replace(/\/+$/,"");return`${t.protocol}//${t.host}${i}`}catch{return String(A).trim().replace(/\/+$/,"")}}let CA=ha("http://localhost:8000");function Au(A){const e=ha(A);e&&e!==CA&&(CA=e,It&&(It.disconnect(),It.removeAllListeners(),It=null))}let It=null;function lw(){const A=()=>{try{return localStorage.getItem("token")||localStorage.getItem("authToken")||localStorage.getItem("accessToken")||localStorage.getItem("jwt_token")}catch{return null}},e=A();console.log("🔧 [SOCKET DEBUG] Creating socket for MT5 backend:",{baseUrl:CA,hasToken:!!e,tokenLength:e?.length||0,note:"Connecting to MT5 backend WebSocket (root namespace for candles)"});const t=Gn(CA,{reconnection:!0,reconnectionDelay:1e3,reconnectionAttempts:10,timeout:15e3,forceNew:!1,withCredentials:!1,autoConnect:!0,upgrade:!0,auth:e?{token:e}:void 0}),i=()=>{const r=A();return t.auth=r?{token:r}:{},r};return t.on("connect",()=>{console.log("✅ [SOCKET DEBUG] SocketService: connected to ROOT namespace",{socketId:t.id,baseUrl:CA,transport:t.io.engine.transport.name,namespace:t.nsp.name||"/",note:"This socket connects to CandlesGateway (root namespace)"})}),t.on("disconnect",r=>{console.log("⚠️ [SOCKET DEBUG] SocketService: disconnected:",{reason:r,socketId:t.id})}),t.on("connect_error",r=>{console.error("❌ [SOCKET DEBUG] SocketService: connection error to ROOT namespace:",{message:r?.message,description:r?.description,context:r?.context,type:r?.type,baseUrl:CA,namespace:t.nsp.name||"/",note:"CandlesGateway requires JWT authentication - check if token is valid"})}),t.io.on("reconnect_attempt",r=>{const n=i();console.log("🔄 [SOCKET DEBUG] SocketService: reconnect attempt",{attempt:r,baseUrl:CA,hasToken:!!n})}),t.io.on("reconnect_failed",()=>{console.error("❌ [SOCKET DEBUG] SocketService: failed to reconnect",{baseUrl:CA})}),t.io.on("reconnect",r=>{console.log("✅ [SOCKET DEBUG] SocketService: reconnected after",{attempts:r,socketId:t.id})}),t}function ua(){const A=ha(It?.io?.uri||null);return!It||It.io&&A&&CA&&A!==CA?(It&&(console.log("🔄 [SOCKET DEBUG] Recreating socket:",{oldUri:A,newBaseUrl:CA,wasConnected:It.connected,reason:"baseUrl changed"}),It.disconnect(),It.removeAllListeners(),It=null),It=lw()):It.connected?console.log("✅ [SOCKET DEBUG] Reusing existing connected socket:",{socketId:It.id,connected:It.connected,baseUrl:CA,uri:A}):console.log("⏳ [SOCKET DEBUG] Socket exists but not connected, waiting...",{socketId:It.id,baseUrl:CA}),It}function cw(A,e){const t=ua();return t.on(A,e),()=>t.off(A,e)}function hw(A,e){It&&It.off(A,e)}function uw(A,e){ua().emit(A,e)}function pw(){return It?It.connected?"connected":"connecting":"disconnected"}const Rn={getSocket:ua,on:cw,off:hw,emit:uw,getStatus:pw,setBaseUrl:Au},dw={},iu=Y.createContext(),$t=()=>{const A=Y.useContext(iu);if(!A)throw new Error("useTrading must be used within TradingProvider");return A},fw=({children:A,baseUrl:e,endpoints:t,accountId:i,initialSymbol:r,initialTimeframe:n,indicators:s,indicatorSettings:o,onSymbolChange:l})=>{const c=e??(typeof{url:typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:js&&js.tagName.toUpperCase()==="SCRIPT"&&js.src||new URL("chart-sdk.umd.js",document.baseURI).href}<"u"&&dw?.VITE_BASE_URL)??"http://localhost:5002";Rn.setBaseUrl(c);const m={...{candles:"/api/chart/candles",symbols:"/symbols",trades:"/trades",account:"/api/user/account",indicators:"/api/market-data/indicators"},...t},v=t?.params||{},[T,Q]=Y.useState(r||"BTC/USD"),[b,E]=Y.useState(n||"M1"),[I,F]=Y.useState([]),[N,Z]=Y.useState(!0),[H,W]=Y.useState([]),[ee,q]=Y.useState(!1),[ie,$]=Y.useState(1e5),[se,ce]=Y.useState(null),[te,we]=Y.useState([]),[j,ge]=Y.useState(!0),[ae,pe]=Y.useState(!1),[ue,oe]=Y.useState(!0),[fe,Fe]=Y.useState("candles"),[me,xe]=Y.useState(!1),[Se,He]=Y.useState(null),[Ve,Ye]=Y.useState("dark"),[Pe,We]=Y.useState(null),[De,Je]=Y.useState(!1),[it,pt]=Y.useState(!1),[Ee,Gt]=Y.useState(!1),[ye,be]=Y.useState(!1),[ve,Te]=Y.useState(!1),[Le,Me]=Y.useState(!1),[ze,bt]=Y.useState(!1),[Pt,xi]=Y.useState(!1),[OA,wA]=Y.useState(!1),[qA,jA]=Y.useState(!1),[oi,Zt]=Y.useState([]),Yt=Y.useRef(null),Mt=Y.useRef(new Map),Bt=Y.useRef(null),Ht=1e3,Ft=Y.useCallback(async()=>{if(i)try{const _e=localStorage.getItem("token")??localStorage.getItem("authToken");if(!_e)return;q(!0);const rt=await Ct.get(`${c}/trades/account/${i}`,{headers:{Authorization:`Bearer ${_e}`}});let ft=[];Array.isArray(rt.data)?ft=rt.data:rt.data?.data&&Array.isArray(rt.data.data)&&(ft=rt.data.data);const ct=ft.filter(Re=>Re.closePrice===null||Re.closePrice===void 0).map(Re=>({id:Re.id,ticket:23,symbol:Re.symbol,type:Re.type,volume:Re.volume,openPrice:Re.openPrice??Re.price,stopLoss:Re.stopLoss,takeProfit:Re.takeProfit,comment:Re.comment||"",status:"OPEN",swap:0,profit:Re.profit||0,profitCurrency:"USD",time:new Date(Re.openedAt||Re.openAt||Date.now()).toLocaleTimeString(),openAt:Re.openedAt||Re.openAt,closeAt:Re.closedAt||Re.closeAt}));W(ct)}catch(_e){console.error("❌ Error fetching orders:",_e.response?.data||_e.message),W([])}finally{q(!1)}},[c,i]),qt=Y.useCallback((_e,rt)=>!rt||!_e.price||isNaN(rt)||isNaN(_e.price)?_e.profit||0:(_e?.type?.toUpperCase()==="BUY"?rt-_e.price:_e.price-rt)*_e.volume,[]),qe=Y.useCallback(async()=>{try{const _e=localStorage.getItem("token")??localStorage.getItem("authToken");if(!_e)return;const rt=await Ct.get(`${c}${m.account}`,{headers:{Authorization:`Bearer ${_e}`}});if(rt.data&&rt.data.data){const ft=parseFloat(rt.data.data.balance);isNaN(ft)||$(ft)}}catch(_e){console.error("❌ Error fetching user balance:",_e.response?.data||_e.message)}},[c]),Oe=Y.useCallback(async()=>{if(i)try{const _e=localStorage.getItem("token")??localStorage.getItem("authToken");if(!_e)return;const rt=await Ct.get(`${c}/trades/account/${i}`,{headers:{Authorization:`Bearer ${_e}`}});let ft=[];Array.isArray(rt.data)?ft=rt.data:rt.data?.data&&Array.isArray(rt.data.data)&&(ft=rt.data.data);const ct=ft.filter(Re=>Re.closePrice!==null&&Re.closePrice!==void 0).map(Re=>({id:Re.id,ticket:23,symbol:Re.symbol,type:Re.type,volume:Re.volume,openPrice:Re.openPrice??Re.price,closePrice:Re.closePrice,stopLoss:Re.stopLoss,takeProfit:Re.takeProfit,profit:Re.profit??Re.profitLoss??0,profitCurrency:"USD",openAt:Re.openedAt||Re.openAt,closeAt:Re.closedAt||Re.closeAt,closeReason:Re.closeReason||"",status:"CLOSED"}));Zt(ct)}catch(_e){console.error("❌ Error fetching history orders:",_e.response?.data||_e.message),Zt([])}},[c,i]),Xe=Y.useMemo(()=>{const _e=ie,rt=H.reduce((nt,yt)=>nt+yt.volume*yt.price*.01,0),ft=H.reduce((nt,yt)=>{const jt=I.find(MA=>MA.symbol===yt.symbol);if(jt){const MA=yt.type?.toUpperCase()==="BUY"?parseFloat(jt.bid||0):parseFloat(jt.ask||0);if(MA&&MA>0&&!isNaN(MA))return nt+qt(yt,MA)}return nt+(yt.profit||0)},0),ct=_e+ft,Re=ct-rt,Ie=rt>0?ct/rt*100:0;return{balance:_e,equity:ct,margin:rt,freeMargin:Re,level:Ie.toFixed(2)}},[H,I,ie,qt]);Y.useEffect(()=>{(localStorage.getItem("token")??localStorage.getItem("authToken"))&&i&&(Ft(),qe(),Oe())},[Ft,qe,Oe,i]),Y.useEffect(()=>{(async()=>{try{Z(!0);const rt=m.symbols.includes("?")?`${c}${m.symbols}`:`${c}${m.symbols}`,ft=localStorage.getItem("token")??localStorage.getItem("authToken"),ct=await Ct.get(rt,{headers:ft?{Authorization:`Bearer ${ft}`}:{}});let Re=[];Array.isArray(ct.data)?Re=ct.data:ct.data&&ct.data.data&&Array.isArray(ct.data.data)?Re=ct.data.data:ct.data&&ct.data.prices&&Array.isArray(ct.data.prices)?Re=ct.data.prices:ct.data&&Array.isArray(ct.data)&&(Re=ct.data);const Ie=Re.map(nt=>{const yt=nt.symbol||nt.name||"",jt=nt.category||null;return yt&&(nt.bid!==void 0||nt.price!==void 0)?{symbol:yt,bid:nt.bid??nt.price??0,ask:nt.ask??nt.price??0,change:nt.change??0,category:jt}:{...nt,symbol:yt,category:jt}});Ie.length>0?(F(Ie),Ie.find(yt=>yt.symbol===T)||Q(Ie[0].symbol)):F([])}catch(rt){console.error("❌ Error fetching symbols:",rt.response?.data||rt.message),F([])}finally{Z(!1)}})()},[c,m.symbols]);const je=Y.useCallback(()=>{const _e=Mt.current;if(_e.size===0)return;const rt=new Map(_e);_e.clear(),F(ft=>ft.map(ct=>{const Re=rt.get(ct.symbol);return Re?{...ct,...Re}:ct})),W(ft=>{let ct=!1;const Re=ft.map(Ie=>{const nt=rt.get(Ie.symbol);if(!nt)return Ie;const yt=Ie.type?.toUpperCase()==="BUY"?parseFloat(nt.bid||0):parseFloat(nt.ask||0);if(!yt||isNaN(yt)||yt<=0)return Ie;const jt=qt(Ie,yt);return jt===Ie.profit?Ie:(ct=!0,{...Ie,profit:jt})});return ct?Re:ft})},[qt]);Y.useEffect(()=>{Yt.current||(Yt.current=Rn.getSocket());const _e=Yt.current,rt=()=>{console.log("✅ TradingContext: Connected"),i&&Number.isFinite(Number(i))&&_e.emit("joinUserRoom",{userId:Number(i)})},ft=()=>console.log("⚠️ TradingContext: Disconnected"),ct=Ie=>{Ie?.symbol&&(Mt.current.set(Ie.symbol,Ie),Bt.current||(Bt.current=setTimeout(()=>{Bt.current=null,je()},Ht)))},Re=async Ie=>{if(Ie){if(Ie.newBalance!==void 0){const nt=parseFloat(Ie.newBalance);isNaN(nt)||$(nt)}if(window.notify){const nt=Ie.profitLoss||Ie.profit||0,yt=nt>=0?`+${nt.toFixed(2)}`:nt.toFixed(2),jt=Ie.symbol||"Trade",MA=Ie.reason||"Closed";window.notify(`Trade Closed: ${MA} | ${jt} | P/L: ${yt} USD`,nt>=0?"success":"error")}Ie.tradeId&&W(nt=>nt.filter(yt=>yt.id!==Ie.tradeId)),await Ft(),await qe()}};return _e.on("connect",rt),_e.on("disconnect",ft),_e.on("priceUpdate",ct),_e.on("tradeClosed",Re),_e.connected&&i&&Number.isFinite(Number(i))&&_e.emit("joinUserRoom",{userId:Number(i)}),()=>{_e.off("connect",rt),_e.off("disconnect",ft),_e.off("priceUpdate",ct),_e.off("tradeClosed",Re),Bt.current&&(clearTimeout(Bt.current),Bt.current=null),Mt.current.clear()}},[je,Ft,qe]),Y.useEffect(()=>{try{const _e=document.documentElement;if(!_e)return;_e.dataset.theme=Ve}catch{}},[Ve]);const gt=Y.useMemo(()=>I.find(_e=>_e.symbol===T)||{bid:"0.00000",ask:"0.00000",change:0},[I,T]),Vt=Y.useRef(T);Y.useEffect(()=>{Vt.current!==T&&(Vt.current=T,l&>&&l({symbol:T,...gt}))},[T,gt,l]);const dt=Y.useMemo(()=>({selectedSymbol:T,setSelectedSymbol:Q,selectedTimeframe:b,setSelectedTimeframe:E,symbols:I,setSymbols:F,symbolsLoading:N,orders:H,setOrders:W,ordersLoading:ee,fetchOrders:Ft,fetchUserBalance:qe,userBalance:ie,setUserBalance:$,accountSummary:Xe,currentSymbolData:gt,activeTool:se,setActiveTool:ce,chartObjects:te,setChartObjects:we,showGrid:j,setShowGrid:ge,snapToGrid:ae,setSnapToGrid:pe,drawingsVisible:ue,setDrawingsVisible:oe,chartType:fe,setChartType:Fe,chartLocked:me,setChartLocked:xe,selectedTradeForModify:Se,setSelectedTradeForModify:He,theme:Ve,setTheme:Ye,candleColors:Pe,setCandleColors:We,showTradeOrders:De,setShowTradeOrders:Je,showTradePosition:it,setShowTradePosition:pt,showTradeHistory:Ee,setShowTradeHistory:Gt,showSLTP:ye,setShowSLTP:be,showAskPrice:ve,setShowAskPrice:Te,showChartControls:Le,setShowChartControls:Me,showTradeNotification:ze,setShowTradeNotification:bt,showCrosshair:Pt,setShowCrosshair:xi,showOHLC:OA,setShowOHLC:wA,baseUrl:c,endpoints:m,endpointParams:v,accountId:i,isShow:qA,setIsShow:jA,historyOrders:oi,setHistoryOrders:Zt,fetchHistoryOrders:Oe,indicators:s,indicatorSettings:o}),[T,b,I,N,H,ee,Ft,qe,ie,Xe,gt,se,te,j,ae,ue,fe,me,Se,Ve,Pe,De,it,Ee,ye,ve,Le,ze,Pt,OA,c,m,v,qA,oi,Oe,s,o]);return a.jsx(iu.Provider,{value:dt,children:A})};var ru={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},nu=Y.createContext&&Y.createContext(ru),gw=["attr","size","title"];function mw(A,e){if(A==null)return{};var t=ww(A,e),i,r;if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);for(r=0;r<n.length;r++)i=n[r],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(A,i)&&(t[i]=A[i])}return t}function ww(A,e){if(A==null)return{};var t={};for(var i in A)if(Object.prototype.hasOwnProperty.call(A,i)){if(e.indexOf(i)>=0)continue;t[i]=A[i]}return t}function $n(){return $n=Object.assign?Object.assign.bind():function(A){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(A[i]=t[i])}return A},$n.apply(this,arguments)}function su(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(A);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(A,r).enumerable})),t.push.apply(t,i)}return t}function Xn(A){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?su(Object(t),!0).forEach(function(i){Bw(A,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):su(Object(t)).forEach(function(i){Object.defineProperty(A,i,Object.getOwnPropertyDescriptor(t,i))})}return A}function Bw(A,e,t){return e=yw(e),e in A?Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):A[e]=t,A}function yw(A){var e=Cw(A,"string");return typeof e=="symbol"?e:e+""}function Cw(A,e){if(typeof A!="object"||!A)return A;var t=A[Symbol.toPrimitive];if(t!==void 0){var i=t.call(A,e);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(A)}function ou(A){return A&&A.map((e,t)=>Y.createElement(e.tag,Xn({key:t},e.attr),ou(e.child)))}function oA(A){return e=>Y.createElement(vw,$n({attr:Xn({},A.attr)},e),ou(A.child))}function vw(A){var e=t=>{var{attr:i,size:r,title:n}=A,s=mw(A,gw),o=r||t.size||"1em",l;return t.className&&(l=t.className),A.className&&(l=(l?l+" ":"")+A.className),Y.createElement("svg",$n({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,i,s,{className:l,style:Xn(Xn({color:A.color||t.color},t.style),A.style),height:o,width:o,xmlns:"http://www.w3.org/2000/svg"}),n&&Y.createElement("title",null,n),A.children)};return nu!==void 0?Y.createElement(nu.Consumer,null,t=>e(t)):e(ru)}function bw(A){return oA({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M432 160H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0 256H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM108.1 96h231.81A12.09 12.09 0 0 0 352 83.9V44.09A12.09 12.09 0 0 0 339.91 32H108.1A12.09 12.09 0 0 0 96 44.09V83.9A12.1 12.1 0 0 0 108.1 96zm231.81 256A12.09 12.09 0 0 0 352 339.9v-39.81A12.09 12.09 0 0 0 339.91 288H108.1A12.09 12.09 0 0 0 96 300.09v39.81a12.1 12.1 0 0 0 12.1 12.1z"},child:[]}]})(A)}function Tw(A){return oA({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M12.83 352h262.34A12.82 12.82 0 0 0 288 339.17v-38.34A12.82 12.82 0 0 0 275.17 288H12.83A12.82 12.82 0 0 0 0 300.83v38.34A12.82 12.82 0 0 0 12.83 352zm0-256h262.34A12.82 12.82 0 0 0 288 83.17V44.83A12.82 12.82 0 0 0 275.17 32H12.83A12.82 12.82 0 0 0 0 44.83v38.34A12.82 12.82 0 0 0 12.83 96zM432 160H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0 256H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"},child:[]}]})(A)}function xw(A){return oA({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M16 224h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16zm416 192H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm3.17-384H172.83A12.82 12.82 0 0 0 160 44.83v38.34A12.82 12.82 0 0 0 172.83 96h262.34A12.82 12.82 0 0 0 448 83.17V44.83A12.82 12.82 0 0 0 435.17 32zm0 256H172.83A12.82 12.82 0 0 0 160 300.83v38.34A12.82 12.82 0 0 0 172.83 352h262.34A12.82 12.82 0 0 0 448 339.17v-38.34A12.82 12.82 0 0 0 435.17 288z"},child:[]}]})(A)}function Fw(A){return oA({attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M333.49 238a122 122 0 0 0 27-65.21C367.87 96.49 308 32 233.42 32H34a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h31.87v288H34a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h209.32c70.8 0 134.14-51.75 141-122.4 4.74-48.45-16.39-92.06-50.83-119.6zM145.66 112h87.76a48 48 0 0 1 0 96h-87.76zm87.76 288h-87.76V288h87.76a56 56 0 0 1 0 112z"},child:[]}]})(A)}function au(A){return oA({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"},child:[]}]})(A)}function Qw(A){return oA({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"},child:[]}]})(A)}function Uw(A){return oA({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z"},child:[]}]})(A)}function Sw(A){return oA({attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M320 48v32a16 16 0 0 1-16 16h-62.76l-80 320H208a16 16 0 0 1 16 16v32a16 16 0 0 1-16 16H16a16 16 0 0 1-16-16v-32a16 16 0 0 1 16-16h62.76l80-320H112a16 16 0 0 1-16-16V48a16 16 0 0 1 16-16h192a16 16 0 0 1 16 16z"},child:[]}]})(A)}function Ew(A){return oA({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M290.74 93.24l128.02 128.02-277.99 277.99-114.14 12.6C11.35 513.54-1.56 500.62.14 485.34l12.7-114.22 277.9-277.88zm207.2-19.06l-60.11-60.11c-18.75-18.75-49.16-18.75-67.91 0l-56.55 56.55 128.02 128.02 56.55-56.55c18.75-18.76 18.75-49.16 0-67.91z"},child:[]}]})(A)}function Lw(A){return oA({attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"},child:[]}]})(A)}const Mw={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1},lu=({bidPrice:A,askPrice:e,userAccountId:t,onTradeExecuted:i,onExecuteTrade:r,forceParentExecution:n=!1})=>{const{theme:s,selectedSymbol:o,fetchOrders:l,baseUrl:c,endpoints:h}=$t(),m=s==="light",[v,T]=Y.useState("0.01"),[Q,b]=Y.useState(""),[E,I]=Y.useState(!1),F=m?"bg-slate-100":"bg-[#12161d]",N=m?"text-slate-700":"text-white",Z=m?"hover:bg-slate-200":"hover:bg-[#1e2635]",H=ee=>{const q=parseFloat(v)||.01,ie=Math.max(.01,q+ee);T(ie.toFixed(2))},W=async ee=>{b("");const q=ee,ie=parseFloat(q==="BUY"?e:A),$=parseFloat(v);if(!$||$<=0||isNaN($)){b("Please enter a valid volume (minimum 0.01)");return}if($<.01){b("Volume must be at least 0.01");return}if(!ie||ie<=0||isNaN(ie)){b("Invalid price. Please refresh and try again.");return}const se=localStorage.getItem("token")??localStorage.getItem("authToken");if(!se){b("Please login to place trades");return}I(!0);const ce=typeof o=="object"?o?.symbol:o;if(r){try{await Promise.resolve(r({symbol:ce,type:q,lotSize:$,entryPrice:ie,stopLoss:null,takeProfit:null})),l&&l(),i&&i()}catch(we){const j=we?.message||"Trade execution failed";b(j)}finally{I(!1)}return}if(n){b("Trade handler not configured"),I(!1);return}const te={accountId:t,symbol:ce,type:q,volume:$,openPrice:ie,takeProfit:null,stopLoss:null};try{const we=c||Mw?.VITE_BASE_URL||"http://localhost:8000",j=h?.trades||"/api/trades",ge=await Ct.post(`${we}${j}`,te,{headers:{Authorization:`Bearer ${se}`,"Content-Type":"application/json"}});if(ge.status<200||ge.status>=300){b(ge.data?.message||`Failed to place trade (${ge.status})`);return}l&&l(),i&&i()}catch(we){const j=we?.response?.data?.message||we?.message||"Network error. Please try again.";b(j)}finally{I(!1)}};return a.jsxs("div",{className:"flex flex-col",children:[a.jsxs("div",{className:"flex items-stretch h-[30px] text-xs font-semibold select-none",children:[a.jsxs("button",{onClick:()=>W("SELL"),disabled:E,className:"flex items-stretch overflow-hidden opacity-100 disabled:opacity-60",children:[a.jsx("span",{className:"flex items-center px-2.5 font-mono tabular-nums bg-[#BD3E3E] text-white",children:A?Number(A).toFixed(5):"—"}),a.jsx("span",{className:"flex items-center px-2.5 tracking-wide bg-[#DE4848] text-white",children:"SELL"})]}),a.jsxs("div",{className:`flex items-stretch ${F}`,children:[a.jsx("button",{type:"button",onClick:()=>H(-.01),className:`w-5 flex items-center justify-center ${N} ${Z} transition-colors`,children:a.jsx(au,{size:8})}),a.jsx("input",{type:"number",value:v,onChange:ee=>{const q=ee.target.value;(q===""||/^\d*\.?\d{0,2}$/.test(q))&&T(q)},onBlur:()=>{const ee=parseFloat(v);T(isNaN(ee)||ee<.01?"0.01":ee.toFixed(2))},className:`w-14 text-center focus:outline-none ${F} ${N}`,step:"0.01",min:"0.01",style:{MozAppearance:"textfield"}}),a.jsx("button",{type:"button",onClick:()=>H(.01),className:`w-5 flex items-center justify-center ${N} ${Z} transition-colors`,children:a.jsx(Qw,{size:8})})]}),a.jsxs("button",{onClick:()=>W("BUY"),disabled:E,className:"flex items-stretch overflow-hidden opacity-100 disabled:opacity-60",children:[a.jsx("span",{className:"flex items-center px-2.5 tracking-wide bg-[#2869CE] text-white",children:"BUY"}),a.jsx("span",{className:"flex items-center px-2.5 font-mono tabular-nums bg-[#2F7CF2] text-white",children:e?Number(e).toFixed(5):"—"})]})]}),Q&&a.jsx("div",{className:"text-red-400 text-xs mt-0.5 px-1",children:Q})]})},Hw={},cu=({isOpen:A,onClose:e,orderType:t,bidPrice:i,askPrice:r,onExecuteTrade:n,userAccountId:s,initialVolume:o,disableOptimistic:l=!1,forceParentExecution:c=!1,tradingEngine:h})=>{const{selectedSymbol:m,selectedTimeframe:v,setOrders:T,symbols:Q,fetchOrders:b,theme:E,baseUrl:I,endpoints:F}=$t(),N=E==="light",Z={getContractSpec:Te=>{const Le=String(Te||"").toUpperCase();return Le.includes("BTC")||Le.includes("ETH")||Le.includes("SOL")||Le.includes("XRP")||Le.includes("ADA")||Le.includes("DOGE")||Le.includes("BNB")||Le.includes("AVAX")||Le.includes("DOT")||Le.includes("LINK")||Le.endsWith("USDT")?{contractSize:1}:Le.includes("XAU")||Le.includes("XAG")?{contractSize:100}:{contractSize:1e5}},calculateVolumeUnits:({symbol:Te,volume:Le})=>{const Me=Z.getContractSpec(Te);return(parseFloat(Le)||0)*(Me.contractSize||1)}},H=h||Z,[W,ee]=Y.useState("0.01"),[q,ie]=Y.useState(""),[$,se]=Y.useState(""),[ce,te]=Y.useState(""),[we,j]=Y.useState(!1),[ge,ae]=Y.useState(null),[pe,ue]=Y.useState(""),[oe,fe]=Y.useState(t||"BUY"),[Fe,me]=Y.useState(parseFloat(i)||0),[xe,Se]=Y.useState(parseFloat(r)||0),[He,Ve]=Y.useState("text-white"),[Ye,Pe]=Y.useState("text-white"),We=Y.useRef(parseFloat(i)||0),De=Y.useRef(parseFloat(r)||0);Y.useEffect(()=>{if(!A)return;const Te=Rn.getSocket(),Le=ze=>{if(!(!ze||!ze.symbol)&&ze.symbol.toUpperCase()===m?.toUpperCase()){const bt=parseFloat(ze.bid)||0,Pt=parseFloat(ze.ask)||0;bt>0&&(bt>We.current?(Ve("text-green-400"),setTimeout(()=>Ve("text-white"),500)):bt<We.current&&We.current>0&&(Ve("text-red-400"),setTimeout(()=>Ve("text-white"),500)),me(bt),We.current=bt),Pt>0&&(Pt>De.current?(Pe("text-green-400"),setTimeout(()=>Pe("text-white"),500)):Pt<De.current&&De.current>0&&(Pe("text-red-400"),setTimeout(()=>Pe("text-white"),500)),Se(Pt),De.current=Pt)}};Te.on("priceUpdate",Le);const Me=Q.find(ze=>ze.symbol===m);if(Me){const ze=parseFloat(Me.bid)||0,bt=parseFloat(Me.ask)||0;ze>0&&(me(ze),We.current=ze),bt>0&&(Se(bt),De.current=bt)}return()=>{Te.off("priceUpdate",Le)}},[A,m,Q]),Y.useEffect(()=>{if(A){ee(o?String(o):"0.01"),ie(""),se(""),te(""),ue(""),fe(t||"BUY");const Te=parseFloat(i)||0,Le=parseFloat(r)||0;Te>0&&(me(Te),We.current=Te),Le>0&&(Se(Le),De.current=Le)}},[A,t,o]);const Je=Fe||0,it=xe||0,pt=Te=>{const Le=parseFloat(W)||.01,Me=Math.max(.01,Le+Te);ee(Me.toFixed(2))},Ee=Te=>{const Le=parseFloat(q)||0,Me=parseFloat(oe==="BUY"?xe:Fe)||0;if(!Me){ue("Current price not available. Please wait...");return}let ze=Le+Te;oe==="BUY"?ze=Math.max(1e-5,Math.min(ze,Me-1e-5)):ze=Math.max(Me+1e-5,ze),ie(ze>0?ze.toFixed(5):""),ue("")},Gt=Te=>{const Le=parseFloat($)||0,Me=parseFloat(oe==="BUY"?xe:Fe)||0;if(!Me){ue("Current price not available. Please wait...");return}let ze=Le+Te;oe==="BUY"?ze=Math.max(Me+1e-5,ze):ze=Math.max(1e-5,Math.min(ze,Me-1e-5)),se(ze>0?ze.toFixed(5):""),ue("")},ye=async Te=>{ue("");const Le=Te||oe,Me=parseFloat(Le==="BUY"?xe:Fe),ze=parseFloat(W),bt=q?parseFloat(q):null,Pt=$?parseFloat($):null;if(!ze||ze<=0||isNaN(ze)){ue("Please enter a valid volume (minimum 0.01)");return}if(ze<.01){ue("Volume must be at least 0.01");return}if(!Me||Me<=0||isNaN(Me)){ue("Invalid price. Please refresh and try again.");return}if(bt!==null&&bt!==""){if(isNaN(bt)||bt<=0){ue("Stop Loss must be a valid positive number");return}if(Le==="BUY"&&bt>=Me){ue("Stop Loss must be below the current price for BUY orders");return}if(Le==="SELL"&&bt<=Me){ue("Stop Loss must be above the current price for SELL orders");return}}if(Pt!==null&&Pt!==""){if(isNaN(Pt)||Pt<=0){ue("Take Profit must be a valid positive number");return}if(Le==="BUY"){if(Pt<=Me){ue(`Take Profit must be above the entry price (${Me.toFixed(5)}) for BUY orders`);return}}else if(Le==="SELL"&&Pt>=Me){ue(`Take Profit must be below the entry price (${Me.toFixed(5)}) for SELL orders`);return}}fe(Le),ae(Le),j(!0);const xi=new Date,OA=xi.toLocaleTimeString(),wA=`temp_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,qA=localStorage.getItem("token")??localStorage.getItem("authToken");if(!qA){ue("Please login to place trades"),j(!1),ae(null);return}const jA={accountId:s,symbol:m,type:Le,volume:ze,price:Me,takeProfit:Pt,stopLoss:bt,comment:ce.trim()||null},oi={ticket:wA.substring(0,8),symbol:m,type:Le,volume:parseFloat(ze),price:parseFloat(Me),time:OA,stopLoss:bt?parseFloat(bt):null,takeProfit:Pt?parseFloat(Pt):null,swap:0,profit:0,profitCurrency:"USD",comment:ce.trim()||"",id:wA,status:"OPEN",openAt:xi.toISOString()};if(!l&&T&&T(Zt=>[...Zt,oi]),c&&!n){ue("Execution handler is required in forceParentExecution mode"),j(!1),ae(null);return}if(n){j(!1),ae(null),e();const Zt={symbol:m,type:Le,lotSize:ze,entryPrice:Me,stopLoss:bt,takeProfit:Pt,comment:ce.trim()||null};Promise.resolve(n(Zt)).then(()=>{console.log("✅ Trade executed successfully via parent handler"),b&&b()}).catch(Yt=>{console.error("❌ Trade execution failed:",Yt),!l&&T&&T(Mt=>Mt.filter(Bt=>Bt.id!==wA))})}else{if(c){ue("Fallback API path disabled in forceParentExecution mode"),j(!1),ae(null);return}j(!1),ae(null),e();const Zt=I||Hw?.VITE_BASE_URL||"http://localhost:8000",Yt=F?.trades||"/api/trades";Ct.post(`${Zt}${Yt}`,jA,{headers:{Authorization:`Bearer ${qA}`,"Content-Type":"application/json"}}).then(Mt=>{if(Mt.data&&Mt.data.data){const Bt=Mt.data.data.trade;!l&&T&&T(Ht=>Ht.map(Ft=>Ft.id===wA?{...Ft,id:Bt.id,ticket:Bt.id.substring(0,8),time:OA,openAt:Bt.openAt}:Ft)),console.log("✅ Trade saved successfully:",Bt),window.notify&&window.notify(`Trade placed successfully: ${Bt.symbol} ${Bt.type}`,"success")}else{!l&&T&&T(Ht=>Ht.filter(Ft=>Ft.id!==wA));const Bt=Mt.data?.message||"Failed to place trade";window.notify&&window.notify(Bt,"error")}}).catch(Mt=>{console.error("Error placing trade:",Mt),!l&&T&&T(Ht=>Ht.filter(Ft=>Ft.id!==wA));let Bt="Failed to place trade";if(Mt.response){const Ht=Mt.response.status,Ft=Mt.response.data;Ht===400?Bt=Ft?.message||"Invalid trade data. Please check your inputs.":Ht===401?Bt="Authentication failed. Please login again.":Ht===404?Bt=Ft?.message||"Symbol not found. Please select a valid symbol.":Ht===500?Bt="Server error. Please try again later.":Bt=Ft?.message||`Error: ${Ht}`}else Mt.request&&(Bt="Network error. Please check your internet connection.");window.notify&&window.notify(Bt,"error")})}},ve=(H?.calculateVolumeUnits?.({symbol:m,volume:parseFloat(W)||0})??0).toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2});return A?a.jsxs("div",{className:`w-full flex flex-col pointer-events-auto z-30 h-full ${N?"bg-white border-r border-slate-300":"bg-[#12161d] border-r border-slate-700"}`,children:[a.jsxs("div",{className:`px-4 py-2.5 flex items-center justify-between border-b ${N?"border-slate-300 bg-white":"border-slate-700 bg-[#12161d]"}`,children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("h3",{className:`text-sm font-semibold ${N?"text-slate-800":"text-white"}`,children:"Market Execution"}),a.jsx("button",{className:`p-0.5 transition-colors ${N?"text-slate-600 hover:text-slate-800":"text-white hover:text-white"}`,children:a.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})})]}),a.jsx("button",{onClick:e,className:`p-1 rounded transition-colors ${N?"text-slate-600 hover:text-slate-800 hover:bg-slate-100":"text-white hover:text-white hover:bg-[#12161d]"}`,children:a.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),a.jsxs("div",{className:"overflow-y-auto p-4 space-y-4 flex-1",children:[pe&&a.jsx("div",{className:"p-2 rounded-lg bg-rose-500/10 border border-rose-500/50 text-rose-400 text-xs",children:pe}),a.jsxs("div",{children:[a.jsxs("div",{className:"flex items-center justify-between mb-4",children:[a.jsx("label",{className:`text-sm font-medium ${N?"text-slate-700":"text-white"}`,children:"Volume"}),a.jsxs("span",{className:`text-sm ${N?"text-slate-700":"text-white"}`,children:[ve," ",m]})]}),a.jsxs("div",{className:"relative flex items-center",children:[a.jsx("button",{type:"button",onClick:()=>pt(-.01),className:`absolute left-1 w-8 h-8 flex items-center justify-center rounded text-sm transition-colors z-10 ${N?"bg-slate-100 hover:bg-slate-400 text-slate-700":"bg-[#12161d] hover:bg-slate-600 text-white"}`,children:"−"}),a.jsx("input",{type:"number",value:W,onChange:Te=>{const Le=Te.target.value;(Le===""||/^\d*\.?\d{0,2}$/.test(Le))&&(ee(Le),ue(""))},onBlur:()=>{const Te=parseFloat(W);ee(isNaN(Te)||Te<.01?"0.01":Te.toFixed(2))},className:`w-full px-10 py-2 rounded text-sm focus:outline-none focus:border-secondary text-center ${N?"bg-white border border-slate-400 text-slate-800":"bg-[#12161d] border border-slate-700 text-white"}`,step:"0.01",min:"0.01",placeholder:"0.01"}),a.jsx("button",{type:"button",onClick:()=>pt(.01),className:`absolute right-1 w-8 h-8 flex items-center justify-center rounded text-sm transition-colors z-10 ${N?"bg-slate-100 hover:bg-slate-400 text-slate-700":"bg-[#12161d] hover:bg-slate-600 text-white"}`,children:"+"})]})]}),a.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[a.jsxs("div",{children:[a.jsx("div",{className:"flex items-center justify-between mb-2",children:a.jsx("label",{className:`text-sm font-medium ${N?"text-slate-700":"text-white"}`,children:"Stop Loss"})}),a.jsxs("div",{className:"relative flex items-center",children:[a.jsx("button",{type:"button",onClick:()=>Ee(-1e-4),className:`absolute left-1 w-8 h-8 flex items-center justify-center rounded text-sm transition-colors z-10 ${N?"bg-slate-100 hover:bg-slate-400 text-slate-700":"bg-[#12161d] hover:bg-slate-600 text-white"}`,title:"Decrease SL",children:"−"}),a.jsx("input",{type:"text",value:q,onChange:Te=>{const Le=Te.target.value;(Le===""||/^\d*\.?\d*$/.test(Le))&&(ie(Le),ue(""))},onBlur:Te=>{const Le=parseFloat(Te.target.value);!isNaN(Le)&&Le>0?ie(Le.toFixed(5)):Te.target.value===""&&ie("")},placeholder:"0.00000",className:`w-full px-10 py-2 rounded text-sm focus:outline-none focus:border-secondary text-center ${N?"bg-white border border-slate-400 text-slate-800":"bg-[#12161d] border border-slate-700 text-slate-100"}`}),a.jsx("button",{type:"button",onClick:()=>Ee(1e-4),className:`absolute right-1 w-8 h-8 flex items-center justify-center rounded text-sm transition-colors z-10 ${N?"bg-slate-100 hover:bg-slate-400 text-slate-700":"bg-[#12161d] hover:bg-slate-600 text-white"}`,title:"Increase SL",children:"+"})]})]}),a.jsxs("div",{children:[a.jsx("div",{className:"flex items-center justify-between mb-2",children:a.jsx("label",{className:`text-sm font-medium ${N?"text-slate-700":"text-white"}`,children:"Take Profit"})}),a.jsxs("div",{className:"relative flex items-center",children:[a.jsx("button",{type:"button",onClick:()=>Gt(-1e-4),className:`absolute left-1 w-8 h-8 flex items-center justify-center rounded text-sm transition-colors z-10 ${N?"bg-slate-100 hover:bg-slate-400 text-slate-700":"bg-[#12161d] hover:bg-slate-600 text-white"}`,title:"Decrease TP",children:"−"}),a.jsx("input",{type:"text",value:$,onChange:Te=>{const Le=Te.target.value;(Le===""||/^\d*\.?\d*$/.test(Le))&&(se(Le),ue(""))},onBlur:Te=>{const Le=parseFloat(Te.target.value);!isNaN(Le)&&Le>0?se(Le.toFixed(5)):Te.target.value===""&&se("")},placeholder:"0.00000",className:`w-full px-10 py-2 rounded text-sm focus:outline-none focus:border-secondary text-center ${N?"bg-white border border-slate-400 text-slate-800":"bg-[#12161d] border border-slate-700 text-slate-100"}`}),a.jsx("button",{type:"button",onClick:()=>Gt(1e-4),className:`absolute right-1 w-8 h-8 flex items-center justify-center rounded text-sm transition-colors z-10 ${N?"bg-slate-100 hover:bg-slate-400 text-slate-700":"bg-[#12161d] hover:bg-slate-600 text-white"}`,title:"Increase TP",children:"+"})]})]})]}),a.jsxs("div",{children:[a.jsx("label",{className:`block text-sm font-medium mb-2 ${N?"text-slate-700":"text-white"}`,children:"Comment"}),a.jsx("textarea",{value:ce,onChange:Te=>te(Te.target.value),placeholder:"Optional comment",rows:2,className:`w-full px-3 py-2 rounded text-sm focus:outline-none focus:border-secondary resize-none ${N?"bg-white border border-slate-400 text-slate-800":"bg-[#12161d] border border-slate-700 text-slate-100"}`})]}),a.jsxs("div",{className:`flex items-center justify-between py-2 border-t ${N?"border-slate-400":"border-slate-700"}`,children:[a.jsxs("div",{className:"text-sm",children:[a.jsx("span",{className:N?"text-slate-700":"text-white",children:"Bid: "}),a.jsx("span",{className:`${He} font-medium transition-colors duration-400`,children:Je>0?Je.toFixed(5):"---"})]}),a.jsxs("div",{className:"text-sm",children:[a.jsx("span",{className:N?"text-slate-700":"text-white",children:"Ask: "}),a.jsx("span",{className:`${Ye} font-medium transition-colors duration-400`,children:it>0?it.toFixed(5):"---"})]})]}),a.jsxs("div",{className:"grid grid-cols-2 gap-3 pt-2",children:[a.jsx("button",{onClick:()=>ye("SELL"),disabled:we,className:"px-4 py-3 bg-rose-600 hover:bg-rose-700 text-white font-semibold rounded text-sm transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:we&&ge==="SELL"?a.jsxs("span",{className:"flex items-center justify-center gap-2",children:[a.jsxs("svg",{className:"animate-spin h-4 w-4",viewBox:"0 0 24 24",children:[a.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",fill:"none"}),a.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Placing..."]}):"Sell by Market"}),a.jsx("button",{onClick:()=>ye("BUY"),disabled:we,className:"px-4 py-3 bg-sky-600 hover:bg-sky-700 text-white font-semibold rounded text-sm transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:we&&ge==="BUY"?a.jsxs("span",{className:"flex items-center justify-center gap-2",children:[a.jsxs("svg",{className:"animate-spin h-4 w-4",viewBox:"0 0 24 24",children:[a.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",fill:"none"}),a.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Placing..."]}):"Buy by Market"})]})]})]}):null},Iw={text:"Text",trendline:"Trend Line",parallellines:"Parallel Channel",fibonacci:"Fibonacci Retracement",rectangle:"Rectangle",pricelevel:"Horizontal Line",horizontalray:"Horizontal Ray",verticalline:"Vertical Line",infoline:"Info Line",rulerline:"Ruler Line",arrowedline:"Arrowed Line",rayline:"Ray",extendedline:"Extended Line",crossline:"Cross Line",trendbyangle:"Trend By Angle",disjointchannel:"Disjoint Channel",flattopbottom:"Flat Top/Bottom",regressionchannel:"Regression Channel",stddevchannel:"StdDev Channel",andrewspitchfork:"Andrew's Pitchfork",gannline:"Gann Line",gannfan:"Gann Fan",ganngrid:"Gann Grid",circle:"Circle",triangle:"Triangle",ellipse:"Ellipse",equidistantchannel:"Equidistant Channel"},Pw=[10,11,12,14,16,20,24,28,30,40],Jn=[{key:"M1",label:"1 Minute"},{key:"M5",label:"5 Minutes"},{key:"M15",label:"15 Minutes"},{key:"M30",label:"30 Minutes"},{key:"H1",label:"1 Hour"},{key:"H4",label:"4 Hours"},{key:"D1",label:"Daily"},{key:"W1",label:"Weekly"},{key:"MN",label:"Monthly"}],ui={width:"78%",height:"78%",display:"block"},pa={position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0};function Dw(A){return A?{background:"#ffffff",text:"#1f2937",mutedText:"#6b7280",border:"#cfd6df",fieldBg:"#ffffff",fieldBorder:"#cfd6df",fieldDisabledBg:"#e5e7eb",fieldDisabledText:"#9ca3af",headerBlue:"#2f80ed",headerText:"#ffffff",activeFill:"#eaf3ff",activeText:"#2f80ed",green:"#22a447",greenHover:"#2bb151",greenActive:"#1f8f3d"}:{background:"#242d3d",text:"#e5e7eb",mutedText:"#a7b0c0",border:"#4a5568",fieldBg:"#2f3a4e",fieldBorder:"#5f6a80",fieldDisabledBg:"#4f5a70",fieldDisabledText:"#9aa3b2",headerBlue:"#2f80ed",headerText:"#ffffff",activeFill:"#dbeafe",activeText:"#1d4ed8",green:"#22a447",greenHover:"#2bb151",greenActive:"#1f8f3d"}}function Lt(A,e="#5f8f96"){if(typeof A!="string")return e;const t=A.trim();if(!t)return e;const i=t.startsWith("#")?t:`#${t}`;return/^#[0-9A-Fa-f]{6}$/.test(i)?i.toLowerCase():e}const _w=()=>a.jsx(Ew,{style:ui}),kw=()=>a.jsx(Lw,{style:ui}),Ow=()=>a.jsx(Fw,{style:ui}),Nw=()=>a.jsx(Sw,{style:ui}),Kw=()=>a.jsx(Tw,{style:ui}),zw=()=>a.jsx(bw,{style:ui}),Vw=()=>a.jsx(xw,{style:ui}),Ww=()=>a.jsx(au,{style:ui}),da=({size:A,children:e})=>a.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:A,height:A},children:e});function Er({checked:A,onClick:e,hideLeftBorder:t,tokens:i,children:r,title:n}){return a.jsx("button",{type:"button",onClick:e,title:n,style:{display:"flex",width:30,height:30,alignItems:"center",justifyContent:"center",border:`1px solid ${i.border}`,borderLeftWidth:t?0:1,background:A?i.activeFill:"transparent",color:A?i.activeText:i.text,cursor:"pointer",padding:0},children:a.jsx(da,{size:"18px",children:r})})}function Ne({checked:A,onChange:e,label:t,tokens:i,disabled:r=!1}){return a.jsxs("label",{style:{display:"inline-flex",alignItems:"center",userSelect:"none",opacity:r?.5:1,cursor:r?"default":"pointer"},children:[a.jsx("input",{type:"checkbox",checked:A,onChange:n=>e(n.target.checked),disabled:r,style:pa}),a.jsx("span",{style:{width:18,height:18,marginRight:8,display:"inline-flex",alignItems:"center",justifyContent:"center",border:`1px solid ${i.border}`,background:i.fieldBg},children:A&&a.jsx("span",{style:{width:10,height:10,background:i.headerBlue}})}),a.jsx("span",{style:{fontSize:12,color:i.text},children:t})]})}const pi=A=>({height:30,border:`1px solid ${A.fieldBorder}`,padding:"0 6px",background:A.fieldBg,color:A.text,boxSizing:"border-box",outline:"none"});function lt({value:A,onChange:e,onBlur:t,disabled:i=!1,tokens:r}){const n=Lt(A,"#5f8f96"),s=(A||"").replace("#",""),o={display:"inline-flex",alignItems:"center",width:104,height:30,padding:4,opacity:i?.5:1,border:`1px solid ${r.fieldBorder}`,background:r.fieldBg,boxSizing:"border-box"},l={position:"relative",width:20,height:20,display:"block",flexShrink:0},c={width:"100%",minWidth:0,height:"100%",border:"none",marginLeft:"4px",padding:"0 8px 0 2px",fontFamily:"ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif",fontSize:12,lineHeight:"30px",textTransform:"lowercase",outline:"none",boxSizing:"border-box",background:"transparent",color:i?r.fieldDisabledText:r.text};return a.jsxs("div",{style:o,children:[a.jsxs("label",{style:l,children:[a.jsx("input",{type:"color",value:n,onChange:h=>e(h.target.value),disabled:i,style:{...pa,position:"absolute"}}),a.jsx("span",{style:{display:"block",width:20,height:20,boxShadow:"inset 0 0 0 1px #c7cdd7",background:n}})]}),a.jsx("input",{type:"text",size:0,maxLength:6,value:s,onChange:h=>{const m=h.target.value.replace(/[^0-9a-fA-F]/g,"").slice(0,6);e(m?`#${m}`:"")},onBlur:t,disabled:i,style:c})]})}function wt({tokens:A,disabled:e=!1,style:t={},...i}){return a.jsx("input",{type:"number",disabled:e,style:{height:30,width:"100%",border:`1px solid ${e?A.fieldDisabledBg:A.fieldBorder}`,padding:"0 4px",fontSize:12,outline:"none",boxSizing:"border-box",background:e?A.fieldDisabledBg:A.fieldBg,color:e?A.fieldDisabledText:A.text,...t},...i})}function di({value:A,onChange:e,tokens:t,disabled:i=!1,width:r,children:n}){return a.jsxs("div",{style:{position:"relative",width:r??"100%",height:30,flexShrink:0},children:[a.jsx("select",{value:A,onChange:e,disabled:i,style:{width:"100%",height:"100%",appearance:"none",border:`1px solid ${i?t.fieldDisabledBg:t.fieldBorder}`,padding:"0 26px 0 8px",fontSize:12,outline:"none",boxSizing:"border-box",background:i?t.fieldDisabledBg:t.fieldBg,color:i?t.fieldDisabledText:t.text,cursor:i?"default":"pointer",opacity:i?.5:1},children:n}),a.jsx("div",{style:{position:"absolute",right:8,top:"50%",transform:"translateY(-50%)",width:16,height:16,pointerEvents:"none",color:t.mutedText,display:"flex",alignItems:"center",justifyContent:"center"},children:a.jsx(Ww,{})})]})}function Gw({draft:A,setDraft:e,tokens:t}){const i=A.visibleTimeframes?.length===Jn.length,r=()=>{e(s=>({...s,visibleTimeframes:i?[]:Jn.map(o=>o.key)}))},n=s=>{e(o=>{const l=o.visibleTimeframes||[];return{...o,visibleTimeframes:l.includes(s)?l.filter(c=>c!==s):[...l,s]}})};return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:12,padding:"8px 16px"},children:[a.jsx(Ne,{checked:i,onChange:r,label:"Show on all the timeframes",tokens:t}),a.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(3, minmax(0, 1fr))",columnGap:12,rowGap:8},children:Jn.map(s=>a.jsx(Ne,{checked:(A.visibleTimeframes||[]).includes(s.key),onChange:()=>n(s.key),label:s.label,tokens:t,disabled:i},s.key))})]})}function Rw({draft:A,setDraft:e,tokens:t}){const i=(n,s)=>e(o=>({...o,[n]:s})),r=(n,s,o)=>{i(n,Lt(s,o))};return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:12,padding:"8px 16px"},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[a.jsx(lt,{value:A.color||"#5f8f96",onChange:n=>i("color",n),onBlur:()=>r("color",A.color,"#5f8f96"),tokens:t}),a.jsx(di,{value:A.fontSize||12,onChange:n=>i("fontSize",Number(n.target.value)),tokens:t,width:84,children:Pw.map(n=>a.jsx("option",{value:n,children:n},n))}),a.jsxs("div",{style:{display:"flex"},children:[a.jsx(Er,{checked:A.fontWeight==="bold",onClick:()=>i("fontWeight",A.fontWeight==="bold"?"normal":"bold"),tokens:t,title:"Bold",children:a.jsx(Ow,{})}),a.jsx(Er,{checked:A.fontStyle==="italic",onClick:()=>i("fontStyle",A.fontStyle==="italic"?"normal":"italic"),hideLeftBorder:!0,tokens:t,title:"Italic",children:a.jsx(Nw,{})})]}),a.jsxs("div",{style:{display:"flex"},children:[a.jsx(Er,{checked:A.textAlign==="left",onClick:()=>i("textAlign","left"),tokens:t,title:"Align left",children:a.jsx(Kw,{})}),a.jsx(Er,{checked:A.textAlign==="center",onClick:()=>i("textAlign","center"),hideLeftBorder:!0,tokens:t,title:"Align center",children:a.jsx(zw,{})}),a.jsx(Er,{checked:A.textAlign==="right",onClick:()=>i("textAlign","right"),hideLeftBorder:!0,tokens:t,title:"Align right",children:a.jsx(Vw,{})})]})]}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"112px 104px 56px minmax(112px, 1fr)",gap:8,alignItems:"center"},children:[a.jsx(Ne,{checked:!!A.textWrap,onChange:n=>i("textWrap",n),label:"Text Wrap",tokens:t}),a.jsx("div",{}),a.jsx("div",{}),a.jsx("div",{}),a.jsx(Ne,{checked:!!A.borderEnabled,onChange:n=>i("borderEnabled",n),label:"Border",tokens:t}),a.jsx(lt,{value:A.borderColor||"#5f8f96",onChange:n=>i("borderColor",n),onBlur:()=>r("borderColor",A.borderColor,"#5f8f96"),disabled:!A.borderEnabled,tokens:t}),a.jsx(wt,{tokens:t,min:"0",max:"1",step:"0.01",disabled:!A.borderEnabled,value:A.borderOpacity??.1,onChange:n=>i("borderOpacity",Number(n.target.value))}),a.jsxs("div",{style:{display:"flex",height:30,alignItems:"center",gap:8},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",disabled:!A.borderEnabled,value:A.borderWidth??1,onChange:n=>i("borderWidth",Number(n.target.value)),style:{width:"100%",accentColor:t.headerBlue}}),a.jsx("span",{style:{width:16,fontSize:12,color:t.text},children:A.borderWidth??1})]}),a.jsx(Ne,{checked:!!A.bgEnabled,onChange:n=>i("bgEnabled",n),label:"Background",tokens:t}),a.jsx(lt,{value:A.bgColor||"#5f8f96",onChange:n=>i("bgColor",n),onBlur:()=>r("bgColor",A.bgColor,"#5f8f96"),disabled:!A.bgEnabled,tokens:t}),a.jsx(wt,{tokens:t,min:"0",max:"1",step:"0.01",disabled:!A.bgEnabled,value:A.bgOpacity??.1,onChange:n=>i("bgOpacity",Number(n.target.value))}),a.jsx("div",{})]}),a.jsx("textarea",{value:A.text||"",onChange:n=>i("text",n.target.value),placeholder:"Your text",rows:4,style:{width:"100%",resize:"none",border:`1px solid ${t.fieldBorder}`,padding:8,fontSize:12,lineHeight:"20px",outline:"none",boxSizing:"border-box",background:t.fieldBg,color:t.text}})]})}function $w({draft:A,setDraft:e,tokens:t}){const i=(n,s)=>e(o=>({...o,[n]:s})),r=(n,s,o)=>i(n,Lt(s,o));return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,padding:"12px 16px"},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[a.jsx(lt,{value:A.lineColor||"#7aa6ae",onChange:n=>i("lineColor",n),onBlur:()=>r("lineColor",A.lineColor,"#7aa6ae"),tokens:t}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A.lineWidth??2,onChange:n=>i("lineWidth",Number(n.target.value)),style:{flex:1,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:16,fontSize:12,color:t.text,textAlign:"right"},children:A.lineWidth??2})]})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:24},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60},children:"Arrows"}),a.jsx(Ne,{checked:!!A.arrowLeft,onChange:n=>i("arrowLeft",n),label:"Left",tokens:t}),a.jsx(Ne,{checked:!!A.arrowRight,onChange:n=>i("arrowRight",n),label:"Right",tokens:t})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:24},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60},children:"Rays"}),a.jsx(Ne,{checked:!!A.rayLeft,onChange:n=>i("rayLeft",n),label:"Left",tokens:t}),a.jsx(Ne,{checked:!!A.rayRight,onChange:n=>i("rayRight",n),label:"Right",tokens:t})]}),a.jsxs("div",{children:[a.jsx("div",{style:{fontSize:13,fontWeight:600,color:t.text,marginBottom:10},children:"Statistics"}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"60px 104px minmax(80px, 1fr) auto",alignItems:"center",gap:8,marginBottom:10},children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"Style"}),a.jsx(lt,{value:A.statsColor||"#5f8f96",onChange:n=>i("statsColor",n),onBlur:()=>r("statsColor",A.statsColor,"#5f8f96"),tokens:t}),a.jsxs(di,{value:A.statsPosition??"right",onChange:n=>i("statsPosition",n.target.value),tokens:t,children:[a.jsx("option",{value:"left",children:"Left"}),a.jsx("option",{value:"center",children:"Center"}),a.jsx("option",{value:"right",children:"Right"})]}),a.jsx(Ne,{checked:!!A.statsShowAlways,onChange:n=>i("statsShowAlways",n),label:"Show always",tokens:t})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:16},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60,flexShrink:0},children:"Properties"}),a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[a.jsx(Ne,{checked:!!A.statsPriceRange,onChange:n=>i("statsPriceRange",n),label:"Price range",tokens:t}),a.jsx(Ne,{checked:!!A.statsBarsRange,onChange:n=>i("statsBarsRange",n),label:"Bars range",tokens:t}),a.jsx(Ne,{checked:!!A.statsDateRange,onChange:n=>i("statsDateRange",n),label:"Date range",tokens:t}),a.jsx(Ne,{checked:!!A.statsDistance,onChange:n=>i("statsDistance",n),label:"Distance",tokens:t})]})]})]})]})}function Zn({draft:A,setDraft:e,tokens:t}){const i=(n,s)=>e(o=>({...o,[n]:s})),r=(n,s,o)=>i(n,Lt(s,o));return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,padding:"12px 16px"},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[a.jsx(lt,{value:A.lineColor||"#22c55e",onChange:n=>i("lineColor",n),onBlur:()=>r("lineColor",A.lineColor,"#22c55e"),tokens:t}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A.lineWidth??2,onChange:n=>i("lineWidth",Number(n.target.value)),style:{flex:1,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:16,fontSize:12,color:t.text,textAlign:"right"},children:A.lineWidth??2})]})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:24},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60},children:"Arrows"}),a.jsx(Ne,{checked:!!A.arrowLeft,onChange:n=>i("arrowLeft",n),label:"Left",tokens:t}),a.jsx(Ne,{checked:!!A.arrowRight,onChange:n=>i("arrowRight",n),label:"Right",tokens:t})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:24},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60},children:"Rays"}),a.jsx(Ne,{checked:!!A.rayLeft,onChange:n=>i("rayLeft",n),label:"Left",tokens:t}),a.jsx(Ne,{checked:!!A.rayRight,onChange:n=>i("rayRight",n),label:"Right",tokens:t})]}),a.jsxs("div",{children:[a.jsx("div",{style:{fontSize:13,fontWeight:600,color:t.text,marginBottom:10},children:"Statistics"}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"60px 104px minmax(80px, 1fr) auto",alignItems:"center",gap:8,marginBottom:10},children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"Style"}),a.jsx(lt,{value:A.statsColor||"#5f8f96",onChange:n=>i("statsColor",n),onBlur:()=>r("statsColor",A.statsColor,"#5f8f96"),tokens:t}),a.jsxs(di,{value:A.statsPosition??"right",onChange:n=>i("statsPosition",n.target.value),tokens:t,children:[a.jsx("option",{value:"left",children:"Left"}),a.jsx("option",{value:"center",children:"Center"}),a.jsx("option",{value:"right",children:"Right"})]}),a.jsx(Ne,{checked:!!A.statsShowAlways,onChange:n=>i("statsShowAlways",n),label:"Show always",tokens:t})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:16},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60,flexShrink:0},children:"Properties"}),a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[a.jsx(Ne,{checked:!!A.statsPriceRange,onChange:n=>i("statsPriceRange",n),label:"Price range",tokens:t}),a.jsx(Ne,{checked:!!A.statsBarsRange,onChange:n=>i("statsBarsRange",n),label:"Bars range",tokens:t}),a.jsx(Ne,{checked:!!A.statsDateRange,onChange:n=>i("statsDateRange",n),label:"Date range",tokens:t}),a.jsx(Ne,{checked:!!A.statsAngle,onChange:n=>i("statsAngle",n),label:"Angle",tokens:t}),a.jsx(Ne,{checked:!!A.statsDistance,onChange:n=>i("statsDistance",n),label:"Distance",tokens:t})]})]})]})]})}function Xw({draft:A,setDraft:e,tokens:t}){const i=(n,s)=>e(o=>({...o,[n]:s})),r=(n,s,o)=>i(n,Lt(s,o));return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,padding:"12px 16px"},children:[a.jsx("div",{style:{display:"flex",alignItems:"center",gap:12},children:a.jsx(lt,{value:A.lineColor||"#3b82f6",onChange:n=>i("lineColor",n),onBlur:()=>r("lineColor",A.lineColor,"#3b82f6"),tokens:t})}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[a.jsx("div",{style:{fontSize:13,fontWeight:600,color:t.text},children:"Properties"}),a.jsx(Ne,{checked:A.showArea!==!1,onChange:n=>i("showArea",n),label:"Show area",tokens:t})]}),a.jsxs("div",{children:[a.jsx("div",{style:{fontSize:13,fontWeight:600,color:t.text,marginBottom:10},children:"Statistics"}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"60px 104px minmax(80px, 1fr) auto",alignItems:"center",gap:8,marginBottom:10},children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"Style"}),a.jsx(lt,{value:A.statsColor||"#5f8f96",onChange:n=>i("statsColor",n),onBlur:()=>r("statsColor",A.statsColor,"#5f8f96"),tokens:t}),a.jsxs(di,{value:A.statsPosition??"right",onChange:n=>i("statsPosition",n.target.value),tokens:t,children:[a.jsx("option",{value:"left",children:"Left"}),a.jsx("option",{value:"center",children:"Center"}),a.jsx("option",{value:"right",children:"Right"})]}),a.jsx(Ne,{checked:!!A.statsShowAlways,onChange:n=>i("statsShowAlways",n),label:"Show always",tokens:t})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:16},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60,flexShrink:0},children:"Properties"}),a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[a.jsx(Ne,{checked:!!A.statsPriceRange,onChange:n=>i("statsPriceRange",n),label:"Price range",tokens:t}),a.jsx(Ne,{checked:!!A.statsBarsRange,onChange:n=>i("statsBarsRange",n),label:"Bars range",tokens:t}),a.jsx(Ne,{checked:!!A.statsDateRange,onChange:n=>i("statsDateRange",n),label:"Date range",tokens:t})]})]})]})]})}function Jw({draft:A,setDraft:e,tokens:t}){const i=(n,s)=>e(o=>({...o,[n]:s})),r=(n,s,o)=>i(n,Lt(s,o));return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,padding:"12px 16px"},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[a.jsx(lt,{value:A.lineColor||"#3b82f6",onChange:n=>i("lineColor",n),onBlur:()=>r("lineColor",A.lineColor,"#3b82f6"),tokens:t}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A.lineWidth??2,onChange:n=>i("lineWidth",Number(n.target.value)),style:{flex:1,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:16,fontSize:12,color:t.text,textAlign:"right"},children:A.lineWidth??2})]})]}),a.jsxs("div",{children:[a.jsx("div",{style:{fontSize:13,fontWeight:600,color:t.text,marginBottom:10},children:"Statistics"}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"60px 104px minmax(80px, 1fr) auto",alignItems:"center",gap:8,marginBottom:10},children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"Style"}),a.jsx(lt,{value:A.statsColor||"#5f8f96",onChange:n=>i("statsColor",n),onBlur:()=>r("statsColor",A.statsColor,"#5f8f96"),tokens:t}),a.jsxs(di,{value:A.statsPosition??"right",onChange:n=>i("statsPosition",n.target.value),tokens:t,children:[a.jsx("option",{value:"left",children:"Left"}),a.jsx("option",{value:"center",children:"Center"}),a.jsx("option",{value:"right",children:"Right"})]}),a.jsx(Ne,{checked:!!A.statsShowAlways,onChange:n=>i("statsShowAlways",n),label:"Show always",tokens:t})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:16},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60,flexShrink:0},children:"Properties"}),a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[a.jsx(Ne,{checked:!!A.statsPriceRange,onChange:n=>i("statsPriceRange",n),label:"Price range",tokens:t}),a.jsx(Ne,{checked:!!A.statsBarsRange,onChange:n=>i("statsBarsRange",n),label:"Bars range",tokens:t}),a.jsx(Ne,{checked:!!A.statsDateRange,onChange:n=>i("statsDateRange",n),label:"Date range",tokens:t}),a.jsx(Ne,{checked:!!A.statsAngle,onChange:n=>i("statsAngle",n),label:"Angle",tokens:t}),a.jsx(Ne,{checked:!!A.statsDistance,onChange:n=>i("statsDistance",n),label:"Distance",tokens:t})]})]})]})]})}function Zw({draft:A,setDraft:e,tokens:t}){return a.jsx("div",{style:{padding:"12px 16px"},children:a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[a.jsx("span",{style:{fontSize:12,whiteSpace:"nowrap",color:t.text},children:"#1 (Bar, Price)"}),a.jsx(wt,{tokens:t,value:A.price??"",onChange:i=>{const r=Number(i.target.value);Number.isFinite(r)&&e(n=>({...n,price:r}))},style:{width:180}})]})})}function dA(A){if(!A)return"";const e=new Date(A*1e3),t=i=>String(i).padStart(2,"0");return`${t(e.getUTCDate())}.${t(e.getUTCMonth()+1)}.${e.getUTCFullYear()} ${t(e.getUTCHours())}:${t(e.getUTCMinutes())}:${t(e.getUTCSeconds())}`}function FA({draft:A,setDraft:e,tokens:t}){const i=(s,o)=>{const l=Number(o);Number.isFinite(l)&&e(c=>({...c,[s]:l}))},r={display:"grid",gridTemplateColumns:"100px 1fr 110px",alignItems:"center",gap:8},n={height:30,width:"100%",border:`1px solid ${t.fieldBorder}`,padding:"0 8px",fontSize:12,outline:"none",boxSizing:"border-box",background:t.fieldDisabledBg,color:t.fieldDisabledText};return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:12,padding:"12px 16px"},children:[a.jsxs("div",{style:r,children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#1 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.point1Time),style:n}),a.jsx(wt,{tokens:t,value:A.point1Price??"",onChange:s=>i("point1Price",s.target.value)})]}),a.jsxs("div",{style:r,children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#2 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.point2Time),style:n}),a.jsx(wt,{tokens:t,value:A.point2Price??"",onChange:s=>i("point2Price",s.target.value)})]})]})}function hu({draft:A,setDraft:e,tokens:t}){const i=(s,o)=>e(l=>({...l,[s]:o})),r=(s,o,l)=>i(s,Lt(o,l)),n=!A.showText;return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,padding:"12px 16px"},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[a.jsx(lt,{value:A.lineColor||"#3b82f6",onChange:s=>i("lineColor",s),onBlur:()=>r("lineColor",A.lineColor,"#3b82f6"),tokens:t}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A.lineWidth??2,onChange:s=>i("lineWidth",Number(s.target.value)),style:{flex:1,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:16,fontSize:12,color:t.text,textAlign:"right"},children:A.lineWidth??2})]})]}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr 1fr 1fr",gap:8,alignItems:"center"},children:[a.jsx("div",{style:{fontSize:12,fontWeight:600,color:t.text},children:"Properties"}),a.jsx(Ne,{checked:A.showPrice!==!1,onChange:s=>i("showPrice",s),label:"Show price",tokens:t}),a.jsx("div",{}),a.jsx("div",{}),a.jsx(Ne,{checked:!!A.showText,onChange:s=>i("showText",s),label:"Show text",tokens:t}),a.jsx(lt,{value:A.textColor||"#ffffff",onChange:s=>i("textColor",s),onBlur:()=>r("textColor",A.textColor,"#ffffff"),disabled:n,tokens:t}),a.jsxs(di,{value:A.textHAlign??"center",onChange:s=>i("textHAlign",s.target.value),disabled:n,tokens:t,width:90,children:[a.jsx("option",{value:"left",children:"Left"}),a.jsx("option",{value:"center",children:"Center"}),a.jsx("option",{value:"right",children:"Right"})]}),a.jsxs(di,{value:A.textVAlign??"top",onChange:s=>i("textVAlign",s.target.value),disabled:n,tokens:t,width:90,children:[a.jsx("option",{value:"top",children:"Top"}),a.jsx("option",{value:"middle",children:"Middle"}),a.jsx("option",{value:"bottom",children:"Bottom"})]})]}),a.jsx("textarea",{value:A.textContent||"",onChange:s=>i("textContent",s.target.value),placeholder:"Your text",rows:4,disabled:n,style:{width:"100%",resize:"none",border:`1px solid ${n?t.fieldDisabledBg:t.fieldBorder}`,padding:8,fontSize:12,lineHeight:"20px",outline:"none",boxSizing:"border-box",background:n?t.fieldDisabledBg:t.fieldBg,color:n?t.fieldDisabledText:t.text,opacity:n?.5:1}})]})}function Yw({draft:A,setDraft:e,tokens:t}){return a.jsx("div",{style:{padding:"12px 16px"},children:a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[a.jsx("span",{style:{fontSize:12,whiteSpace:"nowrap",color:t.text},children:"Price"}),a.jsx(wt,{tokens:t,value:A.price??"",onChange:i=>{const r=Number(i.target.value);Number.isFinite(r)&&e(n=>({...n,price:r}))},style:{width:180}})]})})}function qw({draft:A,setDraft:e,tokens:t}){const i={display:"grid",gridTemplateColumns:"100px 1fr 110px",alignItems:"center",gap:8},r={height:30,width:"100%",border:`1px solid ${t.fieldBorder}`,padding:"0 8px",fontSize:12,outline:"none",boxSizing:"border-box",background:t.fieldDisabledBg,color:t.fieldDisabledText};return a.jsx("div",{style:{padding:"12px 16px"},children:a.jsxs("div",{style:i,children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#1 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.originTime),style:r}),a.jsx(wt,{tokens:t,value:A.price??"",onChange:n=>{const s=Number(n.target.value);Number.isFinite(s)&&e(o=>({...o,price:s}))}})]})})}function jw({draft:A,setDraft:e,tokens:t}){const i=(n,s)=>e(o=>({...o,[n]:s})),r=(n,s,o)=>i(n,Lt(s,o));return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,padding:"12px 16px"},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[a.jsx(lt,{value:A.lineColor||"#3b82f6",onChange:n=>i("lineColor",n),onBlur:()=>r("lineColor",A.lineColor,"#3b82f6"),tokens:t}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A.lineWidth??2,onChange:n=>i("lineWidth",Number(n.target.value)),style:{flex:1,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:16,fontSize:12,color:t.text,textAlign:"right"},children:A.lineWidth??2})]})]}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr 1fr 1fr",gap:8,alignItems:"center"},children:[a.jsx("div",{style:{fontSize:12,fontWeight:600,color:t.text},children:"Properties"}),a.jsx(Ne,{checked:A.showDate!==!1,onChange:n=>i("showDate",n),label:"Show date",tokens:t}),a.jsx("div",{}),a.jsx("div",{})]})]})}function eB({draft:A,tokens:e}){const t={height:30,flex:1,border:`1px solid ${e.fieldBorder}`,padding:"0 8px",fontSize:12,outline:"none",boxSizing:"border-box",background:e.fieldDisabledBg,color:e.fieldDisabledText};return a.jsx("div",{style:{padding:"12px 16px"},children:a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[a.jsx("span",{style:{fontSize:12,whiteSpace:"nowrap",color:e.text},children:"#1 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.rawTime),style:t})]})})}function tB({draft:A,setDraft:e,tokens:t}){const i=(n,s)=>e(o=>({...o,[n]:s})),r=(n,s,o)=>i(n,Lt(s,o));return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,padding:"12px 16px"},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[a.jsx(lt,{value:A.lineColor||"#7aa6ae",onChange:n=>i("lineColor",n),onBlur:()=>r("lineColor",A.lineColor,"#7aa6ae"),tokens:t}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A.lineWidth??2,onChange:n=>i("lineWidth",Number(n.target.value)),style:{flex:1,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:16,fontSize:12,color:t.text,textAlign:"right"},children:A.lineWidth??2})]})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:24},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60},children:"Arrows"}),a.jsx(Ne,{checked:!!A.arrowLeft,onChange:n=>i("arrowLeft",n),label:"Left",tokens:t}),a.jsx(Ne,{checked:!!A.arrowRight,onChange:n=>i("arrowRight",n),label:"Right",tokens:t})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:24},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60},children:"Rays"}),a.jsx(Ne,{checked:!!A.rayLeft,onChange:n=>i("rayLeft",n),label:"Left",tokens:t}),a.jsx(Ne,{checked:!!A.rayRight,onChange:n=>i("rayRight",n),label:"Right",tokens:t})]}),a.jsxs("div",{children:[a.jsx("div",{style:{fontSize:13,fontWeight:600,color:t.text,marginBottom:10},children:"Statistics"}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"60px 104px minmax(80px, 1fr) auto",alignItems:"center",gap:8,marginBottom:10},children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"Style"}),a.jsx(lt,{value:A.statsColor||"#5f8f96",onChange:n=>i("statsColor",n),onBlur:()=>r("statsColor",A.statsColor,"#5f8f96"),tokens:t}),a.jsxs(di,{value:A.statsPosition??"right",onChange:n=>i("statsPosition",n.target.value),tokens:t,children:[a.jsx("option",{value:"left",children:"Left"}),a.jsx("option",{value:"center",children:"Center"}),a.jsx("option",{value:"right",children:"Right"})]}),a.jsx(Ne,{checked:!!A.statsShowAlways,onChange:n=>i("statsShowAlways",n),label:"Show always",tokens:t})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:16},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60,flexShrink:0},children:"Properties"}),a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[a.jsx(Ne,{checked:!!A.statsPriceRange,onChange:n=>i("statsPriceRange",n),label:"Price range",tokens:t}),a.jsx(Ne,{checked:!!A.statsDistance,onChange:n=>i("statsDistance",n),label:"Distance",tokens:t})]})]})]})]})}function AB({draft:A,setDraft:e,tokens:t}){const i=(n,s)=>e(o=>({...o,[n]:s})),r=(n,s,o)=>i(n,Lt(s,o));return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,padding:"12px 16px"},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[a.jsx(lt,{value:A.lineColor||"#06a0e3",onChange:n=>i("lineColor",n),onBlur:()=>r("lineColor",A.lineColor,"#06a0e3"),tokens:t}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A.lineWidth??2,onChange:n=>i("lineWidth",Number(n.target.value)),style:{flex:1,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:16,fontSize:12,color:t.text,textAlign:"right"},children:A.lineWidth??2})]})]}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr 1fr 1fr",gap:8,alignItems:"center"},children:[a.jsx("div",{style:{fontSize:12,fontWeight:600,color:t.text},children:"Properties"}),a.jsx(Ne,{checked:!!A.showTime,onChange:n=>i("showTime",n),label:"Show time",tokens:t}),a.jsx(Ne,{checked:!!A.showPrice,onChange:n=>i("showPrice",n),label:"Show price",tokens:t}),a.jsx("div",{})]})]})}function iB({draft:A,setDraft:e,tokens:t}){const i={display:"grid",gridTemplateColumns:"100px 1fr 110px",alignItems:"center",gap:8},r={height:30,width:"100%",border:`1px solid ${t.fieldBorder}`,padding:"0 8px",fontSize:12,outline:"none",boxSizing:"border-box",background:t.fieldDisabledBg,color:t.fieldDisabledText};return a.jsx("div",{style:{padding:"12px 16px"},children:a.jsxs("div",{style:i,children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#1 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.rawTime),style:r}),a.jsx(wt,{tokens:t,value:A.price??"",onChange:n=>{const s=Number(n.target.value);Number.isFinite(s)&&e(o=>({...o,price:s}))}})]})})}function rB({draft:A,setDraft:e,tokens:t}){const i=(s,o)=>e(l=>({...l,[s]:o})),r=(s,o,l)=>i(s,Lt(o,l)),n=(s,o,l,c,h,m)=>a.jsxs(a.Fragment,{children:[a.jsx(Ne,{checked:!!A[h],onChange:v=>i(h,v),label:s,tokens:t}),a.jsx(lt,{value:A[o]||m,onChange:v=>i(o,v),onBlur:()=>r(o,A[o],m),tokens:t}),a.jsx(wt,{tokens:t,value:A[l]??.35,onChange:v=>{const T=parseFloat(v.target.value);Number.isFinite(T)&&i(l,Math.max(0,Math.min(1,T)))},style:{width:60}}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A[c]??1,onChange:v=>i(c,Number(v.target.value)),style:{width:80,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:12,fontSize:12,color:t.text,textAlign:"right"},children:A[c]??1})]})]});return a.jsxs("div",{style:{padding:"12px 16px"},children:[a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"2fr 1fr auto 2fr",gap:14,marginBottom:14},children:[n("Base line","baseLineColor","baseLineOpacity","baseLineWidth","showBaseLine","#ff0000"),n("Upper line","upperLineColor","upperLineOpacity","upperLineWidth","showUpperLine","#0000ff"),n("Lower line","lowerLineColor","lowerLineOpacity","lowerLineWidth","showLowerLine","#0000ff")]}),a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:14},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx(Ne,{checked:!!A.showBackground,onChange:s=>i("showBackground",s),label:"Background",tokens:t}),a.jsx("span",{style:{fontSize:12,color:t.text},children:"Opacity"}),a.jsx(wt,{tokens:t,value:A.backgroundOpacity??.1,onChange:s=>{const o=parseFloat(s.target.value);Number.isFinite(o)&&i("backgroundOpacity",Math.max(0,Math.min(1,o)))},style:{width:52}})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:24},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:70},children:"Extension"}),a.jsx(Ne,{checked:!!A.extendLeft,onChange:s=>i("extendLeft",s),label:"Left",tokens:t}),a.jsx(Ne,{checked:!!A.extendRight,onChange:s=>i("extendRight",s),label:"Right",tokens:t})]}),a.jsx(Ne,{checked:!!A.showPearsonsR,onChange:s=>i("showPearsonsR",s),label:"Show Pearson's R",tokens:t})]})]})}function nB({draft:A,tokens:e}){const t={height:30,width:"100%",border:`1px solid ${e.fieldBorder}`,padding:"0 8px",fontSize:12,outline:"none",boxSizing:"border-box",background:e.fieldDisabledBg,color:e.fieldDisabledText},i={display:"grid",gridTemplateColumns:"100px 1fr",alignItems:"center",gap:8};return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:12,padding:"12px 16px"},children:[a.jsxs("div",{style:i,children:[a.jsx("span",{style:{fontSize:12,color:e.text},children:"#1 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.point1Time),style:t})]}),a.jsxs("div",{style:i,children:[a.jsx("span",{style:{fontSize:12,color:e.text},children:"#2 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.point2Time),style:t})]})]})}function sB({draft:A,setDraft:e,tokens:t}){const i=(n,s)=>e(o=>({...o,[n]:s})),r=(n,s,o)=>i(n,Lt(s,o));return a.jsxs("div",{style:{padding:"12px 16px",display:"flex",flexDirection:"column",gap:14},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx(lt,{value:A.strokeColor||"#8b5cf6",onChange:n=>i("strokeColor",n),onBlur:()=>r("strokeColor",A.strokeColor,"#8b5cf6"),tokens:t}),a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A.lineWidth??1,onChange:n=>i("lineWidth",Number(n.target.value)),style:{flex:1,width:80,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:12,fontSize:12,color:t.text,textAlign:"right"},children:A.lineWidth??1})]}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"2fr 1fr auto 2fr",gap:14},children:[a.jsx(Ne,{checked:!!A.showMiddleLine,onChange:n=>i("showMiddleLine",n),label:"Middle line",tokens:t}),a.jsx(lt,{value:A.middleLineColor||"#8b5cf6",onChange:n=>i("middleLineColor",n),onBlur:()=>r("middleLineColor",A.middleLineColor,"#8b5cf6"),tokens:t,disabled:!A.showMiddleLine}),a.jsx(wt,{tokens:t,disabled:!A.showMiddleLine,value:A.middleLineOpacity??.5,onChange:n=>{const s=parseFloat(n.target.value);Number.isFinite(s)&&i("middleLineOpacity",Math.max(0,Math.min(1,s)))},style:{width:60}}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A.middleLineWidth??1,onChange:n=>i("middleLineWidth",Number(n.target.value)),disabled:!A.showMiddleLine,style:{width:80,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:12,fontSize:12,color:t.text,textAlign:"right"},children:A.middleLineWidth??1})]}),a.jsx(Ne,{checked:!!A.showBackground,onChange:n=>i("showBackground",n),label:"Background",tokens:t}),a.jsx(lt,{value:A.backgroundColor||"#b4a7d6",onChange:n=>i("backgroundColor",n),onBlur:()=>r("backgroundColor",A.backgroundColor,"#b4a7d6"),tokens:t,disabled:!A.showBackground}),a.jsx(wt,{tokens:t,disabled:!A.showBackground,value:A.backgroundOpacity??.1,onChange:n=>{const s=parseFloat(n.target.value);Number.isFinite(s)&&i("backgroundOpacity",Math.max(0,Math.min(1,s)))},style:{width:60}}),a.jsx("div",{})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:24},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60},children:"Rays"}),a.jsx(Ne,{checked:!!A.rayLeft,onChange:n=>i("rayLeft",n),label:"Left",tokens:t}),a.jsx(Ne,{checked:!!A.rayRight,onChange:n=>i("rayRight",n),label:"Right",tokens:t})]})]})}function oB({draft:A,setDraft:e,tokens:t}){const i=(o,l)=>{const c=parseFloat(l);Number.isFinite(c)&&e(h=>({...h,[o]:c}))},r={height:30,width:"100%",border:`1px solid ${t.fieldBorder}`,padding:"0 8px",fontSize:12,outline:"none",boxSizing:"border-box",background:t.fieldDisabledBg,color:t.fieldDisabledText},n={display:"grid",gridTemplateColumns:"100px 1fr 110px",alignItems:"center",gap:8},s={display:"grid",gridTemplateColumns:"100px 110px",alignItems:"center",gap:8};return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:12,padding:"12px 16px"},children:[a.jsxs("div",{style:n,children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#1 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.point1Time),style:r}),a.jsx(wt,{tokens:t,value:A.point1Price??"",onChange:o=>i("point1Price",o.target.value)})]}),a.jsxs("div",{style:n,children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#2 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.point2Time),style:r}),a.jsx(wt,{tokens:t,value:A.point2Price??"",onChange:o=>i("point2Price",o.target.value)})]}),a.jsxs("div",{style:s,children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#3 (Bar, Price)"}),a.jsx(wt,{tokens:t,value:A.point3Price??"",onChange:o=>i("point3Price",o.target.value)})]})]})}function aB({draft:A,setDraft:e,tokens:t}){const i=(s,o)=>e(l=>({...l,[s]:o})),r=(s,o,l)=>e(c=>{const h=c.rays?[...c.rays]:[];return h[s]={...h[s],[o]:l},{...c,rays:h}}),n=[...A.rays??[]].reverse();return a.jsxs("div",{style:{padding:"12px 16px",display:"flex",flexDirection:"column",gap:14},children:[a.jsx("div",{style:{display:"grid",gridTemplateColumns:"60px 1fr 2fr 1fr",gap:8,alignItems:"center"},children:n.map((s,o)=>{const l=(A.rays??[]).findIndex(c=>c.ratio===s.ratio);return a.jsxs(Y.Fragment,{children:[a.jsx(wt,{tokens:t,value:s.label,onChange:c=>{const h=parseFloat(c.target.value);Number.isFinite(h)&&h>0&&r(l,"ratio",h),r(l,"label",c.target.value)},onBlur:c=>{const h=parseFloat(c.target.value);Number.isFinite(h)&&h>0&&(r(l,"ratio",h),r(l,"label",h%1===0?h.toFixed(2):String(h)))},style:{width:60}}),a.jsx(lt,{value:s.color||"#888888",onChange:c=>r(l,"color",c),onBlur:()=>r(l,"color",Lt(s.color,"#888888")),tokens:t}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:s.width??1,onChange:c=>r(l,"width",Number(c.target.value)),style:{flex:1,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:12,fontSize:12,color:t.text,textAlign:"right"},children:s.width??1})]}),a.jsx("div",{})]},o)})}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx(lt,{value:A.backgroundColor||"#3b82f6",onChange:s=>i("backgroundColor",s),onBlur:()=>i("backgroundColor",Lt(A.backgroundColor,"#3b82f6")),tokens:t}),a.jsx("span",{style:{fontSize:12,color:t.text},children:"Background"}),a.jsx(wt,{tokens:t,value:A.backgroundOpacity??.1,onChange:s=>{const o=parseFloat(s.target.value);Number.isFinite(o)&&i("backgroundOpacity",Math.max(0,Math.min(1,o)))},style:{width:60}})]}),a.jsx(Ne,{checked:!!A.showLabels,onChange:s=>i("showLabels",s),label:"Show labels",tokens:t})]})}function lB({draft:A,setDraft:e,tokens:t}){const i=(r,n)=>e(s=>({...s,[r]:n}));return a.jsxs("div",{style:{padding:"12px 16px",display:"flex",flexDirection:"column",gap:14},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[a.jsx("label",{style:{fontSize:12,color:t.mutedText,minWidth:90},children:"Divisions"}),a.jsx(wt,{tokens:t,value:A.divisions??8,min:2,max:50,step:1,onChange:r=>i("divisions",Number(r.target.value)),onBlur:r=>i("divisions",Math.max(2,Math.min(50,parseInt(r.target.value)||8))),style:{width:60}})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[a.jsx("label",{style:{fontSize:12,color:t.mutedText,minWidth:90},children:"Line color"}),a.jsx(lt,{value:A.lineColor??"#94a3b8",onChange:r=>i("lineColor",r),tokens:t})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[a.jsx("label",{style:{fontSize:12,color:t.mutedText,minWidth:90},children:"Line width"}),a.jsx("input",{type:"range",min:1,max:5,step:1,value:A.lineWidth??1,onChange:r=>i("lineWidth",Number(r.target.value)),style:{flex:1}}),a.jsx("span",{style:{fontSize:11,color:t.mutedText,minWidth:16,textAlign:"right"},children:A.lineWidth??1})]}),a.jsx(Ne,{label:"Show background",checked:A.showBackground!==!1,onChange:r=>i("showBackground",r),tokens:t}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[a.jsx("label",{style:{fontSize:12,color:t.mutedText,minWidth:90},children:"Background"}),a.jsx(lt,{value:A.backgroundColor??"#3b82f6",onChange:r=>i("backgroundColor",r),tokens:t}),a.jsx(wt,{tokens:t,value:A.backgroundOpacity??.08,min:0,max:1,step:.01,onChange:r=>i("backgroundOpacity",parseFloat(r.target.value)||0),onBlur:r=>i("backgroundOpacity",Math.max(0,Math.min(1,parseFloat(r.target.value)||0))),style:{width:60}})]})]})}function cB({draft:A,setDraft:e,tokens:t}){const i=(s,o)=>e(l=>({...l,[s]:o})),r=(s,o,l)=>i(s,Lt(o,l)),n=(s,o,l)=>e(c=>{const h=c.levels?[...c.levels]:[];return h[s]={...h[s],[o]:l},{...c,levels:h}});return a.jsxs("div",{style:{padding:"12px 16px",display:"flex",flexDirection:"column",gap:14},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx(lt,{value:A.medianColor||"#a50000",onChange:s=>i("medianColor",s),onBlur:()=>r("medianColor",A.medianColor,"#a50000"),tokens:t}),a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A.medianWidth??1,onChange:s=>i("medianWidth",Number(s.target.value)),style:{flex:1,width:80,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:12,fontSize:12,color:t.text,textAlign:"right"},children:A.medianWidth??1})]}),a.jsx("div",{style:{display:"grid",gridTemplateColumns:"auto 40px 1fr 2fr",gap:8,alignItems:"center"},children:(A.levels??[]).map((s,o)=>a.jsxs(Y.Fragment,{children:[a.jsx("input",{type:"checkbox",checked:!!s.enabled,onChange:l=>n(o,"enabled",l.target.checked),style:{accentColor:t.headerBlue,margin:0}}),a.jsx("span",{style:{fontSize:12,color:t.text},children:s.label}),a.jsx(lt,{value:s.color||"#888888",onChange:l=>n(o,"color",l),onBlur:()=>n(o,"color",Lt(s.color,"#888888")),tokens:t,disabled:!s.enabled}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:s.width??1,onChange:l=>n(o,"width",Number(l.target.value)),disabled:!s.enabled,style:{width:80,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:12,fontSize:12,color:t.text,textAlign:"right"},children:s.width??1})]})]},s.k))}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx(Ne,{checked:!!A.showBackground,onChange:s=>i("showBackground",s),label:"Background",tokens:t}),a.jsx(wt,{tokens:t,disabled:!A.showBackground,value:A.backgroundOpacity??.1,onChange:s=>{const o=parseFloat(s.target.value);Number.isFinite(o)&&i("backgroundOpacity",Math.max(0,Math.min(1,o)))},style:{width:60}})]})]})}function hB({draft:A,setDraft:e,tokens:t}){const i=(s,o)=>{const l=parseFloat(o);Number.isFinite(l)&&e(c=>({...c,[s]:l}))},r={height:30,width:"100%",border:`1px solid ${t.fieldBorder}`,padding:"0 8px",fontSize:12,outline:"none",boxSizing:"border-box",background:t.fieldDisabledBg,color:t.fieldDisabledText},n={display:"grid",gridTemplateColumns:"100px 1fr 110px",alignItems:"center",gap:8};return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:12,padding:"12px 16px"},children:[a.jsxs("div",{style:n,children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#1 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.point1Time),style:r}),a.jsx(wt,{tokens:t,value:A.point1Price??"",onChange:s=>i("point1Price",s.target.value)})]}),a.jsxs("div",{style:n,children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#2 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.point2Time),style:r}),a.jsx(wt,{tokens:t,value:A.point2Price??"",onChange:s=>i("point2Price",s.target.value)})]}),a.jsxs("div",{style:n,children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#3 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.point3Time),style:r}),a.jsx(wt,{tokens:t,value:A.point3Price??"",onChange:s=>i("point3Price",s.target.value)})]})]})}function fa({draft:A,setDraft:e,tokens:t,strokeDefault:i="#7aa6ae",bgDefault:r="#b4a7d6"}){const n=(s,o)=>e(l=>({...l,[s]:o}));return a.jsxs("div",{style:{padding:"12px 16px",display:"flex",flexDirection:"column",gap:14},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx(lt,{value:A.strokeColor||i,onChange:s=>n("strokeColor",s),onBlur:()=>n("strokeColor",Lt(A.strokeColor,i)),tokens:t}),a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A.lineWidth??1,onChange:s=>n("lineWidth",Number(s.target.value)),style:{flex:1,accentColor:t.headerBlue}}),a.jsx("span",{style:{fontSize:12,color:t.text,minWidth:12,textAlign:"right"},children:A.lineWidth??1})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx(Ne,{checked:A.showBackground!==!1,onChange:s=>n("showBackground",s),label:"Background",tokens:t}),a.jsx(lt,{value:A.backgroundColor||r,onChange:s=>n("backgroundColor",s),onBlur:()=>n("backgroundColor",Lt(A.backgroundColor,r)),tokens:t}),a.jsx(wt,{tokens:t,value:A.backgroundOpacity??.1,min:0,max:1,step:.01,onChange:s=>n("backgroundOpacity",parseFloat(s.target.value)||0),onBlur:s=>n("backgroundOpacity",Math.max(0,Math.min(1,parseFloat(s.target.value)||0))),style:{width:60}})]})]})}function uB({draft:A,setDraft:e,tokens:t}){return a.jsx(fa,{draft:A,setDraft:e,tokens:t})}function pB({draft:A,setDraft:e,tokens:t}){return a.jsx(fa,{draft:A,setDraft:e,tokens:t})}function dB({draft:A,setDraft:e,tokens:t}){return a.jsx(fa,{draft:A,setDraft:e,tokens:t})}function fB({draft:A,setDraft:e,tokens:t}){const i=(h,m)=>e(v=>({...v,[h]:m})),r=h=>{if(!h)return"";const m=new Date(h*1e3),v=String(m.getUTCDate()).padStart(2,"0"),T=String(m.getUTCMonth()+1).padStart(2,"0"),Q=m.getUTCFullYear(),b=String(m.getUTCHours()).padStart(2,"0"),E=String(m.getUTCMinutes()).padStart(2,"0"),I=String(m.getUTCSeconds()).padStart(2,"0");return`${v}.${T}.${Q} ${b}:${E}:${I}`},n={display:"grid",gridTemplateColumns:"110px 1fr 100px",gap:8,alignItems:"center",marginBottom:6},s={fontSize:12,color:t.mutedText},o={height:30,width:"100%",border:`1px solid ${t.fieldBorder}`,padding:"0 6px",fontSize:12,background:t.fieldDisabledBg,color:t.fieldDisabledText,boxSizing:"border-box"},l={height:30,width:"100%",border:`1px solid ${t.fieldBorder}`,padding:"0 6px",fontSize:12,background:t.fieldBg,color:t.text,boxSizing:"border-box",outline:"none"},c=[{label:"#1 (Bar, Price)",timeKey:"point1Time",priceKey:"point1Price"},{label:"#2 (Bar, Price)",timeKey:"point2Time",priceKey:"point2Price"},{label:"#3 (Bar, Price)",timeKey:"point3Time",priceKey:"point3Price"}];return a.jsx("div",{style:{padding:"12px 16px"},children:c.map(({label:h,timeKey:m,priceKey:v})=>a.jsxs("div",{style:n,children:[a.jsx("span",{style:s,children:h}),a.jsx("input",{style:o,value:r(A[m]),readOnly:!0}),a.jsx("input",{type:"number",style:l,value:A[v]??0,step:"0.00001",onChange:T=>i(v,parseFloat(T.target.value)||0)})]},h))})}function gB({draft:A,setDraft:e,tokens:t}){const i=(o,l)=>e(c=>({...c,[o]:l})),r=(o,l,c)=>i(o,Lt(l,c)),n=(o,l,c)=>{e(h=>{const m=[...h.levels||[]];return m[o]={...m[o],[l]:c},{...h,levels:m}})},s=A.levels||[];return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:12,padding:"16px 12px"},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx(lt,{value:A.lineColor||"#80aab0",onChange:o=>r("lineColor",o,"#80aab0"),tokens:t}),a.jsx("input",{type:"range",min:1,max:5,value:A.lineWidth||2,onChange:o=>i("lineWidth",Number(o.target.value)),style:{flex:1}}),a.jsx("span",{style:{fontSize:12,color:t.text,minWidth:16},children:A.lineWidth||2})]}),a.jsxs("label",{style:{display:"flex",alignItems:"center",gap:8,fontSize:12,color:t.text,cursor:"pointer"},children:[a.jsx("input",{type:"checkbox",checked:!!A.extended,onChange:o=>i("extended",o.target.checked)}),"Extended"]}),a.jsx("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"6px 16px"},children:s.map((o,l)=>a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6},children:[a.jsx("input",{type:"checkbox",checked:o.enabled!==!1,onChange:c=>n(l,"enabled",c.target.checked)}),a.jsx("span",{style:{fontSize:11,color:t.text,minWidth:32},children:o.ratio?.toFixed(2)}),a.jsxs("label",{style:{position:"relative",width:18,height:18,flexShrink:0,display:"block"},children:[a.jsx("input",{type:"color",value:Lt(o.color,"#808080"),onChange:c=>n(l,"color",c.target.value),style:{...pa,position:"absolute"}}),a.jsx("span",{style:{display:"block",width:18,height:18,background:Lt(o.color,"#808080"),boxShadow:"inset 0 0 0 1px #c7cdd7"}})]}),a.jsx("input",{type:"text",value:(o.color||"#808080").replace("#",""),onChange:c=>n(l,"color",Lt(c.target.value,"#808080")),style:{...pi(t),width:56,fontSize:11}})]},l))}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx("input",{type:"checkbox",checked:!!A.showBackground,onChange:o=>i("showBackground",o.target.checked)}),a.jsx("span",{style:{fontSize:12,color:t.text},children:"Background"}),a.jsx("input",{type:"text",value:String(A.backgroundOpacity??.1),onChange:o=>i("backgroundOpacity",Number(o.target.value)||0),style:{...pi(t),width:48,fontSize:12,textAlign:"center"}})]}),a.jsxs("label",{style:{display:"flex",alignItems:"center",gap:8,fontSize:12,color:t.text,cursor:"pointer"},children:[a.jsx("input",{type:"checkbox",checked:A.showLabels!==!1,onChange:o=>i("showLabels",o.target.checked)}),"Labels"]}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:12},children:[a.jsxs("div",{children:[a.jsx("div",{style:{fontSize:11,color:t.mutedText,marginBottom:4},children:"Horizontal alignment"}),a.jsxs("select",{value:A.hAlign||"left",onChange:o=>i("hAlign",o.target.value),style:{...pi(t),width:"100%",fontSize:12},children:[a.jsx("option",{value:"left",children:"Left"}),a.jsx("option",{value:"center",children:"Center"}),a.jsx("option",{value:"right",children:"Right"})]})]}),a.jsxs("div",{children:[a.jsx("div",{style:{fontSize:11,color:t.mutedText,marginBottom:4},children:"Vertical alignment"}),a.jsxs("select",{value:A.vAlign||"middle",onChange:o=>i("vAlign",o.target.value),style:{...pi(t),width:"100%",fontSize:12},children:[a.jsx("option",{value:"top",children:"Top"}),a.jsx("option",{value:"middle",children:"Middle"}),a.jsx("option",{value:"bottom",children:"Bottom"})]})]})]}),a.jsxs("label",{style:{display:"flex",alignItems:"center",gap:8,fontSize:12,color:t.text,cursor:"pointer"},children:[a.jsx("input",{type:"checkbox",checked:A.showPrice!==!1,onChange:o=>i("showPrice",o.target.checked)}),"Show price"]}),a.jsxs("label",{style:{display:"flex",alignItems:"center",gap:8,fontSize:12,color:t.text,cursor:"pointer"},children:[a.jsx("input",{type:"checkbox",checked:!!A.reverse,onChange:o=>i("reverse",o.target.checked)}),"Reverse"]})]})}function mB({draft:A,setDraft:e,tokens:t}){const i=(n,s)=>e(o=>({...o,[n]:s})),r=n=>{if(!n)return"";const s=new Date(typeof n=="number"?n*1e3:n);return isNaN(s.getTime())?String(n):`${s.toLocaleDateString("en-GB",{day:"2-digit",month:"2-digit",year:"numeric"})} ${s.toTimeString().slice(0,8)}`};return a.jsxs("div",{style:{padding:"16px 12px",display:"flex",flexDirection:"column",gap:12},children:[a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"90px 1fr 1fr",gap:8,alignItems:"center"},children:[a.jsx("span",{style:{fontSize:12,color:t.mutedText},children:"#1 (Bar, Price)"}),a.jsx("input",{type:"text",value:r(A.point1Time),readOnly:!0,style:{...pi(t),fontSize:11}}),a.jsx("input",{type:"text",value:A.point1Price??"",onChange:n=>i("point1Price",n.target.value),style:{...pi(t),fontSize:11}})]}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"90px 1fr 1fr",gap:8,alignItems:"center"},children:[a.jsx("span",{style:{fontSize:12,color:t.mutedText},children:"#2 (Bar, Price)"}),a.jsx("input",{type:"text",value:r(A.point2Time),readOnly:!0,style:{...pi(t),fontSize:11}}),a.jsx("input",{type:"text",value:A.point2Price??"",onChange:n=>i("point2Price",n.target.value),style:{...pi(t),fontSize:11}})]})]})}function wB({draft:A,setDraft:e,tokens:t}){const i=(r,n)=>e(s=>({...s,[r]:n}));return a.jsxs("div",{style:{padding:"12px 16px",display:"flex",flexDirection:"column",gap:14},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[a.jsx(lt,{value:A.strokeColor??"#7aa6ae",onChange:r=>i("strokeColor",r),tokens:t}),a.jsx("input",{type:"range",min:1,max:5,step:1,value:A.lineWidth??1,onChange:r=>i("lineWidth",Number(r.target.value)),style:{flex:1}}),a.jsx("span",{style:{fontSize:11,color:t.mutedText,minWidth:16,textAlign:"right"},children:A.lineWidth??1})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[a.jsx(Ne,{label:"Background",checked:A.showBackground!==!1,onChange:r=>i("showBackground",r),tokens:t}),a.jsx(lt,{value:A.backgroundColor??"#94a3b8",onChange:r=>i("backgroundColor",r),tokens:t}),a.jsx(wt,{tokens:t,value:A.backgroundOpacity??.18,min:0,max:1,step:.01,onChange:r=>i("backgroundOpacity",r),onBlur:r=>i("backgroundOpacity",Math.max(0,Math.min(1,parseFloat(r)||0))),style:{width:60}})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:14},children:[a.jsx("span",{style:{fontSize:12,color:t.mutedText,minWidth:90},children:"Extension"}),a.jsx(Ne,{label:"Left",checked:!!A.extendLeft,onChange:r=>i("extendLeft",r),tokens:t}),a.jsx(Ne,{label:"Right",checked:!!A.extendRight,onChange:r=>i("extendRight",r),tokens:t})]})]})}function BB({draft:A,tokens:e}){const t=[{label:"#1 (Bar, Price)",time:A.point1Time,price:A.point1Price},{label:"#2 (Bar, Price)",time:A.point1Time,price:A.point4Price},{label:"#3 (Bar, Price)",time:A.point2Time,price:A.point1Price},{label:"#4 (Bar, Price)",time:A.point2Time,price:A.point4Price}],i={height:28,flex:1,border:`1px solid ${e.fieldBorder}`,padding:"0 6px",fontSize:12,outline:"none",boxSizing:"border-box",background:e.fieldDisabledBg,color:e.fieldDisabledText},r={height:28,width:80,border:`1px solid ${e.fieldBorder}`,padding:"0 6px",fontSize:12,outline:"none",boxSizing:"border-box",background:e.fieldDisabledBg,color:e.fieldDisabledText};return a.jsx("div",{style:{display:"flex",flexDirection:"column",gap:8,padding:"12px 16px"},children:t.map((n,s)=>a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"110px 1fr 80px",alignItems:"center",gap:6},children:[a.jsx("span",{style:{fontSize:12,color:e.mutedText},children:n.label}),a.jsx("input",{readOnly:!0,value:n.time?new Date(n.time*1e3).toLocaleString("de-DE",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"}).replace(",",""):"—",style:i}),a.jsx("input",{readOnly:!0,value:n.price!=null?Number(n.price).toFixed(5):"—",style:r})]},s))})}function uu({draft:A,setDraft:e,tokens:t}){const i=(n,s)=>e(o=>({...o,[n]:s})),r=(n,s,o)=>i(n,Lt(s,o));return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,padding:"12px 16px"},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[a.jsx(lt,{value:A.lineColor||"#129f5c",onChange:n=>i("lineColor",n),onBlur:()=>r("lineColor",A.lineColor,"#129f5c"),tokens:t}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A.lineWidth??2,onChange:n=>i("lineWidth",Number(n.target.value)),style:{flex:1,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:16,fontSize:12,color:t.text,textAlign:"right"},children:A.lineWidth??2})]})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx(Ne,{checked:!!A.showBackground,onChange:n=>i("showBackground",n),label:"Background",tokens:t}),a.jsx(lt,{value:A.fillColor||"#6aa84f",onChange:n=>i("fillColor",n),onBlur:()=>r("fillColor",A.fillColor,"#6aa84f"),tokens:t}),a.jsx(wt,{tokens:t,value:A.fillOpacity??.1,onChange:n=>{const s=parseFloat(n.target.value);Number.isFinite(s)&&i("fillOpacity",Math.max(0,Math.min(1,s)))},style:{width:52}})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx(Ne,{checked:!!A.showPrices,onChange:n=>i("showPrices",n),label:"Prices",tokens:t}),a.jsx(lt,{value:A.pricesColor||"#129f5c",onChange:n=>i("pricesColor",n),onBlur:()=>r("pricesColor",A.pricesColor,"#129f5c"),tokens:t})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:24},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60},children:"Rays"}),a.jsx(Ne,{checked:!!A.rayLeft,onChange:n=>i("rayLeft",n),label:"Left",tokens:t}),a.jsx(Ne,{checked:!!A.rayRight,onChange:n=>i("rayRight",n),label:"Right",tokens:t})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:24},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60},children:"Arrows"}),a.jsx(Ne,{checked:!!A.arrowLeft,onChange:n=>i("arrowLeft",n),label:"Left",tokens:t}),a.jsx(Ne,{checked:!!A.arrowRight,onChange:n=>i("arrowRight",n),label:"Right",tokens:t})]})]})}function pu({draft:A,setDraft:e,tokens:t}){const i=(s,o)=>{const l=Number(o);Number.isFinite(l)&&e(c=>({...c,[s]:l}))},r={display:"grid",gridTemplateColumns:"100px 1fr 110px",alignItems:"center",gap:8},n={height:30,width:"100%",border:`1px solid ${t.fieldBorder}`,padding:"0 8px",fontSize:12,outline:"none",boxSizing:"border-box",background:t.fieldDisabledBg,color:t.fieldDisabledText};return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:12,padding:"12px 16px"},children:[a.jsxs("div",{style:r,children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#1 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.point1Time),style:n}),a.jsx(wt,{tokens:t,value:A.point1Price??"",onChange:s=>i("point1Price",s.target.value)})]}),a.jsxs("div",{style:r,children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#2 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.point2Time),style:n}),a.jsx(wt,{tokens:t,value:A.point2Price??"",onChange:s=>i("point2Price",s.target.value)})]}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"100px 110px",alignItems:"center",gap:8},children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#3 (Bar, Price)"}),a.jsx(wt,{tokens:t,value:A.point3Price??"",onChange:s=>i("point3Price",s.target.value)})]})]})}function yB(A){if(!A)return{};const e={visibleTimeframes:A.visibleTimeframes||Jn.map(t=>t.key)};if(A.type==="gannline"){const t=typeof A.series?.options=="function"?A.series.options():{};return{...e,lineColor:t.color??A.lineColor??"#7aa6ae",lineWidth:t.lineWidth??A.lineWidth??2,arrowLeft:A.arrowLeft??!1,arrowRight:A.arrowRight??!1,rayLeft:A.rayLeft??!1,rayRight:A.rayRight??!1,statsColor:A.statsColor??"#5f8f96",statsPosition:A.statsPosition??"right",statsShowAlways:A.statsShowAlways??!1,statsPriceRange:A.statsPriceRange??!1,statsBarsRange:A.statsBarsRange??!1,statsDateRange:A.statsDateRange??!1,statsDistance:A.statsDistance??!1,point1Price:A.point1?.price??0,point1Time:A.point1?.rawTime??A.point1?.time??0,point2Price:A.point2?.price??0,point2Time:A.point2?.rawTime??A.point2?.time??0}}if(A.type==="trendline"){const t=typeof A.series?.options=="function"?A.series.options():{};return{...e,lineColor:t.color??A.lineColor??"#22c55e",lineWidth:t.lineWidth??A.lineWidth??2,arrowLeft:A.arrowLeft??!1,arrowRight:A.arrowRight??!1,rayLeft:A.rayLeft??!1,rayRight:A.rayRight??!1,statsColor:A.statsColor??"#5f8f96",statsPosition:A.statsPosition??"right",statsShowAlways:A.statsShowAlways??!1,statsPriceRange:A.statsPriceRange??!1,statsBarsRange:A.statsBarsRange??!1,statsDateRange:A.statsDateRange??!1,statsAngle:A.statsAngle??!1,statsDistance:A.statsDistance??!1,point1Price:A.point1?.price??0,point1Time:A.point1?.rawTime??A.point1?.time??0,point2Price:A.point2?.price??0,point2Time:A.point2?.rawTime??A.point2?.time??0}}if(A.type==="text")return{...e,text:A.primitive?.text??A.text??"Text",color:A.primitive?.color??"#5f8f96",fontSize:A.primitive?.fontSize??12,fontWeight:A.primitive?.fontWeight??"normal",fontStyle:A.primitive?.fontStyle??"normal",textAlign:A.primitive?.textAlign??"center",textWrap:A.primitive?.textWrap??!1,borderEnabled:A.primitive?.borderEnabled??!1,borderColor:A.primitive?.borderColor??"#5f8f96",borderOpacity:A.primitive?.borderOpacity??.1,borderWidth:A.primitive?.borderWidth??1,bgEnabled:A.primitive?.bgEnabled??!1,bgColor:A.primitive?.bgColor??"#5f8f96",bgOpacity:A.primitive?.bgOpacity??.1,price:A.price};if(A.type==="pricelevel")return{...e,lineColor:A.lineColor??"#3b82f6",lineWidth:A.lineWidth??2,showPrice:A.showPrice??!0,showText:A.showText??!1,textContent:A.textContent??"",textColor:A.textColor??"#ffffff",textHAlign:A.textHAlign??"center",textVAlign:A.textVAlign??"top",price:A.price};if(A.type==="horizontalray")return{...e,lineColor:A.lineColor??"#3b82f6",lineWidth:A.lineWidth??2,showPrice:A.showPrice??!0,showText:A.showText??!1,textContent:A.textContent??"",textColor:A.textColor??"#ffffff",textHAlign:A.textHAlign??"center",textVAlign:A.textVAlign??"top",price:A.price,originTime:A.rawOriginTime??A.originTime};if(A.type==="verticalline")return{...e,lineColor:A.lineColor??"#3b82f6",lineWidth:A.lineWidth??2,showDate:A.showDate!==!1,rawTime:A.rawTime};if(A.type==="infoline")return{...e,lineColor:A.lineColor??"#3b82f6",lineWidth:A.lineWidth??2,statsColor:A.statsColor??"#5f8f96",statsPosition:A.statsPosition??"right",statsShowAlways:A.statsShowAlways??!0,statsPriceRange:A.statsPriceRange??!0,statsBarsRange:A.statsBarsRange??!0,statsDateRange:A.statsDateRange??!0,statsAngle:A.statsAngle??!0,statsDistance:A.statsDistance??!0,point1Price:A.p1?.price??0,point1Time:A.p1?.rawTime??0,point2Price:A.p2?.price??0,point2Time:A.p2?.rawTime??0};if(A.type==="arrowedline")return{...e,lineColor:A.lineColor??"#f59e0b",lineWidth:A.lineWidth??2,arrowLeft:A.arrowLeft??!1,arrowRight:A.arrowRight!==!1,rayLeft:A.rayLeft??!1,rayRight:A.rayRight??!1,statsColor:A.statsColor??"#5f8f96",statsPosition:A.statsPosition??"right",statsShowAlways:A.statsShowAlways??!1,statsPriceRange:A.statsPriceRange??!1,statsBarsRange:A.statsBarsRange??!1,statsDateRange:A.statsDateRange??!1,statsAngle:A.statsAngle??!1,statsDistance:A.statsDistance??!1,point1Price:A.p1?.price??0,point1Time:A.p1?.rawTime??0,point2Price:A.p2?.price??0,point2Time:A.p2?.rawTime??0};if(A.type==="rayline")return{...e,lineColor:A.lineColor??"#7aa6ae",lineWidth:A.lineWidth??2,arrowLeft:A.arrowLeft??!1,arrowRight:A.arrowRight??!1,rayLeft:A.rayLeft??!1,rayRight:A.rayRight!==!1,statsColor:A.statsColor??"#5f8f96",statsPosition:A.statsPosition??"right",statsShowAlways:A.statsShowAlways??!1,statsPriceRange:A.statsPriceRange??!1,statsBarsRange:A.statsBarsRange??!1,statsDateRange:A.statsDateRange??!1,statsAngle:A.statsAngle??!1,statsDistance:A.statsDistance??!1,point1Price:A.p1?.price??0,point1Time:A.p1?.rawTime??0,point2Price:A.p2?.price??0,point2Time:A.p2?.rawTime??0};if(A.type==="extendedline")return{...e,lineColor:A.lineColor??"#7aa6ae",lineWidth:A.lineWidth??2,arrowLeft:A.arrowLeft??!1,arrowRight:A.arrowRight??!1,rayLeft:A.rayLeft!==!1,rayRight:A.rayRight!==!1,statsColor:A.statsColor??"#5f8f96",statsPosition:A.statsPosition??"right",statsShowAlways:A.statsShowAlways??!1,statsPriceRange:A.statsPriceRange??!1,statsBarsRange:A.statsBarsRange??!1,statsDateRange:A.statsDateRange??!1,statsAngle:A.statsAngle??!1,statsDistance:A.statsDistance??!1,point1Price:A.p1?.price??0,point1Time:A.p1?.rawTime??0,point2Price:A.p2?.price??0,point2Time:A.p2?.rawTime??0};if(A.type==="crossline")return{...e,lineColor:A.lineColor??"#06a0e3",lineWidth:A.lineWidth??2,showTime:A.showTime??!1,showPrice:A.showPrice??!1,rawTime:A.p?.rawTime??0,price:A.p?.price??0};if(A.type==="trendbyangle")return{...e,lineColor:A.lineColor??"#7aa6ae",lineWidth:A.lineWidth??2,arrowLeft:A.arrowLeft??!1,arrowRight:A.arrowRight??!1,rayLeft:A.rayLeft??!1,rayRight:A.rayRight??!1,statsColor:A.statsColor??"#5f8f96",statsPosition:A.statsPosition??"right",statsShowAlways:A.statsShowAlways??!1,statsPriceRange:A.statsPriceRange??!1,statsDistance:A.statsDistance??!1,point1Price:A.p1?.price??0,point1Time:A.p1?.rawTime??0,point2Price:A.p2?.price??0,point2Time:A.p2?.rawTime??0};if(A.type==="disjointchannel")return{...e,lineColor:A.lineColor??"#129f5c",lineWidth:A.lineWidth??2,fillColor:A.fillColor??"#6aa84f",fillOpacity:A.fillOpacity??.1,showBackground:A.showBackground!==!1,showPrices:A.showPrices!==!1,pricesColor:A.pricesColor??"#129f5c",rayLeft:A.rayLeft??!1,rayRight:A.rayRight??!1,arrowLeft:A.arrowLeft??!1,arrowRight:A.arrowRight??!1,point1Price:A.p1?.price??0,point1Time:A.p1?.rawTime??0,point2Price:A.p3?.price??0,point2Time:A.p3?.rawTime??0,point3Price:A.p2?.price??0};if(A.type==="flattopbottom")return{...e,lineColor:A.lineColor??"#3b82f6",lineWidth:A.lineWidth??2,fillColor:A.fillColor??"#3b82f6",fillOpacity:A.fillOpacity??.12,showBackground:A.showBackground!==!1,showPrices:A.showPrices!==!1,pricesColor:A.pricesColor??"#3b82f6",rayLeft:A.rayLeft??!1,rayRight:A.rayRight??!1,arrowLeft:A.arrowLeft??!1,arrowRight:A.arrowRight??!1,point1Price:A.p1?.price??0,point1Time:A.p1?.rawTime??0,point2Price:A.p3?.price??0,point2Time:A.p3?.rawTime??0,point3Price:A.p2?.price??0};if(A.type==="gannfan"){const t=A.primitive,i=[{ratio:.125,label:"0.13",color:"#a06b00",width:1},{ratio:.25,label:"0.25",color:"#699e00",width:1},{ratio:.333333,label:"0.30",color:"#009b00",width:1},{ratio:.5,label:"0.50",color:"#009965",width:1},{ratio:1,label:"1.00",color:"#808080",width:1},{ratio:2,label:"2.00",color:"#006599",width:1},{ratio:3,label:"3.00",color:"#000099",width:1},{ratio:4,label:"4.00",color:"#660099",width:1},{ratio:8,label:"8.00",color:"#a50000",width:1}],r=A.rays??(t?._rays?t._rays.map(n=>({...n})):i);return{...e,rays:r,showLabels:t?t.showLabels??!0:A.showLabels??!0,backgroundColor:t?.backgroundColor??A.backgroundColor??"#3b82f6",backgroundOpacity:t?.backgroundOpacity??A.backgroundOpacity??.1,point1Price:A.p1?.price??0,point1Time:A.p1?.rawTime??0,point2Price:A.p2?.price??0,point2Time:A.p2?.rawTime??0}}if(A.type==="ganngrid"){const t=A.primitive;return{...e,divisions:t?.divisions??A.divisions??8,lineColor:t?.lineColor??A.lineColor??"#94a3b8",lineWidth:t?.lineWidth??A.lineWidth??1,showBackground:t?t.showBackground!==!1:A.showBackground!==!1,backgroundColor:t?.backgroundColor??A.backgroundColor??"#3b82f6",backgroundOpacity:t?.backgroundOpacity??A.backgroundOpacity??.08,point1Price:A.p1?.price??0,point1Time:A.p1?.rawTime??0,point2Price:A.p2?.price??0,point2Time:A.p2?.rawTime??0}}if(A.type==="triangle"){const t=A.primitive;return{...e,strokeColor:t?.strokeColor??A.strokeColor??"#7aa6ae",lineWidth:t?.lineWidth??A.lineWidth??1,showBackground:t?t.showBackground!==!1:A.showBackground!==!1,backgroundColor:t?.backgroundColor??A.backgroundColor??"#b4a7d6",backgroundOpacity:t?.backgroundOpacity??A.backgroundOpacity??.1,point1Time:A.p1?.rawTime??0,point1Price:A.p1?.price??0,point2Time:A.p2?.rawTime??0,point2Price:A.p2?.price??0,point3Time:A.p3?.rawTime??0,point3Price:A.p3?.price??0}}if(A.type==="circle"){const t=A.primitive;return{...e,strokeColor:t?.strokeColor??A.strokeColor??"#7aa6ae",lineWidth:t?.lineWidth??A.lineWidth??1,showBackground:t?t.showBackground!==!1:A.showBackground!==!1,backgroundColor:t?.backgroundColor??A.backgroundColor??"#b4a7d6",backgroundOpacity:t?.backgroundOpacity??A.backgroundOpacity??.1,point1Time:A.p1?.rawTime??0,point1Price:A.p1?.price??0,point2Time:A.p2?.rawTime??0,point2Price:A.p2?.price??0}}if(A.type==="ellipse"){const t=A.primitive;return{...e,strokeColor:t?.strokeColor??A.strokeColor??"#7aa6ae",lineWidth:t?.lineWidth??A.lineWidth??1,showBackground:t?t.showBackground!==!1:A.showBackground!==!1,backgroundColor:t?.backgroundColor??A.backgroundColor??"#b4a7d6",backgroundOpacity:t?.backgroundOpacity??A.backgroundOpacity??.1,point1Time:A.p1?.rawTime??0,point1Price:A.p1?.price??0,point2Time:A.p2?.rawTime??0,point2Price:A.p2?.price??0}}if(A.type==="rectangle"){const t=A.primitive;return{...e,strokeColor:t?.strokeColor??A.strokeColor??"#7aa6ae",lineWidth:t?.lineWidth??A.lineWidth??1,showBackground:t?t.showBackground!==!1:A.showBackground!==!1,backgroundColor:t?.backgroundColor??A.backgroundColor??"#94a3b8",backgroundOpacity:t?.backgroundOpacity??A.backgroundOpacity??.18,extendLeft:t?.extendLeft??A.extendLeft??!1,extendRight:t?.extendRight??A.extendRight??!1,point1Time:A.p1?.rawTime??0,point1Price:A.p1?.price??0,point2Time:A.p2?.rawTime??0,point4Price:A.p2?.price??0}}if(A.type==="andrewspitchfork")return{...e,medianColor:A.medianColor??"#a50000",medianWidth:A.medianWidth??1,showBackground:A.showBackground!==!1,backgroundOpacity:A.backgroundOpacity??.1,levels:A.levels??[{k:.25,label:"0.25",color:"#a06b00",width:1,enabled:!0},{k:.38,label:"0.38",color:"#699e00",width:1,enabled:!0},{k:.5,label:"0.50",color:"#009b00",width:1,enabled:!0},{k:.62,label:"0.62",color:"#009965",width:1,enabled:!0},{k:.75,label:"0.75",color:"#006599",width:1,enabled:!0},{k:1,label:"1.00",color:"#000099",width:1,enabled:!0},{k:1.5,label:"1.50",color:"#660099",width:1,enabled:!0},{k:1.75,label:"1.75",color:"#990066",width:1,enabled:!0},{k:2,label:"2.00",color:"#a50000",width:1,enabled:!0}],point1Time:A.p1?.rawTime??0,point2Time:A.p2?.rawTime??0,point3Time:A.p3?.rawTime??0,point1Price:A.p1?.price??0,point2Price:A.p2?.price??0,point3Price:A.p3?.price??0};if(A.type==="equidistantchannel")return{...e,strokeColor:A.strokeColor??"#8b5cf6",lineWidth:A.lineWidth??1,showMiddleLine:A.showMiddleLine??!1,middleLineColor:A.middleLineColor??"#8b5cf6",middleLineOpacity:A.middleLineOpacity??.5,middleLineWidth:A.middleLineWidth??1,showBackground:A.showBackground!==!1,backgroundColor:A.backgroundColor??"#b4a7d6",backgroundOpacity:A.backgroundOpacity??.1,rayLeft:A.rayLeft??!1,rayRight:A.rayRight??!1,point1Time:A.p1?.rawTime??0,point2Time:A.p2?.rawTime??0,point1Price:A.p1?.price??0,point2Price:A.p2?.price??0,point3Price:A.p3?.price??0};if(A.type==="regressionchannel"||A.type==="stddevchannel")return{...e,baseLineColor:A.baseLineColor??"#ff0000",baseLineOpacity:A.baseLineOpacity??.35,baseLineWidth:A.baseLineWidth??1,showBaseLine:A.showBaseLine!==!1,upperLineColor:A.upperLineColor??"#0000ff",upperLineOpacity:A.upperLineOpacity??.35,upperLineWidth:A.upperLineWidth??1,showUpperLine:A.showUpperLine!==!1,lowerLineColor:A.lowerLineColor??"#0000ff",lowerLineOpacity:A.lowerLineOpacity??.35,lowerLineWidth:A.lowerLineWidth??1,showLowerLine:A.showLowerLine!==!1,showBackground:A.showBackground!==!1,backgroundOpacity:A.backgroundOpacity??.1,extendLeft:A.extendLeft??!1,extendRight:A.extendRight??!1,showPearsonsR:A.showPearsonsR!==!1,point1Time:A.p1?.rawTime??0,point2Time:A.p2?.rawTime??0};if(A.type==="fibonacci"){const t=A.primitive,i=[{ratio:0,label:"0.00",color:"#808080",enabled:!0},{ratio:.236,label:"0.24",color:"#cc2828",enabled:!0},{ratio:.382,label:"0.38",color:"#95cc28",enabled:!0},{ratio:.5,label:"0.50",color:"#28cc28",enabled:!0},{ratio:.618,label:"0.62",color:"#28cc95",enabled:!0},{ratio:.786,label:"0.79",color:"#2895cc",enabled:!0},{ratio:1,label:"1.00",color:"#808080",enabled:!0},{ratio:1.618,label:"1.62",color:"#2828cc",enabled:!0},{ratio:2.618,label:"2.62",color:"#cc2828",enabled:!0},{ratio:3.618,label:"3.62",color:"#9528cc",enabled:!0},{ratio:4.236,label:"4.24",color:"#cc2895",enabled:!0}],r=A.levels??i.map(n=>({...n,color:t?._levelColors?.[n.ratio]??n.color}));return{...e,lineColor:A.lineColor??"#80aab0",lineWidth:A.lineWidth??2,diagonalWidth:A.diagonalWidth??1,extended:A.extended??!1,levels:r,showBackground:A.showBackground!==!1,backgroundOpacity:A.backgroundOpacity??.1,showLabels:A.showLabels!==!1,hAlign:A.hAlign??"left",vAlign:A.vAlign??"middle",showPrice:A.showPrice!==!1,reverse:A.reverse??!1,point1Time:A.p1?.rawTime??0,point1Price:A.p1?.price??0,point2Time:A.p2?.rawTime??0,point2Price:A.p2?.price??0}}return A.type==="rulerline"?{...e,lineColor:A.lineColor??"#3b82f6",showArea:A.showArea!==!1,statsColor:A.statsColor??"#5f8f96",statsPosition:A.statsPosition??"right",statsShowAlways:A.statsShowAlways!==!1,statsPriceRange:A.statsPriceRange!==!1,statsBarsRange:A.statsBarsRange!==!1,statsDateRange:A.statsDateRange!==!1,point1Price:A.p1?.price??0,point1Time:A.p1?.rawTime??0,point2Price:A.p2?.price??0,point2Time:A.p2?.rawTime??0}:e}const du=({isOpen:A,onClose:e,chartObject:t,onUpdate:i})=>{const{theme:r}=$t(),s=Dw(r==="light"),[o,l]=Y.useState("style"),[c,h]=Y.useState({}),[m,v]=Y.useState(null),T=Y.useRef(null),Q=Y.useRef(null);Y.useEffect(()=>{t&&(h(yB(t)),l("style"))},[t]),Y.useEffect(()=>{A||v(null)},[A]);const b=H=>{if(H.button!==0)return;H.preventDefault();const W=T.current;if(!W)return;const ee=W.getBoundingClientRect(),q=ee.left,ie=ee.top;Q.current={startMX:H.clientX,startMY:H.clientY,startX:q,startY:ie},v({x:q,y:ie});const $=ce=>{const{startMX:te,startMY:we,startX:j,startY:ge}=Q.current;v({x:j+ce.clientX-te,y:ge+ce.clientY-we})},se=()=>{Q.current=null,document.removeEventListener("mousemove",$),document.removeEventListener("mouseup",se)};document.addEventListener("mousemove",$),document.addEventListener("mouseup",se)};if(!A||!t)return null;const E=Iw[t.type]||t.type,I=["style","coordinates","visualization"],F=()=>{if(o==="visualization")return a.jsx(Gw,{draft:c,setDraft:h,tokens:s});if(t.type==="text"){if(o==="style")return a.jsx(Rw,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(Zw,{draft:c,setDraft:h,tokens:s})}if(t.type==="gannline"){if(o==="style")return a.jsx($w,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(FA,{draft:c,setDraft:h,tokens:s})}if(t.type==="fibonacci"){if(o==="style")return a.jsx(gB,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(mB,{draft:c,setDraft:h,tokens:s})}if(t.type==="trendline"){if(o==="style")return a.jsx(Zn,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(FA,{draft:c,setDraft:h,tokens:s})}if(t.type==="pricelevel"){if(o==="style")return a.jsx(hu,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(Yw,{draft:c,setDraft:h,tokens:s})}if(t.type==="horizontalray"){if(o==="style")return a.jsx(hu,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(qw,{draft:c,setDraft:h,tokens:s})}if(t.type==="verticalline"){if(o==="style")return a.jsx(jw,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(eB,{draft:c,tokens:s})}if(t.type==="infoline"){if(o==="style")return a.jsx(Jw,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(FA,{draft:c,setDraft:h,tokens:s})}if(t.type==="rulerline"){if(o==="style")return a.jsx(Xw,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(FA,{draft:c,setDraft:h,tokens:s})}if(t.type==="arrowedline"){if(o==="style")return a.jsx(Zn,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(FA,{draft:c,setDraft:h,tokens:s})}if(t.type==="rayline"){if(o==="style")return a.jsx(Zn,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(FA,{draft:c,setDraft:h,tokens:s})}if(t.type==="extendedline"){if(o==="style")return a.jsx(Zn,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(FA,{draft:c,setDraft:h,tokens:s})}if(t.type==="crossline"){if(o==="style")return a.jsx(AB,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(iB,{draft:c,setDraft:h,tokens:s})}if(t.type==="trendbyangle"){if(o==="style")return a.jsx(tB,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(FA,{draft:c,setDraft:h,tokens:s})}if(t.type==="disjointchannel"){if(o==="style")return a.jsx(uu,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(pu,{draft:c,setDraft:h,tokens:s})}if(t.type==="flattopbottom"){if(o==="style")return a.jsx(uu,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(pu,{draft:c,setDraft:h,tokens:s})}if(t.type==="gannfan"){if(o==="style")return a.jsx(aB,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(FA,{draft:c,setDraft:h,tokens:s})}if(t.type==="ganngrid"){if(o==="style")return a.jsx(lB,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(FA,{draft:c,setDraft:h,tokens:s})}if(t.type==="triangle"){if(o==="style")return a.jsx(pB,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(fB,{draft:c,setDraft:h,tokens:s})}if(t.type==="circle"){if(o==="style")return a.jsx(uB,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(FA,{draft:c,setDraft:h,tokens:s})}if(t.type==="ellipse"){if(o==="style")return a.jsx(dB,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(FA,{draft:c,setDraft:h,tokens:s})}if(t.type==="rectangle"){if(o==="style")return a.jsx(wB,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(BB,{draft:c,tokens:s})}if(t.type==="andrewspitchfork"){if(o==="style")return a.jsx(cB,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(hB,{draft:c,setDraft:h,tokens:s})}if(t.type==="equidistantchannel"){if(o==="style")return a.jsx(sB,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(oB,{draft:c,setDraft:h,tokens:s})}if(t.type==="regressionchannel"||t.type==="stddevchannel"){if(o==="style")return a.jsx(rB,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(nB,{draft:c,tokens:s})}return a.jsx("div",{style:{padding:"24px 16px",fontSize:12,color:s.mutedText},children:"Customization for this tool is not yet available."})},N=()=>{i(c),e()};return a.jsxs("div",{ref:T,style:{pointerEvents:"auto",position:"fixed",zIndex:99999,display:"flex",flexDirection:"column",overflow:"hidden",...m===null?{top:"50%",left:"50%",transform:"translate(-50%, -50%)"}:{top:m.y,left:m.x,transform:"none"},width:450,maxWidth:"calc(100vw - 24px)",maxHeight:"calc(100vh - 24px)",background:s.background,border:`1px solid ${s.border}`,borderTop:`2px solid ${s.headerBlue}`,boxShadow:"0 18px 40px rgba(0, 0, 0, 0.45)"},children:[a.jsxs("div",{style:{display:"flex",flexShrink:0},children:[a.jsx("div",{onMouseDown:b,style:{display:"flex",minHeight:40,flexGrow:1,alignItems:"center",justifyContent:"space-between",overflow:"hidden",padding:"0 16px",background:s.headerBlue,color:s.headerText,cursor:"grab"},children:a.jsxs("div",{style:{display:"inline-flex",alignItems:"center",gap:8},children:[a.jsx("span",{style:{maxWidth:320,overflow:"hidden",fontSize:14,textOverflow:"ellipsis",whiteSpace:"nowrap"},children:E}),a.jsx("button",{type:"button",style:{background:"transparent",border:"none",padding:0,color:"inherit",cursor:"pointer"},children:a.jsx(da,{size:"18px",children:a.jsx(_w,{})})})]})}),a.jsx("button",{type:"button",onClick:e,title:"Close",style:{display:"flex",alignItems:"center",justifyContent:"center",padding:"0 4px",background:s.headerBlue,color:s.headerText,border:"none",cursor:"pointer"},children:a.jsx(da,{size:"20px",children:a.jsx(kw,{})})})]}),a.jsx("div",{style:{display:"flex",flexShrink:0,overflowX:"auto",borderBottom:`1px solid ${s.border}`},children:I.map(H=>{const W=o===H;return a.jsxs("button",{type:"button",onClick:()=>l(H),style:{position:"relative",height:40,padding:"0 16px",fontSize:13,whiteSpace:"nowrap",border:"none",background:"transparent",color:W?s.text:s.mutedText,cursor:"pointer"},children:[H.charAt(0).toUpperCase()+H.slice(1),W&&a.jsx("span",{style:{position:"absolute",bottom:0,left:0,height:3,width:"100%",background:s.headerBlue}})]},H)})}),a.jsx("div",{style:{flex:1,overflow:"auto"},children:F()}),a.jsxs("div",{style:{display:"flex",flexShrink:0,flexDirection:"row-reverse",gap:8,borderTop:`1px solid ${s.border}`,padding:"8px 16px"},children:[a.jsx("button",{type:"button",onClick:N,style:{display:"inline-flex",height:36,alignItems:"center",justifyContent:"center",padding:"0 12px",fontSize:12,border:"none",cursor:"pointer",background:s.greenHover,color:"#ffffff",boxShadow:`inset 0 0 0 1px ${s.greenActive}`},children:"Update"}),a.jsx("button",{type:"button",onClick:e,style:{display:"inline-flex",height:36,alignItems:"center",justifyContent:"center",padding:"0 12px",fontSize:12,cursor:"pointer",border:`1px solid ${s.green}`,background:"transparent",color:s.green},children:"Cancel"})]})]})};var ga=function(A,e){return ga=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])},ga(A,e)};function _A(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");ga(A,e);function t(){this.constructor=A}A.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var ma=function(){return ma=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++){t=arguments[i];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},ma.apply(this,arguments)};function aA(A,e,t,i){function r(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function o(h){try{c(i.next(h))}catch(m){s(m)}}function l(h){try{c(i.throw(h))}catch(m){s(m)}}function c(h){h.done?n(h.value):r(h.value).then(o,l)}c((i=i.apply(A,[])).next())})}function iA(A,e){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,r,n,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(c){return function(h){return l([c,h])}}function l(c){if(i)throw new TypeError("Generator is already executing.");for(;t;)try{if(i=1,r&&(n=c[0]&2?r.return:c[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,c[1])).done)return n;switch(r=0,n&&(c=[c[0]&2,n.value]),c[0]){case 0:case 1:n=c;break;case 4:return t.label++,{value:c[1],done:!1};case 5:t.label++,r=c[1],c=[0];continue;case 7:c=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!n||c[1]>n[0]&&c[1]<n[3])){t.label=c[1];break}if(c[0]===6&&t.label<n[1]){t.label=n[1],n=c;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(c);break}n[2]&&t.ops.pop(),t.trys.pop();continue}c=e.call(A,t)}catch(h){c=[6,h],r=0}finally{i=n=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function Yn(A,e,t){if(arguments.length===2)for(var i=0,r=e.length,n;i<r;i++)(n||!(i in e))&&(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return A.concat(n||e)}for(var ii=(function(){function A(e,t,i,r){this.left=e,this.top=t,this.width=i,this.height=r}return A.prototype.add=function(e,t,i,r){return new A(this.left+e,this.top+t,this.width+i,this.height+r)},A.fromClientRect=function(e,t){return new A(t.left+e.windowBounds.left,t.top+e.windowBounds.top,t.width,t.height)},A.fromDOMRectList=function(e,t){var i=Array.from(t).find(function(r){return r.width!==0});return i?new A(i.left+e.windowBounds.left,i.top+e.windowBounds.top,i.width,i.height):A.EMPTY},A.EMPTY=new A(0,0,0,0),A})(),qn=function(A,e){return ii.fromClientRect(A,e.getBoundingClientRect())},CB=function(A){var e=A.body,t=A.documentElement;if(!e||!t)throw new Error("Unable to get document size");var i=Math.max(Math.max(e.scrollWidth,t.scrollWidth),Math.max(e.offsetWidth,t.offsetWidth),Math.max(e.clientWidth,t.clientWidth)),r=Math.max(Math.max(e.scrollHeight,t.scrollHeight),Math.max(e.offsetHeight,t.offsetHeight),Math.max(e.clientHeight,t.clientHeight));return new ii(0,0,i,r)},jn=function(A){for(var e=[],t=0,i=A.length;t<i;){var r=A.charCodeAt(t++);if(r>=55296&&r<=56319&&t<i){var n=A.charCodeAt(t++);(n&64512)===56320?e.push(((r&1023)<<10)+(n&1023)+65536):(e.push(r),t--)}else e.push(r)}return e},_t=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var i=[],r=-1,n="";++r<t;){var s=A[r];s<=65535?i.push(s):(s-=65536,i.push((s>>10)+55296,s%1024+56320)),(r+1===t||i.length>16384)&&(n+=String.fromCharCode.apply(String,i),i.length=0)}return n},fu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vB=typeof Uint8Array>"u"?[]:new Uint8Array(256),es=0;es<fu.length;es++)vB[fu.charCodeAt(es)]=es;for(var gu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Lr=typeof Uint8Array>"u"?[]:new Uint8Array(256),ts=0;ts<gu.length;ts++)Lr[gu.charCodeAt(ts)]=ts;for(var bB=function(A){var e=A.length*.75,t=A.length,i,r=0,n,s,o,l;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var c=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),h=Array.isArray(c)?c:new Uint8Array(c);for(i=0;i<t;i+=4)n=Lr[A.charCodeAt(i)],s=Lr[A.charCodeAt(i+1)],o=Lr[A.charCodeAt(i+2)],l=Lr[A.charCodeAt(i+3)],h[r++]=n<<2|s>>4,h[r++]=(s&15)<<4|o>>2,h[r++]=(o&3)<<6|l&63;return c},TB=function(A){for(var e=A.length,t=[],i=0;i<e;i+=2)t.push(A[i+1]<<8|A[i]);return t},xB=function(A){for(var e=A.length,t=[],i=0;i<e;i+=4)t.push(A[i+3]<<24|A[i+2]<<16|A[i+1]<<8|A[i]);return t},Pi=5,wa=11,Ba=2,FB=wa-Pi,mu=65536>>Pi,QB=1<<Pi,ya=QB-1,UB=1024>>Pi,SB=mu+UB,EB=SB,LB=32,MB=EB+LB,HB=65536>>wa,IB=1<<FB,PB=IB-1,wu=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},DB=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},_B=function(A,e){var t=bB(A),i=Array.isArray(t)?xB(t):new Uint32Array(t),r=Array.isArray(t)?TB(t):new Uint16Array(t),n=24,s=wu(r,n/2,i[4]/2),o=i[5]===2?wu(r,(n+i[4])/2):DB(i,Math.ceil((n+i[4])/4));return new kB(i[0],i[1],i[2],i[3],s,o)},kB=(function(){function A(e,t,i,r,n,s){this.initialValue=e,this.errorValue=t,this.highStart=i,this.highValueIndex=r,this.index=n,this.data=s}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>Pi],t=(t<<Ba)+(e&ya),this.data[t];if(e<=65535)return t=this.index[mu+(e-55296>>Pi)],t=(t<<Ba)+(e&ya),this.data[t];if(e<this.highStart)return t=MB-HB+(e>>wa),t=this.index[t],t+=e>>Pi&PB,t=this.index[t],t=(t<<Ba)+(e&ya),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A})(),Bu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",OB=typeof Uint8Array>"u"?[]:new Uint8Array(256),As=0;As<Bu.length;As++)OB[Bu.charCodeAt(As)]=As;var NB="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPW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AcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc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wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAA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csBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABA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EsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB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AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBX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ABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABA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UABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",yu=50,KB=1,Cu=2,vu=3,zB=4,VB=5,bu=7,Tu=8,xu=9,fi=10,Ca=11,Fu=12,va=13,WB=14,Mr=15,ba=16,is=17,Hr=18,GB=19,Qu=20,Ta=21,Ir=22,xa=23,Zi=24,vA=25,Pr=26,Dr=27,Yi=28,RB=29,Di=30,$B=31,rs=32,ns=33,Fa=34,Qa=35,Ua=36,_r=37,Sa=38,ss=39,os=40,Ea=41,Uu=42,XB=43,JB=[9001,65288],Su="!",ot="×",as="÷",La=_B(NB),ri=[Di,Ua],Ma=[KB,Cu,vu,VB],Eu=[fi,Tu],Lu=[Dr,Pr],ZB=Ma.concat(Eu),Mu=[Sa,ss,os,Fa,Qa],YB=[Mr,va],qB=function(A,e){e===void 0&&(e="strict");var t=[],i=[],r=[];return A.forEach(function(n,s){var o=La.get(n);if(o>yu?(r.push(!0),o-=yu):r.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(n)!==-1)return i.push(s),t.push(ba);if(o===zB||o===Ca){if(s===0)return i.push(s),t.push(Di);var l=t[s-1];return ZB.indexOf(l)===-1?(i.push(i[s-1]),t.push(l)):(i.push(s),t.push(Di))}if(i.push(s),o===$B)return t.push(e==="strict"?Ta:_r);if(o===Uu||o===RB)return t.push(Di);if(o===XB)return n>=131072&&n<=196605||n>=196608&&n<=262141?t.push(_r):t.push(Di);t.push(o)}),[i,t,r]},Ha=function(A,e,t,i){var r=i[t];if(Array.isArray(A)?A.indexOf(r)!==-1:A===r)for(var n=t;n<=i.length;){n++;var s=i[n];if(s===e)return!0;if(s!==fi)break}if(r===fi)for(var n=t;n>0;){n--;var o=i[n];if(Array.isArray(A)?A.indexOf(o)!==-1:A===o)for(var l=t;l<=i.length;){l++;var s=i[l];if(s===e)return!0;if(s!==fi)break}if(o!==fi)break}return!1},Hu=function(A,e){for(var t=A;t>=0;){var i=e[t];if(i===fi)t--;else return i}return 0},jB=function(A,e,t,i,r){if(t[i]===0)return ot;var n=i-1;if(Array.isArray(r)&&r[n]===!0)return ot;var s=n-1,o=n+1,l=e[n],c=s>=0?e[s]:0,h=e[o];if(l===Cu&&h===vu)return ot;if(Ma.indexOf(l)!==-1)return Su;if(Ma.indexOf(h)!==-1||Eu.indexOf(h)!==-1)return ot;if(Hu(n,e)===Tu)return as;if(La.get(A[n])===Ca||(l===rs||l===ns)&&La.get(A[o])===Ca||l===bu||h===bu||l===xu||[fi,va,Mr].indexOf(l)===-1&&h===xu||[is,Hr,GB,Zi,Yi].indexOf(h)!==-1||Hu(n,e)===Ir||Ha(xa,Ir,n,e)||Ha([is,Hr],Ta,n,e)||Ha(Fu,Fu,n,e))return ot;if(l===fi)return as;if(l===xa||h===xa)return ot;if(h===ba||l===ba)return as;if([va,Mr,Ta].indexOf(h)!==-1||l===WB||c===Ua&&YB.indexOf(l)!==-1||l===Yi&&h===Ua||h===Qu||ri.indexOf(h)!==-1&&l===vA||ri.indexOf(l)!==-1&&h===vA||l===Dr&&[_r,rs,ns].indexOf(h)!==-1||[_r,rs,ns].indexOf(l)!==-1&&h===Pr||ri.indexOf(l)!==-1&&Lu.indexOf(h)!==-1||Lu.indexOf(l)!==-1&&ri.indexOf(h)!==-1||[Dr,Pr].indexOf(l)!==-1&&(h===vA||[Ir,Mr].indexOf(h)!==-1&&e[o+1]===vA)||[Ir,Mr].indexOf(l)!==-1&&h===vA||l===vA&&[vA,Yi,Zi].indexOf(h)!==-1)return ot;if([vA,Yi,Zi,is,Hr].indexOf(h)!==-1)for(var m=n;m>=0;){var v=e[m];if(v===vA)return ot;if([Yi,Zi].indexOf(v)!==-1)m--;else break}if([Dr,Pr].indexOf(h)!==-1)for(var m=[is,Hr].indexOf(l)!==-1?s:n;m>=0;){var v=e[m];if(v===vA)return ot;if([Yi,Zi].indexOf(v)!==-1)m--;else break}if(Sa===l&&[Sa,ss,Fa,Qa].indexOf(h)!==-1||[ss,Fa].indexOf(l)!==-1&&[ss,os].indexOf(h)!==-1||[os,Qa].indexOf(l)!==-1&&h===os||Mu.indexOf(l)!==-1&&[Qu,Pr].indexOf(h)!==-1||Mu.indexOf(h)!==-1&&l===Dr||ri.indexOf(l)!==-1&&ri.indexOf(h)!==-1||l===Zi&&ri.indexOf(h)!==-1||ri.concat(vA).indexOf(l)!==-1&&h===Ir&&JB.indexOf(A[o])===-1||ri.concat(vA).indexOf(h)!==-1&&l===Hr)return ot;if(l===Ea&&h===Ea){for(var T=t[n],Q=1;T>0&&(T--,e[T]===Ea);)Q++;if(Q%2!==0)return ot}return l===rs&&h===ns?ot:as},ey=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=qB(A,e.lineBreak),i=t[0],r=t[1],n=t[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(r=r.map(function(o){return[vA,Di,Uu].indexOf(o)!==-1?_r:o}));var s=e.wordBreak==="keep-all"?n.map(function(o,l){return o&&A[l]>=19968&&A[l]<=40959}):void 0;return[i,r,s]},ty=(function(){function A(e,t,i,r){this.codePoints=e,this.required=t===Su,this.start=i,this.end=r}return A.prototype.slice=function(){return _t.apply(void 0,this.codePoints.slice(this.start,this.end))},A})(),Ay=function(A,e){var t=jn(A),i=ey(t,e),r=i[0],n=i[1],s=i[2],o=t.length,l=0,c=0;return{next:function(){if(c>=o)return{done:!0,value:null};for(var h=ot;c<o&&(h=jB(t,n,r,++c,s))===ot;);if(h!==ot||c===o){var m=new ty(t,h,l,c);return l=c,{value:m,done:!1}}return{done:!0,value:null}}}},iy=1,ry=2,kr=4,Iu=8,ls=10,Pu=47,Or=92,ny=9,sy=32,cs=34,Nr=61,oy=35,ay=36,ly=37,hs=39,us=40,Kr=41,cy=95,fA=45,hy=33,uy=60,py=62,dy=64,fy=91,gy=93,my=61,wy=123,ps=63,By=125,Du=124,yy=126,Cy=128,_u=65533,Ia=42,_i=43,vy=44,by=58,Ty=59,zr=46,xy=0,Fy=8,Qy=11,Uy=14,Sy=31,Ey=127,$A=-1,ku=48,Ou=97,Nu=101,Ly=102,My=117,Hy=122,Ku=65,zu=69,Vu=70,Iy=85,Py=90,rA=function(A){return A>=ku&&A<=57},Dy=function(A){return A>=55296&&A<=57343},qi=function(A){return rA(A)||A>=Ku&&A<=Vu||A>=Ou&&A<=Ly},_y=function(A){return A>=Ou&&A<=Hy},ky=function(A){return A>=Ku&&A<=Py},Oy=function(A){return _y(A)||ky(A)},Ny=function(A){return A>=Cy},ds=function(A){return A===ls||A===ny||A===sy},fs=function(A){return Oy(A)||Ny(A)||A===cy},Wu=function(A){return fs(A)||rA(A)||A===fA},Ky=function(A){return A>=xy&&A<=Fy||A===Qy||A>=Uy&&A<=Sy||A===Ey},gi=function(A,e){return A!==Or?!1:e!==ls},gs=function(A,e,t){return A===fA?fs(e)||gi(e,t):fs(A)?!0:!!(A===Or&&gi(A,e))},Pa=function(A,e,t){return A===_i||A===fA?rA(e)?!0:e===zr&&rA(t):rA(A===zr?e:A)},zy=function(A){var e=0,t=1;(A[e]===_i||A[e]===fA)&&(A[e]===fA&&(t=-1),e++);for(var i=[];rA(A[e]);)i.push(A[e++]);var r=i.length?parseInt(_t.apply(void 0,i),10):0;A[e]===zr&&e++;for(var n=[];rA(A[e]);)n.push(A[e++]);var s=n.length,o=s?parseInt(_t.apply(void 0,n),10):0;(A[e]===zu||A[e]===Nu)&&e++;var l=1;(A[e]===_i||A[e]===fA)&&(A[e]===fA&&(l=-1),e++);for(var c=[];rA(A[e]);)c.push(A[e++]);var h=c.length?parseInt(_t.apply(void 0,c),10):0;return t*(r+o*Math.pow(10,-s))*Math.pow(10,l*h)},Vy={type:2},Wy={type:3},Gy={type:4},Ry={type:13},$y={type:8},Xy={type:21},Jy={type:9},Zy={type:10},Yy={type:11},qy={type:12},jy={type:14},ms={type:23},e2={type:1},t2={type:25},A2={type:24},i2={type:26},r2={type:27},n2={type:28},s2={type:29},o2={type:31},Da={type:32},Gu=(function(){function A(){this._value=[]}return A.prototype.write=function(e){this._value=this._value.concat(jn(e))},A.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==Da;)e.push(t),t=this.consumeToken();return e},A.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case cs:return this.consumeStringToken(cs);case oy:var t=this.peekCodePoint(0),i=this.peekCodePoint(1),r=this.peekCodePoint(2);if(Wu(t)||gi(i,r)){var n=gs(t,i,r)?ry:iy,s=this.consumeName();return{type:5,value:s,flags:n}}break;case ay:if(this.peekCodePoint(0)===Nr)return this.consumeCodePoint(),Ry;break;case hs:return this.consumeStringToken(hs);case us:return Vy;case Kr:return Wy;case Ia:if(this.peekCodePoint(0)===Nr)return this.consumeCodePoint(),jy;break;case _i:if(Pa(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case vy:return Gy;case fA:var o=e,l=this.peekCodePoint(0),c=this.peekCodePoint(1);if(Pa(o,l,c))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(gs(o,l,c))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(l===fA&&c===py)return this.consumeCodePoint(),this.consumeCodePoint(),A2;break;case zr:if(Pa(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case Pu:if(this.peekCodePoint(0)===Ia)for(this.consumeCodePoint();;){var h=this.consumeCodePoint();if(h===Ia&&(h=this.consumeCodePoint(),h===Pu))return this.consumeToken();if(h===$A)return this.consumeToken()}break;case by:return i2;case Ty:return r2;case uy:if(this.peekCodePoint(0)===hy&&this.peekCodePoint(1)===fA&&this.peekCodePoint(2)===fA)return this.consumeCodePoint(),this.consumeCodePoint(),t2;break;case dy:var m=this.peekCodePoint(0),v=this.peekCodePoint(1),T=this.peekCodePoint(2);if(gs(m,v,T)){var s=this.consumeName();return{type:7,value:s}}break;case fy:return n2;case Or:if(gi(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case gy:return s2;case my:if(this.peekCodePoint(0)===Nr)return this.consumeCodePoint(),$y;break;case wy:return Yy;case By:return qy;case My:case Iy:var Q=this.peekCodePoint(0),b=this.peekCodePoint(1);return Q===_i&&(qi(b)||b===ps)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case Du:if(this.peekCodePoint(0)===Nr)return this.consumeCodePoint(),Jy;if(this.peekCodePoint(0)===Du)return this.consumeCodePoint(),Xy;break;case yy:if(this.peekCodePoint(0)===Nr)return this.consumeCodePoint(),Zy;break;case $A:return Da}return ds(e)?(this.consumeWhiteSpace(),o2):rA(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):fs(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:_t(e)}},A.prototype.consumeCodePoint=function(){var e=this._value.shift();return typeof e>"u"?-1:e},A.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},A.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},A.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();qi(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var i=!1;t===ps&&e.length<6;)e.push(t),t=this.consumeCodePoint(),i=!0;if(i){var r=parseInt(_t.apply(void 0,e.map(function(l){return l===ps?ku:l})),16),n=parseInt(_t.apply(void 0,e.map(function(l){return l===ps?Vu:l})),16);return{type:30,start:r,end:n}}var s=parseInt(_t.apply(void 0,e),16);if(this.peekCodePoint(0)===fA&&qi(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var o=[];qi(t)&&o.length<6;)o.push(t),t=this.consumeCodePoint();var n=parseInt(_t.apply(void 0,o),16);return{type:30,start:s,end:n}}else return{type:30,start:s,end:s}},A.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===us?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===us?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},A.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===$A)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===hs||t===cs){var i=this.consumeStringToken(this.consumeCodePoint());return i.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===$A||this.peekCodePoint(0)===Kr)?(this.consumeCodePoint(),{type:22,value:i.value}):(this.consumeBadUrlRemnants(),ms)}for(;;){var r=this.consumeCodePoint();if(r===$A||r===Kr)return{type:22,value:_t.apply(void 0,e)};if(ds(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===$A||this.peekCodePoint(0)===Kr?(this.consumeCodePoint(),{type:22,value:_t.apply(void 0,e)}):(this.consumeBadUrlRemnants(),ms);if(r===cs||r===hs||r===us||Ky(r))return this.consumeBadUrlRemnants(),ms;if(r===Or)if(gi(r,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ms;else e.push(r)}},A.prototype.consumeWhiteSpace=function(){for(;ds(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===Kr||e===$A)return;gi(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(e){for(var t=5e4,i="";e>0;){var r=Math.min(t,e);i+=_t.apply(void 0,this._value.splice(0,r)),e-=r}return this._value.shift(),i},A.prototype.consumeStringToken=function(e){var t="",i=0;do{var r=this._value[i];if(r===$A||r===void 0||r===e)return t+=this.consumeStringSlice(i),{type:0,value:t};if(r===ls)return this._value.splice(0,i),e2;if(r===Or){var n=this._value[i+1];n!==$A&&n!==void 0&&(n===ls?(t+=this.consumeStringSlice(i),i=-1,this._value.shift()):gi(r,n)&&(t+=this.consumeStringSlice(i),t+=_t(this.consumeEscapedCodePoint()),i=-1))}i++}while(!0)},A.prototype.consumeNumber=function(){var e=[],t=kr,i=this.peekCodePoint(0);for((i===_i||i===fA)&&e.push(this.consumeCodePoint());rA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());i=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(i===zr&&rA(r))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Iu;rA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());i=this.peekCodePoint(0),r=this.peekCodePoint(1);var n=this.peekCodePoint(2);if((i===zu||i===Nu)&&((r===_i||r===fA)&&rA(n)||rA(r)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Iu;rA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[zy(e),t]},A.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],i=e[1],r=this.peekCodePoint(0),n=this.peekCodePoint(1),s=this.peekCodePoint(2);if(gs(r,n,s)){var o=this.consumeName();return{type:15,number:t,flags:i,unit:o}}return r===ly?(this.consumeCodePoint(),{type:16,number:t,flags:i}):{type:17,number:t,flags:i}},A.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(qi(e)){for(var t=_t(e);qi(this.peekCodePoint(0))&&t.length<6;)t+=_t(this.consumeCodePoint());ds(this.peekCodePoint(0))&&this.consumeCodePoint();var i=parseInt(t,16);return i===0||Dy(i)||i>1114111?_u:i}return e===$A?_u:e},A.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(Wu(t))e+=_t(t);else if(gi(t,this.peekCodePoint(0)))e+=_t(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),e}},A})(),Ru=(function(){function A(e){this._tokens=e}return A.create=function(e){var t=new Gu;return t.write(e),new A(t.read())},A.parseValue=function(e){return A.create(e).parseComponentValue()},A.parseValues=function(e){return A.create(e).parseComponentValues()},A.prototype.parseComponentValue=function(){for(var e=this.consumeToken();e.type===31;)e=this.consumeToken();if(e.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do e=this.consumeToken();while(e.type===31);if(e.type===32)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(t.type===32)return e;e.push(t),e.push()}},A.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},A.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},i=this.consumeToken();;){if(i.type===32||l2(i,e))return t;this.reconsumeToken(i),t.values.push(this.consumeComponentValue()),i=this.consumeToken()}},A.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var i=this.consumeToken();if(i.type===32||i.type===3)return t;this.reconsumeToken(i),t.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var e=this._tokens.shift();return typeof e>"u"?Da:e},A.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},A})(),Vr=function(A){return A.type===15},ji=function(A){return A.type===17},vt=function(A){return A.type===20},a2=function(A){return A.type===0},_a=function(A,e){return vt(A)&&A.value===e},$u=function(A){return A.type!==31},er=function(A){return A.type!==31&&A.type!==4},XA=function(A){var e=[],t=[];return A.forEach(function(i){if(i.type===4){if(t.length===0)throw new Error("Error parsing function args, zero tokens for arg");e.push(t),t=[];return}i.type!==31&&t.push(i)}),t.length&&e.push(t),e},l2=function(A,e){return e===11&&A.type===12||e===28&&A.type===29?!0:e===2&&A.type===3},mi=function(A){return A.type===17||A.type===15},Kt=function(A){return A.type===16||mi(A)},Xu=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},Xt={type:17,number:0,flags:kr},ka={type:16,number:50,flags:kr},wi={type:16,number:100,flags:kr},Wr=function(A,e,t){var i=A[0],r=A[1];return[Qt(i,e),Qt(typeof r<"u"?r:i,t)]},Qt=function(A,e){if(A.type===16)return A.number/100*e;if(Vr(A))switch(A.unit){case"rem":case"em":return 16*A.number;default:return A.number}return A.number},Ju="deg",Zu="grad",Yu="rad",qu="turn",ws={name:"angle",parse:function(A,e){if(e.type===15)switch(e.unit){case Ju:return Math.PI*e.number/180;case Zu:return Math.PI/200*e.number;case Yu:return e.number;case qu:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},ju=function(A){return A.type===15&&(A.unit===Ju||A.unit===Zu||A.unit===Yu||A.unit===qu)},ep=function(A){var e=A.filter(vt).map(function(t){return t.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Xt,Xt];case"to top":case"bottom":return QA(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Xt,wi];case"to right":case"left":return QA(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[wi,wi];case"to bottom":case"top":return QA(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[wi,Xt];case"to left":case"right":return QA(270)}return 0},QA=function(A){return Math.PI*A/180},Bi={name:"color",parse:function(A,e){if(e.type===18){var t=c2[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(e.type===5){if(e.value.length===3){var i=e.value.substring(0,1),r=e.value.substring(1,2),n=e.value.substring(2,3);return Ci(parseInt(i+i,16),parseInt(r+r,16),parseInt(n+n,16),1)}if(e.value.length===4){var i=e.value.substring(0,1),r=e.value.substring(1,2),n=e.value.substring(2,3),s=e.value.substring(3,4);return Ci(parseInt(i+i,16),parseInt(r+r,16),parseInt(n+n,16),parseInt(s+s,16)/255)}if(e.value.length===6){var i=e.value.substring(0,2),r=e.value.substring(2,4),n=e.value.substring(4,6);return Ci(parseInt(i,16),parseInt(r,16),parseInt(n,16),1)}if(e.value.length===8){var i=e.value.substring(0,2),r=e.value.substring(2,4),n=e.value.substring(4,6),s=e.value.substring(6,8);return Ci(parseInt(i,16),parseInt(r,16),parseInt(n,16),parseInt(s,16)/255)}}if(e.type===20){var o=ni[e.value.toUpperCase()];if(typeof o<"u")return o}return ni.TRANSPARENT}},yi=function(A){return(255&A)===0},Wt=function(A){var e=255&A,t=255&A>>8,i=255&A>>16,r=255&A>>24;return e<255?"rgba("+r+","+i+","+t+","+e/255+")":"rgb("+r+","+i+","+t+")"},Ci=function(A,e,t,i){return(A<<24|e<<16|t<<8|Math.round(i*255)<<0)>>>0},tp=function(A,e){if(A.type===17)return A.number;if(A.type===16){var t=e===3?1:255;return e===3?A.number/100*t:Math.round(A.number/100*t)}return 0},Ap=function(A,e){var t=e.filter(er);if(t.length===3){var i=t.map(tp),r=i[0],n=i[1],s=i[2];return Ci(r,n,s,1)}if(t.length===4){var o=t.map(tp),r=o[0],n=o[1],s=o[2],l=o[3];return Ci(r,n,s,l)}return 0};function Oa(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<1/2?e:t<2/3?(e-A)*6*(2/3-t)+A:A}var ip=function(A,e){var t=e.filter(er),i=t[0],r=t[1],n=t[2],s=t[3],o=(i.type===17?QA(i.number):ws.parse(A,i))/(Math.PI*2),l=Kt(r)?r.number/100:0,c=Kt(n)?n.number/100:0,h=typeof s<"u"&&Kt(s)?Qt(s,1):1;if(l===0)return Ci(c*255,c*255,c*255,1);var m=c<=.5?c*(l+1):c+l-c*l,v=c*2-m,T=Oa(v,m,o+1/3),Q=Oa(v,m,o),b=Oa(v,m,o-1/3);return Ci(T*255,Q*255,b*255,h)},c2={hsl:ip,hsla:ip,rgb:Ap,rgba:Ap},Gr=function(A,e){return Bi.parse(A,Ru.create(e).parseComponentValue())},ni={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},h2={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(vt(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},u2={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Bs=function(A,e){var t=Bi.parse(A,e[0]),i=e[1];return i&&Kt(i)?{color:t,stop:i}:{color:t,stop:null}},rp=function(A,e){var t=A[0],i=A[A.length-1];t.stop===null&&(t.stop=Xt),i.stop===null&&(i.stop=wi);for(var r=[],n=0,s=0;s<A.length;s++){var o=A[s].stop;if(o!==null){var l=Qt(o,e);l>n?r.push(l):r.push(n),n=l}else r.push(null)}for(var c=null,s=0;s<r.length;s++){var h=r[s];if(h===null)c===null&&(c=s);else if(c!==null){for(var m=s-c,v=r[c-1],T=(h-v)/(m+1),Q=1;Q<=m;Q++)r[c+Q-1]=T*Q;c=null}}return A.map(function(b,E){var I=b.color;return{color:I,stop:Math.max(Math.min(1,r[E]/e),0)}})},p2=function(A,e,t){var i=e/2,r=t/2,n=Qt(A[0],e)-i,s=r-Qt(A[1],t);return(Math.atan2(s,n)+Math.PI*2)%(Math.PI*2)},d2=function(A,e,t){var i=typeof A=="number"?A:p2(A,e,t),r=Math.abs(e*Math.sin(i))+Math.abs(t*Math.cos(i)),n=e/2,s=t/2,o=r/2,l=Math.sin(i-Math.PI/2)*o,c=Math.cos(i-Math.PI/2)*o;return[r,n-c,n+c,s-l,s+l]},kA=function(A,e){return Math.sqrt(A*A+e*e)},np=function(A,e,t,i,r){var n=[[0,0],[0,e],[A,0],[A,e]];return n.reduce(function(s,o){var l=o[0],c=o[1],h=kA(t-l,i-c);return(r?h<s.optimumDistance:h>s.optimumDistance)?{optimumCorner:o,optimumDistance:h}:s},{optimumDistance:r?1/0:-1/0,optimumCorner:null}).optimumCorner},f2=function(A,e,t,i,r){var n=0,s=0;switch(A.size){case 0:A.shape===0?n=s=Math.min(Math.abs(e),Math.abs(e-i),Math.abs(t),Math.abs(t-r)):A.shape===1&&(n=Math.min(Math.abs(e),Math.abs(e-i)),s=Math.min(Math.abs(t),Math.abs(t-r)));break;case 2:if(A.shape===0)n=s=Math.min(kA(e,t),kA(e,t-r),kA(e-i,t),kA(e-i,t-r));else if(A.shape===1){var o=Math.min(Math.abs(t),Math.abs(t-r))/Math.min(Math.abs(e),Math.abs(e-i)),l=np(i,r,e,t,!0),c=l[0],h=l[1];n=kA(c-e,(h-t)/o),s=o*n}break;case 1:A.shape===0?n=s=Math.max(Math.abs(e),Math.abs(e-i),Math.abs(t),Math.abs(t-r)):A.shape===1&&(n=Math.max(Math.abs(e),Math.abs(e-i)),s=Math.max(Math.abs(t),Math.abs(t-r)));break;case 3:if(A.shape===0)n=s=Math.max(kA(e,t),kA(e,t-r),kA(e-i,t),kA(e-i,t-r));else if(A.shape===1){var o=Math.max(Math.abs(t),Math.abs(t-r))/Math.max(Math.abs(e),Math.abs(e-i)),m=np(i,r,e,t,!1),c=m[0],h=m[1];n=kA(c-e,(h-t)/o),s=o*n}break}return Array.isArray(A.size)&&(n=Qt(A.size[0],i),s=A.size.length===2?Qt(A.size[1],r):n),[n,s]},g2=function(A,e){var t=QA(180),i=[];return XA(e).forEach(function(r,n){if(n===0){var s=r[0];if(s.type===20&&s.value==="to"){t=ep(r);return}else if(ju(s)){t=ws.parse(A,s);return}}var o=Bs(A,r);i.push(o)}),{angle:t,stops:i,type:1}},ys=function(A,e){var t=QA(180),i=[];return XA(e).forEach(function(r,n){if(n===0){var s=r[0];if(s.type===20&&["top","left","right","bottom"].indexOf(s.value)!==-1){t=ep(r);return}else if(ju(s)){t=(ws.parse(A,s)+QA(270))%QA(360);return}}var o=Bs(A,r);i.push(o)}),{angle:t,stops:i,type:1}},m2=function(A,e){var t=QA(180),i=[],r=1,n=0,s=3,o=[];return XA(e).forEach(function(l,c){var h=l[0];if(c===0){if(vt(h)&&h.value==="linear"){r=1;return}else if(vt(h)&&h.value==="radial"){r=2;return}}if(h.type===18){if(h.name==="from"){var m=Bi.parse(A,h.values[0]);i.push({stop:Xt,color:m})}else if(h.name==="to"){var m=Bi.parse(A,h.values[0]);i.push({stop:wi,color:m})}else if(h.name==="color-stop"){var v=h.values.filter(er);if(v.length===2){var m=Bi.parse(A,v[1]),T=v[0];ji(T)&&i.push({stop:{type:16,number:T.number*100,flags:T.flags},color:m})}}}}),r===1?{angle:(t+QA(180))%QA(360),stops:i,type:r}:{size:s,shape:n,stops:i,position:o,type:r}},sp="closest-side",op="farthest-side",ap="closest-corner",lp="farthest-corner",cp="circle",hp="ellipse",up="cover",pp="contain",w2=function(A,e){var t=0,i=3,r=[],n=[];return XA(e).forEach(function(s,o){var l=!0;if(o===0){var c=!1;l=s.reduce(function(m,v){if(c)if(vt(v))switch(v.value){case"center":return n.push(ka),m;case"top":case"left":return n.push(Xt),m;case"right":case"bottom":return n.push(wi),m}else(Kt(v)||mi(v))&&n.push(v);else if(vt(v))switch(v.value){case cp:return t=0,!1;case hp:return t=1,!1;case"at":return c=!0,!1;case sp:return i=0,!1;case up:case op:return i=1,!1;case pp:case ap:return i=2,!1;case lp:return i=3,!1}else if(mi(v)||Kt(v))return Array.isArray(i)||(i=[]),i.push(v),!1;return m},l)}if(l){var h=Bs(A,s);r.push(h)}}),{size:i,shape:t,stops:r,position:n,type:2}},Cs=function(A,e){var t=0,i=3,r=[],n=[];return XA(e).forEach(function(s,o){var l=!0;if(o===0?l=s.reduce(function(h,m){if(vt(m))switch(m.value){case"center":return n.push(ka),!1;case"top":case"left":return n.push(Xt),!1;case"right":case"bottom":return n.push(wi),!1}else if(Kt(m)||mi(m))return n.push(m),!1;return h},l):o===1&&(l=s.reduce(function(h,m){if(vt(m))switch(m.value){case cp:return t=0,!1;case hp:return t=1,!1;case pp:case sp:return i=0,!1;case op:return i=1,!1;case ap:return i=2,!1;case up:case lp:return i=3,!1}else if(mi(m)||Kt(m))return Array.isArray(i)||(i=[]),i.push(m),!1;return h},l)),l){var c=Bs(A,s);r.push(c)}}),{size:i,shape:t,stops:r,position:n,type:2}},B2=function(A){return A.type===1},y2=function(A){return A.type===2},Na={name:"image",parse:function(A,e){if(e.type===22){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(e.type===18){var i=dp[e.name];if(typeof i>"u")throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return i(A,e.values)}throw new Error("Unsupported image type "+e.type)}};function C2(A){return!(A.type===20&&A.value==="none")&&(A.type!==18||!!dp[A.name])}var dp={"linear-gradient":g2,"-moz-linear-gradient":ys,"-ms-linear-gradient":ys,"-o-linear-gradient":ys,"-webkit-linear-gradient":ys,"radial-gradient":w2,"-moz-radial-gradient":Cs,"-ms-radial-gradient":Cs,"-o-radial-gradient":Cs,"-webkit-radial-gradient":Cs,"-webkit-gradient":m2},v2={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e.filter(function(i){return er(i)&&C2(i)}).map(function(i){return Na.parse(A,i)})}},b2={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(vt(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},T2={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return XA(e).map(function(t){return t.filter(Kt)}).map(Xu)}},x2={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return XA(e).map(function(t){return t.filter(vt).map(function(i){return i.value}).join(" ")}).map(F2)}},F2=function(A){switch(A){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}},tr;(function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"})(tr||(tr={}));var Q2={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return XA(e).map(function(t){return t.filter(U2)})}},U2=function(A){return vt(A)||Kt(A)},vs=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},S2=vs("top"),E2=vs("right"),L2=vs("bottom"),M2=vs("left"),bs=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return Xu(t.filter(Kt))}}},H2=bs("top-left"),I2=bs("top-right"),P2=bs("bottom-right"),D2=bs("bottom-left"),Ts=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},_2=Ts("top"),k2=Ts("right"),O2=Ts("bottom"),N2=Ts("left"),xs=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Vr(t)?t.number:0}}},K2=xs("top"),z2=xs("right"),V2=xs("bottom"),W2=xs("left"),G2={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},R2={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){return e==="rtl"?1:0}},$2={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(vt).reduce(function(t,i){return t|X2(i.value)},0)}},X2=function(A){switch(A){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},J2={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Z2={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return e.type===20&&e.value==="normal"?0:e.type===17||e.type===15?e.number:0}},Fs;(function(A){A.NORMAL="normal",A.STRICT="strict"})(Fs||(Fs={}));var Y2={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){return e==="strict"?Fs.STRICT:Fs.NORMAL}},q2={name:"line-height",initialValue:"normal",prefix:!1,type:4},fp=function(A,e){return vt(A)&&A.value==="normal"?1.2*e:A.type===17?e*A.number:Kt(A)?Qt(A,e):e},j2={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return e.type===20&&e.value==="none"?null:Na.parse(A,e)}},eC={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,e){return e==="inside"?0:1}},Ka={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){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;default:return-1}}},Qs=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},tC=Qs("top"),AC=Qs("right"),iC=Qs("bottom"),rC=Qs("left"),nC={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(vt).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},sC={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){return e==="break-word"?"break-word":"normal"}},Us=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},oC=Us("top"),aC=Us("right"),lC=Us("bottom"),cC=Us("left"),hC={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,e){switch(e){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},uC={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},pC={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&_a(e[0],"none")?[]:XA(e).map(function(t){for(var i={color:ni.TRANSPARENT,offsetX:Xt,offsetY:Xt,blur:Xt},r=0,n=0;n<t.length;n++){var s=t[n];mi(s)?(r===0?i.offsetX=s:r===1?i.offsetY=s:i.blur=s,r++):i.color=Bi.parse(A,s)}return i})}},dC={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},fC={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(A,e){if(e.type===20&&e.value==="none")return null;if(e.type===18){var t=wC[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},gC=function(A){var e=A.filter(function(t){return t.type===17}).map(function(t){return t.number});return e.length===6?e:null},mC=function(A){var e=A.filter(function(l){return l.type===17}).map(function(l){return l.number}),t=e[0],i=e[1];e[2],e[3];var r=e[4],n=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var s=e[12],o=e[13];return e[14],e[15],e.length===16?[t,i,r,n,s,o]:null},wC={matrix:gC,matrix3d:mC},gp={type:16,number:50,flags:kr},BC=[gp,gp],yC={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter(Kt);return t.length!==2?BC:[t[0],t[1]]}},CC={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"hidden":return 1;case"collapse":return 2;default:return 0}}},Rr;(function(A){A.NORMAL="normal",A.BREAK_ALL="break-all",A.KEEP_ALL="keep-all"})(Rr||(Rr={}));for(var vC={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return Rr.BREAK_ALL;case"keep-all":return Rr.KEEP_ALL;default:return Rr.NORMAL}}},bC={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(e.type===20)return{auto:!0,order:0};if(ji(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},mp={name:"time",parse:function(A,e){if(e.type===15)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},TC={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return ji(e)?e.number:1}},xC={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},FC={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(vt).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return t!==0})}},QC={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,e){var t=[],i=[];return e.forEach(function(r){switch(r.type){case 20:case 0:t.push(r.value);break;case 17:t.push(r.number.toString());break;case 4:i.push(t.join(" ")),t.length=0;break}}),t.length&&i.push(t.join(" ")),i.map(function(r){return r.indexOf(" ")===-1?r:"'"+r+"'"})}},UC={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},SC={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){return ji(e)?e.number:vt(e)&&e.value==="bold"?700:400}},EC={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(vt).map(function(t){return t.value})}},LC={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},zt=function(A,e){return(A&e)!==0},MC={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e}},HC={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;for(var i=[],r=e.filter($u),n=0;n<r.length;n++){var s=r[n],o=r[n+1];if(s.type===20){var l=o&&ji(o)?o.number:1;i.push({counter:s.value,increment:l})}}return i}},IC={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return[];for(var t=[],i=e.filter($u),r=0;r<i.length;r++){var n=i[r],s=i[r+1];if(vt(n)&&n.value!=="none"){var o=s&&ji(s)?s.number:0;t.push({counter:n.value,reset:o})}}return t}},PC={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(A,e){return e.filter(Vr).map(function(t){return mp.parse(A,t)})}},DC={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;var i=[],r=e.filter(a2);if(r.length%2!==0)return null;for(var n=0;n<r.length;n+=2){var s=r[n].value,o=r[n+1].value;i.push({open:s,close:o})}return i}},wp=function(A,e,t){if(!A)return"";var i=A[Math.min(e,A.length-1)];return i?t?i.open:i.close:""},_C={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&_a(e[0],"none")?[]:XA(e).map(function(t){for(var i={color:255,offsetX:Xt,offsetY:Xt,blur:Xt,spread:Xt,inset:!1},r=0,n=0;n<t.length;n++){var s=t[n];_a(s,"inset")?i.inset=!0:mi(s)?(r===0?i.offsetX=s:r===1?i.offsetY=s:r===2?i.blur=s:i.spread=s,r++):i.color=Bi.parse(A,s)}return i})}},kC={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(A,e){var t=[0,1,2],i=[];return e.filter(vt).forEach(function(r){switch(r.value){case"stroke":i.push(1);break;case"fill":i.push(0);break;case"markers":i.push(2);break}}),t.forEach(function(r){i.indexOf(r)===-1&&i.push(r)}),i}},OC={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},NC={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return Vr(e)?e.number:0}},KC=(function(){function A(e,t){var i,r;this.animationDuration=Ke(e,PC,t.animationDuration),this.backgroundClip=Ke(e,h2,t.backgroundClip),this.backgroundColor=Ke(e,u2,t.backgroundColor),this.backgroundImage=Ke(e,v2,t.backgroundImage),this.backgroundOrigin=Ke(e,b2,t.backgroundOrigin),this.backgroundPosition=Ke(e,T2,t.backgroundPosition),this.backgroundRepeat=Ke(e,x2,t.backgroundRepeat),this.backgroundSize=Ke(e,Q2,t.backgroundSize),this.borderTopColor=Ke(e,S2,t.borderTopColor),this.borderRightColor=Ke(e,E2,t.borderRightColor),this.borderBottomColor=Ke(e,L2,t.borderBottomColor),this.borderLeftColor=Ke(e,M2,t.borderLeftColor),this.borderTopLeftRadius=Ke(e,H2,t.borderTopLeftRadius),this.borderTopRightRadius=Ke(e,I2,t.borderTopRightRadius),this.borderBottomRightRadius=Ke(e,P2,t.borderBottomRightRadius),this.borderBottomLeftRadius=Ke(e,D2,t.borderBottomLeftRadius),this.borderTopStyle=Ke(e,_2,t.borderTopStyle),this.borderRightStyle=Ke(e,k2,t.borderRightStyle),this.borderBottomStyle=Ke(e,O2,t.borderBottomStyle),this.borderLeftStyle=Ke(e,N2,t.borderLeftStyle),this.borderTopWidth=Ke(e,K2,t.borderTopWidth),this.borderRightWidth=Ke(e,z2,t.borderRightWidth),this.borderBottomWidth=Ke(e,V2,t.borderBottomWidth),this.borderLeftWidth=Ke(e,W2,t.borderLeftWidth),this.boxShadow=Ke(e,_C,t.boxShadow),this.color=Ke(e,G2,t.color),this.direction=Ke(e,R2,t.direction),this.display=Ke(e,$2,t.display),this.float=Ke(e,J2,t.cssFloat),this.fontFamily=Ke(e,QC,t.fontFamily),this.fontSize=Ke(e,UC,t.fontSize),this.fontStyle=Ke(e,LC,t.fontStyle),this.fontVariant=Ke(e,EC,t.fontVariant),this.fontWeight=Ke(e,SC,t.fontWeight),this.letterSpacing=Ke(e,Z2,t.letterSpacing),this.lineBreak=Ke(e,Y2,t.lineBreak),this.lineHeight=Ke(e,q2,t.lineHeight),this.listStyleImage=Ke(e,j2,t.listStyleImage),this.listStylePosition=Ke(e,eC,t.listStylePosition),this.listStyleType=Ke(e,Ka,t.listStyleType),this.marginTop=Ke(e,tC,t.marginTop),this.marginRight=Ke(e,AC,t.marginRight),this.marginBottom=Ke(e,iC,t.marginBottom),this.marginLeft=Ke(e,rC,t.marginLeft),this.opacity=Ke(e,TC,t.opacity);var n=Ke(e,nC,t.overflow);this.overflowX=n[0],this.overflowY=n[n.length>1?1:0],this.overflowWrap=Ke(e,sC,t.overflowWrap),this.paddingTop=Ke(e,oC,t.paddingTop),this.paddingRight=Ke(e,aC,t.paddingRight),this.paddingBottom=Ke(e,lC,t.paddingBottom),this.paddingLeft=Ke(e,cC,t.paddingLeft),this.paintOrder=Ke(e,kC,t.paintOrder),this.position=Ke(e,uC,t.position),this.textAlign=Ke(e,hC,t.textAlign),this.textDecorationColor=Ke(e,xC,(i=t.textDecorationColor)!==null&&i!==void 0?i:t.color),this.textDecorationLine=Ke(e,FC,(r=t.textDecorationLine)!==null&&r!==void 0?r:t.textDecoration),this.textShadow=Ke(e,pC,t.textShadow),this.textTransform=Ke(e,dC,t.textTransform),this.transform=Ke(e,fC,t.transform),this.transformOrigin=Ke(e,yC,t.transformOrigin),this.visibility=Ke(e,CC,t.visibility),this.webkitTextStrokeColor=Ke(e,OC,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=Ke(e,NC,t.webkitTextStrokeWidth),this.wordBreak=Ke(e,vC,t.wordBreak),this.zIndex=Ke(e,bC,t.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},A.prototype.isTransparent=function(){return yi(this.backgroundColor)},A.prototype.isTransformed=function(){return this.transform!==null},A.prototype.isPositioned=function(){return this.position!==0},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return this.float!==0},A.prototype.isInlineLevel=function(){return zt(this.display,4)||zt(this.display,33554432)||zt(this.display,268435456)||zt(this.display,536870912)||zt(this.display,67108864)||zt(this.display,134217728)},A})(),zC=(function(){function A(e,t){this.content=Ke(e,MC,t.content),this.quotes=Ke(e,DC,t.quotes)}return A})(),Bp=(function(){function A(e,t){this.counterIncrement=Ke(e,HC,t.counterIncrement),this.counterReset=Ke(e,IC,t.counterReset)}return A})(),Ke=function(A,e,t){var i=new Gu,r=t!==null&&typeof t<"u"?t.toString():e.initialValue;i.write(r);var n=new Ru(i.read());switch(e.type){case 2:var s=n.parseComponentValue();return e.parse(A,vt(s)?s.value:e.initialValue);case 0:return e.parse(A,n.parseComponentValue());case 1:return e.parse(A,n.parseComponentValues());case 4:return n.parseComponentValue();case 3:switch(e.format){case"angle":return ws.parse(A,n.parseComponentValue());case"color":return Bi.parse(A,n.parseComponentValue());case"image":return Na.parse(A,n.parseComponentValue());case"length":var o=n.parseComponentValue();return mi(o)?o:Xt;case"length-percentage":var l=n.parseComponentValue();return Kt(l)?l:Xt;case"time":return mp.parse(A,n.parseComponentValue())}break}},VC="data-html2canvas-debug",WC=function(A){var e=A.getAttribute(VC);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},za=function(A,e){var t=WC(A);return t===1||e===t},JA=(function(){function A(e,t){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,za(t,3))debugger;this.styles=new KC(e,window.getComputedStyle(t,null)),Al(t)&&(this.styles.animationDuration.some(function(i){return i>0})&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=qn(this.context,t),za(t,4)&&(this.flags|=16)}return A})(),GC="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIA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ACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIA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OAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",yp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$r=typeof Uint8Array>"u"?[]:new Uint8Array(256),Ss=0;Ss<yp.length;Ss++)$r[yp.charCodeAt(Ss)]=Ss;for(var RC=function(A){var e=A.length*.75,t=A.length,i,r=0,n,s,o,l;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var c=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),h=Array.isArray(c)?c:new Uint8Array(c);for(i=0;i<t;i+=4)n=$r[A.charCodeAt(i)],s=$r[A.charCodeAt(i+1)],o=$r[A.charCodeAt(i+2)],l=$r[A.charCodeAt(i+3)],h[r++]=n<<2|s>>4,h[r++]=(s&15)<<4|o>>2,h[r++]=(o&3)<<6|l&63;return c},$C=function(A){for(var e=A.length,t=[],i=0;i<e;i+=2)t.push(A[i+1]<<8|A[i]);return t},XC=function(A){for(var e=A.length,t=[],i=0;i<e;i+=4)t.push(A[i+3]<<24|A[i+2]<<16|A[i+1]<<8|A[i]);return t},ki=5,Va=11,Wa=2,JC=Va-ki,Cp=65536>>ki,ZC=1<<ki,Ga=ZC-1,YC=1024>>ki,qC=Cp+YC,jC=qC,ev=32,tv=jC+ev,Av=65536>>Va,iv=1<<JC,rv=iv-1,vp=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},nv=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},sv=function(A,e){var t=RC(A),i=Array.isArray(t)?XC(t):new Uint32Array(t),r=Array.isArray(t)?$C(t):new Uint16Array(t),n=24,s=vp(r,n/2,i[4]/2),o=i[5]===2?vp(r,(n+i[4])/2):nv(i,Math.ceil((n+i[4])/4));return new ov(i[0],i[1],i[2],i[3],s,o)},ov=(function(){function A(e,t,i,r,n,s){this.initialValue=e,this.errorValue=t,this.highStart=i,this.highValueIndex=r,this.index=n,this.data=s}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>ki],t=(t<<Wa)+(e&Ga),this.data[t];if(e<=65535)return t=this.index[Cp+(e-55296>>ki)],t=(t<<Wa)+(e&Ga),this.data[t];if(e<this.highStart)return t=tv-Av+(e>>Va),t=this.index[t],t+=e>>ki&rv,t=this.index[t],t=(t<<Wa)+(e&Ga),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A})(),bp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",av=typeof Uint8Array>"u"?[]:new Uint8Array(256),Es=0;Es<bp.length;Es++)av[bp.charCodeAt(Es)]=Es;var lv=1,Ra=2,$a=3,Tp=4,xp=5,cv=7,Fp=8,Xa=9,Ja=10,Qp=11,Up=12,Sp=13,Ep=14,Za=15,hv=function(A){for(var e=[],t=0,i=A.length;t<i;){var r=A.charCodeAt(t++);if(r>=55296&&r<=56319&&t<i){var n=A.charCodeAt(t++);(n&64512)===56320?e.push(((r&1023)<<10)+(n&1023)+65536):(e.push(r),t--)}else e.push(r)}return e},uv=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var i=[],r=-1,n="";++r<t;){var s=A[r];s<=65535?i.push(s):(s-=65536,i.push((s>>10)+55296,s%1024+56320)),(r+1===t||i.length>16384)&&(n+=String.fromCharCode.apply(String,i),i.length=0)}return n},pv=sv(GC),UA="×",Ya="÷",dv=function(A){return pv.get(A)},fv=function(A,e,t){var i=t-2,r=e[i],n=e[t-1],s=e[t];if(n===Ra&&s===$a)return UA;if(n===Ra||n===$a||n===Tp||s===Ra||s===$a||s===Tp)return Ya;if(n===Fp&&[Fp,Xa,Qp,Up].indexOf(s)!==-1||(n===Qp||n===Xa)&&(s===Xa||s===Ja)||(n===Up||n===Ja)&&s===Ja||s===Sp||s===xp||s===cv||n===lv)return UA;if(n===Sp&&s===Ep){for(;r===xp;)r=e[--i];if(r===Ep)return UA}if(n===Za&&s===Za){for(var o=0;r===Za;)o++,r=e[--i];if(o%2===0)return UA}return Ya},gv=function(A){var e=hv(A),t=e.length,i=0,r=0,n=e.map(dv);return{next:function(){if(i>=t)return{done:!0,value:null};for(var s=UA;i<t&&(s=fv(e,n,++i))===UA;);if(s!==UA||i===t){var o=uv.apply(null,e.slice(r,i));return r=i,{value:o,done:!1}}return{done:!0,value:null}}}},mv=function(A){for(var e=gv(A),t=[],i;!(i=e.next()).done;)i.value&&t.push(i.value.slice());return t},wv=function(A){var e=123;if(A.createRange){var t=A.createRange();if(t.getBoundingClientRect){var i=A.createElement("boundtest");i.style.height=e+"px",i.style.display="block",A.body.appendChild(i),t.selectNode(i);var r=t.getBoundingClientRect(),n=Math.round(r.height);if(A.body.removeChild(i),n===e)return!0}}return!1},Bv=function(A){var e=A.createElement("boundtest");e.style.width="50px",e.style.display="block",e.style.fontSize="12px",e.style.letterSpacing="0px",e.style.wordSpacing="0px",A.body.appendChild(e);var t=A.createRange();e.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var i=e.firstChild,r=jn(i.data).map(function(l){return _t(l)}),n=0,s={},o=r.every(function(l,c){t.setStart(i,n),t.setEnd(i,n+l.length);var h=t.getBoundingClientRect();n+=l.length;var m=h.x>s.x||h.y>s.y;return s=h,c===0?!0:m});return A.body.removeChild(e),o},yv=function(){return typeof new Image().crossOrigin<"u"},Cv=function(){return typeof new XMLHttpRequest().responseType=="string"},vv=function(A){var e=new Image,t=A.createElement("canvas"),i=t.getContext("2d");if(!i)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{i.drawImage(e,0,0),t.toDataURL()}catch{return!1}return!0},Lp=function(A){return A[0]===0&&A[1]===255&&A[2]===0&&A[3]===255},bv=function(A){var e=A.createElement("canvas"),t=100;e.width=t,e.height=t;var i=e.getContext("2d");if(!i)return Promise.reject(!1);i.fillStyle="rgb(0, 255, 0)",i.fillRect(0,0,t,t);var r=new Image,n=e.toDataURL();r.src=n;var s=qa(t,t,0,0,r);return i.fillStyle="red",i.fillRect(0,0,t,t),Mp(s).then(function(o){i.drawImage(o,0,0);var l=i.getImageData(0,0,t,t).data;i.fillStyle="red",i.fillRect(0,0,t,t);var c=A.createElement("div");return c.style.backgroundImage="url("+n+")",c.style.height=t+"px",Lp(l)?Mp(qa(t,t,0,0,c)):Promise.reject(!1)}).then(function(o){return i.drawImage(o,0,0),Lp(i.getImageData(0,0,t,t).data)}).catch(function(){return!1})},qa=function(A,e,t,i,r){var n="http://www.w3.org/2000/svg",s=document.createElementNS(n,"svg"),o=document.createElementNS(n,"foreignObject");return s.setAttributeNS(null,"width",A.toString()),s.setAttributeNS(null,"height",e.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",t.toString()),o.setAttributeNS(null,"y",i.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(o),o.appendChild(r),s},Mp=function(A){return new Promise(function(e,t){var i=new Image;i.onload=function(){return e(i)},i.onerror=t,i.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(A))})},Jt={get SUPPORT_RANGE_BOUNDS(){var A=wv(document);return Object.defineProperty(Jt,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=Jt.SUPPORT_RANGE_BOUNDS&&Bv(document);return Object.defineProperty(Jt,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=vv(document);return Object.defineProperty(Jt,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A=typeof Array.from=="function"&&typeof window.fetch=="function"?bv(document):Promise.resolve(!1);return Object.defineProperty(Jt,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=yv();return Object.defineProperty(Jt,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=Cv();return Object.defineProperty(Jt,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Jt,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(Jt,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},Xr=(function(){function A(e,t){this.text=e,this.bounds=t}return A})(),Tv=function(A,e,t,i){var r=Qv(e,t),n=[],s=0;return r.forEach(function(o){if(t.textDecorationLine.length||o.trim().length>0)if(Jt.SUPPORT_RANGE_BOUNDS){var l=Hp(i,s,o.length).getClientRects();if(l.length>1){var c=ja(o),h=0;c.forEach(function(v){n.push(new Xr(v,ii.fromDOMRectList(A,Hp(i,h+s,v.length).getClientRects()))),h+=v.length})}else n.push(new Xr(o,ii.fromDOMRectList(A,l)))}else{var m=i.splitText(o.length);n.push(new Xr(o,xv(A,i))),i=m}else Jt.SUPPORT_RANGE_BOUNDS||(i=i.splitText(o.length));s+=o.length}),n},xv=function(A,e){var t=e.ownerDocument;if(t){var i=t.createElement("html2canvaswrapper");i.appendChild(e.cloneNode(!0));var r=e.parentNode;if(r){r.replaceChild(i,e);var n=qn(A,i);return i.firstChild&&r.replaceChild(i.firstChild,i),n}}return ii.EMPTY},Hp=function(A,e,t){var i=A.ownerDocument;if(!i)throw new Error("Node has no owner document");var r=i.createRange();return r.setStart(A,e),r.setEnd(A,e+t),r},ja=function(A){if(Jt.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map(function(t){return t.segment})}return mv(A)},Fv=function(A,e){if(Jt.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map(function(i){return i.segment})}return Sv(A,e)},Qv=function(A,e){return e.letterSpacing!==0?ja(A):Fv(A,e)},Uv=[32,160,4961,65792,65793,4153,4241],Sv=function(A,e){for(var t=Ay(A,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),i=[],r,n=function(){if(r.value){var s=r.value.slice(),o=jn(s),l="";o.forEach(function(c){Uv.indexOf(c)===-1?l+=_t(c):(l.length&&i.push(l),i.push(_t(c)),l="")}),l.length&&i.push(l)}};!(r=t.next()).done;)n();return i},Ev=(function(){function A(e,t,i){this.text=Lv(t.data,i.textTransform),this.textBounds=Tv(e,this.text,i,t)}return A})(),Lv=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(Mv,Hv);case 2:return A.toUpperCase();default:return A}},Mv=/(^|\s|:|-|\(|\))([a-z])/g,Hv=function(A,e,t){return A.length>0?e+t.toUpperCase():A},Ip=(function(A){_A(e,A);function e(t,i){var r=A.call(this,t,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 e})(JA),Pp=(function(A){_A(e,A);function e(t,i){var r=A.call(this,t,i)||this;return r.canvas=i,r.intrinsicWidth=i.width,r.intrinsicHeight=i.height,r}return e})(JA),Dp=(function(A){_A(e,A);function e(t,i){var r=A.call(this,t,i)||this,n=new XMLSerializer,s=qn(t,i);return i.setAttribute("width",s.width+"px"),i.setAttribute("height",s.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(n.serializeToString(i)),r.intrinsicWidth=i.width.baseVal.value,r.intrinsicHeight=i.height.baseVal.value,r.context.cache.addImage(r.svg),r}return e})(JA),_p=(function(A){_A(e,A);function e(t,i){var r=A.call(this,t,i)||this;return r.value=i.value,r}return e})(JA),el=(function(A){_A(e,A);function e(t,i){var r=A.call(this,t,i)||this;return r.start=i.start,r.reversed=typeof i.reversed=="boolean"&&i.reversed===!0,r}return e})(JA),Iv=[{type:15,flags:0,unit:"px",number:3}],Pv=[{type:16,flags:0,number:50}],Dv=function(A){return A.width>A.height?new ii(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width<A.height?new ii(A.left,A.top+(A.height-A.width)/2,A.width,A.width):A},_v=function(A){var e=A.type===kv?new Array(A.value.length+1).join("•"):A.value;return e.length===0?A.placeholder||"":e},Ls="checkbox",Ms="radio",kv="password",kp=707406591,tl=(function(A){_A(e,A);function e(t,i){var r=A.call(this,t,i)||this;switch(r.type=i.type.toLowerCase(),r.checked=i.checked,r.value=_v(i),(r.type===Ls||r.type===Ms)&&(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=Dv(r.bounds)),r.type){case Ls:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=Iv;break;case Ms:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=Pv;break}return r}return e})(JA),Op=(function(A){_A(e,A);function e(t,i){var r=A.call(this,t,i)||this,n=i.options[i.selectedIndex||0];return r.value=n&&n.text||"",r}return e})(JA),Np=(function(A){_A(e,A);function e(t,i){var r=A.call(this,t,i)||this;return r.value=i.value,r}return e})(JA),Kp=(function(A){_A(e,A);function e(t,i){var r=A.call(this,t,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=Vp(t,i.contentWindow.document.documentElement);var n=i.contentWindow.document.documentElement?Gr(t,getComputedStyle(i.contentWindow.document.documentElement).backgroundColor):ni.TRANSPARENT,s=i.contentWindow.document.body?Gr(t,getComputedStyle(i.contentWindow.document.body).backgroundColor):ni.TRANSPARENT;r.backgroundColor=yi(n)?yi(s)?r.styles.backgroundColor:s:n}}catch{}return r}return e})(JA),Ov=["OL","UL","MENU"],Hs=function(A,e,t,i){for(var r=e.firstChild,n=void 0;r;r=n)if(n=r.nextSibling,Wp(r)&&r.data.trim().length>0)t.textNodes.push(new Ev(A,r,t.styles));else if(Ar(r))if(Zp(r)&&r.assignedNodes)r.assignedNodes().forEach(function(o){return Hs(A,o,t,i)});else{var s=zp(A,r);s.styles.isVisible()&&(Nv(r,s,i)?s.flags|=4:Kv(s.styles)&&(s.flags|=2),Ov.indexOf(r.tagName)!==-1&&(s.flags|=8),t.elements.push(s),r.slot,r.shadowRoot?Hs(A,r.shadowRoot,s,i):!Ps(r)&&!Gp(r)&&!Ds(r)&&Hs(A,r,s,i))}},zp=function(A,e){return rl(e)?new Ip(A,e):Rp(e)?new Pp(A,e):Gp(e)?new Dp(A,e):zv(e)?new _p(A,e):Vv(e)?new el(A,e):Wv(e)?new tl(A,e):Ds(e)?new Op(A,e):Ps(e)?new Np(A,e):Xp(e)?new Kp(A,e):new JA(A,e)},Vp=function(A,e){var t=zp(A,e);return t.flags|=4,Hs(A,e,t,t),t},Nv=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||il(A)&&t.styles.isTransparent()},Kv=function(A){return A.isPositioned()||A.isFloating()},Wp=function(A){return A.nodeType===Node.TEXT_NODE},Ar=function(A){return A.nodeType===Node.ELEMENT_NODE},Al=function(A){return Ar(A)&&typeof A.style<"u"&&!Is(A)},Is=function(A){return typeof A.className=="object"},zv=function(A){return A.tagName==="LI"},Vv=function(A){return A.tagName==="OL"},Wv=function(A){return A.tagName==="INPUT"},Gv=function(A){return A.tagName==="HTML"},Gp=function(A){return A.tagName==="svg"},il=function(A){return A.tagName==="BODY"},Rp=function(A){return A.tagName==="CANVAS"},$p=function(A){return A.tagName==="VIDEO"},rl=function(A){return A.tagName==="IMG"},Xp=function(A){return A.tagName==="IFRAME"},Jp=function(A){return A.tagName==="STYLE"},Rv=function(A){return A.tagName==="SCRIPT"},Ps=function(A){return A.tagName==="TEXTAREA"},Ds=function(A){return A.tagName==="SELECT"},Zp=function(A){return A.tagName==="SLOT"},Yp=function(A){return A.tagName.indexOf("-")>0},$v=(function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},A.prototype.pop=function(e){var t=this;e.forEach(function(i){return t.counters[i].pop()})},A.prototype.parse=function(e){var t=this,i=e.counterIncrement,r=e.counterReset,n=!0;i!==null&&i.forEach(function(o){var l=t.counters[o.counter];l&&o.increment!==0&&(n=!1,l.length||l.push(1),l[Math.max(0,l.length-1)]+=o.increment)});var s=[];return n&&r.forEach(function(o){var l=t.counters[o.counter];s.push(o.counter),l||(l=t.counters[o.counter]=[]),l.push(o.reset)}),s},A})(),qp={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"]},jp={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Xv={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Jv={integers:[1e4,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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},ir=function(A,e,t,i,r,n){return A<e||A>t?Zr(A,r,n.length>0):i.integers.reduce(function(s,o,l){for(;A>=o;)A-=o,s+=i.values[l];return s},"")+n},ed=function(A,e,t,i){var r="";do t||A--,r=i(A)+r,A/=e;while(A*e>=e);return r},kt=function(A,e,t,i,r){var n=t-e+1;return(A<0?"-":"")+(ed(Math.abs(A),n,i,function(s){return _t(Math.floor(s%n)+e)})+r)},Oi=function(A,e,t){t===void 0&&(t=". ");var i=e.length;return ed(Math.abs(A),i,!1,function(r){return e[Math.floor(r%i)]})+t},rr=1,vi=2,bi=4,Jr=8,si=function(A,e,t,i,r,n){if(A<-9999||A>9999)return Zr(A,4,r.length>0);var s=Math.abs(A),o=r;if(s===0)return e[0]+o;for(var l=0;s>0&&l<=4;l++){var c=s%10;c===0&&zt(n,rr)&&o!==""?o=e[c]+o:c>1||c===1&&l===0||c===1&&l===1&&zt(n,vi)||c===1&&l===1&&zt(n,bi)&&A>100||c===1&&l>1&&zt(n,Jr)?o=e[c]+(l>0?t[l-1]:"")+o:c===1&&l>0&&(o=t[l-1]+o),s=Math.floor(s/10)}return(A<0?i:"")+o},td="十百千萬",Ad="拾佰仟萬",id="マイナス",nl="마이너스",Zr=function(A,e,t){var i=t?". ":"",r=t?"、":"",n=t?", ":"",s=t?" ":"";switch(e){case 0:return"•"+s;case 1:return"◦"+s;case 2:return"◾"+s;case 5:var o=kt(A,48,57,!0,i);return o.length<4?"0"+o:o;case 4:return Oi(A,"〇一二三四五六七八九",r);case 6:return ir(A,1,3999,qp,3,i).toLowerCase();case 7:return ir(A,1,3999,qp,3,i);case 8:return kt(A,945,969,!1,i);case 9:return kt(A,97,122,!1,i);case 10:return kt(A,65,90,!1,i);case 11:return kt(A,1632,1641,!0,i);case 12:case 49:return ir(A,1,9999,jp,3,i);case 35:return ir(A,1,9999,jp,3,i).toLowerCase();case 13:return kt(A,2534,2543,!0,i);case 14:case 30:return kt(A,6112,6121,!0,i);case 15:return Oi(A,"子丑寅卯辰巳午未申酉戌亥",r);case 16:return Oi(A,"甲乙丙丁戊己庚辛壬癸",r);case 17:case 48:return si(A,"零一二三四五六七八九",td,"負",r,vi|bi|Jr);case 47:return si(A,"零壹貳參肆伍陸柒捌玖",Ad,"負",r,rr|vi|bi|Jr);case 42:return si(A,"零一二三四五六七八九",td,"负",r,vi|bi|Jr);case 41:return si(A,"零壹贰叁肆伍陆柒捌玖",Ad,"负",r,rr|vi|bi|Jr);case 26:return si(A,"〇一二三四五六七八九","十百千万",id,r,0);case 25:return si(A,"零壱弐参四伍六七八九","拾百千万",id,r,rr|vi|bi);case 31:return si(A,"영일이삼사오육칠팔구","십백천만",nl,n,rr|vi|bi);case 33:return si(A,"零一二三四五六七八九","十百千萬",nl,n,0);case 32:return si(A,"零壹貳參四五六七八九","拾百千",nl,n,rr|vi|bi);case 18:return kt(A,2406,2415,!0,i);case 20:return ir(A,1,19999,Jv,3,i);case 21:return kt(A,2790,2799,!0,i);case 22:return kt(A,2662,2671,!0,i);case 22:return ir(A,1,10999,Xv,3,i);case 23:return Oi(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Oi(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return kt(A,3302,3311,!0,i);case 28:return Oi(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",r);case 29:return Oi(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",r);case 34:return kt(A,3792,3801,!0,i);case 37:return kt(A,6160,6169,!0,i);case 38:return kt(A,4160,4169,!0,i);case 39:return kt(A,2918,2927,!0,i);case 40:return kt(A,1776,1785,!0,i);case 43:return kt(A,3046,3055,!0,i);case 44:return kt(A,3174,3183,!0,i);case 45:return kt(A,3664,3673,!0,i);case 46:return kt(A,3872,3881,!0,i);default:return kt(A,48,57,!0,i)}},rd="data-html2canvas-ignore",nd=(function(){function A(e,t,i){if(this.context=e,this.options=i,this.scrolledElements=[],this.referenceElement=t,this.counters=new $v,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(e,t){var i=this,r=Zv(e,t);if(!r.contentWindow)return Promise.reject("Unable to find iframe window");var n=e.defaultView.pageXOffset,s=e.defaultView.pageYOffset,o=r.contentWindow,l=o.document,c=jv(r).then(function(){return aA(i,void 0,void 0,function(){var h,m;return iA(this,function(v){switch(v.label){case 0:return this.scrolledElements.forEach(ib),o&&(o.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==t.top||o.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-t.left,o.scrollY-t.top,0,0))),h=this.options.onclone,m=this.clonedReferenceElement,typeof m>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:l.fonts&&l.fonts.ready?[4,l.fonts.ready]:[3,2];case 1:v.sent(),v.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,qv(l)]:[3,4];case 3:v.sent(),v.label=4;case 4:return typeof h=="function"?[2,Promise.resolve().then(function(){return h(l,m)}).then(function(){return r})]:[2,r]}})})});return l.open(),l.write(tb(document.doctype)+"<html></html>"),Ab(this.referenceElement.ownerDocument,n,s),l.replaceChild(l.adoptNode(this.documentElement),l.documentElement),l.close(),c},A.prototype.createElementClone=function(e){if(za(e,2))debugger;if(Rp(e))return this.createCanvasClone(e);if($p(e))return this.createVideoClone(e);if(Jp(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return rl(t)&&(rl(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),t.loading==="lazy"&&(t.loading="eager")),Yp(t)?this.createCustomElementClone(t):t},A.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return sl(e.style,t),t},A.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var i=[].slice.call(t.cssRules,0).reduce(function(n,s){return s&&typeof s.cssText=="string"?n+s.cssText:n},""),r=e.cloneNode(!1);return r.textContent=i,r}}catch(n){if(this.context.logger.error("Unable to access cssRules property",n),n.name!=="SecurityError")throw n}return e.cloneNode(!1)},A.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var i=e.ownerDocument.createElement("img");try{return i.src=e.toDataURL(),i}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var r=e.cloneNode(!1);try{r.width=e.width,r.height=e.height;var n=e.getContext("2d"),s=r.getContext("2d");if(s)if(!this.options.allowTaint&&n)s.putImageData(n.getImageData(0,0,e.width,e.height),0,0);else{var o=(t=e.getContext("webgl2"))!==null&&t!==void 0?t:e.getContext("webgl");if(o){var l=o.getContextAttributes();l?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}s.drawImage(e,0,0)}return r}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return r},A.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var i=t.getContext("2d");try{return i&&(i.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||i.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var r=e.ownerDocument.createElement("canvas");return r.width=e.offsetWidth,r.height=e.offsetHeight,r},A.prototype.appendChildNode=function(e,t,i){(!Ar(t)||!Rv(t)&&!t.hasAttribute(rd)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!Ar(t)||!Jp(t))&&e.appendChild(this.cloneNode(t,i))},A.prototype.cloneChildNodes=function(e,t,i){for(var r=this,n=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;n;n=n.nextSibling)if(Ar(n)&&Zp(n)&&typeof n.assignedNodes=="function"){var s=n.assignedNodes();s.length&&s.forEach(function(o){return r.appendChildNode(t,o,i)})}else this.appendChildNode(t,n,i)},A.prototype.cloneNode=function(e,t){if(Wp(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var i=e.ownerDocument.defaultView;if(i&&Ar(e)&&(Al(e)||Is(e))){var r=this.createElementClone(e);r.style.transitionProperty="none";var n=i.getComputedStyle(e),s=i.getComputedStyle(e,":before"),o=i.getComputedStyle(e,":after");this.referenceElement===e&&Al(r)&&(this.clonedReferenceElement=r),il(r)&&sb(r);var l=this.counters.parse(new Bp(this.context,n)),c=this.resolvePseudoContent(e,r,s,Yr.BEFORE);Yp(e)&&(t=!0),$p(e)||this.cloneChildNodes(e,r,t),c&&r.insertBefore(c,r.firstChild);var h=this.resolvePseudoContent(e,r,o,Yr.AFTER);return h&&r.appendChild(h),this.counters.pop(l),(n&&(this.options.copyStyles||Is(e))&&!Xp(e)||t)&&sl(n,r),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([r,e.scrollLeft,e.scrollTop]),(Ps(e)||Ds(e))&&(Ps(r)||Ds(r))&&(r.value=e.value),r}return e.cloneNode(!1)},A.prototype.resolvePseudoContent=function(e,t,i,r){var n=this;if(i){var s=i.content,o=t.ownerDocument;if(!(!o||!s||s==="none"||s==="-moz-alt-content"||i.display==="none")){this.counters.parse(new Bp(this.context,i));var l=new zC(this.context,i),c=o.createElement("html2canvaspseudoelement");sl(i,c),l.content.forEach(function(m){if(m.type===0)c.appendChild(o.createTextNode(m.value));else if(m.type===22){var v=o.createElement("img");v.src=m.value,v.style.opacity="1",c.appendChild(v)}else if(m.type===18){if(m.name==="attr"){var T=m.values.filter(vt);T.length&&c.appendChild(o.createTextNode(e.getAttribute(T[0].value)||""))}else if(m.name==="counter"){var Q=m.values.filter(er),b=Q[0],E=Q[1];if(b&&vt(b)){var I=n.counters.getCounterValue(b.value),F=E&&vt(E)?Ka.parse(n.context,E.value):3;c.appendChild(o.createTextNode(Zr(I,F,!1)))}}else if(m.name==="counters"){var N=m.values.filter(er),b=N[0],Z=N[1],E=N[2];if(b&&vt(b)){var H=n.counters.getCounterValues(b.value),W=E&&vt(E)?Ka.parse(n.context,E.value):3,ee=Z&&Z.type===0?Z.value:"",q=H.map(function(se){return Zr(se,W,!1)}).join(ee);c.appendChild(o.createTextNode(q))}}}else if(m.type===20)switch(m.value){case"open-quote":c.appendChild(o.createTextNode(wp(l.quotes,n.quoteDepth++,!0)));break;case"close-quote":c.appendChild(o.createTextNode(wp(l.quotes,--n.quoteDepth,!1)));break;default:c.appendChild(o.createTextNode(m.value))}}),c.className=ol+" "+al;var h=r===Yr.BEFORE?" "+ol:" "+al;return Is(t)?t.className.baseValue+=h:t.className+=h,c}}},A.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},A})(),Yr;(function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"})(Yr||(Yr={}));var Zv=function(A,e){var t=A.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=e.width.toString(),t.height=e.height.toString(),t.scrolling="no",t.setAttribute(rd,"true"),A.body.appendChild(t),t},Yv=function(A){return new Promise(function(e){if(A.complete){e();return}if(!A.src){e();return}A.onload=e,A.onerror=e})},qv=function(A){return Promise.all([].slice.call(A.images,0).map(Yv))},jv=function(A){return new Promise(function(e,t){var i=A.contentWindow;if(!i)return t("No window assigned for iframe");var r=i.document;i.onload=A.onload=function(){i.onload=A.onload=null;var n=setInterval(function(){r.body.childNodes.length>0&&r.readyState==="complete"&&(clearInterval(n),e(A))},50)}})},eb=["all","d","content"],sl=function(A,e){for(var t=A.length-1;t>=0;t--){var i=A.item(t);eb.indexOf(i)===-1&&e.style.setProperty(i,A.getPropertyValue(i))}return e},tb=function(A){var e="";return A&&(e+="<!DOCTYPE ",A.name&&(e+=A.name),A.internalSubset&&(e+=A.internalSubset),A.publicId&&(e+='"'+A.publicId+'"'),A.systemId&&(e+='"'+A.systemId+'"'),e+=">"),e},Ab=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},ib=function(A){var e=A[0],t=A[1],i=A[2];e.scrollLeft=t,e.scrollTop=i},rb=":before",nb=":after",ol="___html2canvas___pseudoelement_before",al="___html2canvas___pseudoelement_after",sd=`{
|
|
6
|
+
`+n):i.stack=n}catch{}}throw i}}_request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=Hi(this.defaults,t);const{transitional:i,paramsSerializer:r,headers:n}=t;i!==void 0&&_n.assertOptions(i,{silentJSONParsing:TA.transitional(TA.boolean),forcedJSONParsing:TA.transitional(TA.boolean),clarifyTimeoutError:TA.transitional(TA.boolean),legacyInterceptorReqResOrdering:TA.transitional(TA.boolean)},!1),r!=null&&(de.isFunction(r)?t.paramsSerializer={serialize:r}:_n.assertOptions(r,{encode:TA.function,serialize:TA.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),_n.assertOptions(t,{baseUrl:TA.spelling("baseURL"),withXsrfToken:TA.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=n&&de.merge(n.common,n[t.method]);n&&de.forEach(["delete","get","head","post","put","patch","common"],Q=>{delete n[Q]}),t.headers=pA.concat(s,n);const o=[];let l=!0;this.interceptors.request.forEach(function(b){if(typeof b.runWhen=="function"&&b.runWhen(t)===!1)return;l=l&&b.synchronous;const E=t.transitional||Vo;E&&E.legacyInterceptorReqResOrdering?o.unshift(b.fulfilled,b.rejected):o.push(b.fulfilled,b.rejected)});const c=[];this.interceptors.response.forEach(function(b){c.push(b.fulfilled,b.rejected)});let h,m=0,v;if(!l){const Q=[Ih.bind(this),void 0];for(Q.unshift(...o),Q.push(...c),v=Q.length,h=Promise.resolve(t);m<v;)h=h.then(Q[m++],Q[m++]);return h}v=o.length;let T=t;for(;m<v;){const Q=o[m++],b=o[m++];try{T=Q(T)}catch(E){b.call(this,E);break}}try{h=Ih.call(this,T)}catch(Q){return Promise.reject(Q)}for(m=0,v=c.length;m<v;)h=h.then(c[m++],c[m++]);return h}getUri(e){e=Hi(this.defaults,e);const t=bh(e.baseURL,e.url,e.allowAbsoluteUrls);return fh(t,e.params,e.paramsSerializer)}};de.forEach(["delete","get","head","options"],function(e){Ii.prototype[e]=function(t,i){return this.request(Hi(i||{},{method:e,url:t,data:(i||{}).data}))}}),de.forEach(["post","put","patch"],function(e){function t(i){return function(n,s,o){return this.request(Hi(o||{},{method:e,headers:i?{"Content-Type":"multipart/form-data"}:{},url:n,data:s}))}}Ii.prototype[e]=t(),Ii.prototype[e+"Form"]=t(!0)});let d1=class uf{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(n){t=n});const i=this;this.promise.then(r=>{if(!i._listeners)return;let n=i._listeners.length;for(;n-- >0;)i._listeners[n](r);i._listeners=null}),this.promise.then=r=>{let n;const s=new Promise(o=>{i.subscribe(o),n=o}).then(r);return s.cancel=function(){i.unsubscribe(n)},s},e(function(n,s,o){i.reason||(i.reason=new Qr(n,s,o),t(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=i=>{e.abort(i)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new uf(function(r){e=r}),cancel:e}}};function f1(A){return function(t){return A.apply(null,t)}}function g1(A){return de.isObject(A)&&A.isAxiosError===!0}const Zo={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent: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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Zo).forEach(([A,e])=>{Zo[e]=A});function _h(A){const e=new Ii(A),t=Ah(Ii.prototype.request,e);return de.extend(t,Ii.prototype,e,{allOwnKeys:!0}),de.extend(t,e,null,{allOwnKeys:!0}),t.create=function(r){return _h(Hi(A,r))},t}const Ct=_h(xr);Ct.Axios=Ii,Ct.CanceledError=Qr,Ct.CancelToken=d1,Ct.isCancel=Bh,Ct.VERSION=Ph,Ct.toFormData=Mn,Ct.AxiosError=et,Ct.Cancel=Ct.CanceledError,Ct.all=function(e){return Promise.all(e)},Ct.spread=f1,Ct.isAxiosError=g1,Ct.mergeConfig=Hi,Ct.AxiosHeaders=pA,Ct.formToJSON=A=>mh(de.isHTMLForm(A)?new FormData(A):A),Ct.getAdapter=Hh.getAdapter,Ct.HttpStatusCode=Zo,Ct.default=Ct;const{Axios:ex,AxiosError:tx,CanceledError:Ax,isCancel:ix,CancelToken:rx,VERSION:nx,all:sx,Cancel:ox,isAxiosError:ax,spread:lx,toFormData:cx,AxiosHeaders:hx,HttpStatusCode:ux,formToJSON:px,getAdapter:dx,mergeConfig:fx}=Ct,GA=Object.create(null);GA.open="0",GA.close="1",GA.ping="2",GA.pong="3",GA.message="4",GA.upgrade="5",GA.noop="6";const kn=Object.create(null);Object.keys(GA).forEach(A=>{kn[GA[A]]=A});const Yo={type:"error",data:"parser error"},kh=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Oh=typeof ArrayBuffer=="function",Nh=A=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(A):A&&A.buffer instanceof ArrayBuffer,qo=({type:A,data:e},t,i)=>kh&&e instanceof Blob?t?i(e):Kh(e,i):Oh&&(e instanceof ArrayBuffer||Nh(e))?t?i(e):Kh(new Blob([e]),i):i(GA[A]+(e||"")),Kh=(A,e)=>{const t=new FileReader;return t.onload=function(){const i=t.result.split(",")[1];e("b"+(i||""))},t.readAsDataURL(A)};function zh(A){return A instanceof Uint8Array?A:A instanceof ArrayBuffer?new Uint8Array(A):new Uint8Array(A.buffer,A.byteOffset,A.byteLength)}let jo;function m1(A,e){if(kh&&A.data instanceof Blob)return A.data.arrayBuffer().then(zh).then(e);if(Oh&&(A.data instanceof ArrayBuffer||Nh(A.data)))return e(zh(A.data));qo(A,!1,t=>{jo||(jo=new TextEncoder),e(jo.encode(t))})}const Vh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ur=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let A=0;A<Vh.length;A++)Ur[Vh.charCodeAt(A)]=A;const w1=A=>{let e=A.length*.75,t=A.length,i,r=0,n,s,o,l;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);const c=new ArrayBuffer(e),h=new Uint8Array(c);for(i=0;i<t;i+=4)n=Ur[A.charCodeAt(i)],s=Ur[A.charCodeAt(i+1)],o=Ur[A.charCodeAt(i+2)],l=Ur[A.charCodeAt(i+3)],h[r++]=n<<2|s>>4,h[r++]=(s&15)<<4|o>>2,h[r++]=(o&3)<<6|l&63;return c},B1=typeof ArrayBuffer=="function",ea=(A,e)=>{if(typeof A!="string")return{type:"message",data:Wh(A,e)};const t=A.charAt(0);return t==="b"?{type:"message",data:y1(A.substring(1),e)}:kn[t]?A.length>1?{type:kn[t],data:A.substring(1)}:{type:kn[t]}:Yo},y1=(A,e)=>{if(B1){const t=w1(A);return Wh(t,e)}else return{base64:!0,data:A}},Wh=(A,e)=>e==="blob"?A instanceof Blob?A:new Blob([A]):A instanceof ArrayBuffer?A:A.buffer,Gh="",C1=(A,e)=>{const t=A.length,i=new Array(t);let r=0;A.forEach((n,s)=>{qo(n,!1,o=>{i[s]=o,++r===t&&e(i.join(Gh))})})},v1=(A,e)=>{const t=A.split(Gh),i=[];for(let r=0;r<t.length;r++){const n=ea(t[r],e);if(i.push(n),n.type==="error")break}return i};function b1(){return new TransformStream({transform(A,e){m1(A,t=>{const i=t.length;let r;if(i<126)r=new Uint8Array(1),new DataView(r.buffer).setUint8(0,i);else if(i<65536){r=new Uint8Array(3);const n=new DataView(r.buffer);n.setUint8(0,126),n.setUint16(1,i)}else{r=new Uint8Array(9);const n=new DataView(r.buffer);n.setUint8(0,127),n.setBigUint64(1,BigInt(i))}A.data&&typeof A.data!="string"&&(r[0]|=128),e.enqueue(r),e.enqueue(t)})}})}let ta;function On(A){return A.reduce((e,t)=>e+t.length,0)}function Nn(A,e){if(A[0].length===e)return A.shift();const t=new Uint8Array(e);let i=0;for(let r=0;r<e;r++)t[r]=A[0][i++],i===A[0].length&&(A.shift(),i=0);return A.length&&i<A[0].length&&(A[0]=A[0].slice(i)),t}function T1(A,e){ta||(ta=new TextDecoder);const t=[];let i=0,r=-1,n=!1;return new TransformStream({transform(s,o){for(t.push(s);;){if(i===0){if(On(t)<1)break;const l=Nn(t,1);n=(l[0]&128)===128,r=l[0]&127,r<126?i=3:r===126?i=1:i=2}else if(i===1){if(On(t)<2)break;const l=Nn(t,2);r=new DataView(l.buffer,l.byteOffset,l.length).getUint16(0),i=3}else if(i===2){if(On(t)<8)break;const l=Nn(t,8),c=new DataView(l.buffer,l.byteOffset,l.length),h=c.getUint32(0);if(h>Math.pow(2,21)-1){o.enqueue(Yo);break}r=h*Math.pow(2,32)+c.getUint32(4),i=3}else{if(On(t)<r)break;const l=Nn(t,r);o.enqueue(ea(n?l:ta.decode(l),e)),i=0}if(r===0||r>A){o.enqueue(Yo);break}}}})}const Rh=4;function Nt(A){if(A)return x1(A)}function x1(A){for(var e in Nt.prototype)A[e]=Nt.prototype[e];return A}Nt.prototype.on=Nt.prototype.addEventListener=function(A,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+A]=this._callbacks["$"+A]||[]).push(e),this},Nt.prototype.once=function(A,e){function t(){this.off(A,t),e.apply(this,arguments)}return t.fn=e,this.on(A,t),this},Nt.prototype.off=Nt.prototype.removeListener=Nt.prototype.removeAllListeners=Nt.prototype.removeEventListener=function(A,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var t=this._callbacks["$"+A];if(!t)return this;if(arguments.length==1)return delete this._callbacks["$"+A],this;for(var i,r=0;r<t.length;r++)if(i=t[r],i===e||i.fn===e){t.splice(r,1);break}return t.length===0&&delete this._callbacks["$"+A],this},Nt.prototype.emit=function(A){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),t=this._callbacks["$"+A],i=1;i<arguments.length;i++)e[i-1]=arguments[i];if(t){t=t.slice(0);for(var i=0,r=t.length;i<r;++i)t[i].apply(this,e)}return this},Nt.prototype.emitReserved=Nt.prototype.emit,Nt.prototype.listeners=function(A){return this._callbacks=this._callbacks||{},this._callbacks["$"+A]||[]},Nt.prototype.hasListeners=function(A){return!!this.listeners(A).length};const Kn=typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,t)=>t(e,0),xA=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),F1="arraybuffer";function gx(){}function $h(A,...e){return e.reduce((t,i)=>(A.hasOwnProperty(i)&&(t[i]=A[i]),t),{})}const Q1=xA.setTimeout,U1=xA.clearTimeout;function zn(A,e){e.useNativeTimers?(A.setTimeoutFn=Q1.bind(xA),A.clearTimeoutFn=U1.bind(xA)):(A.setTimeoutFn=xA.setTimeout.bind(xA),A.clearTimeoutFn=xA.clearTimeout.bind(xA))}const S1=1.33;function E1(A){return typeof A=="string"?L1(A):Math.ceil((A.byteLength||A.size)*S1)}function L1(A){let e=0,t=0;for(let i=0,r=A.length;i<r;i++)e=A.charCodeAt(i),e<128?t+=1:e<2048?t+=2:e<55296||e>=57344?t+=3:(i++,t+=4);return t}function Xh(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function M1(A){let e="";for(let t in A)A.hasOwnProperty(t)&&(e.length&&(e+="&"),e+=encodeURIComponent(t)+"="+encodeURIComponent(A[t]));return e}function H1(A){let e={},t=A.split("&");for(let i=0,r=t.length;i<r;i++){let n=t[i].split("=");e[decodeURIComponent(n[0])]=decodeURIComponent(n[1])}return e}class I1 extends Error{constructor(e,t,i){super(e),this.description=t,this.context=i,this.type="TransportError"}}class Aa extends Nt{constructor(e){super(),this.writable=!1,zn(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,t,i){return super.emitReserved("error",new I1(e,t,i)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const t=ea(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,t={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){const e=this.opts.hostname;return e.indexOf(":")===-1?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(e){const t=M1(e);return t.length?"?"+t:""}}class P1 extends Aa{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(e){this.readyState="pausing";const t=()=>{this.readyState="paused",e()};if(this._polling||!this.writable){let i=0;this._polling&&(i++,this.once("pollComplete",function(){--i||t()})),this.writable||(i++,this.once("drain",function(){--i||t()}))}else t()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const t=i=>{if(this.readyState==="opening"&&i.type==="open"&&this.onOpen(),i.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(i)};v1(e,this.socket.binaryType).forEach(t),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,C1(e,t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const e=this.opts.secure?"https":"http",t=this.query||{};return this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=Xh()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.createUri(e,t)}}let Jh=!1;try{Jh=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const D1=Jh;function _1(){}class k1 extends P1{constructor(e){if(super(e),typeof location<"u"){const t=location.protocol==="https:";let i=location.port;i||(i=t?"443":"80"),this.xd=typeof location<"u"&&e.hostname!==location.hostname||i!==e.port}}doWrite(e,t){const i=this.request({method:"POST",data:e});i.on("success",t),i.on("error",(r,n)=>{this.onError("xhr post error",r,n)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(t,i)=>{this.onError("xhr poll error",t,i)}),this.pollXhr=e}}class RA extends Nt{constructor(e,t,i){super(),this.createRequest=e,zn(this,i),this._opts=i,this._method=i.method||"GET",this._uri=t,this._data=i.data!==void 0?i.data:null,this._create()}_create(){var e;const t=$h(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this._opts.xd;const i=this._xhr=this.createRequest(t);try{i.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){i.setDisableHeaderCheck&&i.setDisableHeaderCheck(!0);for(let r in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(r)&&i.setRequestHeader(r,this._opts.extraHeaders[r])}}catch{}if(this._method==="POST")try{i.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{i.setRequestHeader("Accept","*/*")}catch{}(e=this._opts.cookieJar)===null||e===void 0||e.addCookies(i),"withCredentials"in i&&(i.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(i.timeout=this._opts.requestTimeout),i.onreadystatechange=()=>{var r;i.readyState===3&&((r=this._opts.cookieJar)===null||r===void 0||r.parseCookies(i.getResponseHeader("set-cookie"))),i.readyState===4&&(i.status===200||i.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof i.status=="number"?i.status:0)},0))},i.send(this._data)}catch(r){this.setTimeoutFn(()=>{this._onError(r)},0);return}typeof document<"u"&&(this._index=RA.requestsCount++,RA.requests[this._index]=this)}_onError(e){this.emitReserved("error",e,this._xhr),this._cleanup(!0)}_cleanup(e){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=_1,e)try{this._xhr.abort()}catch{}typeof document<"u"&&delete RA.requests[this._index],this._xhr=null}}_onLoad(){const e=this._xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}if(RA.requestsCount=0,RA.requests={},typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Zh);else if(typeof addEventListener=="function"){const A="onpagehide"in xA?"pagehide":"unload";addEventListener(A,Zh,!1)}}function Zh(){for(let A in RA.requests)RA.requests.hasOwnProperty(A)&&RA.requests[A].abort()}const O1=(function(){const A=Yh({xdomain:!1});return A&&A.responseType!==null})();class N1 extends k1{constructor(e){super(e);const t=e&&e.forceBase64;this.supportsBinary=O1&&!t}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new RA(Yh,this.uri(),e)}}function Yh(A){const e=A.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||D1))return new XMLHttpRequest}catch{}if(!e)try{return new xA[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const qh=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class K1 extends Aa{get name(){return"websocket"}doOpen(){const e=this.uri(),t=this.opts.protocols,i=qh?{}:$h(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(i.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,t,i)}catch(r){return this.emitReserved("error",r)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const i=e[t],r=t===e.length-1;qo(i,this.supportsBinary,n=>{try{this.doWrite(i,n)}catch{}r&&Kn(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=Xh()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}}const ia=xA.WebSocket||xA.MozWebSocket;class z1 extends K1{createSocket(e,t,i){return qh?new ia(e,t,i):t?new ia(e,t):new ia(e)}doWrite(e,t){this.ws.send(t)}}class V1 extends Aa{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved("error",e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{const t=T1(Number.MAX_SAFE_INTEGER,this.socket.binaryType),i=e.readable.pipeThrough(t).getReader(),r=b1();r.readable.pipeTo(e.writable),this._writer=r.writable.getWriter();const n=()=>{i.read().then(({done:o,value:l})=>{o||(this.onPacket(l),n())}).catch(o=>{})};n();const s={type:"open"};this.query.sid&&(s.data=`{"sid":"${this.query.sid}"}`),this._writer.write(s).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const i=e[t],r=t===e.length-1;this._writer.write(i).then(()=>{r&&Kn(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this._transport)===null||e===void 0||e.close()}}const W1={websocket:z1,webtransport:V1,polling:N1},G1=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,R1=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function ra(A){if(A.length>8e3)throw"URI too long";const e=A,t=A.indexOf("["),i=A.indexOf("]");t!=-1&&i!=-1&&(A=A.substring(0,t)+A.substring(t,i).replace(/:/g,";")+A.substring(i,A.length));let r=G1.exec(A||""),n={},s=14;for(;s--;)n[R1[s]]=r[s]||"";return t!=-1&&i!=-1&&(n.source=e,n.host=n.host.substring(1,n.host.length-1).replace(/;/g,":"),n.authority=n.authority.replace("[","").replace("]","").replace(/;/g,":"),n.ipv6uri=!0),n.pathNames=$1(n,n.path),n.queryKey=X1(n,n.query),n}function $1(A,e){const t=/\/{2,9}/g,i=e.replace(t,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&i.splice(0,1),e.slice(-1)=="/"&&i.splice(i.length-1,1),i}function X1(A,e){const t={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(i,r,n){r&&(t[r]=n)}),t}const na=typeof addEventListener=="function"&&typeof removeEventListener=="function",Vn=[];na&&addEventListener("offline",()=>{Vn.forEach(A=>A())},!1);class hi extends Nt{constructor(e,t){if(super(),this.binaryType=F1,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,e&&typeof e=="object"&&(t=e,e=null),e){const i=ra(e);t.hostname=i.host,t.secure=i.protocol==="https"||i.protocol==="wss",t.port=i.port,i.query&&(t.query=i.query)}else t.host&&(t.hostname=ra(t.host).host);zn(this,t),this.secure=t.secure!=null?t.secure:typeof location<"u"&&location.protocol==="https:",t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=t.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},t.transports.forEach(i=>{const r=i.prototype.name;this.transports.push(r),this._transportsByName[r]=i}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=H1(this.opts.query)),na&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Vn.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(e){const t=Object.assign({},this.opts.query);t.EIO=Rh,t.transport=e,this.id&&(t.sid=this.id);const i=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new this._transportsByName[e](i)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const e=this.opts.rememberUpgrade&&hi.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const t=this.createTransport(e);t.open(),this.setTransport(t)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",t=>this._onClose("transport close",t))}onOpen(){this.readyState="open",hi.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(e){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const t=new Error("server error");t.code=e.data,this._onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data);break}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this._pingInterval=e.pingInterval,this._pingTimeout=e.pingTimeout,this._maxPayload=e.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},e),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this._getWritablePackets();this.transport.send(e),this._prevBufferLen=e.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let t=1;for(let i=0;i<this.writeBuffer.length;i++){const r=this.writeBuffer[i].data;if(r&&(t+=E1(r)),i>0&&t>this._maxPayload)return this.writeBuffer.slice(0,i);t+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const e=Date.now()>this._pingTimeoutTime;return e&&(this._pingTimeoutTime=0,Kn(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),e}write(e,t,i){return this._sendPacket("message",e,t,i),this}send(e,t,i){return this._sendPacket("message",e,t,i),this}_sendPacket(e,t,i,r){if(typeof t=="function"&&(r=t,t=void 0),typeof i=="function"&&(r=i,i=null),this.readyState==="closing"||this.readyState==="closed")return;i=i||{},i.compress=i.compress!==!1;const n={type:e,data:t,options:i};this.emitReserved("packetCreate",n),this.writeBuffer.push(n),r&&this.once("flush",r),this.flush()}close(){const e=()=>{this._onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},i=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?i():e()}):this.upgrading?i():e()),this}_onError(e){if(hi.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",e),this._onClose("transport error",e)}_onClose(e,t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),na&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const i=Vn.indexOf(this._offlineEventListener);i!==-1&&Vn.splice(i,1)}this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this._prevBufferLen=0}}}hi.protocol=Rh;class J1 extends hi{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let t=this.createTransport(e),i=!1;hi.priorWebsocketSuccess=!1;const r=()=>{i||(t.send([{type:"ping",data:"probe"}]),t.once("packet",m=>{if(!i)if(m.type==="pong"&&m.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;hi.priorWebsocketSuccess=t.name==="websocket",this.transport.pause(()=>{i||this.readyState!=="closed"&&(h(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())})}else{const v=new Error("probe error");v.transport=t.name,this.emitReserved("upgradeError",v)}}))};function n(){i||(i=!0,h(),t.close(),t=null)}const s=m=>{const v=new Error("probe error: "+m);v.transport=t.name,n(),this.emitReserved("upgradeError",v)};function o(){s("transport closed")}function l(){s("socket closed")}function c(m){t&&m.name!==t.name&&n()}const h=()=>{t.removeListener("open",r),t.removeListener("error",s),t.removeListener("close",o),this.off("close",l),this.off("upgrading",c)};t.once("open",r),t.once("error",s),t.once("close",o),this.once("close",l),this.once("upgrading",c),this._upgrades.indexOf("webtransport")!==-1&&e!=="webtransport"?this.setTimeoutFn(()=>{i||t.open()},200):t.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){const t=[];for(let i=0;i<e.length;i++)~this.transports.indexOf(e[i])&&t.push(e[i]);return t}}let Z1=class extends J1{constructor(e,t={}){const i=typeof e=="object"?e:t;(!i.transports||i.transports&&typeof i.transports[0]=="string")&&(i.transports=(i.transports||["polling","websocket","webtransport"]).map(r=>W1[r]).filter(r=>!!r)),super(e,i)}};function Y1(A,e="",t){let i=A;t=t||typeof location<"u"&&location,A==null&&(A=t.protocol+"//"+t.host),typeof A=="string"&&(A.charAt(0)==="/"&&(A.charAt(1)==="/"?A=t.protocol+A:A=t.host+A),/^(https?|wss?):\/\//.test(A)||(typeof t<"u"?A=t.protocol+"//"+A:A="https://"+A),i=ra(A)),i.port||(/^(http|ws)$/.test(i.protocol)?i.port="80":/^(http|ws)s$/.test(i.protocol)&&(i.port="443")),i.path=i.path||"/";const n=i.host.indexOf(":")!==-1?"["+i.host+"]":i.host;return i.id=i.protocol+"://"+n+":"+i.port+e,i.href=i.protocol+"://"+n+(t&&t.port===i.port?"":":"+i.port),i}const q1=typeof ArrayBuffer=="function",j1=A=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(A):A.buffer instanceof ArrayBuffer,jh=Object.prototype.toString,ew=typeof Blob=="function"||typeof Blob<"u"&&jh.call(Blob)==="[object BlobConstructor]",tw=typeof File=="function"||typeof File<"u"&&jh.call(File)==="[object FileConstructor]";function sa(A){return q1&&(A instanceof ArrayBuffer||j1(A))||ew&&A instanceof Blob||tw&&A instanceof File}function Wn(A,e){if(!A||typeof A!="object")return!1;if(Array.isArray(A)){for(let t=0,i=A.length;t<i;t++)if(Wn(A[t]))return!0;return!1}if(sa(A))return!0;if(A.toJSON&&typeof A.toJSON=="function"&&arguments.length===1)return Wn(A.toJSON(),!0);for(const t in A)if(Object.prototype.hasOwnProperty.call(A,t)&&Wn(A[t]))return!0;return!1}function Aw(A){const e=[],t=A.data,i=A;return i.data=oa(t,e),i.attachments=e.length,{packet:i,buffers:e}}function oa(A,e){if(!A)return A;if(sa(A)){const t={_placeholder:!0,num:e.length};return e.push(A),t}else if(Array.isArray(A)){const t=new Array(A.length);for(let i=0;i<A.length;i++)t[i]=oa(A[i],e);return t}else if(typeof A=="object"&&!(A instanceof Date)){const t={};for(const i in A)Object.prototype.hasOwnProperty.call(A,i)&&(t[i]=oa(A[i],e));return t}return A}function iw(A,e){return A.data=aa(A.data,e),delete A.attachments,A}function aa(A,e){if(!A)return A;if(A&&A._placeholder===!0){if(typeof A.num=="number"&&A.num>=0&&A.num<e.length)return e[A.num];throw new Error("illegal attachments")}else if(Array.isArray(A))for(let t=0;t<A.length;t++)A[t]=aa(A[t],e);else if(typeof A=="object")for(const t in A)Object.prototype.hasOwnProperty.call(A,t)&&(A[t]=aa(A[t],e));return A}const rw=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var at;(function(A){A[A.CONNECT=0]="CONNECT",A[A.DISCONNECT=1]="DISCONNECT",A[A.EVENT=2]="EVENT",A[A.ACK=3]="ACK",A[A.CONNECT_ERROR=4]="CONNECT_ERROR",A[A.BINARY_EVENT=5]="BINARY_EVENT",A[A.BINARY_ACK=6]="BINARY_ACK"})(at||(at={}));class nw{constructor(e){this.replacer=e}encode(e){return(e.type===at.EVENT||e.type===at.ACK)&&Wn(e)?this.encodeAsBinary({type:e.type===at.EVENT?at.BINARY_EVENT:at.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let t=""+e.type;return(e.type===at.BINARY_EVENT||e.type===at.BINARY_ACK)&&(t+=e.attachments+"-"),e.nsp&&e.nsp!=="/"&&(t+=e.nsp+","),e.id!=null&&(t+=e.id),e.data!=null&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){const t=Aw(e),i=this.encodeAsString(t.packet),r=t.buffers;return r.unshift(i),r}}class la extends Nt{constructor(e){super(),this.reviver=e}add(e){let t;if(typeof e=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e);const i=t.type===at.BINARY_EVENT;i||t.type===at.BINARY_ACK?(t.type=i?at.EVENT:at.ACK,this.reconstructor=new sw(t),t.attachments===0&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else if(sa(e)||e.base64)if(this.reconstructor)t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+e)}decodeString(e){let t=0;const i={type:Number(e.charAt(0))};if(at[i.type]===void 0)throw new Error("unknown packet type "+i.type);if(i.type===at.BINARY_EVENT||i.type===at.BINARY_ACK){const n=t+1;for(;e.charAt(++t)!=="-"&&t!=e.length;);const s=e.substring(n,t);if(s!=Number(s)||e.charAt(t)!=="-")throw new Error("Illegal attachments");i.attachments=Number(s)}if(e.charAt(t+1)==="/"){const n=t+1;for(;++t&&!(e.charAt(t)===","||t===e.length););i.nsp=e.substring(n,t)}else i.nsp="/";const r=e.charAt(t+1);if(r!==""&&Number(r)==r){const n=t+1;for(;++t;){const s=e.charAt(t);if(s==null||Number(s)!=s){--t;break}if(t===e.length)break}i.id=Number(e.substring(n,t+1))}if(e.charAt(++t)){const n=this.tryParse(e.substr(t));if(la.isPayloadValid(i.type,n))i.data=n;else throw new Error("invalid payload")}return i}tryParse(e){try{return JSON.parse(e,this.reviver)}catch{return!1}}static isPayloadValid(e,t){switch(e){case at.CONNECT:return eu(t);case at.DISCONNECT:return t===void 0;case at.CONNECT_ERROR:return typeof t=="string"||eu(t);case at.EVENT:case at.BINARY_EVENT:return Array.isArray(t)&&(typeof t[0]=="number"||typeof t[0]=="string"&&rw.indexOf(t[0])===-1);case at.ACK:case at.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class sw{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const t=iw(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function eu(A){return Object.prototype.toString.call(A)==="[object Object]"}const ow=Object.freeze(Object.defineProperty({__proto__:null,Decoder:la,Encoder:nw,get PacketType(){return at}},Symbol.toStringTag,{value:"Module"}));function DA(A,e,t){return A.on(e,t),function(){A.off(e,t)}}const aw=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class tu extends Nt{constructor(e,t,i){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,i&&i.auth&&(this.auth=i.auth),this._opts=Object.assign({},i),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[DA(e,"open",this.onopen.bind(this)),DA(e,"packet",this.onpacket.bind(this)),DA(e,"error",this.onerror.bind(this)),DA(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){var i,r,n;if(aw.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(t.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(t),this;const s={type:at.EVENT,data:t};if(s.options={},s.options.compress=this.flags.compress!==!1,typeof t[t.length-1]=="function"){const h=this.ids++,m=t.pop();this._registerAckCallback(h,m),s.id=h}const o=(r=(i=this.io.engine)===null||i===void 0?void 0:i.transport)===null||r===void 0?void 0:r.writable,l=this.connected&&!(!((n=this.io.engine)===null||n===void 0)&&n._hasPingExpired());return this.flags.volatile&&!o||(l?(this.notifyOutgoingListeners(s),this.packet(s)):this.sendBuffer.push(s)),this.flags={},this}_registerAckCallback(e,t){var i;const r=(i=this.flags.timeout)!==null&&i!==void 0?i:this._opts.ackTimeout;if(r===void 0){this.acks[e]=t;return}const n=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let o=0;o<this.sendBuffer.length;o++)this.sendBuffer[o].id===e&&this.sendBuffer.splice(o,1);t.call(this,new Error("operation has timed out"))},r),s=(...o)=>{this.io.clearTimeoutFn(n),t.apply(this,o)};s.withError=!0,this.acks[e]=s}emitWithAck(e,...t){return new Promise((i,r)=>{const n=(s,o)=>s?r(s):i(o);n.withError=!0,t.push(n),this.emit(e,...t)})}_addToQueue(e){let t;typeof e[e.length-1]=="function"&&(t=e.pop());const i={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((r,...n)=>(this._queue[0],r!==null?i.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(r)):(this._queue.shift(),t&&t(null,...n)),i.pending=!1,this._drainQueue())),this._queue.push(i),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:at.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(i=>String(i.id)===e)){const i=this.acks[e];delete this.acks[e],i.withError&&i.call(this,new Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case at.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case at.EVENT:case at.BINARY_EVENT:this.onevent(e);break;case at.ACK:case at.BINARY_ACK:this.onack(e);break;case at.DISCONNECT:this.ondisconnect();break;case at.CONNECT_ERROR:this.destroy();const i=new Error(e.data.message);i.data=e.data.data,this.emitReserved("connect_error",i);break}}onevent(e){const t=e.data||[];e.id!=null&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const i of t)i.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){const t=this;let i=!1;return function(...r){i||(i=!0,t.packet({type:at.ACK,id:e,data:r}))}}onack(e){const t=this.acks[e.id];typeof t=="function"&&(delete this.acks[e.id],t.withError&&e.data.unshift(null),t.apply(this,e.data))}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:at.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const t=this._anyListeners;for(let i=0;i<t.length;i++)if(e===t[i])return t.splice(i,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const t=this._anyOutgoingListeners;for(let i=0;i<t.length;i++)if(e===t[i])return t.splice(i,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const t=this._anyOutgoingListeners.slice();for(const i of t)i.apply(this,e.data)}}}function Ji(A){A=A||{},this.ms=A.min||100,this.max=A.max||1e4,this.factor=A.factor||2,this.jitter=A.jitter>0&&A.jitter<=1?A.jitter:0,this.attempts=0}Ji.prototype.duration=function(){var A=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),t=Math.floor(e*this.jitter*A);A=(Math.floor(e*10)&1)==0?A-t:A+t}return Math.min(A,this.max)|0},Ji.prototype.reset=function(){this.attempts=0},Ji.prototype.setMin=function(A){this.ms=A},Ji.prototype.setMax=function(A){this.max=A},Ji.prototype.setJitter=function(A){this.jitter=A};class ca extends Nt{constructor(e,t){var i;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(t=e,e=void 0),t=t||{},t.path=t.path||"/socket.io",this.opts=t,zn(this,t),this.reconnection(t.reconnection!==!1),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor((i=t.randomizationFactor)!==null&&i!==void 0?i:.5),this.backoff=new Ji({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(t.timeout==null?2e4:t.timeout),this._readyState="closed",this.uri=e;const r=t.parser||ow;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=t.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(t=this.backoff)===null||t===void 0||t.setMin(e),this)}randomizationFactor(e){var t;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(t=this.backoff)===null||t===void 0||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(t=this.backoff)===null||t===void 0||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new Z1(this.uri,this.opts);const t=this.engine,i=this;this._readyState="opening",this.skipReconnect=!1;const r=DA(t,"open",function(){i.onopen(),e&&e()}),n=o=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",o),e?e(o):this.maybeReconnectOnOpen()},s=DA(t,"error",n);if(this._timeout!==!1){const o=this._timeout,l=this.setTimeoutFn(()=>{r(),n(new Error("timeout")),t.close()},o);this.opts.autoUnref&&l.unref(),this.subs.push(()=>{this.clearTimeoutFn(l)})}return this.subs.push(r),this.subs.push(s),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(DA(e,"ping",this.onping.bind(this)),DA(e,"data",this.ondata.bind(this)),DA(e,"error",this.onerror.bind(this)),DA(e,"close",this.onclose.bind(this)),DA(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(t){this.onclose("parse error",t)}}ondecoded(e){Kn(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let i=this.nsps[e];return i?this._autoConnect&&!i.active&&i.connect():(i=new tu(this,e,t),this.nsps[e]=i),i}_destroy(e){const t=Object.keys(this.nsps);for(const i of t)if(this.nsps[i].active)return;this._close()}_packet(e){const t=this.encoder.encode(e);for(let i=0;i<t.length;i++)this.engine.write(t[i],e.options)}cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(e,t){var i;this.cleanup(),(i=this.engine)===null||i===void 0||i.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();this._reconnecting=!0;const i=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(r=>{r?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",r)):e.onreconnect()}))},t);this.opts.autoUnref&&i.unref(),this.subs.push(()=>{this.clearTimeoutFn(i)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const Sr={};function Gn(A,e){typeof A=="object"&&(e=A,A=void 0),e=e||{};const t=Y1(A,e.path||"/socket.io"),i=t.source,r=t.id,n=t.path,s=Sr[r]&&n in Sr[r].nsps,o=e.forceNew||e["force new connection"]||e.multiplex===!1||s;let l;return o?l=new ca(i,e):(Sr[r]||(Sr[r]=new ca(i,e)),l=Sr[r]),t.query&&!e.query&&(e.query=t.queryKey),l.socket(t.path,e)}Object.assign(Gn,{Manager:ca,Socket:tu,io:Gn,connect:Gn});function ha(A){if(!A)return null;try{const e=typeof window<"u"&&window?.location?.origin?window.location.origin:void 0,t=new URL(A,e),i=t.pathname.replace(/\/+$/,"");return`${t.protocol}//${t.host}${i}`}catch{return String(A).trim().replace(/\/+$/,"")}}let CA=ha("http://localhost:8000");function Au(A){const e=ha(A);e&&e!==CA&&(CA=e,It&&(It.disconnect(),It.removeAllListeners(),It=null))}let It=null;function lw(){const A=()=>{try{return localStorage.getItem("token")||localStorage.getItem("authToken")||localStorage.getItem("accessToken")||localStorage.getItem("jwt_token")}catch{return null}},e=A();console.log("🔧 [SOCKET DEBUG] Creating socket for MT5 backend:",{baseUrl:CA,hasToken:!!e,tokenLength:e?.length||0,note:"Connecting to MT5 backend WebSocket (root namespace for candles)"});const t=Gn(CA,{reconnection:!0,reconnectionDelay:1e3,reconnectionAttempts:10,timeout:15e3,forceNew:!1,withCredentials:!1,autoConnect:!0,upgrade:!0,auth:e?{token:e}:void 0}),i=()=>{const r=A();return t.auth=r?{token:r}:{},r};return t.on("connect",()=>{console.log("✅ [SOCKET DEBUG] SocketService: connected to ROOT namespace",{socketId:t.id,baseUrl:CA,transport:t.io.engine.transport.name,namespace:t.nsp.name||"/",note:"This socket connects to CandlesGateway (root namespace)"})}),t.on("disconnect",r=>{console.log("⚠️ [SOCKET DEBUG] SocketService: disconnected:",{reason:r,socketId:t.id})}),t.on("connect_error",r=>{console.error("❌ [SOCKET DEBUG] SocketService: connection error to ROOT namespace:",{message:r?.message,description:r?.description,context:r?.context,type:r?.type,baseUrl:CA,namespace:t.nsp.name||"/",note:"CandlesGateway requires JWT authentication - check if token is valid"})}),t.io.on("reconnect_attempt",r=>{const n=i();console.log("🔄 [SOCKET DEBUG] SocketService: reconnect attempt",{attempt:r,baseUrl:CA,hasToken:!!n})}),t.io.on("reconnect_failed",()=>{console.error("❌ [SOCKET DEBUG] SocketService: failed to reconnect",{baseUrl:CA})}),t.io.on("reconnect",r=>{console.log("✅ [SOCKET DEBUG] SocketService: reconnected after",{attempts:r,socketId:t.id})}),t}function ua(){const A=ha(It?.io?.uri||null);return!It||It.io&&A&&CA&&A!==CA?(It&&(console.log("🔄 [SOCKET DEBUG] Recreating socket:",{oldUri:A,newBaseUrl:CA,wasConnected:It.connected,reason:"baseUrl changed"}),It.disconnect(),It.removeAllListeners(),It=null),It=lw()):It.connected?console.log("✅ [SOCKET DEBUG] Reusing existing connected socket:",{socketId:It.id,connected:It.connected,baseUrl:CA,uri:A}):console.log("⏳ [SOCKET DEBUG] Socket exists but not connected, waiting...",{socketId:It.id,baseUrl:CA}),It}function cw(A,e){const t=ua();return t.on(A,e),()=>t.off(A,e)}function hw(A,e){It&&It.off(A,e)}function uw(A,e){ua().emit(A,e)}function pw(){return It?It.connected?"connected":"connecting":"disconnected"}const Rn={getSocket:ua,on:cw,off:hw,emit:uw,getStatus:pw,setBaseUrl:Au},dw={},iu=Y.createContext(),$t=()=>{const A=Y.useContext(iu);if(!A)throw new Error("useTrading must be used within TradingProvider");return A},fw=({children:A,baseUrl:e,endpoints:t,accountId:i,initialSymbol:r,initialTimeframe:n,indicators:s,indicatorSettings:o,onSymbolChange:l})=>{const c=e??(typeof{url:typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:js&&js.tagName.toUpperCase()==="SCRIPT"&&js.src||new URL("chart-sdk.umd.js",document.baseURI).href}<"u"&&dw?.VITE_BASE_URL)??"http://localhost:5002";Rn.setBaseUrl(c);const m={...{candles:"/api/chart/candles",symbols:"/symbols",trades:"/trades",account:"/api/user/account",indicators:"/api/market-data/indicators"},...t},v=t?.params||{},[T,Q]=Y.useState(r||"BTC/USD"),[b,E]=Y.useState(n||"M1"),[I,F]=Y.useState([]),[N,Z]=Y.useState(!0),[H,W]=Y.useState([]),[ee,q]=Y.useState(!1),[ie,$]=Y.useState(1e5),[se,ce]=Y.useState(null),[te,we]=Y.useState([]),[j,ge]=Y.useState(!0),[ae,pe]=Y.useState(!1),[ue,oe]=Y.useState(!0),[fe,Fe]=Y.useState("candles"),[me,xe]=Y.useState(!1),[Se,He]=Y.useState(null),[Ve,Ye]=Y.useState("dark"),[Pe,We]=Y.useState(null),[De,Je]=Y.useState(!1),[it,pt]=Y.useState(!1),[Ee,Gt]=Y.useState(!1),[ye,be]=Y.useState(!1),[ve,Te]=Y.useState(!1),[Le,Me]=Y.useState(!1),[ze,bt]=Y.useState(!1),[Pt,xi]=Y.useState(!1),[OA,wA]=Y.useState(!1),[qA,jA]=Y.useState(!1),[oi,Zt]=Y.useState([]),Yt=Y.useRef(null),Mt=Y.useRef(new Map),Bt=Y.useRef(null),Ht=1e3,Ft=Y.useCallback(async()=>{if(i)try{const _e=localStorage.getItem("token")??localStorage.getItem("authToken");if(!_e)return;q(!0);const rt=await Ct.get(`${c}/trades/account/${i}`,{headers:{Authorization:`Bearer ${_e}`}});let ft=[];Array.isArray(rt.data)?ft=rt.data:rt.data?.data&&Array.isArray(rt.data.data)&&(ft=rt.data.data);const ct=ft.filter(Re=>Re.closePrice===null||Re.closePrice===void 0).map(Re=>({id:Re.id,ticket:23,symbol:Re.symbol,type:Re.type,volume:Re.volume,openPrice:Re.openPrice??Re.price,stopLoss:Re.stopLoss,takeProfit:Re.takeProfit,comment:Re.comment||"",status:"OPEN",swap:0,profit:Re.profit||0,profitCurrency:"USD",time:new Date(Re.openedAt||Re.openAt||Date.now()).toLocaleTimeString(),openAt:Re.openedAt||Re.openAt,closeAt:Re.closedAt||Re.closeAt}));W(ct)}catch(_e){console.error("❌ Error fetching orders:",_e.response?.data||_e.message),W([])}finally{q(!1)}},[c,i]),qt=Y.useCallback((_e,rt)=>!rt||!_e.price||isNaN(rt)||isNaN(_e.price)?_e.profit||0:(_e?.type?.toUpperCase()==="BUY"?rt-_e.price:_e.price-rt)*_e.volume,[]),qe=Y.useCallback(async()=>{try{const _e=localStorage.getItem("token")??localStorage.getItem("authToken");if(!_e)return;const rt=await Ct.get(`${c}${m.account}`,{headers:{Authorization:`Bearer ${_e}`}});if(rt.data&&rt.data.data){const ft=parseFloat(rt.data.data.balance);isNaN(ft)||$(ft)}}catch(_e){console.error("❌ Error fetching user balance:",_e.response?.data||_e.message)}},[c]),Oe=Y.useCallback(async()=>{if(i)try{const _e=localStorage.getItem("token")??localStorage.getItem("authToken");if(!_e)return;const rt=await Ct.get(`${c}/trades/account/${i}`,{headers:{Authorization:`Bearer ${_e}`}});let ft=[];Array.isArray(rt.data)?ft=rt.data:rt.data?.data&&Array.isArray(rt.data.data)&&(ft=rt.data.data);const ct=ft.filter(Re=>Re.closePrice!==null&&Re.closePrice!==void 0).map(Re=>({id:Re.id,ticket:23,symbol:Re.symbol,type:Re.type,volume:Re.volume,openPrice:Re.openPrice??Re.price,closePrice:Re.closePrice,stopLoss:Re.stopLoss,takeProfit:Re.takeProfit,profit:Re.profit??Re.profitLoss??0,profitCurrency:"USD",openAt:Re.openedAt||Re.openAt,closeAt:Re.closedAt||Re.closeAt,closeReason:Re.closeReason||"",status:"CLOSED"}));Zt(ct)}catch(_e){console.error("❌ Error fetching history orders:",_e.response?.data||_e.message),Zt([])}},[c,i]),Xe=Y.useMemo(()=>{const _e=ie,rt=H.reduce((nt,yt)=>nt+yt.volume*yt.price*.01,0),ft=H.reduce((nt,yt)=>{const jt=I.find(MA=>MA.symbol===yt.symbol);if(jt){const MA=yt.type?.toUpperCase()==="BUY"?parseFloat(jt.bid||0):parseFloat(jt.ask||0);if(MA&&MA>0&&!isNaN(MA))return nt+qt(yt,MA)}return nt+(yt.profit||0)},0),ct=_e+ft,Re=ct-rt,Ie=rt>0?ct/rt*100:0;return{balance:_e,equity:ct,margin:rt,freeMargin:Re,level:Ie.toFixed(2)}},[H,I,ie,qt]);Y.useEffect(()=>{(localStorage.getItem("token")??localStorage.getItem("authToken"))&&i&&(Ft(),qe(),Oe())},[Ft,qe,Oe,i]),Y.useEffect(()=>{(async()=>{try{Z(!0);const rt=m.symbols.includes("?")?`${c}${m.symbols}`:`${c}${m.symbols}`,ft=localStorage.getItem("token")??localStorage.getItem("authToken"),ct=await Ct.get(rt,{headers:ft?{Authorization:`Bearer ${ft}`}:{}});let Re=[];Array.isArray(ct.data)?Re=ct.data:ct.data&&ct.data.data&&Array.isArray(ct.data.data)?Re=ct.data.data:ct.data&&ct.data.prices&&Array.isArray(ct.data.prices)?Re=ct.data.prices:ct.data&&Array.isArray(ct.data)&&(Re=ct.data);const Ie=Re.map(nt=>{const yt=nt.symbol||nt.name||"",jt=nt.category||null;return yt&&(nt.bid!==void 0||nt.price!==void 0)?{symbol:yt,bid:nt.bid??nt.price??0,ask:nt.ask??nt.price??0,change:nt.change??0,category:jt}:{...nt,symbol:yt,category:jt}});Ie.length>0?(F(Ie),Ie.find(yt=>yt.symbol===T)||Q(Ie[0].symbol)):F([])}catch(rt){console.error("❌ Error fetching symbols:",rt.response?.data||rt.message),F([])}finally{Z(!1)}})()},[c,m.symbols]);const je=Y.useCallback(()=>{const _e=Mt.current;if(_e.size===0)return;const rt=new Map(_e);_e.clear(),F(ft=>ft.map(ct=>{const Re=rt.get(ct.symbol);return Re?{...ct,...Re}:ct})),W(ft=>{let ct=!1;const Re=ft.map(Ie=>{const nt=rt.get(Ie.symbol);if(!nt)return Ie;const yt=Ie.type?.toUpperCase()==="BUY"?parseFloat(nt.bid||0):parseFloat(nt.ask||0);if(!yt||isNaN(yt)||yt<=0)return Ie;const jt=qt(Ie,yt);return jt===Ie.profit?Ie:(ct=!0,{...Ie,profit:jt})});return ct?Re:ft})},[qt]);Y.useEffect(()=>{Yt.current||(Yt.current=Rn.getSocket());const _e=Yt.current,rt=()=>{console.log("✅ TradingContext: Connected"),i&&Number.isFinite(Number(i))&&_e.emit("joinUserRoom",{userId:Number(i)})},ft=()=>console.log("⚠️ TradingContext: Disconnected"),ct=Ie=>{Ie?.symbol&&(Mt.current.set(Ie.symbol,Ie),Bt.current||(Bt.current=setTimeout(()=>{Bt.current=null,je()},Ht)))},Re=async Ie=>{if(Ie){if(Ie.newBalance!==void 0){const nt=parseFloat(Ie.newBalance);isNaN(nt)||$(nt)}if(window.notify){const nt=Ie.profitLoss||Ie.profit||0,yt=nt>=0?`+${nt.toFixed(2)}`:nt.toFixed(2),jt=Ie.symbol||"Trade",MA=Ie.reason||"Closed";window.notify(`Trade Closed: ${MA} | ${jt} | P/L: ${yt} USD`,nt>=0?"success":"error")}Ie.tradeId&&W(nt=>nt.filter(yt=>yt.id!==Ie.tradeId)),await Ft(),await qe()}};return _e.on("connect",rt),_e.on("disconnect",ft),_e.on("priceUpdate",ct),_e.on("tradeClosed",Re),_e.connected&&i&&Number.isFinite(Number(i))&&_e.emit("joinUserRoom",{userId:Number(i)}),()=>{_e.off("connect",rt),_e.off("disconnect",ft),_e.off("priceUpdate",ct),_e.off("tradeClosed",Re),Bt.current&&(clearTimeout(Bt.current),Bt.current=null),Mt.current.clear()}},[je,Ft,qe]),Y.useEffect(()=>{try{const _e=document.documentElement;if(!_e)return;_e.dataset.theme=Ve}catch{}},[Ve]);const gt=Y.useMemo(()=>I.find(_e=>_e.symbol===T)||{bid:"0.00000",ask:"0.00000",change:0},[I,T]),Vt=Y.useRef(T);Y.useEffect(()=>{Vt.current!==T&&(Vt.current=T,l&>&&l({symbol:T,...gt}))},[T,gt,l]);const dt=Y.useMemo(()=>({selectedSymbol:T,setSelectedSymbol:Q,selectedTimeframe:b,setSelectedTimeframe:E,symbols:I,setSymbols:F,symbolsLoading:N,orders:H,setOrders:W,ordersLoading:ee,fetchOrders:Ft,fetchUserBalance:qe,userBalance:ie,setUserBalance:$,accountSummary:Xe,currentSymbolData:gt,activeTool:se,setActiveTool:ce,chartObjects:te,setChartObjects:we,showGrid:j,setShowGrid:ge,snapToGrid:ae,setSnapToGrid:pe,drawingsVisible:ue,setDrawingsVisible:oe,chartType:fe,setChartType:Fe,chartLocked:me,setChartLocked:xe,selectedTradeForModify:Se,setSelectedTradeForModify:He,theme:Ve,setTheme:Ye,candleColors:Pe,setCandleColors:We,showTradeOrders:De,setShowTradeOrders:Je,showTradePosition:it,setShowTradePosition:pt,showTradeHistory:Ee,setShowTradeHistory:Gt,showSLTP:ye,setShowSLTP:be,showAskPrice:ve,setShowAskPrice:Te,showChartControls:Le,setShowChartControls:Me,showTradeNotification:ze,setShowTradeNotification:bt,showCrosshair:Pt,setShowCrosshair:xi,showOHLC:OA,setShowOHLC:wA,baseUrl:c,endpoints:m,endpointParams:v,accountId:i,isShow:qA,setIsShow:jA,historyOrders:oi,setHistoryOrders:Zt,fetchHistoryOrders:Oe,indicators:s,indicatorSettings:o}),[T,b,I,N,H,ee,Ft,qe,ie,Xe,gt,se,te,j,ae,ue,fe,me,Se,Ve,Pe,De,it,Ee,ye,ve,Le,ze,Pt,OA,c,m,v,qA,oi,Oe,s,o]);return a.jsx(iu.Provider,{value:dt,children:A})};var ru={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},nu=Y.createContext&&Y.createContext(ru),gw=["attr","size","title"];function mw(A,e){if(A==null)return{};var t=ww(A,e),i,r;if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);for(r=0;r<n.length;r++)i=n[r],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(A,i)&&(t[i]=A[i])}return t}function ww(A,e){if(A==null)return{};var t={};for(var i in A)if(Object.prototype.hasOwnProperty.call(A,i)){if(e.indexOf(i)>=0)continue;t[i]=A[i]}return t}function $n(){return $n=Object.assign?Object.assign.bind():function(A){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(A[i]=t[i])}return A},$n.apply(this,arguments)}function su(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(A);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(A,r).enumerable})),t.push.apply(t,i)}return t}function Xn(A){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?su(Object(t),!0).forEach(function(i){Bw(A,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):su(Object(t)).forEach(function(i){Object.defineProperty(A,i,Object.getOwnPropertyDescriptor(t,i))})}return A}function Bw(A,e,t){return e=yw(e),e in A?Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):A[e]=t,A}function yw(A){var e=Cw(A,"string");return typeof e=="symbol"?e:e+""}function Cw(A,e){if(typeof A!="object"||!A)return A;var t=A[Symbol.toPrimitive];if(t!==void 0){var i=t.call(A,e);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(A)}function ou(A){return A&&A.map((e,t)=>Y.createElement(e.tag,Xn({key:t},e.attr),ou(e.child)))}function oA(A){return e=>Y.createElement(vw,$n({attr:Xn({},A.attr)},e),ou(A.child))}function vw(A){var e=t=>{var{attr:i,size:r,title:n}=A,s=mw(A,gw),o=r||t.size||"1em",l;return t.className&&(l=t.className),A.className&&(l=(l?l+" ":"")+A.className),Y.createElement("svg",$n({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,i,s,{className:l,style:Xn(Xn({color:A.color||t.color},t.style),A.style),height:o,width:o,xmlns:"http://www.w3.org/2000/svg"}),n&&Y.createElement("title",null,n),A.children)};return nu!==void 0?Y.createElement(nu.Consumer,null,t=>e(t)):e(ru)}function bw(A){return oA({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M432 160H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0 256H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM108.1 96h231.81A12.09 12.09 0 0 0 352 83.9V44.09A12.09 12.09 0 0 0 339.91 32H108.1A12.09 12.09 0 0 0 96 44.09V83.9A12.1 12.1 0 0 0 108.1 96zm231.81 256A12.09 12.09 0 0 0 352 339.9v-39.81A12.09 12.09 0 0 0 339.91 288H108.1A12.09 12.09 0 0 0 96 300.09v39.81a12.1 12.1 0 0 0 12.1 12.1z"},child:[]}]})(A)}function Tw(A){return oA({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M12.83 352h262.34A12.82 12.82 0 0 0 288 339.17v-38.34A12.82 12.82 0 0 0 275.17 288H12.83A12.82 12.82 0 0 0 0 300.83v38.34A12.82 12.82 0 0 0 12.83 352zm0-256h262.34A12.82 12.82 0 0 0 288 83.17V44.83A12.82 12.82 0 0 0 275.17 32H12.83A12.82 12.82 0 0 0 0 44.83v38.34A12.82 12.82 0 0 0 12.83 96zM432 160H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0 256H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"},child:[]}]})(A)}function xw(A){return oA({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M16 224h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16zm416 192H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm3.17-384H172.83A12.82 12.82 0 0 0 160 44.83v38.34A12.82 12.82 0 0 0 172.83 96h262.34A12.82 12.82 0 0 0 448 83.17V44.83A12.82 12.82 0 0 0 435.17 32zm0 256H172.83A12.82 12.82 0 0 0 160 300.83v38.34A12.82 12.82 0 0 0 172.83 352h262.34A12.82 12.82 0 0 0 448 339.17v-38.34A12.82 12.82 0 0 0 435.17 288z"},child:[]}]})(A)}function Fw(A){return oA({attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M333.49 238a122 122 0 0 0 27-65.21C367.87 96.49 308 32 233.42 32H34a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h31.87v288H34a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h209.32c70.8 0 134.14-51.75 141-122.4 4.74-48.45-16.39-92.06-50.83-119.6zM145.66 112h87.76a48 48 0 0 1 0 96h-87.76zm87.76 288h-87.76V288h87.76a56 56 0 0 1 0 112z"},child:[]}]})(A)}function au(A){return oA({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"},child:[]}]})(A)}function Qw(A){return oA({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"},child:[]}]})(A)}function Uw(A){return oA({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z"},child:[]}]})(A)}function Sw(A){return oA({attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M320 48v32a16 16 0 0 1-16 16h-62.76l-80 320H208a16 16 0 0 1 16 16v32a16 16 0 0 1-16 16H16a16 16 0 0 1-16-16v-32a16 16 0 0 1 16-16h62.76l80-320H112a16 16 0 0 1-16-16V48a16 16 0 0 1 16-16h192a16 16 0 0 1 16 16z"},child:[]}]})(A)}function Ew(A){return oA({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M290.74 93.24l128.02 128.02-277.99 277.99-114.14 12.6C11.35 513.54-1.56 500.62.14 485.34l12.7-114.22 277.9-277.88zm207.2-19.06l-60.11-60.11c-18.75-18.75-49.16-18.75-67.91 0l-56.55 56.55 128.02 128.02 56.55-56.55c18.75-18.76 18.75-49.16 0-67.91z"},child:[]}]})(A)}function Lw(A){return oA({attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"},child:[]}]})(A)}const Mw={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1},lu=({bidPrice:A,askPrice:e,userAccountId:t,onTradeExecuted:i,onExecuteTrade:r,forceParentExecution:n=!1})=>{const{theme:s,selectedSymbol:o,fetchOrders:l,baseUrl:c,endpoints:h}=$t(),m=s==="light",[v,T]=Y.useState("0.01"),[Q,b]=Y.useState(""),[E,I]=Y.useState(!1),F=m?"bg-slate-100":"bg-[#12161d]",N=m?"text-slate-700":"text-white",Z=m?"hover:bg-slate-200":"hover:bg-[#1e2635]",H=ee=>{const q=parseFloat(v)||.01,ie=Math.max(.01,q+ee);T(ie.toFixed(2))},W=async ee=>{b("");const q=ee,ie=parseFloat(q==="BUY"?e:A),$=parseFloat(v);if(!$||$<=0||isNaN($)){b("Please enter a valid volume (minimum 0.01)");return}if($<.01){b("Volume must be at least 0.01");return}if(!ie||ie<=0||isNaN(ie)){b("Invalid price. Please refresh and try again.");return}const se=localStorage.getItem("token")??localStorage.getItem("authToken");if(!se){b("Please login to place trades");return}I(!0);const ce=typeof o=="object"?o?.symbol:o;if(r){try{await Promise.resolve(r({symbol:ce,type:q,lotSize:$,entryPrice:ie,stopLoss:null,takeProfit:null})),l&&l(),i&&i()}catch(we){const j=we?.message||"Trade execution failed";b(j)}finally{I(!1)}return}if(n){b("Trade handler not configured"),I(!1);return}const te={accountId:t,symbol:ce,type:q,volume:$,openPrice:ie,takeProfit:null,stopLoss:null};try{const we=c||Mw?.VITE_BASE_URL||"http://localhost:8000",j=h?.trades||"/api/trades",ge=await Ct.post(`${we}${j}`,te,{headers:{Authorization:`Bearer ${se}`,"Content-Type":"application/json"}});if(ge.status<200||ge.status>=300){b(ge.data?.message||`Failed to place trade (${ge.status})`);return}l&&l(),i&&i()}catch(we){const j=we?.response?.data?.message||we?.message||"Network error. Please try again.";b(j)}finally{I(!1)}};return a.jsxs("div",{className:"flex flex-col",children:[a.jsxs("div",{className:"flex items-stretch h-[30px] text-xs font-semibold select-none",children:[a.jsxs("button",{onClick:()=>W("SELL"),disabled:E,className:"flex items-stretch overflow-hidden opacity-100 disabled:opacity-60",children:[a.jsx("span",{className:"flex items-center px-2.5 font-mono tabular-nums bg-[#BD3E3E] text-white",children:A?Number(A).toFixed(5):"—"}),a.jsx("span",{className:"flex items-center px-2.5 tracking-wide bg-[#DE4848] text-white",children:"SELL"})]}),a.jsxs("div",{className:`flex items-stretch ${F}`,children:[a.jsx("button",{type:"button",onClick:()=>H(-.01),className:`w-5 flex items-center justify-center ${N} ${Z} transition-colors`,children:a.jsx(au,{size:8})}),a.jsx("input",{type:"number",value:v,onChange:ee=>{const q=ee.target.value;(q===""||/^\d*\.?\d{0,2}$/.test(q))&&T(q)},onBlur:()=>{const ee=parseFloat(v);T(isNaN(ee)||ee<.01?"0.01":ee.toFixed(2))},className:`w-14 text-center focus:outline-none ${F} ${N}`,step:"0.01",min:"0.01",style:{MozAppearance:"textfield"}}),a.jsx("button",{type:"button",onClick:()=>H(.01),className:`w-5 flex items-center justify-center ${N} ${Z} transition-colors`,children:a.jsx(Qw,{size:8})})]}),a.jsxs("button",{onClick:()=>W("BUY"),disabled:E,className:"flex items-stretch overflow-hidden opacity-100 disabled:opacity-60",children:[a.jsx("span",{className:"flex items-center px-2.5 tracking-wide bg-[#2869CE] text-white",children:"BUY"}),a.jsx("span",{className:"flex items-center px-2.5 font-mono tabular-nums bg-[#2F7CF2] text-white",children:e?Number(e).toFixed(5):"—"})]})]}),Q&&a.jsx("div",{className:"text-red-400 text-xs mt-0.5 px-1",children:Q})]})},Hw={},cu=({isOpen:A,onClose:e,orderType:t,bidPrice:i,askPrice:r,onExecuteTrade:n,userAccountId:s,initialVolume:o,disableOptimistic:l=!1,forceParentExecution:c=!1,tradingEngine:h})=>{const{selectedSymbol:m,selectedTimeframe:v,setOrders:T,symbols:Q,fetchOrders:b,theme:E,baseUrl:I,endpoints:F}=$t(),N=E==="light",Z={getContractSpec:Te=>{const Le=String(Te||"").toUpperCase();return Le.includes("BTC")||Le.includes("ETH")||Le.includes("SOL")||Le.includes("XRP")||Le.includes("ADA")||Le.includes("DOGE")||Le.includes("BNB")||Le.includes("AVAX")||Le.includes("DOT")||Le.includes("LINK")||Le.endsWith("USDT")?{contractSize:1}:Le.includes("XAU")||Le.includes("XAG")?{contractSize:100}:{contractSize:1e5}},calculateVolumeUnits:({symbol:Te,volume:Le})=>{const Me=Z.getContractSpec(Te);return(parseFloat(Le)||0)*(Me.contractSize||1)}},H=h||Z,[W,ee]=Y.useState("0.01"),[q,ie]=Y.useState(""),[$,se]=Y.useState(""),[ce,te]=Y.useState(""),[we,j]=Y.useState(!1),[ge,ae]=Y.useState(null),[pe,ue]=Y.useState(""),[oe,fe]=Y.useState(t||"BUY"),[Fe,me]=Y.useState(parseFloat(i)||0),[xe,Se]=Y.useState(parseFloat(r)||0),[He,Ve]=Y.useState("text-white"),[Ye,Pe]=Y.useState("text-white"),We=Y.useRef(parseFloat(i)||0),De=Y.useRef(parseFloat(r)||0);Y.useEffect(()=>{if(!A)return;const Te=Rn.getSocket(),Le=ze=>{if(!(!ze||!ze.symbol)&&ze.symbol.toUpperCase()===m?.toUpperCase()){const bt=parseFloat(ze.bid)||0,Pt=parseFloat(ze.ask)||0;bt>0&&(bt>We.current?(Ve("text-green-400"),setTimeout(()=>Ve("text-white"),500)):bt<We.current&&We.current>0&&(Ve("text-red-400"),setTimeout(()=>Ve("text-white"),500)),me(bt),We.current=bt),Pt>0&&(Pt>De.current?(Pe("text-green-400"),setTimeout(()=>Pe("text-white"),500)):Pt<De.current&&De.current>0&&(Pe("text-red-400"),setTimeout(()=>Pe("text-white"),500)),Se(Pt),De.current=Pt)}};Te.on("priceUpdate",Le);const Me=Q.find(ze=>ze.symbol===m);if(Me){const ze=parseFloat(Me.bid)||0,bt=parseFloat(Me.ask)||0;ze>0&&(me(ze),We.current=ze),bt>0&&(Se(bt),De.current=bt)}return()=>{Te.off("priceUpdate",Le)}},[A,m,Q]),Y.useEffect(()=>{if(A){ee(o?String(o):"0.01"),ie(""),se(""),te(""),ue(""),fe(t||"BUY");const Te=parseFloat(i)||0,Le=parseFloat(r)||0;Te>0&&(me(Te),We.current=Te),Le>0&&(Se(Le),De.current=Le)}},[A,t,o]);const Je=Fe||0,it=xe||0,pt=Te=>{const Le=parseFloat(W)||.01,Me=Math.max(.01,Le+Te);ee(Me.toFixed(2))},Ee=Te=>{const Le=parseFloat(q)||0,Me=parseFloat(oe==="BUY"?xe:Fe)||0;if(!Me){ue("Current price not available. Please wait...");return}let ze=Le+Te;oe==="BUY"?ze=Math.max(1e-5,Math.min(ze,Me-1e-5)):ze=Math.max(Me+1e-5,ze),ie(ze>0?ze.toFixed(5):""),ue("")},Gt=Te=>{const Le=parseFloat($)||0,Me=parseFloat(oe==="BUY"?xe:Fe)||0;if(!Me){ue("Current price not available. Please wait...");return}let ze=Le+Te;oe==="BUY"?ze=Math.max(Me+1e-5,ze):ze=Math.max(1e-5,Math.min(ze,Me-1e-5)),se(ze>0?ze.toFixed(5):""),ue("")},ye=async Te=>{ue("");const Le=Te||oe,Me=parseFloat(Le==="BUY"?xe:Fe),ze=parseFloat(W),bt=q?parseFloat(q):null,Pt=$?parseFloat($):null;if(!ze||ze<=0||isNaN(ze)){ue("Please enter a valid volume (minimum 0.01)");return}if(ze<.01){ue("Volume must be at least 0.01");return}if(!Me||Me<=0||isNaN(Me)){ue("Invalid price. Please refresh and try again.");return}if(bt!==null&&bt!==""){if(isNaN(bt)||bt<=0){ue("Stop Loss must be a valid positive number");return}if(Le==="BUY"&&bt>=Me){ue("Stop Loss must be below the current price for BUY orders");return}if(Le==="SELL"&&bt<=Me){ue("Stop Loss must be above the current price for SELL orders");return}}if(Pt!==null&&Pt!==""){if(isNaN(Pt)||Pt<=0){ue("Take Profit must be a valid positive number");return}if(Le==="BUY"){if(Pt<=Me){ue(`Take Profit must be above the entry price (${Me.toFixed(5)}) for BUY orders`);return}}else if(Le==="SELL"&&Pt>=Me){ue(`Take Profit must be below the entry price (${Me.toFixed(5)}) for SELL orders`);return}}fe(Le),ae(Le),j(!0);const xi=new Date,OA=xi.toLocaleTimeString(),wA=`temp_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,qA=localStorage.getItem("token")??localStorage.getItem("authToken");if(!qA){ue("Please login to place trades"),j(!1),ae(null);return}const jA={accountId:s,symbol:m,type:Le,volume:ze,price:Me,takeProfit:Pt,stopLoss:bt,comment:ce.trim()||null},oi={ticket:wA.substring(0,8),symbol:m,type:Le,volume:parseFloat(ze),price:parseFloat(Me),time:OA,stopLoss:bt?parseFloat(bt):null,takeProfit:Pt?parseFloat(Pt):null,swap:0,profit:0,profitCurrency:"USD",comment:ce.trim()||"",id:wA,status:"OPEN",openAt:xi.toISOString()};if(!l&&T&&T(Zt=>[...Zt,oi]),c&&!n){ue("Execution handler is required in forceParentExecution mode"),j(!1),ae(null);return}if(n){j(!1),ae(null),e();const Zt={symbol:m,type:Le,lotSize:ze,entryPrice:Me,stopLoss:bt,takeProfit:Pt,comment:ce.trim()||null};Promise.resolve(n(Zt)).then(()=>{console.log("✅ Trade executed successfully via parent handler"),b&&b()}).catch(Yt=>{console.error("❌ Trade execution failed:",Yt),!l&&T&&T(Mt=>Mt.filter(Bt=>Bt.id!==wA))})}else{if(c){ue("Fallback API path disabled in forceParentExecution mode"),j(!1),ae(null);return}j(!1),ae(null),e();const Zt=I||Hw?.VITE_BASE_URL||"http://localhost:8000",Yt=F?.trades||"/api/trades";Ct.post(`${Zt}${Yt}`,jA,{headers:{Authorization:`Bearer ${qA}`,"Content-Type":"application/json"}}).then(Mt=>{if(Mt.data&&Mt.data.data){const Bt=Mt.data.data.trade;!l&&T&&T(Ht=>Ht.map(Ft=>Ft.id===wA?{...Ft,id:Bt.id,ticket:Bt.id.substring(0,8),time:OA,openAt:Bt.openAt}:Ft)),console.log("✅ Trade saved successfully:",Bt),window.notify&&window.notify(`Trade placed successfully: ${Bt.symbol} ${Bt.type}`,"success")}else{!l&&T&&T(Ht=>Ht.filter(Ft=>Ft.id!==wA));const Bt=Mt.data?.message||"Failed to place trade";window.notify&&window.notify(Bt,"error")}}).catch(Mt=>{console.error("Error placing trade:",Mt),!l&&T&&T(Ht=>Ht.filter(Ft=>Ft.id!==wA));let Bt="Failed to place trade";if(Mt.response){const Ht=Mt.response.status,Ft=Mt.response.data;Ht===400?Bt=Ft?.message||"Invalid trade data. Please check your inputs.":Ht===401?Bt="Authentication failed. Please login again.":Ht===404?Bt=Ft?.message||"Symbol not found. Please select a valid symbol.":Ht===500?Bt="Server error. Please try again later.":Bt=Ft?.message||`Error: ${Ht}`}else Mt.request&&(Bt="Network error. Please check your internet connection.");window.notify&&window.notify(Bt,"error")})}},ve=(H?.calculateVolumeUnits?.({symbol:m,volume:parseFloat(W)||0})??0).toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2});return A?a.jsxs("div",{className:`w-full flex flex-col pointer-events-auto z-30 h-full ${N?"bg-white border-r border-slate-300":"bg-[#12161d] border-r border-slate-700"}`,children:[a.jsxs("div",{className:`px-4 py-2.5 flex items-center justify-between border-b ${N?"border-slate-300 bg-white":"border-slate-700 bg-[#12161d]"}`,children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("h3",{className:`text-sm font-semibold ${N?"text-slate-800":"text-white"}`,children:"Market Execution"}),a.jsx("button",{className:`p-0.5 transition-colors ${N?"text-slate-600 hover:text-slate-800":"text-white hover:text-white"}`,children:a.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})})]}),a.jsx("button",{onClick:e,className:`p-1 rounded transition-colors ${N?"text-slate-600 hover:text-slate-800 hover:bg-slate-100":"text-white hover:text-white hover:bg-[#12161d]"}`,children:a.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),a.jsxs("div",{className:"overflow-y-auto overflow-x-auto p-4 space-y-4 flex-1",children:[pe&&a.jsx("div",{className:"p-2 rounded-lg bg-rose-500/10 border border-rose-500/50 text-rose-400 text-xs",children:pe}),a.jsxs("div",{children:[a.jsxs("div",{className:"flex items-center justify-between mb-4",children:[a.jsx("label",{className:`text-sm font-medium ${N?"text-slate-700":"text-white"}`,children:"Volume"}),a.jsxs("span",{className:`text-sm ${N?"text-slate-700":"text-white"}`,children:[ve," ",m]})]}),a.jsxs("div",{className:"relative flex items-center",children:[a.jsx("button",{type:"button",onClick:()=>pt(-.01),className:`absolute left-1 w-8 h-8 flex items-center justify-center rounded text-sm transition-colors z-10 ${N?"bg-slate-100 hover:bg-slate-400 text-slate-700":"bg-[#12161d] hover:bg-slate-600 text-white"}`,children:"−"}),a.jsx("input",{type:"number",value:W,onChange:Te=>{const Le=Te.target.value;(Le===""||/^\d*\.?\d{0,2}$/.test(Le))&&(ee(Le),ue(""))},onBlur:()=>{const Te=parseFloat(W);ee(isNaN(Te)||Te<.01?"0.01":Te.toFixed(2))},className:`w-full px-10 py-2 rounded text-sm focus:outline-none focus:border-secondary text-center ${N?"bg-white border border-slate-400 text-slate-800":"bg-[#12161d] border border-slate-700 text-white"}`,step:"0.01",min:"0.01",placeholder:"0.01"}),a.jsx("button",{type:"button",onClick:()=>pt(.01),className:`absolute right-1 w-8 h-8 flex items-center justify-center rounded text-sm transition-colors z-10 ${N?"bg-slate-100 hover:bg-slate-400 text-slate-700":"bg-[#12161d] hover:bg-slate-600 text-white"}`,children:"+"})]})]}),a.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[a.jsxs("div",{children:[a.jsx("div",{className:"flex items-center justify-between mb-2",children:a.jsx("label",{className:`text-sm font-medium ${N?"text-slate-700":"text-white"}`,children:"Stop Loss"})}),a.jsxs("div",{className:"relative flex items-center",children:[a.jsx("button",{type:"button",onClick:()=>Ee(-1e-4),className:`absolute left-1 w-8 h-8 flex items-center justify-center rounded text-sm transition-colors z-10 ${N?"bg-slate-100 hover:bg-slate-400 text-slate-700":"bg-[#12161d] hover:bg-slate-600 text-white"}`,title:"Decrease SL",children:"−"}),a.jsx("input",{type:"text",value:q,onChange:Te=>{const Le=Te.target.value;(Le===""||/^\d*\.?\d*$/.test(Le))&&(ie(Le),ue(""))},onBlur:Te=>{const Le=parseFloat(Te.target.value);!isNaN(Le)&&Le>0?ie(Le.toFixed(5)):Te.target.value===""&&ie("")},placeholder:"0.00000",className:`w-full px-10 py-2 rounded text-sm focus:outline-none focus:border-secondary text-center ${N?"bg-white border border-slate-400 text-slate-800":"bg-[#12161d] border border-slate-700 text-slate-100"}`}),a.jsx("button",{type:"button",onClick:()=>Ee(1e-4),className:`absolute right-1 w-8 h-8 flex items-center justify-center rounded text-sm transition-colors z-10 ${N?"bg-slate-100 hover:bg-slate-400 text-slate-700":"bg-[#12161d] hover:bg-slate-600 text-white"}`,title:"Increase SL",children:"+"})]})]}),a.jsxs("div",{children:[a.jsx("div",{className:"flex items-center justify-between mb-2",children:a.jsx("label",{className:`text-sm font-medium ${N?"text-slate-700":"text-white"}`,children:"Take Profit"})}),a.jsxs("div",{className:"relative flex items-center",children:[a.jsx("button",{type:"button",onClick:()=>Gt(-1e-4),className:`absolute left-1 w-8 h-8 flex items-center justify-center rounded text-sm transition-colors z-10 ${N?"bg-slate-100 hover:bg-slate-400 text-slate-700":"bg-[#12161d] hover:bg-slate-600 text-white"}`,title:"Decrease TP",children:"−"}),a.jsx("input",{type:"text",value:$,onChange:Te=>{const Le=Te.target.value;(Le===""||/^\d*\.?\d*$/.test(Le))&&(se(Le),ue(""))},onBlur:Te=>{const Le=parseFloat(Te.target.value);!isNaN(Le)&&Le>0?se(Le.toFixed(5)):Te.target.value===""&&se("")},placeholder:"0.00000",className:`w-full px-10 py-2 rounded text-sm focus:outline-none focus:border-secondary text-center ${N?"bg-white border border-slate-400 text-slate-800":"bg-[#12161d] border border-slate-700 text-slate-100"}`}),a.jsx("button",{type:"button",onClick:()=>Gt(1e-4),className:`absolute right-1 w-8 h-8 flex items-center justify-center rounded text-sm transition-colors z-10 ${N?"bg-slate-100 hover:bg-slate-400 text-slate-700":"bg-[#12161d] hover:bg-slate-600 text-white"}`,title:"Increase TP",children:"+"})]})]})]}),a.jsxs("div",{children:[a.jsx("label",{className:`block text-sm font-medium mb-2 ${N?"text-slate-700":"text-white"}`,children:"Comment"}),a.jsx("textarea",{value:ce,onChange:Te=>te(Te.target.value),placeholder:"Optional comment",rows:2,className:`w-full px-3 py-2 rounded text-sm focus:outline-none focus:border-secondary resize-none ${N?"bg-white border border-slate-400 text-slate-800":"bg-[#12161d] border border-slate-700 text-slate-100"}`})]}),a.jsxs("div",{className:`flex items-center justify-between py-2 border-t ${N?"border-slate-400":"border-slate-700"}`,children:[a.jsxs("div",{className:"text-sm",children:[a.jsx("span",{className:N?"text-slate-700":"text-white",children:"Bid: "}),a.jsx("span",{className:`${He} font-medium transition-colors duration-400`,children:Je>0?Je.toFixed(5):"---"})]}),a.jsxs("div",{className:"text-sm",children:[a.jsx("span",{className:N?"text-slate-700":"text-white",children:"Ask: "}),a.jsx("span",{className:`${Ye} font-medium transition-colors duration-400`,children:it>0?it.toFixed(5):"---"})]})]}),a.jsxs("div",{className:"grid grid-cols-2 gap-3 pt-2",children:[a.jsx("button",{onClick:()=>ye("SELL"),disabled:we,className:"px-4 py-3 bg-rose-600 hover:bg-rose-700 text-white font-semibold rounded text-sm transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:we&&ge==="SELL"?a.jsxs("span",{className:"flex items-center justify-center gap-2",children:[a.jsxs("svg",{className:"animate-spin h-4 w-4",viewBox:"0 0 24 24",children:[a.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",fill:"none"}),a.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Placing..."]}):"Sell by Market"}),a.jsx("button",{onClick:()=>ye("BUY"),disabled:we,className:"px-4 py-3 bg-sky-600 hover:bg-sky-700 text-white font-semibold rounded text-sm transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:we&&ge==="BUY"?a.jsxs("span",{className:"flex items-center justify-center gap-2",children:[a.jsxs("svg",{className:"animate-spin h-4 w-4",viewBox:"0 0 24 24",children:[a.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",fill:"none"}),a.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Placing..."]}):"Buy by Market"})]})]})]}):null},Iw={text:"Text",trendline:"Trend Line",parallellines:"Parallel Channel",fibonacci:"Fibonacci Retracement",rectangle:"Rectangle",pricelevel:"Horizontal Line",horizontalray:"Horizontal Ray",verticalline:"Vertical Line",infoline:"Info Line",rulerline:"Ruler Line",arrowedline:"Arrowed Line",rayline:"Ray",extendedline:"Extended Line",crossline:"Cross Line",trendbyangle:"Trend By Angle",disjointchannel:"Disjoint Channel",flattopbottom:"Flat Top/Bottom",regressionchannel:"Regression Channel",stddevchannel:"StdDev Channel",andrewspitchfork:"Andrew's Pitchfork",gannline:"Gann Line",gannfan:"Gann Fan",ganngrid:"Gann Grid",circle:"Circle",triangle:"Triangle",ellipse:"Ellipse",equidistantchannel:"Equidistant Channel"},Pw=[10,11,12,14,16,20,24,28,30,40],Jn=[{key:"M1",label:"1 Minute"},{key:"M5",label:"5 Minutes"},{key:"M15",label:"15 Minutes"},{key:"M30",label:"30 Minutes"},{key:"H1",label:"1 Hour"},{key:"H4",label:"4 Hours"},{key:"D1",label:"Daily"},{key:"W1",label:"Weekly"},{key:"MN",label:"Monthly"}],ui={width:"78%",height:"78%",display:"block"},pa={position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0};function Dw(A){return A?{background:"#ffffff",text:"#1f2937",mutedText:"#6b7280",border:"#cfd6df",fieldBg:"#ffffff",fieldBorder:"#cfd6df",fieldDisabledBg:"#e5e7eb",fieldDisabledText:"#9ca3af",headerBlue:"#2f80ed",headerText:"#ffffff",activeFill:"#eaf3ff",activeText:"#2f80ed",green:"#22a447",greenHover:"#2bb151",greenActive:"#1f8f3d"}:{background:"#242d3d",text:"#e5e7eb",mutedText:"#a7b0c0",border:"#4a5568",fieldBg:"#2f3a4e",fieldBorder:"#5f6a80",fieldDisabledBg:"#4f5a70",fieldDisabledText:"#9aa3b2",headerBlue:"#2f80ed",headerText:"#ffffff",activeFill:"#dbeafe",activeText:"#1d4ed8",green:"#22a447",greenHover:"#2bb151",greenActive:"#1f8f3d"}}function Lt(A,e="#5f8f96"){if(typeof A!="string")return e;const t=A.trim();if(!t)return e;const i=t.startsWith("#")?t:`#${t}`;return/^#[0-9A-Fa-f]{6}$/.test(i)?i.toLowerCase():e}const _w=()=>a.jsx(Ew,{style:ui}),kw=()=>a.jsx(Lw,{style:ui}),Ow=()=>a.jsx(Fw,{style:ui}),Nw=()=>a.jsx(Sw,{style:ui}),Kw=()=>a.jsx(Tw,{style:ui}),zw=()=>a.jsx(bw,{style:ui}),Vw=()=>a.jsx(xw,{style:ui}),Ww=()=>a.jsx(au,{style:ui}),da=({size:A,children:e})=>a.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:A,height:A},children:e});function Er({checked:A,onClick:e,hideLeftBorder:t,tokens:i,children:r,title:n}){return a.jsx("button",{type:"button",onClick:e,title:n,style:{display:"flex",width:30,height:30,alignItems:"center",justifyContent:"center",border:`1px solid ${i.border}`,borderLeftWidth:t?0:1,background:A?i.activeFill:"transparent",color:A?i.activeText:i.text,cursor:"pointer",padding:0},children:a.jsx(da,{size:"18px",children:r})})}function Ne({checked:A,onChange:e,label:t,tokens:i,disabled:r=!1}){return a.jsxs("label",{style:{display:"inline-flex",alignItems:"center",userSelect:"none",opacity:r?.5:1,cursor:r?"default":"pointer"},children:[a.jsx("input",{type:"checkbox",checked:A,onChange:n=>e(n.target.checked),disabled:r,style:pa}),a.jsx("span",{style:{width:18,height:18,marginRight:8,display:"inline-flex",alignItems:"center",justifyContent:"center",border:`1px solid ${i.border}`,background:i.fieldBg},children:A&&a.jsx("span",{style:{width:10,height:10,background:i.headerBlue}})}),a.jsx("span",{style:{fontSize:12,color:i.text},children:t})]})}const pi=A=>({height:30,border:`1px solid ${A.fieldBorder}`,padding:"0 6px",background:A.fieldBg,color:A.text,boxSizing:"border-box",outline:"none"});function lt({value:A,onChange:e,onBlur:t,disabled:i=!1,tokens:r}){const n=Lt(A,"#5f8f96"),s=(A||"").replace("#",""),o={display:"inline-flex",alignItems:"center",width:104,height:30,padding:4,opacity:i?.5:1,border:`1px solid ${r.fieldBorder}`,background:r.fieldBg,boxSizing:"border-box"},l={position:"relative",width:20,height:20,display:"block",flexShrink:0},c={width:"100%",minWidth:0,height:"100%",border:"none",marginLeft:"4px",padding:"0 8px 0 2px",fontFamily:"ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif",fontSize:12,lineHeight:"30px",textTransform:"lowercase",outline:"none",boxSizing:"border-box",background:"transparent",color:i?r.fieldDisabledText:r.text};return a.jsxs("div",{style:o,children:[a.jsxs("label",{style:l,children:[a.jsx("input",{type:"color",value:n,onChange:h=>e(h.target.value),disabled:i,style:{...pa,position:"absolute"}}),a.jsx("span",{style:{display:"block",width:20,height:20,boxShadow:"inset 0 0 0 1px #c7cdd7",background:n}})]}),a.jsx("input",{type:"text",size:0,maxLength:6,value:s,onChange:h=>{const m=h.target.value.replace(/[^0-9a-fA-F]/g,"").slice(0,6);e(m?`#${m}`:"")},onBlur:t,disabled:i,style:c})]})}function wt({tokens:A,disabled:e=!1,style:t={},...i}){return a.jsx("input",{type:"number",disabled:e,style:{height:30,width:"100%",border:`1px solid ${e?A.fieldDisabledBg:A.fieldBorder}`,padding:"0 4px",fontSize:12,outline:"none",boxSizing:"border-box",background:e?A.fieldDisabledBg:A.fieldBg,color:e?A.fieldDisabledText:A.text,...t},...i})}function di({value:A,onChange:e,tokens:t,disabled:i=!1,width:r,children:n}){return a.jsxs("div",{style:{position:"relative",width:r??"100%",height:30,flexShrink:0},children:[a.jsx("select",{value:A,onChange:e,disabled:i,style:{width:"100%",height:"100%",appearance:"none",border:`1px solid ${i?t.fieldDisabledBg:t.fieldBorder}`,padding:"0 26px 0 8px",fontSize:12,outline:"none",boxSizing:"border-box",background:i?t.fieldDisabledBg:t.fieldBg,color:i?t.fieldDisabledText:t.text,cursor:i?"default":"pointer",opacity:i?.5:1},children:n}),a.jsx("div",{style:{position:"absolute",right:8,top:"50%",transform:"translateY(-50%)",width:16,height:16,pointerEvents:"none",color:t.mutedText,display:"flex",alignItems:"center",justifyContent:"center"},children:a.jsx(Ww,{})})]})}function Gw({draft:A,setDraft:e,tokens:t}){const i=A.visibleTimeframes?.length===Jn.length,r=()=>{e(s=>({...s,visibleTimeframes:i?[]:Jn.map(o=>o.key)}))},n=s=>{e(o=>{const l=o.visibleTimeframes||[];return{...o,visibleTimeframes:l.includes(s)?l.filter(c=>c!==s):[...l,s]}})};return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:12,padding:"8px 16px"},children:[a.jsx(Ne,{checked:i,onChange:r,label:"Show on all the timeframes",tokens:t}),a.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(3, minmax(0, 1fr))",columnGap:12,rowGap:8},children:Jn.map(s=>a.jsx(Ne,{checked:(A.visibleTimeframes||[]).includes(s.key),onChange:()=>n(s.key),label:s.label,tokens:t,disabled:i},s.key))})]})}function Rw({draft:A,setDraft:e,tokens:t}){const i=(n,s)=>e(o=>({...o,[n]:s})),r=(n,s,o)=>{i(n,Lt(s,o))};return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:12,padding:"8px 16px"},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[a.jsx(lt,{value:A.color||"#5f8f96",onChange:n=>i("color",n),onBlur:()=>r("color",A.color,"#5f8f96"),tokens:t}),a.jsx(di,{value:A.fontSize||12,onChange:n=>i("fontSize",Number(n.target.value)),tokens:t,width:84,children:Pw.map(n=>a.jsx("option",{value:n,children:n},n))}),a.jsxs("div",{style:{display:"flex"},children:[a.jsx(Er,{checked:A.fontWeight==="bold",onClick:()=>i("fontWeight",A.fontWeight==="bold"?"normal":"bold"),tokens:t,title:"Bold",children:a.jsx(Ow,{})}),a.jsx(Er,{checked:A.fontStyle==="italic",onClick:()=>i("fontStyle",A.fontStyle==="italic"?"normal":"italic"),hideLeftBorder:!0,tokens:t,title:"Italic",children:a.jsx(Nw,{})})]}),a.jsxs("div",{style:{display:"flex"},children:[a.jsx(Er,{checked:A.textAlign==="left",onClick:()=>i("textAlign","left"),tokens:t,title:"Align left",children:a.jsx(Kw,{})}),a.jsx(Er,{checked:A.textAlign==="center",onClick:()=>i("textAlign","center"),hideLeftBorder:!0,tokens:t,title:"Align center",children:a.jsx(zw,{})}),a.jsx(Er,{checked:A.textAlign==="right",onClick:()=>i("textAlign","right"),hideLeftBorder:!0,tokens:t,title:"Align right",children:a.jsx(Vw,{})})]})]}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"112px 104px 56px minmax(112px, 1fr)",gap:8,alignItems:"center"},children:[a.jsx(Ne,{checked:!!A.textWrap,onChange:n=>i("textWrap",n),label:"Text Wrap",tokens:t}),a.jsx("div",{}),a.jsx("div",{}),a.jsx("div",{}),a.jsx(Ne,{checked:!!A.borderEnabled,onChange:n=>i("borderEnabled",n),label:"Border",tokens:t}),a.jsx(lt,{value:A.borderColor||"#5f8f96",onChange:n=>i("borderColor",n),onBlur:()=>r("borderColor",A.borderColor,"#5f8f96"),disabled:!A.borderEnabled,tokens:t}),a.jsx(wt,{tokens:t,min:"0",max:"1",step:"0.01",disabled:!A.borderEnabled,value:A.borderOpacity??.1,onChange:n=>i("borderOpacity",Number(n.target.value))}),a.jsxs("div",{style:{display:"flex",height:30,alignItems:"center",gap:8},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",disabled:!A.borderEnabled,value:A.borderWidth??1,onChange:n=>i("borderWidth",Number(n.target.value)),style:{width:"100%",accentColor:t.headerBlue}}),a.jsx("span",{style:{width:16,fontSize:12,color:t.text},children:A.borderWidth??1})]}),a.jsx(Ne,{checked:!!A.bgEnabled,onChange:n=>i("bgEnabled",n),label:"Background",tokens:t}),a.jsx(lt,{value:A.bgColor||"#5f8f96",onChange:n=>i("bgColor",n),onBlur:()=>r("bgColor",A.bgColor,"#5f8f96"),disabled:!A.bgEnabled,tokens:t}),a.jsx(wt,{tokens:t,min:"0",max:"1",step:"0.01",disabled:!A.bgEnabled,value:A.bgOpacity??.1,onChange:n=>i("bgOpacity",Number(n.target.value))}),a.jsx("div",{})]}),a.jsx("textarea",{value:A.text||"",onChange:n=>i("text",n.target.value),placeholder:"Your text",rows:4,style:{width:"100%",resize:"none",border:`1px solid ${t.fieldBorder}`,padding:8,fontSize:12,lineHeight:"20px",outline:"none",boxSizing:"border-box",background:t.fieldBg,color:t.text}})]})}function $w({draft:A,setDraft:e,tokens:t}){const i=(n,s)=>e(o=>({...o,[n]:s})),r=(n,s,o)=>i(n,Lt(s,o));return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,padding:"12px 16px"},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[a.jsx(lt,{value:A.lineColor||"#7aa6ae",onChange:n=>i("lineColor",n),onBlur:()=>r("lineColor",A.lineColor,"#7aa6ae"),tokens:t}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A.lineWidth??2,onChange:n=>i("lineWidth",Number(n.target.value)),style:{flex:1,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:16,fontSize:12,color:t.text,textAlign:"right"},children:A.lineWidth??2})]})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:24},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60},children:"Arrows"}),a.jsx(Ne,{checked:!!A.arrowLeft,onChange:n=>i("arrowLeft",n),label:"Left",tokens:t}),a.jsx(Ne,{checked:!!A.arrowRight,onChange:n=>i("arrowRight",n),label:"Right",tokens:t})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:24},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60},children:"Rays"}),a.jsx(Ne,{checked:!!A.rayLeft,onChange:n=>i("rayLeft",n),label:"Left",tokens:t}),a.jsx(Ne,{checked:!!A.rayRight,onChange:n=>i("rayRight",n),label:"Right",tokens:t})]}),a.jsxs("div",{children:[a.jsx("div",{style:{fontSize:13,fontWeight:600,color:t.text,marginBottom:10},children:"Statistics"}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"60px 104px minmax(80px, 1fr) auto",alignItems:"center",gap:8,marginBottom:10},children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"Style"}),a.jsx(lt,{value:A.statsColor||"#5f8f96",onChange:n=>i("statsColor",n),onBlur:()=>r("statsColor",A.statsColor,"#5f8f96"),tokens:t}),a.jsxs(di,{value:A.statsPosition??"right",onChange:n=>i("statsPosition",n.target.value),tokens:t,children:[a.jsx("option",{value:"left",children:"Left"}),a.jsx("option",{value:"center",children:"Center"}),a.jsx("option",{value:"right",children:"Right"})]}),a.jsx(Ne,{checked:!!A.statsShowAlways,onChange:n=>i("statsShowAlways",n),label:"Show always",tokens:t})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:16},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60,flexShrink:0},children:"Properties"}),a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[a.jsx(Ne,{checked:!!A.statsPriceRange,onChange:n=>i("statsPriceRange",n),label:"Price range",tokens:t}),a.jsx(Ne,{checked:!!A.statsBarsRange,onChange:n=>i("statsBarsRange",n),label:"Bars range",tokens:t}),a.jsx(Ne,{checked:!!A.statsDateRange,onChange:n=>i("statsDateRange",n),label:"Date range",tokens:t}),a.jsx(Ne,{checked:!!A.statsDistance,onChange:n=>i("statsDistance",n),label:"Distance",tokens:t})]})]})]})]})}function Zn({draft:A,setDraft:e,tokens:t}){const i=(n,s)=>e(o=>({...o,[n]:s})),r=(n,s,o)=>i(n,Lt(s,o));return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,padding:"12px 16px"},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[a.jsx(lt,{value:A.lineColor||"#22c55e",onChange:n=>i("lineColor",n),onBlur:()=>r("lineColor",A.lineColor,"#22c55e"),tokens:t}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A.lineWidth??2,onChange:n=>i("lineWidth",Number(n.target.value)),style:{flex:1,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:16,fontSize:12,color:t.text,textAlign:"right"},children:A.lineWidth??2})]})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:24},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60},children:"Arrows"}),a.jsx(Ne,{checked:!!A.arrowLeft,onChange:n=>i("arrowLeft",n),label:"Left",tokens:t}),a.jsx(Ne,{checked:!!A.arrowRight,onChange:n=>i("arrowRight",n),label:"Right",tokens:t})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:24},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60},children:"Rays"}),a.jsx(Ne,{checked:!!A.rayLeft,onChange:n=>i("rayLeft",n),label:"Left",tokens:t}),a.jsx(Ne,{checked:!!A.rayRight,onChange:n=>i("rayRight",n),label:"Right",tokens:t})]}),a.jsxs("div",{children:[a.jsx("div",{style:{fontSize:13,fontWeight:600,color:t.text,marginBottom:10},children:"Statistics"}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"60px 104px minmax(80px, 1fr) auto",alignItems:"center",gap:8,marginBottom:10},children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"Style"}),a.jsx(lt,{value:A.statsColor||"#5f8f96",onChange:n=>i("statsColor",n),onBlur:()=>r("statsColor",A.statsColor,"#5f8f96"),tokens:t}),a.jsxs(di,{value:A.statsPosition??"right",onChange:n=>i("statsPosition",n.target.value),tokens:t,children:[a.jsx("option",{value:"left",children:"Left"}),a.jsx("option",{value:"center",children:"Center"}),a.jsx("option",{value:"right",children:"Right"})]}),a.jsx(Ne,{checked:!!A.statsShowAlways,onChange:n=>i("statsShowAlways",n),label:"Show always",tokens:t})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:16},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60,flexShrink:0},children:"Properties"}),a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[a.jsx(Ne,{checked:!!A.statsPriceRange,onChange:n=>i("statsPriceRange",n),label:"Price range",tokens:t}),a.jsx(Ne,{checked:!!A.statsBarsRange,onChange:n=>i("statsBarsRange",n),label:"Bars range",tokens:t}),a.jsx(Ne,{checked:!!A.statsDateRange,onChange:n=>i("statsDateRange",n),label:"Date range",tokens:t}),a.jsx(Ne,{checked:!!A.statsAngle,onChange:n=>i("statsAngle",n),label:"Angle",tokens:t}),a.jsx(Ne,{checked:!!A.statsDistance,onChange:n=>i("statsDistance",n),label:"Distance",tokens:t})]})]})]})]})}function Xw({draft:A,setDraft:e,tokens:t}){const i=(n,s)=>e(o=>({...o,[n]:s})),r=(n,s,o)=>i(n,Lt(s,o));return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,padding:"12px 16px"},children:[a.jsx("div",{style:{display:"flex",alignItems:"center",gap:12},children:a.jsx(lt,{value:A.lineColor||"#3b82f6",onChange:n=>i("lineColor",n),onBlur:()=>r("lineColor",A.lineColor,"#3b82f6"),tokens:t})}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[a.jsx("div",{style:{fontSize:13,fontWeight:600,color:t.text},children:"Properties"}),a.jsx(Ne,{checked:A.showArea!==!1,onChange:n=>i("showArea",n),label:"Show area",tokens:t})]}),a.jsxs("div",{children:[a.jsx("div",{style:{fontSize:13,fontWeight:600,color:t.text,marginBottom:10},children:"Statistics"}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"60px 104px minmax(80px, 1fr) auto",alignItems:"center",gap:8,marginBottom:10},children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"Style"}),a.jsx(lt,{value:A.statsColor||"#5f8f96",onChange:n=>i("statsColor",n),onBlur:()=>r("statsColor",A.statsColor,"#5f8f96"),tokens:t}),a.jsxs(di,{value:A.statsPosition??"right",onChange:n=>i("statsPosition",n.target.value),tokens:t,children:[a.jsx("option",{value:"left",children:"Left"}),a.jsx("option",{value:"center",children:"Center"}),a.jsx("option",{value:"right",children:"Right"})]}),a.jsx(Ne,{checked:!!A.statsShowAlways,onChange:n=>i("statsShowAlways",n),label:"Show always",tokens:t})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:16},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60,flexShrink:0},children:"Properties"}),a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[a.jsx(Ne,{checked:!!A.statsPriceRange,onChange:n=>i("statsPriceRange",n),label:"Price range",tokens:t}),a.jsx(Ne,{checked:!!A.statsBarsRange,onChange:n=>i("statsBarsRange",n),label:"Bars range",tokens:t}),a.jsx(Ne,{checked:!!A.statsDateRange,onChange:n=>i("statsDateRange",n),label:"Date range",tokens:t})]})]})]})]})}function Jw({draft:A,setDraft:e,tokens:t}){const i=(n,s)=>e(o=>({...o,[n]:s})),r=(n,s,o)=>i(n,Lt(s,o));return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,padding:"12px 16px"},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[a.jsx(lt,{value:A.lineColor||"#3b82f6",onChange:n=>i("lineColor",n),onBlur:()=>r("lineColor",A.lineColor,"#3b82f6"),tokens:t}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A.lineWidth??2,onChange:n=>i("lineWidth",Number(n.target.value)),style:{flex:1,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:16,fontSize:12,color:t.text,textAlign:"right"},children:A.lineWidth??2})]})]}),a.jsxs("div",{children:[a.jsx("div",{style:{fontSize:13,fontWeight:600,color:t.text,marginBottom:10},children:"Statistics"}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"60px 104px minmax(80px, 1fr) auto",alignItems:"center",gap:8,marginBottom:10},children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"Style"}),a.jsx(lt,{value:A.statsColor||"#5f8f96",onChange:n=>i("statsColor",n),onBlur:()=>r("statsColor",A.statsColor,"#5f8f96"),tokens:t}),a.jsxs(di,{value:A.statsPosition??"right",onChange:n=>i("statsPosition",n.target.value),tokens:t,children:[a.jsx("option",{value:"left",children:"Left"}),a.jsx("option",{value:"center",children:"Center"}),a.jsx("option",{value:"right",children:"Right"})]}),a.jsx(Ne,{checked:!!A.statsShowAlways,onChange:n=>i("statsShowAlways",n),label:"Show always",tokens:t})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:16},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60,flexShrink:0},children:"Properties"}),a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[a.jsx(Ne,{checked:!!A.statsPriceRange,onChange:n=>i("statsPriceRange",n),label:"Price range",tokens:t}),a.jsx(Ne,{checked:!!A.statsBarsRange,onChange:n=>i("statsBarsRange",n),label:"Bars range",tokens:t}),a.jsx(Ne,{checked:!!A.statsDateRange,onChange:n=>i("statsDateRange",n),label:"Date range",tokens:t}),a.jsx(Ne,{checked:!!A.statsAngle,onChange:n=>i("statsAngle",n),label:"Angle",tokens:t}),a.jsx(Ne,{checked:!!A.statsDistance,onChange:n=>i("statsDistance",n),label:"Distance",tokens:t})]})]})]})]})}function Zw({draft:A,setDraft:e,tokens:t}){return a.jsx("div",{style:{padding:"12px 16px"},children:a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[a.jsx("span",{style:{fontSize:12,whiteSpace:"nowrap",color:t.text},children:"#1 (Bar, Price)"}),a.jsx(wt,{tokens:t,value:A.price??"",onChange:i=>{const r=Number(i.target.value);Number.isFinite(r)&&e(n=>({...n,price:r}))},style:{width:180}})]})})}function dA(A){if(!A)return"";const e=new Date(A*1e3),t=i=>String(i).padStart(2,"0");return`${t(e.getUTCDate())}.${t(e.getUTCMonth()+1)}.${e.getUTCFullYear()} ${t(e.getUTCHours())}:${t(e.getUTCMinutes())}:${t(e.getUTCSeconds())}`}function FA({draft:A,setDraft:e,tokens:t}){const i=(s,o)=>{const l=Number(o);Number.isFinite(l)&&e(c=>({...c,[s]:l}))},r={display:"grid",gridTemplateColumns:"100px 1fr 110px",alignItems:"center",gap:8},n={height:30,width:"100%",border:`1px solid ${t.fieldBorder}`,padding:"0 8px",fontSize:12,outline:"none",boxSizing:"border-box",background:t.fieldDisabledBg,color:t.fieldDisabledText};return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:12,padding:"12px 16px"},children:[a.jsxs("div",{style:r,children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#1 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.point1Time),style:n}),a.jsx(wt,{tokens:t,value:A.point1Price??"",onChange:s=>i("point1Price",s.target.value)})]}),a.jsxs("div",{style:r,children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#2 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.point2Time),style:n}),a.jsx(wt,{tokens:t,value:A.point2Price??"",onChange:s=>i("point2Price",s.target.value)})]})]})}function hu({draft:A,setDraft:e,tokens:t}){const i=(s,o)=>e(l=>({...l,[s]:o})),r=(s,o,l)=>i(s,Lt(o,l)),n=!A.showText;return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,padding:"12px 16px"},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[a.jsx(lt,{value:A.lineColor||"#3b82f6",onChange:s=>i("lineColor",s),onBlur:()=>r("lineColor",A.lineColor,"#3b82f6"),tokens:t}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A.lineWidth??2,onChange:s=>i("lineWidth",Number(s.target.value)),style:{flex:1,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:16,fontSize:12,color:t.text,textAlign:"right"},children:A.lineWidth??2})]})]}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr 1fr 1fr",gap:8,alignItems:"center"},children:[a.jsx("div",{style:{fontSize:12,fontWeight:600,color:t.text},children:"Properties"}),a.jsx(Ne,{checked:A.showPrice!==!1,onChange:s=>i("showPrice",s),label:"Show price",tokens:t}),a.jsx("div",{}),a.jsx("div",{}),a.jsx(Ne,{checked:!!A.showText,onChange:s=>i("showText",s),label:"Show text",tokens:t}),a.jsx(lt,{value:A.textColor||"#ffffff",onChange:s=>i("textColor",s),onBlur:()=>r("textColor",A.textColor,"#ffffff"),disabled:n,tokens:t}),a.jsxs(di,{value:A.textHAlign??"center",onChange:s=>i("textHAlign",s.target.value),disabled:n,tokens:t,width:90,children:[a.jsx("option",{value:"left",children:"Left"}),a.jsx("option",{value:"center",children:"Center"}),a.jsx("option",{value:"right",children:"Right"})]}),a.jsxs(di,{value:A.textVAlign??"top",onChange:s=>i("textVAlign",s.target.value),disabled:n,tokens:t,width:90,children:[a.jsx("option",{value:"top",children:"Top"}),a.jsx("option",{value:"middle",children:"Middle"}),a.jsx("option",{value:"bottom",children:"Bottom"})]})]}),a.jsx("textarea",{value:A.textContent||"",onChange:s=>i("textContent",s.target.value),placeholder:"Your text",rows:4,disabled:n,style:{width:"100%",resize:"none",border:`1px solid ${n?t.fieldDisabledBg:t.fieldBorder}`,padding:8,fontSize:12,lineHeight:"20px",outline:"none",boxSizing:"border-box",background:n?t.fieldDisabledBg:t.fieldBg,color:n?t.fieldDisabledText:t.text,opacity:n?.5:1}})]})}function Yw({draft:A,setDraft:e,tokens:t}){return a.jsx("div",{style:{padding:"12px 16px"},children:a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[a.jsx("span",{style:{fontSize:12,whiteSpace:"nowrap",color:t.text},children:"Price"}),a.jsx(wt,{tokens:t,value:A.price??"",onChange:i=>{const r=Number(i.target.value);Number.isFinite(r)&&e(n=>({...n,price:r}))},style:{width:180}})]})})}function qw({draft:A,setDraft:e,tokens:t}){const i={display:"grid",gridTemplateColumns:"100px 1fr 110px",alignItems:"center",gap:8},r={height:30,width:"100%",border:`1px solid ${t.fieldBorder}`,padding:"0 8px",fontSize:12,outline:"none",boxSizing:"border-box",background:t.fieldDisabledBg,color:t.fieldDisabledText};return a.jsx("div",{style:{padding:"12px 16px"},children:a.jsxs("div",{style:i,children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#1 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.originTime),style:r}),a.jsx(wt,{tokens:t,value:A.price??"",onChange:n=>{const s=Number(n.target.value);Number.isFinite(s)&&e(o=>({...o,price:s}))}})]})})}function jw({draft:A,setDraft:e,tokens:t}){const i=(n,s)=>e(o=>({...o,[n]:s})),r=(n,s,o)=>i(n,Lt(s,o));return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,padding:"12px 16px"},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[a.jsx(lt,{value:A.lineColor||"#3b82f6",onChange:n=>i("lineColor",n),onBlur:()=>r("lineColor",A.lineColor,"#3b82f6"),tokens:t}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A.lineWidth??2,onChange:n=>i("lineWidth",Number(n.target.value)),style:{flex:1,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:16,fontSize:12,color:t.text,textAlign:"right"},children:A.lineWidth??2})]})]}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr 1fr 1fr",gap:8,alignItems:"center"},children:[a.jsx("div",{style:{fontSize:12,fontWeight:600,color:t.text},children:"Properties"}),a.jsx(Ne,{checked:A.showDate!==!1,onChange:n=>i("showDate",n),label:"Show date",tokens:t}),a.jsx("div",{}),a.jsx("div",{})]})]})}function eB({draft:A,tokens:e}){const t={height:30,flex:1,border:`1px solid ${e.fieldBorder}`,padding:"0 8px",fontSize:12,outline:"none",boxSizing:"border-box",background:e.fieldDisabledBg,color:e.fieldDisabledText};return a.jsx("div",{style:{padding:"12px 16px"},children:a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[a.jsx("span",{style:{fontSize:12,whiteSpace:"nowrap",color:e.text},children:"#1 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.rawTime),style:t})]})})}function tB({draft:A,setDraft:e,tokens:t}){const i=(n,s)=>e(o=>({...o,[n]:s})),r=(n,s,o)=>i(n,Lt(s,o));return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,padding:"12px 16px"},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[a.jsx(lt,{value:A.lineColor||"#7aa6ae",onChange:n=>i("lineColor",n),onBlur:()=>r("lineColor",A.lineColor,"#7aa6ae"),tokens:t}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A.lineWidth??2,onChange:n=>i("lineWidth",Number(n.target.value)),style:{flex:1,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:16,fontSize:12,color:t.text,textAlign:"right"},children:A.lineWidth??2})]})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:24},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60},children:"Arrows"}),a.jsx(Ne,{checked:!!A.arrowLeft,onChange:n=>i("arrowLeft",n),label:"Left",tokens:t}),a.jsx(Ne,{checked:!!A.arrowRight,onChange:n=>i("arrowRight",n),label:"Right",tokens:t})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:24},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60},children:"Rays"}),a.jsx(Ne,{checked:!!A.rayLeft,onChange:n=>i("rayLeft",n),label:"Left",tokens:t}),a.jsx(Ne,{checked:!!A.rayRight,onChange:n=>i("rayRight",n),label:"Right",tokens:t})]}),a.jsxs("div",{children:[a.jsx("div",{style:{fontSize:13,fontWeight:600,color:t.text,marginBottom:10},children:"Statistics"}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"60px 104px minmax(80px, 1fr) auto",alignItems:"center",gap:8,marginBottom:10},children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"Style"}),a.jsx(lt,{value:A.statsColor||"#5f8f96",onChange:n=>i("statsColor",n),onBlur:()=>r("statsColor",A.statsColor,"#5f8f96"),tokens:t}),a.jsxs(di,{value:A.statsPosition??"right",onChange:n=>i("statsPosition",n.target.value),tokens:t,children:[a.jsx("option",{value:"left",children:"Left"}),a.jsx("option",{value:"center",children:"Center"}),a.jsx("option",{value:"right",children:"Right"})]}),a.jsx(Ne,{checked:!!A.statsShowAlways,onChange:n=>i("statsShowAlways",n),label:"Show always",tokens:t})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:16},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60,flexShrink:0},children:"Properties"}),a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[a.jsx(Ne,{checked:!!A.statsPriceRange,onChange:n=>i("statsPriceRange",n),label:"Price range",tokens:t}),a.jsx(Ne,{checked:!!A.statsDistance,onChange:n=>i("statsDistance",n),label:"Distance",tokens:t})]})]})]})]})}function AB({draft:A,setDraft:e,tokens:t}){const i=(n,s)=>e(o=>({...o,[n]:s})),r=(n,s,o)=>i(n,Lt(s,o));return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,padding:"12px 16px"},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[a.jsx(lt,{value:A.lineColor||"#06a0e3",onChange:n=>i("lineColor",n),onBlur:()=>r("lineColor",A.lineColor,"#06a0e3"),tokens:t}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A.lineWidth??2,onChange:n=>i("lineWidth",Number(n.target.value)),style:{flex:1,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:16,fontSize:12,color:t.text,textAlign:"right"},children:A.lineWidth??2})]})]}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr 1fr 1fr",gap:8,alignItems:"center"},children:[a.jsx("div",{style:{fontSize:12,fontWeight:600,color:t.text},children:"Properties"}),a.jsx(Ne,{checked:!!A.showTime,onChange:n=>i("showTime",n),label:"Show time",tokens:t}),a.jsx(Ne,{checked:!!A.showPrice,onChange:n=>i("showPrice",n),label:"Show price",tokens:t}),a.jsx("div",{})]})]})}function iB({draft:A,setDraft:e,tokens:t}){const i={display:"grid",gridTemplateColumns:"100px 1fr 110px",alignItems:"center",gap:8},r={height:30,width:"100%",border:`1px solid ${t.fieldBorder}`,padding:"0 8px",fontSize:12,outline:"none",boxSizing:"border-box",background:t.fieldDisabledBg,color:t.fieldDisabledText};return a.jsx("div",{style:{padding:"12px 16px"},children:a.jsxs("div",{style:i,children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#1 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.rawTime),style:r}),a.jsx(wt,{tokens:t,value:A.price??"",onChange:n=>{const s=Number(n.target.value);Number.isFinite(s)&&e(o=>({...o,price:s}))}})]})})}function rB({draft:A,setDraft:e,tokens:t}){const i=(s,o)=>e(l=>({...l,[s]:o})),r=(s,o,l)=>i(s,Lt(o,l)),n=(s,o,l,c,h,m)=>a.jsxs(a.Fragment,{children:[a.jsx(Ne,{checked:!!A[h],onChange:v=>i(h,v),label:s,tokens:t}),a.jsx(lt,{value:A[o]||m,onChange:v=>i(o,v),onBlur:()=>r(o,A[o],m),tokens:t}),a.jsx(wt,{tokens:t,value:A[l]??.35,onChange:v=>{const T=parseFloat(v.target.value);Number.isFinite(T)&&i(l,Math.max(0,Math.min(1,T)))},style:{width:60}}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A[c]??1,onChange:v=>i(c,Number(v.target.value)),style:{width:80,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:12,fontSize:12,color:t.text,textAlign:"right"},children:A[c]??1})]})]});return a.jsxs("div",{style:{padding:"12px 16px"},children:[a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"2fr 1fr auto 2fr",gap:14,marginBottom:14},children:[n("Base line","baseLineColor","baseLineOpacity","baseLineWidth","showBaseLine","#ff0000"),n("Upper line","upperLineColor","upperLineOpacity","upperLineWidth","showUpperLine","#0000ff"),n("Lower line","lowerLineColor","lowerLineOpacity","lowerLineWidth","showLowerLine","#0000ff")]}),a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:14},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx(Ne,{checked:!!A.showBackground,onChange:s=>i("showBackground",s),label:"Background",tokens:t}),a.jsx("span",{style:{fontSize:12,color:t.text},children:"Opacity"}),a.jsx(wt,{tokens:t,value:A.backgroundOpacity??.1,onChange:s=>{const o=parseFloat(s.target.value);Number.isFinite(o)&&i("backgroundOpacity",Math.max(0,Math.min(1,o)))},style:{width:52}})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:24},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:70},children:"Extension"}),a.jsx(Ne,{checked:!!A.extendLeft,onChange:s=>i("extendLeft",s),label:"Left",tokens:t}),a.jsx(Ne,{checked:!!A.extendRight,onChange:s=>i("extendRight",s),label:"Right",tokens:t})]}),a.jsx(Ne,{checked:!!A.showPearsonsR,onChange:s=>i("showPearsonsR",s),label:"Show Pearson's R",tokens:t})]})]})}function nB({draft:A,tokens:e}){const t={height:30,width:"100%",border:`1px solid ${e.fieldBorder}`,padding:"0 8px",fontSize:12,outline:"none",boxSizing:"border-box",background:e.fieldDisabledBg,color:e.fieldDisabledText},i={display:"grid",gridTemplateColumns:"100px 1fr",alignItems:"center",gap:8};return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:12,padding:"12px 16px"},children:[a.jsxs("div",{style:i,children:[a.jsx("span",{style:{fontSize:12,color:e.text},children:"#1 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.point1Time),style:t})]}),a.jsxs("div",{style:i,children:[a.jsx("span",{style:{fontSize:12,color:e.text},children:"#2 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.point2Time),style:t})]})]})}function sB({draft:A,setDraft:e,tokens:t}){const i=(n,s)=>e(o=>({...o,[n]:s})),r=(n,s,o)=>i(n,Lt(s,o));return a.jsxs("div",{style:{padding:"12px 16px",display:"flex",flexDirection:"column",gap:14},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx(lt,{value:A.strokeColor||"#8b5cf6",onChange:n=>i("strokeColor",n),onBlur:()=>r("strokeColor",A.strokeColor,"#8b5cf6"),tokens:t}),a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A.lineWidth??1,onChange:n=>i("lineWidth",Number(n.target.value)),style:{flex:1,width:80,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:12,fontSize:12,color:t.text,textAlign:"right"},children:A.lineWidth??1})]}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"2fr 1fr auto 2fr",gap:14},children:[a.jsx(Ne,{checked:!!A.showMiddleLine,onChange:n=>i("showMiddleLine",n),label:"Middle line",tokens:t}),a.jsx(lt,{value:A.middleLineColor||"#8b5cf6",onChange:n=>i("middleLineColor",n),onBlur:()=>r("middleLineColor",A.middleLineColor,"#8b5cf6"),tokens:t,disabled:!A.showMiddleLine}),a.jsx(wt,{tokens:t,disabled:!A.showMiddleLine,value:A.middleLineOpacity??.5,onChange:n=>{const s=parseFloat(n.target.value);Number.isFinite(s)&&i("middleLineOpacity",Math.max(0,Math.min(1,s)))},style:{width:60}}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A.middleLineWidth??1,onChange:n=>i("middleLineWidth",Number(n.target.value)),disabled:!A.showMiddleLine,style:{width:80,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:12,fontSize:12,color:t.text,textAlign:"right"},children:A.middleLineWidth??1})]}),a.jsx(Ne,{checked:!!A.showBackground,onChange:n=>i("showBackground",n),label:"Background",tokens:t}),a.jsx(lt,{value:A.backgroundColor||"#b4a7d6",onChange:n=>i("backgroundColor",n),onBlur:()=>r("backgroundColor",A.backgroundColor,"#b4a7d6"),tokens:t,disabled:!A.showBackground}),a.jsx(wt,{tokens:t,disabled:!A.showBackground,value:A.backgroundOpacity??.1,onChange:n=>{const s=parseFloat(n.target.value);Number.isFinite(s)&&i("backgroundOpacity",Math.max(0,Math.min(1,s)))},style:{width:60}}),a.jsx("div",{})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:24},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60},children:"Rays"}),a.jsx(Ne,{checked:!!A.rayLeft,onChange:n=>i("rayLeft",n),label:"Left",tokens:t}),a.jsx(Ne,{checked:!!A.rayRight,onChange:n=>i("rayRight",n),label:"Right",tokens:t})]})]})}function oB({draft:A,setDraft:e,tokens:t}){const i=(o,l)=>{const c=parseFloat(l);Number.isFinite(c)&&e(h=>({...h,[o]:c}))},r={height:30,width:"100%",border:`1px solid ${t.fieldBorder}`,padding:"0 8px",fontSize:12,outline:"none",boxSizing:"border-box",background:t.fieldDisabledBg,color:t.fieldDisabledText},n={display:"grid",gridTemplateColumns:"100px 1fr 110px",alignItems:"center",gap:8},s={display:"grid",gridTemplateColumns:"100px 110px",alignItems:"center",gap:8};return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:12,padding:"12px 16px"},children:[a.jsxs("div",{style:n,children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#1 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.point1Time),style:r}),a.jsx(wt,{tokens:t,value:A.point1Price??"",onChange:o=>i("point1Price",o.target.value)})]}),a.jsxs("div",{style:n,children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#2 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.point2Time),style:r}),a.jsx(wt,{tokens:t,value:A.point2Price??"",onChange:o=>i("point2Price",o.target.value)})]}),a.jsxs("div",{style:s,children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#3 (Bar, Price)"}),a.jsx(wt,{tokens:t,value:A.point3Price??"",onChange:o=>i("point3Price",o.target.value)})]})]})}function aB({draft:A,setDraft:e,tokens:t}){const i=(s,o)=>e(l=>({...l,[s]:o})),r=(s,o,l)=>e(c=>{const h=c.rays?[...c.rays]:[];return h[s]={...h[s],[o]:l},{...c,rays:h}}),n=[...A.rays??[]].reverse();return a.jsxs("div",{style:{padding:"12px 16px",display:"flex",flexDirection:"column",gap:14},children:[a.jsx("div",{style:{display:"grid",gridTemplateColumns:"60px 1fr 2fr 1fr",gap:8,alignItems:"center"},children:n.map((s,o)=>{const l=(A.rays??[]).findIndex(c=>c.ratio===s.ratio);return a.jsxs(Y.Fragment,{children:[a.jsx(wt,{tokens:t,value:s.label,onChange:c=>{const h=parseFloat(c.target.value);Number.isFinite(h)&&h>0&&r(l,"ratio",h),r(l,"label",c.target.value)},onBlur:c=>{const h=parseFloat(c.target.value);Number.isFinite(h)&&h>0&&(r(l,"ratio",h),r(l,"label",h%1===0?h.toFixed(2):String(h)))},style:{width:60}}),a.jsx(lt,{value:s.color||"#888888",onChange:c=>r(l,"color",c),onBlur:()=>r(l,"color",Lt(s.color,"#888888")),tokens:t}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:s.width??1,onChange:c=>r(l,"width",Number(c.target.value)),style:{flex:1,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:12,fontSize:12,color:t.text,textAlign:"right"},children:s.width??1})]}),a.jsx("div",{})]},o)})}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx(lt,{value:A.backgroundColor||"#3b82f6",onChange:s=>i("backgroundColor",s),onBlur:()=>i("backgroundColor",Lt(A.backgroundColor,"#3b82f6")),tokens:t}),a.jsx("span",{style:{fontSize:12,color:t.text},children:"Background"}),a.jsx(wt,{tokens:t,value:A.backgroundOpacity??.1,onChange:s=>{const o=parseFloat(s.target.value);Number.isFinite(o)&&i("backgroundOpacity",Math.max(0,Math.min(1,o)))},style:{width:60}})]}),a.jsx(Ne,{checked:!!A.showLabels,onChange:s=>i("showLabels",s),label:"Show labels",tokens:t})]})}function lB({draft:A,setDraft:e,tokens:t}){const i=(r,n)=>e(s=>({...s,[r]:n}));return a.jsxs("div",{style:{padding:"12px 16px",display:"flex",flexDirection:"column",gap:14},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[a.jsx("label",{style:{fontSize:12,color:t.mutedText,minWidth:90},children:"Divisions"}),a.jsx(wt,{tokens:t,value:A.divisions??8,min:2,max:50,step:1,onChange:r=>i("divisions",Number(r.target.value)),onBlur:r=>i("divisions",Math.max(2,Math.min(50,parseInt(r.target.value)||8))),style:{width:60}})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[a.jsx("label",{style:{fontSize:12,color:t.mutedText,minWidth:90},children:"Line color"}),a.jsx(lt,{value:A.lineColor??"#94a3b8",onChange:r=>i("lineColor",r),tokens:t})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[a.jsx("label",{style:{fontSize:12,color:t.mutedText,minWidth:90},children:"Line width"}),a.jsx("input",{type:"range",min:1,max:5,step:1,value:A.lineWidth??1,onChange:r=>i("lineWidth",Number(r.target.value)),style:{flex:1}}),a.jsx("span",{style:{fontSize:11,color:t.mutedText,minWidth:16,textAlign:"right"},children:A.lineWidth??1})]}),a.jsx(Ne,{label:"Show background",checked:A.showBackground!==!1,onChange:r=>i("showBackground",r),tokens:t}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[a.jsx("label",{style:{fontSize:12,color:t.mutedText,minWidth:90},children:"Background"}),a.jsx(lt,{value:A.backgroundColor??"#3b82f6",onChange:r=>i("backgroundColor",r),tokens:t}),a.jsx(wt,{tokens:t,value:A.backgroundOpacity??.08,min:0,max:1,step:.01,onChange:r=>i("backgroundOpacity",parseFloat(r.target.value)||0),onBlur:r=>i("backgroundOpacity",Math.max(0,Math.min(1,parseFloat(r.target.value)||0))),style:{width:60}})]})]})}function cB({draft:A,setDraft:e,tokens:t}){const i=(s,o)=>e(l=>({...l,[s]:o})),r=(s,o,l)=>i(s,Lt(o,l)),n=(s,o,l)=>e(c=>{const h=c.levels?[...c.levels]:[];return h[s]={...h[s],[o]:l},{...c,levels:h}});return a.jsxs("div",{style:{padding:"12px 16px",display:"flex",flexDirection:"column",gap:14},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx(lt,{value:A.medianColor||"#a50000",onChange:s=>i("medianColor",s),onBlur:()=>r("medianColor",A.medianColor,"#a50000"),tokens:t}),a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A.medianWidth??1,onChange:s=>i("medianWidth",Number(s.target.value)),style:{flex:1,width:80,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:12,fontSize:12,color:t.text,textAlign:"right"},children:A.medianWidth??1})]}),a.jsx("div",{style:{display:"grid",gridTemplateColumns:"auto 40px 1fr 2fr",gap:8,alignItems:"center"},children:(A.levels??[]).map((s,o)=>a.jsxs(Y.Fragment,{children:[a.jsx("input",{type:"checkbox",checked:!!s.enabled,onChange:l=>n(o,"enabled",l.target.checked),style:{accentColor:t.headerBlue,margin:0}}),a.jsx("span",{style:{fontSize:12,color:t.text},children:s.label}),a.jsx(lt,{value:s.color||"#888888",onChange:l=>n(o,"color",l),onBlur:()=>n(o,"color",Lt(s.color,"#888888")),tokens:t,disabled:!s.enabled}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:s.width??1,onChange:l=>n(o,"width",Number(l.target.value)),disabled:!s.enabled,style:{width:80,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:12,fontSize:12,color:t.text,textAlign:"right"},children:s.width??1})]})]},s.k))}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx(Ne,{checked:!!A.showBackground,onChange:s=>i("showBackground",s),label:"Background",tokens:t}),a.jsx(wt,{tokens:t,disabled:!A.showBackground,value:A.backgroundOpacity??.1,onChange:s=>{const o=parseFloat(s.target.value);Number.isFinite(o)&&i("backgroundOpacity",Math.max(0,Math.min(1,o)))},style:{width:60}})]})]})}function hB({draft:A,setDraft:e,tokens:t}){const i=(s,o)=>{const l=parseFloat(o);Number.isFinite(l)&&e(c=>({...c,[s]:l}))},r={height:30,width:"100%",border:`1px solid ${t.fieldBorder}`,padding:"0 8px",fontSize:12,outline:"none",boxSizing:"border-box",background:t.fieldDisabledBg,color:t.fieldDisabledText},n={display:"grid",gridTemplateColumns:"100px 1fr 110px",alignItems:"center",gap:8};return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:12,padding:"12px 16px"},children:[a.jsxs("div",{style:n,children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#1 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.point1Time),style:r}),a.jsx(wt,{tokens:t,value:A.point1Price??"",onChange:s=>i("point1Price",s.target.value)})]}),a.jsxs("div",{style:n,children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#2 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.point2Time),style:r}),a.jsx(wt,{tokens:t,value:A.point2Price??"",onChange:s=>i("point2Price",s.target.value)})]}),a.jsxs("div",{style:n,children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#3 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.point3Time),style:r}),a.jsx(wt,{tokens:t,value:A.point3Price??"",onChange:s=>i("point3Price",s.target.value)})]})]})}function fa({draft:A,setDraft:e,tokens:t,strokeDefault:i="#7aa6ae",bgDefault:r="#b4a7d6"}){const n=(s,o)=>e(l=>({...l,[s]:o}));return a.jsxs("div",{style:{padding:"12px 16px",display:"flex",flexDirection:"column",gap:14},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx(lt,{value:A.strokeColor||i,onChange:s=>n("strokeColor",s),onBlur:()=>n("strokeColor",Lt(A.strokeColor,i)),tokens:t}),a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A.lineWidth??1,onChange:s=>n("lineWidth",Number(s.target.value)),style:{flex:1,accentColor:t.headerBlue}}),a.jsx("span",{style:{fontSize:12,color:t.text,minWidth:12,textAlign:"right"},children:A.lineWidth??1})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx(Ne,{checked:A.showBackground!==!1,onChange:s=>n("showBackground",s),label:"Background",tokens:t}),a.jsx(lt,{value:A.backgroundColor||r,onChange:s=>n("backgroundColor",s),onBlur:()=>n("backgroundColor",Lt(A.backgroundColor,r)),tokens:t}),a.jsx(wt,{tokens:t,value:A.backgroundOpacity??.1,min:0,max:1,step:.01,onChange:s=>n("backgroundOpacity",parseFloat(s.target.value)||0),onBlur:s=>n("backgroundOpacity",Math.max(0,Math.min(1,parseFloat(s.target.value)||0))),style:{width:60}})]})]})}function uB({draft:A,setDraft:e,tokens:t}){return a.jsx(fa,{draft:A,setDraft:e,tokens:t})}function pB({draft:A,setDraft:e,tokens:t}){return a.jsx(fa,{draft:A,setDraft:e,tokens:t})}function dB({draft:A,setDraft:e,tokens:t}){return a.jsx(fa,{draft:A,setDraft:e,tokens:t})}function fB({draft:A,setDraft:e,tokens:t}){const i=(h,m)=>e(v=>({...v,[h]:m})),r=h=>{if(!h)return"";const m=new Date(h*1e3),v=String(m.getUTCDate()).padStart(2,"0"),T=String(m.getUTCMonth()+1).padStart(2,"0"),Q=m.getUTCFullYear(),b=String(m.getUTCHours()).padStart(2,"0"),E=String(m.getUTCMinutes()).padStart(2,"0"),I=String(m.getUTCSeconds()).padStart(2,"0");return`${v}.${T}.${Q} ${b}:${E}:${I}`},n={display:"grid",gridTemplateColumns:"110px 1fr 100px",gap:8,alignItems:"center",marginBottom:6},s={fontSize:12,color:t.mutedText},o={height:30,width:"100%",border:`1px solid ${t.fieldBorder}`,padding:"0 6px",fontSize:12,background:t.fieldDisabledBg,color:t.fieldDisabledText,boxSizing:"border-box"},l={height:30,width:"100%",border:`1px solid ${t.fieldBorder}`,padding:"0 6px",fontSize:12,background:t.fieldBg,color:t.text,boxSizing:"border-box",outline:"none"},c=[{label:"#1 (Bar, Price)",timeKey:"point1Time",priceKey:"point1Price"},{label:"#2 (Bar, Price)",timeKey:"point2Time",priceKey:"point2Price"},{label:"#3 (Bar, Price)",timeKey:"point3Time",priceKey:"point3Price"}];return a.jsx("div",{style:{padding:"12px 16px"},children:c.map(({label:h,timeKey:m,priceKey:v})=>a.jsxs("div",{style:n,children:[a.jsx("span",{style:s,children:h}),a.jsx("input",{style:o,value:r(A[m]),readOnly:!0}),a.jsx("input",{type:"number",style:l,value:A[v]??0,step:"0.00001",onChange:T=>i(v,parseFloat(T.target.value)||0)})]},h))})}function gB({draft:A,setDraft:e,tokens:t}){const i=(o,l)=>e(c=>({...c,[o]:l})),r=(o,l,c)=>i(o,Lt(l,c)),n=(o,l,c)=>{e(h=>{const m=[...h.levels||[]];return m[o]={...m[o],[l]:c},{...h,levels:m}})},s=A.levels||[];return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:12,padding:"16px 12px"},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx(lt,{value:A.lineColor||"#80aab0",onChange:o=>r("lineColor",o,"#80aab0"),tokens:t}),a.jsx("input",{type:"range",min:1,max:5,value:A.lineWidth||2,onChange:o=>i("lineWidth",Number(o.target.value)),style:{flex:1}}),a.jsx("span",{style:{fontSize:12,color:t.text,minWidth:16},children:A.lineWidth||2})]}),a.jsxs("label",{style:{display:"flex",alignItems:"center",gap:8,fontSize:12,color:t.text,cursor:"pointer"},children:[a.jsx("input",{type:"checkbox",checked:!!A.extended,onChange:o=>i("extended",o.target.checked)}),"Extended"]}),a.jsx("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"6px 16px"},children:s.map((o,l)=>a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6},children:[a.jsx("input",{type:"checkbox",checked:o.enabled!==!1,onChange:c=>n(l,"enabled",c.target.checked)}),a.jsx("span",{style:{fontSize:11,color:t.text,minWidth:32},children:o.ratio?.toFixed(2)}),a.jsxs("label",{style:{position:"relative",width:18,height:18,flexShrink:0,display:"block"},children:[a.jsx("input",{type:"color",value:Lt(o.color,"#808080"),onChange:c=>n(l,"color",c.target.value),style:{...pa,position:"absolute"}}),a.jsx("span",{style:{display:"block",width:18,height:18,background:Lt(o.color,"#808080"),boxShadow:"inset 0 0 0 1px #c7cdd7"}})]}),a.jsx("input",{type:"text",value:(o.color||"#808080").replace("#",""),onChange:c=>n(l,"color",Lt(c.target.value,"#808080")),style:{...pi(t),width:56,fontSize:11}})]},l))}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx("input",{type:"checkbox",checked:!!A.showBackground,onChange:o=>i("showBackground",o.target.checked)}),a.jsx("span",{style:{fontSize:12,color:t.text},children:"Background"}),a.jsx("input",{type:"text",value:String(A.backgroundOpacity??.1),onChange:o=>i("backgroundOpacity",Number(o.target.value)||0),style:{...pi(t),width:48,fontSize:12,textAlign:"center"}})]}),a.jsxs("label",{style:{display:"flex",alignItems:"center",gap:8,fontSize:12,color:t.text,cursor:"pointer"},children:[a.jsx("input",{type:"checkbox",checked:A.showLabels!==!1,onChange:o=>i("showLabels",o.target.checked)}),"Labels"]}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:12},children:[a.jsxs("div",{children:[a.jsx("div",{style:{fontSize:11,color:t.mutedText,marginBottom:4},children:"Horizontal alignment"}),a.jsxs("select",{value:A.hAlign||"left",onChange:o=>i("hAlign",o.target.value),style:{...pi(t),width:"100%",fontSize:12},children:[a.jsx("option",{value:"left",children:"Left"}),a.jsx("option",{value:"center",children:"Center"}),a.jsx("option",{value:"right",children:"Right"})]})]}),a.jsxs("div",{children:[a.jsx("div",{style:{fontSize:11,color:t.mutedText,marginBottom:4},children:"Vertical alignment"}),a.jsxs("select",{value:A.vAlign||"middle",onChange:o=>i("vAlign",o.target.value),style:{...pi(t),width:"100%",fontSize:12},children:[a.jsx("option",{value:"top",children:"Top"}),a.jsx("option",{value:"middle",children:"Middle"}),a.jsx("option",{value:"bottom",children:"Bottom"})]})]})]}),a.jsxs("label",{style:{display:"flex",alignItems:"center",gap:8,fontSize:12,color:t.text,cursor:"pointer"},children:[a.jsx("input",{type:"checkbox",checked:A.showPrice!==!1,onChange:o=>i("showPrice",o.target.checked)}),"Show price"]}),a.jsxs("label",{style:{display:"flex",alignItems:"center",gap:8,fontSize:12,color:t.text,cursor:"pointer"},children:[a.jsx("input",{type:"checkbox",checked:!!A.reverse,onChange:o=>i("reverse",o.target.checked)}),"Reverse"]})]})}function mB({draft:A,setDraft:e,tokens:t}){const i=(n,s)=>e(o=>({...o,[n]:s})),r=n=>{if(!n)return"";const s=new Date(typeof n=="number"?n*1e3:n);return isNaN(s.getTime())?String(n):`${s.toLocaleDateString("en-GB",{day:"2-digit",month:"2-digit",year:"numeric"})} ${s.toTimeString().slice(0,8)}`};return a.jsxs("div",{style:{padding:"16px 12px",display:"flex",flexDirection:"column",gap:12},children:[a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"90px 1fr 1fr",gap:8,alignItems:"center"},children:[a.jsx("span",{style:{fontSize:12,color:t.mutedText},children:"#1 (Bar, Price)"}),a.jsx("input",{type:"text",value:r(A.point1Time),readOnly:!0,style:{...pi(t),fontSize:11}}),a.jsx("input",{type:"text",value:A.point1Price??"",onChange:n=>i("point1Price",n.target.value),style:{...pi(t),fontSize:11}})]}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"90px 1fr 1fr",gap:8,alignItems:"center"},children:[a.jsx("span",{style:{fontSize:12,color:t.mutedText},children:"#2 (Bar, Price)"}),a.jsx("input",{type:"text",value:r(A.point2Time),readOnly:!0,style:{...pi(t),fontSize:11}}),a.jsx("input",{type:"text",value:A.point2Price??"",onChange:n=>i("point2Price",n.target.value),style:{...pi(t),fontSize:11}})]})]})}function wB({draft:A,setDraft:e,tokens:t}){const i=(r,n)=>e(s=>({...s,[r]:n}));return a.jsxs("div",{style:{padding:"12px 16px",display:"flex",flexDirection:"column",gap:14},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[a.jsx(lt,{value:A.strokeColor??"#7aa6ae",onChange:r=>i("strokeColor",r),tokens:t}),a.jsx("input",{type:"range",min:1,max:5,step:1,value:A.lineWidth??1,onChange:r=>i("lineWidth",Number(r.target.value)),style:{flex:1}}),a.jsx("span",{style:{fontSize:11,color:t.mutedText,minWidth:16,textAlign:"right"},children:A.lineWidth??1})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[a.jsx(Ne,{label:"Background",checked:A.showBackground!==!1,onChange:r=>i("showBackground",r),tokens:t}),a.jsx(lt,{value:A.backgroundColor??"#94a3b8",onChange:r=>i("backgroundColor",r),tokens:t}),a.jsx(wt,{tokens:t,value:A.backgroundOpacity??.18,min:0,max:1,step:.01,onChange:r=>i("backgroundOpacity",r),onBlur:r=>i("backgroundOpacity",Math.max(0,Math.min(1,parseFloat(r)||0))),style:{width:60}})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:14},children:[a.jsx("span",{style:{fontSize:12,color:t.mutedText,minWidth:90},children:"Extension"}),a.jsx(Ne,{label:"Left",checked:!!A.extendLeft,onChange:r=>i("extendLeft",r),tokens:t}),a.jsx(Ne,{label:"Right",checked:!!A.extendRight,onChange:r=>i("extendRight",r),tokens:t})]})]})}function BB({draft:A,tokens:e}){const t=[{label:"#1 (Bar, Price)",time:A.point1Time,price:A.point1Price},{label:"#2 (Bar, Price)",time:A.point1Time,price:A.point4Price},{label:"#3 (Bar, Price)",time:A.point2Time,price:A.point1Price},{label:"#4 (Bar, Price)",time:A.point2Time,price:A.point4Price}],i={height:28,flex:1,border:`1px solid ${e.fieldBorder}`,padding:"0 6px",fontSize:12,outline:"none",boxSizing:"border-box",background:e.fieldDisabledBg,color:e.fieldDisabledText},r={height:28,width:80,border:`1px solid ${e.fieldBorder}`,padding:"0 6px",fontSize:12,outline:"none",boxSizing:"border-box",background:e.fieldDisabledBg,color:e.fieldDisabledText};return a.jsx("div",{style:{display:"flex",flexDirection:"column",gap:8,padding:"12px 16px"},children:t.map((n,s)=>a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"110px 1fr 80px",alignItems:"center",gap:6},children:[a.jsx("span",{style:{fontSize:12,color:e.mutedText},children:n.label}),a.jsx("input",{readOnly:!0,value:n.time?new Date(n.time*1e3).toLocaleString("de-DE",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"}).replace(",",""):"—",style:i}),a.jsx("input",{readOnly:!0,value:n.price!=null?Number(n.price).toFixed(5):"—",style:r})]},s))})}function uu({draft:A,setDraft:e,tokens:t}){const i=(n,s)=>e(o=>({...o,[n]:s})),r=(n,s,o)=>i(n,Lt(s,o));return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,padding:"12px 16px"},children:[a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[a.jsx(lt,{value:A.lineColor||"#129f5c",onChange:n=>i("lineColor",n),onBlur:()=>r("lineColor",A.lineColor,"#129f5c"),tokens:t}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx("input",{type:"range",min:"1",max:"5",step:"1",value:A.lineWidth??2,onChange:n=>i("lineWidth",Number(n.target.value)),style:{flex:1,accentColor:t.headerBlue}}),a.jsx("span",{style:{width:16,fontSize:12,color:t.text,textAlign:"right"},children:A.lineWidth??2})]})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx(Ne,{checked:!!A.showBackground,onChange:n=>i("showBackground",n),label:"Background",tokens:t}),a.jsx(lt,{value:A.fillColor||"#6aa84f",onChange:n=>i("fillColor",n),onBlur:()=>r("fillColor",A.fillColor,"#6aa84f"),tokens:t}),a.jsx(wt,{tokens:t,value:A.fillOpacity??.1,onChange:n=>{const s=parseFloat(n.target.value);Number.isFinite(s)&&i("fillOpacity",Math.max(0,Math.min(1,s)))},style:{width:52}})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.jsx(Ne,{checked:!!A.showPrices,onChange:n=>i("showPrices",n),label:"Prices",tokens:t}),a.jsx(lt,{value:A.pricesColor||"#129f5c",onChange:n=>i("pricesColor",n),onBlur:()=>r("pricesColor",A.pricesColor,"#129f5c"),tokens:t})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:24},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60},children:"Rays"}),a.jsx(Ne,{checked:!!A.rayLeft,onChange:n=>i("rayLeft",n),label:"Left",tokens:t}),a.jsx(Ne,{checked:!!A.rayRight,onChange:n=>i("rayRight",n),label:"Right",tokens:t})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center",gap:24},children:[a.jsx("span",{style:{fontSize:12,color:t.text,width:60},children:"Arrows"}),a.jsx(Ne,{checked:!!A.arrowLeft,onChange:n=>i("arrowLeft",n),label:"Left",tokens:t}),a.jsx(Ne,{checked:!!A.arrowRight,onChange:n=>i("arrowRight",n),label:"Right",tokens:t})]})]})}function pu({draft:A,setDraft:e,tokens:t}){const i=(s,o)=>{const l=Number(o);Number.isFinite(l)&&e(c=>({...c,[s]:l}))},r={display:"grid",gridTemplateColumns:"100px 1fr 110px",alignItems:"center",gap:8},n={height:30,width:"100%",border:`1px solid ${t.fieldBorder}`,padding:"0 8px",fontSize:12,outline:"none",boxSizing:"border-box",background:t.fieldDisabledBg,color:t.fieldDisabledText};return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:12,padding:"12px 16px"},children:[a.jsxs("div",{style:r,children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#1 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.point1Time),style:n}),a.jsx(wt,{tokens:t,value:A.point1Price??"",onChange:s=>i("point1Price",s.target.value)})]}),a.jsxs("div",{style:r,children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#2 (Bar, Price)"}),a.jsx("input",{type:"text",readOnly:!0,value:dA(A.point2Time),style:n}),a.jsx(wt,{tokens:t,value:A.point2Price??"",onChange:s=>i("point2Price",s.target.value)})]}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"100px 110px",alignItems:"center",gap:8},children:[a.jsx("span",{style:{fontSize:12,color:t.text},children:"#3 (Bar, Price)"}),a.jsx(wt,{tokens:t,value:A.point3Price??"",onChange:s=>i("point3Price",s.target.value)})]})]})}function yB(A){if(!A)return{};const e={visibleTimeframes:A.visibleTimeframes||Jn.map(t=>t.key)};if(A.type==="gannline"){const t=typeof A.series?.options=="function"?A.series.options():{};return{...e,lineColor:t.color??A.lineColor??"#7aa6ae",lineWidth:t.lineWidth??A.lineWidth??2,arrowLeft:A.arrowLeft??!1,arrowRight:A.arrowRight??!1,rayLeft:A.rayLeft??!1,rayRight:A.rayRight??!1,statsColor:A.statsColor??"#5f8f96",statsPosition:A.statsPosition??"right",statsShowAlways:A.statsShowAlways??!1,statsPriceRange:A.statsPriceRange??!1,statsBarsRange:A.statsBarsRange??!1,statsDateRange:A.statsDateRange??!1,statsDistance:A.statsDistance??!1,point1Price:A.point1?.price??0,point1Time:A.point1?.rawTime??A.point1?.time??0,point2Price:A.point2?.price??0,point2Time:A.point2?.rawTime??A.point2?.time??0}}if(A.type==="trendline"){const t=typeof A.series?.options=="function"?A.series.options():{};return{...e,lineColor:t.color??A.lineColor??"#22c55e",lineWidth:t.lineWidth??A.lineWidth??2,arrowLeft:A.arrowLeft??!1,arrowRight:A.arrowRight??!1,rayLeft:A.rayLeft??!1,rayRight:A.rayRight??!1,statsColor:A.statsColor??"#5f8f96",statsPosition:A.statsPosition??"right",statsShowAlways:A.statsShowAlways??!1,statsPriceRange:A.statsPriceRange??!1,statsBarsRange:A.statsBarsRange??!1,statsDateRange:A.statsDateRange??!1,statsAngle:A.statsAngle??!1,statsDistance:A.statsDistance??!1,point1Price:A.point1?.price??0,point1Time:A.point1?.rawTime??A.point1?.time??0,point2Price:A.point2?.price??0,point2Time:A.point2?.rawTime??A.point2?.time??0}}if(A.type==="text")return{...e,text:A.primitive?.text??A.text??"Text",color:A.primitive?.color??"#5f8f96",fontSize:A.primitive?.fontSize??12,fontWeight:A.primitive?.fontWeight??"normal",fontStyle:A.primitive?.fontStyle??"normal",textAlign:A.primitive?.textAlign??"center",textWrap:A.primitive?.textWrap??!1,borderEnabled:A.primitive?.borderEnabled??!1,borderColor:A.primitive?.borderColor??"#5f8f96",borderOpacity:A.primitive?.borderOpacity??.1,borderWidth:A.primitive?.borderWidth??1,bgEnabled:A.primitive?.bgEnabled??!1,bgColor:A.primitive?.bgColor??"#5f8f96",bgOpacity:A.primitive?.bgOpacity??.1,price:A.price};if(A.type==="pricelevel")return{...e,lineColor:A.lineColor??"#3b82f6",lineWidth:A.lineWidth??2,showPrice:A.showPrice??!0,showText:A.showText??!1,textContent:A.textContent??"",textColor:A.textColor??"#ffffff",textHAlign:A.textHAlign??"center",textVAlign:A.textVAlign??"top",price:A.price};if(A.type==="horizontalray")return{...e,lineColor:A.lineColor??"#3b82f6",lineWidth:A.lineWidth??2,showPrice:A.showPrice??!0,showText:A.showText??!1,textContent:A.textContent??"",textColor:A.textColor??"#ffffff",textHAlign:A.textHAlign??"center",textVAlign:A.textVAlign??"top",price:A.price,originTime:A.rawOriginTime??A.originTime};if(A.type==="verticalline")return{...e,lineColor:A.lineColor??"#3b82f6",lineWidth:A.lineWidth??2,showDate:A.showDate!==!1,rawTime:A.rawTime};if(A.type==="infoline")return{...e,lineColor:A.lineColor??"#3b82f6",lineWidth:A.lineWidth??2,statsColor:A.statsColor??"#5f8f96",statsPosition:A.statsPosition??"right",statsShowAlways:A.statsShowAlways??!0,statsPriceRange:A.statsPriceRange??!0,statsBarsRange:A.statsBarsRange??!0,statsDateRange:A.statsDateRange??!0,statsAngle:A.statsAngle??!0,statsDistance:A.statsDistance??!0,point1Price:A.p1?.price??0,point1Time:A.p1?.rawTime??0,point2Price:A.p2?.price??0,point2Time:A.p2?.rawTime??0};if(A.type==="arrowedline")return{...e,lineColor:A.lineColor??"#f59e0b",lineWidth:A.lineWidth??2,arrowLeft:A.arrowLeft??!1,arrowRight:A.arrowRight!==!1,rayLeft:A.rayLeft??!1,rayRight:A.rayRight??!1,statsColor:A.statsColor??"#5f8f96",statsPosition:A.statsPosition??"right",statsShowAlways:A.statsShowAlways??!1,statsPriceRange:A.statsPriceRange??!1,statsBarsRange:A.statsBarsRange??!1,statsDateRange:A.statsDateRange??!1,statsAngle:A.statsAngle??!1,statsDistance:A.statsDistance??!1,point1Price:A.p1?.price??0,point1Time:A.p1?.rawTime??0,point2Price:A.p2?.price??0,point2Time:A.p2?.rawTime??0};if(A.type==="rayline")return{...e,lineColor:A.lineColor??"#7aa6ae",lineWidth:A.lineWidth??2,arrowLeft:A.arrowLeft??!1,arrowRight:A.arrowRight??!1,rayLeft:A.rayLeft??!1,rayRight:A.rayRight!==!1,statsColor:A.statsColor??"#5f8f96",statsPosition:A.statsPosition??"right",statsShowAlways:A.statsShowAlways??!1,statsPriceRange:A.statsPriceRange??!1,statsBarsRange:A.statsBarsRange??!1,statsDateRange:A.statsDateRange??!1,statsAngle:A.statsAngle??!1,statsDistance:A.statsDistance??!1,point1Price:A.p1?.price??0,point1Time:A.p1?.rawTime??0,point2Price:A.p2?.price??0,point2Time:A.p2?.rawTime??0};if(A.type==="extendedline")return{...e,lineColor:A.lineColor??"#7aa6ae",lineWidth:A.lineWidth??2,arrowLeft:A.arrowLeft??!1,arrowRight:A.arrowRight??!1,rayLeft:A.rayLeft!==!1,rayRight:A.rayRight!==!1,statsColor:A.statsColor??"#5f8f96",statsPosition:A.statsPosition??"right",statsShowAlways:A.statsShowAlways??!1,statsPriceRange:A.statsPriceRange??!1,statsBarsRange:A.statsBarsRange??!1,statsDateRange:A.statsDateRange??!1,statsAngle:A.statsAngle??!1,statsDistance:A.statsDistance??!1,point1Price:A.p1?.price??0,point1Time:A.p1?.rawTime??0,point2Price:A.p2?.price??0,point2Time:A.p2?.rawTime??0};if(A.type==="crossline")return{...e,lineColor:A.lineColor??"#06a0e3",lineWidth:A.lineWidth??2,showTime:A.showTime??!1,showPrice:A.showPrice??!1,rawTime:A.p?.rawTime??0,price:A.p?.price??0};if(A.type==="trendbyangle")return{...e,lineColor:A.lineColor??"#7aa6ae",lineWidth:A.lineWidth??2,arrowLeft:A.arrowLeft??!1,arrowRight:A.arrowRight??!1,rayLeft:A.rayLeft??!1,rayRight:A.rayRight??!1,statsColor:A.statsColor??"#5f8f96",statsPosition:A.statsPosition??"right",statsShowAlways:A.statsShowAlways??!1,statsPriceRange:A.statsPriceRange??!1,statsDistance:A.statsDistance??!1,point1Price:A.p1?.price??0,point1Time:A.p1?.rawTime??0,point2Price:A.p2?.price??0,point2Time:A.p2?.rawTime??0};if(A.type==="disjointchannel")return{...e,lineColor:A.lineColor??"#129f5c",lineWidth:A.lineWidth??2,fillColor:A.fillColor??"#6aa84f",fillOpacity:A.fillOpacity??.1,showBackground:A.showBackground!==!1,showPrices:A.showPrices!==!1,pricesColor:A.pricesColor??"#129f5c",rayLeft:A.rayLeft??!1,rayRight:A.rayRight??!1,arrowLeft:A.arrowLeft??!1,arrowRight:A.arrowRight??!1,point1Price:A.p1?.price??0,point1Time:A.p1?.rawTime??0,point2Price:A.p3?.price??0,point2Time:A.p3?.rawTime??0,point3Price:A.p2?.price??0};if(A.type==="flattopbottom")return{...e,lineColor:A.lineColor??"#3b82f6",lineWidth:A.lineWidth??2,fillColor:A.fillColor??"#3b82f6",fillOpacity:A.fillOpacity??.12,showBackground:A.showBackground!==!1,showPrices:A.showPrices!==!1,pricesColor:A.pricesColor??"#3b82f6",rayLeft:A.rayLeft??!1,rayRight:A.rayRight??!1,arrowLeft:A.arrowLeft??!1,arrowRight:A.arrowRight??!1,point1Price:A.p1?.price??0,point1Time:A.p1?.rawTime??0,point2Price:A.p3?.price??0,point2Time:A.p3?.rawTime??0,point3Price:A.p2?.price??0};if(A.type==="gannfan"){const t=A.primitive,i=[{ratio:.125,label:"0.13",color:"#a06b00",width:1},{ratio:.25,label:"0.25",color:"#699e00",width:1},{ratio:.333333,label:"0.30",color:"#009b00",width:1},{ratio:.5,label:"0.50",color:"#009965",width:1},{ratio:1,label:"1.00",color:"#808080",width:1},{ratio:2,label:"2.00",color:"#006599",width:1},{ratio:3,label:"3.00",color:"#000099",width:1},{ratio:4,label:"4.00",color:"#660099",width:1},{ratio:8,label:"8.00",color:"#a50000",width:1}],r=A.rays??(t?._rays?t._rays.map(n=>({...n})):i);return{...e,rays:r,showLabels:t?t.showLabels??!0:A.showLabels??!0,backgroundColor:t?.backgroundColor??A.backgroundColor??"#3b82f6",backgroundOpacity:t?.backgroundOpacity??A.backgroundOpacity??.1,point1Price:A.p1?.price??0,point1Time:A.p1?.rawTime??0,point2Price:A.p2?.price??0,point2Time:A.p2?.rawTime??0}}if(A.type==="ganngrid"){const t=A.primitive;return{...e,divisions:t?.divisions??A.divisions??8,lineColor:t?.lineColor??A.lineColor??"#94a3b8",lineWidth:t?.lineWidth??A.lineWidth??1,showBackground:t?t.showBackground!==!1:A.showBackground!==!1,backgroundColor:t?.backgroundColor??A.backgroundColor??"#3b82f6",backgroundOpacity:t?.backgroundOpacity??A.backgroundOpacity??.08,point1Price:A.p1?.price??0,point1Time:A.p1?.rawTime??0,point2Price:A.p2?.price??0,point2Time:A.p2?.rawTime??0}}if(A.type==="triangle"){const t=A.primitive;return{...e,strokeColor:t?.strokeColor??A.strokeColor??"#7aa6ae",lineWidth:t?.lineWidth??A.lineWidth??1,showBackground:t?t.showBackground!==!1:A.showBackground!==!1,backgroundColor:t?.backgroundColor??A.backgroundColor??"#b4a7d6",backgroundOpacity:t?.backgroundOpacity??A.backgroundOpacity??.1,point1Time:A.p1?.rawTime??0,point1Price:A.p1?.price??0,point2Time:A.p2?.rawTime??0,point2Price:A.p2?.price??0,point3Time:A.p3?.rawTime??0,point3Price:A.p3?.price??0}}if(A.type==="circle"){const t=A.primitive;return{...e,strokeColor:t?.strokeColor??A.strokeColor??"#7aa6ae",lineWidth:t?.lineWidth??A.lineWidth??1,showBackground:t?t.showBackground!==!1:A.showBackground!==!1,backgroundColor:t?.backgroundColor??A.backgroundColor??"#b4a7d6",backgroundOpacity:t?.backgroundOpacity??A.backgroundOpacity??.1,point1Time:A.p1?.rawTime??0,point1Price:A.p1?.price??0,point2Time:A.p2?.rawTime??0,point2Price:A.p2?.price??0}}if(A.type==="ellipse"){const t=A.primitive;return{...e,strokeColor:t?.strokeColor??A.strokeColor??"#7aa6ae",lineWidth:t?.lineWidth??A.lineWidth??1,showBackground:t?t.showBackground!==!1:A.showBackground!==!1,backgroundColor:t?.backgroundColor??A.backgroundColor??"#b4a7d6",backgroundOpacity:t?.backgroundOpacity??A.backgroundOpacity??.1,point1Time:A.p1?.rawTime??0,point1Price:A.p1?.price??0,point2Time:A.p2?.rawTime??0,point2Price:A.p2?.price??0}}if(A.type==="rectangle"){const t=A.primitive;return{...e,strokeColor:t?.strokeColor??A.strokeColor??"#7aa6ae",lineWidth:t?.lineWidth??A.lineWidth??1,showBackground:t?t.showBackground!==!1:A.showBackground!==!1,backgroundColor:t?.backgroundColor??A.backgroundColor??"#94a3b8",backgroundOpacity:t?.backgroundOpacity??A.backgroundOpacity??.18,extendLeft:t?.extendLeft??A.extendLeft??!1,extendRight:t?.extendRight??A.extendRight??!1,point1Time:A.p1?.rawTime??0,point1Price:A.p1?.price??0,point2Time:A.p2?.rawTime??0,point4Price:A.p2?.price??0}}if(A.type==="andrewspitchfork")return{...e,medianColor:A.medianColor??"#a50000",medianWidth:A.medianWidth??1,showBackground:A.showBackground!==!1,backgroundOpacity:A.backgroundOpacity??.1,levels:A.levels??[{k:.25,label:"0.25",color:"#a06b00",width:1,enabled:!0},{k:.38,label:"0.38",color:"#699e00",width:1,enabled:!0},{k:.5,label:"0.50",color:"#009b00",width:1,enabled:!0},{k:.62,label:"0.62",color:"#009965",width:1,enabled:!0},{k:.75,label:"0.75",color:"#006599",width:1,enabled:!0},{k:1,label:"1.00",color:"#000099",width:1,enabled:!0},{k:1.5,label:"1.50",color:"#660099",width:1,enabled:!0},{k:1.75,label:"1.75",color:"#990066",width:1,enabled:!0},{k:2,label:"2.00",color:"#a50000",width:1,enabled:!0}],point1Time:A.p1?.rawTime??0,point2Time:A.p2?.rawTime??0,point3Time:A.p3?.rawTime??0,point1Price:A.p1?.price??0,point2Price:A.p2?.price??0,point3Price:A.p3?.price??0};if(A.type==="equidistantchannel")return{...e,strokeColor:A.strokeColor??"#8b5cf6",lineWidth:A.lineWidth??1,showMiddleLine:A.showMiddleLine??!1,middleLineColor:A.middleLineColor??"#8b5cf6",middleLineOpacity:A.middleLineOpacity??.5,middleLineWidth:A.middleLineWidth??1,showBackground:A.showBackground!==!1,backgroundColor:A.backgroundColor??"#b4a7d6",backgroundOpacity:A.backgroundOpacity??.1,rayLeft:A.rayLeft??!1,rayRight:A.rayRight??!1,point1Time:A.p1?.rawTime??0,point2Time:A.p2?.rawTime??0,point1Price:A.p1?.price??0,point2Price:A.p2?.price??0,point3Price:A.p3?.price??0};if(A.type==="regressionchannel"||A.type==="stddevchannel")return{...e,baseLineColor:A.baseLineColor??"#ff0000",baseLineOpacity:A.baseLineOpacity??.35,baseLineWidth:A.baseLineWidth??1,showBaseLine:A.showBaseLine!==!1,upperLineColor:A.upperLineColor??"#0000ff",upperLineOpacity:A.upperLineOpacity??.35,upperLineWidth:A.upperLineWidth??1,showUpperLine:A.showUpperLine!==!1,lowerLineColor:A.lowerLineColor??"#0000ff",lowerLineOpacity:A.lowerLineOpacity??.35,lowerLineWidth:A.lowerLineWidth??1,showLowerLine:A.showLowerLine!==!1,showBackground:A.showBackground!==!1,backgroundOpacity:A.backgroundOpacity??.1,extendLeft:A.extendLeft??!1,extendRight:A.extendRight??!1,showPearsonsR:A.showPearsonsR!==!1,point1Time:A.p1?.rawTime??0,point2Time:A.p2?.rawTime??0};if(A.type==="fibonacci"){const t=A.primitive,i=[{ratio:0,label:"0.00",color:"#808080",enabled:!0},{ratio:.236,label:"0.24",color:"#cc2828",enabled:!0},{ratio:.382,label:"0.38",color:"#95cc28",enabled:!0},{ratio:.5,label:"0.50",color:"#28cc28",enabled:!0},{ratio:.618,label:"0.62",color:"#28cc95",enabled:!0},{ratio:.786,label:"0.79",color:"#2895cc",enabled:!0},{ratio:1,label:"1.00",color:"#808080",enabled:!0},{ratio:1.618,label:"1.62",color:"#2828cc",enabled:!0},{ratio:2.618,label:"2.62",color:"#cc2828",enabled:!0},{ratio:3.618,label:"3.62",color:"#9528cc",enabled:!0},{ratio:4.236,label:"4.24",color:"#cc2895",enabled:!0}],r=A.levels??i.map(n=>({...n,color:t?._levelColors?.[n.ratio]??n.color}));return{...e,lineColor:A.lineColor??"#80aab0",lineWidth:A.lineWidth??2,diagonalWidth:A.diagonalWidth??1,extended:A.extended??!1,levels:r,showBackground:A.showBackground!==!1,backgroundOpacity:A.backgroundOpacity??.1,showLabels:A.showLabels!==!1,hAlign:A.hAlign??"left",vAlign:A.vAlign??"middle",showPrice:A.showPrice!==!1,reverse:A.reverse??!1,point1Time:A.p1?.rawTime??0,point1Price:A.p1?.price??0,point2Time:A.p2?.rawTime??0,point2Price:A.p2?.price??0}}return A.type==="rulerline"?{...e,lineColor:A.lineColor??"#3b82f6",showArea:A.showArea!==!1,statsColor:A.statsColor??"#5f8f96",statsPosition:A.statsPosition??"right",statsShowAlways:A.statsShowAlways!==!1,statsPriceRange:A.statsPriceRange!==!1,statsBarsRange:A.statsBarsRange!==!1,statsDateRange:A.statsDateRange!==!1,point1Price:A.p1?.price??0,point1Time:A.p1?.rawTime??0,point2Price:A.p2?.price??0,point2Time:A.p2?.rawTime??0}:e}const du=({isOpen:A,onClose:e,chartObject:t,onUpdate:i})=>{const{theme:r}=$t(),s=Dw(r==="light"),[o,l]=Y.useState("style"),[c,h]=Y.useState({}),[m,v]=Y.useState(null),T=Y.useRef(null),Q=Y.useRef(null);Y.useEffect(()=>{t&&(h(yB(t)),l("style"))},[t]),Y.useEffect(()=>{A||v(null)},[A]);const b=H=>{if(H.button!==0)return;H.preventDefault();const W=T.current;if(!W)return;const ee=W.getBoundingClientRect(),q=ee.left,ie=ee.top;Q.current={startMX:H.clientX,startMY:H.clientY,startX:q,startY:ie},v({x:q,y:ie});const $=ce=>{const{startMX:te,startMY:we,startX:j,startY:ge}=Q.current;v({x:j+ce.clientX-te,y:ge+ce.clientY-we})},se=()=>{Q.current=null,document.removeEventListener("mousemove",$),document.removeEventListener("mouseup",se)};document.addEventListener("mousemove",$),document.addEventListener("mouseup",se)};if(!A||!t)return null;const E=Iw[t.type]||t.type,I=["style","coordinates","visualization"],F=()=>{if(o==="visualization")return a.jsx(Gw,{draft:c,setDraft:h,tokens:s});if(t.type==="text"){if(o==="style")return a.jsx(Rw,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(Zw,{draft:c,setDraft:h,tokens:s})}if(t.type==="gannline"){if(o==="style")return a.jsx($w,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(FA,{draft:c,setDraft:h,tokens:s})}if(t.type==="fibonacci"){if(o==="style")return a.jsx(gB,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(mB,{draft:c,setDraft:h,tokens:s})}if(t.type==="trendline"){if(o==="style")return a.jsx(Zn,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(FA,{draft:c,setDraft:h,tokens:s})}if(t.type==="pricelevel"){if(o==="style")return a.jsx(hu,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(Yw,{draft:c,setDraft:h,tokens:s})}if(t.type==="horizontalray"){if(o==="style")return a.jsx(hu,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(qw,{draft:c,setDraft:h,tokens:s})}if(t.type==="verticalline"){if(o==="style")return a.jsx(jw,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(eB,{draft:c,tokens:s})}if(t.type==="infoline"){if(o==="style")return a.jsx(Jw,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(FA,{draft:c,setDraft:h,tokens:s})}if(t.type==="rulerline"){if(o==="style")return a.jsx(Xw,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(FA,{draft:c,setDraft:h,tokens:s})}if(t.type==="arrowedline"){if(o==="style")return a.jsx(Zn,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(FA,{draft:c,setDraft:h,tokens:s})}if(t.type==="rayline"){if(o==="style")return a.jsx(Zn,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(FA,{draft:c,setDraft:h,tokens:s})}if(t.type==="extendedline"){if(o==="style")return a.jsx(Zn,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(FA,{draft:c,setDraft:h,tokens:s})}if(t.type==="crossline"){if(o==="style")return a.jsx(AB,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(iB,{draft:c,setDraft:h,tokens:s})}if(t.type==="trendbyangle"){if(o==="style")return a.jsx(tB,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(FA,{draft:c,setDraft:h,tokens:s})}if(t.type==="disjointchannel"){if(o==="style")return a.jsx(uu,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(pu,{draft:c,setDraft:h,tokens:s})}if(t.type==="flattopbottom"){if(o==="style")return a.jsx(uu,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(pu,{draft:c,setDraft:h,tokens:s})}if(t.type==="gannfan"){if(o==="style")return a.jsx(aB,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(FA,{draft:c,setDraft:h,tokens:s})}if(t.type==="ganngrid"){if(o==="style")return a.jsx(lB,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(FA,{draft:c,setDraft:h,tokens:s})}if(t.type==="triangle"){if(o==="style")return a.jsx(pB,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(fB,{draft:c,setDraft:h,tokens:s})}if(t.type==="circle"){if(o==="style")return a.jsx(uB,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(FA,{draft:c,setDraft:h,tokens:s})}if(t.type==="ellipse"){if(o==="style")return a.jsx(dB,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(FA,{draft:c,setDraft:h,tokens:s})}if(t.type==="rectangle"){if(o==="style")return a.jsx(wB,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(BB,{draft:c,tokens:s})}if(t.type==="andrewspitchfork"){if(o==="style")return a.jsx(cB,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(hB,{draft:c,setDraft:h,tokens:s})}if(t.type==="equidistantchannel"){if(o==="style")return a.jsx(sB,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(oB,{draft:c,setDraft:h,tokens:s})}if(t.type==="regressionchannel"||t.type==="stddevchannel"){if(o==="style")return a.jsx(rB,{draft:c,setDraft:h,tokens:s});if(o==="coordinates")return a.jsx(nB,{draft:c,tokens:s})}return a.jsx("div",{style:{padding:"24px 16px",fontSize:12,color:s.mutedText},children:"Customization for this tool is not yet available."})},N=()=>{i(c),e()};return a.jsxs("div",{ref:T,style:{pointerEvents:"auto",position:"fixed",zIndex:99999,display:"flex",flexDirection:"column",overflow:"hidden",...m===null?{top:"50%",left:"50%",transform:"translate(-50%, -50%)"}:{top:m.y,left:m.x,transform:"none"},width:450,maxWidth:"calc(100vw - 24px)",maxHeight:"calc(100vh - 24px)",background:s.background,border:`1px solid ${s.border}`,borderTop:`2px solid ${s.headerBlue}`,boxShadow:"0 18px 40px rgba(0, 0, 0, 0.45)"},children:[a.jsxs("div",{style:{display:"flex",flexShrink:0},children:[a.jsx("div",{onMouseDown:b,style:{display:"flex",minHeight:40,flexGrow:1,alignItems:"center",justifyContent:"space-between",overflow:"hidden",padding:"0 16px",background:s.headerBlue,color:s.headerText,cursor:"grab"},children:a.jsxs("div",{style:{display:"inline-flex",alignItems:"center",gap:8},children:[a.jsx("span",{style:{maxWidth:320,overflow:"hidden",fontSize:14,textOverflow:"ellipsis",whiteSpace:"nowrap"},children:E}),a.jsx("button",{type:"button",style:{background:"transparent",border:"none",padding:0,color:"inherit",cursor:"pointer"},children:a.jsx(da,{size:"18px",children:a.jsx(_w,{})})})]})}),a.jsx("button",{type:"button",onClick:e,title:"Close",style:{display:"flex",alignItems:"center",justifyContent:"center",padding:"0 4px",background:s.headerBlue,color:s.headerText,border:"none",cursor:"pointer"},children:a.jsx(da,{size:"20px",children:a.jsx(kw,{})})})]}),a.jsx("div",{style:{display:"flex",flexShrink:0,overflowX:"auto",borderBottom:`1px solid ${s.border}`},children:I.map(H=>{const W=o===H;return a.jsxs("button",{type:"button",onClick:()=>l(H),style:{position:"relative",height:40,padding:"0 16px",fontSize:13,whiteSpace:"nowrap",border:"none",background:"transparent",color:W?s.text:s.mutedText,cursor:"pointer"},children:[H.charAt(0).toUpperCase()+H.slice(1),W&&a.jsx("span",{style:{position:"absolute",bottom:0,left:0,height:3,width:"100%",background:s.headerBlue}})]},H)})}),a.jsx("div",{style:{flex:1,overflow:"auto"},children:F()}),a.jsxs("div",{style:{display:"flex",flexShrink:0,flexDirection:"row-reverse",gap:8,borderTop:`1px solid ${s.border}`,padding:"8px 16px"},children:[a.jsx("button",{type:"button",onClick:N,style:{display:"inline-flex",height:36,alignItems:"center",justifyContent:"center",padding:"0 12px",fontSize:12,border:"none",cursor:"pointer",background:s.greenHover,color:"#ffffff",boxShadow:`inset 0 0 0 1px ${s.greenActive}`},children:"Update"}),a.jsx("button",{type:"button",onClick:e,style:{display:"inline-flex",height:36,alignItems:"center",justifyContent:"center",padding:"0 12px",fontSize:12,cursor:"pointer",border:`1px solid ${s.green}`,background:"transparent",color:s.green},children:"Cancel"})]})]})};var ga=function(A,e){return ga=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])},ga(A,e)};function _A(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");ga(A,e);function t(){this.constructor=A}A.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var ma=function(){return ma=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++){t=arguments[i];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},ma.apply(this,arguments)};function aA(A,e,t,i){function r(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function o(h){try{c(i.next(h))}catch(m){s(m)}}function l(h){try{c(i.throw(h))}catch(m){s(m)}}function c(h){h.done?n(h.value):r(h.value).then(o,l)}c((i=i.apply(A,[])).next())})}function iA(A,e){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,r,n,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(c){return function(h){return l([c,h])}}function l(c){if(i)throw new TypeError("Generator is already executing.");for(;t;)try{if(i=1,r&&(n=c[0]&2?r.return:c[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,c[1])).done)return n;switch(r=0,n&&(c=[c[0]&2,n.value]),c[0]){case 0:case 1:n=c;break;case 4:return t.label++,{value:c[1],done:!1};case 5:t.label++,r=c[1],c=[0];continue;case 7:c=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!n||c[1]>n[0]&&c[1]<n[3])){t.label=c[1];break}if(c[0]===6&&t.label<n[1]){t.label=n[1],n=c;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(c);break}n[2]&&t.ops.pop(),t.trys.pop();continue}c=e.call(A,t)}catch(h){c=[6,h],r=0}finally{i=n=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function Yn(A,e,t){if(arguments.length===2)for(var i=0,r=e.length,n;i<r;i++)(n||!(i in e))&&(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return A.concat(n||e)}for(var ii=(function(){function A(e,t,i,r){this.left=e,this.top=t,this.width=i,this.height=r}return A.prototype.add=function(e,t,i,r){return new A(this.left+e,this.top+t,this.width+i,this.height+r)},A.fromClientRect=function(e,t){return new A(t.left+e.windowBounds.left,t.top+e.windowBounds.top,t.width,t.height)},A.fromDOMRectList=function(e,t){var i=Array.from(t).find(function(r){return r.width!==0});return i?new A(i.left+e.windowBounds.left,i.top+e.windowBounds.top,i.width,i.height):A.EMPTY},A.EMPTY=new A(0,0,0,0),A})(),qn=function(A,e){return ii.fromClientRect(A,e.getBoundingClientRect())},CB=function(A){var e=A.body,t=A.documentElement;if(!e||!t)throw new Error("Unable to get document size");var i=Math.max(Math.max(e.scrollWidth,t.scrollWidth),Math.max(e.offsetWidth,t.offsetWidth),Math.max(e.clientWidth,t.clientWidth)),r=Math.max(Math.max(e.scrollHeight,t.scrollHeight),Math.max(e.offsetHeight,t.offsetHeight),Math.max(e.clientHeight,t.clientHeight));return new ii(0,0,i,r)},jn=function(A){for(var e=[],t=0,i=A.length;t<i;){var r=A.charCodeAt(t++);if(r>=55296&&r<=56319&&t<i){var n=A.charCodeAt(t++);(n&64512)===56320?e.push(((r&1023)<<10)+(n&1023)+65536):(e.push(r),t--)}else e.push(r)}return e},_t=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var i=[],r=-1,n="";++r<t;){var s=A[r];s<=65535?i.push(s):(s-=65536,i.push((s>>10)+55296,s%1024+56320)),(r+1===t||i.length>16384)&&(n+=String.fromCharCode.apply(String,i),i.length=0)}return n},fu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vB=typeof Uint8Array>"u"?[]:new Uint8Array(256),es=0;es<fu.length;es++)vB[fu.charCodeAt(es)]=es;for(var gu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Lr=typeof Uint8Array>"u"?[]:new Uint8Array(256),ts=0;ts<gu.length;ts++)Lr[gu.charCodeAt(ts)]=ts;for(var bB=function(A){var e=A.length*.75,t=A.length,i,r=0,n,s,o,l;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var c=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),h=Array.isArray(c)?c:new Uint8Array(c);for(i=0;i<t;i+=4)n=Lr[A.charCodeAt(i)],s=Lr[A.charCodeAt(i+1)],o=Lr[A.charCodeAt(i+2)],l=Lr[A.charCodeAt(i+3)],h[r++]=n<<2|s>>4,h[r++]=(s&15)<<4|o>>2,h[r++]=(o&3)<<6|l&63;return c},TB=function(A){for(var e=A.length,t=[],i=0;i<e;i+=2)t.push(A[i+1]<<8|A[i]);return t},xB=function(A){for(var e=A.length,t=[],i=0;i<e;i+=4)t.push(A[i+3]<<24|A[i+2]<<16|A[i+1]<<8|A[i]);return t},Pi=5,wa=11,Ba=2,FB=wa-Pi,mu=65536>>Pi,QB=1<<Pi,ya=QB-1,UB=1024>>Pi,SB=mu+UB,EB=SB,LB=32,MB=EB+LB,HB=65536>>wa,IB=1<<FB,PB=IB-1,wu=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},DB=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},_B=function(A,e){var t=bB(A),i=Array.isArray(t)?xB(t):new Uint32Array(t),r=Array.isArray(t)?TB(t):new Uint16Array(t),n=24,s=wu(r,n/2,i[4]/2),o=i[5]===2?wu(r,(n+i[4])/2):DB(i,Math.ceil((n+i[4])/4));return new kB(i[0],i[1],i[2],i[3],s,o)},kB=(function(){function A(e,t,i,r,n,s){this.initialValue=e,this.errorValue=t,this.highStart=i,this.highValueIndex=r,this.index=n,this.data=s}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>Pi],t=(t<<Ba)+(e&ya),this.data[t];if(e<=65535)return t=this.index[mu+(e-55296>>Pi)],t=(t<<Ba)+(e&ya),this.data[t];if(e<this.highStart)return t=MB-HB+(e>>wa),t=this.index[t],t+=e>>Pi&PB,t=this.index[t],t=(t<<Ba)+(e&ya),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A})(),Bu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",OB=typeof Uint8Array>"u"?[]:new Uint8Array(256),As=0;As<Bu.length;As++)OB[Bu.charCodeAt(As)]=As;var NB="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcs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ADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYM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SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgA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4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdA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4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVw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VwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAA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AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHg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4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACU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cAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",yu=50,KB=1,Cu=2,vu=3,zB=4,VB=5,bu=7,Tu=8,xu=9,fi=10,Ca=11,Fu=12,va=13,WB=14,Mr=15,ba=16,is=17,Hr=18,GB=19,Qu=20,Ta=21,Ir=22,xa=23,Zi=24,vA=25,Pr=26,Dr=27,Yi=28,RB=29,Di=30,$B=31,rs=32,ns=33,Fa=34,Qa=35,Ua=36,_r=37,Sa=38,ss=39,os=40,Ea=41,Uu=42,XB=43,JB=[9001,65288],Su="!",ot="×",as="÷",La=_B(NB),ri=[Di,Ua],Ma=[KB,Cu,vu,VB],Eu=[fi,Tu],Lu=[Dr,Pr],ZB=Ma.concat(Eu),Mu=[Sa,ss,os,Fa,Qa],YB=[Mr,va],qB=function(A,e){e===void 0&&(e="strict");var t=[],i=[],r=[];return A.forEach(function(n,s){var o=La.get(n);if(o>yu?(r.push(!0),o-=yu):r.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(n)!==-1)return i.push(s),t.push(ba);if(o===zB||o===Ca){if(s===0)return i.push(s),t.push(Di);var l=t[s-1];return ZB.indexOf(l)===-1?(i.push(i[s-1]),t.push(l)):(i.push(s),t.push(Di))}if(i.push(s),o===$B)return t.push(e==="strict"?Ta:_r);if(o===Uu||o===RB)return t.push(Di);if(o===XB)return n>=131072&&n<=196605||n>=196608&&n<=262141?t.push(_r):t.push(Di);t.push(o)}),[i,t,r]},Ha=function(A,e,t,i){var r=i[t];if(Array.isArray(A)?A.indexOf(r)!==-1:A===r)for(var n=t;n<=i.length;){n++;var s=i[n];if(s===e)return!0;if(s!==fi)break}if(r===fi)for(var n=t;n>0;){n--;var o=i[n];if(Array.isArray(A)?A.indexOf(o)!==-1:A===o)for(var l=t;l<=i.length;){l++;var s=i[l];if(s===e)return!0;if(s!==fi)break}if(o!==fi)break}return!1},Hu=function(A,e){for(var t=A;t>=0;){var i=e[t];if(i===fi)t--;else return i}return 0},jB=function(A,e,t,i,r){if(t[i]===0)return ot;var n=i-1;if(Array.isArray(r)&&r[n]===!0)return ot;var s=n-1,o=n+1,l=e[n],c=s>=0?e[s]:0,h=e[o];if(l===Cu&&h===vu)return ot;if(Ma.indexOf(l)!==-1)return Su;if(Ma.indexOf(h)!==-1||Eu.indexOf(h)!==-1)return ot;if(Hu(n,e)===Tu)return as;if(La.get(A[n])===Ca||(l===rs||l===ns)&&La.get(A[o])===Ca||l===bu||h===bu||l===xu||[fi,va,Mr].indexOf(l)===-1&&h===xu||[is,Hr,GB,Zi,Yi].indexOf(h)!==-1||Hu(n,e)===Ir||Ha(xa,Ir,n,e)||Ha([is,Hr],Ta,n,e)||Ha(Fu,Fu,n,e))return ot;if(l===fi)return as;if(l===xa||h===xa)return ot;if(h===ba||l===ba)return as;if([va,Mr,Ta].indexOf(h)!==-1||l===WB||c===Ua&&YB.indexOf(l)!==-1||l===Yi&&h===Ua||h===Qu||ri.indexOf(h)!==-1&&l===vA||ri.indexOf(l)!==-1&&h===vA||l===Dr&&[_r,rs,ns].indexOf(h)!==-1||[_r,rs,ns].indexOf(l)!==-1&&h===Pr||ri.indexOf(l)!==-1&&Lu.indexOf(h)!==-1||Lu.indexOf(l)!==-1&&ri.indexOf(h)!==-1||[Dr,Pr].indexOf(l)!==-1&&(h===vA||[Ir,Mr].indexOf(h)!==-1&&e[o+1]===vA)||[Ir,Mr].indexOf(l)!==-1&&h===vA||l===vA&&[vA,Yi,Zi].indexOf(h)!==-1)return ot;if([vA,Yi,Zi,is,Hr].indexOf(h)!==-1)for(var m=n;m>=0;){var v=e[m];if(v===vA)return ot;if([Yi,Zi].indexOf(v)!==-1)m--;else break}if([Dr,Pr].indexOf(h)!==-1)for(var m=[is,Hr].indexOf(l)!==-1?s:n;m>=0;){var v=e[m];if(v===vA)return ot;if([Yi,Zi].indexOf(v)!==-1)m--;else break}if(Sa===l&&[Sa,ss,Fa,Qa].indexOf(h)!==-1||[ss,Fa].indexOf(l)!==-1&&[ss,os].indexOf(h)!==-1||[os,Qa].indexOf(l)!==-1&&h===os||Mu.indexOf(l)!==-1&&[Qu,Pr].indexOf(h)!==-1||Mu.indexOf(h)!==-1&&l===Dr||ri.indexOf(l)!==-1&&ri.indexOf(h)!==-1||l===Zi&&ri.indexOf(h)!==-1||ri.concat(vA).indexOf(l)!==-1&&h===Ir&&JB.indexOf(A[o])===-1||ri.concat(vA).indexOf(h)!==-1&&l===Hr)return ot;if(l===Ea&&h===Ea){for(var T=t[n],Q=1;T>0&&(T--,e[T]===Ea);)Q++;if(Q%2!==0)return ot}return l===rs&&h===ns?ot:as},ey=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=qB(A,e.lineBreak),i=t[0],r=t[1],n=t[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(r=r.map(function(o){return[vA,Di,Uu].indexOf(o)!==-1?_r:o}));var s=e.wordBreak==="keep-all"?n.map(function(o,l){return o&&A[l]>=19968&&A[l]<=40959}):void 0;return[i,r,s]},ty=(function(){function A(e,t,i,r){this.codePoints=e,this.required=t===Su,this.start=i,this.end=r}return A.prototype.slice=function(){return _t.apply(void 0,this.codePoints.slice(this.start,this.end))},A})(),Ay=function(A,e){var t=jn(A),i=ey(t,e),r=i[0],n=i[1],s=i[2],o=t.length,l=0,c=0;return{next:function(){if(c>=o)return{done:!0,value:null};for(var h=ot;c<o&&(h=jB(t,n,r,++c,s))===ot;);if(h!==ot||c===o){var m=new ty(t,h,l,c);return l=c,{value:m,done:!1}}return{done:!0,value:null}}}},iy=1,ry=2,kr=4,Iu=8,ls=10,Pu=47,Or=92,ny=9,sy=32,cs=34,Nr=61,oy=35,ay=36,ly=37,hs=39,us=40,Kr=41,cy=95,fA=45,hy=33,uy=60,py=62,dy=64,fy=91,gy=93,my=61,wy=123,ps=63,By=125,Du=124,yy=126,Cy=128,_u=65533,Ia=42,_i=43,vy=44,by=58,Ty=59,zr=46,xy=0,Fy=8,Qy=11,Uy=14,Sy=31,Ey=127,$A=-1,ku=48,Ou=97,Nu=101,Ly=102,My=117,Hy=122,Ku=65,zu=69,Vu=70,Iy=85,Py=90,rA=function(A){return A>=ku&&A<=57},Dy=function(A){return A>=55296&&A<=57343},qi=function(A){return rA(A)||A>=Ku&&A<=Vu||A>=Ou&&A<=Ly},_y=function(A){return A>=Ou&&A<=Hy},ky=function(A){return A>=Ku&&A<=Py},Oy=function(A){return _y(A)||ky(A)},Ny=function(A){return A>=Cy},ds=function(A){return A===ls||A===ny||A===sy},fs=function(A){return Oy(A)||Ny(A)||A===cy},Wu=function(A){return fs(A)||rA(A)||A===fA},Ky=function(A){return A>=xy&&A<=Fy||A===Qy||A>=Uy&&A<=Sy||A===Ey},gi=function(A,e){return A!==Or?!1:e!==ls},gs=function(A,e,t){return A===fA?fs(e)||gi(e,t):fs(A)?!0:!!(A===Or&&gi(A,e))},Pa=function(A,e,t){return A===_i||A===fA?rA(e)?!0:e===zr&&rA(t):rA(A===zr?e:A)},zy=function(A){var e=0,t=1;(A[e]===_i||A[e]===fA)&&(A[e]===fA&&(t=-1),e++);for(var i=[];rA(A[e]);)i.push(A[e++]);var r=i.length?parseInt(_t.apply(void 0,i),10):0;A[e]===zr&&e++;for(var n=[];rA(A[e]);)n.push(A[e++]);var s=n.length,o=s?parseInt(_t.apply(void 0,n),10):0;(A[e]===zu||A[e]===Nu)&&e++;var l=1;(A[e]===_i||A[e]===fA)&&(A[e]===fA&&(l=-1),e++);for(var c=[];rA(A[e]);)c.push(A[e++]);var h=c.length?parseInt(_t.apply(void 0,c),10):0;return t*(r+o*Math.pow(10,-s))*Math.pow(10,l*h)},Vy={type:2},Wy={type:3},Gy={type:4},Ry={type:13},$y={type:8},Xy={type:21},Jy={type:9},Zy={type:10},Yy={type:11},qy={type:12},jy={type:14},ms={type:23},e2={type:1},t2={type:25},A2={type:24},i2={type:26},r2={type:27},n2={type:28},s2={type:29},o2={type:31},Da={type:32},Gu=(function(){function A(){this._value=[]}return A.prototype.write=function(e){this._value=this._value.concat(jn(e))},A.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==Da;)e.push(t),t=this.consumeToken();return e},A.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case cs:return this.consumeStringToken(cs);case oy:var t=this.peekCodePoint(0),i=this.peekCodePoint(1),r=this.peekCodePoint(2);if(Wu(t)||gi(i,r)){var n=gs(t,i,r)?ry:iy,s=this.consumeName();return{type:5,value:s,flags:n}}break;case ay:if(this.peekCodePoint(0)===Nr)return this.consumeCodePoint(),Ry;break;case hs:return this.consumeStringToken(hs);case us:return Vy;case Kr:return Wy;case Ia:if(this.peekCodePoint(0)===Nr)return this.consumeCodePoint(),jy;break;case _i:if(Pa(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case vy:return Gy;case fA:var o=e,l=this.peekCodePoint(0),c=this.peekCodePoint(1);if(Pa(o,l,c))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(gs(o,l,c))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(l===fA&&c===py)return this.consumeCodePoint(),this.consumeCodePoint(),A2;break;case zr:if(Pa(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case Pu:if(this.peekCodePoint(0)===Ia)for(this.consumeCodePoint();;){var h=this.consumeCodePoint();if(h===Ia&&(h=this.consumeCodePoint(),h===Pu))return this.consumeToken();if(h===$A)return this.consumeToken()}break;case by:return i2;case Ty:return r2;case uy:if(this.peekCodePoint(0)===hy&&this.peekCodePoint(1)===fA&&this.peekCodePoint(2)===fA)return this.consumeCodePoint(),this.consumeCodePoint(),t2;break;case dy:var m=this.peekCodePoint(0),v=this.peekCodePoint(1),T=this.peekCodePoint(2);if(gs(m,v,T)){var s=this.consumeName();return{type:7,value:s}}break;case fy:return n2;case Or:if(gi(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case gy:return s2;case my:if(this.peekCodePoint(0)===Nr)return this.consumeCodePoint(),$y;break;case wy:return Yy;case By:return qy;case My:case Iy:var Q=this.peekCodePoint(0),b=this.peekCodePoint(1);return Q===_i&&(qi(b)||b===ps)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case Du:if(this.peekCodePoint(0)===Nr)return this.consumeCodePoint(),Jy;if(this.peekCodePoint(0)===Du)return this.consumeCodePoint(),Xy;break;case yy:if(this.peekCodePoint(0)===Nr)return this.consumeCodePoint(),Zy;break;case $A:return Da}return ds(e)?(this.consumeWhiteSpace(),o2):rA(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):fs(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:_t(e)}},A.prototype.consumeCodePoint=function(){var e=this._value.shift();return typeof e>"u"?-1:e},A.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},A.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},A.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();qi(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var i=!1;t===ps&&e.length<6;)e.push(t),t=this.consumeCodePoint(),i=!0;if(i){var r=parseInt(_t.apply(void 0,e.map(function(l){return l===ps?ku:l})),16),n=parseInt(_t.apply(void 0,e.map(function(l){return l===ps?Vu:l})),16);return{type:30,start:r,end:n}}var s=parseInt(_t.apply(void 0,e),16);if(this.peekCodePoint(0)===fA&&qi(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var o=[];qi(t)&&o.length<6;)o.push(t),t=this.consumeCodePoint();var n=parseInt(_t.apply(void 0,o),16);return{type:30,start:s,end:n}}else return{type:30,start:s,end:s}},A.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===us?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===us?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},A.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===$A)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===hs||t===cs){var i=this.consumeStringToken(this.consumeCodePoint());return i.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===$A||this.peekCodePoint(0)===Kr)?(this.consumeCodePoint(),{type:22,value:i.value}):(this.consumeBadUrlRemnants(),ms)}for(;;){var r=this.consumeCodePoint();if(r===$A||r===Kr)return{type:22,value:_t.apply(void 0,e)};if(ds(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===$A||this.peekCodePoint(0)===Kr?(this.consumeCodePoint(),{type:22,value:_t.apply(void 0,e)}):(this.consumeBadUrlRemnants(),ms);if(r===cs||r===hs||r===us||Ky(r))return this.consumeBadUrlRemnants(),ms;if(r===Or)if(gi(r,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ms;else e.push(r)}},A.prototype.consumeWhiteSpace=function(){for(;ds(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===Kr||e===$A)return;gi(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(e){for(var t=5e4,i="";e>0;){var r=Math.min(t,e);i+=_t.apply(void 0,this._value.splice(0,r)),e-=r}return this._value.shift(),i},A.prototype.consumeStringToken=function(e){var t="",i=0;do{var r=this._value[i];if(r===$A||r===void 0||r===e)return t+=this.consumeStringSlice(i),{type:0,value:t};if(r===ls)return this._value.splice(0,i),e2;if(r===Or){var n=this._value[i+1];n!==$A&&n!==void 0&&(n===ls?(t+=this.consumeStringSlice(i),i=-1,this._value.shift()):gi(r,n)&&(t+=this.consumeStringSlice(i),t+=_t(this.consumeEscapedCodePoint()),i=-1))}i++}while(!0)},A.prototype.consumeNumber=function(){var e=[],t=kr,i=this.peekCodePoint(0);for((i===_i||i===fA)&&e.push(this.consumeCodePoint());rA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());i=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(i===zr&&rA(r))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Iu;rA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());i=this.peekCodePoint(0),r=this.peekCodePoint(1);var n=this.peekCodePoint(2);if((i===zu||i===Nu)&&((r===_i||r===fA)&&rA(n)||rA(r)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Iu;rA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[zy(e),t]},A.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],i=e[1],r=this.peekCodePoint(0),n=this.peekCodePoint(1),s=this.peekCodePoint(2);if(gs(r,n,s)){var o=this.consumeName();return{type:15,number:t,flags:i,unit:o}}return r===ly?(this.consumeCodePoint(),{type:16,number:t,flags:i}):{type:17,number:t,flags:i}},A.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(qi(e)){for(var t=_t(e);qi(this.peekCodePoint(0))&&t.length<6;)t+=_t(this.consumeCodePoint());ds(this.peekCodePoint(0))&&this.consumeCodePoint();var i=parseInt(t,16);return i===0||Dy(i)||i>1114111?_u:i}return e===$A?_u:e},A.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(Wu(t))e+=_t(t);else if(gi(t,this.peekCodePoint(0)))e+=_t(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),e}},A})(),Ru=(function(){function A(e){this._tokens=e}return A.create=function(e){var t=new Gu;return t.write(e),new A(t.read())},A.parseValue=function(e){return A.create(e).parseComponentValue()},A.parseValues=function(e){return A.create(e).parseComponentValues()},A.prototype.parseComponentValue=function(){for(var e=this.consumeToken();e.type===31;)e=this.consumeToken();if(e.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do e=this.consumeToken();while(e.type===31);if(e.type===32)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(t.type===32)return e;e.push(t),e.push()}},A.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},A.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},i=this.consumeToken();;){if(i.type===32||l2(i,e))return t;this.reconsumeToken(i),t.values.push(this.consumeComponentValue()),i=this.consumeToken()}},A.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var i=this.consumeToken();if(i.type===32||i.type===3)return t;this.reconsumeToken(i),t.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var e=this._tokens.shift();return typeof e>"u"?Da:e},A.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},A})(),Vr=function(A){return A.type===15},ji=function(A){return A.type===17},vt=function(A){return A.type===20},a2=function(A){return A.type===0},_a=function(A,e){return vt(A)&&A.value===e},$u=function(A){return A.type!==31},er=function(A){return A.type!==31&&A.type!==4},XA=function(A){var e=[],t=[];return A.forEach(function(i){if(i.type===4){if(t.length===0)throw new Error("Error parsing function args, zero tokens for arg");e.push(t),t=[];return}i.type!==31&&t.push(i)}),t.length&&e.push(t),e},l2=function(A,e){return e===11&&A.type===12||e===28&&A.type===29?!0:e===2&&A.type===3},mi=function(A){return A.type===17||A.type===15},Kt=function(A){return A.type===16||mi(A)},Xu=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},Xt={type:17,number:0,flags:kr},ka={type:16,number:50,flags:kr},wi={type:16,number:100,flags:kr},Wr=function(A,e,t){var i=A[0],r=A[1];return[Qt(i,e),Qt(typeof r<"u"?r:i,t)]},Qt=function(A,e){if(A.type===16)return A.number/100*e;if(Vr(A))switch(A.unit){case"rem":case"em":return 16*A.number;default:return A.number}return A.number},Ju="deg",Zu="grad",Yu="rad",qu="turn",ws={name:"angle",parse:function(A,e){if(e.type===15)switch(e.unit){case Ju:return Math.PI*e.number/180;case Zu:return Math.PI/200*e.number;case Yu:return e.number;case qu:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},ju=function(A){return A.type===15&&(A.unit===Ju||A.unit===Zu||A.unit===Yu||A.unit===qu)},ep=function(A){var e=A.filter(vt).map(function(t){return t.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Xt,Xt];case"to top":case"bottom":return QA(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Xt,wi];case"to right":case"left":return QA(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[wi,wi];case"to bottom":case"top":return QA(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[wi,Xt];case"to left":case"right":return QA(270)}return 0},QA=function(A){return Math.PI*A/180},Bi={name:"color",parse:function(A,e){if(e.type===18){var t=c2[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(e.type===5){if(e.value.length===3){var i=e.value.substring(0,1),r=e.value.substring(1,2),n=e.value.substring(2,3);return Ci(parseInt(i+i,16),parseInt(r+r,16),parseInt(n+n,16),1)}if(e.value.length===4){var i=e.value.substring(0,1),r=e.value.substring(1,2),n=e.value.substring(2,3),s=e.value.substring(3,4);return Ci(parseInt(i+i,16),parseInt(r+r,16),parseInt(n+n,16),parseInt(s+s,16)/255)}if(e.value.length===6){var i=e.value.substring(0,2),r=e.value.substring(2,4),n=e.value.substring(4,6);return Ci(parseInt(i,16),parseInt(r,16),parseInt(n,16),1)}if(e.value.length===8){var i=e.value.substring(0,2),r=e.value.substring(2,4),n=e.value.substring(4,6),s=e.value.substring(6,8);return Ci(parseInt(i,16),parseInt(r,16),parseInt(n,16),parseInt(s,16)/255)}}if(e.type===20){var o=ni[e.value.toUpperCase()];if(typeof o<"u")return o}return ni.TRANSPARENT}},yi=function(A){return(255&A)===0},Wt=function(A){var e=255&A,t=255&A>>8,i=255&A>>16,r=255&A>>24;return e<255?"rgba("+r+","+i+","+t+","+e/255+")":"rgb("+r+","+i+","+t+")"},Ci=function(A,e,t,i){return(A<<24|e<<16|t<<8|Math.round(i*255)<<0)>>>0},tp=function(A,e){if(A.type===17)return A.number;if(A.type===16){var t=e===3?1:255;return e===3?A.number/100*t:Math.round(A.number/100*t)}return 0},Ap=function(A,e){var t=e.filter(er);if(t.length===3){var i=t.map(tp),r=i[0],n=i[1],s=i[2];return Ci(r,n,s,1)}if(t.length===4){var o=t.map(tp),r=o[0],n=o[1],s=o[2],l=o[3];return Ci(r,n,s,l)}return 0};function Oa(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<1/2?e:t<2/3?(e-A)*6*(2/3-t)+A:A}var ip=function(A,e){var t=e.filter(er),i=t[0],r=t[1],n=t[2],s=t[3],o=(i.type===17?QA(i.number):ws.parse(A,i))/(Math.PI*2),l=Kt(r)?r.number/100:0,c=Kt(n)?n.number/100:0,h=typeof s<"u"&&Kt(s)?Qt(s,1):1;if(l===0)return Ci(c*255,c*255,c*255,1);var m=c<=.5?c*(l+1):c+l-c*l,v=c*2-m,T=Oa(v,m,o+1/3),Q=Oa(v,m,o),b=Oa(v,m,o-1/3);return Ci(T*255,Q*255,b*255,h)},c2={hsl:ip,hsla:ip,rgb:Ap,rgba:Ap},Gr=function(A,e){return Bi.parse(A,Ru.create(e).parseComponentValue())},ni={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},h2={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(vt(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},u2={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Bs=function(A,e){var t=Bi.parse(A,e[0]),i=e[1];return i&&Kt(i)?{color:t,stop:i}:{color:t,stop:null}},rp=function(A,e){var t=A[0],i=A[A.length-1];t.stop===null&&(t.stop=Xt),i.stop===null&&(i.stop=wi);for(var r=[],n=0,s=0;s<A.length;s++){var o=A[s].stop;if(o!==null){var l=Qt(o,e);l>n?r.push(l):r.push(n),n=l}else r.push(null)}for(var c=null,s=0;s<r.length;s++){var h=r[s];if(h===null)c===null&&(c=s);else if(c!==null){for(var m=s-c,v=r[c-1],T=(h-v)/(m+1),Q=1;Q<=m;Q++)r[c+Q-1]=T*Q;c=null}}return A.map(function(b,E){var I=b.color;return{color:I,stop:Math.max(Math.min(1,r[E]/e),0)}})},p2=function(A,e,t){var i=e/2,r=t/2,n=Qt(A[0],e)-i,s=r-Qt(A[1],t);return(Math.atan2(s,n)+Math.PI*2)%(Math.PI*2)},d2=function(A,e,t){var i=typeof A=="number"?A:p2(A,e,t),r=Math.abs(e*Math.sin(i))+Math.abs(t*Math.cos(i)),n=e/2,s=t/2,o=r/2,l=Math.sin(i-Math.PI/2)*o,c=Math.cos(i-Math.PI/2)*o;return[r,n-c,n+c,s-l,s+l]},kA=function(A,e){return Math.sqrt(A*A+e*e)},np=function(A,e,t,i,r){var n=[[0,0],[0,e],[A,0],[A,e]];return n.reduce(function(s,o){var l=o[0],c=o[1],h=kA(t-l,i-c);return(r?h<s.optimumDistance:h>s.optimumDistance)?{optimumCorner:o,optimumDistance:h}:s},{optimumDistance:r?1/0:-1/0,optimumCorner:null}).optimumCorner},f2=function(A,e,t,i,r){var n=0,s=0;switch(A.size){case 0:A.shape===0?n=s=Math.min(Math.abs(e),Math.abs(e-i),Math.abs(t),Math.abs(t-r)):A.shape===1&&(n=Math.min(Math.abs(e),Math.abs(e-i)),s=Math.min(Math.abs(t),Math.abs(t-r)));break;case 2:if(A.shape===0)n=s=Math.min(kA(e,t),kA(e,t-r),kA(e-i,t),kA(e-i,t-r));else if(A.shape===1){var o=Math.min(Math.abs(t),Math.abs(t-r))/Math.min(Math.abs(e),Math.abs(e-i)),l=np(i,r,e,t,!0),c=l[0],h=l[1];n=kA(c-e,(h-t)/o),s=o*n}break;case 1:A.shape===0?n=s=Math.max(Math.abs(e),Math.abs(e-i),Math.abs(t),Math.abs(t-r)):A.shape===1&&(n=Math.max(Math.abs(e),Math.abs(e-i)),s=Math.max(Math.abs(t),Math.abs(t-r)));break;case 3:if(A.shape===0)n=s=Math.max(kA(e,t),kA(e,t-r),kA(e-i,t),kA(e-i,t-r));else if(A.shape===1){var o=Math.max(Math.abs(t),Math.abs(t-r))/Math.max(Math.abs(e),Math.abs(e-i)),m=np(i,r,e,t,!1),c=m[0],h=m[1];n=kA(c-e,(h-t)/o),s=o*n}break}return Array.isArray(A.size)&&(n=Qt(A.size[0],i),s=A.size.length===2?Qt(A.size[1],r):n),[n,s]},g2=function(A,e){var t=QA(180),i=[];return XA(e).forEach(function(r,n){if(n===0){var s=r[0];if(s.type===20&&s.value==="to"){t=ep(r);return}else if(ju(s)){t=ws.parse(A,s);return}}var o=Bs(A,r);i.push(o)}),{angle:t,stops:i,type:1}},ys=function(A,e){var t=QA(180),i=[];return XA(e).forEach(function(r,n){if(n===0){var s=r[0];if(s.type===20&&["top","left","right","bottom"].indexOf(s.value)!==-1){t=ep(r);return}else if(ju(s)){t=(ws.parse(A,s)+QA(270))%QA(360);return}}var o=Bs(A,r);i.push(o)}),{angle:t,stops:i,type:1}},m2=function(A,e){var t=QA(180),i=[],r=1,n=0,s=3,o=[];return XA(e).forEach(function(l,c){var h=l[0];if(c===0){if(vt(h)&&h.value==="linear"){r=1;return}else if(vt(h)&&h.value==="radial"){r=2;return}}if(h.type===18){if(h.name==="from"){var m=Bi.parse(A,h.values[0]);i.push({stop:Xt,color:m})}else if(h.name==="to"){var m=Bi.parse(A,h.values[0]);i.push({stop:wi,color:m})}else if(h.name==="color-stop"){var v=h.values.filter(er);if(v.length===2){var m=Bi.parse(A,v[1]),T=v[0];ji(T)&&i.push({stop:{type:16,number:T.number*100,flags:T.flags},color:m})}}}}),r===1?{angle:(t+QA(180))%QA(360),stops:i,type:r}:{size:s,shape:n,stops:i,position:o,type:r}},sp="closest-side",op="farthest-side",ap="closest-corner",lp="farthest-corner",cp="circle",hp="ellipse",up="cover",pp="contain",w2=function(A,e){var t=0,i=3,r=[],n=[];return XA(e).forEach(function(s,o){var l=!0;if(o===0){var c=!1;l=s.reduce(function(m,v){if(c)if(vt(v))switch(v.value){case"center":return n.push(ka),m;case"top":case"left":return n.push(Xt),m;case"right":case"bottom":return n.push(wi),m}else(Kt(v)||mi(v))&&n.push(v);else if(vt(v))switch(v.value){case cp:return t=0,!1;case hp:return t=1,!1;case"at":return c=!0,!1;case sp:return i=0,!1;case up:case op:return i=1,!1;case pp:case ap:return i=2,!1;case lp:return i=3,!1}else if(mi(v)||Kt(v))return Array.isArray(i)||(i=[]),i.push(v),!1;return m},l)}if(l){var h=Bs(A,s);r.push(h)}}),{size:i,shape:t,stops:r,position:n,type:2}},Cs=function(A,e){var t=0,i=3,r=[],n=[];return XA(e).forEach(function(s,o){var l=!0;if(o===0?l=s.reduce(function(h,m){if(vt(m))switch(m.value){case"center":return n.push(ka),!1;case"top":case"left":return n.push(Xt),!1;case"right":case"bottom":return n.push(wi),!1}else if(Kt(m)||mi(m))return n.push(m),!1;return h},l):o===1&&(l=s.reduce(function(h,m){if(vt(m))switch(m.value){case cp:return t=0,!1;case hp:return t=1,!1;case pp:case sp:return i=0,!1;case op:return i=1,!1;case ap:return i=2,!1;case up:case lp:return i=3,!1}else if(mi(m)||Kt(m))return Array.isArray(i)||(i=[]),i.push(m),!1;return h},l)),l){var c=Bs(A,s);r.push(c)}}),{size:i,shape:t,stops:r,position:n,type:2}},B2=function(A){return A.type===1},y2=function(A){return A.type===2},Na={name:"image",parse:function(A,e){if(e.type===22){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(e.type===18){var i=dp[e.name];if(typeof i>"u")throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return i(A,e.values)}throw new Error("Unsupported image type "+e.type)}};function C2(A){return!(A.type===20&&A.value==="none")&&(A.type!==18||!!dp[A.name])}var dp={"linear-gradient":g2,"-moz-linear-gradient":ys,"-ms-linear-gradient":ys,"-o-linear-gradient":ys,"-webkit-linear-gradient":ys,"radial-gradient":w2,"-moz-radial-gradient":Cs,"-ms-radial-gradient":Cs,"-o-radial-gradient":Cs,"-webkit-radial-gradient":Cs,"-webkit-gradient":m2},v2={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e.filter(function(i){return er(i)&&C2(i)}).map(function(i){return Na.parse(A,i)})}},b2={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(vt(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},T2={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return XA(e).map(function(t){return t.filter(Kt)}).map(Xu)}},x2={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return XA(e).map(function(t){return t.filter(vt).map(function(i){return i.value}).join(" ")}).map(F2)}},F2=function(A){switch(A){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}},tr;(function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"})(tr||(tr={}));var Q2={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return XA(e).map(function(t){return t.filter(U2)})}},U2=function(A){return vt(A)||Kt(A)},vs=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},S2=vs("top"),E2=vs("right"),L2=vs("bottom"),M2=vs("left"),bs=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return Xu(t.filter(Kt))}}},H2=bs("top-left"),I2=bs("top-right"),P2=bs("bottom-right"),D2=bs("bottom-left"),Ts=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},_2=Ts("top"),k2=Ts("right"),O2=Ts("bottom"),N2=Ts("left"),xs=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Vr(t)?t.number:0}}},K2=xs("top"),z2=xs("right"),V2=xs("bottom"),W2=xs("left"),G2={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},R2={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){return e==="rtl"?1:0}},$2={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(vt).reduce(function(t,i){return t|X2(i.value)},0)}},X2=function(A){switch(A){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},J2={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Z2={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return e.type===20&&e.value==="normal"?0:e.type===17||e.type===15?e.number:0}},Fs;(function(A){A.NORMAL="normal",A.STRICT="strict"})(Fs||(Fs={}));var Y2={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){return e==="strict"?Fs.STRICT:Fs.NORMAL}},q2={name:"line-height",initialValue:"normal",prefix:!1,type:4},fp=function(A,e){return vt(A)&&A.value==="normal"?1.2*e:A.type===17?e*A.number:Kt(A)?Qt(A,e):e},j2={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return e.type===20&&e.value==="none"?null:Na.parse(A,e)}},eC={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,e){return e==="inside"?0:1}},Ka={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){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;default:return-1}}},Qs=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},tC=Qs("top"),AC=Qs("right"),iC=Qs("bottom"),rC=Qs("left"),nC={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(vt).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},sC={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){return e==="break-word"?"break-word":"normal"}},Us=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},oC=Us("top"),aC=Us("right"),lC=Us("bottom"),cC=Us("left"),hC={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,e){switch(e){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},uC={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},pC={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&_a(e[0],"none")?[]:XA(e).map(function(t){for(var i={color:ni.TRANSPARENT,offsetX:Xt,offsetY:Xt,blur:Xt},r=0,n=0;n<t.length;n++){var s=t[n];mi(s)?(r===0?i.offsetX=s:r===1?i.offsetY=s:i.blur=s,r++):i.color=Bi.parse(A,s)}return i})}},dC={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},fC={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(A,e){if(e.type===20&&e.value==="none")return null;if(e.type===18){var t=wC[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},gC=function(A){var e=A.filter(function(t){return t.type===17}).map(function(t){return t.number});return e.length===6?e:null},mC=function(A){var e=A.filter(function(l){return l.type===17}).map(function(l){return l.number}),t=e[0],i=e[1];e[2],e[3];var r=e[4],n=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var s=e[12],o=e[13];return e[14],e[15],e.length===16?[t,i,r,n,s,o]:null},wC={matrix:gC,matrix3d:mC},gp={type:16,number:50,flags:kr},BC=[gp,gp],yC={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter(Kt);return t.length!==2?BC:[t[0],t[1]]}},CC={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"hidden":return 1;case"collapse":return 2;default:return 0}}},Rr;(function(A){A.NORMAL="normal",A.BREAK_ALL="break-all",A.KEEP_ALL="keep-all"})(Rr||(Rr={}));for(var vC={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return Rr.BREAK_ALL;case"keep-all":return Rr.KEEP_ALL;default:return Rr.NORMAL}}},bC={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(e.type===20)return{auto:!0,order:0};if(ji(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},mp={name:"time",parse:function(A,e){if(e.type===15)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},TC={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return ji(e)?e.number:1}},xC={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},FC={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(vt).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return t!==0})}},QC={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,e){var t=[],i=[];return e.forEach(function(r){switch(r.type){case 20:case 0:t.push(r.value);break;case 17:t.push(r.number.toString());break;case 4:i.push(t.join(" ")),t.length=0;break}}),t.length&&i.push(t.join(" ")),i.map(function(r){return r.indexOf(" ")===-1?r:"'"+r+"'"})}},UC={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},SC={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){return ji(e)?e.number:vt(e)&&e.value==="bold"?700:400}},EC={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(vt).map(function(t){return t.value})}},LC={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},zt=function(A,e){return(A&e)!==0},MC={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e}},HC={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;for(var i=[],r=e.filter($u),n=0;n<r.length;n++){var s=r[n],o=r[n+1];if(s.type===20){var l=o&&ji(o)?o.number:1;i.push({counter:s.value,increment:l})}}return i}},IC={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return[];for(var t=[],i=e.filter($u),r=0;r<i.length;r++){var n=i[r],s=i[r+1];if(vt(n)&&n.value!=="none"){var o=s&&ji(s)?s.number:0;t.push({counter:n.value,reset:o})}}return t}},PC={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(A,e){return e.filter(Vr).map(function(t){return mp.parse(A,t)})}},DC={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;var i=[],r=e.filter(a2);if(r.length%2!==0)return null;for(var n=0;n<r.length;n+=2){var s=r[n].value,o=r[n+1].value;i.push({open:s,close:o})}return i}},wp=function(A,e,t){if(!A)return"";var i=A[Math.min(e,A.length-1)];return i?t?i.open:i.close:""},_C={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&_a(e[0],"none")?[]:XA(e).map(function(t){for(var i={color:255,offsetX:Xt,offsetY:Xt,blur:Xt,spread:Xt,inset:!1},r=0,n=0;n<t.length;n++){var s=t[n];_a(s,"inset")?i.inset=!0:mi(s)?(r===0?i.offsetX=s:r===1?i.offsetY=s:r===2?i.blur=s:i.spread=s,r++):i.color=Bi.parse(A,s)}return i})}},kC={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(A,e){var t=[0,1,2],i=[];return e.filter(vt).forEach(function(r){switch(r.value){case"stroke":i.push(1);break;case"fill":i.push(0);break;case"markers":i.push(2);break}}),t.forEach(function(r){i.indexOf(r)===-1&&i.push(r)}),i}},OC={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},NC={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return Vr(e)?e.number:0}},KC=(function(){function A(e,t){var i,r;this.animationDuration=Ke(e,PC,t.animationDuration),this.backgroundClip=Ke(e,h2,t.backgroundClip),this.backgroundColor=Ke(e,u2,t.backgroundColor),this.backgroundImage=Ke(e,v2,t.backgroundImage),this.backgroundOrigin=Ke(e,b2,t.backgroundOrigin),this.backgroundPosition=Ke(e,T2,t.backgroundPosition),this.backgroundRepeat=Ke(e,x2,t.backgroundRepeat),this.backgroundSize=Ke(e,Q2,t.backgroundSize),this.borderTopColor=Ke(e,S2,t.borderTopColor),this.borderRightColor=Ke(e,E2,t.borderRightColor),this.borderBottomColor=Ke(e,L2,t.borderBottomColor),this.borderLeftColor=Ke(e,M2,t.borderLeftColor),this.borderTopLeftRadius=Ke(e,H2,t.borderTopLeftRadius),this.borderTopRightRadius=Ke(e,I2,t.borderTopRightRadius),this.borderBottomRightRadius=Ke(e,P2,t.borderBottomRightRadius),this.borderBottomLeftRadius=Ke(e,D2,t.borderBottomLeftRadius),this.borderTopStyle=Ke(e,_2,t.borderTopStyle),this.borderRightStyle=Ke(e,k2,t.borderRightStyle),this.borderBottomStyle=Ke(e,O2,t.borderBottomStyle),this.borderLeftStyle=Ke(e,N2,t.borderLeftStyle),this.borderTopWidth=Ke(e,K2,t.borderTopWidth),this.borderRightWidth=Ke(e,z2,t.borderRightWidth),this.borderBottomWidth=Ke(e,V2,t.borderBottomWidth),this.borderLeftWidth=Ke(e,W2,t.borderLeftWidth),this.boxShadow=Ke(e,_C,t.boxShadow),this.color=Ke(e,G2,t.color),this.direction=Ke(e,R2,t.direction),this.display=Ke(e,$2,t.display),this.float=Ke(e,J2,t.cssFloat),this.fontFamily=Ke(e,QC,t.fontFamily),this.fontSize=Ke(e,UC,t.fontSize),this.fontStyle=Ke(e,LC,t.fontStyle),this.fontVariant=Ke(e,EC,t.fontVariant),this.fontWeight=Ke(e,SC,t.fontWeight),this.letterSpacing=Ke(e,Z2,t.letterSpacing),this.lineBreak=Ke(e,Y2,t.lineBreak),this.lineHeight=Ke(e,q2,t.lineHeight),this.listStyleImage=Ke(e,j2,t.listStyleImage),this.listStylePosition=Ke(e,eC,t.listStylePosition),this.listStyleType=Ke(e,Ka,t.listStyleType),this.marginTop=Ke(e,tC,t.marginTop),this.marginRight=Ke(e,AC,t.marginRight),this.marginBottom=Ke(e,iC,t.marginBottom),this.marginLeft=Ke(e,rC,t.marginLeft),this.opacity=Ke(e,TC,t.opacity);var n=Ke(e,nC,t.overflow);this.overflowX=n[0],this.overflowY=n[n.length>1?1:0],this.overflowWrap=Ke(e,sC,t.overflowWrap),this.paddingTop=Ke(e,oC,t.paddingTop),this.paddingRight=Ke(e,aC,t.paddingRight),this.paddingBottom=Ke(e,lC,t.paddingBottom),this.paddingLeft=Ke(e,cC,t.paddingLeft),this.paintOrder=Ke(e,kC,t.paintOrder),this.position=Ke(e,uC,t.position),this.textAlign=Ke(e,hC,t.textAlign),this.textDecorationColor=Ke(e,xC,(i=t.textDecorationColor)!==null&&i!==void 0?i:t.color),this.textDecorationLine=Ke(e,FC,(r=t.textDecorationLine)!==null&&r!==void 0?r:t.textDecoration),this.textShadow=Ke(e,pC,t.textShadow),this.textTransform=Ke(e,dC,t.textTransform),this.transform=Ke(e,fC,t.transform),this.transformOrigin=Ke(e,yC,t.transformOrigin),this.visibility=Ke(e,CC,t.visibility),this.webkitTextStrokeColor=Ke(e,OC,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=Ke(e,NC,t.webkitTextStrokeWidth),this.wordBreak=Ke(e,vC,t.wordBreak),this.zIndex=Ke(e,bC,t.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},A.prototype.isTransparent=function(){return yi(this.backgroundColor)},A.prototype.isTransformed=function(){return this.transform!==null},A.prototype.isPositioned=function(){return this.position!==0},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return this.float!==0},A.prototype.isInlineLevel=function(){return zt(this.display,4)||zt(this.display,33554432)||zt(this.display,268435456)||zt(this.display,536870912)||zt(this.display,67108864)||zt(this.display,134217728)},A})(),zC=(function(){function A(e,t){this.content=Ke(e,MC,t.content),this.quotes=Ke(e,DC,t.quotes)}return A})(),Bp=(function(){function A(e,t){this.counterIncrement=Ke(e,HC,t.counterIncrement),this.counterReset=Ke(e,IC,t.counterReset)}return A})(),Ke=function(A,e,t){var i=new Gu,r=t!==null&&typeof t<"u"?t.toString():e.initialValue;i.write(r);var n=new Ru(i.read());switch(e.type){case 2:var s=n.parseComponentValue();return e.parse(A,vt(s)?s.value:e.initialValue);case 0:return e.parse(A,n.parseComponentValue());case 1:return e.parse(A,n.parseComponentValues());case 4:return n.parseComponentValue();case 3:switch(e.format){case"angle":return ws.parse(A,n.parseComponentValue());case"color":return Bi.parse(A,n.parseComponentValue());case"image":return Na.parse(A,n.parseComponentValue());case"length":var o=n.parseComponentValue();return mi(o)?o:Xt;case"length-percentage":var l=n.parseComponentValue();return Kt(l)?l:Xt;case"time":return mp.parse(A,n.parseComponentValue())}break}},VC="data-html2canvas-debug",WC=function(A){var e=A.getAttribute(VC);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},za=function(A,e){var t=WC(A);return t===1||e===t},JA=(function(){function A(e,t){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,za(t,3))debugger;this.styles=new KC(e,window.getComputedStyle(t,null)),Al(t)&&(this.styles.animationDuration.some(function(i){return i>0})&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=qn(this.context,t),za(t,4)&&(this.flags|=16)}return A})(),GC="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAA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ACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIA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AAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",yp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$r=typeof Uint8Array>"u"?[]:new Uint8Array(256),Ss=0;Ss<yp.length;Ss++)$r[yp.charCodeAt(Ss)]=Ss;for(var RC=function(A){var e=A.length*.75,t=A.length,i,r=0,n,s,o,l;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var c=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),h=Array.isArray(c)?c:new Uint8Array(c);for(i=0;i<t;i+=4)n=$r[A.charCodeAt(i)],s=$r[A.charCodeAt(i+1)],o=$r[A.charCodeAt(i+2)],l=$r[A.charCodeAt(i+3)],h[r++]=n<<2|s>>4,h[r++]=(s&15)<<4|o>>2,h[r++]=(o&3)<<6|l&63;return c},$C=function(A){for(var e=A.length,t=[],i=0;i<e;i+=2)t.push(A[i+1]<<8|A[i]);return t},XC=function(A){for(var e=A.length,t=[],i=0;i<e;i+=4)t.push(A[i+3]<<24|A[i+2]<<16|A[i+1]<<8|A[i]);return t},ki=5,Va=11,Wa=2,JC=Va-ki,Cp=65536>>ki,ZC=1<<ki,Ga=ZC-1,YC=1024>>ki,qC=Cp+YC,jC=qC,ev=32,tv=jC+ev,Av=65536>>Va,iv=1<<JC,rv=iv-1,vp=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},nv=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},sv=function(A,e){var t=RC(A),i=Array.isArray(t)?XC(t):new Uint32Array(t),r=Array.isArray(t)?$C(t):new Uint16Array(t),n=24,s=vp(r,n/2,i[4]/2),o=i[5]===2?vp(r,(n+i[4])/2):nv(i,Math.ceil((n+i[4])/4));return new ov(i[0],i[1],i[2],i[3],s,o)},ov=(function(){function A(e,t,i,r,n,s){this.initialValue=e,this.errorValue=t,this.highStart=i,this.highValueIndex=r,this.index=n,this.data=s}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>ki],t=(t<<Wa)+(e&Ga),this.data[t];if(e<=65535)return t=this.index[Cp+(e-55296>>ki)],t=(t<<Wa)+(e&Ga),this.data[t];if(e<this.highStart)return t=tv-Av+(e>>Va),t=this.index[t],t+=e>>ki&rv,t=this.index[t],t=(t<<Wa)+(e&Ga),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A})(),bp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",av=typeof Uint8Array>"u"?[]:new Uint8Array(256),Es=0;Es<bp.length;Es++)av[bp.charCodeAt(Es)]=Es;var lv=1,Ra=2,$a=3,Tp=4,xp=5,cv=7,Fp=8,Xa=9,Ja=10,Qp=11,Up=12,Sp=13,Ep=14,Za=15,hv=function(A){for(var e=[],t=0,i=A.length;t<i;){var r=A.charCodeAt(t++);if(r>=55296&&r<=56319&&t<i){var n=A.charCodeAt(t++);(n&64512)===56320?e.push(((r&1023)<<10)+(n&1023)+65536):(e.push(r),t--)}else e.push(r)}return e},uv=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var i=[],r=-1,n="";++r<t;){var s=A[r];s<=65535?i.push(s):(s-=65536,i.push((s>>10)+55296,s%1024+56320)),(r+1===t||i.length>16384)&&(n+=String.fromCharCode.apply(String,i),i.length=0)}return n},pv=sv(GC),UA="×",Ya="÷",dv=function(A){return pv.get(A)},fv=function(A,e,t){var i=t-2,r=e[i],n=e[t-1],s=e[t];if(n===Ra&&s===$a)return UA;if(n===Ra||n===$a||n===Tp||s===Ra||s===$a||s===Tp)return Ya;if(n===Fp&&[Fp,Xa,Qp,Up].indexOf(s)!==-1||(n===Qp||n===Xa)&&(s===Xa||s===Ja)||(n===Up||n===Ja)&&s===Ja||s===Sp||s===xp||s===cv||n===lv)return UA;if(n===Sp&&s===Ep){for(;r===xp;)r=e[--i];if(r===Ep)return UA}if(n===Za&&s===Za){for(var o=0;r===Za;)o++,r=e[--i];if(o%2===0)return UA}return Ya},gv=function(A){var e=hv(A),t=e.length,i=0,r=0,n=e.map(dv);return{next:function(){if(i>=t)return{done:!0,value:null};for(var s=UA;i<t&&(s=fv(e,n,++i))===UA;);if(s!==UA||i===t){var o=uv.apply(null,e.slice(r,i));return r=i,{value:o,done:!1}}return{done:!0,value:null}}}},mv=function(A){for(var e=gv(A),t=[],i;!(i=e.next()).done;)i.value&&t.push(i.value.slice());return t},wv=function(A){var e=123;if(A.createRange){var t=A.createRange();if(t.getBoundingClientRect){var i=A.createElement("boundtest");i.style.height=e+"px",i.style.display="block",A.body.appendChild(i),t.selectNode(i);var r=t.getBoundingClientRect(),n=Math.round(r.height);if(A.body.removeChild(i),n===e)return!0}}return!1},Bv=function(A){var e=A.createElement("boundtest");e.style.width="50px",e.style.display="block",e.style.fontSize="12px",e.style.letterSpacing="0px",e.style.wordSpacing="0px",A.body.appendChild(e);var t=A.createRange();e.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var i=e.firstChild,r=jn(i.data).map(function(l){return _t(l)}),n=0,s={},o=r.every(function(l,c){t.setStart(i,n),t.setEnd(i,n+l.length);var h=t.getBoundingClientRect();n+=l.length;var m=h.x>s.x||h.y>s.y;return s=h,c===0?!0:m});return A.body.removeChild(e),o},yv=function(){return typeof new Image().crossOrigin<"u"},Cv=function(){return typeof new XMLHttpRequest().responseType=="string"},vv=function(A){var e=new Image,t=A.createElement("canvas"),i=t.getContext("2d");if(!i)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{i.drawImage(e,0,0),t.toDataURL()}catch{return!1}return!0},Lp=function(A){return A[0]===0&&A[1]===255&&A[2]===0&&A[3]===255},bv=function(A){var e=A.createElement("canvas"),t=100;e.width=t,e.height=t;var i=e.getContext("2d");if(!i)return Promise.reject(!1);i.fillStyle="rgb(0, 255, 0)",i.fillRect(0,0,t,t);var r=new Image,n=e.toDataURL();r.src=n;var s=qa(t,t,0,0,r);return i.fillStyle="red",i.fillRect(0,0,t,t),Mp(s).then(function(o){i.drawImage(o,0,0);var l=i.getImageData(0,0,t,t).data;i.fillStyle="red",i.fillRect(0,0,t,t);var c=A.createElement("div");return c.style.backgroundImage="url("+n+")",c.style.height=t+"px",Lp(l)?Mp(qa(t,t,0,0,c)):Promise.reject(!1)}).then(function(o){return i.drawImage(o,0,0),Lp(i.getImageData(0,0,t,t).data)}).catch(function(){return!1})},qa=function(A,e,t,i,r){var n="http://www.w3.org/2000/svg",s=document.createElementNS(n,"svg"),o=document.createElementNS(n,"foreignObject");return s.setAttributeNS(null,"width",A.toString()),s.setAttributeNS(null,"height",e.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",t.toString()),o.setAttributeNS(null,"y",i.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(o),o.appendChild(r),s},Mp=function(A){return new Promise(function(e,t){var i=new Image;i.onload=function(){return e(i)},i.onerror=t,i.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(A))})},Jt={get SUPPORT_RANGE_BOUNDS(){var A=wv(document);return Object.defineProperty(Jt,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=Jt.SUPPORT_RANGE_BOUNDS&&Bv(document);return Object.defineProperty(Jt,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=vv(document);return Object.defineProperty(Jt,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A=typeof Array.from=="function"&&typeof window.fetch=="function"?bv(document):Promise.resolve(!1);return Object.defineProperty(Jt,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=yv();return Object.defineProperty(Jt,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=Cv();return Object.defineProperty(Jt,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Jt,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(Jt,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},Xr=(function(){function A(e,t){this.text=e,this.bounds=t}return A})(),Tv=function(A,e,t,i){var r=Qv(e,t),n=[],s=0;return r.forEach(function(o){if(t.textDecorationLine.length||o.trim().length>0)if(Jt.SUPPORT_RANGE_BOUNDS){var l=Hp(i,s,o.length).getClientRects();if(l.length>1){var c=ja(o),h=0;c.forEach(function(v){n.push(new Xr(v,ii.fromDOMRectList(A,Hp(i,h+s,v.length).getClientRects()))),h+=v.length})}else n.push(new Xr(o,ii.fromDOMRectList(A,l)))}else{var m=i.splitText(o.length);n.push(new Xr(o,xv(A,i))),i=m}else Jt.SUPPORT_RANGE_BOUNDS||(i=i.splitText(o.length));s+=o.length}),n},xv=function(A,e){var t=e.ownerDocument;if(t){var i=t.createElement("html2canvaswrapper");i.appendChild(e.cloneNode(!0));var r=e.parentNode;if(r){r.replaceChild(i,e);var n=qn(A,i);return i.firstChild&&r.replaceChild(i.firstChild,i),n}}return ii.EMPTY},Hp=function(A,e,t){var i=A.ownerDocument;if(!i)throw new Error("Node has no owner document");var r=i.createRange();return r.setStart(A,e),r.setEnd(A,e+t),r},ja=function(A){if(Jt.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map(function(t){return t.segment})}return mv(A)},Fv=function(A,e){if(Jt.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map(function(i){return i.segment})}return Sv(A,e)},Qv=function(A,e){return e.letterSpacing!==0?ja(A):Fv(A,e)},Uv=[32,160,4961,65792,65793,4153,4241],Sv=function(A,e){for(var t=Ay(A,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),i=[],r,n=function(){if(r.value){var s=r.value.slice(),o=jn(s),l="";o.forEach(function(c){Uv.indexOf(c)===-1?l+=_t(c):(l.length&&i.push(l),i.push(_t(c)),l="")}),l.length&&i.push(l)}};!(r=t.next()).done;)n();return i},Ev=(function(){function A(e,t,i){this.text=Lv(t.data,i.textTransform),this.textBounds=Tv(e,this.text,i,t)}return A})(),Lv=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(Mv,Hv);case 2:return A.toUpperCase();default:return A}},Mv=/(^|\s|:|-|\(|\))([a-z])/g,Hv=function(A,e,t){return A.length>0?e+t.toUpperCase():A},Ip=(function(A){_A(e,A);function e(t,i){var r=A.call(this,t,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 e})(JA),Pp=(function(A){_A(e,A);function e(t,i){var r=A.call(this,t,i)||this;return r.canvas=i,r.intrinsicWidth=i.width,r.intrinsicHeight=i.height,r}return e})(JA),Dp=(function(A){_A(e,A);function e(t,i){var r=A.call(this,t,i)||this,n=new XMLSerializer,s=qn(t,i);return i.setAttribute("width",s.width+"px"),i.setAttribute("height",s.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(n.serializeToString(i)),r.intrinsicWidth=i.width.baseVal.value,r.intrinsicHeight=i.height.baseVal.value,r.context.cache.addImage(r.svg),r}return e})(JA),_p=(function(A){_A(e,A);function e(t,i){var r=A.call(this,t,i)||this;return r.value=i.value,r}return e})(JA),el=(function(A){_A(e,A);function e(t,i){var r=A.call(this,t,i)||this;return r.start=i.start,r.reversed=typeof i.reversed=="boolean"&&i.reversed===!0,r}return e})(JA),Iv=[{type:15,flags:0,unit:"px",number:3}],Pv=[{type:16,flags:0,number:50}],Dv=function(A){return A.width>A.height?new ii(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width<A.height?new ii(A.left,A.top+(A.height-A.width)/2,A.width,A.width):A},_v=function(A){var e=A.type===kv?new Array(A.value.length+1).join("•"):A.value;return e.length===0?A.placeholder||"":e},Ls="checkbox",Ms="radio",kv="password",kp=707406591,tl=(function(A){_A(e,A);function e(t,i){var r=A.call(this,t,i)||this;switch(r.type=i.type.toLowerCase(),r.checked=i.checked,r.value=_v(i),(r.type===Ls||r.type===Ms)&&(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=Dv(r.bounds)),r.type){case Ls:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=Iv;break;case Ms:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=Pv;break}return r}return e})(JA),Op=(function(A){_A(e,A);function e(t,i){var r=A.call(this,t,i)||this,n=i.options[i.selectedIndex||0];return r.value=n&&n.text||"",r}return e})(JA),Np=(function(A){_A(e,A);function e(t,i){var r=A.call(this,t,i)||this;return r.value=i.value,r}return e})(JA),Kp=(function(A){_A(e,A);function e(t,i){var r=A.call(this,t,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=Vp(t,i.contentWindow.document.documentElement);var n=i.contentWindow.document.documentElement?Gr(t,getComputedStyle(i.contentWindow.document.documentElement).backgroundColor):ni.TRANSPARENT,s=i.contentWindow.document.body?Gr(t,getComputedStyle(i.contentWindow.document.body).backgroundColor):ni.TRANSPARENT;r.backgroundColor=yi(n)?yi(s)?r.styles.backgroundColor:s:n}}catch{}return r}return e})(JA),Ov=["OL","UL","MENU"],Hs=function(A,e,t,i){for(var r=e.firstChild,n=void 0;r;r=n)if(n=r.nextSibling,Wp(r)&&r.data.trim().length>0)t.textNodes.push(new Ev(A,r,t.styles));else if(Ar(r))if(Zp(r)&&r.assignedNodes)r.assignedNodes().forEach(function(o){return Hs(A,o,t,i)});else{var s=zp(A,r);s.styles.isVisible()&&(Nv(r,s,i)?s.flags|=4:Kv(s.styles)&&(s.flags|=2),Ov.indexOf(r.tagName)!==-1&&(s.flags|=8),t.elements.push(s),r.slot,r.shadowRoot?Hs(A,r.shadowRoot,s,i):!Ps(r)&&!Gp(r)&&!Ds(r)&&Hs(A,r,s,i))}},zp=function(A,e){return rl(e)?new Ip(A,e):Rp(e)?new Pp(A,e):Gp(e)?new Dp(A,e):zv(e)?new _p(A,e):Vv(e)?new el(A,e):Wv(e)?new tl(A,e):Ds(e)?new Op(A,e):Ps(e)?new Np(A,e):Xp(e)?new Kp(A,e):new JA(A,e)},Vp=function(A,e){var t=zp(A,e);return t.flags|=4,Hs(A,e,t,t),t},Nv=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||il(A)&&t.styles.isTransparent()},Kv=function(A){return A.isPositioned()||A.isFloating()},Wp=function(A){return A.nodeType===Node.TEXT_NODE},Ar=function(A){return A.nodeType===Node.ELEMENT_NODE},Al=function(A){return Ar(A)&&typeof A.style<"u"&&!Is(A)},Is=function(A){return typeof A.className=="object"},zv=function(A){return A.tagName==="LI"},Vv=function(A){return A.tagName==="OL"},Wv=function(A){return A.tagName==="INPUT"},Gv=function(A){return A.tagName==="HTML"},Gp=function(A){return A.tagName==="svg"},il=function(A){return A.tagName==="BODY"},Rp=function(A){return A.tagName==="CANVAS"},$p=function(A){return A.tagName==="VIDEO"},rl=function(A){return A.tagName==="IMG"},Xp=function(A){return A.tagName==="IFRAME"},Jp=function(A){return A.tagName==="STYLE"},Rv=function(A){return A.tagName==="SCRIPT"},Ps=function(A){return A.tagName==="TEXTAREA"},Ds=function(A){return A.tagName==="SELECT"},Zp=function(A){return A.tagName==="SLOT"},Yp=function(A){return A.tagName.indexOf("-")>0},$v=(function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},A.prototype.pop=function(e){var t=this;e.forEach(function(i){return t.counters[i].pop()})},A.prototype.parse=function(e){var t=this,i=e.counterIncrement,r=e.counterReset,n=!0;i!==null&&i.forEach(function(o){var l=t.counters[o.counter];l&&o.increment!==0&&(n=!1,l.length||l.push(1),l[Math.max(0,l.length-1)]+=o.increment)});var s=[];return n&&r.forEach(function(o){var l=t.counters[o.counter];s.push(o.counter),l||(l=t.counters[o.counter]=[]),l.push(o.reset)}),s},A})(),qp={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"]},jp={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Xv={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Jv={integers:[1e4,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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},ir=function(A,e,t,i,r,n){return A<e||A>t?Zr(A,r,n.length>0):i.integers.reduce(function(s,o,l){for(;A>=o;)A-=o,s+=i.values[l];return s},"")+n},ed=function(A,e,t,i){var r="";do t||A--,r=i(A)+r,A/=e;while(A*e>=e);return r},kt=function(A,e,t,i,r){var n=t-e+1;return(A<0?"-":"")+(ed(Math.abs(A),n,i,function(s){return _t(Math.floor(s%n)+e)})+r)},Oi=function(A,e,t){t===void 0&&(t=". ");var i=e.length;return ed(Math.abs(A),i,!1,function(r){return e[Math.floor(r%i)]})+t},rr=1,vi=2,bi=4,Jr=8,si=function(A,e,t,i,r,n){if(A<-9999||A>9999)return Zr(A,4,r.length>0);var s=Math.abs(A),o=r;if(s===0)return e[0]+o;for(var l=0;s>0&&l<=4;l++){var c=s%10;c===0&&zt(n,rr)&&o!==""?o=e[c]+o:c>1||c===1&&l===0||c===1&&l===1&&zt(n,vi)||c===1&&l===1&&zt(n,bi)&&A>100||c===1&&l>1&&zt(n,Jr)?o=e[c]+(l>0?t[l-1]:"")+o:c===1&&l>0&&(o=t[l-1]+o),s=Math.floor(s/10)}return(A<0?i:"")+o},td="十百千萬",Ad="拾佰仟萬",id="マイナス",nl="마이너스",Zr=function(A,e,t){var i=t?". ":"",r=t?"、":"",n=t?", ":"",s=t?" ":"";switch(e){case 0:return"•"+s;case 1:return"◦"+s;case 2:return"◾"+s;case 5:var o=kt(A,48,57,!0,i);return o.length<4?"0"+o:o;case 4:return Oi(A,"〇一二三四五六七八九",r);case 6:return ir(A,1,3999,qp,3,i).toLowerCase();case 7:return ir(A,1,3999,qp,3,i);case 8:return kt(A,945,969,!1,i);case 9:return kt(A,97,122,!1,i);case 10:return kt(A,65,90,!1,i);case 11:return kt(A,1632,1641,!0,i);case 12:case 49:return ir(A,1,9999,jp,3,i);case 35:return ir(A,1,9999,jp,3,i).toLowerCase();case 13:return kt(A,2534,2543,!0,i);case 14:case 30:return kt(A,6112,6121,!0,i);case 15:return Oi(A,"子丑寅卯辰巳午未申酉戌亥",r);case 16:return Oi(A,"甲乙丙丁戊己庚辛壬癸",r);case 17:case 48:return si(A,"零一二三四五六七八九",td,"負",r,vi|bi|Jr);case 47:return si(A,"零壹貳參肆伍陸柒捌玖",Ad,"負",r,rr|vi|bi|Jr);case 42:return si(A,"零一二三四五六七八九",td,"负",r,vi|bi|Jr);case 41:return si(A,"零壹贰叁肆伍陆柒捌玖",Ad,"负",r,rr|vi|bi|Jr);case 26:return si(A,"〇一二三四五六七八九","十百千万",id,r,0);case 25:return si(A,"零壱弐参四伍六七八九","拾百千万",id,r,rr|vi|bi);case 31:return si(A,"영일이삼사오육칠팔구","십백천만",nl,n,rr|vi|bi);case 33:return si(A,"零一二三四五六七八九","十百千萬",nl,n,0);case 32:return si(A,"零壹貳參四五六七八九","拾百千",nl,n,rr|vi|bi);case 18:return kt(A,2406,2415,!0,i);case 20:return ir(A,1,19999,Jv,3,i);case 21:return kt(A,2790,2799,!0,i);case 22:return kt(A,2662,2671,!0,i);case 22:return ir(A,1,10999,Xv,3,i);case 23:return Oi(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Oi(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return kt(A,3302,3311,!0,i);case 28:return Oi(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",r);case 29:return Oi(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",r);case 34:return kt(A,3792,3801,!0,i);case 37:return kt(A,6160,6169,!0,i);case 38:return kt(A,4160,4169,!0,i);case 39:return kt(A,2918,2927,!0,i);case 40:return kt(A,1776,1785,!0,i);case 43:return kt(A,3046,3055,!0,i);case 44:return kt(A,3174,3183,!0,i);case 45:return kt(A,3664,3673,!0,i);case 46:return kt(A,3872,3881,!0,i);default:return kt(A,48,57,!0,i)}},rd="data-html2canvas-ignore",nd=(function(){function A(e,t,i){if(this.context=e,this.options=i,this.scrolledElements=[],this.referenceElement=t,this.counters=new $v,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(e,t){var i=this,r=Zv(e,t);if(!r.contentWindow)return Promise.reject("Unable to find iframe window");var n=e.defaultView.pageXOffset,s=e.defaultView.pageYOffset,o=r.contentWindow,l=o.document,c=jv(r).then(function(){return aA(i,void 0,void 0,function(){var h,m;return iA(this,function(v){switch(v.label){case 0:return this.scrolledElements.forEach(ib),o&&(o.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==t.top||o.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-t.left,o.scrollY-t.top,0,0))),h=this.options.onclone,m=this.clonedReferenceElement,typeof m>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:l.fonts&&l.fonts.ready?[4,l.fonts.ready]:[3,2];case 1:v.sent(),v.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,qv(l)]:[3,4];case 3:v.sent(),v.label=4;case 4:return typeof h=="function"?[2,Promise.resolve().then(function(){return h(l,m)}).then(function(){return r})]:[2,r]}})})});return l.open(),l.write(tb(document.doctype)+"<html></html>"),Ab(this.referenceElement.ownerDocument,n,s),l.replaceChild(l.adoptNode(this.documentElement),l.documentElement),l.close(),c},A.prototype.createElementClone=function(e){if(za(e,2))debugger;if(Rp(e))return this.createCanvasClone(e);if($p(e))return this.createVideoClone(e);if(Jp(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return rl(t)&&(rl(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),t.loading==="lazy"&&(t.loading="eager")),Yp(t)?this.createCustomElementClone(t):t},A.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return sl(e.style,t),t},A.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var i=[].slice.call(t.cssRules,0).reduce(function(n,s){return s&&typeof s.cssText=="string"?n+s.cssText:n},""),r=e.cloneNode(!1);return r.textContent=i,r}}catch(n){if(this.context.logger.error("Unable to access cssRules property",n),n.name!=="SecurityError")throw n}return e.cloneNode(!1)},A.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var i=e.ownerDocument.createElement("img");try{return i.src=e.toDataURL(),i}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var r=e.cloneNode(!1);try{r.width=e.width,r.height=e.height;var n=e.getContext("2d"),s=r.getContext("2d");if(s)if(!this.options.allowTaint&&n)s.putImageData(n.getImageData(0,0,e.width,e.height),0,0);else{var o=(t=e.getContext("webgl2"))!==null&&t!==void 0?t:e.getContext("webgl");if(o){var l=o.getContextAttributes();l?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}s.drawImage(e,0,0)}return r}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return r},A.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var i=t.getContext("2d");try{return i&&(i.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||i.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var r=e.ownerDocument.createElement("canvas");return r.width=e.offsetWidth,r.height=e.offsetHeight,r},A.prototype.appendChildNode=function(e,t,i){(!Ar(t)||!Rv(t)&&!t.hasAttribute(rd)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!Ar(t)||!Jp(t))&&e.appendChild(this.cloneNode(t,i))},A.prototype.cloneChildNodes=function(e,t,i){for(var r=this,n=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;n;n=n.nextSibling)if(Ar(n)&&Zp(n)&&typeof n.assignedNodes=="function"){var s=n.assignedNodes();s.length&&s.forEach(function(o){return r.appendChildNode(t,o,i)})}else this.appendChildNode(t,n,i)},A.prototype.cloneNode=function(e,t){if(Wp(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var i=e.ownerDocument.defaultView;if(i&&Ar(e)&&(Al(e)||Is(e))){var r=this.createElementClone(e);r.style.transitionProperty="none";var n=i.getComputedStyle(e),s=i.getComputedStyle(e,":before"),o=i.getComputedStyle(e,":after");this.referenceElement===e&&Al(r)&&(this.clonedReferenceElement=r),il(r)&&sb(r);var l=this.counters.parse(new Bp(this.context,n)),c=this.resolvePseudoContent(e,r,s,Yr.BEFORE);Yp(e)&&(t=!0),$p(e)||this.cloneChildNodes(e,r,t),c&&r.insertBefore(c,r.firstChild);var h=this.resolvePseudoContent(e,r,o,Yr.AFTER);return h&&r.appendChild(h),this.counters.pop(l),(n&&(this.options.copyStyles||Is(e))&&!Xp(e)||t)&&sl(n,r),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([r,e.scrollLeft,e.scrollTop]),(Ps(e)||Ds(e))&&(Ps(r)||Ds(r))&&(r.value=e.value),r}return e.cloneNode(!1)},A.prototype.resolvePseudoContent=function(e,t,i,r){var n=this;if(i){var s=i.content,o=t.ownerDocument;if(!(!o||!s||s==="none"||s==="-moz-alt-content"||i.display==="none")){this.counters.parse(new Bp(this.context,i));var l=new zC(this.context,i),c=o.createElement("html2canvaspseudoelement");sl(i,c),l.content.forEach(function(m){if(m.type===0)c.appendChild(o.createTextNode(m.value));else if(m.type===22){var v=o.createElement("img");v.src=m.value,v.style.opacity="1",c.appendChild(v)}else if(m.type===18){if(m.name==="attr"){var T=m.values.filter(vt);T.length&&c.appendChild(o.createTextNode(e.getAttribute(T[0].value)||""))}else if(m.name==="counter"){var Q=m.values.filter(er),b=Q[0],E=Q[1];if(b&&vt(b)){var I=n.counters.getCounterValue(b.value),F=E&&vt(E)?Ka.parse(n.context,E.value):3;c.appendChild(o.createTextNode(Zr(I,F,!1)))}}else if(m.name==="counters"){var N=m.values.filter(er),b=N[0],Z=N[1],E=N[2];if(b&&vt(b)){var H=n.counters.getCounterValues(b.value),W=E&&vt(E)?Ka.parse(n.context,E.value):3,ee=Z&&Z.type===0?Z.value:"",q=H.map(function(se){return Zr(se,W,!1)}).join(ee);c.appendChild(o.createTextNode(q))}}}else if(m.type===20)switch(m.value){case"open-quote":c.appendChild(o.createTextNode(wp(l.quotes,n.quoteDepth++,!0)));break;case"close-quote":c.appendChild(o.createTextNode(wp(l.quotes,--n.quoteDepth,!1)));break;default:c.appendChild(o.createTextNode(m.value))}}),c.className=ol+" "+al;var h=r===Yr.BEFORE?" "+ol:" "+al;return Is(t)?t.className.baseValue+=h:t.className+=h,c}}},A.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},A})(),Yr;(function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"})(Yr||(Yr={}));var Zv=function(A,e){var t=A.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=e.width.toString(),t.height=e.height.toString(),t.scrolling="no",t.setAttribute(rd,"true"),A.body.appendChild(t),t},Yv=function(A){return new Promise(function(e){if(A.complete){e();return}if(!A.src){e();return}A.onload=e,A.onerror=e})},qv=function(A){return Promise.all([].slice.call(A.images,0).map(Yv))},jv=function(A){return new Promise(function(e,t){var i=A.contentWindow;if(!i)return t("No window assigned for iframe");var r=i.document;i.onload=A.onload=function(){i.onload=A.onload=null;var n=setInterval(function(){r.body.childNodes.length>0&&r.readyState==="complete"&&(clearInterval(n),e(A))},50)}})},eb=["all","d","content"],sl=function(A,e){for(var t=A.length-1;t>=0;t--){var i=A.item(t);eb.indexOf(i)===-1&&e.style.setProperty(i,A.getPropertyValue(i))}return e},tb=function(A){var e="";return A&&(e+="<!DOCTYPE ",A.name&&(e+=A.name),A.internalSubset&&(e+=A.internalSubset),A.publicId&&(e+='"'+A.publicId+'"'),A.systemId&&(e+='"'+A.systemId+'"'),e+=">"),e},Ab=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},ib=function(A){var e=A[0],t=A[1],i=A[2];e.scrollLeft=t,e.scrollTop=i},rb=":before",nb=":after",ol="___html2canvas___pseudoelement_before",al="___html2canvas___pseudoelement_after",sd=`{
|
|
7
7
|
content: "" !important;
|
|
8
8
|
display: none !important;
|
|
9
9
|
}`,sb=function(A){ob(A,"."+ol+rb+sd+`
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
${r===An[ye].toolId?qe?"text-sky-600 hover:bg-sky-100":"text-sky-300 hover:bg-slate-700":qe?"text-slate-600 hover:bg-sky-100":"text-slate-400 hover:bg-slate-700"}`,title:An[ye].label,children:An[ye].icon}),a.jsx("span",{onMouseEnter:()=>Te(!0),onMouseLeave:()=>Te(!1),onMouseDown:dt=>{dt.stopPropagation(),Ye(_e=>_e==="gann"?null:"gann")},style:{position:"absolute",bottom:1,right:1,width:ve?10:7,height:ve?10:7,cursor:"pointer",transition:"width 0.12s, height 0.12s",display:"flex",alignItems:"center",justifyContent:"center"},title:"More Gann tools",children:a.jsx("svg",{viewBox:"0 0 10 10",width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("polygon",{points:"10,10 0,10 10,0",fill:qe?"#64748b":"#94a3b8"})})})]}):Vt===5?a.jsxs("div",{className:"relative",children:[a.jsx("button",{onClick:()=>{const dt=rn[Le].toolId;n(r===dt?null:dt)},className:`relative w-10 h-10 flex items-center justify-center transition-colors duration-150
|
|
20
20
|
${r===rn[Le].toolId?qe?"text-sky-600 hover:bg-sky-100":"text-sky-300 hover:bg-slate-700":qe?"text-slate-600 hover:bg-sky-100":"text-slate-400 hover:bg-slate-700"}`,title:rn[Le].label,children:rn[Le].icon}),a.jsx("span",{onMouseEnter:()=>bt(!0),onMouseLeave:()=>bt(!1),onMouseDown:dt=>{dt.stopPropagation(),Ye(_e=>_e==="shape"?null:"shape")},style:{position:"absolute",bottom:1,right:1,width:ze?10:7,height:ze?10:7,cursor:"pointer",transition:"width 0.12s, height 0.12s",display:"flex",alignItems:"center",justifyContent:"center"},title:"More shape tools",children:a.jsx("svg",{viewBox:"0 0 10 10",width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("polygon",{points:"10,10 0,10 10,0",fill:qe?"#64748b":"#94a3b8"})})})]}):a.jsx("button",{onClick:()=>Mt(Vt),className:`w-10 h-10 flex items-center justify-center transition-colors duration-150
|
|
21
21
|
${gt.label==="Grid"&&s||gt.label==="Eye"&&!v||gt.label==="Lock"&&Q||r===Vt?qe?"text-sky-600 hover:bg-sky-100":"text-sky-300 hover:bg-slate-700":qe?"text-slate-600 hover:bg-sky-100":"text-slate-400 hover:bg-slate-700"}`,title:`${gt.label}: ${gt.description}`,children:gt.icon}),!je&>.label==="Text"&&a.jsx("div",{className:`w-8 border-t my-1 ${qe?"border-slate-200":"border-slate-700"}`})]},je?"gann-slot":`${gt.label}-${Oe}`)})}),a.jsx("div",{className:"flex-1"}),a.jsx("div",{className:"flex flex-col items-center gap-2 pb-1",children:Bt.map((Oe,Xe)=>{const je=12+Xe;return a.jsx("button",{onClick:()=>Mt(je),className:`w-10 h-10 flex items-center justify-center transition-colors duration-150
|
|
22
|
-
${Oe.label==="Grid"&&s||Oe.label==="Eye"&&!v||Oe.label==="Lock"&&Q||r===je?qe?"text-sky-600 hover:bg-sky-100":"text-sky-300 hover:bg-slate-700":qe?"text-slate-600 hover:bg-sky-100":"text-slate-400 hover:bg-slate-700"}`,title:`${Oe.label}: ${Oe.description}`,children:Oe.icon},Oe.label)})})]}),Ve==="line"&&a.jsx(Xs,{top:84,panelRef:wA,isLight:qe,children:en.map((Oe,Xe)=>{const je=Pe===Xe;return a.jsxs("button",{type:"button",onMouseDown:gt=>{gt.stopPropagation(),We(Xe),n(Oe.toolId),Ye(null)},className:`w-full flex items-center gap-3 px-4 py-2.5 text-[13px] text-left ${qe?"text-slate-700 hover:bg-slate-100":"text-slate-200 hover:bg-[#202933]"}`,children:[a.jsx("span",{className:`w-5 h-5 flex shrink-0 items-center justify-center ${qe?"text-slate-500":"text-slate-400"}`,children:Oe.icon}),a.jsx("span",{className:"flex-1",children:Oe.label}),je&&a.jsx("span",{className:"w-4 h-4 flex shrink-0 items-center justify-center text-emerald-400",children:a.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M20 6L9 17l-5-5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]},Oe.toolId)})}),Ve==="channel"&&a.jsx(Xs,{top:128,panelRef:qA,isLight:qe,children:tn.map((Oe,Xe)=>{const je=it===Xe;return a.jsxs("button",{type:"button",onMouseDown:gt=>{gt.stopPropagation(),pt(Xe),n(Oe.toolId),Ye(null)},className:`w-full flex items-center gap-3 px-4 py-2.5 text-[13px] text-left ${qe?"text-slate-700 hover:bg-slate-100":"text-slate-200 hover:bg-[#202933]"}`,children:[a.jsx("span",{className:`w-5 h-5 flex shrink-0 items-center justify-center ${qe?"text-slate-500":"text-slate-400"}`,children:Oe.icon}),a.jsx("span",{className:"flex-1",children:Oe.label}),je&&a.jsx("span",{className:"w-4 h-4 flex shrink-0 items-center justify-center text-emerald-400",children:a.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M20 6L9 17l-5-5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]},Oe.toolId)})}),Ve==="gann"&&a.jsx(Xs,{top:210,panelRef:jA,isLight:qe,children:An.map((Oe,Xe)=>{const je=ye===Xe;return a.jsxs("button",{type:"button",onMouseDown:gt=>{gt.stopPropagation(),be(Xe),n(Oe.toolId),Ye(null)},className:`w-full flex items-center gap-3 px-4 py-2.5 text-[13px] text-left ${qe?"text-slate-700 hover:bg-slate-100":"text-slate-200 hover:bg-[#202933]"}`,children:[a.jsx("span",{className:`w-5 h-5 flex shrink-0 items-center justify-center ${qe?"text-slate-500":"text-slate-400"}`,children:Oe.icon}),a.jsx("span",{className:"flex-1",children:Oe.label}),je&&a.jsx("span",{className:"w-4 h-4 flex shrink-0 items-center justify-center text-emerald-400",children:a.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M20 6L9 17l-5-5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]},Oe.toolId)})}),Ve==="shape"&&a.jsx(Xs,{top:250,panelRef:oi,isLight:qe,children:rn.map((Oe,Xe)=>{const je=Le===Xe;return a.jsxs("button",{type:"button",onMouseDown:gt=>{gt.stopPropagation(),Me(Xe),n(Oe.toolId),Ye(null)},className:`w-full flex items-center gap-3 px-4 py-2.5 text-[13px] text-left ${qe?"text-slate-700 hover:bg-slate-100":"text-slate-200 hover:bg-[#202933]"}`,children:[a.jsx("span",{className:`w-5 h-5 flex shrink-0 items-center justify-center ${qe?"text-slate-500":"text-slate-400"}`,children:Oe.icon}),a.jsx("span",{className:"flex-1",children:Oe.label}),je&&a.jsx("span",{className:"w-4 h-4 flex shrink-0 items-center justify-center text-emerald-400",children:a.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M20 6L9 17l-5-5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]},Oe.toolId)})}),me&&a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"fixed inset-0 z-
|
|
22
|
+
${Oe.label==="Grid"&&s||Oe.label==="Eye"&&!v||Oe.label==="Lock"&&Q||r===je?qe?"text-sky-600 hover:bg-sky-100":"text-sky-300 hover:bg-slate-700":qe?"text-slate-600 hover:bg-sky-100":"text-slate-400 hover:bg-slate-700"}`,title:`${Oe.label}: ${Oe.description}`,children:Oe.icon},Oe.label)})})]}),Ve==="line"&&a.jsx(Xs,{top:84,panelRef:wA,isLight:qe,children:en.map((Oe,Xe)=>{const je=Pe===Xe;return a.jsxs("button",{type:"button",onMouseDown:gt=>{gt.stopPropagation(),We(Xe),n(Oe.toolId),Ye(null)},className:`w-full flex items-center gap-3 px-4 py-2.5 text-[13px] text-left ${qe?"text-slate-700 hover:bg-slate-100":"text-slate-200 hover:bg-[#202933]"}`,children:[a.jsx("span",{className:`w-5 h-5 flex shrink-0 items-center justify-center ${qe?"text-slate-500":"text-slate-400"}`,children:Oe.icon}),a.jsx("span",{className:"flex-1",children:Oe.label}),je&&a.jsx("span",{className:"w-4 h-4 flex shrink-0 items-center justify-center text-emerald-400",children:a.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M20 6L9 17l-5-5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]},Oe.toolId)})}),Ve==="channel"&&a.jsx(Xs,{top:128,panelRef:qA,isLight:qe,children:tn.map((Oe,Xe)=>{const je=it===Xe;return a.jsxs("button",{type:"button",onMouseDown:gt=>{gt.stopPropagation(),pt(Xe),n(Oe.toolId),Ye(null)},className:`w-full flex items-center gap-3 px-4 py-2.5 text-[13px] text-left ${qe?"text-slate-700 hover:bg-slate-100":"text-slate-200 hover:bg-[#202933]"}`,children:[a.jsx("span",{className:`w-5 h-5 flex shrink-0 items-center justify-center ${qe?"text-slate-500":"text-slate-400"}`,children:Oe.icon}),a.jsx("span",{className:"flex-1",children:Oe.label}),je&&a.jsx("span",{className:"w-4 h-4 flex shrink-0 items-center justify-center text-emerald-400",children:a.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M20 6L9 17l-5-5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]},Oe.toolId)})}),Ve==="gann"&&a.jsx(Xs,{top:210,panelRef:jA,isLight:qe,children:An.map((Oe,Xe)=>{const je=ye===Xe;return a.jsxs("button",{type:"button",onMouseDown:gt=>{gt.stopPropagation(),be(Xe),n(Oe.toolId),Ye(null)},className:`w-full flex items-center gap-3 px-4 py-2.5 text-[13px] text-left ${qe?"text-slate-700 hover:bg-slate-100":"text-slate-200 hover:bg-[#202933]"}`,children:[a.jsx("span",{className:`w-5 h-5 flex shrink-0 items-center justify-center ${qe?"text-slate-500":"text-slate-400"}`,children:Oe.icon}),a.jsx("span",{className:"flex-1",children:Oe.label}),je&&a.jsx("span",{className:"w-4 h-4 flex shrink-0 items-center justify-center text-emerald-400",children:a.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M20 6L9 17l-5-5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]},Oe.toolId)})}),Ve==="shape"&&a.jsx(Xs,{top:250,panelRef:oi,isLight:qe,children:rn.map((Oe,Xe)=>{const je=Le===Xe;return a.jsxs("button",{type:"button",onMouseDown:gt=>{gt.stopPropagation(),Me(Xe),n(Oe.toolId),Ye(null)},className:`w-full flex items-center gap-3 px-4 py-2.5 text-[13px] text-left ${qe?"text-slate-700 hover:bg-slate-100":"text-slate-200 hover:bg-[#202933]"}`,children:[a.jsx("span",{className:`w-5 h-5 flex shrink-0 items-center justify-center ${qe?"text-slate-500":"text-slate-400"}`,children:Oe.icon}),a.jsx("span",{className:"flex-1",children:Oe.label}),je&&a.jsx("span",{className:"w-4 h-4 flex shrink-0 items-center justify-center text-emerald-400",children:a.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M20 6L9 17l-5-5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]},Oe.toolId)})}),me&&a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"fixed inset-0 z-50 bg-black/20",onClick:()=>{xe(!1),He(null)},"aria-hidden":"true"}),a.jsxs("div",{ref:OA,className:`absolute left-12 top-2 z-50 w-68 border shadow-2xl overflow-visible ${qe?"bg-white border-slate-200":"bg-[#262F3F] border-white/10"}`,children:[a.jsxs("div",{className:`relative px-4 py-3 border-b overflow-hidden ${qe?"bg-white border-slate-200":"border-white/10 bg-[#262F3F]"}`,children:[a.jsx("div",{className:`text-[16px] font-medium pr-12 ${qe?"text-slate-800":"text-slate-100"}`,children:e||"MT5 Account"}),A!=0&&a.jsx("div",{className:`text-[12px] mt-0.5 ${qe?"text-slate-500":"text-slate-400"}`,children:A})]}),a.jsx("div",{className:"py-2",children:Ft.map(Oe=>a.jsx(qt,{item:Oe},Oe.key))})]})]})]})};function QT(A){return oA({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M337.509 305.372h-17.501l-6.571-5.486c20.791-25.232 33.922-57.054 33.922-93.257C347.358 127.632 283.896 64 205.135 64 127.452 64 64 127.632 64 206.629s63.452 142.628 142.225 142.628c35.011 0 67.831-13.167 92.991-34.008l6.561 5.487v17.551L415.18 448 448 415.086 337.509 305.372zm-131.284 0c-54.702 0-98.463-43.887-98.463-98.743 0-54.858 43.761-98.742 98.463-98.742 54.7 0 98.462 43.884 98.462 98.742 0 54.856-43.762 98.743-98.462 98.743z"},child:[]}]})(A)}const UT={forex:"text-sky-400",crypto:"text-emerald-400",binance:"text-emerald-400",stocks:"text-purple-400",indices:"text-amber-400",commodities:"text-orange-400"},ST={forex:"text-sky-600",crypto:"text-emerald-600",binance:"text-emerald-600",stocks:"text-purple-600",indices:"text-amber-600",commodities:"text-orange-600"},ET={binance:"CRYPTO"},LT=({width:A=256,symbols:e=[],selectedSymbol:t,onSymbolSelect:i,symbolsLoading:r=!1,isOpen:n})=>{const{theme:s}=$t(),o=s==="light",[l,c]=Y.useState(""),h=e.filter(T=>(T.symbol||"").toLowerCase().includes(l.toLowerCase())),m=Y.useMemo(()=>{const T={};for(const E of h){const I=(E.category||"other").toLowerCase();T[I]||(T[I]=[]),T[I].push(E)}const Q=["forex","crypto","binance","stocks","indices","commodities"];return Object.keys(T).sort((E,I)=>{const F=Q.indexOf(E),N=Q.indexOf(I);return F!==-1&&N!==-1?F-N:F!==-1?-1:N!==-1?1:E.localeCompare(I)}).map(E=>({category:E,symbols:T[E]}))},[h]),v=T=>a.jsxs("tr",{onClick:()=>i(T.symbol),className:`cursor-pointer transition-colors ${t===T.symbol?o?"bg-sky-50 border-l-2 border-sky-500":"bg-slate-800 border-l-2 border-sky-500":o?"hover:bg-slate-50":"hover:bg-slate-800"}`,children:[a.jsxs("td",{className:`px-3 flex items-center justify-start gap-2 py-2 text-md font-medium ${o?"text-slate-800":"text-slate-100"}`,children:[T.change>0?a.jsx("span",{className:"w-6 flex items-center justify-center",children:a.jsx(TT,{className:"text-2xl text-emerald-500"})}):T.change<0?a.jsx("span",{className:"w-6 flex items-center justify-center",children:a.jsx(bT,{className:"text-2xl text-red-500"})}):a.jsx("span",{className:"w-6 flex items-center justify-center",children:a.jsx(Uw,{className:`text-[8px] ${o?"text-sky-600":"text-gray-300"}`})}),a.jsx("span",{children:T.symbol})]}),a.jsx("td",{className:`px-3 py-2 text-right text-md ${T.change>=0?o?"text-blue-600":"text-sky-400":o?"text-rose-600":"text-rose-400"}`,children:Number(T.bid).toFixed(5)}),a.jsx("td",{className:`px-3 py-2 text-right text-md ${T.change>=0?o?"text-blue-600":"text-sky-400":o?"text-rose-600":"text-rose-400"}`,children:Number(T.ask).toFixed(5)}),a.jsxs("td",{className:`px-3 py-2 text-right font-medium ${T.change>=0?o?"text-emerald-600":"text-emerald-400":o?"text-rose-600":"text-rose-400"}`,children:[T.change>=0?"+":"",T.change,"%"]})]},T.symbol);return a.jsxs(a.Fragment,{children:[a.jsx("style",{children:`
|
|
23
23
|
.scrollbar-dark::-webkit-scrollbar {
|
|
24
24
|
width: 8px;
|
|
25
25
|
}
|