viewgate-wrapper 1.11.12 → 1.11.13
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.
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode('@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";body{margin:0!important;padding:0!important}:root{--vg-primary: #6366f1;--vg-primary-glow: rgba(99, 102, 241, .5);--vg-primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);--vg-bg-glass: rgba(255, 255, 255, .7);--vg-radius: 16px;--vg-font-main: "Inter", system-ui, sans-serif;--vg-font-alt: "Inter", system-ui, sans-serif;--placeholder-color: #94a3b8;--vg-glass-border: rgba(255, 255, 255, .3);--vg-shadow-premium: 0 20px 50px rgba(0, 0, 0, .1)}.vg-container,.vg-container *{box-sizing:border-box}.vg-container{font-family:var(--vg-font-main);-webkit-font-smoothing:antialiased}.vg-glassmorphism{background:var(--vg-bg-glass);backdrop-filter:blur(16px) saturate(180%);-webkit-backdrop-filter:blur(16px) saturate(180%);border:1px solid var(--vg-glass-border);box-shadow:0 8px 32px #0000001a;border-radius:var(--vg-radius);position:relative}.vg-button-primary{background:var(--vg-primary-gradient);color:#fff;border:none;padding:12px 24px;font-family:var(--vg-font-main);font-size:14px;font-weight:700;cursor:pointer;transition:all .2s ease;border-radius:99px;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 4px 12px #6366f14d}.vg-button-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #6366f166}.vg-button-primary:disabled,.vg-button-ghost:disabled{opacity:.5;cursor:not-allowed;filter:grayscale(.4);transform:none!important;box-shadow:none!important;pointer-events:none}.vg-button-ghost{background:#fffc;color:#1e293b;border:1px solid #e2e8f0;padding:10px 24px;font-family:var(--vg-font-main);font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;border-radius:99px;display:flex;align-items:center;justify-content:center;gap:8px}.vg-button-ghost:hover{background:#fff;border-color:#cbd5e1;box-shadow:0 4px 12px #0000000d}.vg-badge{background:#f1f5f9;color:#64748b;padding:4px 12px;font-size:11px;border-radius:99px;font-weight:600;display:inline-flex;align-items:center;gap:6px}.vg-textarea{width:100%;box-sizing:border-box;border:1px solid #e2e8f0;border-radius:12px;padding:12px;font-family:var(--vg-font-main);font-size:15px;color:#0f172a;resize:none;outline:none;background:#f8fafc;transition:all .2s ease}.vg-textarea:focus{background:#fff;border-color:var(--vg-primary);box-shadow:0 0 0 4px #6366f11a}@keyframes vg-fade-in{0%{opacity:0}to{opacity:1}}@keyframes vg-slide-in{0%{transform:translateY(30px) scale(.96);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}@keyframes vg-pop-in{0%{transform:scale(.6);opacity:0}70%{transform:scale(1.08);opacity:1}to{transform:scale(1);opacity:1}}@keyframes vg-slide-up-fade{0%{transform:translateY(12px) scale(.95);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}.vg-animate-pop{animation:vg-pop-in .4s cubic-bezier(.34,1.56,.64,1) forwards}.vg-animate-slide-up{animation:vg-slide-up-fade .5s cubic-bezier(.22,1,.36,1) forwards}.vg-button-primary,.vg-button-ghost,.vg-pin-container,.vg-action-bar,.vg-glassmorphism{transition:all .3s cubic-bezier(.4,0,.2,1)}.vg-animate-slide{animation:vg-slide-in .5s cubic-bezier(.22,1,.36,1) forwards}.vg-animate-fade{animation:vg-fade-in .35s cubic-bezier(.22,1,.36,1) forwards}.vg-toasts{position:fixed;top:24px;right:24px;display:flex;flex-direction:column;gap:12px}.vg-toast{padding:12px 20px;display:flex;align-items:center;gap:12px;min-width:300px;border-radius:12px;box-shadow:0 10px 30px #0000001a;background:#fff}.vg-toast.success{border-left:6px solid #22c55e}.vg-toast.error{border-left:6px solid #ef4444}.vg-backdrop-blur{position:fixed;top:0;left:0;width:100%;height:100%;-webkit-backdrop-filter:blur(8px) grayscale(.2);backdrop-filter:blur(8px) grayscale(.2);background:#0000001a;pointer-events:none;transition:opacity .3s ease,clip-path .2s cubic-bezier(.19,1,.22,1)}.vg-selection-pulse{position:fixed;pointer-events:none;border:2px solid var(--vg-primary);border-radius:8px;box-shadow:0 0 0 0 var(--vg-primary-glow);animation:vg-pulse 2s infinite;transition:all .2s cubic-bezier(.19,1,.22,1)}@keyframes vg-pulse{0%{box-shadow:0 0 0 0 var(--vg-primary-glow)}70%{box-shadow:0 0 0 15px #6366f100}to{box-shadow:0 0 #6366f100}}.vg-selection-label{position:absolute;top:-40px;left:0;background:var(--vg-primary-gradient);color:#fff;padding:8px 16px;border-radius:20px;font-size:13px;font-weight:700;white-space:nowrap;box-shadow:0 4px 12px #6366f14d;display:flex;align-items:center;gap:8px}.vg-pin-container{transition:transform .2s ease}.vg-pin-container:hover{transform:scale(1.1);z-index:2147483645!important}.vg-formal-pin{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#f97316,#ea580c);border:3px solid white;box-shadow:0 4px 12px #ea580c66;display:flex;align-items:center;justify-content:center;color:#fff;transition:all .2s ease}.vg-formal-pin.modal-variant{background:linear-gradient(135deg,#f59e0b,#d97706);box-shadow:0 4px 12px #f59e0b66;border-style:dashed}.vg-formal-pin.ready{background:linear-gradient(135deg,#a855f7,#7e22ce);box-shadow:0 4px 12px #a855f766}.vg-formal-pin.completed{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 4px 12px #10b98166}.vg-formal-pin.backlog{background:linear-gradient(135deg,#94a3b8,#64748b);box-shadow:0 4px 12px #64748b66}.vg-formal-pin.bug{background:linear-gradient(135deg,#f43f5e,#e11d48);box-shadow:0 4px 12px #e11d4866}.vg-formal-pin.mixed{border:3px solid #ea580c;box-shadow:0 4px 15px #ea580c66}.vg-pin-tooltip{position:absolute;top:calc(100% + 12px);left:50%;transform:translate(-50%);padding:16px;border-radius:16px;background:#fff;color:#1e293b;width:320px;font-size:13px;box-shadow:0 10px 40px #00000040;opacity:0;visibility:hidden;pointer-events:none;transition:all .3s cubic-bezier(.19,1,.22,1);border:1px solid #e2e8f0;z-index:1000;overflow:hidden}.vg-tooltip-scroll{scrollbar-width:thin;scrollbar-color:rgba(99,102,241,.2) transparent;overflow-y:auto;overflow-x:hidden;padding-right:12px;scroll-behavior:smooth}.vg-tooltip-scroll::-webkit-scrollbar{width:4px}.vg-tooltip-scroll::-webkit-scrollbar-track{background:transparent}.vg-tooltip-scroll::-webkit-scrollbar-thumb{background:#6366f14d;border-radius:10px}.vg-tooltip-scroll::-webkit-scrollbar-thumb:hover{background:#6366f180}.vg-text-wrap{word-break:break-word;overflow-wrap:break-word;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;white-space:pre-wrap}.vg-line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-word;max-height:2.8em}.vg-pin-badge{position:absolute;top:-8px;right:-8px;background:#f43f5e;color:#fff;font-size:10px;font-weight:800;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid white;box-shadow:0 4px 12px #f43f5e66;z-index:2}.vg-pin-tooltip.vg-top{top:auto;bottom:calc(100% + 12px)}.vg-pin-tooltip.vg-tooltip-right{left:0;transform:translate(0)}.vg-pin-tooltip.vg-tooltip-left{left:auto;right:0;transform:translate(0)}.vg-pin-container:hover .vg-pin-tooltip.vg-tooltip-right,.vg-pin-container:hover .vg-pin-tooltip.vg-tooltip-left{transform:translate(0) translateY(-5px)}.vg-pin-container:hover .vg-pin-tooltip{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%) translateY(-5px)}.vg-action-bar{display:flex;gap:12px;padding:0;background:transparent;border:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.vg-custom-scrollbar::-webkit-scrollbar{width:6px}.vg-custom-scrollbar::-webkit-scrollbar-track{background:transparent}.vg-custom-scrollbar::-webkit-scrollbar-thumb{background:#6366f166;border-radius:10px;transition:all .2s ease}.vg-custom-scrollbar::-webkit-scrollbar-thumb:hover{background:#6366f1b3}.vg-spinner{border:3px solid rgba(99,102,241,.1);border-top:3px solid var(--vg-primary);border-radius:50%;width:32px;height:32px;animation:vg-spin .8s linear infinite}@keyframes vg-spin{to{transform:rotate(360deg)}}.vg-animate-spin{animation:vg-spin .8s linear infinite}.vg-cursor-pointer,.vg-cursor-pointer *{cursor:pointer!important}.vg-url-tag{position:relative;cursor:help;transition:all .2s ease}.vg-url-tag:hover{background:#f1f5f9!important;border-color:var(--vg-primary)!important}.vg-url-tooltip{position:fixed;left:0;top:0;background:#0f172a;color:#fff;padding:8px 14px;border-radius:10px;font-size:11px;font-weight:500;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease;box-shadow:0 10px 25px -5px #0006;z-index:2147483647;border:1px solid rgba(255,255,255,.1)}.vg-url-tooltip.visible{opacity:1}.vg-url-tooltip:after{content:"";position:absolute;left:50%;transform:translate(-50%);border-width:6px;border-style:solid}.vg-url-tooltip.vg-top:after{top:100%;border-color:#0f172a transparent transparent transparent}.vg-url-tooltip.vg-bottom:after{bottom:100%;border-color:transparent transparent #0f172a transparent}.vg-segmented-control{display:flex;background:#f1f5f9;padding:4px;border-radius:99px;position:relative;cursor:pointer;-webkit-user-select:none;user-select:none;border:4px solid #e2e8f0;width:100%;max-width:480px;margin:0 auto}.vg-segmented-slider{position:absolute;top:4px;bottom:4px;border-radius:99px;transition:all .35s cubic-bezier(.4,0,.2,1);z-index:1}.vg-segmented-item{position:relative;flex:1;padding:8px 4px;font-size:11px;font-weight:700;text-align:center;z-index:2;transition:all .35s ease;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:99px;color:#64748b;white-space:nowrap;min-width:0}.vg-segmented-item.active{color:#fff}.vg-glassmorphism.vg-animate-slide:last-child{margin-bottom:0!important}')),document.head.appendChild(o)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
|
-
(function(
|
|
2
|
+
(function(WA,C){typeof exports=="object"&&typeof module<"u"?C(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],C):(WA=typeof globalThis<"u"?globalThis:WA||self,C(WA.ViewGateWrapper={},WA.React,WA.ReactDOM))})(this,(function(WA,C,Va){"use strict";var er={exports:{}},ht={};var Nn;function _a(){if(Nn)return ht;Nn=1;var t=Symbol.for("react.transitional.element"),A=Symbol.for("react.fragment");function e(r,s,n){var o=null;if(n!==void 0&&(o=""+n),s.key!==void 0&&(o=""+s.key),"key"in s){n={};for(var i in s)i!=="key"&&(n[i]=s[i])}else n=s;return s=n.ref,{$$typeof:t,type:r,key:o,ref:s!==void 0?s:null,props:n}}return ht.Fragment=A,ht.jsx=e,ht.jsxs=e,ht}var wt={};var Gn;function ka(){return Gn||(Gn=1,process.env.NODE_ENV!=="production"&&(function(){function t(Q){if(Q==null)return null;if(typeof Q=="function")return Q.$$typeof===UA?null:Q.displayName||Q.name||null;if(typeof Q=="string")return Q;switch(Q){case m:return"Fragment";case p:return"Profiler";case E:return"StrictMode";case K:return"Suspense";case V:return"SuspenseList";case bA:return"Activity"}if(typeof Q=="object")switch(typeof Q.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),Q.$$typeof){case h:return"Portal";case T:return Q.displayName||"Context";case x:return(Q._context.displayName||"Context")+".Consumer";case F:var O=Q.render;return Q=Q.displayName,Q||(Q=O.displayName||O.name||"",Q=Q!==""?"ForwardRef("+Q+")":"ForwardRef"),Q;case Z:return O=Q.displayName||null,O!==null?O:t(Q.type)||"Memo";case S:O=Q._payload,Q=Q._init;try{return t(Q(O))}catch{}}return null}function A(Q){return""+Q}function e(Q){try{A(Q);var O=!1}catch{O=!0}if(O){O=console;var X=O.error,AA=typeof Symbol=="function"&&Symbol.toStringTag&&Q[Symbol.toStringTag]||Q.constructor.name||"Object";return X.call(O,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",AA),A(Q)}}function r(Q){if(Q===m)return"<>";if(typeof Q=="object"&&Q!==null&&Q.$$typeof===S)return"<...>";try{var O=t(Q);return O?"<"+O+">":"<...>"}catch{return"<...>"}}function s(){var Q=QA.A;return Q===null?null:Q.getOwner()}function n(){return Error("react-stack-top-frame")}function o(Q){if($.call(Q,"key")){var O=Object.getOwnPropertyDescriptor(Q,"key").get;if(O&&O.isReactWarning)return!1}return Q.key!==void 0}function i(Q,O){function X(){$A||($A=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",O))}X.isReactWarning=!0,Object.defineProperty(Q,"key",{get:X,configurable:!0})}function a(){var Q=t(this.type);return FA[Q]||(FA[Q]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),Q=this.props.ref,Q!==void 0?Q:null}function l(Q,O,X,AA,CA,Ae){var W=X.ref;return Q={$$typeof:w,type:Q,key:O,props:X,_owner:AA},(W!==void 0?W:null)!==null?Object.defineProperty(Q,"ref",{enumerable:!1,get:a}):Object.defineProperty(Q,"ref",{enumerable:!1,value:null}),Q._store={},Object.defineProperty(Q._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(Q,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(Q,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:CA}),Object.defineProperty(Q,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Ae}),Object.freeze&&(Object.freeze(Q.props),Object.freeze(Q)),Q}function c(Q,O,X,AA,CA,Ae){var W=O.children;if(W!==void 0)if(AA)if(aA(W)){for(AA=0;AA<W.length;AA++)B(W[AA]);Object.freeze&&Object.freeze(W)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else B(W);if($.call(O,"key")){W=t(Q);var MA=Object.keys(O).filter(function(gt){return gt!=="key"});AA=0<MA.length?"{key: someKey, "+MA.join(": ..., ")+": ...}":"{key: someKey}",qA[W+AA]||(MA=0<MA.length?"{"+MA.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
3
3
|
let props = %s;
|
|
4
4
|
<%s {...props} />
|
|
5
5
|
React keys must be passed directly to JSX without using spread:
|
|
6
6
|
let props = %s;
|
|
7
|
-
<%s key={someKey} {...props} />`,Z,k,VA,k),Be[k+Z]=!0)}if(k=null,M!==void 0&&(e(M),k=""+M),o(D)&&(e(D.key),k=""+D.key),"key"in D){M={};for(var Re in D)Re!=="key"&&(M[Re]=D[Re])}else M=D;return k&&i(M,typeof Q=="function"?Q.displayName||Q.name||"Unknown":Q),l(Q,k,M,s(),WA,te)}function B(Q){u(Q)?Q._store&&(Q._store.validated=1):typeof Q=="object"&&Q!==null&&Q.$$typeof===S&&(Q._payload.status==="fulfilled"?u(Q._payload.value)&&Q._payload.value._store&&(Q._payload.value._store.validated=1):Q._store&&(Q._store.validated=1))}function u(Q){return typeof Q=="object"&&Q!==null&&Q.$$typeof===w}var f=C,w=Symbol.for("react.transitional.element"),h=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),x=Symbol.for("react.consumer"),T=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),AA=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),FA=Symbol.for("react.activity"),UA=Symbol.for("react.client.reference"),QA=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,eA=Object.prototype.hasOwnProperty,cA=Array.isArray,tA=console.createTask?console.createTask:function(){return null};f={react_stack_bottom_frame:function(Q){return Q()}};var zA,OA={},HA=f.react_stack_bottom_frame.bind(f,n)(),Bt=tA(r(n)),Be={};wt.Fragment=m,wt.jsx=function(Q,D,M){var Z=1e4>QA.recentlyCreatedOwnerStacks++;return c(Q,D,M,!1,Z?Error("react-stack-top-frame"):HA,Z?tA(r(Q)):Bt)},wt.jsxs=function(Q,D,M){var Z=1e4>QA.recentlyCreatedOwnerStacks++;return c(Q,D,M,!0,Z?Error("react-stack-top-frame"):HA,Z?tA(r(Q)):Bt)}})()),wt}var Gn;function ka(){return Gn||(Gn=1,process.env.NODE_ENV==="production"?$t.exports=Va():$t.exports=_a()),$t.exports}var d=ka(),qt={exports:{}},ss={};var Vn;function Pa(){if(Vn)return ss;Vn=1;var t=C;function A(B,u){return B===u&&(B!==0||1/B===1/u)||B!==B&&u!==u}var e=typeof Object.is=="function"?Object.is:A,r=t.useState,s=t.useEffect,n=t.useLayoutEffect,o=t.useDebugValue;function i(B,u){var f=u(),w=r({inst:{value:f,getSnapshot:u}}),h=w[0].inst,m=w[1];return n(function(){h.value=f,h.getSnapshot=u,a(h)&&m({inst:h})},[B,f,u]),s(function(){return a(h)&&m({inst:h}),B(function(){a(h)&&m({inst:h})})},[B]),o(f),f}function a(B){var u=B.getSnapshot;B=B.value;try{var f=u();return!e(B,f)}catch{return!0}}function l(B,u){return u()}var c=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?l:i;return ss.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:c,ss}var ns={};var _n;function Xa(){return _n||(_n=1,process.env.NODE_ENV!=="production"&&(function(){function t(f,w){return f===w&&(f!==0||1/f===1/w)||f!==f&&w!==w}function A(f,w){c||s.startTransition===void 0||(c=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var h=w();if(!B){var m=w();n(h,m)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),B=!0)}m=o({inst:{value:h,getSnapshot:w}});var E=m[0].inst,p=m[1];return a(function(){E.value=h,E.getSnapshot=w,e(E)&&p({inst:E})},[f,h,w]),i(function(){return e(E)&&p({inst:E}),f(function(){e(E)&&p({inst:E})})},[f]),l(h),h}function e(f){var w=f.getSnapshot;f=f.value;try{var h=w();return!n(f,h)}catch{return!0}}function r(f,w){return w()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var s=C,n=typeof Object.is=="function"?Object.is:t,o=s.useState,i=s.useEffect,a=s.useLayoutEffect,l=s.useDebugValue,c=!1,B=!1,u=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?r:A;ns.useSyncExternalStore=s.useSyncExternalStore!==void 0?s.useSyncExternalStore:u,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),ns}var kn;function Wa(){return kn||(kn=1,process.env.NODE_ENV==="production"?qt.exports=Pa():qt.exports=Xa()),qt.exports}var Pn=Wa();const Xn=0,Wn=1,Jn=2,jn=3;var Yn=Object.prototype.hasOwnProperty;function os(t,A){var e,r;if(t===A)return!0;if(t&&A&&(e=t.constructor)===A.constructor){if(e===Date)return t.getTime()===A.getTime();if(e===RegExp)return t.toString()===A.toString();if(e===Array){if((r=t.length)===A.length)for(;r--&&os(t[r],A[r]););return r===-1}if(!e||typeof t=="object"){r=0;for(e in t)if(Yn.call(t,e)&&++r&&!Yn.call(A,e)||!(e in A)||!os(t[e],A[e]))return!1;return Object.keys(A).length===r}}return t!==t&&A!==A}const ge=new WeakMap,ue=()=>{},SA=ue(),is=Object,G=t=>t===SA,ne=t=>typeof t=="function",Ee=(t,A)=>({...t,...A}),zn=t=>ne(t.then),as={},Ar={},cs="undefined",pt=typeof window!=cs,ls=typeof document!=cs,Ja=pt&&"Deno"in window,ja=()=>pt&&typeof window.requestAnimationFrame!=cs,Zn=(t,A)=>{const e=ge.get(t);return[()=>!G(A)&&t.get(A)||as,r=>{if(!G(A)){const s=t.get(A);A in Ar||(Ar[A]=s),e[5](A,Ee(s,r),s||as)}},e[6],()=>!G(A)&&A in Ar?Ar[A]:!G(A)&&t.get(A)||as]};let Bs=!0;const Ya=()=>Bs,[ds,gs]=pt&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[ue,ue],za=()=>{const t=ls&&document.visibilityState;return G(t)||t!=="hidden"},Za=t=>(ls&&document.addEventListener("visibilitychange",t),ds("focus",t),()=>{ls&&document.removeEventListener("visibilitychange",t),gs("focus",t)}),$a=t=>{const A=()=>{Bs=!0,t()},e=()=>{Bs=!1};return ds("online",A),ds("offline",e),()=>{gs("online",A),gs("offline",e)}},qa={isOnline:Ya,isVisible:za},Ac={initFocus:Za,initReconnect:$a},$n=!C.useId,ze=!pt||Ja,ec=t=>ja()?window.requestAnimationFrame(t):setTimeout(t,1),us=ze?C.useEffect:C.useLayoutEffect,fs=typeof navigator<"u"&&navigator.connection,qn=!ze&&fs&&(["slow-2g","2g"].includes(fs.effectiveType)||fs.saveData),er=new WeakMap,tc=t=>is.prototype.toString.call(t),hs=(t,A)=>t===`[object ${A}]`;let rc=0;const ws=t=>{const A=typeof t,e=tc(t),r=hs(e,"Date"),s=hs(e,"RegExp"),n=hs(e,"Object");let o,i;if(is(t)===t&&!r&&!s){if(o=er.get(t),o)return o;if(o=++rc+"~",er.set(t,o),Array.isArray(t)){for(o="@",i=0;i<t.length;i++)o+=ws(t[i])+",";er.set(t,o)}if(n){o="#";const a=is.keys(t).sort();for(;!G(i=a.pop());)G(t[i])||(o+=i+":"+ws(t[i])+",");er.set(t,o)}}else o=r?t.toJSON():A=="symbol"?t.toString():A=="string"?JSON.stringify(t):""+t;return o},ps=t=>{if(ne(t))try{t=t()}catch{t=""}const A=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?ws(t):"",[t,A]};let sc=0;const Qs=()=>++sc;async function Ao(...t){const[A,e,r,s]=t,n=Ee({populateCache:!0,throwOnError:!0},typeof s=="boolean"?{revalidate:s}:s||{});let o=n.populateCache;const i=n.rollbackOnError;let a=n.optimisticData;const l=u=>typeof i=="function"?i(u):i!==!1,c=n.throwOnError;if(ne(e)){const u=e,f=[],w=A.keys();for(const h of w)!/^\$(inf|sub)\$/.test(h)&&u(A.get(h)._k)&&f.push(h);return Promise.all(f.map(B))}return B(e);async function B(u){const[f]=ps(u);if(!f)return;const[w,h]=Zn(A,f),[m,E,p,x]=ge.get(A),T=()=>{const cA=m[f];return(ne(n.revalidate)?n.revalidate(w().data,u):n.revalidate!==!1)&&(delete p[f],delete x[f],cA&&cA[0])?cA[0](Jn).then(()=>w().data):w().data};if(t.length<3)return T();let F=r,K,_=!1;const AA=Qs();E[f]=[AA,0];const S=!G(a),FA=w(),UA=FA.data,QA=FA._c,eA=G(QA)?UA:QA;if(S&&(a=ne(a)?a(eA,UA):a,h({data:a,_c:eA})),ne(F))try{F=F(eA)}catch(cA){K=cA,_=!0}if(F&&zn(F))if(F=await F.catch(cA=>{K=cA,_=!0}),AA!==E[f][0]){if(_)throw K;return F}else _&&S&&l(K)&&(o=!0,h({data:eA,_c:SA}));if(o&&!_)if(ne(o)){const cA=o(F,eA);h({data:cA,error:SA,_c:SA})}else h({data:F,error:SA,_c:SA});if(E[f][1]=Qs(),Promise.resolve(T()).then(()=>{h({_c:SA})}),_){if(c)throw K;return}return F}}const eo=(t,A)=>{for(const e in t)t[e][0]&&t[e][0](A)},nc=(t,A)=>{if(!ge.has(t)){const e=Ee(Ac,A),r=Object.create(null),s=Ao.bind(SA,t);let n=ue;const o=Object.create(null),i=(c,B)=>{const u=o[c]||[];return o[c]=u,u.push(B),()=>u.splice(u.indexOf(B),1)},a=(c,B,u)=>{t.set(c,B);const f=o[c];if(f)for(const w of f)w(B,u)},l=()=>{if(!ge.has(t)&&(ge.set(t,[r,Object.create(null),Object.create(null),Object.create(null),s,a,i]),!ze)){const c=e.initFocus(setTimeout.bind(SA,eo.bind(SA,r,Xn))),B=e.initReconnect(setTimeout.bind(SA,eo.bind(SA,r,Wn)));n=()=>{c&&c(),B&&B(),ge.delete(t)}}};return l(),[t,s,l,n]}return[t,ge.get(t)[4]]},oc=(t,A,e,r,s)=>{const n=e.errorRetryCount,o=s.retryCount,i=~~((Math.random()+.5)*(1<<(o<8?o:8)))*e.errorRetryInterval;!G(n)&&o>n||setTimeout(r,i,s)},ic=os,[to,ac]=nc(new Map),cc=Ee({onLoadingSlow:ue,onSuccess:ue,onError:ue,onErrorRetry:oc,onDiscarded:ue,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:qn?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:qn?5e3:3e3,compare:ic,isPaused:()=>!1,cache:to,mutate:ac,fallback:{}},qa),lc=(t,A)=>{const e=Ee(t,A);if(A){const{use:r,fallback:s}=t,{use:n,fallback:o}=A;r&&n&&(e.use=r.concat(n)),s&&o&&(e.fallback=Ee(s,o))}return e},Bc=C.createContext({}),dc="$inf$",ro=pt&&window.__SWR_DEVTOOLS_USE__,gc=ro?window.__SWR_DEVTOOLS_USE__:[],uc=()=>{ro&&(window.__SWR_DEVTOOLS_REACT__=C)},fc=t=>ne(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(t[1]===null?t[2]:t[1])||{}],hc=()=>{const t=C.useContext(Bc);return C.useMemo(()=>Ee(cc,t),[t])},wc=t=>(A,e,r)=>t(A,e&&((...n)=>{const[o]=ps(A),[,,,i]=ge.get(to);if(o.startsWith(dc))return e(...n);const a=i[o];return G(a)?e(...n):(delete i[o],a)}),r),pc=gc.concat(wc),Qc=t=>function(...e){const r=hc(),[s,n,o]=fc(e),i=lc(r,o);let a=t;const{use:l}=i,c=(l||[]).concat(pc);for(let B=c.length;B--;)a=c[B](a);return a(s,n||i.fetcher||null,i)},Cc=(t,A,e)=>{const r=A[t]||(A[t]=[]);return r.push(e),()=>{const s=r.indexOf(e);s>=0&&(r[s]=r[r.length-1],r.pop())}};uc();const Cs=C.use||(t=>{switch(t.status){case"pending":throw t;case"fulfilled":return t.value;case"rejected":throw t.reason;default:throw t.status="pending",t.then(A=>{t.status="fulfilled",t.value=A},A=>{t.status="rejected",t.reason=A}),t}}),ms={dedupe:!0},so=Promise.resolve(SA),mc=()=>ue,no=Qc((t,A,e)=>{const{cache:r,compare:s,suspense:n,fallbackData:o,revalidateOnMount:i,revalidateIfStale:a,refreshInterval:l,refreshWhenHidden:c,refreshWhenOffline:B,keepPreviousData:u,strictServerPrefetchWarning:f}=e,[w,h,m,E]=ge.get(r),[p,x]=ps(t),T=C.useRef(!1),F=C.useRef(!1),K=C.useRef(p),_=C.useRef(A),AA=C.useRef(e),S=()=>AA.current,FA=()=>S().isVisible()&&S().isOnline(),[UA,QA,eA,cA]=Zn(r,p),tA=C.useRef({}).current,zA=G(o)?G(e.fallback)?SA:e.fallback[p]:o,OA=(rA,sA)=>{for(const Y in tA){const $=Y;if($==="data"){if(!s(rA[$],sA[$])&&(!G(rA[$])||!s(te,sA[$])))return!1}else if(sA[$]!==rA[$])return!1}return!0},HA=!T.current,Bt=C.useMemo(()=>{const rA=UA(),sA=cA(),Y=BA=>{const q=Ee(BA);return delete q._k,(()=>{if(!p||!A||S().isPaused())return!1;if(HA&&!G(i))return i;const Ne=G(zA)?q.data:zA;return G(Ne)||a})()?{isValidating:!0,isLoading:!0,...q}:q},$=Y(rA),xA=rA===sA?$:Y(sA);let RA=$;return[()=>{const BA=Y(UA());return OA(BA,RA)?(RA.data=BA.data,RA.isLoading=BA.isLoading,RA.isValidating=BA.isValidating,RA.error=BA.error,RA):(RA=BA,BA)},()=>xA]},[r,p]),Be=Pn.useSyncExternalStore(C.useCallback(rA=>eA(p,(sA,Y)=>{OA(Y,sA)||rA()}),[r,p]),Bt[0],Bt[1]),Q=w[p]&&w[p].length>0,D=Be.data,M=G(D)?zA&&zn(zA)?Cs(zA):zA:D,Z=Be.error,WA=C.useRef(M),te=u?G(D)?G(WA.current)?M:WA.current:D:M,k=p&&G(M),VA=C.useRef(null);!ze&&Pn.useSyncExternalStore(mc,()=>(VA.current=!1,VA),()=>(VA.current=!0,VA));const Re=VA.current;f&&Re&&!n&&k&&console.warn(`Missing pre-initiated data for serialized key "${p}" during server-side rendering. Data fetching should be initiated on the server and provided to SWR via fallback data. You can set "strictServerPrefetchWarning: false" to disable this warning.`);const dt=!p||!A||S().isPaused()||Q&&!G(Z)?!1:HA&&!G(i)?i:n?G(M)?!1:a:G(M)||a,CA=HA&&dt,Jt=G(Be.isValidating)?CA:Be.isValidating,In=G(Be.isLoading)?CA:Be.isLoading,Me=C.useCallback(async rA=>{const sA=_.current;if(!p||!sA||F.current||S().isPaused())return!1;let Y,$,xA=!0;const RA=rA||{},BA=!m[p]||!RA.dedupe,q=()=>$n?!F.current&&p===K.current&&T.current:p===K.current,de={isValidating:!1,isLoading:!1},Ne=()=>{QA(de)},Qe=()=>{const KA=m[p];KA&&KA[1]===$&&delete m[p]},ts={isValidating:!0};G(UA().data)&&(ts.isLoading=!0);try{if(BA&&(QA(ts),e.loadingTimeout&&G(UA().data)&&setTimeout(()=>{xA&&q()&&S().onLoadingSlow(p,e)},e.loadingTimeout),m[p]=[sA(x),Qs()]),[Y,$]=m[p],Y=await Y,BA&&setTimeout(Qe,e.dedupingInterval),!m[p]||m[p][1]!==$)return BA&&q()&&S().onDiscarded(p),!1;de.error=SA;const KA=h[p];if(!G(KA)&&($<=KA[0]||$<=KA[1]||KA[1]===0))return Ne(),BA&&q()&&S().onDiscarded(p),!1;const DA=UA().data;de.data=s(DA,Y)?DA:Y,BA&&q()&&S().onSuccess(Y,p,e)}catch(KA){Qe();const DA=S(),{shouldRetryOnError:jt}=DA;DA.isPaused()||(de.error=KA,BA&&q()&&(DA.onError(KA,p,DA),(jt===!0||ne(jt)&&jt(KA))&&(!S().revalidateOnFocus||!S().revalidateOnReconnect||FA())&&DA.onErrorRetry(KA,p,DA,Ye=>{const gt=w[p];gt&>[0]&>[0](jn,Ye)},{retryCount:(RA.retryCount||0)+1,dedupe:!0})))}return xA=!1,Ne(),!0},[p,r]),As=C.useCallback((...rA)=>Ao(r,K.current,...rA),[]);if(us(()=>{_.current=A,AA.current=e,G(D)||(WA.current=D)}),us(()=>{if(!p)return;const rA=Me.bind(SA,ms);let sA=0;S().revalidateOnFocus&&(sA=Date.now()+S().focusThrottleInterval);const $=Cc(p,w,(xA,RA={})=>{if(xA==Xn){const BA=Date.now();S().revalidateOnFocus&&BA>sA&&FA()&&(sA=BA+S().focusThrottleInterval,rA())}else if(xA==Wn)S().revalidateOnReconnect&&FA()&&rA();else{if(xA==Jn)return Me();if(xA==jn)return Me(RA)}});return F.current=!1,K.current=p,T.current=!0,QA({_k:x}),dt&&(m[p]||(G(M)||ze?rA():ec(rA))),()=>{F.current=!0,$()}},[p]),us(()=>{let rA;function sA(){const $=ne(l)?l(UA().data):l;$&&rA!==-1&&(rA=setTimeout(Y,$))}function Y(){!UA().error&&(c||S().isVisible())&&(B||S().isOnline())?Me(ms).then(sA):sA()}return sA(),()=>{rA&&(clearTimeout(rA),rA=-1)}},[l,c,B,p]),C.useDebugValue(te),n){if(!$n&&ze&&k)throw new Error("Fallback data is required when using Suspense in SSR.");k&&(_.current=A,AA.current=e,F.current=!1);const rA=E[p],sA=!G(rA)&&k?As(rA):so;if(Cs(sA),!G(Z)&&k)throw Z;const Y=k?Me(ms):so;!G(te)&&k&&(Y.status="fulfilled",Y.value=!0),Cs(Y)}return{mutate:As,get data(){return tA.data=!0,te},get error(){return tA.error=!0,Z},get isValidating(){return tA.isValidating=!0,Jt},get isLoading(){return tA.isLoading=!0,In}}}),Uc=({children:t})=>{const A=C.useRef(null),[e,r]=C.useState(null);return C.useEffect(()=>{if(A.current&&!A.current.shadowRoot){const s=A.current.attachShadow({mode:"open"});document.querySelectorAll("style[data-vite-dev-id], style:not([data-vite-dev-id])").forEach(i=>{(i.textContent?.includes(".vg-")||i.textContent?.includes("--vg-"))&&s.appendChild(i.cloneNode(!0))});const o=document.createElement("link");o.rel="stylesheet",o.href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap",s.appendChild(o),r(s)}},[]),d.jsx("div",{"data-source-path":"/src/components/ShadowRootWrapper.tsx:38",ref:A,id:"viewgate-shadow-host",style:{position:"relative",zIndex:2147483647},children:e&&Ga.createPortal(t,e)})};const oo=(...t)=>t.filter((A,e,r)=>!!A&&A.trim()!==""&&r.indexOf(A)===e).join(" ").trim();const Fc=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const xc=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(A,e,r)=>r?r.toUpperCase():e.toLowerCase());const io=t=>{const A=xc(t);return A.charAt(0).toUpperCase()+A.slice(1)};var Ec={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const yc=t=>{for(const A in t)if(A.startsWith("aria-")||A==="role"||A==="title")return!0;return!1};const bc=C.forwardRef(({color:t="currentColor",size:A=24,strokeWidth:e=2,absoluteStrokeWidth:r,className:s="",children:n,iconNode:o,...i},a)=>C.createElement("svg",{ref:a,...Ec,width:A,height:A,stroke:t,strokeWidth:r?Number(e)*24/Number(A):e,className:oo("lucide",s),...!n&&!yc(i)&&{"aria-hidden":"true"},...i},[...o.map(([l,c])=>C.createElement(l,c)),...Array.isArray(n)?n:[n]]));const EA=(t,A)=>{const e=C.forwardRef(({className:r,...s},n)=>C.createElement(bc,{ref:n,iconNode:A,className:oo(`lucide-${Fc(io(t))}`,`lucide-${t}`,r),...s}));return e.displayName=io(t),e};const Us=EA("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]);const Hc=EA("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);const ye=EA("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const ao=EA("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);const co=EA("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);const Ic=EA("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const vc=EA("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);const lo=EA("grip-vertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);const Bo=EA("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);const Sc=EA("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);const tr=EA("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]);const Lc=EA("mouse-pointer-2",[["path",{d:"M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z",key:"edeuup"}]]);const Tc=EA("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);const Kc=EA("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);const go=EA("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);const uo=EA("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);const Fs=EA("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Dc={en:{enterMode:"Enter Feedback Mode",exitMode:"Exit Mode",completed:"Completed",feedbackHeader:"Feedback",selectedElement:"Selected element:",line:"Line",placeholder:"Tell us what you'd like to change...",cancel:"Cancel",send:"Send Feedback",submitting:"Submitting...",success:"Your feedback has been submitted successfully!",error:"Failed to submit feedback. Check backend connection.",successHeader:"Success",errorHeader:"Error",preview:"Preview",viewComments:"View Comments",close:"Close",observe:"Observe",pending:"Pending",readyForReview:"Ready for Review",noComments:"No comments found.",deleteConfirm:"Delete comment",completeConfirm:"Mark as completed?",confirmComplete:"The ticket will be marked as completed and archived.",markReady:"Mark as Ready for Review",reopen:"Reopen",review:"Review",confirmDelete:"Are you sure you want to permanently delete this comment? This action cannot be undone.",markReadyConfirm:"Mark as Ready for Review?",confirmMarkReady:"Do you want to mark this comment as ready for review? it will be moved to the review state.",reopenConfirm:"Reopen comment",confirmReopen:"Do you want to set this comment back to pending status?",yes:"Yes, confirm",no:"No, cancel",deleteSuccess:"Comment deleted successfully.",updateSuccess:"Updated successfully.",navigating:"Redirecting to review...",selectToComment:"Click to comment",feedbackSubheader:"What would you like to improve here?",sendFeedback:"Send Comment",edit:"Edit",save:"Save",commentDetails:"Comment Details",annotations:"Comments",viewAll:"View All",exitConfirmTitle:"Close ViewGate?",exitConfirmMessage:"Are you sure you want to close ViewGate? You can reopen it at any time by adding ?viewgate=true to your URL.",backlog:"Backlog",low:"Low",medium:"Medium",high:"High",urgent:"Urgent",priority:"Priority",login:"Login with Google",authenticating:"Authenticating...",selectMember:"Select who you are to comment",asMember:"Commenting as",changeMember:"Change"},es:{enterMode:"Activar Modo Comentarios",exitMode:"Salir del Modo",completed:"Completado",feedbackHeader:"Comentarios",selectedElement:"Elemento seleccionado:",line:"Línea",placeholder:"Cuéntanos qué te gustaría cambiar...",cancel:"Cancelar",send:"Enviar Comentarios",submitting:"Enviando...",success:"¡Tus comentarios se han enviado con éxito!",error:"Error al enviar comentarios. Revisa la conexión con el servidor.",successHeader:"Éxito",errorHeader:"Error",preview:"Vista previa",viewComments:"Ver Comentarios",close:"Cerrar",observe:"Observar",pending:"Pendiente",readyForReview:"Listo para revisión",noComments:"No hay comentarios.",deleteConfirm:"Eliminar comentario",completeConfirm:"¿Completar ticket?",confirmComplete:"El ticket se marcará como completado y se archivará.",markReady:"Marcar como Listo para revisión",reopen:"Reabrir",review:"Revisar",confirmDelete:"¿Estás seguro de que deseas eliminar permanentemente este comentario? Esta acción no se puede deshacer.",markReadyConfirm:"¿Listo para revisión?",confirmMarkReady:"¿Deseas marcar este comentario como listo para revisión? Pasará al estado de revisión.",reopenConfirm:"Reabrir comentario",confirmReopen:"¿Deseas volver a poner este comentario en estado pendiente?",yes:"Sí, confirmar",no:"No, cancelar",deleteSuccess:"El comentario ha sido eliminado.",updateSuccess:"Actualizado correctamente.",navigating:"Redirigiendo a revisión...",selectToComment:"Haz clic para comentar",feedbackSubheader:"¿Qué te gustaría mejorar aquí?",sendFeedback:"Enviar Comentario",edit:"Editar",save:"Guardar",commentDetails:"Detalles del Comentario",annotations:"Comentarios",viewAll:"Ver Todos",exitConfirmTitle:"¿Cerrar ViewGate?",exitConfirmMessage:"¿Estás seguro de que deseas cerrar ViewGate? Puedes volver a activarlo en cualquier momento agregando ?viewgate=true a la URL.",backlog:"Backlog",low:"Baja",medium:"Media",high:"Alta",urgent:"Urgente",priority:"Prioridad",login:"Iniciar sesión con Google",authenticating:"Autenticando...",selectMember:"Selecciona quién eres para comentar",asMember:"Comentando como",changeMember:"Cambiar"}},fo=C.createContext(void 0),ho=()=>{const t=C.useContext(fo);if(!t)throw new Error("useViewGate must be used within a ViewGateProvider");return t},Qt="viewgate_enabled",Oc=()=>{if(typeof window>"u")return!1;const t=new URLSearchParams(window.location.search);return t.has("viewgate")||t.has("viewgate-backlog")?(sessionStorage.setItem(Qt,"true"),!0):sessionStorage.getItem(Qt)==="true"},Rc=({children:t,language:A="es",apiKey:e,baseUrl:r="https://view-gate.vercel.app",dashboardUrl:s})=>{const n=s||(r==="https://view-gate.vercel.app"?"https://view-gate-dashboard.vercel.app":r),[o,i]=C.useState(!1),[a,l]=C.useState([]);C.useRef(0);const c=C.useRef(null),B=C.useRef(!1);C.useEffect(()=>{i(Oc());const h=E=>{E.key==="Alt"&&!E.repeat&&(E.preventDefault(),B.current=!1,c.current&&clearTimeout(c.current),c.current=setTimeout(()=>{const p=new URL(window.location.href);p.searchParams.delete("viewgate"),p.searchParams.set("viewgate-backlog","true"),window.history.replaceState({},"",p.toString()),i(!0),sessionStorage.setItem(Qt,"true"),window.dispatchEvent(new PopStateEvent("popstate")),f(A==="es"?"Modo Backlog activado":"Backlog Mode activated","success"),B.current=!0,c.current=null},1e3))},m=E=>{if(E.key==="Alt"&&(E.preventDefault(),c.current)){clearTimeout(c.current),c.current=null;const p=new URL(window.location.href);p.searchParams.delete("viewgate-backlog"),p.searchParams.set("viewgate","true"),window.history.replaceState({},"",p.toString()),i(!0),sessionStorage.setItem(Qt,"true"),window.dispatchEvent(new PopStateEvent("popstate")),f(A==="es"?"Modo Normal activado":"Normal Mode activated","success")}};return window.addEventListener("keydown",h),window.addEventListener("keyup",m),()=>{window.removeEventListener("keydown",h),window.removeEventListener("keyup",m)}},[A]);const u=()=>{if(sessionStorage.removeItem(Qt),i(!1),typeof window<"u"){const h=new URL(window.location.href);h.searchParams.delete("viewgate"),window.history.replaceState({},"",h.toString())}},f=(h,m)=>{const E=Date.now();l(p=>[...p,{id:E,message:h,type:m}]),setTimeout(()=>{l(p=>p.filter(x=>x.id!==E))},4e3)},w=Dc[A];return d.jsxs(fo.Provider,{"data-source-path":"/src/components/ViewGateProvider.tsx:332",value:{addToast:f,language:A,t:w,apiKey:e,baseUrl:r,dashboardUrl:n,disableViewGate:u,hasActiveToasts:a.length>0},children:[t,o&&d.jsx(Uc,{"data-source-path":"/src/components/ViewGateProvider.tsx:344",children:d.jsxs("div",{"data-source-path":"/src/components/ViewGateProvider.tsx:345",className:"vg-container",children:[d.jsx(Da,{"data-source-path":"/src/components/ViewGateProvider.tsx:346"}),d.jsx("div",{"data-source-path":"/src/components/ViewGateProvider.tsx:347",className:"vg-toasts",style:{zIndex:2147483647},children:a.map(h=>d.jsxs("div",{"data-source-path":"/src/components/ViewGateProvider.tsx:349",className:`vg-toast vg-animate-slide ${h.type}`,children:[h.type==="success"?d.jsx(ye,{"data-source-path":"/src/components/ViewGateProvider.tsx:351",size:24,color:"#22c55e"}):d.jsx(Hc,{"data-source-path":"/src/components/ViewGateProvider.tsx:353",size:24,color:"#ef4444"}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateProvider.tsx:355",children:[d.jsx("strong",{"data-source-path":"/src/components/ViewGateProvider.tsx:356",style:{display:"block",fontSize:"13px",color:"#0f172a",textTransform:"uppercase",marginBottom:"2px"},children:h.type==="success"?w.successHeader:w.errorHeader}),d.jsx("span",{"data-source-path":"/src/components/ViewGateProvider.tsx:359",style:{fontSize:"14px",color:"#000000"},children:h.message})]})]},h.id))})]})})]})};class LA{constructor(A,e,r,s){this.left=A,this.top=e,this.width=r,this.height=s}add(A,e,r,s){return new LA(this.left+A,this.top+e,this.width+r,this.height+s)}static fromClientRect(A,e){return new LA(e.left+A.windowBounds.left,e.top+A.windowBounds.top,e.width,e.height)}static fromDOMRectList(A,e){const r=Array.from(e);let s=r.find(n=>n.width!==0);return s||(s=r.find(n=>n.height!==0)),!s&&r.length>0&&(s=r[0]),s?new LA(s.left+A.windowBounds.left,s.top+A.windowBounds.top,s.width,s.height):LA.EMPTY}}LA.EMPTY=new LA(0,0,0,0);const rr=(t,A)=>LA.fromClientRect(t,A.getBoundingClientRect()),Mc=t=>{const A=t.body,e=t.documentElement;if(!A||!e)throw new Error("Unable to get document size");const r=Math.max(Math.max(A.scrollWidth,e.scrollWidth),Math.max(A.offsetWidth,e.offsetWidth),Math.max(A.clientWidth,e.clientWidth)),s=Math.max(Math.max(A.scrollHeight,e.scrollHeight),Math.max(A.offsetHeight,e.offsetHeight),Math.max(A.clientHeight,e.clientHeight));return new LA(0,0,r,s)};for(var sr=function(t){for(var A=[],e=0,r=t.length;e<r;){var s=t.charCodeAt(e++);if(s>=55296&&s<=56319&&e<r){var n=t.charCodeAt(e++);(n&64512)===56320?A.push(((s&1023)<<10)+(n&1023)+65536):(A.push(s),e--)}else A.push(s)}return A},gA=function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var e=t.length;if(!e)return"";for(var r=[],s=-1,n="";++s<e;){var o=t[s];o<=65535?r.push(o):(o-=65536,r.push((o>>10)+55296,o%1024+56320)),(s+1===e||r.length>16384)&&(n+=String.fromCharCode.apply(String,r),r.length=0)}return n},wo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Nc=typeof Uint8Array>"u"?[]:new Uint8Array(256),nr=0;nr<wo.length;nr++)Nc[wo.charCodeAt(nr)]=nr;for(var po="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ct=typeof Uint8Array>"u"?[]:new Uint8Array(256),or=0;or<po.length;or++)Ct[po.charCodeAt(or)]=or;for(var Gc=function(t){var A=t.length*.75,e=t.length,r,s=0,n,o,i,a;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),c=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<e;r+=4)n=Ct[t.charCodeAt(r)],o=Ct[t.charCodeAt(r+1)],i=Ct[t.charCodeAt(r+2)],a=Ct[t.charCodeAt(r+3)],c[s++]=n<<2|o>>4,c[s++]=(o&15)<<4|i>>2,c[s++]=(i&3)<<6|a&63;return l},Vc=function(t){for(var A=t.length,e=[],r=0;r<A;r+=2)e.push(t[r+1]<<8|t[r]);return e},_c=function(t){for(var A=t.length,e=[],r=0;r<A;r+=4)e.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return e},Ge=5,xs=11,Es=2,kc=xs-Ge,Qo=65536>>Ge,Pc=1<<Ge,ys=Pc-1,Xc=1024>>Ge,Wc=Qo+Xc,Jc=Wc,jc=32,Yc=Jc+jc,zc=65536>>xs,Zc=1<<kc,$c=Zc-1,Co=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},qc=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},Al=function(t,A){var e=Gc(t),r=Array.isArray(e)?_c(e):new Uint32Array(e),s=Array.isArray(e)?Vc(e):new Uint16Array(e),n=24,o=Co(s,n/2,r[4]/2),i=r[5]===2?Co(s,(n+r[4])/2):qc(r,Math.ceil((n+r[4])/4));return new el(r[0],r[1],r[2],r[3],o,i)},el=(function(){function t(A,e,r,s,n,o){this.initialValue=A,this.errorValue=e,this.highStart=r,this.highValueIndex=s,this.index=n,this.data=o}return t.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>Ge],e=(e<<Es)+(A&ys),this.data[e];if(A<=65535)return e=this.index[Qo+(A-55296>>Ge)],e=(e<<Es)+(A&ys),this.data[e];if(A<this.highStart)return e=Yc-zc+(A>>xs),e=this.index[e],e+=A>>Ge&$c,e=this.index[e],e=(e<<Es)+(A&ys),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t})(),mo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",tl=typeof Uint8Array>"u"?[]:new Uint8Array(256),ir=0;ir<mo.length;ir++)tl[mo.charCodeAt(ir)]=ir;var rl="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsByw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4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwA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AAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB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gAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFA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AAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFc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EsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAA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UABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAe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AQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAe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AJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",Uo=50,sl=1,Fo=2,xo=3,nl=4,ol=5,Eo=7,yo=8,bo=9,be=10,bs=11,Ho=12,Hs=13,il=14,mt=15,Is=16,ar=17,Ut=18,al=19,Io=20,vs=21,Ft=22,Ss=23,Ze=24,PA=25,xt=26,Et=27,$e=28,cl=29,Ve=30,ll=31,cr=32,lr=33,Ls=34,Ts=35,Ks=36,yt=37,Ds=38,Br=39,dr=40,Os=41,vo=42,Bl=43,dl=[9001,65288],So="!",V="×",gr="÷",Rs=Al(rl),fe=[Ve,Ks],Ms=[sl,Fo,xo,ol],Lo=[be,yo],To=[Et,xt],gl=Ms.concat(Lo),Ko=[Ds,Br,dr,Ls,Ts],ul=[mt,Hs],fl=function(t,A){A===void 0&&(A="strict");var e=[],r=[],s=[];return t.forEach(function(n,o){var i=Rs.get(n);if(i>Uo?(s.push(!0),i-=Uo):s.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(n)!==-1)return r.push(o),e.push(Is);if(i===nl||i===bs){if(o===0)return r.push(o),e.push(Ve);var a=e[o-1];return gl.indexOf(a)===-1?(r.push(r[o-1]),e.push(a)):(r.push(o),e.push(Ve))}if(r.push(o),i===ll)return e.push(A==="strict"?vs:yt);if(i===vo||i===cl)return e.push(Ve);if(i===Bl)return n>=131072&&n<=196605||n>=196608&&n<=262141?e.push(yt):e.push(Ve);e.push(i)}),[r,e,s]},Ns=function(t,A,e,r){var s=r[e];if(Array.isArray(t)?t.indexOf(s)!==-1:t===s)for(var n=e;n<=r.length;){n++;var o=r[n];if(o===A)return!0;if(o!==be)break}if(s===be)for(var n=e;n>0;){n--;var i=r[n];if(Array.isArray(t)?t.indexOf(i)!==-1:t===i)for(var a=e;a<=r.length;){a++;var o=r[a];if(o===A)return!0;if(o!==be)break}if(i!==be)break}return!1},Do=function(t,A){for(var e=t;e>=0;){var r=A[e];if(r===be)e--;else return r}return 0},hl=function(t,A,e,r,s){if(e[r]===0)return V;var n=r-1;if(Array.isArray(s)&&s[n]===!0)return V;var o=n-1,i=n+1,a=A[n],l=o>=0?A[o]:0,c=A[i];if(a===Fo&&c===xo)return V;if(Ms.indexOf(a)!==-1)return So;if(Ms.indexOf(c)!==-1||Lo.indexOf(c)!==-1)return V;if(Do(n,A)===yo)return gr;if(Rs.get(t[n])===bs||(a===cr||a===lr)&&Rs.get(t[i])===bs||a===Eo||c===Eo||a===bo||[be,Hs,mt].indexOf(a)===-1&&c===bo||[ar,Ut,al,Ze,$e].indexOf(c)!==-1||Do(n,A)===Ft||Ns(Ss,Ft,n,A)||Ns([ar,Ut],vs,n,A)||Ns(Ho,Ho,n,A))return V;if(a===be)return gr;if(a===Ss||c===Ss)return V;if(c===Is||a===Is)return gr;if([Hs,mt,vs].indexOf(c)!==-1||a===il||l===Ks&&ul.indexOf(a)!==-1||a===$e&&c===Ks||c===Io||fe.indexOf(c)!==-1&&a===PA||fe.indexOf(a)!==-1&&c===PA||a===Et&&[yt,cr,lr].indexOf(c)!==-1||[yt,cr,lr].indexOf(a)!==-1&&c===xt||fe.indexOf(a)!==-1&&To.indexOf(c)!==-1||To.indexOf(a)!==-1&&fe.indexOf(c)!==-1||[Et,xt].indexOf(a)!==-1&&(c===PA||[Ft,mt].indexOf(c)!==-1&&A[i+1]===PA)||[Ft,mt].indexOf(a)!==-1&&c===PA||a===PA&&[PA,$e,Ze].indexOf(c)!==-1)return V;if([PA,$e,Ze,ar,Ut].indexOf(c)!==-1)for(var B=n;B>=0;){var u=A[B];if(u===PA)return V;if([$e,Ze].indexOf(u)!==-1)B--;else break}if([Et,xt].indexOf(c)!==-1)for(var B=[ar,Ut].indexOf(a)!==-1?o:n;B>=0;){var u=A[B];if(u===PA)return V;if([$e,Ze].indexOf(u)!==-1)B--;else break}if(Ds===a&&[Ds,Br,Ls,Ts].indexOf(c)!==-1||[Br,Ls].indexOf(a)!==-1&&[Br,dr].indexOf(c)!==-1||[dr,Ts].indexOf(a)!==-1&&c===dr||Ko.indexOf(a)!==-1&&[Io,xt].indexOf(c)!==-1||Ko.indexOf(c)!==-1&&a===Et||fe.indexOf(a)!==-1&&fe.indexOf(c)!==-1||a===Ze&&fe.indexOf(c)!==-1||fe.concat(PA).indexOf(a)!==-1&&c===Ft&&dl.indexOf(t[i])===-1||fe.concat(PA).indexOf(c)!==-1&&a===Ut)return V;if(a===Os&&c===Os){for(var f=e[n],w=1;f>0&&(f--,A[f]===Os);)w++;if(w%2!==0)return V}return a===cr&&c===lr?V:gr},wl=function(t,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var e=fl(t,A.lineBreak),r=e[0],s=e[1],n=e[2];(A.wordBreak==="break-all"||A.wordBreak==="break-word")&&(s=s.map(function(i){return[PA,Ve,vo].indexOf(i)!==-1?yt:i}));var o=A.wordBreak==="keep-all"?n.map(function(i,a){return i&&t[a]>=19968&&t[a]<=40959}):void 0;return[r,s,o]},pl=(function(){function t(A,e,r,s){this.codePoints=A,this.required=e===So,this.start=r,this.end=s}return t.prototype.slice=function(){return gA.apply(void 0,this.codePoints.slice(this.start,this.end))},t})(),Ql=function(t,A){var e=sr(t),r=wl(e,A),s=r[0],n=r[1],o=r[2],i=e.length,a=0,l=0;return{next:function(){if(l>=i)return{done:!0,value:null};for(var c=V;l<i&&(c=hl(e,n,s,++l,o))===V;);if(c!==V||l===i){var B=new pl(e,c,a,l);return a=l,{value:B,done:!1}}return{done:!0,value:null}}}};const Cl=1,ml=2,qe=4,Oo=8,ur=10,Ro=47,bt=92,Ul=9,Fl=32,fr=34,Ht=61,xl=35,El=36,yl=37,hr=39,wr=40,It=41,bl=95,MA=45,Hl=33,Il=60,vl=62,Sl=64,Ll=91,Tl=93,Kl=61,Dl=123,pr=63,Ol=125,Mo=124,Rl=126,Ml=128,No=65533,Gs=42,_e=43,Nl=44,Gl=58,Vl=59,vt=46,_l=0,kl=8,Pl=11,Xl=14,Wl=31,Jl=127,oe=-1,Go=48,Vo=97,_o=101,jl=102,Yl=117,zl=122,ko=65,Po=69,Xo=70,Zl=85,$l=90,TA=t=>t>=Go&&t<=57,ql=t=>t>=55296&&t<=57343,At=t=>TA(t)||t>=ko&&t<=Xo||t>=Vo&&t<=jl,AB=t=>t>=Vo&&t<=zl,eB=t=>t>=ko&&t<=$l,tB=t=>AB(t)||eB(t),rB=t=>t>=Ml,Qr=t=>t===ur||t===Ul||t===Fl,Cr=t=>tB(t)||rB(t)||t===bl,Wo=t=>Cr(t)||TA(t)||t===MA,sB=t=>t>=_l&&t<=kl||t===Pl||t>=Xl&&t<=Wl||t===Jl,He=(t,A)=>t!==bt?!1:A!==ur,mr=(t,A,e)=>t===MA?Cr(A)||He(A,e):Cr(t)?!0:!!(t===bt&&He(t,A)),Vs=(t,A,e)=>t===_e||t===MA?TA(A)?!0:A===vt&&TA(e):TA(t===vt?A:t),nB=t=>{let A=0,e=1;(t[A]===_e||t[A]===MA)&&(t[A]===MA&&(e=-1),A++);const r=[];for(;TA(t[A]);)r.push(t[A++]);const s=r.length?parseInt(gA(...r),10):0;t[A]===vt&&A++;const n=[];for(;TA(t[A]);)n.push(t[A++]);const o=n.length,i=o?parseInt(gA(...n),10):0;(t[A]===Po||t[A]===_o)&&A++;let a=1;(t[A]===_e||t[A]===MA)&&(t[A]===MA&&(a=-1),A++);const l=[];for(;TA(t[A]);)l.push(t[A++]);const c=l.length?parseInt(gA(...l),10):0;return e*(s+i*Math.pow(10,-o))*Math.pow(10,a*c)},oB={type:2},iB={type:3},aB={type:4},cB={type:13},lB={type:8},BB={type:21},dB={type:9},gB={type:10},uB={type:11},fB={type:12},hB={type:14},Ur={type:23},wB={type:1},pB={type:25},QB={type:24},CB={type:26},mB={type:27},UB={type:28},FB={type:29},xB={type:31},_s={type:32};class Jo{constructor(){this._value=[]}write(A){this._value=this._value.concat(sr(A))}read(){const A=[];let e=this.consumeToken();for(;e!==_s;)A.push(e),e=this.consumeToken();return A}consumeToken(){const A=this.consumeCodePoint();switch(A){case fr:return this.consumeStringToken(fr);case xl:const e=this.peekCodePoint(0),r=this.peekCodePoint(1),s=this.peekCodePoint(2);if(Wo(e)||He(r,s)){const f=mr(e,r,s)?ml:Cl;return{type:5,value:this.consumeName(),flags:f}}break;case El:if(this.peekCodePoint(0)===Ht)return this.consumeCodePoint(),cB;break;case hr:return this.consumeStringToken(hr);case wr:return oB;case It:return iB;case Gs:if(this.peekCodePoint(0)===Ht)return this.consumeCodePoint(),hB;break;case _e:if(Vs(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Nl:return aB;case MA:const n=A,o=this.peekCodePoint(0),i=this.peekCodePoint(1);if(Vs(n,o,i))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(mr(n,o,i))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(o===MA&&i===vl)return this.consumeCodePoint(),this.consumeCodePoint(),QB;break;case vt:if(Vs(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Ro:if(this.peekCodePoint(0)===Gs)for(this.consumeCodePoint();;){let f=this.consumeCodePoint();if(f===Gs&&(f=this.consumeCodePoint(),f===Ro))return this.consumeToken();if(f===oe)return this.consumeToken()}break;case Gl:return CB;case Vl:return mB;case Il:if(this.peekCodePoint(0)===Hl&&this.peekCodePoint(1)===MA&&this.peekCodePoint(2)===MA)return this.consumeCodePoint(),this.consumeCodePoint(),pB;break;case Sl:const a=this.peekCodePoint(0),l=this.peekCodePoint(1),c=this.peekCodePoint(2);if(mr(a,l,c))return{type:7,value:this.consumeName()};break;case Ll:return UB;case bt:if(He(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case Tl:return FB;case Kl:if(this.peekCodePoint(0)===Ht)return this.consumeCodePoint(),lB;break;case Dl:return uB;case Ol:return fB;case Yl:case Zl:const B=this.peekCodePoint(0),u=this.peekCodePoint(1);return B===_e&&(At(u)||u===pr)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case Mo:if(this.peekCodePoint(0)===Ht)return this.consumeCodePoint(),dB;if(this.peekCodePoint(0)===Mo)return this.consumeCodePoint(),BB;break;case Rl:if(this.peekCodePoint(0)===Ht)return this.consumeCodePoint(),gB;break;case oe:return _s}return Qr(A)?(this.consumeWhiteSpace(),xB):TA(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):Cr(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:gA(A)}}consumeCodePoint(){const A=this._value.shift();return typeof A>"u"?-1:A}reconsumeCodePoint(A){this._value.unshift(A)}peekCodePoint(A){return A>=this._value.length?-1:this._value[A]}consumeUnicodeRangeToken(){const A=[];let e=this.consumeCodePoint();for(;At(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();let r=!1;for(;e===pr&&A.length<6;)A.push(e),e=this.consumeCodePoint(),r=!0;if(r){const n=parseInt(gA(...A.map(i=>i===pr?Go:i)),16),o=parseInt(gA(...A.map(i=>i===pr?Xo:i)),16);return{type:30,start:n,end:o}}const s=parseInt(gA(...A),16);if(this.peekCodePoint(0)===MA&&At(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();const n=[];for(;At(e)&&n.length<6;)n.push(e),e=this.consumeCodePoint();const o=parseInt(gA(...n),16);return{type:30,start:s,end:o}}else return{type:30,start:s,end:s}}consumeIdentLikeToken(){const A=this.consumeName();return A.toLowerCase()==="url"&&this.peekCodePoint(0)===wr?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===wr?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}}consumeUrlToken(){const A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===oe)return{type:22,value:""};const e=this.peekCodePoint(0);if(e===hr||e===fr){const r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===oe||this.peekCodePoint(0)===It)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),Ur)}for(;;){const r=this.consumeCodePoint();if(r===oe||r===It)return{type:22,value:gA(...A)};if(Qr(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===oe||this.peekCodePoint(0)===It?(this.consumeCodePoint(),{type:22,value:gA(...A)}):(this.consumeBadUrlRemnants(),Ur);if(r===fr||r===hr||r===wr||sB(r))return this.consumeBadUrlRemnants(),Ur;if(r===bt)if(He(r,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Ur;else A.push(r)}}consumeWhiteSpace(){for(;Qr(this.peekCodePoint(0));)this.consumeCodePoint()}consumeBadUrlRemnants(){for(;;){const A=this.consumeCodePoint();if(A===It||A===oe)return;He(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}}consumeStringSlice(A){let r="";for(;A>0;){const s=Math.min(5e4,A);r+=gA(...this._value.splice(0,s)),A-=s}return this._value.shift(),r}consumeStringToken(A){let e="",r=0;do{const s=this._value[r];if(s===oe||s===void 0||s===A)return e+=this.consumeStringSlice(r),{type:0,value:e};if(s===ur)return this._value.splice(0,r),wB;if(s===bt){const n=this._value[r+1];n!==oe&&n!==void 0&&(n===ur?(e+=this.consumeStringSlice(r),r=-1,this._value.shift()):He(s,n)&&(e+=this.consumeStringSlice(r),e+=gA(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)}consumeNumber(){const A=[];let e=qe,r=this.peekCodePoint(0);for((r===_e||r===MA)&&A.push(this.consumeCodePoint());TA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0);let s=this.peekCodePoint(1);if(r===vt&&TA(s))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=Oo;TA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0),s=this.peekCodePoint(1);const n=this.peekCodePoint(2);if((r===Po||r===_o)&&((s===_e||s===MA)&&TA(n)||TA(s)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=Oo;TA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[nB(A),e]}consumeNumericToken(){const[A,e]=this.consumeNumber(),r=this.peekCodePoint(0),s=this.peekCodePoint(1),n=this.peekCodePoint(2);if(mr(r,s,n)){const o=this.consumeName();return{type:15,number:A,flags:e,unit:o}}return r===yl?(this.consumeCodePoint(),{type:16,number:A,flags:e}):{type:17,number:A,flags:e}}consumeEscapedCodePoint(){const A=this.consumeCodePoint();if(At(A)){let e=gA(A);for(;At(this.peekCodePoint(0))&&e.length<6;)e+=gA(this.consumeCodePoint());Qr(this.peekCodePoint(0))&&this.consumeCodePoint();const r=parseInt(e,16);return r===0||ql(r)||r>1114111?No:r}return A===oe?No:A}consumeName(){let A="";for(;;){const e=this.consumeCodePoint();if(Wo(e))A+=gA(e);else if(He(e,this.peekCodePoint(0)))A+=gA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(e),A}}}class et{constructor(A){this._tokens=A}static create(A){const e=new Jo;return e.write(A),new et(e.read())}static parseValue(A){return et.create(A).parseComponentValue()}static parseValues(A){return et.create(A).parseComponentValues()}parseComponentValue(){let A=this.consumeToken();for(;A.type===31;)A=this.consumeToken();if(A.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);const e=this.consumeComponentValue();do A=this.consumeToken();while(A.type===31);if(A.type===32)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")}parseComponentValues(){const A=[];for(;;){const e=this.consumeComponentValue();if(e.type===32)return A;A.push(e),A.push()}}consumeComponentValue(){const A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A}consumeSimpleBlock(A){const e={type:A,values:[]};let r=this.consumeToken();for(;;){if(r.type===32||yB(r,A))return e;this.reconsumeToken(r),e.values.push(this.consumeComponentValue()),r=this.consumeToken()}}consumeFunction(A){const e={name:A.value,values:[],type:18};for(;;){const r=this.consumeToken();if(r.type===32||r.type===3)return e;this.reconsumeToken(r),e.values.push(this.consumeComponentValue())}}consumeToken(){const A=this._tokens.shift();return typeof A>"u"?_s:A}reconsumeToken(A){this._tokens.unshift(A)}}const ie=t=>t.type===15,wA=t=>t.type===17,R=t=>t.type===20,EB=t=>t.type===0,St=(t,A)=>R(t)&&t.value===A,Fr=t=>t.type!==31,yA=t=>t.type!==31&&t.type!==4,$A=t=>{const A=[];let e=[];return t.forEach(r=>{if(r.type===4){if(e.length===0)throw new Error("Error parsing function args, zero tokens for arg");A.push(e),e=[];return}r.type!==31&&e.push(r)}),e.length&&A.push(e),A},yB=(t,A)=>A===11&&t.type===12||A===28&&t.type===29?!0:A===2&&t.type===3,lA=(t,A,e)=>Math.min(Math.max(t,A),e),NA=(t,A)=>[t[0]*A[0]+t[1]*A[1]+t[2]*A[2],t[3]*A[0]+t[4]*A[1]+t[5]*A[2],t[6]*A[0]+t[7]*A[1]+t[8]*A[2]],Ie=t=>NA([3.2409699419045226,-1.537383177570094,-.4986107602930034,-.9692436362808796,1.8759675015077202,.04155505740717559,.05563007969699366,-.20397695888897652,1.0569715142428786],t),ks=t=>NA([.41239079926595934,.357584339383878,.1804807884018343,.21263900587151027,.715168678767756,.07219231536073371,.01933081871559182,.11919477979462598,.9505321522496607],t),ke=t=>t.map(A=>{const e=A<0?-1:1,r=Math.abs(A);return r>.0031308?e*(1.055*r**(1/2.4)-.055):12.92*A}),Ps=t=>t.map(A=>{const e=A<0?-1:1,r=Math.abs(A);return r<=.04045?A/12.92:e*((r+.055)/1.055)**2.4}),bB=t=>{const[A,e,r]=ke(Ie([t[0],t[1],t[2]]));return[A,e,r,t[3]]},HB=t=>{const[A,e,r]=Ie([t[0],t[1],t[2]]);return[lA(Math.round(A*255),0,255),lA(Math.round(e*255),0,255),lA(Math.round(r*255),0,255),t[3]]},ve=t=>t.type===17||t.type===15,j=t=>t.type===16||ve(t),IB=t=>t.type===18&&t.name==="calc",vB=(t,A=0)=>{const e=r=>{let s="";for(const n of r)if(n.type!==31){if(n.type===18)if(n.name==="calc"){const o=e(n.values);if(o===null)return null;s+=`(${o})`}else return null;else if(n.type===17)s+=n.number.toString();else if(n.type===15)n.unit==="px"?s+=n.number.toString():n.unit==="rem"||n.unit==="em"?s+=(n.number*16).toString():s+=n.number.toString();else if(n.type===16)s+=(n.number/100*A).toString();else if(n.type===6){const o=n.value;o==="+"||o==="-"||o==="*"||o==="/"?s+=` ${o} `:o==="("?s+="(":o===")"&&(s+=")")}}return s};try{const r=e(t.values);if(r===null||r.trim()==="")return null;const s=new Function("return "+r)();if(typeof s=="number"&&!isNaN(s))return{type:17,number:s,flags:qe}}catch{return null}return null},jo=t=>t.length>1?[t[0],t[1]]:[t[0]],pA={type:17,number:0,flags:qe},Pe={type:16,number:50,flags:qe},ae={type:16,number:100,flags:qe},Lt=(t,A,e)=>{const[r,s]=t;return[O(r,A),O(typeof s<"u"?s:r,e)]},O=(t,A)=>{if(t.type===16)return t.number/100*A;if(ie(t))switch(t.unit){case"rem":case"em":return 16*t.number;default:return t.number}return t.number},Yo="deg",zo="grad",Zo="rad",$o="turn",tt={name:"angle",parse:(t,A)=>{if(A.type===15)switch(A.unit){case Yo:return Math.PI*A.number/180;case zo:return Math.PI/200*A.number;case Zo:return A.number;case $o:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},qo=t=>t.type===15&&(t.unit===Yo||t.unit===zo||t.unit===Zo||t.unit===$o),Ai=t=>{switch(t.filter(R).map(e=>e.value).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[pA,pA];case"to top":case"bottom":return JA(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[pA,ae];case"to right":case"left":return JA(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[ae,ae];case"to bottom":case"top":return JA(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[ae,pA];case"to left":case"right":return JA(270)}return 0},JA=t=>Math.PI*t/180,Se=t=>(255&t)===0,oA=t=>{const A=255&t,e=255&t>>8,r=255&t>>16,s=255&t>>24;return A<255?`rgba(${s},${r},${e},${A/255})`:`rgb(${s},${r},${e})`},qA=(t,A,e,r)=>(t<<24|A<<16|e<<8|Math.round(r*255)<<0)>>>0,Le=(t,A)=>{if(t.type===17)return t.number;if(t.type===16){const e=A===3?1:255;return A===3?t.number/100*e:Math.round(t.number/100*e)}return 0},Xe=t=>(t[0].type===20?t[0].value:"unknown")==="from",SB=t=>qA(lA(Math.round(t[0]*255),0,255),lA(Math.round(t[1]*255),0,255),lA(Math.round(t[2]*255),0,255),lA(t[3],0,1)),Xs=([t,A,e,r])=>{const s=ke([t,A,e]);return qA(lA(Math.round(s[0]*255),0,255),lA(Math.round(s[1]*255),0,255),lA(Math.round(s[2]*255),0,255),r)},Tt=t=>{const A=Ie([t[0],t[1],t[2]]);return Xs([A[0],A[1],A[2],t[3]])},LB=(t,A)=>{if(Xe(A.filter(yA)))throw new Error("Relative color not supported for lab()");const[e,r,s,n]=xr(A),o=ke(Ie(br([e,r,s])));return qA(lA(Math.round(o[0]*255),0,255),lA(Math.round(o[1]*255),0,255),lA(Math.round(o[2]*255),0,255),n)},TB=(t,A)=>{if(Xe(A.filter(yA)))throw new Error("Relative color not supported for oklab()");const[e,r,s,n]=xr(A),o=ke(Ie(yr([e,r,s])));return qA(lA(Math.round(o[0]*255),0,255),lA(Math.round(o[1]*255),0,255),lA(Math.round(o[2]*255),0,255),n)},KB=(t,A)=>{if(Xe(A.filter(yA)))throw new Error("Relative color not supported for oklch()");const[e,r,s,n]=si(A),o=ke(Ie(yr(Er([e,r,s]))));return qA(lA(Math.round(o[0]*255),0,255),lA(Math.round(o[1]*255),0,255),lA(Math.round(o[2]*255),0,255),n)},DB=(t,A)=>{if(Xe(A.filter(yA)))throw new Error("Relative color not supported for lch()");const[e,r,s,n]=ri(A),o=ke(Ie(br(Er([e,r,s]))));return qA(lA(Math.round(o[0]*255),0,255),lA(Math.round(o[1]*255),0,255),lA(Math.round(o[2]*255),0,255),n)},ei=(t,A)=>{const e=A.filter(yA),[r,s,n,o]=e,i=(r.type===17?JA(r.number):tt.parse(t,r))/(Math.PI*2),a=j(s)?s.number/100:0,l=j(n)?n.number/100:0,c=typeof o<"u"&&j(o)?O(o,1):1;return[i,a,l,c]},ti=(t,A)=>{if(Xe(A))throw new Error("Relative color not supported for hsl()");const[e,r,s,n]=ei(t,A),o=oi([e,r,s]);return qA(o[0]*255,o[1]*255,o[2]*255,r===0?1:n)},ri=t=>{const A=t.filter(yA),e=j(A[0])?A[0].number:0,r=j(A[1])?A[1].number:0,s=wA(A[2])||ie(A[2])?A[2].number:0,n=typeof A[4]<"u"&&j(A[4])?O(A[4],1):1;return[e,r,s,n]},xr=t=>{const A=t.filter(yA),e=A[0].type===16?A[0].number/100:wA(A[0])?A[0].number:0,r=A[1].type===16?A[1].number/100:wA(A[1])?A[1].number:0,s=wA(A[2])||ie(A[2])?A[2].number:0,n=typeof A[4]<"u"&&j(A[4])?O(A[4],1):1;return[e,r,s,n]},si=t=>{const A=t.filter(yA),e=A[0].type===16?A[0].number/100:wA(A[0])?A[0].number:0,r=A[1].type===16?A[1].number/100:wA(A[1])?A[1].number:0,s=wA(A[2])||ie(A[2])?A[2].number:0,n=typeof A[4]<"u"&&j(A[4])?O(A[4],1):1;return[e,r,s,n]},ni=t=>NA([1.0479297925449969,.022946870601609652,-.05019226628920524,.02962780877005599,.9904344267538799,-.017073799063418826,-.009243040646204504,.015055191490298152,.7518742814281371],t),Ws=t=>NA([.955473421488075,-.02309845494876471,.06325924320057072,-.0283697093338637,1.0099953980813041,.021041441191917323,.012314014864481998,-.020507649298898964,1.330365926242124],t),Js=(t,A,e)=>(e<0&&(e+=1),e>=1&&(e-=1),e<1/6?(A-t)*e*6+t:e<1/2?A:e<2/3?(A-t)*6*(2/3-e)+t:t),oi=([t,A,e])=>{if(A===0)return[e*255,e*255,e*255];const r=e<=.5?e*(A+1):e+A-e*A,s=e*2-r,n=Js(s,r,t+1/3),o=Js(s,r,t),i=Js(s,r,t-1/3);return[n,o,i]},Er=([t,A,e])=>(A<0&&(A=0),isNaN(e)&&(e=0),[t,A*Math.cos(e*Math.PI/180),A*Math.sin(e*Math.PI/180)]),yr=t=>{const A=NA([1,.3963377773761749,.2158037573099136,1,-.1055613458156586,-.0638541728258133,1,-.0894841775298119,-1.2914855480194092],t),e=A.map(r=>r**3);return NA([1.2268798758459243,-.5578149944602171,.2813910456659647,-.0405757452148008,1.112286803280317,-.0717110580655164,-.0763729366746601,-.4214933324022432,1.5869240198367816],e)},br=t=>{const A=(t[0]+16)/116,e=t[1]/500+A,r=A-t[2]/200,s=24389/27,n=24/116,o=[(e>n?e**3:(116*e-16)/s)*.3457/.3585,t[0]>8?A**3:t[0]/s,(r>n?r**3:(116*r-16)/s)*(1-.3457-.3585)/.3585];return Ws([o[0],o[1],o[2]])},OB=(t,A)=>{const e=A.filter(yA);if(e.length===3){const[r,s,n]=e.map(Le),o=Ps([r/255,s/255,n/255]),[i,a,l]=ks([o[0],o[1],o[2]]);return[i,a,l,1]}if(e.length===4){const[r,s,n,o]=e.map(Le),i=Ps([r/255,s/255,n/255]),[a,l,c]=ks([i[0],i[1],i[2]]);return[a,l,c,o]}return[0,0,0,1]},RB=(t,A)=>{const[e,r,s,n]=ei(t,A),o=Ps(oi([e,r,s])),[i,a,l]=ks([o[0],o[1],o[2]]);return[i,a,l,n]},MB=(t,A)=>{const[e,r,s,n]=xr(A),[o,i,a]=br([e,r,s]);return[o,i,a,n]},NB=(t,A)=>{const[e,r,s,n]=ri(A),[o,i,a]=br(Er([e,r,s]));return[o,i,a,n]},GB=(t,A)=>{const[e,r,s,n]=si(A),[o,i,a]=yr(Er([e,r,s]));return[o,i,a,n]},VB=(t,A)=>{const[e,r,s,n]=xr(A),[o,i,a]=yr([e,r,s]);return[o,i,a,n]},_B=t=>Ws([t[0],t[1],t[2]]),ii=t=>t,kB=t=>{const[A,e,r]=ni([t[0],t[2],t[3]]);return[A,e,r,t[3]]},ai=t=>Tt([t[0],t[1],t[2],t[3]]),PB=t=>{const A=_B([t[0],t[1],t[2]]);return Tt([A[0],A[1],A[2],t[3]])},XB=t=>NA([.4865709486482162,.26566769316909306,.1982172852343625,.2289745640697488,.6917385218365064,.079286914093745,0,.04511338185890264,1.043944368900976],t),WB=t=>NA([2.493496911941425,-.9313836179191239,-.40271078445071684,-.8294889695615747,1.7626640603183463,.023624685841943577,.03584583024378447,-.07617238926804182,.9568845240076872],t),JB=t=>t.map(A=>{const e=A<0?-1:1;return A*e<=.04045?A/12.92:e*((A+.055)/1.055)**2.4||0}),jB=t=>ke(t),YB=t=>{const A=JB([t[0],t[1],t[2]]);return XB([A[0],A[1],A[2]])},zB=t=>{const[A,e,r]=jB(WB([t[0],t[1],t[2]]));return[A,e,r,t[3]]},ZB=t=>{const A=YB([t[0],t[1],t[2]]);return Tt([A[0],A[1],A[2],t[3]])},$B=t=>NA([2.0415879038107465,-.5650069742788596,-.34473135077832956,-.9692436362808795,1.8759675015077202,.04155505740717557,.013444280632031142,-.11836239223101838,1.0151749943912054],t),qB=t=>NA([.5766690429101305,.1855582379065463,.1882286462349947,.29734497525053605,.6273635662554661,.0752914584939978,.02703136138641234,.07068885253582723,.9913375368376388],t),Ad=t=>{const A=t.map(e=>{const r=e<0?-1:1,s=Math.abs(e);return r*s**2.19921875});return[A[0],A[1],A[2]]},ed=t=>{const A=t.map(e=>{const r=e<0?-1:1,s=Math.abs(e);return r*s**.4547069271758437});return[A[0],A[1],A[2]]},td=t=>{const[A,e,r]=ed($B([t[0],t[1],t[2]]));return[A,e,r,t[3]]},rd=t=>{const A=Ie(qB(Ad([t[0],t[1],t[2]])));return Xs([A[0],A[1],A[2],t[3]])},sd=t=>NA([.7977666449006423,.13518129740053308,.0313477341283922,.2880748288194013,.711835234241873,8993693872564e-17,0,0,.8251046025104602],t),nd=t=>NA([1.3457868816471583,-.25557208737979464,-.05110186497554526,-.5446307051249019,1.5082477428451468,.02052744743642139,0,0,1.2119675456389452],t),od=t=>t.map(A=>A<16/512?A/16:A**1.8),id=t=>t.map(A=>A>1/512?A**(1/1.8):A*16),ad=t=>{const A=od([t[0],t[1],t[2]]);return Ws(sd([A[0],A[1],A[2]]))},cd=t=>{const[A,e,r]=id(nd(ni([t[0],t[1],t[2]])));return[A,e,r,t[3]]},ld=t=>{const A=ad([t[0],t[1],t[2]]);return Tt([A[0],A[1],A[2],t[3]])},Hr=1.09929682680944,ci=.018053968510807,Bd=t=>t.map(function(A){return A<ci*4.5?A/4.5:Math.pow((A+Hr-1)/Hr,1/.45)}),dd=t=>t.map(function(A){return A>=ci?Hr*Math.pow(A,.45)-(Hr-1):4.5*A}),gd=t=>NA([.6369580483012914,.14461690358620832,.1688809751641721,.2627002120112671,.6779980715188708,.05930171646986196,0,.028072693049087428,1.060985057710791],t),ud=t=>NA([1.716651187971268,-.355670783776392,-.25336628137366,-.666684351832489,1.616481236634939,.0157685458139111,.017639857445311,-.042770613257809,.942103121235474],t),fd=t=>{const A=Bd([t[0],t[1],t[2]]);return gd([A[0],A[1],A[2]])},hd=t=>{const[A,e,r]=dd(ud([t[0],t[1],t[2]]));return[A,e,r,t[3]]},wd=t=>{const A=fd([t[0],t[1],t[2]]);return Tt([A[0],A[1],A[2],t[3]])},Te={name:"color",parse:(t,A)=>{if(A.type===18){const e=md[A.name];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported color function "${A.name}"`);return e(t,A.values)}if(A.type===5){const[e,r,s,n]=li(A);return qA(e,r,s,n)}if(A.type===20){const e=ce[A.value.toUpperCase()];if(typeof e<"u")return e}return ce.TRANSPARENT}},li=t=>{if(t.value.length===3){const A=t.value.substring(0,1),e=t.value.substring(1,2),r=t.value.substring(2,3);return[parseInt(A+A,16),parseInt(e+e,16),parseInt(r+r,16),1]}if(t.value.length===4){const A=t.value.substring(0,1),e=t.value.substring(1,2),r=t.value.substring(2,3),s=t.value.substring(3,4);return[parseInt(A+A,16),parseInt(e+e,16),parseInt(r+r,16),parseInt(s+s,16)/255]}if(t.value.length===6){const A=t.value.substring(0,2),e=t.value.substring(2,4),r=t.value.substring(4,6);return[parseInt(A,16),parseInt(e,16),parseInt(r,16),1]}if(t.value.length===8){const A=t.value.substring(0,2),e=t.value.substring(2,4),r=t.value.substring(4,6),s=t.value.substring(6,8);return[parseInt(A,16),parseInt(e,16),parseInt(r,16),parseInt(s,16)/255]}return[0,0,0,1]},Bi=(t,A)=>{const e=A.filter(yA);if(Xe(e))throw new Error("Relative color not supported for rgb()");if(e.length===3){const[r,s,n]=e.map(Le);return qA(r,s,n,1)}if(e.length===4){const[r,s,n,o]=e.map(Le);return qA(r,s,n,o)}if(e.length===5&&e[3].type===6&&e[3].value==="/"){const r=Le(e[0],0),s=Le(e[1],1),n=Le(e[2],2),o=Le(e[4],3);return qA(r,s,n,o)}return 0},pd=(t,A)=>{const e=A.filter(yA),r=e[0].type===20?e[0].value:"unknown";if(!Xe(e)){const n=r,o=di[n];if(typeof o>"u")throw new Error(`Attempting to parse an unsupported color space "${n}" for color() function`);const i=wA(e[1])?e[1].number:0,a=wA(e[2])?e[2].number:0,l=wA(e[3])?e[3].number:0,c=e.length>4&&e[4].type===6&&e[4].value==="/"&&wA(e[5])?e[5].number:1;return o([i,a,l,c])}else{const n=(p,x)=>{if(wA(x))return x.number;const T=K=>K==="r"||K==="x"?0:K==="g"||K==="y"?1:2;if(R(x)){const K=T(x.value);return p[K]}const F=K=>{const _=K.filter(yA);let AA="(";for(const S of _)AA+=S.type===18&&S.name==="calc"?F(S.values):wA(S)?S.number:S.type===6||R(S)?S.value:"";return AA+=")",AA};if(x.type===18){const K=x.values.filter(yA);if(x.name==="calc"){const _=F(K).replace(/r|x/,p[0].toString()).replace(/g|y/,p[1].toString()).replace(/b|z/,p[2].toString());return new Function("return "+_)()}}return null},o=e[1].type===18?e[1].name:R(e[1])||e[1].type===5?"rgb":"unknown",i=R(e[2])?e[2].value:"unknown";let a=e[1].type===18?e[1].values:R(e[1])?[e[1]]:[];if(R(e[1])){if(typeof ce[e[1].value.toUpperCase()]>"u")throw new Error("Attempting to use unknown color in relative color 'from'");{const x=rt(t,e[1].value),T=255&x,F=255&x>>8,K=255&x>>16;a=[{type:17,number:255&x>>24,flags:1},{type:17,number:K,flags:1},{type:17,number:F,flags:1},{type:17,number:T>1?T/255:T,flags:1}]}}else if(e[1].type===5){const[p,x,T,F]=li(e[1]);a=[{type:17,number:p,flags:1},{type:17,number:x,flags:1},{type:17,number:T,flags:1},{type:17,number:F>1?F/255:F,flags:1}]}if(a.length===0)throw new Error("Attempting to use unknown color in relative color 'from'");if(i==="unknown")throw new Error("Attempting to use unknown colorspace in relative color 'to'");const l=Qd[o],c=Cd[i],B=di[i];if(typeof l>"u")throw new Error(`Attempting to parse an unsupported color space "${o}" for color() function`);if(typeof c>"u")throw new Error(`Attempting to parse an unsupported color space "${i}" for color() function`);const u=l(t,a),f=c(u),w=n(f,e[3]),h=n(f,e[4]),m=n(f,e[5]),E=e.length>6&&e[6].type===6&&e[6].value==="/"&&wA(e[7])?e[7].number:1;if(w===null||h===null||m===null)throw new Error("Invalid relative color in color() function");return B([w,h,m,E])}},di={srgb:SB,"srgb-linear":Xs,"display-p3":ZB,"a98-rgb":rd,"prophoto-rgb":ld,xyz:ai,"xyz-d50":PB,"xyz-d65":ai,rec2020:wd},Qd={rgb:OB,hsl:RB,lab:MB,lch:NB,oklab:VB,oklch:GB},Cd={srgb:bB,"srgb-linear":HB,"display-p3":zB,"a98-rgb":td,"prophoto-rgb":cd,xyz:ii,"xyz-d50":kB,"xyz-d65":ii,rec2020:hd},md={hsl:ti,hsla:ti,rgb:Bi,rgba:Bi,lch:DB,oklch:KB,oklab:TB,lab:LB,color:pd},rt=(t,A)=>Te.parse(t,et.create(A).parseComponentValue()),ce={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},Ud={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:(t,A)=>A.map(e=>{if(R(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})},Fd={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ir=(t,A)=>{const e=Te.parse(t,A[0]),r=A[1];return r&&j(r)?{color:e,stop:r}:{color:e,stop:null}},gi=(t,A)=>{const e=t[0],r=t[t.length-1];e.stop===null&&(e.stop=pA),r.stop===null&&(r.stop=ae);const s=[];let n=0;for(let i=0;i<t.length;i++){const a=t[i].stop;if(a!==null){const l=O(a,A);l>n?s.push(l):s.push(n),n=l}else s.push(null)}let o=null;for(let i=0;i<s.length;i++){const a=s[i];if(a===null)o===null&&(o=i);else if(o!==null){const l=i-o,c=s[o-1],B=(a-c)/(l+1);for(let u=1;u<=l;u++)s[o+u-1]=B*u;o=null}}return t.map(({color:i},a)=>({color:i,stop:Math.max(Math.min(1,s[a]/A),0)}))},xd=(t,A,e)=>{const r=A/2,s=e/2,n=O(t[0],A)-r,o=s-O(t[1],e);return(Math.atan2(o,n)+Math.PI*2)%(Math.PI*2)},Ed=(t,A,e)=>{const r=typeof t=="number"?t:xd(t,A,e),s=Math.abs(A*Math.sin(r))+Math.abs(e*Math.cos(r)),n=A/2,o=e/2,i=s/2,a=Math.sin(r-Math.PI/2)*i,l=Math.cos(r-Math.PI/2)*i;return[s,n-l,n+l,o-a,o+a]},Ae=(t,A)=>Math.sqrt(t*t+A*A),ui=(t,A,e,r,s)=>[[0,0],[0,A],[t,0],[t,A]].reduce((o,i)=>{const[a,l]=i,c=Ae(e-a,r-l);return(s?c<o.optimumDistance:c>o.optimumDistance)?{optimumCorner:i,optimumDistance:c}:o},{optimumDistance:s?1/0:-1/0,optimumCorner:null}).optimumCorner,yd=(t,A,e,r,s)=>{let n=0,o=0;switch(t.size){case 0:t.shape===0?n=o=Math.min(Math.abs(A),Math.abs(A-r),Math.abs(e),Math.abs(e-s)):t.shape===1&&(n=Math.min(Math.abs(A),Math.abs(A-r)),o=Math.min(Math.abs(e),Math.abs(e-s)));break;case 2:if(t.shape===0)n=o=Math.min(Ae(A,e),Ae(A,e-s),Ae(A-r,e),Ae(A-r,e-s));else if(t.shape===1){const i=Math.min(Math.abs(e),Math.abs(e-s))/Math.min(Math.abs(A),Math.abs(A-r)),[a,l]=ui(r,s,A,e,!0);n=Ae(a-A,(l-e)/i),o=i*n}break;case 1:t.shape===0?n=o=Math.max(Math.abs(A),Math.abs(A-r),Math.abs(e),Math.abs(e-s)):t.shape===1&&(n=Math.max(Math.abs(A),Math.abs(A-r)),o=Math.max(Math.abs(e),Math.abs(e-s)));break;case 3:if(t.shape===0)n=o=Math.max(Ae(A,e),Ae(A,e-s),Ae(A-r,e),Ae(A-r,e-s));else if(t.shape===1){const i=Math.max(Math.abs(e),Math.abs(e-s))/Math.max(Math.abs(A),Math.abs(A-r)),[a,l]=ui(r,s,A,e,!1);n=Ae(a-A,(l-e)/i),o=i*n}break}return Array.isArray(t.size)&&(n=O(t.size[0],r),o=t.size.length===2?O(t.size[1],s):n),[n,o]},bd=(t,A)=>{let e=JA(180);const r=[];return $A(A).forEach((s,n)=>{if(n===0){const i=s[0];if(i.type===20&&i.value==="to"){e=Ai(s);return}else if(qo(i)){e=tt.parse(t,i);return}}const o=Ir(t,s);r.push(o)}),{angle:e,stops:r,type:1}},vr=(t,A)=>{let e=JA(180);const r=[];return $A(A).forEach((s,n)=>{if(n===0){const i=s[0];if(i.type===20&&["top","left","right","bottom"].indexOf(i.value)!==-1){e=Ai(s);return}else if(qo(i)){e=(tt.parse(t,i)+JA(270))%JA(360);return}}const o=Ir(t,s);r.push(o)}),{angle:e,stops:r,type:1}},Hd=(t,A)=>{const e=JA(180),r=[];let s=1;const n=0,o=3,i=[];return $A(A).forEach((a,l)=>{const c=a[0];if(l===0){if(R(c)&&c.value==="linear"){s=1;return}else if(R(c)&&c.value==="radial"){s=2;return}}if(c.type===18){if(c.name==="from"){const B=Te.parse(t,c.values[0]);r.push({stop:pA,color:B})}else if(c.name==="to"){const B=Te.parse(t,c.values[0]);r.push({stop:ae,color:B})}else if(c.name==="color-stop"){const B=c.values.filter(yA);if(B.length===2){const u=Te.parse(t,B[1]),f=B[0];wA(f)&&r.push({stop:{type:16,number:f.number*100,flags:f.flags},color:u})}}}}),s===1?{angle:(e+JA(180))%JA(360),stops:r,type:s}:{size:o,shape:n,stops:r,position:i,type:s}},fi="closest-side",hi="farthest-side",wi="closest-corner",pi="farthest-corner",Qi="circle",Ci="ellipse",mi="cover",Ui="contain",Id=(t,A)=>{let e=0,r=3;const s=[],n=[];return $A(A).forEach((o,i)=>{let a=!0;if(i===0){let l=!1;a=o.reduce((c,B)=>{if(l)if(R(B))switch(B.value){case"center":return n.push(Pe),c;case"top":case"left":return n.push(pA),c;case"right":case"bottom":return n.push(ae),c}else(j(B)||ve(B))&&n.push(B);else if(R(B))switch(B.value){case Qi:return e=0,!1;case Ci:return e=1,!1;case"at":return l=!0,!1;case fi:return r=0,!1;case mi:case hi:return r=1,!1;case Ui:case wi:return r=2,!1;case pi:return r=3,!1}else if(ve(B)||j(B))return Array.isArray(r)||(r=[]),r.push(B),!1;return c},a)}if(a){const l=Ir(t,o);s.push(l)}}),{size:r,shape:e,stops:s,position:n,type:2}},Sr=(t,A)=>{let e=0,r=3;const s=[],n=[];return $A(A).forEach((o,i)=>{let a=!0;if(i===0?a=o.reduce((l,c)=>{if(R(c))switch(c.value){case"center":return n.push(Pe),!1;case"top":case"left":return n.push(pA),!1;case"right":case"bottom":return n.push(ae),!1}else if(j(c)||ve(c))return n.push(c),!1;return l},a):i===1&&(a=o.reduce((l,c)=>{if(R(c))switch(c.value){case Qi:return e=0,!1;case Ci:return e=1,!1;case Ui:case fi:return r=0,!1;case hi:return r=1,!1;case wi:return r=2,!1;case mi:case pi:return r=3,!1}else if(ve(c)||j(c))return Array.isArray(r)||(r=[]),r.push(c),!1;return l},a)),a){const l=Ir(t,o);s.push(l)}}),{size:r,shape:e,stops:s,position:n,type:2}},vd=t=>t.type===1,Sd=t=>t.type===2,js={name:"image",parse:(t,A)=>{if(A.type===22){const e={url:A.value,type:0};return t.cache.addImage(A.value),e}if(A.type===18){const e=Fi[A.name];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported image function "${A.name}"`);return e(t,A.values)}throw new Error(`Unsupported image type ${A.type}`)}};function Ld(t){return!(t.type===20&&t.value==="none")&&(t.type!==18||!!Fi[t.name])}const Fi={"linear-gradient":bd,"-moz-linear-gradient":vr,"-ms-linear-gradient":vr,"-o-linear-gradient":vr,"-webkit-linear-gradient":vr,"radial-gradient":Id,"-moz-radial-gradient":Sr,"-ms-radial-gradient":Sr,"-o-radial-gradient":Sr,"-webkit-radial-gradient":Sr,"-webkit-gradient":Hd},Td={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>{if(A.length===0)return[];const e=A[0];return e.type===20&&e.value==="none"?[]:A.filter(r=>yA(r)&&Ld(r)).map(r=>js.parse(t,r))}},Kd={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:(t,A)=>A.map(e=>{if(R(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})},Dd={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:(t,A)=>$A(A).map(e=>e.map(r=>IB(r)?vB(r,0):j(r)?r:null).filter(r=>r!==null)).map(jo)},Od={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:(t,A)=>$A(A).map(e=>e.filter(R).map(r=>r.value).join(" ")).map(Rd)},Rd=t=>{switch(t){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}};var st;(function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"})(st||(st={}));const Md={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:(t,A)=>$A(A).map(e=>e.filter(Nd))},Nd=t=>R(t)||j(t),Lr=t=>({name:`border-${t}-color`,initialValue:"transparent",prefix:!1,type:3,format:"color"}),Gd=Lr("top"),Vd=Lr("right"),_d=Lr("bottom"),kd=Lr("left"),Tr=t=>({name:`border-radius-${t}`,initialValue:"0 0",prefix:!1,type:1,parse:(A,e)=>jo(e.filter(j))}),Pd=Tr("top-left"),Xd=Tr("top-right"),Wd=Tr("bottom-right"),Jd=Tr("bottom-left"),Kr=t=>({name:`border-${t}-style`,initialValue:"solid",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}),jd=Kr("top"),Yd=Kr("right"),zd=Kr("bottom"),Zd=Kr("left"),Dr=t=>({name:`border-${t}-width`,initialValue:"0",type:0,prefix:!1,parse:(A,e)=>ie(e)?e.number:0}),$d=Dr("top"),qd=Dr("right"),Ag=Dr("bottom"),eg=Dr("left"),Ys={type:0},zs=t=>{const[A]=t;return A?R(A)?A.value==="farthest-side"?"farthest-side":"closest-side":j(A)?A:"closest-side":"closest-side"},xi=t=>{let A=null,e=null;for(const r of t)if(R(r))switch(r.value){case"left":A=pA;break;case"right":A=ae;break;case"top":e=pA;break;case"bottom":e=ae;break;case"center":A===null?A=Pe:e===null&&(e=Pe);break}else j(r)&&(A===null?A=r:e===null&&(e=r));return{cx:A??Pe,cy:e??Pe}},tg=t=>{const A=[];for(const o of t)if(o.type!==31){if(R(o)&&o.value==="round")break;j(o)&&A.push(o)}const e=A[0]??pA,r=A[1]??e,s=A[2]??e,n=A[3]??r;return{type:1,top:e,right:r,bottom:s,left:n}},rg=t=>{const A=t.filter(Fr),e=A.findIndex(n=>St(n,"at")),r=e===-1?A:A.slice(0,e),s=e===-1?[]:A.slice(e+1);return{type:2,radius:zs(r),...xi(s)}},sg=t=>{const A=t.filter(Fr),e=A.findIndex(n=>St(n,"at")),r=e===-1?A:A.slice(0,e),s=e===-1?[]:A.slice(e+1);return{type:3,rx:zs(r.slice(0,1)),ry:zs(r.slice(1,2)),...xi(s)}},ng=t=>{const A=$A(t),e=[];for(const r of A){if(r.length===1&&R(r[0]))continue;const s=r.filter(j);s.length>=2&&e.push([s[0],s[1]])}return{type:4,points:e}},og=t=>{const A=t.find(e=>e.type===0);return A?{type:5,d:A.value}:Ys},ig={name:"clip-path",initialValue:"none",prefix:!1,type:0,parse:(t,A)=>{if(R(A)&&A.value==="none")return Ys;if(A.type===18)switch(A.name){case"inset":return tg(A.values);case"circle":return rg(A.values);case"ellipse":return sg(A.values);case"polygon":return ng(A.values);case"path":return og(A.values)}return Ys}},ag={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},cg={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:(t,A)=>A==="rtl"?1:0},lg={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:(t,A)=>A.filter(R).reduce((e,r)=>e|Bg(r.value),0)},Bg=t=>{switch(t){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},dg={name:"float",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},gg={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:(t,A)=>A.type===20&&A.value==="normal"?0:A.type===17||A.type===15?A.number:0};var Or;(function(t){t.NORMAL="normal",t.STRICT="strict"})(Or||(Or={}));const ug={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>A==="strict"?Or.STRICT:Or.NORMAL},fg={name:"line-height",initialValue:"normal",prefix:!1,type:4},Ei=(t,A)=>R(t)&&t.value==="normal"?1.2*A:t.type===17?A*t.number:j(t)?O(t,A):A,hg={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:(t,A)=>A.type===20&&A.value==="none"?null:js.parse(t,A)},wg={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:(t,A)=>A==="inside"?0:1},Zs={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){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 52;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}}},Rr=t=>({name:`margin-${t}`,initialValue:"0",prefix:!1,type:4}),pg=Rr("top"),Qg=Rr("right"),Cg=Rr("bottom"),mg=Rr("left"),Ug={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:(t,A)=>A.filter(R).map(e=>{switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})},Fg={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>A==="break-word"?"break-word":"normal"},Mr=t=>({name:`padding-${t}`,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}),xg=Mr("top"),Eg=Mr("right"),yg=Mr("bottom"),bg=Mr("left"),Hg={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Ig={name:"position",initialValue:"static",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},vg={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.length===1&&St(A[0],"none")?[]:$A(A).map(e=>{const r={color:ce.TRANSPARENT,offsetX:pA,offsetY:pA,blur:pA};let s=0;for(let n=0;n<e.length;n++){const o=e[n];ve(o)?(s===0?r.offsetX=o:s===1?r.offsetY=o:r.blur=o,s++):r.color=Te.parse(t,o)}return r})},Sg={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Lg={name:"transform",initialValue:"none",prefix:!0,type:0,parse:(t,A)=>{if(A.type===20&&A.value==="none")return null;if(A.type===18){const e=Tg[A.name];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported transform function "${A.name}"`);return e(t,A.values)}return null}},Tg={matrix:(t,A)=>{const e=A.filter(r=>r.type===17).map(r=>r.number);return e.length===6?e:null},matrix3d:(t,A)=>{const e=A.filter(l=>l.type===17).map(l=>l.number),[r,s,{},{},n,o,{},{},{},{},{},{},i,a]=e;return e.length===16?[r,s,n,o,i,a]:null},rotate:(t,A)=>{if(A.length!==1)return null;const e=A[0];let r=0;if(e.type===17&&e.number===0)r=0;else if(e.type===15)r=tt.parse(t,e);else return null;const s=Math.cos(r),n=Math.sin(r);return[s,n,-n,s,0,0]}},yi={type:16,number:50,flags:qe},Kg=[yi,yi],Dg={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:(t,A)=>{const e=A.filter(j);return e.length!==2?Kg:[e[0],e[1]]}},Og={name:"rotate",initialValue:"none",prefix:!1,type:0,parse:(t,A)=>A.type===20&&A.value==="none"?null:A.type===17&&A.number===0?0:A.type===15?tt.parse(t,A)*180/Math.PI:null},Rg={name:"visible",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"hidden":return 1;case"collapse":return 2;default:return 0}}};var Kt;(function(t){t.NORMAL="normal",t.BREAK_ALL="break-all",t.KEEP_ALL="keep-all"})(Kt||(Kt={}));const Mg={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"break-all":return Kt.BREAK_ALL;case"keep-all":return Kt.KEEP_ALL;default:return Kt.NORMAL}}},Ng={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>{if(A.type===20)return{auto:!0,order:0};if(wA(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},bi={name:"time",parse:(t,A)=>{if(A.type===15)switch(A.unit.toLowerCase()){case"s":return 1e3*A.number;case"ms":return A.number}throw new Error("Unsupported time type")}},Gg={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:(t,A)=>wA(A)?A.number:1},Vg={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},_g={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:(t,A)=>A.filter(R).map(e=>{switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(e=>e!==0)},kg={name:"text-decoration-style",initialValue:"solid",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"double":return 1;case"dotted":return 2;case"dashed":return 3;case"wavy":return 4;default:return 0}}},Pg={name:"text-decoration-thickness",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>{if(R(A))switch(A.value){case"auto":return"auto";case"from-font":return"from-font"}return ie(A)?A.number:"auto"}},Xg={name:"text-underline-offset",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>R(A)&&A.value==="auto"?"auto":ie(A)?A.number:"auto"},Wg={name:"font-family",initialValue:"",prefix:!1,type:1,parse:(t,A)=>{const e=[],r=[];return A.forEach(s=>{switch(s.type){case 20:case 0:e.push(s.value);break;case 17:e.push(s.number.toString());break;case 4:r.push(e.join(" ")),e.length=0;break}}),e.length&&r.push(e.join(" ")),r.map(s=>s.indexOf(" ")===-1?s:`'${s}'`)}},Jg={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},jg={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:(t,A)=>wA(A)?A.number:R(A)&&A.value==="bold"?700:400},Yg={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.filter(R).map(e=>e.value)},zg={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},aA=(t,A)=>(t&A)!==0,Zg={name:"content",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>{if(A.length===0)return[];const e=A[0];return e.type===20&&e.value==="none"?[]:A}},$g={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>{if(A.length===0)return null;const e=A[0];if(e.type===20&&e.value==="none")return null;const r=[],s=A.filter(Fr);for(let n=0;n<s.length;n++){const o=s[n],i=s[n+1];if(o.type===20){const a=i&&wA(i)?i.number:1;r.push({counter:o.value,increment:a})}}return r}},qg={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>{if(A.length===0)return[];const e=[],r=A.filter(Fr);for(let s=0;s<r.length;s++){const n=r[s],o=r[s+1];if(R(n)&&n.value!=="none"){const i=o&&wA(o)?o.number:0;e.push({counter:n.value,reset:i})}}return e}},Au={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:(t,A)=>A.filter(ie).map(e=>bi.parse(t,e))},eu={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>{if(A.length===0)return null;const e=A[0];if(e.type===20&&e.value==="none")return null;const r=[],s=A.filter(EB);if(s.length%2!==0)return null;for(let n=0;n<s.length;n+=2){const o=s[n].value,i=s[n+1].value;r.push({open:o,close:i})}return r}},Hi=(t,A,e)=>{if(!t)return"";const r=t[Math.min(A,t.length-1)];return r?e?r.open:r.close:""},tu={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.length===1&&St(A[0],"none")?[]:$A(A).map(e=>{const r={color:255,offsetX:pA,offsetY:pA,blur:pA,spread:pA,inset:!1};let s=0;for(let n=0;n<e.length;n++){const o=e[n];St(o,"inset")?r.inset=!0:ve(o)?(s===0?r.offsetX=o:s===1?r.offsetY=o:s===2?r.blur=o:r.spread=o,s++):r.color=Te.parse(t,o)}return r})},ru={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:(t,A)=>{const e=[0,1,2],r=[];return A.filter(R).forEach(s=>{switch(s.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),e.forEach(s=>{r.indexOf(s)===-1&&r.push(s)}),r}},su={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},nu={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:(t,A)=>ie(A)?A.number:0},ou={name:"-webkit-line-clamp",initialValue:"none",prefix:!0,type:0,parse:(t,A)=>A.type===20&&A.value==="none"?0:A.type===17?Math.max(0,Math.floor(A.number)):0},iu={name:"objectFit",initialValue:"fill",prefix:!1,type:1,parse:(t,A)=>A.filter(R).reduce((e,r)=>e|au(r.value),0)},au=t=>{switch(t){case"contain":return 2;case"cover":return 4;case"none":return 8;case"scale-down":return 16}return 0},cu={name:"text-overflow",initialValue:"clip",prefix:!1,type:2,parse:(t,A)=>A==="ellipsis"?1:0};var XA;(function(t){t[t.AUTO=0]="AUTO",t[t.CRISP_EDGES=1]="CRISP_EDGES",t[t.PIXELATED=2]="PIXELATED",t[t.SMOOTH=3]="SMOOTH"})(XA||(XA={}));const lu={name:"image-rendering",initialValue:"auto",prefix:!1,type:2,parse:(t,A)=>{switch(A.toLowerCase()){case"crisp-edges":case"-webkit-crisp-edges":case"-moz-crisp-edges":return XA.CRISP_EDGES;case"pixelated":case"-webkit-optimize-contrast":return XA.PIXELATED;case"smooth":case"high-quality":return XA.SMOOTH;default:return XA.AUTO}}};class Bu{constructor(A,e){this.animationDuration=y(A,Au,e.animationDuration),this.backgroundClip=y(A,Ud,e.backgroundClip),this.backgroundColor=y(A,Fd,e.backgroundColor),this.backgroundImage=y(A,Td,e.backgroundImage),this.backgroundOrigin=y(A,Kd,e.backgroundOrigin),this.backgroundPosition=y(A,Dd,e.backgroundPosition),this.backgroundRepeat=y(A,Od,e.backgroundRepeat),this.backgroundSize=y(A,Md,e.backgroundSize),this.borderTopColor=y(A,Gd,e.borderTopColor),this.borderRightColor=y(A,Vd,e.borderRightColor),this.borderBottomColor=y(A,_d,e.borderBottomColor),this.borderLeftColor=y(A,kd,e.borderLeftColor),this.borderTopLeftRadius=y(A,Pd,e.borderTopLeftRadius),this.borderTopRightRadius=y(A,Xd,e.borderTopRightRadius),this.borderBottomRightRadius=y(A,Wd,e.borderBottomRightRadius),this.borderBottomLeftRadius=y(A,Jd,e.borderBottomLeftRadius),this.borderTopStyle=y(A,jd,e.borderTopStyle),this.borderRightStyle=y(A,Yd,e.borderRightStyle),this.borderBottomStyle=y(A,zd,e.borderBottomStyle),this.borderLeftStyle=y(A,Zd,e.borderLeftStyle),this.borderTopWidth=y(A,$d,e.borderTopWidth),this.borderRightWidth=y(A,qd,e.borderRightWidth),this.borderBottomWidth=y(A,Ag,e.borderBottomWidth),this.borderLeftWidth=y(A,eg,e.borderLeftWidth),this.boxShadow=y(A,tu,e.boxShadow),this.clipPath=y(A,ig,e.clipPath),this.color=y(A,ag,e.color),this.direction=y(A,cg,e.direction),this.display=y(A,lg,e.display),this.float=y(A,dg,e.cssFloat),this.fontFamily=y(A,Wg,e.fontFamily),this.fontSize=y(A,Jg,e.fontSize),this.fontStyle=y(A,zg,e.fontStyle),this.fontVariant=y(A,Yg,e.fontVariant),this.fontWeight=y(A,jg,e.fontWeight),this.letterSpacing=y(A,gg,e.letterSpacing),this.lineBreak=y(A,ug,e.lineBreak),this.lineHeight=y(A,fg,e.lineHeight),this.listStyleImage=y(A,hg,e.listStyleImage),this.listStylePosition=y(A,wg,e.listStylePosition),this.listStyleType=y(A,Zs,e.listStyleType),this.marginTop=y(A,pg,e.marginTop),this.marginRight=y(A,Qg,e.marginRight),this.marginBottom=y(A,Cg,e.marginBottom),this.marginLeft=y(A,mg,e.marginLeft),this.opacity=y(A,Gg,e.opacity);const r=y(A,Ug,e.overflow);this.overflowX=r[0],this.overflowY=r[r.length>1?1:0],this.overflowWrap=y(A,Fg,e.overflowWrap),this.paddingTop=y(A,xg,e.paddingTop),this.paddingRight=y(A,Eg,e.paddingRight),this.paddingBottom=y(A,yg,e.paddingBottom),this.paddingLeft=y(A,bg,e.paddingLeft),this.paintOrder=y(A,ru,e.paintOrder),this.position=y(A,Ig,e.position),this.textAlign=y(A,Hg,e.textAlign),this.textDecorationColor=y(A,Vg,e.textDecorationColor??e.color),this.textDecorationLine=y(A,_g,e.textDecorationLine??e.textDecoration),this.textDecorationStyle=y(A,kg,e.textDecorationStyle),this.textDecorationThickness=y(A,Pg,e.textDecorationThickness),this.textUnderlineOffset=y(A,Xg,e.textUnderlineOffset),this.textShadow=y(A,vg,e.textShadow),this.textTransform=y(A,Sg,e.textTransform),this.textOverflow=y(A,cu,e.textOverflow),this.transform=y(A,Lg,e.transform),this.transformOrigin=y(A,Dg,e.transformOrigin),this.rotate=y(A,Og,e.rotate),this.visibility=y(A,Rg,e.visibility),this.webkitTextStrokeColor=y(A,su,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=y(A,nu,e.webkitTextStrokeWidth),this.webkitLineClamp=y(A,ou,e.webkitLineClamp),this.wordBreak=y(A,Mg,e.wordBreak),this.zIndex=y(A,Ng,e.zIndex),this.objectFit=y(A,iu,e.objectFit),this.imageRendering=y(A,lu,e.imageRendering)}isVisible(){return this.display>0&&this.opacity>0&&this.visibility===0}isTransparent(){return Se(this.backgroundColor)}isTransformed(){return this.transform!==null||this.rotate!==null}isPositioned(){return this.position!==0}isPositionedWithZIndex(){return this.isPositioned()&&!this.zIndex.auto}isFloating(){return this.float!==0}isInlineLevel(){return aA(this.display,4)||aA(this.display,33554432)||aA(this.display,268435456)||aA(this.display,536870912)||aA(this.display,67108864)||aA(this.display,134217728)}}class du{constructor(A,e){this.content=y(A,Zg,e.content),this.quotes=y(A,eu,e.quotes)}}class Ii{constructor(A,e){this.counterIncrement=y(A,$g,e.counterIncrement),this.counterReset=y(A,qg,e.counterReset)}}const y=(t,A,e)=>{const r=new Jo,s=e!==null&&typeof e<"u"?e.toString():A.initialValue;r.write(s);const n=new et(r.read());switch(A.type){case 2:const o=n.parseComponentValue();return A.parse(t,R(o)?o.value:A.initialValue);case 0:return A.parse(t,n.parseComponentValue());case 1:return A.parse(t,n.parseComponentValues());case 4:return n.parseComponentValue();case 3:switch(A.format){case"angle":return tt.parse(t,n.parseComponentValue());case"color":return Te.parse(t,n.parseComponentValue());case"image":return js.parse(t,n.parseComponentValue());case"length":const i=n.parseComponentValue();return ve(i)?i:pA;case"length-percentage":const a=n.parseComponentValue();return j(a)?a:pA;case"time":return bi.parse(t,n.parseComponentValue())}break}},he=t=>t.nodeType===Node.ELEMENT_NODE,vi=t=>t.nodeType===Node.TEXT_NODE,nt=t=>typeof t.className=="object",Dt=t=>he(t)&&typeof t.style<"u"&&!nt(t),gu=t=>t.tagName==="LI",uu=t=>t.tagName==="OL",Si=t=>!nt(t)&&t.tagName.indexOf("-")>0,fu="data-html2canvas-debug",hu=t=>{if(typeof t.getAttribute!="function")return 0;switch(t.getAttribute(fu)){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},$s=(t,A)=>{const e=hu(t);return e===1||A===e};class Li{static normalizeElement(A,e){const r={};return Dt(A)&&(e.animationDuration.some(s=>s>0)&&(r.animationDuration=A.style.animationDuration,A.style.animationDuration="0s"),e.transform!==null&&(r.transform=A.style.transform,A.style.transform="translate(0, 0)"),e.rotate!==null&&(r.rotate=A.style.rotate,A.style.rotate="0deg",r.transform===void 0&&(r.transform=A.style.transform,A.style.transform="translate(0, 0)"))),r}static restoreElement(A,e){Dt(A)&&(e.animationDuration!==void 0&&(A.style.animationDuration=e.animationDuration),e.transform!==void 0&&(A.style.transform=e.transform),e.rotate!==void 0&&(A.style.rotate=e.rotate))}}class le{constructor(A,e,r={}){if(this.context=A,this.textNodes=[],this.elements=[],this.flags=0,$s(e,3))debugger;this.styles=new Bu(A,A.config.window.getComputedStyle(e,null)),r.normalizeDom!==!1&&Dt(e)&&(this.originalStyles=Li.normalizeElement(e,this.styles),this.originalElement=e),this.bounds=rr(this.context,e),$s(e,4)&&(this.flags|=16)}restore(){this.originalStyles&&this.originalElement&&(Li.restoreElement(this.originalElement,this.originalStyles),this.originalStyles=void 0,this.originalElement=void 0)}restoreTree(){this.restore();for(const A of this.elements)A.restoreTree()}}for(var wu="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0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gACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZU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ABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Ti="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ot=typeof Uint8Array>"u"?[]:new Uint8Array(256),Nr=0;Nr<Ti.length;Nr++)Ot[Ti.charCodeAt(Nr)]=Nr;for(var pu=function(t){var A=t.length*.75,e=t.length,r,s=0,n,o,i,a;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),c=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<e;r+=4)n=Ot[t.charCodeAt(r)],o=Ot[t.charCodeAt(r+1)],i=Ot[t.charCodeAt(r+2)],a=Ot[t.charCodeAt(r+3)],c[s++]=n<<2|o>>4,c[s++]=(o&15)<<4|i>>2,c[s++]=(i&3)<<6|a&63;return l},Qu=function(t){for(var A=t.length,e=[],r=0;r<A;r+=2)e.push(t[r+1]<<8|t[r]);return e},Cu=function(t){for(var A=t.length,e=[],r=0;r<A;r+=4)e.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return e},We=5,qs=11,An=2,mu=qs-We,Ki=65536>>We,Uu=1<<We,en=Uu-1,Fu=1024>>We,xu=Ki+Fu,Eu=xu,yu=32,bu=Eu+yu,Hu=65536>>qs,Iu=1<<mu,vu=Iu-1,Di=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},Su=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},Lu=function(t,A){var e=pu(t),r=Array.isArray(e)?Cu(e):new Uint32Array(e),s=Array.isArray(e)?Qu(e):new Uint16Array(e),n=24,o=Di(s,n/2,r[4]/2),i=r[5]===2?Di(s,(n+r[4])/2):Su(r,Math.ceil((n+r[4])/4));return new Tu(r[0],r[1],r[2],r[3],o,i)},Tu=(function(){function t(A,e,r,s,n,o){this.initialValue=A,this.errorValue=e,this.highStart=r,this.highValueIndex=s,this.index=n,this.data=o}return t.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>We],e=(e<<An)+(A&en),this.data[e];if(A<=65535)return e=this.index[Ki+(A-55296>>We)],e=(e<<An)+(A&en),this.data[e];if(A<this.highStart)return e=bu-Hu+(A>>qs),e=this.index[e],e+=A>>We&vu,e=this.index[e],e=(e<<An)+(A&en),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t})(),Oi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ku=typeof Uint8Array>"u"?[]:new Uint8Array(256),Gr=0;Gr<Oi.length;Gr++)Ku[Oi.charCodeAt(Gr)]=Gr;var Du=1,tn=2,rn=3,Ri=4,Mi=5,Ou=7,Ni=8,sn=9,nn=10,Gi=11,Vi=12,_i=13,ki=14,on=15,Ru=function(t){for(var A=[],e=0,r=t.length;e<r;){var s=t.charCodeAt(e++);if(s>=55296&&s<=56319&&e<r){var n=t.charCodeAt(e++);(n&64512)===56320?A.push(((s&1023)<<10)+(n&1023)+65536):(A.push(s),e--)}else A.push(s)}return A},Mu=function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var e=t.length;if(!e)return"";for(var r=[],s=-1,n="";++s<e;){var o=t[s];o<=65535?r.push(o):(o-=65536,r.push((o>>10)+55296,o%1024+56320)),(s+1===e||r.length>16384)&&(n+=String.fromCharCode.apply(String,r),r.length=0)}return n},Nu=Lu(wu),jA="×",an="÷",Gu=function(t){return Nu.get(t)},Vu=function(t,A,e){var r=e-2,s=A[r],n=A[e-1],o=A[e];if(n===tn&&o===rn)return jA;if(n===tn||n===rn||n===Ri||o===tn||o===rn||o===Ri)return an;if(n===Ni&&[Ni,sn,Gi,Vi].indexOf(o)!==-1||(n===Gi||n===sn)&&(o===sn||o===nn)||(n===Vi||n===nn)&&o===nn||o===_i||o===Mi||o===Ou||n===Du)return jA;if(n===_i&&o===ki){for(;s===Mi;)s=A[--r];if(s===ki)return jA}if(n===on&&o===on){for(var i=0;s===on;)i++,s=A[--r];if(i%2===0)return jA}return an},_u=function(t){var A=Ru(t),e=A.length,r=0,s=0,n=A.map(Gu);return{next:function(){if(r>=e)return{done:!0,value:null};for(var o=jA;r<e&&(o=Vu(A,n,++r))===jA;);if(o!==jA||r===e){var i=Mu.apply(null,A.slice(s,r));return s=r,{value:i,done:!1}}return{done:!0,value:null}}}},ku=function(t){for(var A=_u(t),e=[],r;!(r=A.next()).done;)r.value&&e.push(r.value.slice());return e};const Pu=t=>{if(t.createRange){const e=t.createRange();if(e.getBoundingClientRect){const r=t.createElement("boundtest");r.style.height="123px",r.style.display="block",t.body.appendChild(r),e.selectNode(r);const s=e.getBoundingClientRect(),n=Math.round(s.height);if(t.body.removeChild(r),n===123)return!0}}return!1},Xu=t=>{const A=t.createElement("boundtest");A.style.width="50px",A.style.display="block",A.style.fontSize="12px",A.style.letterSpacing="0px",A.style.wordSpacing="0px",t.body.appendChild(A);const e=t.createRange();A.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";const r=A.firstChild,s=sr(r.data).map(a=>gA(a));let n=0,o={};const i=s.every((a,l)=>{e.setStart(r,n),e.setEnd(r,n+a.length);const c=e.getBoundingClientRect();n+=a.length;const B=c.x>o.x||c.y>o.y;return o=c,l===0?!0:B});return t.body.removeChild(A),i},Wu=()=>typeof new Image().crossOrigin<"u",Ju=()=>typeof new XMLHttpRequest().responseType=="string",ju=t=>{const A=new Image,e=t.createElement("canvas"),r=e.getContext("2d");if(!r)return!1;A.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(A,0,0),e.toDataURL()}catch{return!1}return!0},Pi=t=>t[0]===0&&t[1]===255&&t[2]===0&&t[3]===255,Yu=t=>{const A=t.createElement("canvas"),e=100;A.width=e,A.height=e;const r=A.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,e,e);const s=new Image,n=A.toDataURL();s.src=n;const o=cn(e,e,0,0,s);return r.fillStyle="red",r.fillRect(0,0,e,e),Xi(o).then(i=>{r.drawImage(i,0,0);const a=r.getImageData(0,0,e,e).data;r.fillStyle="red",r.fillRect(0,0,e,e);const l=t.createElement("div");return l.style.backgroundImage=`url(${n})`,l.style.height=`${e}px`,Pi(a)?Xi(cn(e,e,0,0,l)):Promise.reject(!1)}).then(i=>(r.drawImage(i,0,0),Pi(r.getImageData(0,0,e,e).data))).catch(()=>!1)},cn=(t,A,e,r,s)=>{const n="http://www.w3.org/2000/svg",o=document.createElementNS(n,"svg"),i=document.createElementNS(n,"foreignObject");return o.setAttributeNS(null,"width",t.toString()),o.setAttributeNS(null,"height",A.toString()),i.setAttributeNS(null,"width","100%"),i.setAttributeNS(null,"height","100%"),i.setAttributeNS(null,"x",e.toString()),i.setAttributeNS(null,"y",r.toString()),i.setAttributeNS(null,"externalResourcesRequired","true"),o.appendChild(i),i.appendChild(s),o},Xi=t=>new Promise((A,e)=>{const r=new Image;r.onload=()=>A(r),r.onerror=e,r.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(new XMLSerializer().serializeToString(t))}`}),bA={get SUPPORT_RANGE_BOUNDS(){const t=Pu(document);return Object.defineProperty(bA,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){const t=bA.SUPPORT_RANGE_BOUNDS&&Xu(document);return Object.defineProperty(bA,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){const t=ju(document);return Object.defineProperty(bA,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){const t=typeof Array.from=="function"&&typeof window.fetch=="function"?Yu(document):Promise.resolve(!1);return Object.defineProperty(bA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){const t=Wu();return Object.defineProperty(bA,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){const t=Ju();return Object.defineProperty(bA,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){const t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(bA,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){const t=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(bA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}};class Je{constructor(A,e){this.text=A,this.bounds=e}}const zu=(t,A,e,r)=>{const s=qu(A,e),n=[];let o=0;return s.forEach(i=>{if(e.textDecorationLine.length||i.trim().length>0)if(bA.SUPPORT_RANGE_BOUNDS){const a=Wi(r,o,i.length).getClientRects();if(a.length>1){const l=Vr(i);let c=0;l.forEach(B=>{n.push(new Je(B,LA.fromDOMRectList(t,Wi(r,c+o,B.length).getClientRects()))),c+=B.length})}else n.push(new Je(i,LA.fromDOMRectList(t,a)))}else{const a=r.splitText(i.length);n.push(new Je(i,Zu(t,r))),r=a}else bA.SUPPORT_RANGE_BOUNDS||(r=r.splitText(i.length));o+=i.length}),n},Zu=(t,A)=>{const e=A.ownerDocument;if(e){const r=e.createElement("html2canvaswrapper");r.appendChild(A.cloneNode(!0));const s=A.parentNode;if(s){s.replaceChild(r,A);const n=rr(t,r);return r.firstChild&&s.replaceChild(r.firstChild,r),n}}return LA.EMPTY},Wi=(t,A,e)=>{const r=t.ownerDocument;if(!r)throw new Error("Node has no owner document");const s=r.createRange();return s.setStart(t,A),s.setEnd(t,A+e),s},Vr=t=>{if(bA.SUPPORT_NATIVE_TEXT_SEGMENTATION){const A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(t)).map(e=>e.segment)}return ku(t)},$u=(t,A)=>{if(bA.SUPPORT_NATIVE_TEXT_SEGMENTATION){const e=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(e.segment(t)).map(r=>r.segment)}return ef(t,A)},qu=(t,A)=>A.letterSpacing!==0?Vr(t):$u(t,A),Af=[32,160,4961,65792,65793,4153,4241],ef=(t,A)=>{const e=Ql(t,{lineBreak:A.lineBreak,wordBreak:A.overflowWrap==="break-word"?"break-word":A.wordBreak}),r=[];let s;for(;!(s=e.next()).done;)if(s.value){const n=s.value.slice(),o=sr(n);let i="";o.forEach(a=>{Af.indexOf(a)===-1?i+=gA(a):(i.length&&r.push(i),r.push(gA(a)),i="")}),i.length&&r.push(i)}return r};class tf{constructor(A,e,r){this.text=rf(e.data,r.textTransform),this.textBounds=zu(A,this.text,r,e)}}const rf=(t,A)=>{switch(A){case 1:return t.toLowerCase();case 3:return t.replace(sf,nf);case 2:return t.toUpperCase();default:return t}},sf=/(^|\s|:|-|\(|\))([a-z])/g,nf=(t,A,e)=>t.length>0?A+e.toUpperCase():t;class Ji extends le{constructor(A,e){super(A,e),this.src=e.currentSrc||e.src,this.intrinsicWidth=e.naturalWidth,this.intrinsicHeight=e.naturalHeight,this.context.cache.addImage(this.src)}}class ji extends le{constructor(A,e){super(A,e),this.canvas=e,this.intrinsicWidth=e.width,this.intrinsicHeight=e.height}}class Yi extends le{constructor(A,e){super(A,e);const r=new XMLSerializer,s=rr(A,e);e.setAttribute("width",`${s.width}px`),e.setAttribute("height",`${s.height}px`),this.svg=`data:image/svg+xml,${encodeURIComponent(r.serializeToString(e))}`,this.intrinsicWidth=e.width.baseVal.value,this.intrinsicHeight=e.height.baseVal.value,this.context.cache.addImage(this.svg)}}class zi extends le{constructor(A,e){super(A,e),this.value=e.value}}class ln extends le{constructor(A,e){super(A,e),this.start=e.start,this.reversed=typeof e.reversed=="boolean"&&e.reversed===!0}}const of=[{type:15,flags:0,unit:"px",number:3}],af=[{type:16,flags:0,number:50}],cf=t=>t.width>t.height?new LA(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width<t.height?new LA(t.left,t.top+(t.height-t.width)/2,t.width,t.width):t,lf=t=>{const A=t.type===df?new Array(t.value.length+1).join("•"):t.value;return A.length===0?t.placeholder||"":A},Bf=t=>t.value.length===0&&!!t.placeholder,_r="checkbox",kr="radio",df="password",Zi=707406591,gf=1970632191;class Rt extends le{constructor(A,e){switch(super(A,e),this.type=e.type.toLowerCase(),this.checked=e.checked,this.value=lf(e),this.isPlaceholder=Bf(e),(this.type===_r||this.type===kr)&&(this.styles.backgroundColor=3739148031,this.styles.borderTopColor=this.styles.borderRightColor=this.styles.borderBottomColor=this.styles.borderLeftColor=2779096575,this.styles.borderTopWidth=this.styles.borderRightWidth=this.styles.borderBottomWidth=this.styles.borderLeftWidth=1,this.styles.borderTopStyle=this.styles.borderRightStyle=this.styles.borderBottomStyle=this.styles.borderLeftStyle=1,this.styles.backgroundClip=[0],this.styles.backgroundOrigin=[0],this.bounds=cf(this.bounds)),this.type){case _r:this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=of;break;case kr:this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=af;break}}}class $i extends le{constructor(A,e){super(A,e);const r=e.options[e.selectedIndex||0];this.value=r&&r.text||""}}class qi extends le{constructor(A,e){super(A,e),this.value=e.value}}class Aa extends le{constructor(A,e,r){super(A,e),this.src=e.src,this.width=parseInt(e.width,10)||0,this.height=parseInt(e.height,10)||0,this.backgroundColor=this.styles.backgroundColor,this.parseTreeFn=r;try{if(e.contentWindow&&e.contentWindow.document&&e.contentWindow.document.documentElement&&this.parseTreeFn){this.tree=this.parseTreeFn(A,e.contentWindow.document.documentElement);const s=e.contentWindow.document.documentElement?rt(A,getComputedStyle(e.contentWindow.document.documentElement).backgroundColor):ce.TRANSPARENT,n=e.contentWindow.document.body?rt(A,getComputedStyle(e.contentWindow.document.body).backgroundColor):ce.TRANSPARENT;this.backgroundColor=Se(s)?Se(n)?this.styles.backgroundColor:n:s}}catch{}}}const uf=["OL","UL","MENU"],Pr=(t,A,e,r)=>{for(let s=A.firstChild,n;s;s=n)if(n=s.nextSibling,vi(s)&&s.data.length>0)e.textNodes.push(new tf(t,s,e.styles));else if(he(s))if(Mt(s)&&s.assignedNodes)s.assignedNodes().forEach(o=>Pr(t,o,e,r));else{const o=ea(t,s);o.styles.isVisible()&&(ff(s,o,r)?o.flags|=4:hf(o.styles)&&(o.flags|=2),uf.indexOf(s.tagName)!==-1&&(o.flags|=8),e.elements.push(o),s.slot,s.shadowRoot?Pr(t,s.shadowRoot,o,r):!Xr(s)&&!ra(s)&&!Wr(s)&&Pr(t,s,o,r))}},ea=(t,A)=>dn(A)?new Ji(t,A):sa(A)?new ji(t,A):ra(A)?new Yi(t,A):gu(A)?new zi(t,A):uu(A)?new ln(t,A):wf(A)?new Rt(t,A):Wr(A)?new $i(t,A):Xr(A)?new qi(t,A):oa(A)?new Aa(t,A,ta):new le(t,A),ta=(t,A)=>{const e=ea(t,A);return e.flags|=4,Pr(t,A,e,e),e},ff=(t,A,e)=>A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||Bn(t)&&e.styles.isTransparent(),hf=t=>t.isPositioned()||t.isFloating()?!0:aA(t.display,268435456)||aA(t.display,33554432)||aA(t.display,536870912)||aA(t.display,134217728),wf=t=>t.tagName==="INPUT",pf=t=>t.tagName==="HTML",ra=t=>t.tagName==="svg",Bn=t=>t.tagName==="BODY",sa=t=>t.tagName==="CANVAS",na=t=>t.tagName==="VIDEO",dn=t=>t.tagName==="IMG",oa=t=>t.tagName==="IFRAME",gn=t=>t.tagName==="STYLE",ia=t=>t.tagName==="SCRIPT",Xr=t=>t.tagName==="TEXTAREA",Wr=t=>t.tagName==="SELECT",Mt=t=>t.tagName==="SLOT";class Qf{constructor(){this.counters={}}getCounterValue(A){const e=this.counters[A];return e&&e.length?e[e.length-1]:1}getCounterValues(A){const e=this.counters[A];return e||[]}pop(A){A.forEach(e=>this.counters[e].pop())}parse(A){const e=A.counterIncrement,r=A.counterReset;let s=!0;e!==null&&e.forEach(o=>{const i=this.counters[o.counter];i&&o.increment!==0&&(s=!1,i.length||i.push(1),i[Math.max(0,i.length-1)]+=o.increment)});const n=[];return s&&r.forEach(o=>{let i=this.counters[o.counter];n.push(o.counter),i||(i=this.counters[o.counter]=[]),i.push(o.reset)}),n}}const aa={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"]},ca={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Cf={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},mf={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},ot=(t,A,e,r,s,n)=>t<A||t>e?Gt(t,s,n.length>0):r.integers.reduce((o,i,a)=>{for(;t>=i;)t-=i,o+=r.values[a];return o},"")+n,la=(t,A,e,r)=>{let s="";do e||t--,s=r(t)+s,t/=A;while(t*A>=A);return s},uA=(t,A,e,r,s)=>{const n=e-A+1;return(t<0?"-":"")+(la(Math.abs(t),n,r,o=>gA(Math.floor(o%n)+A))+s)},je=(t,A,e=". ")=>{const r=A.length;return la(Math.abs(t),r,!1,s=>A[Math.floor(s%r)])+e},it=1,Ke=2,De=4,Nt=8,we=(t,A,e,r,s,n)=>{if(t<-9999||t>9999)return Gt(t,4,s.length>0);let o=Math.abs(t),i=s;if(o===0)return A[0]+i;for(let a=0;o>0&&a<=4;a++){const l=o%10;l===0&&aA(n,it)&&i!==""?i=A[l]+i:l>1||l===1&&a===0||l===1&&a===1&&aA(n,Ke)||l===1&&a===1&&aA(n,De)&&t>100||l===1&&a>1&&aA(n,Nt)?i=A[l]+(a>0?e[a-1]:"")+i:l===1&&a>0&&(i=e[a-1]+i),o=Math.floor(o/10)}return(t<0?r:"")+i},Ba="十百千萬",da="拾佰仟萬",ga="マイナス",un="마이너스",Gt=(t,A,e)=>{const r=e?". ":"",s=e?"、":"",n=e?", ":"",o=e?" ":"";switch(A){case 0:return"•"+o;case 1:return"◦"+o;case 2:return"◾"+o;case 5:const i=uA(t,48,57,!0,r);return i.length<4?`0${i}`:i;case 4:return je(t,"〇一二三四五六七八九",s);case 6:return ot(t,1,3999,aa,3,r).toLowerCase();case 7:return ot(t,1,3999,aa,3,r);case 8:return uA(t,945,969,!1,r);case 9:return uA(t,97,122,!1,r);case 10:return uA(t,65,90,!1,r);case 11:return uA(t,1632,1641,!0,r);case 12:case 49:return ot(t,1,9999,ca,3,r);case 35:return ot(t,1,9999,ca,3,r).toLowerCase();case 13:return uA(t,2534,2543,!0,r);case 14:case 30:return uA(t,6112,6121,!0,r);case 15:return je(t,"子丑寅卯辰巳午未申酉戌亥",s);case 16:return je(t,"甲乙丙丁戊己庚辛壬癸",s);case 17:case 48:return we(t,"零一二三四五六七八九",Ba,"負",s,Ke|De|Nt);case 47:return we(t,"零壹貳參肆伍陸柒捌玖",da,"負",s,it|Ke|De|Nt);case 42:return we(t,"零一二三四五六七八九",Ba,"负",s,Ke|De|Nt);case 41:return we(t,"零壹贰叁肆伍陆柒捌玖",da,"负",s,it|Ke|De|Nt);case 26:return we(t,"〇一二三四五六七八九","十百千万",ga,s,0);case 25:return we(t,"零壱弐参四伍六七八九","拾百千万",ga,s,it|Ke|De);case 31:return we(t,"영일이삼사오육칠팔구","십백천만",un,n,it|Ke|De);case 33:return we(t,"零一二三四五六七八九","十百千萬",un,n,0);case 32:return we(t,"零壹貳參四五六七八九","拾百千",un,n,it|Ke|De);case 18:return uA(t,2406,2415,!0,r);case 20:return ot(t,1,19999,mf,3,r);case 21:return uA(t,2790,2799,!0,r);case 22:return uA(t,2662,2671,!0,r);case 52:return ot(t,1,10999,Cf,3,r);case 23:return je(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return je(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return uA(t,3302,3311,!0,r);case 28:return je(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",s);case 29:return je(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",s);case 34:return uA(t,3792,3801,!0,r);case 37:return uA(t,6160,6169,!0,r);case 38:return uA(t,4160,4169,!0,r);case 39:return uA(t,2918,2927,!0,r);case 40:return uA(t,1776,1785,!0,r);case 43:return uA(t,3046,3055,!0,r);case 44:return uA(t,3174,3183,!0,r);case 45:return uA(t,3664,3673,!0,r);case 46:return uA(t,3872,3881,!0,r);default:return uA(t,48,57,!0,r)}},fn="data-html2canvas-ignore",Uf=t=>{let A=t;for(;A;){if(A.parentNode&&A.parentNode.host)return A.parentNode;const e=A.getRootNode();if(e&&e!==A.ownerDocument&&e.host)return e;A=A.parentNode}return null};class ua{constructor(A,e,r){if(this.context=A,this.options=r,this.scrolledElements=[],this.referenceElement=e,this.counters=new Qf,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");if(!this.options.iframeContainer){const s=Uf(e);s&&(this.options.iframeContainer=s)}this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}toIFrame(A,e){const r=Ff(A,e,this.options.iframeContainer);if(!r.contentWindow)throw new Error("Unable to find iframe window");const s=A.defaultView.pageXOffset,n=A.defaultView.pageYOffset,o=r.contentWindow,i=o.document,a=yf(r).then(async()=>{this.scrolledElements.forEach(vf),o&&(o.scrollTo(e.left,e.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==e.top||o.scrollX!==e.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-e.left,o.scrollY-e.top,0,0)));const u=this.options.onclone,f=this.clonedReferenceElement;if(typeof f>"u")throw new Error(`Error finding the ${this.referenceElement.nodeName} in the cloned document`);return i.fonts&&i.fonts.ready&&await i.fonts.ready,/(AppleWebKit)/g.test(navigator.userAgent)&&await Ef(i),typeof u=="function"?Promise.resolve().then(()=>u(i,f)).then(()=>r):r}),l=i.baseURI;i.open();const c=Hf(document.doctype)+"<html></html>";try{const u=this.referenceElement.ownerDocument?.defaultView,f=u&&u.trustedTypes;let w=f?.getPolicy?.("html2canvas-pro");!w&&f&&(w=f.createPolicy("html2canvas-pro",{createHTML:h=>h})),w?i.write(w.createHTML(c)):i.write(c)}catch{i.write(c)}If(this.referenceElement.ownerDocument,s,n),i.close();const B=i.adoptNode(this.documentElement);return Df(B,l),i.replaceChild(B,i.documentElement),a}createElementClone(A){if($s(A,2))debugger;if(sa(A))return this.createCanvasClone(A);if(na(A))return this.createVideoClone(A);if(gn(A))return this.createStyleClone(A);const e=A.cloneNode(!1);return dn(e)&&(dn(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),e.loading==="lazy"&&(e.loading="eager")),Si(e)&&!nt(e)?this.createCustomElementClone(e):e}createCustomElementClone(A){const e=document.createElement("div");if(e.className=A.className,hn(A.style,e),A.shadowRoot)try{e.attachShadow({mode:"open"})}catch(r){this.context.logger.error("Failed to attach shadow root to custom element clone:",r)}return e}createStyleClone(A){try{const r=A.sheet;if(r&&r.cssRules){const s=[].slice.call(r.cssRules,0).reduce((o,i)=>i&&typeof i.cssText=="string"?o+i.cssText:o,""),n=A.cloneNode(!1);return n.textContent=s,this.options.cspNonce&&(n.nonce=this.options.cspNonce),n}}catch(r){if(this.context.logger.error("Unable to access cssRules property",r),r.name!=="SecurityError")throw r}const e=A.cloneNode(!1);return this.options.cspNonce&&(e.nonce=this.options.cspNonce),e}createCanvasClone(A){if(this.options.inlineImages&&A.ownerDocument){const r=A.ownerDocument.createElement("img");try{return r.src=A.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}const e=A.cloneNode(!1);try{e.width=A.width,e.height=A.height;const r=A.getContext("2d"),s=e.getContext("2d",{willReadFrequently:!0});if(s)if(!this.options.allowTaint&&r)s.putImageData(r.getImageData(0,0,A.width,A.height),0,0);else{const n=A.getContext("webgl2")??A.getContext("webgl");n&&n.getContextAttributes()?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A),s.drawImage(A,0,0)}return e}catch{this.context.logger.info("Unable to clone canvas as it is tainted",A)}return e}createVideoClone(A){const e=A.ownerDocument.createElement("canvas");e.width=A.offsetWidth,e.height=A.offsetHeight;const r=e.getContext("2d");try{return r&&(r.drawImage(A,0,0,e.width,e.height),this.options.allowTaint||r.getImageData(0,0,e.width,e.height)),e}catch{this.context.logger.info("Unable to clone video as it is tainted",A)}const s=A.ownerDocument.createElement("canvas");return s.width=A.offsetWidth,s.height=A.offsetHeight,s}appendChildNode(A,e,r){(!he(e)||!ia(e)&&!e.hasAttribute(fn)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(e)))&&(!this.options.copyStyles||!he(e)||!gn(e))&&A.appendChild(this.cloneNode(e,r))}shouldCloneChild(A){return!he(A)||!ia(A)&&!A.hasAttribute(fn)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(A))}shouldCloneStyleElement(A){return!this.options.copyStyles||!he(A)||!gn(A)}safeAppendClonedChild(A,e,r){this.shouldCloneChild(e)&&this.shouldCloneStyleElement(e)&&A.appendChild(this.cloneNode(e,r))}cloneAssignedNodes(A,e,r){A.forEach(s=>{this.safeAppendClonedChild(e,s,r)})}cloneSlotFallbackContent(A,e,r){for(let s=A.firstChild;s;s=s.nextSibling)this.safeAppendClonedChild(e,s,r)}cloneSlotElement(A,e,r){if(!Mt(A))return;const s=A;if(typeof s.assignedNodes!="function"){this.context.logger.warn("HTMLSlotElement.assignedNodes is not available",A),this.cloneSlotFallbackContent(A,e,r);return}const n=s.assignedNodes();if(!n||!Array.isArray(n)){this.context.logger.warn("assignedNodes() did not return a valid array",A),this.cloneSlotFallbackContent(A,e,r);return}n.length>0?this.cloneAssignedNodes(n,e,r):this.cloneSlotFallbackContent(A,e,r)}cloneShadowDOMChildren(A,e,r){for(let s=A.firstChild;s;s=s.nextSibling)he(s)&&Mt(s)?this.cloneSlotElement(s,e,r):this.safeAppendClonedChild(e,s,r)}cloneLightDOMChildren(A,e,r){for(let s=A.firstChild;s;s=s.nextSibling)this.appendChildNode(e,s,r)}cloneSlotElementAsLightDOM(A,e,r){if(!Mt(A))return;const s=A;if(typeof s.assignedNodes!="function"){for(let o=A.firstChild;o;o=o.nextSibling)this.appendChildNode(e,o,r);return}const n=s.assignedNodes();if(n&&Array.isArray(n)&&n.length>0)n.forEach(o=>this.appendChildNode(e,o,r));else for(let o=A.firstChild;o;o=o.nextSibling)this.appendChildNode(e,o,r)}cloneShadowDOMAsLightDOM(A,e,r){for(let s=A.firstChild;s;s=s.nextSibling)he(s)&&Mt(s)?this.cloneSlotElementAsLightDOM(s,e,r):this.appendChildNode(e,s,r)}cloneChildNodes(A,e,r){A.shadowRoot&&e.shadowRoot?(this.cloneShadowDOMChildren(A.shadowRoot,e.shadowRoot,r),this.cloneLightDOMChildren(A,e,r)):A.shadowRoot&&!e.shadowRoot?this.cloneShadowDOMAsLightDOM(A.shadowRoot,e,r):this.cloneLightDOMChildren(A,e,r)}cloneNode(A,e){if(vi(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);const r=A.ownerDocument.defaultView;if(r&&he(A)&&(Dt(A)||nt(A))){const s=this.createElementClone(A);s.style.transitionProperty="none";const n=r.getComputedStyle(A),o=r.getComputedStyle(A,":before"),i=r.getComputedStyle(A,":after");this.referenceElement===A&&Dt(s)&&(this.clonedReferenceElement=s),Bn(s)&&Tf(s,this.options.cspNonce);const a=this.counters.parse(new Ii(this.context,n)),l=this.resolvePseudoContent(A,s,o,Vt.BEFORE);Si(A)&&(e=!0),na(A)||this.cloneChildNodes(A,s,e),l&&s.insertBefore(l,s.firstChild);const c=this.resolvePseudoContent(A,s,i,Vt.AFTER);return c&&s.appendChild(c),this.counters.pop(a),(n&&(this.options.copyStyles||nt(A))&&!oa(A)||e)&&hn(n,s),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([s,A.scrollLeft,A.scrollTop]),(Xr(A)||Wr(A))&&(Xr(s)||Wr(s))&&(s.value=A.value),s}return A.cloneNode(!1)}resolvePseudoContent(A,e,r,s){if(!r)return;const n=r.content,o=e.ownerDocument;if(!o||!n||n==="none"||n==="-moz-alt-content"||r.display==="none")return;this.counters.parse(new Ii(this.context,r));const i=new du(this.context,r),a=o.createElement("html2canvaspseudoelement");hn(r,a),i.content.forEach(c=>{if(c.type===0)a.appendChild(o.createTextNode(c.value));else if(c.type===22){const B=o.createElement("img");B.src=c.value,B.style.opacity="1",a.appendChild(B)}else if(c.type===18){if(c.name==="attr"){const B=c.values.filter(R);B.length&&a.appendChild(o.createTextNode(A.getAttribute(B[0].value)||""))}else if(c.name==="counter"){const[B,u]=c.values.filter(yA);if(B&&R(B)){const f=this.counters.getCounterValue(B.value),w=u&&R(u)?Zs.parse(this.context,u.value):3;a.appendChild(o.createTextNode(Gt(f,w,!1)))}}else if(c.name==="counters"){const[B,u,f]=c.values.filter(yA);if(B&&R(B)){const w=this.counters.getCounterValues(B.value),h=f&&R(f)?Zs.parse(this.context,f.value):3,m=u&&u.type===0?u.value:"",E=w.map(p=>Gt(p,h,!1)).join(m);a.appendChild(o.createTextNode(E))}}}else if(c.type===20)switch(c.value){case"open-quote":a.appendChild(o.createTextNode(Hi(i.quotes,this.quoteDepth++,!0)));break;case"close-quote":a.appendChild(o.createTextNode(Hi(i.quotes,--this.quoteDepth,!1)));break;default:a.appendChild(o.createTextNode(c.value))}}),a.className=`${wn} ${pn}`;const l=s===Vt.BEFORE?` ${wn}`:` ${pn}`;return nt(e)?e.className.baseValue+=l:e.className+=l,a}static destroy(A){return A.parentNode?(A.parentNode.removeChild(A),!0):!1}}var Vt;(function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"})(Vt||(Vt={}));const Ff=(t,A,e)=>{const r=t.createElement("iframe");return r.className="html2canvas-container",r.style.visibility="hidden",r.style.position="fixed",r.style.left="-10000px",r.style.top="0px",r.style.border="0",r.width=A.width.toString(),r.height=A.height.toString(),r.scrolling="no",r.setAttribute(fn,"true"),(e||t.body).appendChild(r),r},xf=t=>new Promise(A=>{if(t.complete){A();return}if(!t.src){A();return}t.onload=A,t.onerror=A}),Ef=t=>Promise.all([].slice.call(t.images,0).map(xf)),yf=t=>new Promise((A,e)=>{const r=t.contentWindow;if(!r)return e("No window assigned for iframe");const s=r.document;r.onload=t.onload=()=>{r.onload=t.onload=null;const n=setInterval(()=>{s.body.childNodes.length>0&&s.readyState==="complete"&&(clearInterval(n),A(t))},50)}}),bf=["all","d","content"],hn=(t,A)=>{for(let e=t.length-1;e>=0;e--){const r=t.item(e);bf.indexOf(r)===-1&&!r.startsWith("--")&&A.style.setProperty(r,t.getPropertyValue(r))}return A},Hf=t=>{let A="";return t&&(A+="<!DOCTYPE ",t.name&&(A+=t.name),t.internalSubset&&(A+=" "+t.internalSubset.replace(/"/g,""").replace(/>/g,">")),t.publicId?(A+=' PUBLIC "'+t.publicId.replace(/"/g,""")+'"',t.systemId&&(A+=' "'+t.systemId.replace(/"/g,""")+'"')):t.systemId&&(A+=' SYSTEM "'+t.systemId.replace(/"/g,""")+'"'),A+=">"),A},If=(t,A,e)=>{t&&t.defaultView&&(A!==t.defaultView.pageXOffset||e!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(A,e)},vf=([t,A,e])=>{t.scrollLeft=A,t.scrollTop=e},Sf=":before",Lf=":after",wn="___html2canvas___pseudoelement_before",pn="___html2canvas___pseudoelement_after",fa=`{
|
|
7
|
+
<%s key={someKey} {...props} />`,AA,W,MA,W),qA[W+AA]=!0)}if(W=null,X!==void 0&&(e(X),W=""+X),o(O)&&(e(O.key),W=""+O.key),"key"in O){X={};for(var kA in O)kA!=="key"&&(X[kA]=O[kA])}else X=O;return W&&i(X,typeof Q=="function"?Q.displayName||Q.name||"Unknown":Q),l(Q,W,X,s(),CA,Ae)}function B(Q){u(Q)?Q._store&&(Q._store.validated=1):typeof Q=="object"&&Q!==null&&Q.$$typeof===S&&(Q._payload.status==="fulfilled"?u(Q._payload.value)&&Q._payload.value._store&&(Q._payload.value._store.validated=1):Q._store&&(Q._store.validated=1))}function u(Q){return typeof Q=="object"&&Q!==null&&Q.$$typeof===w}var f=C,w=Symbol.for("react.transitional.element"),h=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),x=Symbol.for("react.consumer"),T=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),V=Symbol.for("react.suspense_list"),Z=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),bA=Symbol.for("react.activity"),UA=Symbol.for("react.client.reference"),QA=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=Object.prototype.hasOwnProperty,aA=Array.isArray,q=console.createTask?console.createTask:function(){return null};f={react_stack_bottom_frame:function(Q){return Q()}};var $A,FA={},LA=f.react_stack_bottom_frame.bind(f,n)(),ne=q(r(n)),qA={};wt.Fragment=m,wt.jsx=function(Q,O,X){var AA=1e4>QA.recentlyCreatedOwnerStacks++;return c(Q,O,X,!1,AA?Error("react-stack-top-frame"):LA,AA?q(r(Q)):ne)},wt.jsxs=function(Q,O,X){var AA=1e4>QA.recentlyCreatedOwnerStacks++;return c(Q,O,X,!0,AA?Error("react-stack-top-frame"):LA,AA?q(r(Q)):ne)}})()),wt}var Vn;function Pa(){return Vn||(Vn=1,process.env.NODE_ENV==="production"?er.exports=_a():er.exports=ka()),er.exports}var g=Pa(),tr={exports:{}},ns={};var _n;function Xa(){if(_n)return ns;_n=1;var t=C;function A(B,u){return B===u&&(B!==0||1/B===1/u)||B!==B&&u!==u}var e=typeof Object.is=="function"?Object.is:A,r=t.useState,s=t.useEffect,n=t.useLayoutEffect,o=t.useDebugValue;function i(B,u){var f=u(),w=r({inst:{value:f,getSnapshot:u}}),h=w[0].inst,m=w[1];return n(function(){h.value=f,h.getSnapshot=u,a(h)&&m({inst:h})},[B,f,u]),s(function(){return a(h)&&m({inst:h}),B(function(){a(h)&&m({inst:h})})},[B]),o(f),f}function a(B){var u=B.getSnapshot;B=B.value;try{var f=u();return!e(B,f)}catch{return!0}}function l(B,u){return u()}var c=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?l:i;return ns.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:c,ns}var os={};var kn;function Wa(){return kn||(kn=1,process.env.NODE_ENV!=="production"&&(function(){function t(f,w){return f===w&&(f!==0||1/f===1/w)||f!==f&&w!==w}function A(f,w){c||s.startTransition===void 0||(c=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var h=w();if(!B){var m=w();n(h,m)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),B=!0)}m=o({inst:{value:h,getSnapshot:w}});var E=m[0].inst,p=m[1];return a(function(){E.value=h,E.getSnapshot=w,e(E)&&p({inst:E})},[f,h,w]),i(function(){return e(E)&&p({inst:E}),f(function(){e(E)&&p({inst:E})})},[f]),l(h),h}function e(f){var w=f.getSnapshot;f=f.value;try{var h=w();return!n(f,h)}catch{return!0}}function r(f,w){return w()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var s=C,n=typeof Object.is=="function"?Object.is:t,o=s.useState,i=s.useEffect,a=s.useLayoutEffect,l=s.useDebugValue,c=!1,B=!1,u=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?r:A;os.useSyncExternalStore=s.useSyncExternalStore!==void 0?s.useSyncExternalStore:u,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),os}var Pn;function Ja(){return Pn||(Pn=1,process.env.NODE_ENV==="production"?tr.exports=Xa():tr.exports=Wa()),tr.exports}var Xn=Ja();const Wn=0,Jn=1,jn=2,Yn=3;var zn=Object.prototype.hasOwnProperty;function is(t,A){var e,r;if(t===A)return!0;if(t&&A&&(e=t.constructor)===A.constructor){if(e===Date)return t.getTime()===A.getTime();if(e===RegExp)return t.toString()===A.toString();if(e===Array){if((r=t.length)===A.length)for(;r--&&is(t[r],A[r]););return r===-1}if(!e||typeof t=="object"){r=0;for(e in t)if(zn.call(t,e)&&++r&&!zn.call(A,e)||!(e in A)||!is(t[e],A[e]))return!1;return Object.keys(A).length===r}}return t!==t&&A!==A}const fe=new WeakMap,he=()=>{},DA=he(),as=Object,N=t=>t===DA,ce=t=>typeof t=="function",be=(t,A)=>({...t,...A}),Zn=t=>ce(t.then),cs={},rr={},ls="undefined",pt=typeof window!=ls,Bs=typeof document!=ls,ja=pt&&"Deno"in window,Ya=()=>pt&&typeof window.requestAnimationFrame!=ls,$n=(t,A)=>{const e=fe.get(t);return[()=>!N(A)&&t.get(A)||cs,r=>{if(!N(A)){const s=t.get(A);A in rr||(rr[A]=s),e[5](A,be(s,r),s||cs)}},e[6],()=>!N(A)&&A in rr?rr[A]:!N(A)&&t.get(A)||cs]};let ds=!0;const za=()=>ds,[gs,us]=pt&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[he,he],Za=()=>{const t=Bs&&document.visibilityState;return N(t)||t!=="hidden"},$a=t=>(Bs&&document.addEventListener("visibilitychange",t),gs("focus",t),()=>{Bs&&document.removeEventListener("visibilitychange",t),us("focus",t)}),qa=t=>{const A=()=>{ds=!0,t()},e=()=>{ds=!1};return gs("online",A),gs("offline",e),()=>{us("online",A),us("offline",e)}},Ac={isOnline:za,isVisible:Za},ec={initFocus:$a,initReconnect:qa},qn=!C.useId,$e=!pt||ja,tc=t=>Ya()?window.requestAnimationFrame(t):setTimeout(t,1),fs=$e?C.useEffect:C.useLayoutEffect,hs=typeof navigator<"u"&&navigator.connection,Ao=!$e&&hs&&(["slow-2g","2g"].includes(hs.effectiveType)||hs.saveData),sr=new WeakMap,rc=t=>as.prototype.toString.call(t),ws=(t,A)=>t===`[object ${A}]`;let sc=0;const ps=t=>{const A=typeof t,e=rc(t),r=ws(e,"Date"),s=ws(e,"RegExp"),n=ws(e,"Object");let o,i;if(as(t)===t&&!r&&!s){if(o=sr.get(t),o)return o;if(o=++sc+"~",sr.set(t,o),Array.isArray(t)){for(o="@",i=0;i<t.length;i++)o+=ps(t[i])+",";sr.set(t,o)}if(n){o="#";const a=as.keys(t).sort();for(;!N(i=a.pop());)N(t[i])||(o+=i+":"+ps(t[i])+",");sr.set(t,o)}}else o=r?t.toJSON():A=="symbol"?t.toString():A=="string"?JSON.stringify(t):""+t;return o},Qs=t=>{if(ce(t))try{t=t()}catch{t=""}const A=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?ps(t):"",[t,A]};let nc=0;const Cs=()=>++nc;async function eo(...t){const[A,e,r,s]=t,n=be({populateCache:!0,throwOnError:!0},typeof s=="boolean"?{revalidate:s}:s||{});let o=n.populateCache;const i=n.rollbackOnError;let a=n.optimisticData;const l=u=>typeof i=="function"?i(u):i!==!1,c=n.throwOnError;if(ce(e)){const u=e,f=[],w=A.keys();for(const h of w)!/^\$(inf|sub)\$/.test(h)&&u(A.get(h)._k)&&f.push(h);return Promise.all(f.map(B))}return B(e);async function B(u){const[f]=Qs(u);if(!f)return;const[w,h]=$n(A,f),[m,E,p,x]=fe.get(A),T=()=>{const aA=m[f];return(ce(n.revalidate)?n.revalidate(w().data,u):n.revalidate!==!1)&&(delete p[f],delete x[f],aA&&aA[0])?aA[0](jn).then(()=>w().data):w().data};if(t.length<3)return T();let F=r,K,V=!1;const Z=Cs();E[f]=[Z,0];const S=!N(a),bA=w(),UA=bA.data,QA=bA._c,$=N(QA)?UA:QA;if(S&&(a=ce(a)?a($,UA):a,h({data:a,_c:$})),ce(F))try{F=F($)}catch(aA){K=aA,V=!0}if(F&&Zn(F))if(F=await F.catch(aA=>{K=aA,V=!0}),Z!==E[f][0]){if(V)throw K;return F}else V&&S&&l(K)&&(o=!0,h({data:$,_c:DA}));if(o&&!V)if(ce(o)){const aA=o(F,$);h({data:aA,error:DA,_c:DA})}else h({data:F,error:DA,_c:DA});if(E[f][1]=Cs(),Promise.resolve(T()).then(()=>{h({_c:DA})}),V){if(c)throw K;return}return F}}const to=(t,A)=>{for(const e in t)t[e][0]&&t[e][0](A)},oc=(t,A)=>{if(!fe.has(t)){const e=be(ec,A),r=Object.create(null),s=eo.bind(DA,t);let n=he;const o=Object.create(null),i=(c,B)=>{const u=o[c]||[];return o[c]=u,u.push(B),()=>u.splice(u.indexOf(B),1)},a=(c,B,u)=>{t.set(c,B);const f=o[c];if(f)for(const w of f)w(B,u)},l=()=>{if(!fe.has(t)&&(fe.set(t,[r,Object.create(null),Object.create(null),Object.create(null),s,a,i]),!$e)){const c=e.initFocus(setTimeout.bind(DA,to.bind(DA,r,Wn))),B=e.initReconnect(setTimeout.bind(DA,to.bind(DA,r,Jn)));n=()=>{c&&c(),B&&B(),fe.delete(t)}}};return l(),[t,s,l,n]}return[t,fe.get(t)[4]]},ic=(t,A,e,r,s)=>{const n=e.errorRetryCount,o=s.retryCount,i=~~((Math.random()+.5)*(1<<(o<8?o:8)))*e.errorRetryInterval;!N(n)&&o>n||setTimeout(r,i,s)},ac=is,[ro,cc]=oc(new Map),lc=be({onLoadingSlow:he,onSuccess:he,onError:he,onErrorRetry:ic,onDiscarded:he,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Ao?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Ao?5e3:3e3,compare:ac,isPaused:()=>!1,cache:ro,mutate:cc,fallback:{}},Ac),Bc=(t,A)=>{const e=be(t,A);if(A){const{use:r,fallback:s}=t,{use:n,fallback:o}=A;r&&n&&(e.use=r.concat(n)),s&&o&&(e.fallback=be(s,o))}return e},dc=C.createContext({}),gc="$inf$",so=pt&&window.__SWR_DEVTOOLS_USE__,uc=so?window.__SWR_DEVTOOLS_USE__:[],fc=()=>{so&&(window.__SWR_DEVTOOLS_REACT__=C)},hc=t=>ce(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(t[1]===null?t[2]:t[1])||{}],wc=()=>{const t=C.useContext(dc);return C.useMemo(()=>be(lc,t),[t])},pc=t=>(A,e,r)=>t(A,e&&((...n)=>{const[o]=Qs(A),[,,,i]=fe.get(ro);if(o.startsWith(gc))return e(...n);const a=i[o];return N(a)?e(...n):(delete i[o],a)}),r),Qc=uc.concat(pc),Cc=t=>function(...e){const r=wc(),[s,n,o]=hc(e),i=Bc(r,o);let a=t;const{use:l}=i,c=(l||[]).concat(Qc);for(let B=c.length;B--;)a=c[B](a);return a(s,n||i.fetcher||null,i)},mc=(t,A,e)=>{const r=A[t]||(A[t]=[]);return r.push(e),()=>{const s=r.indexOf(e);s>=0&&(r[s]=r[r.length-1],r.pop())}};fc();const ms=C.use||(t=>{switch(t.status){case"pending":throw t;case"fulfilled":return t.value;case"rejected":throw t.reason;default:throw t.status="pending",t.then(A=>{t.status="fulfilled",t.value=A},A=>{t.status="rejected",t.reason=A}),t}}),Us={dedupe:!0},no=Promise.resolve(DA),Uc=()=>he,oo=Cc((t,A,e)=>{const{cache:r,compare:s,suspense:n,fallbackData:o,revalidateOnMount:i,revalidateIfStale:a,refreshInterval:l,refreshWhenHidden:c,refreshWhenOffline:B,keepPreviousData:u,strictServerPrefetchWarning:f}=e,[w,h,m,E]=fe.get(r),[p,x]=Qs(t),T=C.useRef(!1),F=C.useRef(!1),K=C.useRef(p),V=C.useRef(A),Z=C.useRef(e),S=()=>Z.current,bA=()=>S().isVisible()&&S().isOnline(),[UA,QA,$,aA]=$n(r,p),q=C.useRef({}).current,$A=N(o)?N(e.fallback)?DA:e.fallback[p]:o,FA=(z,nA)=>{for(const lA in q){const eA=lA;if(eA==="data"){if(!s(z[eA],nA[eA])&&(!N(z[eA])||!s(Ae,nA[eA])))return!1}else if(nA[eA]!==z[eA])return!1}return!0},LA=!T.current,ne=C.useMemo(()=>{const z=UA(),nA=aA(),lA=tA=>{const PA=be(tA);return delete PA._k,(()=>{if(!p||!A||S().isPaused())return!1;if(LA&&!N(i))return i;const BA=N($A)?PA.data:$A;return N(BA)||a})()?{isValidating:!0,isLoading:!0,...PA}:PA},eA=lA(z),HA=z===nA?eA:lA(nA);let EA=eA;return[()=>{const tA=lA(UA());return FA(tA,EA)?(EA.data=tA.data,EA.isLoading=tA.isLoading,EA.isValidating=tA.isValidating,EA.error=tA.error,EA):(EA=tA,tA)},()=>HA]},[r,p]),qA=Xn.useSyncExternalStore(C.useCallback(z=>$(p,(nA,lA)=>{FA(lA,nA)||z()}),[r,p]),ne[0],ne[1]),Q=w[p]&&w[p].length>0,O=qA.data,X=N(O)?$A&&Zn($A)?ms($A):$A:O,AA=qA.error,CA=C.useRef(X),Ae=u?N(O)?N(CA.current)?X:CA.current:O:X,W=p&&N(X),MA=C.useRef(null);!$e&&Xn.useSyncExternalStore(Uc,()=>(MA.current=!1,MA),()=>(MA.current=!0,MA));const kA=MA.current;f&&kA&&!n&&W&&console.warn(`Missing pre-initiated data for serialized key "${p}" during server-side rendering. Data fetching should be initiated on the server and provided to SWR via fallback data. You can set "strictServerPrefetchWarning: false" to disable this warning.`);const gt=!p||!A||S().isPaused()||Q&&!N(AA)?!1:LA&&!N(i)?i:n?N(X)?!1:a:N(X)||a,jt=LA&>,In=N(qA.isValidating)?jt:qA.isValidating,xA=N(qA.isLoading)?jt:qA.isLoading,me=C.useCallback(async z=>{const nA=V.current;if(!p||!nA||F.current||S().isPaused())return!1;let lA,eA,HA=!0;const EA=z||{},tA=!m[p]||!EA.dedupe,PA=()=>qn?!F.current&&p===K.current&&T.current:p===K.current,Ne={isValidating:!1,isLoading:!1},BA=()=>{QA(Ne)},ze=()=>{const yA=m[p];yA&&yA[1]===eA&&delete m[p]},Yt={isValidating:!0};N(UA().data)&&(Yt.isLoading=!0);try{if(tA&&(QA(Yt),e.loadingTimeout&&N(UA().data)&&setTimeout(()=>{HA&&PA()&&S().onLoadingSlow(p,e)},e.loadingTimeout),m[p]=[nA(x),Cs()]),[lA,eA]=m[p],lA=await lA,tA&&setTimeout(ze,e.dedupingInterval),!m[p]||m[p][1]!==eA)return tA&&PA()&&S().onDiscarded(p),!1;Ne.error=DA;const yA=h[p];if(!N(yA)&&(eA<=yA[0]||eA<=yA[1]||yA[1]===0))return BA(),tA&&PA()&&S().onDiscarded(p),!1;const oe=UA().data;Ne.data=s(oe,lA)?oe:lA,tA&&PA()&&S().onSuccess(lA,p,e)}catch(yA){ze();const oe=S(),{shouldRetryOnError:Ze}=oe;oe.isPaused()||(Ne.error=yA,tA&&PA()&&(oe.onError(yA,p,oe),(Ze===!0||ce(Ze)&&Ze(yA))&&(!S().revalidateOnFocus||!S().revalidateOnReconnect||bA())&&oe.onErrorRetry(yA,p,oe,Ge=>{const zt=w[p];zt&&zt[0]&&zt[0](Yn,Ge)},{retryCount:(EA.retryCount||0)+1,dedupe:!0})))}return HA=!1,BA(),!0},[p,r]),rs=C.useCallback((...z)=>eo(r,K.current,...z),[]);if(fs(()=>{V.current=A,Z.current=e,N(O)||(CA.current=O)}),fs(()=>{if(!p)return;const z=me.bind(DA,Us);let nA=0;S().revalidateOnFocus&&(nA=Date.now()+S().focusThrottleInterval);const eA=mc(p,w,(HA,EA={})=>{if(HA==Wn){const tA=Date.now();S().revalidateOnFocus&&tA>nA&&bA()&&(nA=tA+S().focusThrottleInterval,z())}else if(HA==Jn)S().revalidateOnReconnect&&bA()&&z();else{if(HA==jn)return me();if(HA==Yn)return me(EA)}});return F.current=!1,K.current=p,T.current=!0,QA({_k:x}),gt&&(m[p]||(N(X)||$e?z():tc(z))),()=>{F.current=!0,eA()}},[p]),fs(()=>{let z;function nA(){const eA=ce(l)?l(UA().data):l;eA&&z!==-1&&(z=setTimeout(lA,eA))}function lA(){!UA().error&&(c||S().isVisible())&&(B||S().isOnline())?me(Us).then(nA):nA()}return nA(),()=>{z&&(clearTimeout(z),z=-1)}},[l,c,B,p]),C.useDebugValue(Ae),n){if(!qn&&$e&&W)throw new Error("Fallback data is required when using Suspense in SSR.");W&&(V.current=A,Z.current=e,F.current=!1);const z=E[p],nA=!N(z)&&W?rs(z):no;if(ms(nA),!N(AA)&&W)throw AA;const lA=W?me(Us):no;!N(Ae)&&W&&(lA.status="fulfilled",lA.value=!0),ms(lA)}return{mutate:rs,get data(){return q.data=!0,Ae},get error(){return q.error=!0,AA},get isValidating(){return q.isValidating=!0,In},get isLoading(){return q.isLoading=!0,xA}}}),Fc=({children:t})=>{const A=C.useRef(null),[e,r]=C.useState(null);return C.useEffect(()=>{if(A.current&&!A.current.shadowRoot){const s=A.current.attachShadow({mode:"open"});document.querySelectorAll("style[data-vite-dev-id], style:not([data-vite-dev-id])").forEach(i=>{(i.textContent?.includes(".vg-")||i.textContent?.includes("--vg-"))&&s.appendChild(i.cloneNode(!0))});const o=document.createElement("link");o.rel="stylesheet",o.href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap",s.appendChild(o),r(s)}},[]),g.jsx("div",{"data-source-path":"/src/components/ShadowRootWrapper.tsx:38",ref:A,id:"viewgate-shadow-host",style:{position:"relative",zIndex:2147483647},children:e&&Va.createPortal(t,e)})};const io=(...t)=>t.filter((A,e,r)=>!!A&&A.trim()!==""&&r.indexOf(A)===e).join(" ").trim();const xc=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const Ec=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(A,e,r)=>r?r.toUpperCase():e.toLowerCase());const ao=t=>{const A=Ec(t);return A.charAt(0).toUpperCase()+A.slice(1)};var yc={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const bc=t=>{for(const A in t)if(A.startsWith("aria-")||A==="role"||A==="title")return!0;return!1};const Hc=C.forwardRef(({color:t="currentColor",size:A=24,strokeWidth:e=2,absoluteStrokeWidth:r,className:s="",children:n,iconNode:o,...i},a)=>C.createElement("svg",{ref:a,...yc,width:A,height:A,stroke:t,strokeWidth:r?Number(e)*24/Number(A):e,className:io("lucide",s),...!n&&!bc(i)&&{"aria-hidden":"true"},...i},[...o.map(([l,c])=>C.createElement(l,c)),...Array.isArray(n)?n:[n]]));const IA=(t,A)=>{const e=C.forwardRef(({className:r,...s},n)=>C.createElement(Hc,{ref:n,iconNode:A,className:io(`lucide-${xc(ao(t))}`,`lucide-${t}`,r),...s}));return e.displayName=ao(t),e};const Qt=IA("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]);const Ic=IA("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);const He=IA("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const co=IA("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);const vc=IA("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);const Sc=IA("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const Lc=IA("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);const lo=IA("grip-vertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);const Bo=IA("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);const Tc=IA("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);const nr=IA("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]);const Kc=IA("mouse-pointer-2",[["path",{d:"M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z",key:"edeuup"}]]);const Dc=IA("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);const Oc=IA("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);const go=IA("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);const uo=IA("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);const Fs=IA("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Rc={en:{enterMode:"Enter Feedback Mode",exitMode:"Exit Mode",completed:"Completed",feedbackHeader:"Feedback",selectedElement:"Selected element:",line:"Line",placeholder:"Tell us what you'd like to change...",cancel:"Cancel",send:"Send Feedback",submitting:"Submitting...",success:"Your feedback has been submitted successfully!",error:"Failed to submit feedback. Check backend connection.",successHeader:"Success",errorHeader:"Error",preview:"Preview",viewComments:"View Comments",close:"Close",observe:"Observe",pending:"Pending",readyForReview:"Ready for Review",noComments:"No comments found.",deleteConfirm:"Delete comment",completeConfirm:"Mark as completed?",confirmComplete:"The ticket will be marked as completed and archived.",markReady:"Mark as Ready for Review",reopen:"Reopen",reopenPlaceholder:"Add a new comment before confirming...",review:"Review",confirmDelete:"Are you sure you want to permanently delete this comment? This action cannot be undone.",markReadyConfirm:"Mark as Ready for Review?",confirmMarkReady:"Do you want to mark this comment as ready for review? it will be moved to the review state.",reopenConfirm:"Reopen comment",confirmReopen:"Do you want to set this comment back to pending status?",yes:"Yes, confirm",no:"No, cancel",deleteSuccess:"Comment deleted successfully.",updateSuccess:"Updated successfully.",navigating:"Redirecting to review...",selectToComment:"Click to comment",feedbackSubheader:"What would you like to improve here?",sendFeedback:"Send Comment",edit:"Edit",save:"Save",commentDetails:"Comment Details",annotations:"Comments",viewAll:"View All",exitConfirmTitle:"Close ViewGate?",exitConfirmMessage:"Are you sure you want to close ViewGate? You can reopen it at any time by adding ?viewgate=true to your URL.",backlog:"Backlog",low:"Low",medium:"Medium",high:"High",urgent:"Urgent",priority:"Priority",login:"Login with Google",authenticating:"Authenticating...",selectMember:"Select who you are to comment",asMember:"Commenting as",changeMember:"Change"},es:{enterMode:"Activar Modo Comentarios",exitMode:"Salir del Modo",completed:"Completado",feedbackHeader:"Comentarios",selectedElement:"Elemento seleccionado:",line:"Línea",placeholder:"Cuéntanos qué te gustaría cambiar...",cancel:"Cancelar",send:"Enviar Comentarios",submitting:"Enviando...",success:"¡Tus comentarios se han enviado con éxito!",error:"Error al enviar comentarios. Revisa la conexión con el servidor.",successHeader:"Éxito",errorHeader:"Error",preview:"Vista previa",viewComments:"Ver Comentarios",close:"Cerrar",observe:"Observar",pending:"Pendiente",readyForReview:"Listo para revisión",noComments:"No hay comentarios.",deleteConfirm:"Eliminar comentario",completeConfirm:"¿Completar ticket?",confirmComplete:"El ticket se marcará como completado y se archivará.",markReady:"Marcar como Listo para revisión",reopen:"Reabrir",reopenPlaceholder:"Agrega un nuevo comentario antes de confirmar...",review:"Revisar",confirmDelete:"¿Estás seguro de que deseas eliminar permanentemente este comentario? Esta acción no se puede deshacer.",markReadyConfirm:"¿Listo para revisión?",confirmMarkReady:"¿Deseas marcar este comentario como listo para revisión? Pasará al estado de revisión.",reopenConfirm:"Reabrir comentario",confirmReopen:"¿Deseas volver a poner este comentario en estado pendiente?",yes:"Sí, confirmar",no:"No, cancelar",deleteSuccess:"El comentario ha sido eliminado.",updateSuccess:"Actualizado correctamente.",navigating:"Redirigiendo a revisión...",selectToComment:"Haz clic para comentar",feedbackSubheader:"¿Qué te gustaría mejorar aquí?",sendFeedback:"Enviar Comentario",edit:"Editar",save:"Guardar",commentDetails:"Detalles del Comentario",annotations:"Comentarios",viewAll:"Ver Todos",exitConfirmTitle:"¿Cerrar ViewGate?",exitConfirmMessage:"¿Estás seguro de que deseas cerrar ViewGate? Puedes volver a activarlo en cualquier momento agregando ?viewgate=true a la URL.",backlog:"Backlog",low:"Baja",medium:"Media",high:"Alta",urgent:"Urgente",priority:"Prioridad",login:"Iniciar sesión con Google",authenticating:"Autenticando...",selectMember:"Selecciona quién eres para comentar",asMember:"Comentando como",changeMember:"Cambiar"}},fo=C.createContext(void 0),ho=()=>{const t=C.useContext(fo);if(!t)throw new Error("useViewGate must be used within a ViewGateProvider");return t},Ct="viewgate_enabled",Mc=()=>{if(typeof window>"u")return!1;const t=new URLSearchParams(window.location.search);return t.has("viewgate")||t.has("viewgate-backlog")?(sessionStorage.setItem(Ct,"true"),!0):sessionStorage.getItem(Ct)==="true"},Nc=({children:t,language:A="es",apiKey:e,baseUrl:r="https://view-gate.vercel.app",dashboardUrl:s})=>{const n=s||(r==="https://view-gate.vercel.app"?"https://view-gate-dashboard.vercel.app":r),[o,i]=C.useState(!1),[a,l]=C.useState([]);C.useRef(0);const c=C.useRef(null),B=C.useRef(!1);C.useEffect(()=>{i(Mc());const h=E=>{E.key==="Alt"&&!E.repeat&&(E.preventDefault(),B.current=!1,c.current&&clearTimeout(c.current),c.current=setTimeout(()=>{const p=new URL(window.location.href);p.searchParams.delete("viewgate"),p.searchParams.set("viewgate-backlog","true"),window.history.replaceState({},"",p.toString()),i(!0),sessionStorage.setItem(Ct,"true"),window.dispatchEvent(new PopStateEvent("popstate")),f(A==="es"?"Modo Backlog activado":"Backlog Mode activated","success"),B.current=!0,c.current=null},1e3))},m=E=>{if(E.key==="Alt"&&(E.preventDefault(),c.current)){clearTimeout(c.current),c.current=null;const p=new URL(window.location.href);p.searchParams.delete("viewgate-backlog"),p.searchParams.set("viewgate","true"),window.history.replaceState({},"",p.toString()),i(!0),sessionStorage.setItem(Ct,"true"),window.dispatchEvent(new PopStateEvent("popstate")),f(A==="es"?"Modo Normal activado":"Normal Mode activated","success")}};return window.addEventListener("keydown",h),window.addEventListener("keyup",m),()=>{window.removeEventListener("keydown",h),window.removeEventListener("keyup",m)}},[A]);const u=()=>{if(sessionStorage.removeItem(Ct),i(!1),typeof window<"u"){const h=new URL(window.location.href);h.searchParams.delete("viewgate"),window.history.replaceState({},"",h.toString())}},f=(h,m)=>{const E=Date.now();l(p=>[...p,{id:E,message:h,type:m}]),setTimeout(()=>{l(p=>p.filter(x=>x.id!==E))},4e3)},w=Rc[A];return g.jsxs(fo.Provider,{"data-source-path":"/src/components/ViewGateProvider.tsx:334",value:{addToast:f,language:A,t:w,apiKey:e,baseUrl:r,dashboardUrl:n,disableViewGate:u,hasActiveToasts:a.length>0},children:[t,o&&g.jsx(Fc,{"data-source-path":"/src/components/ViewGateProvider.tsx:346",children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateProvider.tsx:347",className:"vg-container",children:[g.jsx(Da,{"data-source-path":"/src/components/ViewGateProvider.tsx:348"}),g.jsx("div",{"data-source-path":"/src/components/ViewGateProvider.tsx:349",className:"vg-toasts",style:{zIndex:2147483647},children:a.map(h=>g.jsxs("div",{"data-source-path":"/src/components/ViewGateProvider.tsx:351",className:`vg-toast vg-animate-slide ${h.type}`,children:[h.type==="success"?g.jsx(He,{"data-source-path":"/src/components/ViewGateProvider.tsx:353",size:24,color:"#22c55e"}):g.jsx(Ic,{"data-source-path":"/src/components/ViewGateProvider.tsx:355",size:24,color:"#ef4444"}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateProvider.tsx:357",children:[g.jsx("strong",{"data-source-path":"/src/components/ViewGateProvider.tsx:358",style:{display:"block",fontSize:"13px",color:"#0f172a",textTransform:"uppercase",marginBottom:"2px"},children:h.type==="success"?w.successHeader:w.errorHeader}),g.jsx("span",{"data-source-path":"/src/components/ViewGateProvider.tsx:361",style:{fontSize:"14px",color:"#000000"},children:h.message})]})]},h.id))})]})})]})};class OA{constructor(A,e,r,s){this.left=A,this.top=e,this.width=r,this.height=s}add(A,e,r,s){return new OA(this.left+A,this.top+e,this.width+r,this.height+s)}static fromClientRect(A,e){return new OA(e.left+A.windowBounds.left,e.top+A.windowBounds.top,e.width,e.height)}static fromDOMRectList(A,e){const r=Array.from(e);let s=r.find(n=>n.width!==0);return s||(s=r.find(n=>n.height!==0)),!s&&r.length>0&&(s=r[0]),s?new OA(s.left+A.windowBounds.left,s.top+A.windowBounds.top,s.width,s.height):OA.EMPTY}}OA.EMPTY=new OA(0,0,0,0);const or=(t,A)=>OA.fromClientRect(t,A.getBoundingClientRect()),Gc=t=>{const A=t.body,e=t.documentElement;if(!A||!e)throw new Error("Unable to get document size");const r=Math.max(Math.max(A.scrollWidth,e.scrollWidth),Math.max(A.offsetWidth,e.offsetWidth),Math.max(A.clientWidth,e.clientWidth)),s=Math.max(Math.max(A.scrollHeight,e.scrollHeight),Math.max(A.offsetHeight,e.offsetHeight),Math.max(A.clientHeight,e.clientHeight));return new OA(0,0,r,s)};for(var ir=function(t){for(var A=[],e=0,r=t.length;e<r;){var s=t.charCodeAt(e++);if(s>=55296&&s<=56319&&e<r){var n=t.charCodeAt(e++);(n&64512)===56320?A.push(((s&1023)<<10)+(n&1023)+65536):(A.push(s),e--)}else A.push(s)}return A},gA=function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var e=t.length;if(!e)return"";for(var r=[],s=-1,n="";++s<e;){var o=t[s];o<=65535?r.push(o):(o-=65536,r.push((o>>10)+55296,o%1024+56320)),(s+1===e||r.length>16384)&&(n+=String.fromCharCode.apply(String,r),r.length=0)}return n},wo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Vc=typeof Uint8Array>"u"?[]:new Uint8Array(256),ar=0;ar<wo.length;ar++)Vc[wo.charCodeAt(ar)]=ar;for(var po="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",mt=typeof Uint8Array>"u"?[]:new Uint8Array(256),cr=0;cr<po.length;cr++)mt[po.charCodeAt(cr)]=cr;for(var _c=function(t){var A=t.length*.75,e=t.length,r,s=0,n,o,i,a;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),c=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<e;r+=4)n=mt[t.charCodeAt(r)],o=mt[t.charCodeAt(r+1)],i=mt[t.charCodeAt(r+2)],a=mt[t.charCodeAt(r+3)],c[s++]=n<<2|o>>4,c[s++]=(o&15)<<4|i>>2,c[s++]=(i&3)<<6|a&63;return l},kc=function(t){for(var A=t.length,e=[],r=0;r<A;r+=2)e.push(t[r+1]<<8|t[r]);return e},Pc=function(t){for(var A=t.length,e=[],r=0;r<A;r+=4)e.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return e},Ve=5,xs=11,Es=2,Xc=xs-Ve,Qo=65536>>Ve,Wc=1<<Ve,ys=Wc-1,Jc=1024>>Ve,jc=Qo+Jc,Yc=jc,zc=32,Zc=Yc+zc,$c=65536>>xs,qc=1<<Xc,Al=qc-1,Co=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},el=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},tl=function(t,A){var e=_c(t),r=Array.isArray(e)?Pc(e):new Uint32Array(e),s=Array.isArray(e)?kc(e):new Uint16Array(e),n=24,o=Co(s,n/2,r[4]/2),i=r[5]===2?Co(s,(n+r[4])/2):el(r,Math.ceil((n+r[4])/4));return new rl(r[0],r[1],r[2],r[3],o,i)},rl=(function(){function t(A,e,r,s,n,o){this.initialValue=A,this.errorValue=e,this.highStart=r,this.highValueIndex=s,this.index=n,this.data=o}return t.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>Ve],e=(e<<Es)+(A&ys),this.data[e];if(A<=65535)return e=this.index[Qo+(A-55296>>Ve)],e=(e<<Es)+(A&ys),this.data[e];if(A<this.highStart)return e=Zc-$c+(A>>xs),e=this.index[e],e+=A>>Ve&Al,e=this.index[e],e=(e<<Es)+(A&ys),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t})(),mo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",sl=typeof Uint8Array>"u"?[]:new Uint8Array(256),lr=0;lr<mo.length;lr++)sl[mo.charCodeAt(lr)]=lr;var nl="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywH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AcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAH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AwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAe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AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAA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FAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXA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AAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAA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QAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHg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ABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AH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JQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",Uo=50,ol=1,Fo=2,xo=3,il=4,al=5,Eo=7,yo=8,bo=9,Ie=10,bs=11,Ho=12,Hs=13,cl=14,Ut=15,Is=16,Br=17,Ft=18,ll=19,Io=20,vs=21,xt=22,Ss=23,qe=24,JA=25,Et=26,yt=27,At=28,Bl=29,_e=30,dl=31,dr=32,gr=33,Ls=34,Ts=35,Ks=36,bt=37,Ds=38,ur=39,fr=40,Os=41,vo=42,gl=43,ul=[9001,65288],So="!",G="×",hr="÷",Rs=tl(nl),we=[_e,Ks],Ms=[ol,Fo,xo,al],Lo=[Ie,yo],To=[yt,Et],fl=Ms.concat(Lo),Ko=[Ds,ur,fr,Ls,Ts],hl=[Ut,Hs],wl=function(t,A){A===void 0&&(A="strict");var e=[],r=[],s=[];return t.forEach(function(n,o){var i=Rs.get(n);if(i>Uo?(s.push(!0),i-=Uo):s.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(n)!==-1)return r.push(o),e.push(Is);if(i===il||i===bs){if(o===0)return r.push(o),e.push(_e);var a=e[o-1];return fl.indexOf(a)===-1?(r.push(r[o-1]),e.push(a)):(r.push(o),e.push(_e))}if(r.push(o),i===dl)return e.push(A==="strict"?vs:bt);if(i===vo||i===Bl)return e.push(_e);if(i===gl)return n>=131072&&n<=196605||n>=196608&&n<=262141?e.push(bt):e.push(_e);e.push(i)}),[r,e,s]},Ns=function(t,A,e,r){var s=r[e];if(Array.isArray(t)?t.indexOf(s)!==-1:t===s)for(var n=e;n<=r.length;){n++;var o=r[n];if(o===A)return!0;if(o!==Ie)break}if(s===Ie)for(var n=e;n>0;){n--;var i=r[n];if(Array.isArray(t)?t.indexOf(i)!==-1:t===i)for(var a=e;a<=r.length;){a++;var o=r[a];if(o===A)return!0;if(o!==Ie)break}if(i!==Ie)break}return!1},Do=function(t,A){for(var e=t;e>=0;){var r=A[e];if(r===Ie)e--;else return r}return 0},pl=function(t,A,e,r,s){if(e[r]===0)return G;var n=r-1;if(Array.isArray(s)&&s[n]===!0)return G;var o=n-1,i=n+1,a=A[n],l=o>=0?A[o]:0,c=A[i];if(a===Fo&&c===xo)return G;if(Ms.indexOf(a)!==-1)return So;if(Ms.indexOf(c)!==-1||Lo.indexOf(c)!==-1)return G;if(Do(n,A)===yo)return hr;if(Rs.get(t[n])===bs||(a===dr||a===gr)&&Rs.get(t[i])===bs||a===Eo||c===Eo||a===bo||[Ie,Hs,Ut].indexOf(a)===-1&&c===bo||[Br,Ft,ll,qe,At].indexOf(c)!==-1||Do(n,A)===xt||Ns(Ss,xt,n,A)||Ns([Br,Ft],vs,n,A)||Ns(Ho,Ho,n,A))return G;if(a===Ie)return hr;if(a===Ss||c===Ss)return G;if(c===Is||a===Is)return hr;if([Hs,Ut,vs].indexOf(c)!==-1||a===cl||l===Ks&&hl.indexOf(a)!==-1||a===At&&c===Ks||c===Io||we.indexOf(c)!==-1&&a===JA||we.indexOf(a)!==-1&&c===JA||a===yt&&[bt,dr,gr].indexOf(c)!==-1||[bt,dr,gr].indexOf(a)!==-1&&c===Et||we.indexOf(a)!==-1&&To.indexOf(c)!==-1||To.indexOf(a)!==-1&&we.indexOf(c)!==-1||[yt,Et].indexOf(a)!==-1&&(c===JA||[xt,Ut].indexOf(c)!==-1&&A[i+1]===JA)||[xt,Ut].indexOf(a)!==-1&&c===JA||a===JA&&[JA,At,qe].indexOf(c)!==-1)return G;if([JA,At,qe,Br,Ft].indexOf(c)!==-1)for(var B=n;B>=0;){var u=A[B];if(u===JA)return G;if([At,qe].indexOf(u)!==-1)B--;else break}if([yt,Et].indexOf(c)!==-1)for(var B=[Br,Ft].indexOf(a)!==-1?o:n;B>=0;){var u=A[B];if(u===JA)return G;if([At,qe].indexOf(u)!==-1)B--;else break}if(Ds===a&&[Ds,ur,Ls,Ts].indexOf(c)!==-1||[ur,Ls].indexOf(a)!==-1&&[ur,fr].indexOf(c)!==-1||[fr,Ts].indexOf(a)!==-1&&c===fr||Ko.indexOf(a)!==-1&&[Io,Et].indexOf(c)!==-1||Ko.indexOf(c)!==-1&&a===yt||we.indexOf(a)!==-1&&we.indexOf(c)!==-1||a===qe&&we.indexOf(c)!==-1||we.concat(JA).indexOf(a)!==-1&&c===xt&&ul.indexOf(t[i])===-1||we.concat(JA).indexOf(c)!==-1&&a===Ft)return G;if(a===Os&&c===Os){for(var f=e[n],w=1;f>0&&(f--,A[f]===Os);)w++;if(w%2!==0)return G}return a===dr&&c===gr?G:hr},Ql=function(t,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var e=wl(t,A.lineBreak),r=e[0],s=e[1],n=e[2];(A.wordBreak==="break-all"||A.wordBreak==="break-word")&&(s=s.map(function(i){return[JA,_e,vo].indexOf(i)!==-1?bt:i}));var o=A.wordBreak==="keep-all"?n.map(function(i,a){return i&&t[a]>=19968&&t[a]<=40959}):void 0;return[r,s,o]},Cl=(function(){function t(A,e,r,s){this.codePoints=A,this.required=e===So,this.start=r,this.end=s}return t.prototype.slice=function(){return gA.apply(void 0,this.codePoints.slice(this.start,this.end))},t})(),ml=function(t,A){var e=ir(t),r=Ql(e,A),s=r[0],n=r[1],o=r[2],i=e.length,a=0,l=0;return{next:function(){if(l>=i)return{done:!0,value:null};for(var c=G;l<i&&(c=pl(e,n,s,++l,o))===G;);if(c!==G||l===i){var B=new Cl(e,c,a,l);return a=l,{value:B,done:!1}}return{done:!0,value:null}}}};const Ul=1,Fl=2,et=4,Oo=8,wr=10,Ro=47,Ht=92,xl=9,El=32,pr=34,It=61,yl=35,bl=36,Hl=37,Qr=39,Cr=40,vt=41,Il=95,GA=45,vl=33,Sl=60,Ll=62,Tl=64,Kl=91,Dl=93,Ol=61,Rl=123,mr=63,Ml=125,Mo=124,Nl=126,Gl=128,No=65533,Gs=42,ke=43,Vl=44,_l=58,kl=59,St=46,Pl=0,Xl=8,Wl=11,Jl=14,jl=31,Yl=127,le=-1,Go=48,Vo=97,_o=101,zl=102,Zl=117,$l=122,ko=65,Po=69,Xo=70,ql=85,AB=90,RA=t=>t>=Go&&t<=57,eB=t=>t>=55296&&t<=57343,tt=t=>RA(t)||t>=ko&&t<=Xo||t>=Vo&&t<=zl,tB=t=>t>=Vo&&t<=$l,rB=t=>t>=ko&&t<=AB,sB=t=>tB(t)||rB(t),nB=t=>t>=Gl,Ur=t=>t===wr||t===xl||t===El,Fr=t=>sB(t)||nB(t)||t===Il,Wo=t=>Fr(t)||RA(t)||t===GA,oB=t=>t>=Pl&&t<=Xl||t===Wl||t>=Jl&&t<=jl||t===Yl,ve=(t,A)=>t!==Ht?!1:A!==wr,xr=(t,A,e)=>t===GA?Fr(A)||ve(A,e):Fr(t)?!0:!!(t===Ht&&ve(t,A)),Vs=(t,A,e)=>t===ke||t===GA?RA(A)?!0:A===St&&RA(e):RA(t===St?A:t),iB=t=>{let A=0,e=1;(t[A]===ke||t[A]===GA)&&(t[A]===GA&&(e=-1),A++);const r=[];for(;RA(t[A]);)r.push(t[A++]);const s=r.length?parseInt(gA(...r),10):0;t[A]===St&&A++;const n=[];for(;RA(t[A]);)n.push(t[A++]);const o=n.length,i=o?parseInt(gA(...n),10):0;(t[A]===Po||t[A]===_o)&&A++;let a=1;(t[A]===ke||t[A]===GA)&&(t[A]===GA&&(a=-1),A++);const l=[];for(;RA(t[A]);)l.push(t[A++]);const c=l.length?parseInt(gA(...l),10):0;return e*(s+i*Math.pow(10,-o))*Math.pow(10,a*c)},aB={type:2},cB={type:3},lB={type:4},BB={type:13},dB={type:8},gB={type:21},uB={type:9},fB={type:10},hB={type:11},wB={type:12},pB={type:14},Er={type:23},QB={type:1},CB={type:25},mB={type:24},UB={type:26},FB={type:27},xB={type:28},EB={type:29},yB={type:31},_s={type:32};class Jo{constructor(){this._value=[]}write(A){this._value=this._value.concat(ir(A))}read(){const A=[];let e=this.consumeToken();for(;e!==_s;)A.push(e),e=this.consumeToken();return A}consumeToken(){const A=this.consumeCodePoint();switch(A){case pr:return this.consumeStringToken(pr);case yl:const e=this.peekCodePoint(0),r=this.peekCodePoint(1),s=this.peekCodePoint(2);if(Wo(e)||ve(r,s)){const f=xr(e,r,s)?Fl:Ul;return{type:5,value:this.consumeName(),flags:f}}break;case bl:if(this.peekCodePoint(0)===It)return this.consumeCodePoint(),BB;break;case Qr:return this.consumeStringToken(Qr);case Cr:return aB;case vt:return cB;case Gs:if(this.peekCodePoint(0)===It)return this.consumeCodePoint(),pB;break;case ke:if(Vs(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Vl:return lB;case GA:const n=A,o=this.peekCodePoint(0),i=this.peekCodePoint(1);if(Vs(n,o,i))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(xr(n,o,i))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(o===GA&&i===Ll)return this.consumeCodePoint(),this.consumeCodePoint(),mB;break;case St:if(Vs(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Ro:if(this.peekCodePoint(0)===Gs)for(this.consumeCodePoint();;){let f=this.consumeCodePoint();if(f===Gs&&(f=this.consumeCodePoint(),f===Ro))return this.consumeToken();if(f===le)return this.consumeToken()}break;case _l:return UB;case kl:return FB;case Sl:if(this.peekCodePoint(0)===vl&&this.peekCodePoint(1)===GA&&this.peekCodePoint(2)===GA)return this.consumeCodePoint(),this.consumeCodePoint(),CB;break;case Tl:const a=this.peekCodePoint(0),l=this.peekCodePoint(1),c=this.peekCodePoint(2);if(xr(a,l,c))return{type:7,value:this.consumeName()};break;case Kl:return xB;case Ht:if(ve(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case Dl:return EB;case Ol:if(this.peekCodePoint(0)===It)return this.consumeCodePoint(),dB;break;case Rl:return hB;case Ml:return wB;case Zl:case ql:const B=this.peekCodePoint(0),u=this.peekCodePoint(1);return B===ke&&(tt(u)||u===mr)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case Mo:if(this.peekCodePoint(0)===It)return this.consumeCodePoint(),uB;if(this.peekCodePoint(0)===Mo)return this.consumeCodePoint(),gB;break;case Nl:if(this.peekCodePoint(0)===It)return this.consumeCodePoint(),fB;break;case le:return _s}return Ur(A)?(this.consumeWhiteSpace(),yB):RA(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):Fr(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:gA(A)}}consumeCodePoint(){const A=this._value.shift();return typeof A>"u"?-1:A}reconsumeCodePoint(A){this._value.unshift(A)}peekCodePoint(A){return A>=this._value.length?-1:this._value[A]}consumeUnicodeRangeToken(){const A=[];let e=this.consumeCodePoint();for(;tt(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();let r=!1;for(;e===mr&&A.length<6;)A.push(e),e=this.consumeCodePoint(),r=!0;if(r){const n=parseInt(gA(...A.map(i=>i===mr?Go:i)),16),o=parseInt(gA(...A.map(i=>i===mr?Xo:i)),16);return{type:30,start:n,end:o}}const s=parseInt(gA(...A),16);if(this.peekCodePoint(0)===GA&&tt(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();const n=[];for(;tt(e)&&n.length<6;)n.push(e),e=this.consumeCodePoint();const o=parseInt(gA(...n),16);return{type:30,start:s,end:o}}else return{type:30,start:s,end:s}}consumeIdentLikeToken(){const A=this.consumeName();return A.toLowerCase()==="url"&&this.peekCodePoint(0)===Cr?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Cr?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}}consumeUrlToken(){const A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===le)return{type:22,value:""};const e=this.peekCodePoint(0);if(e===Qr||e===pr){const r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===le||this.peekCodePoint(0)===vt)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),Er)}for(;;){const r=this.consumeCodePoint();if(r===le||r===vt)return{type:22,value:gA(...A)};if(Ur(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===le||this.peekCodePoint(0)===vt?(this.consumeCodePoint(),{type:22,value:gA(...A)}):(this.consumeBadUrlRemnants(),Er);if(r===pr||r===Qr||r===Cr||oB(r))return this.consumeBadUrlRemnants(),Er;if(r===Ht)if(ve(r,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Er;else A.push(r)}}consumeWhiteSpace(){for(;Ur(this.peekCodePoint(0));)this.consumeCodePoint()}consumeBadUrlRemnants(){for(;;){const A=this.consumeCodePoint();if(A===vt||A===le)return;ve(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}}consumeStringSlice(A){let r="";for(;A>0;){const s=Math.min(5e4,A);r+=gA(...this._value.splice(0,s)),A-=s}return this._value.shift(),r}consumeStringToken(A){let e="",r=0;do{const s=this._value[r];if(s===le||s===void 0||s===A)return e+=this.consumeStringSlice(r),{type:0,value:e};if(s===wr)return this._value.splice(0,r),QB;if(s===Ht){const n=this._value[r+1];n!==le&&n!==void 0&&(n===wr?(e+=this.consumeStringSlice(r),r=-1,this._value.shift()):ve(s,n)&&(e+=this.consumeStringSlice(r),e+=gA(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)}consumeNumber(){const A=[];let e=et,r=this.peekCodePoint(0);for((r===ke||r===GA)&&A.push(this.consumeCodePoint());RA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0);let s=this.peekCodePoint(1);if(r===St&&RA(s))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=Oo;RA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0),s=this.peekCodePoint(1);const n=this.peekCodePoint(2);if((r===Po||r===_o)&&((s===ke||s===GA)&&RA(n)||RA(s)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=Oo;RA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[iB(A),e]}consumeNumericToken(){const[A,e]=this.consumeNumber(),r=this.peekCodePoint(0),s=this.peekCodePoint(1),n=this.peekCodePoint(2);if(xr(r,s,n)){const o=this.consumeName();return{type:15,number:A,flags:e,unit:o}}return r===Hl?(this.consumeCodePoint(),{type:16,number:A,flags:e}):{type:17,number:A,flags:e}}consumeEscapedCodePoint(){const A=this.consumeCodePoint();if(tt(A)){let e=gA(A);for(;tt(this.peekCodePoint(0))&&e.length<6;)e+=gA(this.consumeCodePoint());Ur(this.peekCodePoint(0))&&this.consumeCodePoint();const r=parseInt(e,16);return r===0||eB(r)||r>1114111?No:r}return A===le?No:A}consumeName(){let A="";for(;;){const e=this.consumeCodePoint();if(Wo(e))A+=gA(e);else if(ve(e,this.peekCodePoint(0)))A+=gA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(e),A}}}class rt{constructor(A){this._tokens=A}static create(A){const e=new Jo;return e.write(A),new rt(e.read())}static parseValue(A){return rt.create(A).parseComponentValue()}static parseValues(A){return rt.create(A).parseComponentValues()}parseComponentValue(){let A=this.consumeToken();for(;A.type===31;)A=this.consumeToken();if(A.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);const e=this.consumeComponentValue();do A=this.consumeToken();while(A.type===31);if(A.type===32)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")}parseComponentValues(){const A=[];for(;;){const e=this.consumeComponentValue();if(e.type===32)return A;A.push(e),A.push()}}consumeComponentValue(){const A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A}consumeSimpleBlock(A){const e={type:A,values:[]};let r=this.consumeToken();for(;;){if(r.type===32||HB(r,A))return e;this.reconsumeToken(r),e.values.push(this.consumeComponentValue()),r=this.consumeToken()}}consumeFunction(A){const e={name:A.value,values:[],type:18};for(;;){const r=this.consumeToken();if(r.type===32||r.type===3)return e;this.reconsumeToken(r),e.values.push(this.consumeComponentValue())}}consumeToken(){const A=this._tokens.shift();return typeof A>"u"?_s:A}reconsumeToken(A){this._tokens.unshift(A)}}const Be=t=>t.type===15,wA=t=>t.type===17,R=t=>t.type===20,bB=t=>t.type===0,Lt=(t,A)=>R(t)&&t.value===A,yr=t=>t.type!==31,vA=t=>t.type!==31&&t.type!==4,ee=t=>{const A=[];let e=[];return t.forEach(r=>{if(r.type===4){if(e.length===0)throw new Error("Error parsing function args, zero tokens for arg");A.push(e),e=[];return}r.type!==31&&e.push(r)}),e.length&&A.push(e),A},HB=(t,A)=>A===11&&t.type===12||A===28&&t.type===29?!0:A===2&&t.type===3,cA=(t,A,e)=>Math.min(Math.max(t,A),e),VA=(t,A)=>[t[0]*A[0]+t[1]*A[1]+t[2]*A[2],t[3]*A[0]+t[4]*A[1]+t[5]*A[2],t[6]*A[0]+t[7]*A[1]+t[8]*A[2]],Se=t=>VA([3.2409699419045226,-1.537383177570094,-.4986107602930034,-.9692436362808796,1.8759675015077202,.04155505740717559,.05563007969699366,-.20397695888897652,1.0569715142428786],t),ks=t=>VA([.41239079926595934,.357584339383878,.1804807884018343,.21263900587151027,.715168678767756,.07219231536073371,.01933081871559182,.11919477979462598,.9505321522496607],t),Pe=t=>t.map(A=>{const e=A<0?-1:1,r=Math.abs(A);return r>.0031308?e*(1.055*r**(1/2.4)-.055):12.92*A}),Ps=t=>t.map(A=>{const e=A<0?-1:1,r=Math.abs(A);return r<=.04045?A/12.92:e*((r+.055)/1.055)**2.4}),IB=t=>{const[A,e,r]=Pe(Se([t[0],t[1],t[2]]));return[A,e,r,t[3]]},vB=t=>{const[A,e,r]=Se([t[0],t[1],t[2]]);return[cA(Math.round(A*255),0,255),cA(Math.round(e*255),0,255),cA(Math.round(r*255),0,255),t[3]]},Le=t=>t.type===17||t.type===15,Y=t=>t.type===16||Le(t),SB=t=>t.type===18&&t.name==="calc",LB=(t,A=0)=>{const e=r=>{let s="";for(const n of r)if(n.type!==31){if(n.type===18)if(n.name==="calc"){const o=e(n.values);if(o===null)return null;s+=`(${o})`}else return null;else if(n.type===17)s+=n.number.toString();else if(n.type===15)n.unit==="px"?s+=n.number.toString():n.unit==="rem"||n.unit==="em"?s+=(n.number*16).toString():s+=n.number.toString();else if(n.type===16)s+=(n.number/100*A).toString();else if(n.type===6){const o=n.value;o==="+"||o==="-"||o==="*"||o==="/"?s+=` ${o} `:o==="("?s+="(":o===")"&&(s+=")")}}return s};try{const r=e(t.values);if(r===null||r.trim()==="")return null;const s=new Function("return "+r)();if(typeof s=="number"&&!isNaN(s))return{type:17,number:s,flags:et}}catch{return null}return null},jo=t=>t.length>1?[t[0],t[1]]:[t[0]],pA={type:17,number:0,flags:et},Xe={type:16,number:50,flags:et},de={type:16,number:100,flags:et},Tt=(t,A,e)=>{const[r,s]=t;return[D(r,A),D(typeof s<"u"?s:r,e)]},D=(t,A)=>{if(t.type===16)return t.number/100*A;if(Be(t))switch(t.unit){case"rem":case"em":return 16*t.number;default:return t.number}return t.number},Yo="deg",zo="grad",Zo="rad",$o="turn",st={name:"angle",parse:(t,A)=>{if(A.type===15)switch(A.unit){case Yo:return Math.PI*A.number/180;case zo:return Math.PI/200*A.number;case Zo:return A.number;case $o:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},qo=t=>t.type===15&&(t.unit===Yo||t.unit===zo||t.unit===Zo||t.unit===$o),Ai=t=>{switch(t.filter(R).map(e=>e.value).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[pA,pA];case"to top":case"bottom":return YA(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[pA,de];case"to right":case"left":return YA(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[de,de];case"to bottom":case"top":return YA(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[de,pA];case"to left":case"right":return YA(270)}return 0},YA=t=>Math.PI*t/180,Te=t=>(255&t)===0,sA=t=>{const A=255&t,e=255&t>>8,r=255&t>>16,s=255&t>>24;return A<255?`rgba(${s},${r},${e},${A/255})`:`rgb(${s},${r},${e})`},te=(t,A,e,r)=>(t<<24|A<<16|e<<8|Math.round(r*255)<<0)>>>0,Ke=(t,A)=>{if(t.type===17)return t.number;if(t.type===16){const e=A===3?1:255;return A===3?t.number/100*e:Math.round(t.number/100*e)}return 0},We=t=>(t[0].type===20?t[0].value:"unknown")==="from",TB=t=>te(cA(Math.round(t[0]*255),0,255),cA(Math.round(t[1]*255),0,255),cA(Math.round(t[2]*255),0,255),cA(t[3],0,1)),Xs=([t,A,e,r])=>{const s=Pe([t,A,e]);return te(cA(Math.round(s[0]*255),0,255),cA(Math.round(s[1]*255),0,255),cA(Math.round(s[2]*255),0,255),r)},Kt=t=>{const A=Se([t[0],t[1],t[2]]);return Xs([A[0],A[1],A[2],t[3]])},KB=(t,A)=>{if(We(A.filter(vA)))throw new Error("Relative color not supported for lab()");const[e,r,s,n]=br(A),o=Pe(Se(vr([e,r,s])));return te(cA(Math.round(o[0]*255),0,255),cA(Math.round(o[1]*255),0,255),cA(Math.round(o[2]*255),0,255),n)},DB=(t,A)=>{if(We(A.filter(vA)))throw new Error("Relative color not supported for oklab()");const[e,r,s,n]=br(A),o=Pe(Se(Ir([e,r,s])));return te(cA(Math.round(o[0]*255),0,255),cA(Math.round(o[1]*255),0,255),cA(Math.round(o[2]*255),0,255),n)},OB=(t,A)=>{if(We(A.filter(vA)))throw new Error("Relative color not supported for oklch()");const[e,r,s,n]=si(A),o=Pe(Se(Ir(Hr([e,r,s]))));return te(cA(Math.round(o[0]*255),0,255),cA(Math.round(o[1]*255),0,255),cA(Math.round(o[2]*255),0,255),n)},RB=(t,A)=>{if(We(A.filter(vA)))throw new Error("Relative color not supported for lch()");const[e,r,s,n]=ri(A),o=Pe(Se(vr(Hr([e,r,s]))));return te(cA(Math.round(o[0]*255),0,255),cA(Math.round(o[1]*255),0,255),cA(Math.round(o[2]*255),0,255),n)},ei=(t,A)=>{const e=A.filter(vA),[r,s,n,o]=e,i=(r.type===17?YA(r.number):st.parse(t,r))/(Math.PI*2),a=Y(s)?s.number/100:0,l=Y(n)?n.number/100:0,c=typeof o<"u"&&Y(o)?D(o,1):1;return[i,a,l,c]},ti=(t,A)=>{if(We(A))throw new Error("Relative color not supported for hsl()");const[e,r,s,n]=ei(t,A),o=oi([e,r,s]);return te(o[0]*255,o[1]*255,o[2]*255,r===0?1:n)},ri=t=>{const A=t.filter(vA),e=Y(A[0])?A[0].number:0,r=Y(A[1])?A[1].number:0,s=wA(A[2])||Be(A[2])?A[2].number:0,n=typeof A[4]<"u"&&Y(A[4])?D(A[4],1):1;return[e,r,s,n]},br=t=>{const A=t.filter(vA),e=A[0].type===16?A[0].number/100:wA(A[0])?A[0].number:0,r=A[1].type===16?A[1].number/100:wA(A[1])?A[1].number:0,s=wA(A[2])||Be(A[2])?A[2].number:0,n=typeof A[4]<"u"&&Y(A[4])?D(A[4],1):1;return[e,r,s,n]},si=t=>{const A=t.filter(vA),e=A[0].type===16?A[0].number/100:wA(A[0])?A[0].number:0,r=A[1].type===16?A[1].number/100:wA(A[1])?A[1].number:0,s=wA(A[2])||Be(A[2])?A[2].number:0,n=typeof A[4]<"u"&&Y(A[4])?D(A[4],1):1;return[e,r,s,n]},ni=t=>VA([1.0479297925449969,.022946870601609652,-.05019226628920524,.02962780877005599,.9904344267538799,-.017073799063418826,-.009243040646204504,.015055191490298152,.7518742814281371],t),Ws=t=>VA([.955473421488075,-.02309845494876471,.06325924320057072,-.0283697093338637,1.0099953980813041,.021041441191917323,.012314014864481998,-.020507649298898964,1.330365926242124],t),Js=(t,A,e)=>(e<0&&(e+=1),e>=1&&(e-=1),e<1/6?(A-t)*e*6+t:e<1/2?A:e<2/3?(A-t)*6*(2/3-e)+t:t),oi=([t,A,e])=>{if(A===0)return[e*255,e*255,e*255];const r=e<=.5?e*(A+1):e+A-e*A,s=e*2-r,n=Js(s,r,t+1/3),o=Js(s,r,t),i=Js(s,r,t-1/3);return[n,o,i]},Hr=([t,A,e])=>(A<0&&(A=0),isNaN(e)&&(e=0),[t,A*Math.cos(e*Math.PI/180),A*Math.sin(e*Math.PI/180)]),Ir=t=>{const A=VA([1,.3963377773761749,.2158037573099136,1,-.1055613458156586,-.0638541728258133,1,-.0894841775298119,-1.2914855480194092],t),e=A.map(r=>r**3);return VA([1.2268798758459243,-.5578149944602171,.2813910456659647,-.0405757452148008,1.112286803280317,-.0717110580655164,-.0763729366746601,-.4214933324022432,1.5869240198367816],e)},vr=t=>{const A=(t[0]+16)/116,e=t[1]/500+A,r=A-t[2]/200,s=24389/27,n=24/116,o=[(e>n?e**3:(116*e-16)/s)*.3457/.3585,t[0]>8?A**3:t[0]/s,(r>n?r**3:(116*r-16)/s)*(1-.3457-.3585)/.3585];return Ws([o[0],o[1],o[2]])},MB=(t,A)=>{const e=A.filter(vA);if(e.length===3){const[r,s,n]=e.map(Ke),o=Ps([r/255,s/255,n/255]),[i,a,l]=ks([o[0],o[1],o[2]]);return[i,a,l,1]}if(e.length===4){const[r,s,n,o]=e.map(Ke),i=Ps([r/255,s/255,n/255]),[a,l,c]=ks([i[0],i[1],i[2]]);return[a,l,c,o]}return[0,0,0,1]},NB=(t,A)=>{const[e,r,s,n]=ei(t,A),o=Ps(oi([e,r,s])),[i,a,l]=ks([o[0],o[1],o[2]]);return[i,a,l,n]},GB=(t,A)=>{const[e,r,s,n]=br(A),[o,i,a]=vr([e,r,s]);return[o,i,a,n]},VB=(t,A)=>{const[e,r,s,n]=ri(A),[o,i,a]=vr(Hr([e,r,s]));return[o,i,a,n]},_B=(t,A)=>{const[e,r,s,n]=si(A),[o,i,a]=Ir(Hr([e,r,s]));return[o,i,a,n]},kB=(t,A)=>{const[e,r,s,n]=br(A),[o,i,a]=Ir([e,r,s]);return[o,i,a,n]},PB=t=>Ws([t[0],t[1],t[2]]),ii=t=>t,XB=t=>{const[A,e,r]=ni([t[0],t[2],t[3]]);return[A,e,r,t[3]]},ai=t=>Kt([t[0],t[1],t[2],t[3]]),WB=t=>{const A=PB([t[0],t[1],t[2]]);return Kt([A[0],A[1],A[2],t[3]])},JB=t=>VA([.4865709486482162,.26566769316909306,.1982172852343625,.2289745640697488,.6917385218365064,.079286914093745,0,.04511338185890264,1.043944368900976],t),jB=t=>VA([2.493496911941425,-.9313836179191239,-.40271078445071684,-.8294889695615747,1.7626640603183463,.023624685841943577,.03584583024378447,-.07617238926804182,.9568845240076872],t),YB=t=>t.map(A=>{const e=A<0?-1:1;return A*e<=.04045?A/12.92:e*((A+.055)/1.055)**2.4||0}),zB=t=>Pe(t),ZB=t=>{const A=YB([t[0],t[1],t[2]]);return JB([A[0],A[1],A[2]])},$B=t=>{const[A,e,r]=zB(jB([t[0],t[1],t[2]]));return[A,e,r,t[3]]},qB=t=>{const A=ZB([t[0],t[1],t[2]]);return Kt([A[0],A[1],A[2],t[3]])},Ad=t=>VA([2.0415879038107465,-.5650069742788596,-.34473135077832956,-.9692436362808795,1.8759675015077202,.04155505740717557,.013444280632031142,-.11836239223101838,1.0151749943912054],t),ed=t=>VA([.5766690429101305,.1855582379065463,.1882286462349947,.29734497525053605,.6273635662554661,.0752914584939978,.02703136138641234,.07068885253582723,.9913375368376388],t),td=t=>{const A=t.map(e=>{const r=e<0?-1:1,s=Math.abs(e);return r*s**2.19921875});return[A[0],A[1],A[2]]},rd=t=>{const A=t.map(e=>{const r=e<0?-1:1,s=Math.abs(e);return r*s**.4547069271758437});return[A[0],A[1],A[2]]},sd=t=>{const[A,e,r]=rd(Ad([t[0],t[1],t[2]]));return[A,e,r,t[3]]},nd=t=>{const A=Se(ed(td([t[0],t[1],t[2]])));return Xs([A[0],A[1],A[2],t[3]])},od=t=>VA([.7977666449006423,.13518129740053308,.0313477341283922,.2880748288194013,.711835234241873,8993693872564e-17,0,0,.8251046025104602],t),id=t=>VA([1.3457868816471583,-.25557208737979464,-.05110186497554526,-.5446307051249019,1.5082477428451468,.02052744743642139,0,0,1.2119675456389452],t),ad=t=>t.map(A=>A<16/512?A/16:A**1.8),cd=t=>t.map(A=>A>1/512?A**(1/1.8):A*16),ld=t=>{const A=ad([t[0],t[1],t[2]]);return Ws(od([A[0],A[1],A[2]]))},Bd=t=>{const[A,e,r]=cd(id(ni([t[0],t[1],t[2]])));return[A,e,r,t[3]]},dd=t=>{const A=ld([t[0],t[1],t[2]]);return Kt([A[0],A[1],A[2],t[3]])},Sr=1.09929682680944,ci=.018053968510807,gd=t=>t.map(function(A){return A<ci*4.5?A/4.5:Math.pow((A+Sr-1)/Sr,1/.45)}),ud=t=>t.map(function(A){return A>=ci?Sr*Math.pow(A,.45)-(Sr-1):4.5*A}),fd=t=>VA([.6369580483012914,.14461690358620832,.1688809751641721,.2627002120112671,.6779980715188708,.05930171646986196,0,.028072693049087428,1.060985057710791],t),hd=t=>VA([1.716651187971268,-.355670783776392,-.25336628137366,-.666684351832489,1.616481236634939,.0157685458139111,.017639857445311,-.042770613257809,.942103121235474],t),wd=t=>{const A=gd([t[0],t[1],t[2]]);return fd([A[0],A[1],A[2]])},pd=t=>{const[A,e,r]=ud(hd([t[0],t[1],t[2]]));return[A,e,r,t[3]]},Qd=t=>{const A=wd([t[0],t[1],t[2]]);return Kt([A[0],A[1],A[2],t[3]])},De={name:"color",parse:(t,A)=>{if(A.type===18){const e=Fd[A.name];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported color function "${A.name}"`);return e(t,A.values)}if(A.type===5){const[e,r,s,n]=li(A);return te(e,r,s,n)}if(A.type===20){const e=ge[A.value.toUpperCase()];if(typeof e<"u")return e}return ge.TRANSPARENT}},li=t=>{if(t.value.length===3){const A=t.value.substring(0,1),e=t.value.substring(1,2),r=t.value.substring(2,3);return[parseInt(A+A,16),parseInt(e+e,16),parseInt(r+r,16),1]}if(t.value.length===4){const A=t.value.substring(0,1),e=t.value.substring(1,2),r=t.value.substring(2,3),s=t.value.substring(3,4);return[parseInt(A+A,16),parseInt(e+e,16),parseInt(r+r,16),parseInt(s+s,16)/255]}if(t.value.length===6){const A=t.value.substring(0,2),e=t.value.substring(2,4),r=t.value.substring(4,6);return[parseInt(A,16),parseInt(e,16),parseInt(r,16),1]}if(t.value.length===8){const A=t.value.substring(0,2),e=t.value.substring(2,4),r=t.value.substring(4,6),s=t.value.substring(6,8);return[parseInt(A,16),parseInt(e,16),parseInt(r,16),parseInt(s,16)/255]}return[0,0,0,1]},Bi=(t,A)=>{const e=A.filter(vA);if(We(e))throw new Error("Relative color not supported for rgb()");if(e.length===3){const[r,s,n]=e.map(Ke);return te(r,s,n,1)}if(e.length===4){const[r,s,n,o]=e.map(Ke);return te(r,s,n,o)}if(e.length===5&&e[3].type===6&&e[3].value==="/"){const r=Ke(e[0],0),s=Ke(e[1],1),n=Ke(e[2],2),o=Ke(e[4],3);return te(r,s,n,o)}return 0},Cd=(t,A)=>{const e=A.filter(vA),r=e[0].type===20?e[0].value:"unknown";if(!We(e)){const n=r,o=di[n];if(typeof o>"u")throw new Error(`Attempting to parse an unsupported color space "${n}" for color() function`);const i=wA(e[1])?e[1].number:0,a=wA(e[2])?e[2].number:0,l=wA(e[3])?e[3].number:0,c=e.length>4&&e[4].type===6&&e[4].value==="/"&&wA(e[5])?e[5].number:1;return o([i,a,l,c])}else{const n=(p,x)=>{if(wA(x))return x.number;const T=K=>K==="r"||K==="x"?0:K==="g"||K==="y"?1:2;if(R(x)){const K=T(x.value);return p[K]}const F=K=>{const V=K.filter(vA);let Z="(";for(const S of V)Z+=S.type===18&&S.name==="calc"?F(S.values):wA(S)?S.number:S.type===6||R(S)?S.value:"";return Z+=")",Z};if(x.type===18){const K=x.values.filter(vA);if(x.name==="calc"){const V=F(K).replace(/r|x/,p[0].toString()).replace(/g|y/,p[1].toString()).replace(/b|z/,p[2].toString());return new Function("return "+V)()}}return null},o=e[1].type===18?e[1].name:R(e[1])||e[1].type===5?"rgb":"unknown",i=R(e[2])?e[2].value:"unknown";let a=e[1].type===18?e[1].values:R(e[1])?[e[1]]:[];if(R(e[1])){if(typeof ge[e[1].value.toUpperCase()]>"u")throw new Error("Attempting to use unknown color in relative color 'from'");{const x=nt(t,e[1].value),T=255&x,F=255&x>>8,K=255&x>>16;a=[{type:17,number:255&x>>24,flags:1},{type:17,number:K,flags:1},{type:17,number:F,flags:1},{type:17,number:T>1?T/255:T,flags:1}]}}else if(e[1].type===5){const[p,x,T,F]=li(e[1]);a=[{type:17,number:p,flags:1},{type:17,number:x,flags:1},{type:17,number:T,flags:1},{type:17,number:F>1?F/255:F,flags:1}]}if(a.length===0)throw new Error("Attempting to use unknown color in relative color 'from'");if(i==="unknown")throw new Error("Attempting to use unknown colorspace in relative color 'to'");const l=md[o],c=Ud[i],B=di[i];if(typeof l>"u")throw new Error(`Attempting to parse an unsupported color space "${o}" for color() function`);if(typeof c>"u")throw new Error(`Attempting to parse an unsupported color space "${i}" for color() function`);const u=l(t,a),f=c(u),w=n(f,e[3]),h=n(f,e[4]),m=n(f,e[5]),E=e.length>6&&e[6].type===6&&e[6].value==="/"&&wA(e[7])?e[7].number:1;if(w===null||h===null||m===null)throw new Error("Invalid relative color in color() function");return B([w,h,m,E])}},di={srgb:TB,"srgb-linear":Xs,"display-p3":qB,"a98-rgb":nd,"prophoto-rgb":dd,xyz:ai,"xyz-d50":WB,"xyz-d65":ai,rec2020:Qd},md={rgb:MB,hsl:NB,lab:GB,lch:VB,oklab:kB,oklch:_B},Ud={srgb:IB,"srgb-linear":vB,"display-p3":$B,"a98-rgb":sd,"prophoto-rgb":Bd,xyz:ii,"xyz-d50":XB,"xyz-d65":ii,rec2020:pd},Fd={hsl:ti,hsla:ti,rgb:Bi,rgba:Bi,lch:RB,oklch:OB,oklab:DB,lab:KB,color:Cd},nt=(t,A)=>De.parse(t,rt.create(A).parseComponentValue()),ge={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},xd={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:(t,A)=>A.map(e=>{if(R(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})},Ed={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Lr=(t,A)=>{const e=De.parse(t,A[0]),r=A[1];return r&&Y(r)?{color:e,stop:r}:{color:e,stop:null}},gi=(t,A)=>{const e=t[0],r=t[t.length-1];e.stop===null&&(e.stop=pA),r.stop===null&&(r.stop=de);const s=[];let n=0;for(let i=0;i<t.length;i++){const a=t[i].stop;if(a!==null){const l=D(a,A);l>n?s.push(l):s.push(n),n=l}else s.push(null)}let o=null;for(let i=0;i<s.length;i++){const a=s[i];if(a===null)o===null&&(o=i);else if(o!==null){const l=i-o,c=s[o-1],B=(a-c)/(l+1);for(let u=1;u<=l;u++)s[o+u-1]=B*u;o=null}}return t.map(({color:i},a)=>({color:i,stop:Math.max(Math.min(1,s[a]/A),0)}))},yd=(t,A,e)=>{const r=A/2,s=e/2,n=D(t[0],A)-r,o=s-D(t[1],e);return(Math.atan2(o,n)+Math.PI*2)%(Math.PI*2)},bd=(t,A,e)=>{const r=typeof t=="number"?t:yd(t,A,e),s=Math.abs(A*Math.sin(r))+Math.abs(e*Math.cos(r)),n=A/2,o=e/2,i=s/2,a=Math.sin(r-Math.PI/2)*i,l=Math.cos(r-Math.PI/2)*i;return[s,n-l,n+l,o-a,o+a]},re=(t,A)=>Math.sqrt(t*t+A*A),ui=(t,A,e,r,s)=>[[0,0],[0,A],[t,0],[t,A]].reduce((o,i)=>{const[a,l]=i,c=re(e-a,r-l);return(s?c<o.optimumDistance:c>o.optimumDistance)?{optimumCorner:i,optimumDistance:c}:o},{optimumDistance:s?1/0:-1/0,optimumCorner:null}).optimumCorner,Hd=(t,A,e,r,s)=>{let n=0,o=0;switch(t.size){case 0:t.shape===0?n=o=Math.min(Math.abs(A),Math.abs(A-r),Math.abs(e),Math.abs(e-s)):t.shape===1&&(n=Math.min(Math.abs(A),Math.abs(A-r)),o=Math.min(Math.abs(e),Math.abs(e-s)));break;case 2:if(t.shape===0)n=o=Math.min(re(A,e),re(A,e-s),re(A-r,e),re(A-r,e-s));else if(t.shape===1){const i=Math.min(Math.abs(e),Math.abs(e-s))/Math.min(Math.abs(A),Math.abs(A-r)),[a,l]=ui(r,s,A,e,!0);n=re(a-A,(l-e)/i),o=i*n}break;case 1:t.shape===0?n=o=Math.max(Math.abs(A),Math.abs(A-r),Math.abs(e),Math.abs(e-s)):t.shape===1&&(n=Math.max(Math.abs(A),Math.abs(A-r)),o=Math.max(Math.abs(e),Math.abs(e-s)));break;case 3:if(t.shape===0)n=o=Math.max(re(A,e),re(A,e-s),re(A-r,e),re(A-r,e-s));else if(t.shape===1){const i=Math.max(Math.abs(e),Math.abs(e-s))/Math.max(Math.abs(A),Math.abs(A-r)),[a,l]=ui(r,s,A,e,!1);n=re(a-A,(l-e)/i),o=i*n}break}return Array.isArray(t.size)&&(n=D(t.size[0],r),o=t.size.length===2?D(t.size[1],s):n),[n,o]},Id=(t,A)=>{let e=YA(180);const r=[];return ee(A).forEach((s,n)=>{if(n===0){const i=s[0];if(i.type===20&&i.value==="to"){e=Ai(s);return}else if(qo(i)){e=st.parse(t,i);return}}const o=Lr(t,s);r.push(o)}),{angle:e,stops:r,type:1}},Tr=(t,A)=>{let e=YA(180);const r=[];return ee(A).forEach((s,n)=>{if(n===0){const i=s[0];if(i.type===20&&["top","left","right","bottom"].indexOf(i.value)!==-1){e=Ai(s);return}else if(qo(i)){e=(st.parse(t,i)+YA(270))%YA(360);return}}const o=Lr(t,s);r.push(o)}),{angle:e,stops:r,type:1}},vd=(t,A)=>{const e=YA(180),r=[];let s=1;const n=0,o=3,i=[];return ee(A).forEach((a,l)=>{const c=a[0];if(l===0){if(R(c)&&c.value==="linear"){s=1;return}else if(R(c)&&c.value==="radial"){s=2;return}}if(c.type===18){if(c.name==="from"){const B=De.parse(t,c.values[0]);r.push({stop:pA,color:B})}else if(c.name==="to"){const B=De.parse(t,c.values[0]);r.push({stop:de,color:B})}else if(c.name==="color-stop"){const B=c.values.filter(vA);if(B.length===2){const u=De.parse(t,B[1]),f=B[0];wA(f)&&r.push({stop:{type:16,number:f.number*100,flags:f.flags},color:u})}}}}),s===1?{angle:(e+YA(180))%YA(360),stops:r,type:s}:{size:o,shape:n,stops:r,position:i,type:s}},fi="closest-side",hi="farthest-side",wi="closest-corner",pi="farthest-corner",Qi="circle",Ci="ellipse",mi="cover",Ui="contain",Sd=(t,A)=>{let e=0,r=3;const s=[],n=[];return ee(A).forEach((o,i)=>{let a=!0;if(i===0){let l=!1;a=o.reduce((c,B)=>{if(l)if(R(B))switch(B.value){case"center":return n.push(Xe),c;case"top":case"left":return n.push(pA),c;case"right":case"bottom":return n.push(de),c}else(Y(B)||Le(B))&&n.push(B);else if(R(B))switch(B.value){case Qi:return e=0,!1;case Ci:return e=1,!1;case"at":return l=!0,!1;case fi:return r=0,!1;case mi:case hi:return r=1,!1;case Ui:case wi:return r=2,!1;case pi:return r=3,!1}else if(Le(B)||Y(B))return Array.isArray(r)||(r=[]),r.push(B),!1;return c},a)}if(a){const l=Lr(t,o);s.push(l)}}),{size:r,shape:e,stops:s,position:n,type:2}},Kr=(t,A)=>{let e=0,r=3;const s=[],n=[];return ee(A).forEach((o,i)=>{let a=!0;if(i===0?a=o.reduce((l,c)=>{if(R(c))switch(c.value){case"center":return n.push(Xe),!1;case"top":case"left":return n.push(pA),!1;case"right":case"bottom":return n.push(de),!1}else if(Y(c)||Le(c))return n.push(c),!1;return l},a):i===1&&(a=o.reduce((l,c)=>{if(R(c))switch(c.value){case Qi:return e=0,!1;case Ci:return e=1,!1;case Ui:case fi:return r=0,!1;case hi:return r=1,!1;case wi:return r=2,!1;case mi:case pi:return r=3,!1}else if(Le(c)||Y(c))return Array.isArray(r)||(r=[]),r.push(c),!1;return l},a)),a){const l=Lr(t,o);s.push(l)}}),{size:r,shape:e,stops:s,position:n,type:2}},Ld=t=>t.type===1,Td=t=>t.type===2,js={name:"image",parse:(t,A)=>{if(A.type===22){const e={url:A.value,type:0};return t.cache.addImage(A.value),e}if(A.type===18){const e=Fi[A.name];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported image function "${A.name}"`);return e(t,A.values)}throw new Error(`Unsupported image type ${A.type}`)}};function Kd(t){return!(t.type===20&&t.value==="none")&&(t.type!==18||!!Fi[t.name])}const Fi={"linear-gradient":Id,"-moz-linear-gradient":Tr,"-ms-linear-gradient":Tr,"-o-linear-gradient":Tr,"-webkit-linear-gradient":Tr,"radial-gradient":Sd,"-moz-radial-gradient":Kr,"-ms-radial-gradient":Kr,"-o-radial-gradient":Kr,"-webkit-radial-gradient":Kr,"-webkit-gradient":vd},Dd={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>{if(A.length===0)return[];const e=A[0];return e.type===20&&e.value==="none"?[]:A.filter(r=>vA(r)&&Kd(r)).map(r=>js.parse(t,r))}},Od={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:(t,A)=>A.map(e=>{if(R(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})},Rd={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:(t,A)=>ee(A).map(e=>e.map(r=>SB(r)?LB(r,0):Y(r)?r:null).filter(r=>r!==null)).map(jo)},Md={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:(t,A)=>ee(A).map(e=>e.filter(R).map(r=>r.value).join(" ")).map(Nd)},Nd=t=>{switch(t){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}};var ot;(function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"})(ot||(ot={}));const Gd={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:(t,A)=>ee(A).map(e=>e.filter(Vd))},Vd=t=>R(t)||Y(t),Dr=t=>({name:`border-${t}-color`,initialValue:"transparent",prefix:!1,type:3,format:"color"}),_d=Dr("top"),kd=Dr("right"),Pd=Dr("bottom"),Xd=Dr("left"),Or=t=>({name:`border-radius-${t}`,initialValue:"0 0",prefix:!1,type:1,parse:(A,e)=>jo(e.filter(Y))}),Wd=Or("top-left"),Jd=Or("top-right"),jd=Or("bottom-right"),Yd=Or("bottom-left"),Rr=t=>({name:`border-${t}-style`,initialValue:"solid",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}),zd=Rr("top"),Zd=Rr("right"),$d=Rr("bottom"),qd=Rr("left"),Mr=t=>({name:`border-${t}-width`,initialValue:"0",type:0,prefix:!1,parse:(A,e)=>Be(e)?e.number:0}),Ag=Mr("top"),eg=Mr("right"),tg=Mr("bottom"),rg=Mr("left"),Ys={type:0},zs=t=>{const[A]=t;return A?R(A)?A.value==="farthest-side"?"farthest-side":"closest-side":Y(A)?A:"closest-side":"closest-side"},xi=t=>{let A=null,e=null;for(const r of t)if(R(r))switch(r.value){case"left":A=pA;break;case"right":A=de;break;case"top":e=pA;break;case"bottom":e=de;break;case"center":A===null?A=Xe:e===null&&(e=Xe);break}else Y(r)&&(A===null?A=r:e===null&&(e=r));return{cx:A??Xe,cy:e??Xe}},sg=t=>{const A=[];for(const o of t)if(o.type!==31){if(R(o)&&o.value==="round")break;Y(o)&&A.push(o)}const e=A[0]??pA,r=A[1]??e,s=A[2]??e,n=A[3]??r;return{type:1,top:e,right:r,bottom:s,left:n}},ng=t=>{const A=t.filter(yr),e=A.findIndex(n=>Lt(n,"at")),r=e===-1?A:A.slice(0,e),s=e===-1?[]:A.slice(e+1);return{type:2,radius:zs(r),...xi(s)}},og=t=>{const A=t.filter(yr),e=A.findIndex(n=>Lt(n,"at")),r=e===-1?A:A.slice(0,e),s=e===-1?[]:A.slice(e+1);return{type:3,rx:zs(r.slice(0,1)),ry:zs(r.slice(1,2)),...xi(s)}},ig=t=>{const A=ee(t),e=[];for(const r of A){if(r.length===1&&R(r[0]))continue;const s=r.filter(Y);s.length>=2&&e.push([s[0],s[1]])}return{type:4,points:e}},ag=t=>{const A=t.find(e=>e.type===0);return A?{type:5,d:A.value}:Ys},cg={name:"clip-path",initialValue:"none",prefix:!1,type:0,parse:(t,A)=>{if(R(A)&&A.value==="none")return Ys;if(A.type===18)switch(A.name){case"inset":return sg(A.values);case"circle":return ng(A.values);case"ellipse":return og(A.values);case"polygon":return ig(A.values);case"path":return ag(A.values)}return Ys}},lg={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Bg={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:(t,A)=>A==="rtl"?1:0},dg={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:(t,A)=>A.filter(R).reduce((e,r)=>e|gg(r.value),0)},gg=t=>{switch(t){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},ug={name:"float",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},fg={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:(t,A)=>A.type===20&&A.value==="normal"?0:A.type===17||A.type===15?A.number:0};var Nr;(function(t){t.NORMAL="normal",t.STRICT="strict"})(Nr||(Nr={}));const hg={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>A==="strict"?Nr.STRICT:Nr.NORMAL},wg={name:"line-height",initialValue:"normal",prefix:!1,type:4},Ei=(t,A)=>R(t)&&t.value==="normal"?1.2*A:t.type===17?A*t.number:Y(t)?D(t,A):A,pg={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:(t,A)=>A.type===20&&A.value==="none"?null:js.parse(t,A)},Qg={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:(t,A)=>A==="inside"?0:1},Zs={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){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 52;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}}},Gr=t=>({name:`margin-${t}`,initialValue:"0",prefix:!1,type:4}),Cg=Gr("top"),mg=Gr("right"),Ug=Gr("bottom"),Fg=Gr("left"),xg={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:(t,A)=>A.filter(R).map(e=>{switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})},Eg={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>A==="break-word"?"break-word":"normal"},Vr=t=>({name:`padding-${t}`,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}),yg=Vr("top"),bg=Vr("right"),Hg=Vr("bottom"),Ig=Vr("left"),vg={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Sg={name:"position",initialValue:"static",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Lg={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.length===1&&Lt(A[0],"none")?[]:ee(A).map(e=>{const r={color:ge.TRANSPARENT,offsetX:pA,offsetY:pA,blur:pA};let s=0;for(let n=0;n<e.length;n++){const o=e[n];Le(o)?(s===0?r.offsetX=o:s===1?r.offsetY=o:r.blur=o,s++):r.color=De.parse(t,o)}return r})},Tg={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Kg={name:"transform",initialValue:"none",prefix:!0,type:0,parse:(t,A)=>{if(A.type===20&&A.value==="none")return null;if(A.type===18){const e=Dg[A.name];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported transform function "${A.name}"`);return e(t,A.values)}return null}},Dg={matrix:(t,A)=>{const e=A.filter(r=>r.type===17).map(r=>r.number);return e.length===6?e:null},matrix3d:(t,A)=>{const e=A.filter(l=>l.type===17).map(l=>l.number),[r,s,{},{},n,o,{},{},{},{},{},{},i,a]=e;return e.length===16?[r,s,n,o,i,a]:null},rotate:(t,A)=>{if(A.length!==1)return null;const e=A[0];let r=0;if(e.type===17&&e.number===0)r=0;else if(e.type===15)r=st.parse(t,e);else return null;const s=Math.cos(r),n=Math.sin(r);return[s,n,-n,s,0,0]}},yi={type:16,number:50,flags:et},Og=[yi,yi],Rg={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:(t,A)=>{const e=A.filter(Y);return e.length!==2?Og:[e[0],e[1]]}},Mg={name:"rotate",initialValue:"none",prefix:!1,type:0,parse:(t,A)=>A.type===20&&A.value==="none"?null:A.type===17&&A.number===0?0:A.type===15?st.parse(t,A)*180/Math.PI:null},Ng={name:"visible",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"hidden":return 1;case"collapse":return 2;default:return 0}}};var Dt;(function(t){t.NORMAL="normal",t.BREAK_ALL="break-all",t.KEEP_ALL="keep-all"})(Dt||(Dt={}));const Gg={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"break-all":return Dt.BREAK_ALL;case"keep-all":return Dt.KEEP_ALL;default:return Dt.NORMAL}}},Vg={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>{if(A.type===20)return{auto:!0,order:0};if(wA(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},bi={name:"time",parse:(t,A)=>{if(A.type===15)switch(A.unit.toLowerCase()){case"s":return 1e3*A.number;case"ms":return A.number}throw new Error("Unsupported time type")}},_g={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:(t,A)=>wA(A)?A.number:1},kg={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Pg={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:(t,A)=>A.filter(R).map(e=>{switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(e=>e!==0)},Xg={name:"text-decoration-style",initialValue:"solid",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"double":return 1;case"dotted":return 2;case"dashed":return 3;case"wavy":return 4;default:return 0}}},Wg={name:"text-decoration-thickness",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>{if(R(A))switch(A.value){case"auto":return"auto";case"from-font":return"from-font"}return Be(A)?A.number:"auto"}},Jg={name:"text-underline-offset",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>R(A)&&A.value==="auto"?"auto":Be(A)?A.number:"auto"},jg={name:"font-family",initialValue:"",prefix:!1,type:1,parse:(t,A)=>{const e=[],r=[];return A.forEach(s=>{switch(s.type){case 20:case 0:e.push(s.value);break;case 17:e.push(s.number.toString());break;case 4:r.push(e.join(" ")),e.length=0;break}}),e.length&&r.push(e.join(" ")),r.map(s=>s.indexOf(" ")===-1?s:`'${s}'`)}},Yg={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},zg={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:(t,A)=>wA(A)?A.number:R(A)&&A.value==="bold"?700:400},Zg={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.filter(R).map(e=>e.value)},$g={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},iA=(t,A)=>(t&A)!==0,qg={name:"content",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>{if(A.length===0)return[];const e=A[0];return e.type===20&&e.value==="none"?[]:A}},Au={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>{if(A.length===0)return null;const e=A[0];if(e.type===20&&e.value==="none")return null;const r=[],s=A.filter(yr);for(let n=0;n<s.length;n++){const o=s[n],i=s[n+1];if(o.type===20){const a=i&&wA(i)?i.number:1;r.push({counter:o.value,increment:a})}}return r}},eu={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>{if(A.length===0)return[];const e=[],r=A.filter(yr);for(let s=0;s<r.length;s++){const n=r[s],o=r[s+1];if(R(n)&&n.value!=="none"){const i=o&&wA(o)?o.number:0;e.push({counter:n.value,reset:i})}}return e}},tu={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:(t,A)=>A.filter(Be).map(e=>bi.parse(t,e))},ru={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>{if(A.length===0)return null;const e=A[0];if(e.type===20&&e.value==="none")return null;const r=[],s=A.filter(bB);if(s.length%2!==0)return null;for(let n=0;n<s.length;n+=2){const o=s[n].value,i=s[n+1].value;r.push({open:o,close:i})}return r}},Hi=(t,A,e)=>{if(!t)return"";const r=t[Math.min(A,t.length-1)];return r?e?r.open:r.close:""},su={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.length===1&&Lt(A[0],"none")?[]:ee(A).map(e=>{const r={color:255,offsetX:pA,offsetY:pA,blur:pA,spread:pA,inset:!1};let s=0;for(let n=0;n<e.length;n++){const o=e[n];Lt(o,"inset")?r.inset=!0:Le(o)?(s===0?r.offsetX=o:s===1?r.offsetY=o:s===2?r.blur=o:r.spread=o,s++):r.color=De.parse(t,o)}return r})},nu={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:(t,A)=>{const e=[0,1,2],r=[];return A.filter(R).forEach(s=>{switch(s.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),e.forEach(s=>{r.indexOf(s)===-1&&r.push(s)}),r}},ou={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},iu={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:(t,A)=>Be(A)?A.number:0},au={name:"-webkit-line-clamp",initialValue:"none",prefix:!0,type:0,parse:(t,A)=>A.type===20&&A.value==="none"?0:A.type===17?Math.max(0,Math.floor(A.number)):0},cu={name:"objectFit",initialValue:"fill",prefix:!1,type:1,parse:(t,A)=>A.filter(R).reduce((e,r)=>e|lu(r.value),0)},lu=t=>{switch(t){case"contain":return 2;case"cover":return 4;case"none":return 8;case"scale-down":return 16}return 0},Bu={name:"text-overflow",initialValue:"clip",prefix:!1,type:2,parse:(t,A)=>A==="ellipsis"?1:0};var jA;(function(t){t[t.AUTO=0]="AUTO",t[t.CRISP_EDGES=1]="CRISP_EDGES",t[t.PIXELATED=2]="PIXELATED",t[t.SMOOTH=3]="SMOOTH"})(jA||(jA={}));const du={name:"image-rendering",initialValue:"auto",prefix:!1,type:2,parse:(t,A)=>{switch(A.toLowerCase()){case"crisp-edges":case"-webkit-crisp-edges":case"-moz-crisp-edges":return jA.CRISP_EDGES;case"pixelated":case"-webkit-optimize-contrast":return jA.PIXELATED;case"smooth":case"high-quality":return jA.SMOOTH;default:return jA.AUTO}}};class gu{constructor(A,e){this.animationDuration=y(A,tu,e.animationDuration),this.backgroundClip=y(A,xd,e.backgroundClip),this.backgroundColor=y(A,Ed,e.backgroundColor),this.backgroundImage=y(A,Dd,e.backgroundImage),this.backgroundOrigin=y(A,Od,e.backgroundOrigin),this.backgroundPosition=y(A,Rd,e.backgroundPosition),this.backgroundRepeat=y(A,Md,e.backgroundRepeat),this.backgroundSize=y(A,Gd,e.backgroundSize),this.borderTopColor=y(A,_d,e.borderTopColor),this.borderRightColor=y(A,kd,e.borderRightColor),this.borderBottomColor=y(A,Pd,e.borderBottomColor),this.borderLeftColor=y(A,Xd,e.borderLeftColor),this.borderTopLeftRadius=y(A,Wd,e.borderTopLeftRadius),this.borderTopRightRadius=y(A,Jd,e.borderTopRightRadius),this.borderBottomRightRadius=y(A,jd,e.borderBottomRightRadius),this.borderBottomLeftRadius=y(A,Yd,e.borderBottomLeftRadius),this.borderTopStyle=y(A,zd,e.borderTopStyle),this.borderRightStyle=y(A,Zd,e.borderRightStyle),this.borderBottomStyle=y(A,$d,e.borderBottomStyle),this.borderLeftStyle=y(A,qd,e.borderLeftStyle),this.borderTopWidth=y(A,Ag,e.borderTopWidth),this.borderRightWidth=y(A,eg,e.borderRightWidth),this.borderBottomWidth=y(A,tg,e.borderBottomWidth),this.borderLeftWidth=y(A,rg,e.borderLeftWidth),this.boxShadow=y(A,su,e.boxShadow),this.clipPath=y(A,cg,e.clipPath),this.color=y(A,lg,e.color),this.direction=y(A,Bg,e.direction),this.display=y(A,dg,e.display),this.float=y(A,ug,e.cssFloat),this.fontFamily=y(A,jg,e.fontFamily),this.fontSize=y(A,Yg,e.fontSize),this.fontStyle=y(A,$g,e.fontStyle),this.fontVariant=y(A,Zg,e.fontVariant),this.fontWeight=y(A,zg,e.fontWeight),this.letterSpacing=y(A,fg,e.letterSpacing),this.lineBreak=y(A,hg,e.lineBreak),this.lineHeight=y(A,wg,e.lineHeight),this.listStyleImage=y(A,pg,e.listStyleImage),this.listStylePosition=y(A,Qg,e.listStylePosition),this.listStyleType=y(A,Zs,e.listStyleType),this.marginTop=y(A,Cg,e.marginTop),this.marginRight=y(A,mg,e.marginRight),this.marginBottom=y(A,Ug,e.marginBottom),this.marginLeft=y(A,Fg,e.marginLeft),this.opacity=y(A,_g,e.opacity);const r=y(A,xg,e.overflow);this.overflowX=r[0],this.overflowY=r[r.length>1?1:0],this.overflowWrap=y(A,Eg,e.overflowWrap),this.paddingTop=y(A,yg,e.paddingTop),this.paddingRight=y(A,bg,e.paddingRight),this.paddingBottom=y(A,Hg,e.paddingBottom),this.paddingLeft=y(A,Ig,e.paddingLeft),this.paintOrder=y(A,nu,e.paintOrder),this.position=y(A,Sg,e.position),this.textAlign=y(A,vg,e.textAlign),this.textDecorationColor=y(A,kg,e.textDecorationColor??e.color),this.textDecorationLine=y(A,Pg,e.textDecorationLine??e.textDecoration),this.textDecorationStyle=y(A,Xg,e.textDecorationStyle),this.textDecorationThickness=y(A,Wg,e.textDecorationThickness),this.textUnderlineOffset=y(A,Jg,e.textUnderlineOffset),this.textShadow=y(A,Lg,e.textShadow),this.textTransform=y(A,Tg,e.textTransform),this.textOverflow=y(A,Bu,e.textOverflow),this.transform=y(A,Kg,e.transform),this.transformOrigin=y(A,Rg,e.transformOrigin),this.rotate=y(A,Mg,e.rotate),this.visibility=y(A,Ng,e.visibility),this.webkitTextStrokeColor=y(A,ou,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=y(A,iu,e.webkitTextStrokeWidth),this.webkitLineClamp=y(A,au,e.webkitLineClamp),this.wordBreak=y(A,Gg,e.wordBreak),this.zIndex=y(A,Vg,e.zIndex),this.objectFit=y(A,cu,e.objectFit),this.imageRendering=y(A,du,e.imageRendering)}isVisible(){return this.display>0&&this.opacity>0&&this.visibility===0}isTransparent(){return Te(this.backgroundColor)}isTransformed(){return this.transform!==null||this.rotate!==null}isPositioned(){return this.position!==0}isPositionedWithZIndex(){return this.isPositioned()&&!this.zIndex.auto}isFloating(){return this.float!==0}isInlineLevel(){return iA(this.display,4)||iA(this.display,33554432)||iA(this.display,268435456)||iA(this.display,536870912)||iA(this.display,67108864)||iA(this.display,134217728)}}class uu{constructor(A,e){this.content=y(A,qg,e.content),this.quotes=y(A,ru,e.quotes)}}class Ii{constructor(A,e){this.counterIncrement=y(A,Au,e.counterIncrement),this.counterReset=y(A,eu,e.counterReset)}}const y=(t,A,e)=>{const r=new Jo,s=e!==null&&typeof e<"u"?e.toString():A.initialValue;r.write(s);const n=new rt(r.read());switch(A.type){case 2:const o=n.parseComponentValue();return A.parse(t,R(o)?o.value:A.initialValue);case 0:return A.parse(t,n.parseComponentValue());case 1:return A.parse(t,n.parseComponentValues());case 4:return n.parseComponentValue();case 3:switch(A.format){case"angle":return st.parse(t,n.parseComponentValue());case"color":return De.parse(t,n.parseComponentValue());case"image":return js.parse(t,n.parseComponentValue());case"length":const i=n.parseComponentValue();return Le(i)?i:pA;case"length-percentage":const a=n.parseComponentValue();return Y(a)?a:pA;case"time":return bi.parse(t,n.parseComponentValue())}break}},pe=t=>t.nodeType===Node.ELEMENT_NODE,vi=t=>t.nodeType===Node.TEXT_NODE,it=t=>typeof t.className=="object",Ot=t=>pe(t)&&typeof t.style<"u"&&!it(t),fu=t=>t.tagName==="LI",hu=t=>t.tagName==="OL",Si=t=>!it(t)&&t.tagName.indexOf("-")>0,wu="data-html2canvas-debug",pu=t=>{if(typeof t.getAttribute!="function")return 0;switch(t.getAttribute(wu)){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},$s=(t,A)=>{const e=pu(t);return e===1||A===e};class Li{static normalizeElement(A,e){const r={};return Ot(A)&&(e.animationDuration.some(s=>s>0)&&(r.animationDuration=A.style.animationDuration,A.style.animationDuration="0s"),e.transform!==null&&(r.transform=A.style.transform,A.style.transform="translate(0, 0)"),e.rotate!==null&&(r.rotate=A.style.rotate,A.style.rotate="0deg",r.transform===void 0&&(r.transform=A.style.transform,A.style.transform="translate(0, 0)"))),r}static restoreElement(A,e){Ot(A)&&(e.animationDuration!==void 0&&(A.style.animationDuration=e.animationDuration),e.transform!==void 0&&(A.style.transform=e.transform),e.rotate!==void 0&&(A.style.rotate=e.rotate))}}class ue{constructor(A,e,r={}){if(this.context=A,this.textNodes=[],this.elements=[],this.flags=0,$s(e,3))debugger;this.styles=new gu(A,A.config.window.getComputedStyle(e,null)),r.normalizeDom!==!1&&Ot(e)&&(this.originalStyles=Li.normalizeElement(e,this.styles),this.originalElement=e),this.bounds=or(this.context,e),$s(e,4)&&(this.flags|=16)}restore(){this.originalStyles&&this.originalElement&&(Li.restoreElement(this.originalElement,this.originalStyles),this.originalStyles=void 0,this.originalElement=void 0)}restoreTree(){this.restore();for(const A of this.elements)A.restoreTree()}}for(var Qu="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFO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IAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGV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AgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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gAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Ti="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Rt=typeof Uint8Array>"u"?[]:new Uint8Array(256),_r=0;_r<Ti.length;_r++)Rt[Ti.charCodeAt(_r)]=_r;for(var Cu=function(t){var A=t.length*.75,e=t.length,r,s=0,n,o,i,a;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),c=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<e;r+=4)n=Rt[t.charCodeAt(r)],o=Rt[t.charCodeAt(r+1)],i=Rt[t.charCodeAt(r+2)],a=Rt[t.charCodeAt(r+3)],c[s++]=n<<2|o>>4,c[s++]=(o&15)<<4|i>>2,c[s++]=(i&3)<<6|a&63;return l},mu=function(t){for(var A=t.length,e=[],r=0;r<A;r+=2)e.push(t[r+1]<<8|t[r]);return e},Uu=function(t){for(var A=t.length,e=[],r=0;r<A;r+=4)e.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return e},Je=5,qs=11,An=2,Fu=qs-Je,Ki=65536>>Je,xu=1<<Je,en=xu-1,Eu=1024>>Je,yu=Ki+Eu,bu=yu,Hu=32,Iu=bu+Hu,vu=65536>>qs,Su=1<<Fu,Lu=Su-1,Di=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},Tu=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},Ku=function(t,A){var e=Cu(t),r=Array.isArray(e)?Uu(e):new Uint32Array(e),s=Array.isArray(e)?mu(e):new Uint16Array(e),n=24,o=Di(s,n/2,r[4]/2),i=r[5]===2?Di(s,(n+r[4])/2):Tu(r,Math.ceil((n+r[4])/4));return new Du(r[0],r[1],r[2],r[3],o,i)},Du=(function(){function t(A,e,r,s,n,o){this.initialValue=A,this.errorValue=e,this.highStart=r,this.highValueIndex=s,this.index=n,this.data=o}return t.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>Je],e=(e<<An)+(A&en),this.data[e];if(A<=65535)return e=this.index[Ki+(A-55296>>Je)],e=(e<<An)+(A&en),this.data[e];if(A<this.highStart)return e=Iu-vu+(A>>qs),e=this.index[e],e+=A>>Je&Lu,e=this.index[e],e=(e<<An)+(A&en),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t})(),Oi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ou=typeof Uint8Array>"u"?[]:new Uint8Array(256),kr=0;kr<Oi.length;kr++)Ou[Oi.charCodeAt(kr)]=kr;var Ru=1,tn=2,rn=3,Ri=4,Mi=5,Mu=7,Ni=8,sn=9,nn=10,Gi=11,Vi=12,_i=13,ki=14,on=15,Nu=function(t){for(var A=[],e=0,r=t.length;e<r;){var s=t.charCodeAt(e++);if(s>=55296&&s<=56319&&e<r){var n=t.charCodeAt(e++);(n&64512)===56320?A.push(((s&1023)<<10)+(n&1023)+65536):(A.push(s),e--)}else A.push(s)}return A},Gu=function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var e=t.length;if(!e)return"";for(var r=[],s=-1,n="";++s<e;){var o=t[s];o<=65535?r.push(o):(o-=65536,r.push((o>>10)+55296,o%1024+56320)),(s+1===e||r.length>16384)&&(n+=String.fromCharCode.apply(String,r),r.length=0)}return n},Vu=Ku(Qu),zA="×",an="÷",_u=function(t){return Vu.get(t)},ku=function(t,A,e){var r=e-2,s=A[r],n=A[e-1],o=A[e];if(n===tn&&o===rn)return zA;if(n===tn||n===rn||n===Ri||o===tn||o===rn||o===Ri)return an;if(n===Ni&&[Ni,sn,Gi,Vi].indexOf(o)!==-1||(n===Gi||n===sn)&&(o===sn||o===nn)||(n===Vi||n===nn)&&o===nn||o===_i||o===Mi||o===Mu||n===Ru)return zA;if(n===_i&&o===ki){for(;s===Mi;)s=A[--r];if(s===ki)return zA}if(n===on&&o===on){for(var i=0;s===on;)i++,s=A[--r];if(i%2===0)return zA}return an},Pu=function(t){var A=Nu(t),e=A.length,r=0,s=0,n=A.map(_u);return{next:function(){if(r>=e)return{done:!0,value:null};for(var o=zA;r<e&&(o=ku(A,n,++r))===zA;);if(o!==zA||r===e){var i=Gu.apply(null,A.slice(s,r));return s=r,{value:i,done:!1}}return{done:!0,value:null}}}},Xu=function(t){for(var A=Pu(t),e=[],r;!(r=A.next()).done;)r.value&&e.push(r.value.slice());return e};const Wu=t=>{if(t.createRange){const e=t.createRange();if(e.getBoundingClientRect){const r=t.createElement("boundtest");r.style.height="123px",r.style.display="block",t.body.appendChild(r),e.selectNode(r);const s=e.getBoundingClientRect(),n=Math.round(s.height);if(t.body.removeChild(r),n===123)return!0}}return!1},Ju=t=>{const A=t.createElement("boundtest");A.style.width="50px",A.style.display="block",A.style.fontSize="12px",A.style.letterSpacing="0px",A.style.wordSpacing="0px",t.body.appendChild(A);const e=t.createRange();A.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";const r=A.firstChild,s=ir(r.data).map(a=>gA(a));let n=0,o={};const i=s.every((a,l)=>{e.setStart(r,n),e.setEnd(r,n+a.length);const c=e.getBoundingClientRect();n+=a.length;const B=c.x>o.x||c.y>o.y;return o=c,l===0?!0:B});return t.body.removeChild(A),i},ju=()=>typeof new Image().crossOrigin<"u",Yu=()=>typeof new XMLHttpRequest().responseType=="string",zu=t=>{const A=new Image,e=t.createElement("canvas"),r=e.getContext("2d");if(!r)return!1;A.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(A,0,0),e.toDataURL()}catch{return!1}return!0},Pi=t=>t[0]===0&&t[1]===255&&t[2]===0&&t[3]===255,Zu=t=>{const A=t.createElement("canvas"),e=100;A.width=e,A.height=e;const r=A.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,e,e);const s=new Image,n=A.toDataURL();s.src=n;const o=cn(e,e,0,0,s);return r.fillStyle="red",r.fillRect(0,0,e,e),Xi(o).then(i=>{r.drawImage(i,0,0);const a=r.getImageData(0,0,e,e).data;r.fillStyle="red",r.fillRect(0,0,e,e);const l=t.createElement("div");return l.style.backgroundImage=`url(${n})`,l.style.height=`${e}px`,Pi(a)?Xi(cn(e,e,0,0,l)):Promise.reject(!1)}).then(i=>(r.drawImage(i,0,0),Pi(r.getImageData(0,0,e,e).data))).catch(()=>!1)},cn=(t,A,e,r,s)=>{const n="http://www.w3.org/2000/svg",o=document.createElementNS(n,"svg"),i=document.createElementNS(n,"foreignObject");return o.setAttributeNS(null,"width",t.toString()),o.setAttributeNS(null,"height",A.toString()),i.setAttributeNS(null,"width","100%"),i.setAttributeNS(null,"height","100%"),i.setAttributeNS(null,"x",e.toString()),i.setAttributeNS(null,"y",r.toString()),i.setAttributeNS(null,"externalResourcesRequired","true"),o.appendChild(i),i.appendChild(s),o},Xi=t=>new Promise((A,e)=>{const r=new Image;r.onload=()=>A(r),r.onerror=e,r.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(new XMLSerializer().serializeToString(t))}`}),SA={get SUPPORT_RANGE_BOUNDS(){const t=Wu(document);return Object.defineProperty(SA,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){const t=SA.SUPPORT_RANGE_BOUNDS&&Ju(document);return Object.defineProperty(SA,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){const t=zu(document);return Object.defineProperty(SA,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){const t=typeof Array.from=="function"&&typeof window.fetch=="function"?Zu(document):Promise.resolve(!1);return Object.defineProperty(SA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){const t=ju();return Object.defineProperty(SA,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){const t=Yu();return Object.defineProperty(SA,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){const t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(SA,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){const t=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(SA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}};class je{constructor(A,e){this.text=A,this.bounds=e}}const $u=(t,A,e,r)=>{const s=ef(A,e),n=[];let o=0;return s.forEach(i=>{if(e.textDecorationLine.length||i.trim().length>0)if(SA.SUPPORT_RANGE_BOUNDS){const a=Wi(r,o,i.length).getClientRects();if(a.length>1){const l=Pr(i);let c=0;l.forEach(B=>{n.push(new je(B,OA.fromDOMRectList(t,Wi(r,c+o,B.length).getClientRects()))),c+=B.length})}else n.push(new je(i,OA.fromDOMRectList(t,a)))}else{const a=r.splitText(i.length);n.push(new je(i,qu(t,r))),r=a}else SA.SUPPORT_RANGE_BOUNDS||(r=r.splitText(i.length));o+=i.length}),n},qu=(t,A)=>{const e=A.ownerDocument;if(e){const r=e.createElement("html2canvaswrapper");r.appendChild(A.cloneNode(!0));const s=A.parentNode;if(s){s.replaceChild(r,A);const n=or(t,r);return r.firstChild&&s.replaceChild(r.firstChild,r),n}}return OA.EMPTY},Wi=(t,A,e)=>{const r=t.ownerDocument;if(!r)throw new Error("Node has no owner document");const s=r.createRange();return s.setStart(t,A),s.setEnd(t,A+e),s},Pr=t=>{if(SA.SUPPORT_NATIVE_TEXT_SEGMENTATION){const A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(t)).map(e=>e.segment)}return Xu(t)},Af=(t,A)=>{if(SA.SUPPORT_NATIVE_TEXT_SEGMENTATION){const e=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(e.segment(t)).map(r=>r.segment)}return rf(t,A)},ef=(t,A)=>A.letterSpacing!==0?Pr(t):Af(t,A),tf=[32,160,4961,65792,65793,4153,4241],rf=(t,A)=>{const e=ml(t,{lineBreak:A.lineBreak,wordBreak:A.overflowWrap==="break-word"?"break-word":A.wordBreak}),r=[];let s;for(;!(s=e.next()).done;)if(s.value){const n=s.value.slice(),o=ir(n);let i="";o.forEach(a=>{tf.indexOf(a)===-1?i+=gA(a):(i.length&&r.push(i),r.push(gA(a)),i="")}),i.length&&r.push(i)}return r};class sf{constructor(A,e,r){this.text=nf(e.data,r.textTransform),this.textBounds=$u(A,this.text,r,e)}}const nf=(t,A)=>{switch(A){case 1:return t.toLowerCase();case 3:return t.replace(of,af);case 2:return t.toUpperCase();default:return t}},of=/(^|\s|:|-|\(|\))([a-z])/g,af=(t,A,e)=>t.length>0?A+e.toUpperCase():t;class Ji extends ue{constructor(A,e){super(A,e),this.src=e.currentSrc||e.src,this.intrinsicWidth=e.naturalWidth,this.intrinsicHeight=e.naturalHeight,this.context.cache.addImage(this.src)}}class ji extends ue{constructor(A,e){super(A,e),this.canvas=e,this.intrinsicWidth=e.width,this.intrinsicHeight=e.height}}class Yi extends ue{constructor(A,e){super(A,e);const r=new XMLSerializer,s=or(A,e);e.setAttribute("width",`${s.width}px`),e.setAttribute("height",`${s.height}px`),this.svg=`data:image/svg+xml,${encodeURIComponent(r.serializeToString(e))}`,this.intrinsicWidth=e.width.baseVal.value,this.intrinsicHeight=e.height.baseVal.value,this.context.cache.addImage(this.svg)}}class zi extends ue{constructor(A,e){super(A,e),this.value=e.value}}class ln extends ue{constructor(A,e){super(A,e),this.start=e.start,this.reversed=typeof e.reversed=="boolean"&&e.reversed===!0}}const cf=[{type:15,flags:0,unit:"px",number:3}],lf=[{type:16,flags:0,number:50}],Bf=t=>t.width>t.height?new OA(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width<t.height?new OA(t.left,t.top+(t.height-t.width)/2,t.width,t.width):t,df=t=>{const A=t.type===uf?new Array(t.value.length+1).join("•"):t.value;return A.length===0?t.placeholder||"":A},gf=t=>t.value.length===0&&!!t.placeholder,Xr="checkbox",Wr="radio",uf="password",Zi=707406591,ff=1970632191;class Mt extends ue{constructor(A,e){switch(super(A,e),this.type=e.type.toLowerCase(),this.checked=e.checked,this.value=df(e),this.isPlaceholder=gf(e),(this.type===Xr||this.type===Wr)&&(this.styles.backgroundColor=3739148031,this.styles.borderTopColor=this.styles.borderRightColor=this.styles.borderBottomColor=this.styles.borderLeftColor=2779096575,this.styles.borderTopWidth=this.styles.borderRightWidth=this.styles.borderBottomWidth=this.styles.borderLeftWidth=1,this.styles.borderTopStyle=this.styles.borderRightStyle=this.styles.borderBottomStyle=this.styles.borderLeftStyle=1,this.styles.backgroundClip=[0],this.styles.backgroundOrigin=[0],this.bounds=Bf(this.bounds)),this.type){case Xr:this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=cf;break;case Wr:this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=lf;break}}}class $i extends ue{constructor(A,e){super(A,e);const r=e.options[e.selectedIndex||0];this.value=r&&r.text||""}}class qi extends ue{constructor(A,e){super(A,e),this.value=e.value}}class Aa extends ue{constructor(A,e,r){super(A,e),this.src=e.src,this.width=parseInt(e.width,10)||0,this.height=parseInt(e.height,10)||0,this.backgroundColor=this.styles.backgroundColor,this.parseTreeFn=r;try{if(e.contentWindow&&e.contentWindow.document&&e.contentWindow.document.documentElement&&this.parseTreeFn){this.tree=this.parseTreeFn(A,e.contentWindow.document.documentElement);const s=e.contentWindow.document.documentElement?nt(A,getComputedStyle(e.contentWindow.document.documentElement).backgroundColor):ge.TRANSPARENT,n=e.contentWindow.document.body?nt(A,getComputedStyle(e.contentWindow.document.body).backgroundColor):ge.TRANSPARENT;this.backgroundColor=Te(s)?Te(n)?this.styles.backgroundColor:n:s}}catch{}}}const hf=["OL","UL","MENU"],Jr=(t,A,e,r)=>{for(let s=A.firstChild,n;s;s=n)if(n=s.nextSibling,vi(s)&&s.data.length>0)e.textNodes.push(new sf(t,s,e.styles));else if(pe(s))if(Nt(s)&&s.assignedNodes)s.assignedNodes().forEach(o=>Jr(t,o,e,r));else{const o=ea(t,s);o.styles.isVisible()&&(wf(s,o,r)?o.flags|=4:pf(o.styles)&&(o.flags|=2),hf.indexOf(s.tagName)!==-1&&(o.flags|=8),e.elements.push(o),s.slot,s.shadowRoot?Jr(t,s.shadowRoot,o,r):!jr(s)&&!ra(s)&&!Yr(s)&&Jr(t,s,o,r))}},ea=(t,A)=>dn(A)?new Ji(t,A):sa(A)?new ji(t,A):ra(A)?new Yi(t,A):fu(A)?new zi(t,A):hu(A)?new ln(t,A):Qf(A)?new Mt(t,A):Yr(A)?new $i(t,A):jr(A)?new qi(t,A):oa(A)?new Aa(t,A,ta):new ue(t,A),ta=(t,A)=>{const e=ea(t,A);return e.flags|=4,Jr(t,A,e,e),e},wf=(t,A,e)=>A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||Bn(t)&&e.styles.isTransparent(),pf=t=>t.isPositioned()||t.isFloating()?!0:iA(t.display,268435456)||iA(t.display,33554432)||iA(t.display,536870912)||iA(t.display,134217728),Qf=t=>t.tagName==="INPUT",Cf=t=>t.tagName==="HTML",ra=t=>t.tagName==="svg",Bn=t=>t.tagName==="BODY",sa=t=>t.tagName==="CANVAS",na=t=>t.tagName==="VIDEO",dn=t=>t.tagName==="IMG",oa=t=>t.tagName==="IFRAME",gn=t=>t.tagName==="STYLE",ia=t=>t.tagName==="SCRIPT",jr=t=>t.tagName==="TEXTAREA",Yr=t=>t.tagName==="SELECT",Nt=t=>t.tagName==="SLOT";class mf{constructor(){this.counters={}}getCounterValue(A){const e=this.counters[A];return e&&e.length?e[e.length-1]:1}getCounterValues(A){const e=this.counters[A];return e||[]}pop(A){A.forEach(e=>this.counters[e].pop())}parse(A){const e=A.counterIncrement,r=A.counterReset;let s=!0;e!==null&&e.forEach(o=>{const i=this.counters[o.counter];i&&o.increment!==0&&(s=!1,i.length||i.push(1),i[Math.max(0,i.length-1)]+=o.increment)});const n=[];return s&&r.forEach(o=>{let i=this.counters[o.counter];n.push(o.counter),i||(i=this.counters[o.counter]=[]),i.push(o.reset)}),n}}const aa={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"]},ca={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Uf={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Ff={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},at=(t,A,e,r,s,n)=>t<A||t>e?Vt(t,s,n.length>0):r.integers.reduce((o,i,a)=>{for(;t>=i;)t-=i,o+=r.values[a];return o},"")+n,la=(t,A,e,r)=>{let s="";do e||t--,s=r(t)+s,t/=A;while(t*A>=A);return s},uA=(t,A,e,r,s)=>{const n=e-A+1;return(t<0?"-":"")+(la(Math.abs(t),n,r,o=>gA(Math.floor(o%n)+A))+s)},Ye=(t,A,e=". ")=>{const r=A.length;return la(Math.abs(t),r,!1,s=>A[Math.floor(s%r)])+e},ct=1,Oe=2,Re=4,Gt=8,Qe=(t,A,e,r,s,n)=>{if(t<-9999||t>9999)return Vt(t,4,s.length>0);let o=Math.abs(t),i=s;if(o===0)return A[0]+i;for(let a=0;o>0&&a<=4;a++){const l=o%10;l===0&&iA(n,ct)&&i!==""?i=A[l]+i:l>1||l===1&&a===0||l===1&&a===1&&iA(n,Oe)||l===1&&a===1&&iA(n,Re)&&t>100||l===1&&a>1&&iA(n,Gt)?i=A[l]+(a>0?e[a-1]:"")+i:l===1&&a>0&&(i=e[a-1]+i),o=Math.floor(o/10)}return(t<0?r:"")+i},Ba="十百千萬",da="拾佰仟萬",ga="マイナス",un="마이너스",Vt=(t,A,e)=>{const r=e?". ":"",s=e?"、":"",n=e?", ":"",o=e?" ":"";switch(A){case 0:return"•"+o;case 1:return"◦"+o;case 2:return"◾"+o;case 5:const i=uA(t,48,57,!0,r);return i.length<4?`0${i}`:i;case 4:return Ye(t,"〇一二三四五六七八九",s);case 6:return at(t,1,3999,aa,3,r).toLowerCase();case 7:return at(t,1,3999,aa,3,r);case 8:return uA(t,945,969,!1,r);case 9:return uA(t,97,122,!1,r);case 10:return uA(t,65,90,!1,r);case 11:return uA(t,1632,1641,!0,r);case 12:case 49:return at(t,1,9999,ca,3,r);case 35:return at(t,1,9999,ca,3,r).toLowerCase();case 13:return uA(t,2534,2543,!0,r);case 14:case 30:return uA(t,6112,6121,!0,r);case 15:return Ye(t,"子丑寅卯辰巳午未申酉戌亥",s);case 16:return Ye(t,"甲乙丙丁戊己庚辛壬癸",s);case 17:case 48:return Qe(t,"零一二三四五六七八九",Ba,"負",s,Oe|Re|Gt);case 47:return Qe(t,"零壹貳參肆伍陸柒捌玖",da,"負",s,ct|Oe|Re|Gt);case 42:return Qe(t,"零一二三四五六七八九",Ba,"负",s,Oe|Re|Gt);case 41:return Qe(t,"零壹贰叁肆伍陆柒捌玖",da,"负",s,ct|Oe|Re|Gt);case 26:return Qe(t,"〇一二三四五六七八九","十百千万",ga,s,0);case 25:return Qe(t,"零壱弐参四伍六七八九","拾百千万",ga,s,ct|Oe|Re);case 31:return Qe(t,"영일이삼사오육칠팔구","십백천만",un,n,ct|Oe|Re);case 33:return Qe(t,"零一二三四五六七八九","十百千萬",un,n,0);case 32:return Qe(t,"零壹貳參四五六七八九","拾百千",un,n,ct|Oe|Re);case 18:return uA(t,2406,2415,!0,r);case 20:return at(t,1,19999,Ff,3,r);case 21:return uA(t,2790,2799,!0,r);case 22:return uA(t,2662,2671,!0,r);case 52:return at(t,1,10999,Uf,3,r);case 23:return Ye(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Ye(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return uA(t,3302,3311,!0,r);case 28:return Ye(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",s);case 29:return Ye(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",s);case 34:return uA(t,3792,3801,!0,r);case 37:return uA(t,6160,6169,!0,r);case 38:return uA(t,4160,4169,!0,r);case 39:return uA(t,2918,2927,!0,r);case 40:return uA(t,1776,1785,!0,r);case 43:return uA(t,3046,3055,!0,r);case 44:return uA(t,3174,3183,!0,r);case 45:return uA(t,3664,3673,!0,r);case 46:return uA(t,3872,3881,!0,r);default:return uA(t,48,57,!0,r)}},fn="data-html2canvas-ignore",xf=t=>{let A=t;for(;A;){if(A.parentNode&&A.parentNode.host)return A.parentNode;const e=A.getRootNode();if(e&&e!==A.ownerDocument&&e.host)return e;A=A.parentNode}return null};class ua{constructor(A,e,r){if(this.context=A,this.options=r,this.scrolledElements=[],this.referenceElement=e,this.counters=new mf,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");if(!this.options.iframeContainer){const s=xf(e);s&&(this.options.iframeContainer=s)}this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}toIFrame(A,e){const r=Ef(A,e,this.options.iframeContainer);if(!r.contentWindow)throw new Error("Unable to find iframe window");const s=A.defaultView.pageXOffset,n=A.defaultView.pageYOffset,o=r.contentWindow,i=o.document,a=Hf(r).then(async()=>{this.scrolledElements.forEach(Lf),o&&(o.scrollTo(e.left,e.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==e.top||o.scrollX!==e.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-e.left,o.scrollY-e.top,0,0)));const u=this.options.onclone,f=this.clonedReferenceElement;if(typeof f>"u")throw new Error(`Error finding the ${this.referenceElement.nodeName} in the cloned document`);return i.fonts&&i.fonts.ready&&await i.fonts.ready,/(AppleWebKit)/g.test(navigator.userAgent)&&await bf(i),typeof u=="function"?Promise.resolve().then(()=>u(i,f)).then(()=>r):r}),l=i.baseURI;i.open();const c=vf(document.doctype)+"<html></html>";try{const u=this.referenceElement.ownerDocument?.defaultView,f=u&&u.trustedTypes;let w=f?.getPolicy?.("html2canvas-pro");!w&&f&&(w=f.createPolicy("html2canvas-pro",{createHTML:h=>h})),w?i.write(w.createHTML(c)):i.write(c)}catch{i.write(c)}Sf(this.referenceElement.ownerDocument,s,n),i.close();const B=i.adoptNode(this.documentElement);return Rf(B,l),i.replaceChild(B,i.documentElement),a}createElementClone(A){if($s(A,2))debugger;if(sa(A))return this.createCanvasClone(A);if(na(A))return this.createVideoClone(A);if(gn(A))return this.createStyleClone(A);const e=A.cloneNode(!1);return dn(e)&&(dn(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),e.loading==="lazy"&&(e.loading="eager")),Si(e)&&!it(e)?this.createCustomElementClone(e):e}createCustomElementClone(A){const e=document.createElement("div");if(e.className=A.className,hn(A.style,e),A.shadowRoot)try{e.attachShadow({mode:"open"})}catch(r){this.context.logger.error("Failed to attach shadow root to custom element clone:",r)}return e}createStyleClone(A){try{const r=A.sheet;if(r&&r.cssRules){const s=[].slice.call(r.cssRules,0).reduce((o,i)=>i&&typeof i.cssText=="string"?o+i.cssText:o,""),n=A.cloneNode(!1);return n.textContent=s,this.options.cspNonce&&(n.nonce=this.options.cspNonce),n}}catch(r){if(this.context.logger.error("Unable to access cssRules property",r),r.name!=="SecurityError")throw r}const e=A.cloneNode(!1);return this.options.cspNonce&&(e.nonce=this.options.cspNonce),e}createCanvasClone(A){if(this.options.inlineImages&&A.ownerDocument){const r=A.ownerDocument.createElement("img");try{return r.src=A.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}const e=A.cloneNode(!1);try{e.width=A.width,e.height=A.height;const r=A.getContext("2d"),s=e.getContext("2d",{willReadFrequently:!0});if(s)if(!this.options.allowTaint&&r)s.putImageData(r.getImageData(0,0,A.width,A.height),0,0);else{const n=A.getContext("webgl2")??A.getContext("webgl");n&&n.getContextAttributes()?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A),s.drawImage(A,0,0)}return e}catch{this.context.logger.info("Unable to clone canvas as it is tainted",A)}return e}createVideoClone(A){const e=A.ownerDocument.createElement("canvas");e.width=A.offsetWidth,e.height=A.offsetHeight;const r=e.getContext("2d");try{return r&&(r.drawImage(A,0,0,e.width,e.height),this.options.allowTaint||r.getImageData(0,0,e.width,e.height)),e}catch{this.context.logger.info("Unable to clone video as it is tainted",A)}const s=A.ownerDocument.createElement("canvas");return s.width=A.offsetWidth,s.height=A.offsetHeight,s}appendChildNode(A,e,r){(!pe(e)||!ia(e)&&!e.hasAttribute(fn)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(e)))&&(!this.options.copyStyles||!pe(e)||!gn(e))&&A.appendChild(this.cloneNode(e,r))}shouldCloneChild(A){return!pe(A)||!ia(A)&&!A.hasAttribute(fn)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(A))}shouldCloneStyleElement(A){return!this.options.copyStyles||!pe(A)||!gn(A)}safeAppendClonedChild(A,e,r){this.shouldCloneChild(e)&&this.shouldCloneStyleElement(e)&&A.appendChild(this.cloneNode(e,r))}cloneAssignedNodes(A,e,r){A.forEach(s=>{this.safeAppendClonedChild(e,s,r)})}cloneSlotFallbackContent(A,e,r){for(let s=A.firstChild;s;s=s.nextSibling)this.safeAppendClonedChild(e,s,r)}cloneSlotElement(A,e,r){if(!Nt(A))return;const s=A;if(typeof s.assignedNodes!="function"){this.context.logger.warn("HTMLSlotElement.assignedNodes is not available",A),this.cloneSlotFallbackContent(A,e,r);return}const n=s.assignedNodes();if(!n||!Array.isArray(n)){this.context.logger.warn("assignedNodes() did not return a valid array",A),this.cloneSlotFallbackContent(A,e,r);return}n.length>0?this.cloneAssignedNodes(n,e,r):this.cloneSlotFallbackContent(A,e,r)}cloneShadowDOMChildren(A,e,r){for(let s=A.firstChild;s;s=s.nextSibling)pe(s)&&Nt(s)?this.cloneSlotElement(s,e,r):this.safeAppendClonedChild(e,s,r)}cloneLightDOMChildren(A,e,r){for(let s=A.firstChild;s;s=s.nextSibling)this.appendChildNode(e,s,r)}cloneSlotElementAsLightDOM(A,e,r){if(!Nt(A))return;const s=A;if(typeof s.assignedNodes!="function"){for(let o=A.firstChild;o;o=o.nextSibling)this.appendChildNode(e,o,r);return}const n=s.assignedNodes();if(n&&Array.isArray(n)&&n.length>0)n.forEach(o=>this.appendChildNode(e,o,r));else for(let o=A.firstChild;o;o=o.nextSibling)this.appendChildNode(e,o,r)}cloneShadowDOMAsLightDOM(A,e,r){for(let s=A.firstChild;s;s=s.nextSibling)pe(s)&&Nt(s)?this.cloneSlotElementAsLightDOM(s,e,r):this.appendChildNode(e,s,r)}cloneChildNodes(A,e,r){A.shadowRoot&&e.shadowRoot?(this.cloneShadowDOMChildren(A.shadowRoot,e.shadowRoot,r),this.cloneLightDOMChildren(A,e,r)):A.shadowRoot&&!e.shadowRoot?this.cloneShadowDOMAsLightDOM(A.shadowRoot,e,r):this.cloneLightDOMChildren(A,e,r)}cloneNode(A,e){if(vi(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);const r=A.ownerDocument.defaultView;if(r&&pe(A)&&(Ot(A)||it(A))){const s=this.createElementClone(A);s.style.transitionProperty="none";const n=r.getComputedStyle(A),o=r.getComputedStyle(A,":before"),i=r.getComputedStyle(A,":after");this.referenceElement===A&&Ot(s)&&(this.clonedReferenceElement=s),Bn(s)&&Df(s,this.options.cspNonce);const a=this.counters.parse(new Ii(this.context,n)),l=this.resolvePseudoContent(A,s,o,_t.BEFORE);Si(A)&&(e=!0),na(A)||this.cloneChildNodes(A,s,e),l&&s.insertBefore(l,s.firstChild);const c=this.resolvePseudoContent(A,s,i,_t.AFTER);return c&&s.appendChild(c),this.counters.pop(a),(n&&(this.options.copyStyles||it(A))&&!oa(A)||e)&&hn(n,s),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([s,A.scrollLeft,A.scrollTop]),(jr(A)||Yr(A))&&(jr(s)||Yr(s))&&(s.value=A.value),s}return A.cloneNode(!1)}resolvePseudoContent(A,e,r,s){if(!r)return;const n=r.content,o=e.ownerDocument;if(!o||!n||n==="none"||n==="-moz-alt-content"||r.display==="none")return;this.counters.parse(new Ii(this.context,r));const i=new uu(this.context,r),a=o.createElement("html2canvaspseudoelement");hn(r,a),i.content.forEach(c=>{if(c.type===0)a.appendChild(o.createTextNode(c.value));else if(c.type===22){const B=o.createElement("img");B.src=c.value,B.style.opacity="1",a.appendChild(B)}else if(c.type===18){if(c.name==="attr"){const B=c.values.filter(R);B.length&&a.appendChild(o.createTextNode(A.getAttribute(B[0].value)||""))}else if(c.name==="counter"){const[B,u]=c.values.filter(vA);if(B&&R(B)){const f=this.counters.getCounterValue(B.value),w=u&&R(u)?Zs.parse(this.context,u.value):3;a.appendChild(o.createTextNode(Vt(f,w,!1)))}}else if(c.name==="counters"){const[B,u,f]=c.values.filter(vA);if(B&&R(B)){const w=this.counters.getCounterValues(B.value),h=f&&R(f)?Zs.parse(this.context,f.value):3,m=u&&u.type===0?u.value:"",E=w.map(p=>Vt(p,h,!1)).join(m);a.appendChild(o.createTextNode(E))}}}else if(c.type===20)switch(c.value){case"open-quote":a.appendChild(o.createTextNode(Hi(i.quotes,this.quoteDepth++,!0)));break;case"close-quote":a.appendChild(o.createTextNode(Hi(i.quotes,--this.quoteDepth,!1)));break;default:a.appendChild(o.createTextNode(c.value))}}),a.className=`${wn} ${pn}`;const l=s===_t.BEFORE?` ${wn}`:` ${pn}`;return it(e)?e.className.baseValue+=l:e.className+=l,a}static destroy(A){return A.parentNode?(A.parentNode.removeChild(A),!0):!1}}var _t;(function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"})(_t||(_t={}));const Ef=(t,A,e)=>{const r=t.createElement("iframe");return r.className="html2canvas-container",r.style.visibility="hidden",r.style.position="fixed",r.style.left="-10000px",r.style.top="0px",r.style.border="0",r.width=A.width.toString(),r.height=A.height.toString(),r.scrolling="no",r.setAttribute(fn,"true"),(e||t.body).appendChild(r),r},yf=t=>new Promise(A=>{if(t.complete){A();return}if(!t.src){A();return}t.onload=A,t.onerror=A}),bf=t=>Promise.all([].slice.call(t.images,0).map(yf)),Hf=t=>new Promise((A,e)=>{const r=t.contentWindow;if(!r)return e("No window assigned for iframe");const s=r.document;r.onload=t.onload=()=>{r.onload=t.onload=null;const n=setInterval(()=>{s.body.childNodes.length>0&&s.readyState==="complete"&&(clearInterval(n),A(t))},50)}}),If=["all","d","content"],hn=(t,A)=>{for(let e=t.length-1;e>=0;e--){const r=t.item(e);If.indexOf(r)===-1&&!r.startsWith("--")&&A.style.setProperty(r,t.getPropertyValue(r))}return A},vf=t=>{let A="";return t&&(A+="<!DOCTYPE ",t.name&&(A+=t.name),t.internalSubset&&(A+=" "+t.internalSubset.replace(/"/g,""").replace(/>/g,">")),t.publicId?(A+=' PUBLIC "'+t.publicId.replace(/"/g,""")+'"',t.systemId&&(A+=' "'+t.systemId.replace(/"/g,""")+'"')):t.systemId&&(A+=' SYSTEM "'+t.systemId.replace(/"/g,""")+'"'),A+=">"),A},Sf=(t,A,e)=>{t&&t.defaultView&&(A!==t.defaultView.pageXOffset||e!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(A,e)},Lf=([t,A,e])=>{t.scrollLeft=A,t.scrollTop=e},Tf=":before",Kf=":after",wn="___html2canvas___pseudoelement_before",pn="___html2canvas___pseudoelement_after",fa=`{
|
|
8
8
|
content: "" !important;
|
|
9
9
|
display: none !important;
|
|
10
|
-
}`,
|
|
11
|
-
.${pn}${Lf}${fa}`,A)},Kf=(t,A,e)=>{const r=t.ownerDocument;if(r){const s=r.createElement("style");s.textContent=A,e&&(s.nonce=e),t.appendChild(s)}},Df=(t,A)=>{const e=t.ownerDocument.createElement("base");e.href=A;const r=t.getElementsByTagName("head").item(0);r?.insertBefore(e,r?.firstChild??null)};class b{constructor(A,e){this.type=0,this.x=A,this.y=e}add(A,e){return new b(this.x+A,this.y+e)}}const at=(t,A,e)=>new b(t.x+(A.x-t.x)*e,t.y+(A.y-t.y)*e);class pe{constructor(A,e,r,s){this.type=1,this.start=A,this.startControl=e,this.endControl=r,this.end=s}subdivide(A,e){const r=at(this.start,this.startControl,A),s=at(this.startControl,this.endControl,A),n=at(this.endControl,this.end,A),o=at(r,s,A),i=at(s,n,A),a=at(o,i,A);return e?new pe(this.start,r,o,a):new pe(a,i,n,this.end)}add(A,e){return new pe(this.start.add(A,e),this.startControl.add(A,e),this.endControl.add(A,e),this.end.add(A,e))}reverse(){return new pe(this.end,this.endControl,this.startControl,this.start)}}const GA=t=>t.type===1;class Of{constructor(A){const e=A.styles,r=A.bounds;let[s,n]=Lt(e.borderTopLeftRadius,r.width,r.height),[o,i]=Lt(e.borderTopRightRadius,r.width,r.height),[a,l]=Lt(e.borderBottomRightRadius,r.width,r.height),[c,B]=Lt(e.borderBottomLeftRadius,r.width,r.height);const u=[];u.push((s+o)/r.width),u.push((c+a)/r.width),u.push((n+B)/r.height),u.push((i+l)/r.height);const f=Math.max(...u);f>1&&(s/=f,n/=f,o/=f,i/=f,a/=f,l/=f,c/=f,B/=f);const w=r.width-o,h=r.height-l,m=r.width-a,E=r.height-B,p=e.borderTopWidth,x=e.borderRightWidth,T=e.borderBottomWidth,F=e.borderLeftWidth,K=O(e.paddingTop,A.bounds.width),_=O(e.paddingRight,A.bounds.width),AA=O(e.paddingBottom,A.bounds.width),S=O(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=s>0||n>0?iA(r.left+F/3,r.top+p/3,s-F/3,n-p/3,J.TOP_LEFT):new b(r.left+F/3,r.top+p/3),this.topRightBorderDoubleOuterBox=s>0||n>0?iA(r.left+w,r.top+p/3,o-x/3,i-p/3,J.TOP_RIGHT):new b(r.left+r.width-x/3,r.top+p/3),this.bottomRightBorderDoubleOuterBox=a>0||l>0?iA(r.left+m,r.top+h,a-x/3,l-T/3,J.BOTTOM_RIGHT):new b(r.left+r.width-x/3,r.top+r.height-T/3),this.bottomLeftBorderDoubleOuterBox=c>0||B>0?iA(r.left+F/3,r.top+E,c-F/3,B-T/3,J.BOTTOM_LEFT):new b(r.left+F/3,r.top+r.height-T/3),this.topLeftBorderDoubleInnerBox=s>0||n>0?iA(r.left+F*2/3,r.top+p*2/3,s-F*2/3,n-p*2/3,J.TOP_LEFT):new b(r.left+F*2/3,r.top+p*2/3),this.topRightBorderDoubleInnerBox=s>0||n>0?iA(r.left+w,r.top+p*2/3,o-x*2/3,i-p*2/3,J.TOP_RIGHT):new b(r.left+r.width-x*2/3,r.top+p*2/3),this.bottomRightBorderDoubleInnerBox=a>0||l>0?iA(r.left+m,r.top+h,a-x*2/3,l-T*2/3,J.BOTTOM_RIGHT):new b(r.left+r.width-x*2/3,r.top+r.height-T*2/3),this.bottomLeftBorderDoubleInnerBox=c>0||B>0?iA(r.left+F*2/3,r.top+E,c-F*2/3,B-T*2/3,J.BOTTOM_LEFT):new b(r.left+F*2/3,r.top+r.height-T*2/3),this.topLeftBorderStroke=s>0||n>0?iA(r.left+F/2,r.top+p/2,s-F/2,n-p/2,J.TOP_LEFT):new b(r.left+F/2,r.top+p/2),this.topRightBorderStroke=s>0||n>0?iA(r.left+w,r.top+p/2,o-x/2,i-p/2,J.TOP_RIGHT):new b(r.left+r.width-x/2,r.top+p/2),this.bottomRightBorderStroke=a>0||l>0?iA(r.left+m,r.top+h,a-x/2,l-T/2,J.BOTTOM_RIGHT):new b(r.left+r.width-x/2,r.top+r.height-T/2),this.bottomLeftBorderStroke=c>0||B>0?iA(r.left+F/2,r.top+E,c-F/2,B-T/2,J.BOTTOM_LEFT):new b(r.left+F/2,r.top+r.height-T/2),this.topLeftBorderBox=s>0||n>0?iA(r.left,r.top,s,n,J.TOP_LEFT):new b(r.left,r.top),this.topRightBorderBox=o>0||i>0?iA(r.left+w,r.top,o,i,J.TOP_RIGHT):new b(r.left+r.width,r.top),this.bottomRightBorderBox=a>0||l>0?iA(r.left+m,r.top+h,a,l,J.BOTTOM_RIGHT):new b(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=c>0||B>0?iA(r.left,r.top+E,c,B,J.BOTTOM_LEFT):new b(r.left,r.top+r.height),this.topLeftPaddingBox=s>0||n>0?iA(r.left+F,r.top+p,Math.max(0,s-F),Math.max(0,n-p),J.TOP_LEFT):new b(r.left+F,r.top+p),this.topRightPaddingBox=o>0||i>0?iA(r.left+Math.min(w,r.width-x),r.top+p,w>r.width+x?0:Math.max(0,o-x),Math.max(0,i-p),J.TOP_RIGHT):new b(r.left+r.width-x,r.top+p),this.bottomRightPaddingBox=a>0||l>0?iA(r.left+Math.min(m,r.width-F),r.top+Math.min(h,r.height-T),Math.max(0,a-x),Math.max(0,l-T),J.BOTTOM_RIGHT):new b(r.left+r.width-x,r.top+r.height-T),this.bottomLeftPaddingBox=c>0||B>0?iA(r.left+F,r.top+Math.min(E,r.height-T),Math.max(0,c-F),Math.max(0,B-T),J.BOTTOM_LEFT):new b(r.left+F,r.top+r.height-T),this.topLeftContentBox=s>0||n>0?iA(r.left+F+S,r.top+p+K,Math.max(0,s-(F+S)),Math.max(0,n-(p+K)),J.TOP_LEFT):new b(r.left+F+S,r.top+p+K),this.topRightContentBox=o>0||i>0?iA(r.left+Math.min(w,r.width+F+S),r.top+p+K,w>r.width+F+S?0:o-F+S,i-(p+K),J.TOP_RIGHT):new b(r.left+r.width-(x+_),r.top+p+K),this.bottomRightContentBox=a>0||l>0?iA(r.left+Math.min(m,r.width-(F+S)),r.top+Math.min(h,r.height+p+K),Math.max(0,a-(x+_)),l-(T+AA),J.BOTTOM_RIGHT):new b(r.left+r.width-(x+_),r.top+r.height-(T+AA)),this.bottomLeftContentBox=c>0||B>0?iA(r.left+F+S,r.top+E,Math.max(0,c-(F+S)),B-(T+AA),J.BOTTOM_LEFT):new b(r.left+F+S,r.top+r.height-(T+AA))}}var J;(function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(J||(J={}));const iA=(t,A,e,r,s)=>{const n=4*((Math.sqrt(2)-1)/3),o=e*n,i=r*n,a=t+e,l=A+r;switch(s){case J.TOP_LEFT:return new pe(new b(t,l),new b(t,l-i),new b(a-o,A),new b(a,A));case J.TOP_RIGHT:return new pe(new b(t,A),new b(t+o,A),new b(a,l-i),new b(a,l));case J.BOTTOM_RIGHT:return new pe(new b(a,A),new b(a,A+i),new b(t+o,l),new b(t,l));case J.BOTTOM_LEFT:default:return new pe(new b(a,l),new b(a-o,l),new b(t,A+i),new b(t,A))}},Jr=t=>[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox],Rf=t=>[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox],jr=t=>[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox];class ha{constructor(A,e,r){this.offsetX=A,this.offsetY=e,this.matrix=r,this.type=0,this.target=6}}class Yr{constructor(A,e){this.path=A,this.target=e,this.type=1}}class Mf{constructor(A){this.opacity=A,this.type=2,this.target=6}}class _t{constructor(A){this.applyClip=A,this.type=3,this.target=6}}const Nf=t=>t.type===0,wa=t=>t.type===1,Gf=t=>t.type===2,Vf=t=>t.type===3,pa=(t,A)=>t.length===A.length?t.some((e,r)=>e===A[r]):!1,_f=(t,A,e,r,s)=>t.map((n,o)=>{switch(o){case 0:return n.add(A,e);case 1:return n.add(A+r,e);case 2:return n.add(A+r,e+s);case 3:return n.add(A,e+s)}return n});class Qa{constructor(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}}class Ca{constructor(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new Of(this.container),this.container.styles.opacity<1&&this.effects.push(new Mf(this.container.styles.opacity)),this.container.styles.rotate!==null){const r=this.container.styles.transformOrigin,s=this.container.bounds.left+O(r[0],this.container.bounds.width),n=this.container.bounds.top+O(r[1],this.container.bounds.height),i=this.container.styles.rotate*Math.PI/180,a=Math.cos(i),l=Math.sin(i),c=[a,l,-l,a,0,0];this.effects.push(new ha(s,n,c))}if(this.container.styles.transform!==null){const r=this.container.styles.transformOrigin,s=this.container.bounds.left+O(r[0],this.container.bounds.width),n=this.container.bounds.top+O(r[1],this.container.bounds.height),o=this.container.styles.transform;this.effects.push(new ha(s,n,o))}if(this.container.styles.overflowX!==0){const r=Jr(this.curves),s=jr(this.curves);pa(r,s)?this.effects.push(new Yr(r,6)):(this.effects.push(new Yr(r,2)),this.effects.push(new Yr(s,4)))}if(this.container.styles.clipPath.type!==0){const r=kf(this.container.styles.clipPath,this.container.bounds);r&&this.effects.push(r)}}getEffects(A){let e=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent;const s=this.effects.slice(0);for(;r;){const n=r.effects.filter(o=>!wa(o));if(e||r.container.styles.position!==0||!r.parent){if(e=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){const o=Jr(r.curves),i=jr(r.curves);pa(o,i)||s.unshift(new Yr(i,6))}s.unshift(...n)}else s.unshift(...n);r=r.parent}return s.filter(n=>aA(n.target,A))}}const ma=(t,A,e,r,s)=>t==="closest-side"?Math.min(A-e,r-A):t==="farthest-side"?Math.max(A-e,r-A):O(t,s),kf=(t,A)=>{const{left:e,top:r,width:s,height:n}=A;switch(t.type){case 1:{const o=O(t.left,s),i=O(t.top,n),a=e+o,l=r+i,c=Math.max(0,s-o-O(t.right,s)),B=Math.max(0,n-i-O(t.bottom,n));return new _t(u=>{u.beginPath(),u.rect(a,l,c,B),u.clip()})}case 2:{const o=e+O(t.cx,s),i=r+O(t.cy,n);let a;return t.radius==="closest-side"?a=Math.min(o-e,i-r,e+s-o,r+n-i):t.radius==="farthest-side"?a=Math.max(o-e,i-r,e+s-o,r+n-i):a=O(t.radius,Math.sqrt(s*s+n*n)/Math.SQRT2),new _t(l=>{l.beginPath(),l.arc(o,i,Math.max(0,a),0,Math.PI*2),l.clip()})}case 3:{const o=e+O(t.cx,s),i=r+O(t.cy,n),a=ma(t.rx,o,e,e+s,s),l=ma(t.ry,i,r,r+n,n);return new _t(c=>{c.beginPath(),c.ellipse(o,i,Math.max(0,a),Math.max(0,l),0,0,Math.PI*2),c.clip()})}case 4:{const o=t.points.map(([i,a])=>[e+O(i,s),r+O(a,n)]);return new _t(i=>{if(i.beginPath(),o.length>0){i.moveTo(o[0][0],o[0][1]);for(let a=1;a<o.length;a++)i.lineTo(o[a][0],o[a][1]);i.closePath()}i.clip()})}case 5:{const{d:o}=t;return new _t(i=>{try{const a=i.getTransform();i.translate(e,r),i.clip(new Path2D(o)),i.setTransform(a)}catch{}})}case 0:return null;default:return null}},Qn=(t,A,e,r)=>{t.container.elements.forEach(s=>{const n=aA(s.flags,4),o=aA(s.flags,2),i=new Ca(s,t);aA(s.styles.display,2048)&&r.push(i);const a=aA(s.flags,8)?[]:r;if(n||o){const l=n||s.styles.isPositioned()?e:A,c=new Qa(i);if(s.styles.isPositioned()||s.styles.opacity<1||s.styles.isTransformed()){const B=s.styles.zIndex.order;if(B<0){let u=0;l.negativeZIndex.some((f,w)=>B>f.element.container.styles.zIndex.order?(u=w,!1):u>0),l.negativeZIndex.splice(u,0,c)}else if(B>0){let u=0;l.positiveZIndex.some((f,w)=>B>=f.element.container.styles.zIndex.order?(u=w+1,!1):u>0),l.positiveZIndex.splice(u,0,c)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else s.styles.isFloating()?l.nonPositionedFloats.push(c):l.nonPositionedInlineLevel.push(c);Qn(i,c,n?c:e,a)}else s.styles.isInlineLevel()?A.inlineLevel.push(i):A.nonInlineLevel.push(i),Qn(i,A,e,a);aA(s.flags,8)&&Ua(s,a)})},Ua=(t,A)=>{let e=t instanceof ln?t.start:1;const r=t instanceof ln?t.reversed:!1;for(let s=0;s<A.length;s++){const n=A[s];n.container instanceof zi&&typeof n.container.value=="number"&&n.container.value!==0&&(e=n.container.value),n.listValue=Gt(e,n.container.styles.listStyleType,!0),e+=r?-1:1}},Pf=t=>{const A=new Ca(t,null),e=new Qa(A),r=[];return Qn(A,e,e,r),Ua(A.container,r),e},Fa=t=>{const A=t.bounds,e=t.styles;return A.add(e.borderLeftWidth,e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth),-(e.borderTopWidth+e.borderBottomWidth))},kt=t=>{const A=t.styles,e=t.bounds,r=O(A.paddingLeft,e.width),s=O(A.paddingRight,e.width),n=O(A.paddingTop,e.width),o=O(A.paddingBottom,e.width);return e.add(r+A.borderLeftWidth,n+A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth+r+s),-(A.borderTopWidth+A.borderBottomWidth+n+o))},Xf=(t,A)=>t===0?A.bounds:t===2?kt(A):Fa(A),Wf=(t,A)=>t===0?A.bounds:t===2?kt(A):Fa(A),Cn=(t,A,e)=>{const r=Xf(lt(t.styles.backgroundOrigin,A),t),s=Wf(lt(t.styles.backgroundClip,A),t),n=Jf(lt(t.styles.backgroundSize,A),e,r);let[o,i]=n;const a=Lt(lt(t.styles.backgroundPosition,A),r.width-o,r.height-i),l=jf(lt(t.styles.backgroundRepeat,A),a,n,r,s),c=Math.round(r.left+a[0]),B=Math.round(r.top+a[1]);return o=Math.max(1,o),i=Math.max(1,i),[l,c,B,o,i]},ct=t=>R(t)&&t.value===st.AUTO,zr=t=>typeof t=="number",Jf=(t,[A,e,r],s)=>{const[n,o]=t;if(!n)return[0,0];if(j(n)&&o&&j(o))return[O(n,s.width),O(o,s.height)];const i=zr(r);if(R(n)&&(n.value===st.CONTAIN||n.value===st.COVER))return zr(r)?s.width/s.height<r!=(n.value===st.COVER)?[s.width,s.width/r]:[s.height*r,s.height]:[s.width,s.height];const a=zr(A),l=zr(e),c=a||l;if(ct(n)&&(!o||ct(o))){if(a&&l)return[A,e];if(!i&&!c)return[s.width,s.height];if(c&&i){const h=a?A:e*r,m=l?e:A/r;return[h,m]}const f=a?A:s.width,w=l?e:s.height;return[f,w]}if(i){let f=0,w=0;return j(n)?f=O(n,s.width):j(o)&&(w=O(o,s.height)),ct(n)?f=w*r:(!o||ct(o))&&(w=f/r),[f,w]}let B=null,u=null;if(j(n)?B=O(n,s.width):o&&j(o)&&(u=O(o,s.height)),B!==null&&(!o||ct(o))&&(u=a&&l?B/A*e:s.height),u!==null&&ct(n)&&(B=a&&l?u/e*A:s.width),B!==null&&u!==null)return[B,u];throw new Error("Unable to calculate background-size for element")},lt=(t,A)=>{const e=t[A];return typeof e>"u"?t[0]:e},jf=(t,[A,e],[r,s],n,o)=>{switch(t){case 2:return[new b(Math.round(n.left),Math.round(n.top+e)),new b(Math.round(n.left+n.width),Math.round(n.top+e)),new b(Math.round(n.left+n.width),Math.round(s+n.top+e)),new b(Math.round(n.left),Math.round(s+n.top+e))];case 3:return[new b(Math.round(n.left+A),Math.round(n.top)),new b(Math.round(n.left+A+r),Math.round(n.top)),new b(Math.round(n.left+A+r),Math.round(n.height+n.top)),new b(Math.round(n.left+A),Math.round(n.height+n.top))];case 1:return[new b(Math.round(n.left+A),Math.round(n.top+e)),new b(Math.round(n.left+A+r),Math.round(n.top+e)),new b(Math.round(n.left+A+r),Math.round(n.top+e+s)),new b(Math.round(n.left+A),Math.round(n.top+e+s))];default:return[new b(Math.round(o.left),Math.round(o.top)),new b(Math.round(o.left+o.width),Math.round(o.top)),new b(Math.round(o.left+o.width),Math.round(o.height+o.top)),new b(Math.round(o.left),Math.round(o.height+o.top))]}},Yf="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",xa="Hidden Text";class zf{constructor(A){this._data={},this._document=A}parseMetrics(A,e){const r=this._document.createElement("div"),s=this._document.createElement("img"),n=this._document.createElement("span"),o=this._document.body;r.style.visibility="hidden",r.style.fontFamily=A,r.style.fontSize=e,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",o.appendChild(r),s.src=Yf,s.width=1,s.height=1,s.style.margin="0",s.style.padding="0",s.style.verticalAlign="baseline",n.style.fontFamily=A,n.style.fontSize=e,n.style.margin="0",n.style.padding="0",n.appendChild(this._document.createTextNode(xa)),r.appendChild(n),r.appendChild(s);const i=s.offsetTop-n.offsetTop+2;r.removeChild(n),r.appendChild(this._document.createTextNode(xa)),r.style.lineHeight="normal",s.style.verticalAlign="super";const a=s.offsetTop-r.offsetTop+2;return o.removeChild(r),{baseline:i,middle:a}}getMetrics(A,e){const r=`${A} ${e}`;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(A,e)),this._data[r]}}class Ea{constructor(A,e){this.context=A,this.options=e}}class Zf{constructor(A){this.ctx=A.ctx,this.context=A.context,this.canvas=A.canvas}async renderBackgroundImage(A){let e=A.styles.backgroundImage.length-1;for(const r of A.styles.backgroundImage.slice(0).reverse())r.type===0?await this.renderBackgroundURLImage(A,r,e):vd(r)?this.renderLinearGradient(A,r,e):Sd(r)&&this.renderRadialGradient(A,r,e),e--}async renderBackgroundURLImage(A,e,r){let s;const n=e.url;try{s=await this.context.cache.match(n)}catch{this.context.logger.error(`Error loading background-image ${n}`)}if(s){const o=isNaN(s.width)||s.width===0?1:s.width,i=isNaN(s.height)||s.height===0?1:s.height,[a,l,c,B,u]=Cn(A,r,[o,i,o/i]),f=this.ctx.createPattern(this.resizeImage(s,B,u,A.styles.imageRendering),"repeat");this.renderRepeat(a,f,l,c)}}renderLinearGradient(A,e,r){const[s,n,o,i,a]=Cn(A,r,[null,null,null]),[l,c,B,u,f]=Ed(e.angle,i,a),h=(this.canvas.ownerDocument??document).createElement("canvas");h.width=i,h.height=a;const m=h.getContext("2d"),E=m.createLinearGradient(c,u,B,f);if(gi(e.stops,l||1).forEach(p=>E.addColorStop(p.stop,oA(p.color))),m.fillStyle=E,m.fillRect(0,0,i,a),i>0&&a>0){const p=this.ctx.createPattern(h,"repeat");this.renderRepeat(s,p,n,o)}}renderRadialGradient(A,e,r){const[s,n,o,i,a]=Cn(A,r,[null,null,null]),l=e.position.length===0?[Pe]:e.position,c=O(l[0],i),B=O(l[l.length-1],a);let[u,f]=yd(e,c,B,i,a);if((u===0||f===0)&&(u=Math.max(u,.01),f=Math.max(f,.01)),u>0&&f>0){const w=this.ctx.createRadialGradient(n+c,o+B,0,n+c,o+B,u);if(gi(e.stops,u*2).forEach(h=>w.addColorStop(h.stop,oA(h.color))),this.path(s),this.ctx.fillStyle=w,u!==f){const h=A.bounds.left+.5*A.bounds.width,m=A.bounds.top+.5*A.bounds.height,E=f/u,p=1/E;this.ctx.save(),this.ctx.translate(h,m),this.ctx.transform(1,0,0,E,0,0),this.ctx.translate(-h,-m),this.ctx.fillRect(n,p*(o-m)+m,i,a*p),this.ctx.restore()}else this.ctx.fill()}}renderRepeat(A,e,r,s){this.path(A),this.ctx.fillStyle=e,this.ctx.translate(r,s),this.ctx.fill(),this.ctx.translate(-r,-s)}resizeImage(A,e,r,s){const o=(this.canvas.ownerDocument??document).createElement("canvas");o.width=Math.max(1,e),o.height=Math.max(1,r);const i=o.getContext("2d");return s===XA.PIXELATED||s===XA.CRISP_EDGES?(this.context.logger.debug("Disabling image smoothing for background image due to CSS image-rendering"),i.imageSmoothingEnabled=!1):s===XA.SMOOTH?(this.context.logger.debug("Enabling image smoothing for background image due to CSS image-rendering: smooth"),i.imageSmoothingEnabled=!0):i.imageSmoothingEnabled=this.ctx.imageSmoothingEnabled,this.ctx.imageSmoothingQuality&&(i.imageSmoothingQuality=this.ctx.imageSmoothingQuality),i.drawImage(A,0,0,A.width,A.height,0,0,e,r),o}path(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()}formatPath(A){A.forEach((e,r)=>{const s=GA(e)?e.start:e;r===0?this.ctx.moveTo(s.x,s.y):this.ctx.lineTo(s.x,s.y),GA(e)&&this.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})}}const ya=(t,A)=>{switch(A){case 0:return YA(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return YA(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return YA(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);default:return YA(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},$f=(t,A)=>{switch(A){case 0:return YA(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return YA(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return YA(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);default:return YA(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}},qf=(t,A)=>{switch(A){case 0:return YA(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return YA(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return YA(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);default:return YA(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}},Ah=(t,A)=>{switch(A){case 0:return Zr(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return Zr(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return Zr(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);default:return Zr(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}},Zr=(t,A)=>{const e=[];return GA(t)?e.push(t.subdivide(.5,!1)):e.push(t),GA(A)?e.push(A.subdivide(.5,!0)):e.push(A),e},YA=(t,A,e,r)=>{const s=[];return GA(t)?s.push(t.subdivide(.5,!1)):s.push(t),GA(e)?s.push(e.subdivide(.5,!0)):s.push(e),GA(r)?s.push(r.subdivide(.5,!0).reverse()):s.push(r),GA(A)?s.push(A.subdivide(.5,!1).reverse()):s.push(A),s};class eh{constructor(A,e){this.ctx=A.ctx,this.pathCallbacks=e}async renderSolidBorder(A,e,r){this.pathCallbacks.path(ya(r,e)),this.ctx.fillStyle=oA(A),this.ctx.fill()}async renderDoubleBorder(A,e,r,s){if(e<3){await this.renderSolidBorder(A,r,s);return}const n=$f(s,r);this.pathCallbacks.path(n),this.ctx.fillStyle=oA(A),this.ctx.fill();const o=qf(s,r);this.pathCallbacks.path(o),this.ctx.fill()}async renderDashedDottedBorder(A,e,r,s,n){this.ctx.save();const o=Ah(s,r),i=ya(s,r);n===2&&(this.pathCallbacks.path(i),this.ctx.clip());let a,l,c,B;GA(i[0])?(a=i[0].start.x,l=i[0].start.y):(a=i[0].x,l=i[0].y),GA(i[1])?(c=i[1].end.x,B=i[1].end.y):(c=i[1].x,B=i[1].y);let u;r===0||r===2?u=Math.abs(a-c):u=Math.abs(l-B),this.ctx.beginPath(),n===3?this.pathCallbacks.formatPath(o):this.pathCallbacks.formatPath(i.slice(0,2));let f=e<3?e*3:e*2,w=e<3?e*2:e;n===3&&(f=e,w=e);let h=!0;if(u<=f*2)h=!1;else if(u<=f*2+w){const m=u/(2*f+w);f*=m,w*=m}else{const m=Math.floor((u+w)/(f+w)),E=(u-m*f)/(m-1),p=(u-(m+1)*f)/m;w=p<=0||Math.abs(w-E)<Math.abs(w-p)?E:p}if(h&&(n===3?this.ctx.setLineDash([0,f+w]):this.ctx.setLineDash([f,w])),n===3?(this.ctx.lineCap="round",this.ctx.lineWidth=e):this.ctx.lineWidth=e*2+1.1,this.ctx.strokeStyle=oA(A),this.ctx.stroke(),this.ctx.setLineDash([]),n===2){if(GA(i[0])){const m=i[3],E=i[0];this.ctx.beginPath(),this.pathCallbacks.formatPath([new b(m.end.x,m.end.y),new b(E.start.x,E.start.y)]),this.ctx.stroke()}if(GA(i[1])){const m=i[1],E=i[2];this.ctx.beginPath(),this.pathCallbacks.formatPath([new b(m.end.x,m.end.y),new b(E.start.x,E.start.y)]),this.ctx.stroke()}}this.ctx.restore()}}class th{constructor(A,e){this.activeEffects=[],this.ctx=A.ctx,this.pathCallback=e}applyEffects(A){for(;this.activeEffects.length;)this.popEffect();A.forEach(e=>this.applyEffect(e))}applyEffect(A){this.ctx.save(),Gf(A)?this.ctx.globalAlpha=A.opacity:Nf(A)?(this.ctx.translate(A.offsetX,A.offsetY),this.ctx.transform(A.matrix[0],A.matrix[1],A.matrix[2],A.matrix[3],A.matrix[4],A.matrix[5]),this.ctx.translate(-A.offsetX,-A.offsetY)):wa(A)?(this.pathCallback.path(A.path),this.ctx.clip()):Vf(A)&&A.applyClip(this.ctx),this.activeEffects.push(A)}popEffect(){this.activeEffects.pop(),this.ctx.restore()}getActiveEffectCount(){return this.activeEffects.length}hasActiveEffects(){return this.activeEffects.length>0}}const rh=["-apple-system","system-ui"],sh=/[\u2E80-\u2FFF\u3000-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uAC00-\uD7AF\uF900-\uFAFF\uFF01-\uFFEF]/,nh=t=>sh.test(t),oh=()=>{if(typeof navigator>"u")return null;const t=navigator.userAgent,A=/iPhone|iPad|iPod/.test(t),e=/Macintosh/.test(t)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1;if(!A&&!e)return null;const r=[/(?:iPhone|CPU(?:\siPhone)?)\sOS\s(\d+)[\._](\d+)/,/Version\/(\d+)\.(\d+)/];for(const s of r){const n=t.match(s);if(n&&n[1])return parseInt(n[1],10)}return null},ih=t=>{const A=oh();return A!==null&&A>=15&&A<17?t.map(e=>rh.indexOf(e)!==-1?'-apple-system, "Helvetica Neue", Arial, sans-serif':e):t};class ah{constructor(A){this.ctx=A.ctx,this.options=A.options}iterateLettersWithLetterSpacing(A,e,r,s){const n=Vr(A.text),o=A.bounds.top+r;let i=A.bounds.left;for(const a of n){if(nh(a)){const l=this.ctx.textBaseline;this.ctx.textBaseline="ideographic",s(a,i,o),this.ctx.textBaseline=l}else s(a,i,o);i+=this.ctx.measureText(a).width+e}}renderTextWithLetterSpacing(A,e,r){e===0?this.ctx.fillText(A.text,A.bounds.left,A.bounds.top+r):this.iterateLettersWithLetterSpacing(A,e,r,(s,n,o)=>{this.ctx.fillText(s,n,o)})}renderTextBoundWithPaintOrder(A,e,r){r.forEach(s=>{switch(s){case 0:this.ctx.fillStyle=oA(e.color),this.renderTextWithLetterSpacing(A,e.letterSpacing,e.fontSize.number);break;case 1:e.webkitTextStrokeWidth&&A.text.trim().length&&(this.ctx.strokeStyle=oA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(A.text,A.bounds.left,A.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(A,e.letterSpacing,e.fontSize.number,(n,o,i)=>this.ctx.strokeText(n,o,i)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}})}renderTextDecoration(A,e){this.ctx.fillStyle=oA(e.textDecorationColor||e.color);let r=1;typeof e.textDecorationThickness=="number"?r=e.textDecorationThickness:e.textDecorationThickness==="from-font"&&(r=Math.max(1,Math.floor(e.fontSize.number*.05)));let s=0;typeof e.textUnderlineOffset=="number"&&(s=e.textUnderlineOffset);const n=e.textDecorationStyle;e.textDecorationLine.forEach(o=>{let i=0;switch(o){case 1:i=A.top+A.height-r+s;break;case 2:i=A.top;break;case 3:i=A.top+(A.height/2-r/2);break;default:return}this.drawDecorationLine(A.left,i,A.width,r,n)})}drawDecorationLine(A,e,r,s,n){switch(n){case 0:this.ctx.fillRect(A,e,r,s);break;case 1:const o=Math.max(1,s);this.ctx.fillRect(A,e,r,s),this.ctx.fillRect(A,e+s+o,r,s);break;case 2:this.ctx.save(),this.ctx.beginPath(),this.ctx.setLineDash([s,s*2]),this.ctx.lineWidth=s,this.ctx.strokeStyle=this.ctx.fillStyle,this.ctx.moveTo(A,e+s/2),this.ctx.lineTo(A+r,e+s/2),this.ctx.stroke(),this.ctx.restore();break;case 3:this.ctx.save(),this.ctx.beginPath(),this.ctx.setLineDash([s*3,s*2]),this.ctx.lineWidth=s,this.ctx.strokeStyle=this.ctx.fillStyle,this.ctx.moveTo(A,e+s/2),this.ctx.lineTo(A+r,e+s/2),this.ctx.stroke(),this.ctx.restore();break;case 4:this.ctx.save(),this.ctx.beginPath(),this.ctx.lineWidth=s,this.ctx.strokeStyle=this.ctx.fillStyle;const i=s*2,a=s*4;let l=A;for(this.ctx.moveTo(l,e+s/2);l<A+r;){const c=Math.min(l+a/2,A+r);if(this.ctx.quadraticCurveTo(l+a/4,e+s/2-i,c,e+s/2),l=c,l<A+r){const B=Math.min(l+a/2,A+r);this.ctx.quadraticCurveTo(l+a/4,e+s/2+i,B,e+s/2),l=B}}this.ctx.stroke(),this.ctx.restore();break;default:this.ctx.fillRect(A,e,r,s)}}truncateTextWithEllipsis(A,e,r){const n=this.ctx.measureText("…").width,o=Vr(A);if(r===0){const i=c=>this.ctx.measureText(o.slice(0,c).join("")).width+n<=e;let a=0,l=o.length;for(;a<l;){const c=a+l+1>>1;i(c)?a=c:l=c-1}return o.slice(0,a).join("")+"…"}else{let i=n;const a=[];for(const l of o){const c=this.ctx.measureText(l).width;if(i+c>e)break;a.push(l),i+=c+r}return a.join("")+"…"}}createFontStyle(A){const e=A.fontVariant.filter(n=>n==="normal"||n==="small-caps").join(""),r=ih(A.fontFamily).join(", "),s=ie(A.fontSize)?`${A.fontSize.number}${A.fontSize.unit}`:`${A.fontSize.number}px`;return[[A.fontStyle,e,A.fontWeight,s,r].join(" "),r,s]}async renderTextNode(A,e,r){const[s]=this.createFontStyle(e);this.ctx.font=s,this.ctx.direction=e.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic";const n=e.paintOrder,o=e.fontSize.number*1.5;if(e.webkitLineClamp>0&&(e.display&2)!==0&&e.overflowY===1&&A.textBounds.length>0){const B=[];let u=[],f=A.textBounds[0].bounds.top;A.textBounds.forEach(h=>{Math.abs(h.bounds.top-f)>=o*.5?(u.length>0&&B.push(u),u=[h],f=h.bounds.top):u.push(h)}),u.length>0&&B.push(u);const w=e.webkitLineClamp;if(B.length>w){for(let m=0;m<w-1;m++)B[m].forEach(E=>{this.renderTextBoundWithPaintOrder(E,e,n)});const h=B[w-1];if(h&&h.length>0&&r){const m=h.map(F=>F.text).join(""),E=h[0],p=r.width-(E.bounds.left-r.left),x=this.truncateTextWithEllipsis(m,p,e.letterSpacing),T=new Je(x,E.bounds);n.forEach(F=>{switch(F){case 0:this.ctx.fillStyle=oA(e.color),e.letterSpacing===0?this.ctx.fillText(x,E.bounds.left,E.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(T,e.letterSpacing,e.fontSize.number,(K,_,AA)=>this.ctx.fillText(K,_,AA));break;case 1:e.webkitTextStrokeWidth&&x.trim().length&&(this.ctx.strokeStyle=oA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(x,E.bounds.left,E.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(T,e.letterSpacing,e.fontSize.number,(K,_,AA)=>this.ctx.strokeText(K,_,AA)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}})}return}}const a=e.textOverflow===1&&r&&e.overflowX===1&&A.textBounds.length>0;let l=!1,c="";if(a){const B=A.textBounds[0].bounds.top;if(A.textBounds.every(f=>Math.abs(f.bounds.top-B)<o*.5)){let f=A.textBounds.map(m=>m.text).join("");f=f.replace(/\s+/g," ").trim();const w=this.ctx.measureText(f).width,h=r.width;w>h&&(l=!0,c=this.truncateTextWithEllipsis(f,h,e.letterSpacing))}}if(l){const B=A.textBounds[0],u=new Je(c,B.bounds);n.forEach(f=>{switch(f){case 0:{this.ctx.fillStyle=oA(e.color),e.letterSpacing===0?this.ctx.fillText(c,B.bounds.left,B.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(u,e.letterSpacing,e.fontSize.number,(h,m,E)=>this.ctx.fillText(h,m,E));const w=e.textShadow;w.length&&c.trim().length&&(w.slice(0).reverse().forEach(h=>{this.ctx.shadowColor=oA(h.color),this.ctx.shadowOffsetX=h.offsetX.number*this.options.scale,this.ctx.shadowOffsetY=h.offsetY.number*this.options.scale,this.ctx.shadowBlur=h.blur.number,e.letterSpacing===0?this.ctx.fillText(c,B.bounds.left,B.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(u,e.letterSpacing,e.fontSize.number,(m,E,p)=>this.ctx.fillText(m,E,p))}),this.ctx.shadowColor="",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0);break}case 1:e.webkitTextStrokeWidth&&c.trim().length&&(this.ctx.strokeStyle=oA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(c,B.bounds.left,B.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(u,e.letterSpacing,e.fontSize.number,(w,h,m)=>this.ctx.strokeText(w,h,m)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}});return}A.textBounds.forEach(B=>{n.forEach(u=>{switch(u){case 0:{this.ctx.fillStyle=oA(e.color),this.renderTextWithLetterSpacing(B,e.letterSpacing,e.fontSize.number);const f=e.textShadow;f.length&&B.text.trim().length&&(f.slice(0).reverse().forEach(w=>{this.ctx.shadowColor=oA(w.color),this.ctx.shadowOffsetX=w.offsetX.number*this.options.scale,this.ctx.shadowOffsetY=w.offsetY.number*this.options.scale,this.ctx.shadowBlur=w.blur.number,this.renderTextWithLetterSpacing(B,e.letterSpacing,e.fontSize.number)}),this.ctx.shadowColor="",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0),e.textDecorationLine.length&&this.renderTextDecoration(B.bounds,e);break}case 1:{if(e.webkitTextStrokeWidth&&B.text.trim().length){this.ctx.strokeStyle=oA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round";const f=e.fontSize.number;e.letterSpacing===0?this.ctx.strokeText(B.text,B.bounds.left,B.bounds.top+f):this.iterateLettersWithLetterSpacing(B,e.letterSpacing,f,(w,h,m)=>this.ctx.strokeText(w,h,m)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter"}break}}})})}}const ch=1e4;class mn extends Ea{constructor(A,e){super(A,e),this.canvas=e.canvas?e.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),e.canvas||(this.canvas.width=Math.floor(e.width*e.scale),this.canvas.height=Math.floor(e.height*e.scale),this.canvas.style.width=`${e.width}px`,this.canvas.style.height=`${e.height}px`),this.fontMetrics=new zf(document),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-e.x,-e.y),this.ctx.textBaseline="bottom",e.imageSmoothing!==void 0&&(this.ctx.imageSmoothingEnabled=e.imageSmoothing),e.imageSmoothingQuality&&(this.ctx.imageSmoothingQuality=e.imageSmoothingQuality),this.backgroundRenderer=new Zf({ctx:this.ctx,context:this.context,canvas:this.canvas,options:{width:e.width,height:e.height,scale:e.scale}}),this.borderRenderer=new eh({ctx:this.ctx},{path:r=>this.path(r),formatPath:r=>this.formatPath(r)}),this.effectsRenderer=new th({ctx:this.ctx},{path:r=>this.path(r)}),this.textRenderer=new ah({ctx:this.ctx,context:this.context,options:{scale:e.scale}}),this.context.logger.debug(`Canvas renderer initialized (${e.width}x${e.height}) with scale ${e.scale}`)}async renderStack(A){A.element.container.styles.isVisible()&&await this.renderStackContent(A)}async renderNode(A){if(aA(A.container.flags,16))debugger;A.container.styles.isVisible()&&(await this.renderNodeBackgroundAndBorders(A),await this.renderNodeContent(A))}renderReplacedElement(A,e,r){const s=r.naturalWidth||A.intrinsicWidth,n=r.naturalHeight||A.intrinsicHeight;if(r&&s>0&&n>0){const o=kt(A),i=jr(e);this.path(i),this.ctx.save(),this.ctx.clip();let a=0,l=0,c=s,B=n,u=o.left,f=o.top,w=o.width,h=o.height;const{objectFit:m}=A.styles,E=w/h,p=c/B;if(m===2)p>E?(h=w/p,f+=(o.height-h)/2):(w=h*p,u+=(o.width-w)/2);else if(m===4)p>E?(c=B*E,a+=(s-c)/2):(B=c/E,l+=(n-B)/2);else if(m===8)c>w?(a+=(c-w)/2,c=w):(u+=(w-c)/2,w=c),B>h?(l+=(B-h)/2,B=h):(f+=(h-B)/2,h=B);else if(m===16){const x=p>E?w:h*p,T=c>w?c:w;x<T?p>E?(h=w/p,f+=(o.height-h)/2):(w=h*p,u+=(o.width-w)/2):(c>w?(a+=(c-w)/2,c=w):(u+=(w-c)/2,w=c),B>h?(l+=(B-h)/2,B=h):(f+=(h-B)/2,h=B))}this.ctx.drawImage(r,a,l,c,B,u,f,w,h),this.ctx.restore()}}async renderNodeContent(A){this.effectsRenderer.applyEffects(A.getEffects(4));const e=A.container,r=A.curves,s=e.styles,n=kt(e);for(const o of e.textNodes)await this.textRenderer.renderTextNode(o,s,n);if(e instanceof Ji)try{const o=await this.context.cache.match(e.src),i=this.ctx.imageSmoothingEnabled;s.imageRendering===XA.PIXELATED||s.imageRendering===XA.CRISP_EDGES?(this.context.logger.debug(`Disabling image smoothing for ${e.src} due to CSS image-rendering: ${s.imageRendering===XA.PIXELATED?"pixelated":"crisp-edges"}`),this.ctx.imageSmoothingEnabled=!1):s.imageRendering===XA.SMOOTH&&(this.context.logger.debug(`Enabling image smoothing for ${e.src} due to CSS image-rendering: smooth`),this.ctx.imageSmoothingEnabled=!0),this.renderReplacedElement(e,r,o),this.ctx.imageSmoothingEnabled=i}catch{this.context.logger.error(`Error loading image ${e.src}`)}if(e instanceof ji&&this.renderReplacedElement(e,r,e.canvas),e instanceof Yi)try{const o=await this.context.cache.match(e.svg);this.renderReplacedElement(e,r,o)}catch{this.context.logger.error(`Error loading svg ${e.svg.substring(0,255)}`)}if(e instanceof Aa&&e.tree){const i=await new mn(this.context,{scale:this.options.scale,backgroundColor:e.backgroundColor,x:0,y:0,width:e.width,height:e.height}).render(e.tree);e.width&&e.height&&this.ctx.drawImage(i,0,0,e.width,e.height,e.bounds.left,e.bounds.top,e.bounds.width,e.bounds.height)}if(e instanceof Rt){const o=Math.min(e.bounds.width,e.bounds.height);e.type===_r?e.checked&&(this.ctx.save(),this.path([new b(e.bounds.left+o*.39363,e.bounds.top+o*.79),new b(e.bounds.left+o*.16,e.bounds.top+o*.5549),new b(e.bounds.left+o*.27347,e.bounds.top+o*.44071),new b(e.bounds.left+o*.39694,e.bounds.top+o*.5649),new b(e.bounds.left+o*.72983,e.bounds.top+o*.23),new b(e.bounds.left+o*.84,e.bounds.top+o*.34085),new b(e.bounds.left+o*.39363,e.bounds.top+o*.79)]),this.ctx.fillStyle=oA(Zi),this.ctx.fill(),this.ctx.restore()):e.type===kr&&e.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(e.bounds.left+o/2,e.bounds.top+o/2,o/4,0,Math.PI*2,!0),this.ctx.fillStyle=oA(Zi),this.ctx.fill(),this.ctx.restore())}if(lh(e)&&e.value.length){const[o,i,a]=this.textRenderer.createFontStyle(s),{baseline:l}=this.fontMetrics.getMetrics(i,a);this.ctx.font=o;const c=e instanceof Rt&&e.isPlaceholder;this.ctx.fillStyle=oA(c?gf:s.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=dh(e.styles.textAlign);const B=kt(e);let u=0;switch(e.styles.textAlign){case 1:u+=B.width/2;break;case 2:u+=B.width;break}let f=0;if(e instanceof Rt){const h=O(s.fontSize,0);f=(B.height-h)/2}const w=B.add(u,f,0,0);this.ctx.save(),this.path([new b(B.left,B.top),new b(B.left+B.width,B.top),new b(B.left+B.width,B.top+B.height),new b(B.left,B.top+B.height)]),this.ctx.clip(),this.textRenderer.renderTextWithLetterSpacing(new Je(e.value,w),s.letterSpacing,l),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(aA(e.styles.display,2048)){if(e.styles.listStyleImage!==null){const o=e.styles.listStyleImage;if(o.type===0){let i;const a=o.url;try{i=await this.context.cache.match(a),this.ctx.drawImage(i,e.bounds.left-(i.width+10),e.bounds.top)}catch{this.context.logger.error(`Error loading list-style-image ${a}`)}}}else if(A.listValue&&e.styles.listStyleType!==-1){const[o]=this.textRenderer.createFontStyle(s);this.ctx.font=o,this.ctx.fillStyle=oA(s.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right";const i=new LA(e.bounds.left,e.bounds.top+O(e.styles.paddingTop,e.bounds.width),e.bounds.width,Ei(s.lineHeight,s.fontSize.number)/2+1);this.textRenderer.renderTextWithLetterSpacing(new Je(A.listValue,i),s.letterSpacing,Ei(s.lineHeight,s.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"}}}async renderStackContent(A){if(aA(A.element.container.flags,16))debugger;await this.renderNodeBackgroundAndBorders(A.element);for(const e of A.negativeZIndex)await this.renderStack(e);await this.renderNodeContent(A.element);for(const e of A.nonInlineLevel)await this.renderNode(e);for(const e of A.nonPositionedFloats)await this.renderStack(e);for(const e of A.nonPositionedInlineLevel)await this.renderStack(e);for(const e of A.inlineLevel)await this.renderNode(e);for(const e of A.zeroOrAutoZIndexOrTransformedOrOpacity)await this.renderStack(e);for(const e of A.positiveZIndex)await this.renderStack(e)}mask(A){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.options.width,0),this.ctx.lineTo(this.options.width,this.options.height),this.ctx.lineTo(0,this.options.height),this.ctx.lineTo(0,0),this.formatPath(A.slice(0).reverse()),this.ctx.closePath()}path(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()}formatPath(A){A.forEach((e,r)=>{const s=GA(e)?e.start:e;r===0?this.ctx.moveTo(s.x,s.y):this.ctx.lineTo(s.x,s.y),GA(e)&&this.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})}async renderNodeBackgroundAndBorders(A){this.effectsRenderer.applyEffects(A.getEffects(2));const e=A.container.styles,r=!Se(e.backgroundColor)||e.backgroundImage.length,s=[{style:e.borderTopStyle,color:e.borderTopColor,width:e.borderTopWidth},{style:e.borderRightStyle,color:e.borderRightColor,width:e.borderRightWidth},{style:e.borderBottomStyle,color:e.borderBottomColor,width:e.borderBottomWidth},{style:e.borderLeftStyle,color:e.borderLeftColor,width:e.borderLeftWidth}],n=Bh(lt(e.backgroundClip,0),A.curves);(r||e.boxShadow.length)&&(this.ctx.save(),this.path(n),this.ctx.clip(),Se(e.backgroundColor)||(this.ctx.fillStyle=oA(e.backgroundColor),this.ctx.fill()),await this.backgroundRenderer.renderBackgroundImage(A.container),this.ctx.restore(),e.boxShadow.slice(0).reverse().forEach(i=>{this.ctx.save();const a=Jr(A.curves),l=i.inset?0:ch,c=_f(a,-l+(i.inset?1:-1)*i.spread.number,(i.inset?1:-1)*i.spread.number,i.spread.number*(i.inset?-2:2),i.spread.number*(i.inset?-2:2));i.inset?(this.path(a),this.ctx.clip(),this.mask(c)):(this.mask(a),this.ctx.clip(),this.path(c)),this.ctx.shadowOffsetX=i.offsetX.number+l,this.ctx.shadowOffsetY=i.offsetY.number,this.ctx.shadowColor=oA(i.color),this.ctx.shadowBlur=i.blur.number,this.ctx.fillStyle=i.inset?oA(i.color):"rgba(0,0,0,1)",this.ctx.fill(),this.ctx.restore()}));let o=0;for(const i of s)i.style!==0&&!Se(i.color)&&i.width>0&&(i.style===2?await this.borderRenderer.renderDashedDottedBorder(i.color,i.width,o,A.curves,2):i.style===3?await this.borderRenderer.renderDashedDottedBorder(i.color,i.width,o,A.curves,3):i.style===4?await this.borderRenderer.renderDoubleBorder(i.color,i.width,o,A.curves):await this.borderRenderer.renderSolidBorder(i.color,o,A.curves)),o++}async render(A){this.options.backgroundColor&&(this.ctx.fillStyle=oA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height));const e=Pf(A);return await this.renderStack(e),this.effectsRenderer.applyEffects([]),this.canvas}}const lh=t=>t instanceof qi||t instanceof $i?!0:t instanceof Rt&&t.type!==kr&&t.type!==_r,Bh=(t,A)=>{switch(t){case 0:return Jr(A);case 2:return Rf(A);default:return jr(A)}},dh=t=>{switch(t){case 1:return"center";case 2:return"right";default:return"left"}};class gh extends Ea{constructor(A,e){super(A,e),this.canvas=e.canvas?e.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=e,this.canvas.width=Math.floor(e.width*e.scale),this.canvas.height=Math.floor(e.height*e.scale),this.canvas.style.width=`${e.width}px`,this.canvas.style.height=`${e.height}px`,this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-e.x,-e.y),this.context.logger.debug(`EXPERIMENTAL ForeignObject renderer initialized (${e.width}x${e.height} at ${e.x},${e.y}) with scale ${e.scale}`)}async render(A){const e=cn(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A),r=await uh(e);return this.options.backgroundColor&&(this.ctx.fillStyle=oA(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(r,-this.options.x*this.options.scale,-this.options.y*this.options.scale),this.canvas}}const uh=t=>new Promise((A,e)=>{const r=new Image;r.onload=()=>{A(r)},r.onerror=e,r.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(new XMLSerializer().serializeToString(t))}`});class ba{constructor({id:A,enabled:e}){this.id=A,this.enabled=e,this.start=Date.now()}debug(...A){this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug(this.id,`${this.getTime()}ms`,...A):this.info(...A))}getTime(){return Date.now()-this.start}info(...A){this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info(this.id,`${this.getTime()}ms`,...A)}warn(...A){this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn(this.id,`${this.getTime()}ms`,...A):this.info(...A))}error(...A){this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error(this.id,`${this.getTime()}ms`,...A):this.info(...A))}}ba.instances={};class fh{constructor(A,e){if(this.context=A,this._options=e,this._cache=new Map,this._pendingOperations=new Map,this.maxSize=e.maxCacheSize??100,this.maxSize<1)throw new Error("Cache maxSize must be at least 1");this.maxSize>1e4&&this.context.logger.warn(`Cache maxSize ${this.maxSize} is very large and may cause memory issues. Consider using a smaller value (recommended: 100-1000).`)}addImage(A){const e=this._pendingOperations.get(A);if(e)return e;if(this.has(A)){const r=this._cache.get(A);return r&&(r.lastAccessed=Date.now()),Promise.resolve()}if(Fn(A)||Qh(A)){const r=this._addImageInternal(A);return this._pendingOperations.set(A,r),r.finally(()=>{this._pendingOperations.delete(A)}),r}return Promise.resolve()}async _addImageInternal(A){const e=this._options.imageTimeout??15e3,r=new Promise((n,o)=>{setTimeout(()=>{o(new Error(`Image load timeout after ${e}ms: ${A}`))},e)}),s=Promise.race([this.loadImage(A),r]);s.catch(n=>{this.context.logger.error(`Failed to load image ${A}: ${n instanceof Error?n.message:"Unknown error"}`)}),this.set(A,s)}match(A){const e=this._cache.get(A);if(e)return e.lastAccessed=Date.now(),e.value}set(A,e){if(this._cache.has(A)){const r=this._cache.get(A);r.value=e,r.lastAccessed=Date.now();return}this._cache.size>=this.maxSize&&this.evictLRU(),this._cache.set(A,{value:e,lastAccessed:Date.now()})}evictLRU(){let A=null,e=1/0;for(const[r,s]of this._cache.entries())s.lastAccessed<e&&(e=s.lastAccessed,A=r);A&&(this._cache.delete(A),this.context.logger.debug(`Cache: Evicted LRU entry: ${A}`))}size(){return this._cache.size}getMaxSize(){return this.maxSize}clear(){this._cache.clear()}async loadImage(A){const e=this.context.originChecker,r=a=>e.isSameOrigin(a),s=typeof this._options.customIsSameOrigin=="function"?await this._options.customIsSameOrigin(A,r):r(A),n=!Un(A)&&this._options.useCORS===!0&&bA.SUPPORT_CORS_IMAGES&&!s,o=!Un(A)&&!s&&!Fn(A)&&typeof this._options.proxy=="string"&&bA.SUPPORT_CORS_XHR&&!n;if(!s&&this._options.allowTaint===!1&&!Un(A)&&!Fn(A)&&!o&&!n)return;let i=A;return o&&(i=await this.proxy(i)),this.context.logger.debug(`Added image ${A.substring(0,256)}`),await new Promise((a,l)=>{const c=new Image;c.onload=()=>a(c),c.onerror=l,(Ch(i)||n)&&(c.crossOrigin="anonymous"),c.src=i,c.complete===!0&&setTimeout(()=>a(c),500),this._options.imageTimeout>0&&setTimeout(()=>l(`Timed out (${this._options.imageTimeout}ms) loading image`),this._options.imageTimeout)})}has(A){return this._cache.has(A)}keys(){return Promise.resolve(Object.keys(this._cache))}proxy(A){const e=this._options.proxy;if(!e)throw new Error("No proxy defined");const r=A.substring(0,256);return new Promise((s,n)=>{const o=bA.SUPPORT_RESPONSE_TYPE?"blob":"text",i=new XMLHttpRequest;i.onload=()=>{if(i.status===200)if(o==="text")s(i.response);else{const l=new FileReader;l.addEventListener("load",()=>s(l.result),!1),l.addEventListener("error",c=>n(c),!1),l.readAsDataURL(i.response)}else n(`Failed to proxy resource ${r} with status code ${i.status}`)},i.onerror=n;const a=e.indexOf("?")>-1?"&":"?";if(i.open("GET",`${e}${a}url=${encodeURIComponent(A)}&responseType=${o}`),o!=="text"&&i instanceof XMLHttpRequest&&(i.responseType=o),this._options.imageTimeout){const l=this._options.imageTimeout;i.timeout=l,i.ontimeout=()=>n(`Timed out (${l}ms) proxying ${r}`)}i.send()})}}const hh=/^data:image\/svg\+xml/i,wh=/^data:image\/.*;base64,/i,ph=/^data:image\/.*/i,Qh=t=>bA.SUPPORT_SVG_DRAWING||!mh(t),Un=t=>ph.test(t),Ch=t=>wh.test(t),Fn=t=>t.substr(0,4)==="blob",mh=t=>t.substr(-3).toLowerCase()==="svg"||hh.test(t);class Uh{constructor(A){if(!A||!A.document)throw new Error("Valid window object required for OriginChecker");if(!A.location||!A.location.href)throw new Error("Window object must have valid location");this.link=A.document.createElement("a"),this.origin=this.getOrigin(A.location.href)}getOrigin(A){return this.link.href=A,this.link.href=this.link.href,this.link.protocol+this.link.hostname+this.link.port}isSameOrigin(A){return this.getOrigin(A)===this.origin}getContextOrigin(){return this.origin}}class $r{constructor(A,e,r){this.windowBounds=e,this.instanceName=`#${$r.instanceCount++}`,this.config=r,this.logger=new ba({id:this.instanceName,enabled:A.logging}),this.originChecker=new Uh(r.window),this.cache=A.cache??r.cache??new fh(this,A)}}$r.instanceCount=1;class Pt{constructor(A={}){if(this.window=A.window||(typeof window<"u"?window:null),!this.window)throw new Error("Window object is required but not available");this.cspNonce=A.cspNonce,this.cache=A.cache}static fromElement(A,e={}){const r=A.ownerDocument;if(!r)throw new Error("Element is not attached to a document");const s=r.defaultView;if(!s)throw new Error("Document is not attached to a window");return new Pt({window:s,...e})}clone(A={}){return new Pt({window:A.window||this.window,cspNonce:A.cspNonce??this.cspNonce,cache:A.cache??this.cache})}}function Fh(t){console.warn("[html2canvas-pro] setDefaultConfig is deprecated. Pass configuration to html2canvas directly.")}class xh{constructor(A={}){this.config={maxImageTimeout:3e5,allowDataUrls:!0,...A}}validateUrl(A,e="general"){if(!A||typeof A!="string")return{valid:!1,error:"URL must be a non-empty string"};if(A.startsWith("data:"))return this.config.allowDataUrls?{valid:!0,sanitized:A}:{valid:!1,error:"Data URLs are not allowed"};if(A.startsWith("blob:"))return{valid:!0,sanitized:A};try{const r=new URL(A);if(!["http:","https:"].includes(r.protocol))return{valid:!1,error:`Protocol ${r.protocol} is not allowed. Only http and https are permitted.`};if(e==="proxy"&&this.config.allowedProxyDomains&&this.config.allowedProxyDomains.length>0){const s=r.hostname.toLowerCase();if(!this.config.allowedProxyDomains.some(o=>{const i=o.toLowerCase();return s===i||s.endsWith("."+i)}))return{valid:!1,error:`Proxy domain ${r.hostname} is not in the allowed list`}}if(e==="proxy"){if(!this.config.allowLocalhostProxy){const s=r.hostname.toLowerCase();if(s==="localhost"||s==="127.0.0.1"||s==="::1")return{valid:!1,error:"Localhost is not allowed for proxy URLs"};if(this.isPrivateIP(s))return{valid:!1,error:"Private IP addresses are not allowed for proxy URLs"};if(s.startsWith("169.254.")||s.startsWith("fe80:"))return{valid:!1,error:"Link-local addresses are not allowed for proxy URLs"}}return{valid:!0,sanitized:A,requiresRuntimeCheck:!0}}return{valid:!0,sanitized:A}}catch(r){return{valid:!1,error:`Invalid URL format: ${r instanceof Error?r.message:"Unknown error"}`}}}isPrivateIP(A){return[/^0\./,/^10\./,/^100\.(6[4-9]|[7-9][0-9]|1[0-1][0-9]|12[0-7])\./,/^127\./,/^169\.254\./,/^172\.(1[6-9]|2[0-9]|3[0-1])\./,/^192\.0\.0\./,/^192\.0\.2\./,/^192\.168\./,/^198\.(1[8-9])\./,/^198\.51\.100\./,/^203\.0\.113\./,/^2(2[4-9]|3[0-9])\./,/^24[0-9]\./,/^255\.255\.255\.255$/].some(r=>r.test(A))?!0:A.includes(":")?this.isPrivateIPv6(A):!1}isPrivateIPv6(A){const s=A.toLowerCase().trim().replace(/^\[|\]$/g,"").split("%")[0];if(/^(0:){7}1$/.test(s)||s==="::1"||/^(0:){7}0$/.test(s)||s==="::")return!0;const n=this.expandIPv6(s);if(!n)return this.isPrivateIPv6Prefix(s);const o=parseInt(n.substring(0,2),16);if(o>=252&&o<=253)return!0;if(o===254){const i=parseInt(n.substring(2,4),16);if(i>=128&&i<=191)return!0}return o===255}expandIPv6(A){try{if(A.includes("::")){const e=A.split("::");if(e.length>2)return null;const r=e[0]?e[0].split(":"):[],s=e[1]?e[1].split(":"):[],n=8-r.length-s.length;if(n<0)return null;const o=Array(n).fill("0000");return[...r,...o,...s].map(a=>a.padStart(4,"0")).join(":")}else{const e=A.split(":");return e.length!==8?null:e.map(r=>r.padStart(4,"0")).join(":")}}catch{return null}}isPrivateIPv6Prefix(A){return!!(/^fc[0-9a-f]{0,2}:?/i.test(A)||/^fd[0-9a-f]{0,2}:?/i.test(A)||/^fe[89ab][0-9a-f]:?/i.test(A)||/^ff[0-9a-f]{0,2}:?/i.test(A))}validateCspNonce(A){return!A||typeof A!="string"?{valid:!1,error:"CSP nonce must be a non-empty string"}:A.length<16?{valid:!1,error:"CSP nonce is too short (minimum 16 characters recommended)"}:/^[A-Za-z0-9+/=_-]+$/.test(A)?{valid:!0,sanitized:A}:{valid:!1,error:"CSP nonce contains invalid characters"}}validateImageTimeout(A){return typeof A!="number"||isNaN(A)?{valid:!1,error:"Image timeout must be a number"}:A<0?{valid:!1,error:"Image timeout cannot be negative"}:this.config.maxImageTimeout&&A>this.config.maxImageTimeout?{valid:!1,error:`Image timeout ${A}ms exceeds maximum allowed ${this.config.maxImageTimeout}ms`}:{valid:!0,sanitized:A}}validateDimensions(A,e){if(typeof A!="number"||typeof e!="number")return{valid:!1,error:"Dimensions must be numbers"};if(isNaN(A)||isNaN(e))return{valid:!1,error:"Dimensions cannot be NaN"};if(A<=0||e<=0)return{valid:!1,error:"Dimensions must be positive"};const r=32767;return A>r||e>r?{valid:!1,error:`Dimensions exceed maximum allowed (${r}px)`}:{valid:!0,sanitized:{width:A,height:e}}}validateScale(A){return typeof A!="number"||isNaN(A)?{valid:!1,error:"Scale must be a number"}:A<=0?{valid:!1,error:"Scale must be positive"}:A>10?{valid:!1,error:"Scale factor too large (maximum 10x)"}:{valid:!0,sanitized:A}}validateElement(A){return A?typeof A!="object"?{valid:!1,error:"Element must be an object"}:typeof HTMLElement<"u"&&A instanceof HTMLElement?A.ownerDocument?{valid:!0}:{valid:!1,error:"Element must be attached to a document"}:A.ownerDocument?A.ownerDocument.defaultView?{valid:!0}:{valid:!1,error:"Document must be attached to a window (ownerDocument.defaultView required)"}:{valid:!1,error:"Element must be attached to a document (ownerDocument required)"}:{valid:!1,error:"Element is required"}}validateOptions(A){const e=[],r=A.proxy;if(r!=null&&typeof r=="string"&&r.length>0){const s=this.validateUrl(r,"proxy");s.valid||e.push(`Proxy: ${s.error}`)}if(A.imageTimeout!==void 0){const s=this.validateImageTimeout(A.imageTimeout);s.valid||e.push(`Image timeout: ${s.error}`)}if(A.width!==void 0||A.height!==void 0){const s=A.width??800,n=A.height??600,o=this.validateDimensions(s,n);o.valid||e.push(`Dimensions: ${o.error}`)}if(A.scale!==void 0){const s=this.validateScale(A.scale);s.valid||e.push(`Scale: ${s.error}`)}if(A.cspNonce!==void 0){const s=this.validateCspNonce(A.cspNonce);s.valid||e.push(`CSP nonce: ${s.error}`)}if(this.config.customValidator){const s=this.config.customValidator(A,"options");s.valid||e.push(`Custom validation: ${s.error}`)}return e.length>0?{valid:!1,error:e.join("; ")}:{valid:!0}}}function Eh(t={}){return new xh({allowDataUrls:!0,maxImageTimeout:3e5,...t})}class yh{constructor(A,e=!0){this.context=A,this.activeMetrics=new Map,this.completedMetrics=[],this.enabled=e,this.getTime=typeof performance<"u"&&typeof performance.now=="function"?()=>performance.now():()=>Date.now()}start(A,e){this.enabled&&(this.activeMetrics.has(A)&&this.context?.logger.warn(`Performance metric '${A}' already started. Overwriting.`),this.activeMetrics.set(A,{name:A,startTime:this.getTime(),metadata:e}))}end(A){if(!this.enabled)return;const e=this.activeMetrics.get(A);if(!e){this.context?.logger.warn(`Performance metric '${A}' not found. Was start() called?`);return}return e.endTime=this.getTime(),e.duration=e.endTime-e.startTime,this.completedMetrics.push(e),this.activeMetrics.delete(A),this.context?.logger.debug(`⏱️ ${A}: ${e.duration.toFixed(2)}ms`,e.metadata),e}measure(A,e,r){this.start(A,r);try{const s=e();return this.end(A),s}catch(s){throw this.end(A),s}}async measureAsync(A,e,r){this.start(A,r);try{const s=await e();return this.end(A),s}catch(s){throw this.end(A),s}}getMetrics(){return[...this.completedMetrics]}getMetric(A){return this.completedMetrics.find(e=>e.name===A)}getSummary(){const A=this.completedMetrics.reduce((r,s)=>r+(s.duration||0),0),e=this.completedMetrics.map(r=>({name:r.name,duration:r.duration||0,percentage:A>0?((r.duration||0)/A*100).toFixed(1)+"%":"0%"}));return{totalDuration:A,metrics:this.getMetrics(),breakdown:e}}logSummary(){if(!this.enabled||this.completedMetrics.length===0||!this.context)return;const A=this.getSummary();this.context.logger.info(`
|
|
12
|
-
📊 Performance Summary (Total: ${A.totalDuration.toFixed(2)}ms):`),A.breakdown.sort((e,r)=>r.duration-e.duration).forEach(e=>{this.context.logger.info(` ${e.name.padEnd(20)} ${e.duration.toFixed(2).padStart(8)}ms ${e.percentage.padStart(6)}`)})}clear(){this.activeMetrics.clear(),this.completedMetrics.splice(0)}isEnabled(){return this.enabled}getActiveMetrics(){return Array.from(this.activeMetrics.keys())}}const Ha=(t,A={},e)=>{const r=e||Pt.fromElement(t,{cspNonce:A.cspNonce,cache:A.cache});return Ih(t,A,r)},bh=t=>{console.warn('[html2canvas-pro] setCspNonce is deprecated. Pass cspNonce in options instead: html2canvas(element, { cspNonce: "..." })'),typeof window<"u"&&Fh(new Pt({window,cspNonce:t}))};Ha.setCspNonce=bh;const Hh=t=>{["scale","width","height","imageTimeout","x","y","windowWidth","windowHeight","scrollX","scrollY"].forEach(e=>{const r=t[e];if(r!=null&&typeof r!="number"){const s=Number(r);Number.isNaN(s)||(t[e]=s)}})},Ih=async(t,A,e)=>{if(Hh(A),!A.skipValidation){const eA=A.validator||Eh(),cA=eA.validateElement(t);if(!cA.valid)throw new Error(cA.error);const tA=eA.validateOptions(A);if(!tA.valid)throw new Error(`Invalid options: ${tA.error}`)}if(!t||typeof t!="object")throw new Error("Invalid element provided as first argument");const r=t.ownerDocument;if(!r)throw new Error("Element is not attached to a Document");const s=r.defaultView;if(!s)throw new Error("Document is not attached to a Window");const n={allowTaint:A.allowTaint??!1,imageTimeout:A.imageTimeout??15e3,proxy:A.proxy,useCORS:A.useCORS??!1,customIsSameOrigin:A.customIsSameOrigin},o={logging:A.logging??!0,cache:A.cache??e.cache,...n},i=800,a=600,l=0,c=s,B={windowWidth:A.windowWidth??c.innerWidth??i,windowHeight:A.windowHeight??c.innerHeight??a,scrollX:A.scrollX??c.pageXOffset??l,scrollY:A.scrollY??c.pageYOffset??l},u=new LA(B.scrollX,B.scrollY,B.windowWidth,B.windowHeight),f=new $r(o,u,e),w=A.enablePerformanceMonitoring??A.logging??!1,h=new yh(f,w);h.start("total",{width:B.windowWidth,height:B.windowHeight});const m=A.foreignObjectRendering??!1,E={allowTaint:A.allowTaint??!1,onclone:A.onclone,ignoreElements:A.ignoreElements,iframeContainer:A.iframeContainer,inlineImages:m,copyStyles:m,cspNonce:A.cspNonce??e.cspNonce};f.logger.debug(`Starting document clone with size ${u.width}x${u.height} scrolled to ${-u.left},${-u.top}`),h.start("clone");const p=new ua(f,t,E),x=p.clonedReferenceElement;if(!x)throw new Error("Unable to find element in cloned iframe");const T=await p.toIFrame(r,u);h.end("clone");const{width:F,height:K,left:_,top:AA}=Bn(x)||pf(x)?Mc(x.ownerDocument):rr(f,x),S=vh(f,x,A.backgroundColor),FA={canvas:A.canvas,backgroundColor:S,scale:A.scale??s.devicePixelRatio??1,x:(A.x??0)+_,y:(A.y??0)+AA,width:A.width??Math.ceil(F),height:A.height??Math.ceil(K),imageSmoothing:A.imageSmoothing,imageSmoothingQuality:A.imageSmoothingQuality};let UA,QA;try{return m?(f.logger.debug("Document cloned, using foreign object rendering"),h.start("render-foreignobject"),UA=await new gh(f,FA).render(x),h.end("render-foreignobject")):(f.logger.debug(`Document cloned, element located at ${_},${AA} with size ${F}x${K} using computed rendering`),f.logger.debug("Starting DOM parsing"),h.start("parse"),QA=ta(f,x),h.end("parse"),S===QA.styles.backgroundColor&&(QA.styles.backgroundColor=ce.TRANSPARENT),f.logger.debug(`Starting renderer for element at ${FA.x},${FA.y} with size ${FA.width}x${FA.height}`),h.start("render"),UA=await new mn(f,FA).render(QA),h.end("render")),h.start("cleanup"),(A.removeContainer??!0)&&(ua.destroy(T)||f.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),h.end("cleanup"),h.end("total"),f.logger.debug("Finished rendering"),w&&h.logSummary(),UA}finally{QA&&QA.restoreTree()}},vh=(t,A,e)=>{const r=A.ownerDocument,s=r.documentElement?rt(t,getComputedStyle(r.documentElement).backgroundColor):ce.TRANSPARENT,n=r.body?rt(t,getComputedStyle(r.body).backgroundColor):ce.TRANSPARENT,o=typeof e=="string"?rt(t,e):e===null?ce.TRANSPARENT:4294967295;return A===r.documentElement?Se(s)?Se(n)?o:n:s:o},Xt=2147483647,xn=Xt-1,En=Xt-1,Sh=Xt-10,Lh=Xt-5,Th=Xt-15,ee="data-vg-pin-id",Kh=()=>{const t=window.innerWidth;return t<768?"mobile":t<1024?"tablet":"desktop"},Ia=(t,A)=>{if(!t)return"";try{const e=new Date(t);return isNaN(e.getTime())?"":new Intl.DateTimeFormat(A==="es"?"es-ES":"en-US",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",hour12:!1}).format(e)}catch{return""}},va=({url:t,className:A,style:e,tooltipStyle:r,onHover:s})=>{const n=C.useRef(null),o=()=>{if(!n.current||!s)return;const l=n.current.getBoundingClientRect(),c=l.top,B=window.innerHeight-l.bottom,u=c<140&&B>c?"bottom":"top";s({url:t,x:l.left+l.width/2,y:u==="top"?l.top:l.bottom,direction:u})},i=l=>l.toLowerCase().replace(/\/$/g,"").replace(/\/(?:[0-9]+|(?:[0-9a-f]{24}))(?=\/|$)/g,"/:id"),a=()=>{try{const l=i(window.location.pathname),c=new URL(t),B=i(c.pathname);return l===B||l.startsWith(B)||B.startsWith(l)}catch{return!1}};return d.jsxs("div",{ref:n,className:`vg-url-tag ${A||""}`,style:{...e,opacity:a()?1:.6,borderColor:a()?"var(--vg-primary)":"#e2e8f0"},onMouseEnter:o,onMouseMove:o,onMouseLeave:()=>s?.(null),children:[d.jsx(vc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:141",size:e?.fontSize?parseInt(e.fontSize)+1:10}),d.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:142",style:{maxWidth:e?.maxWidth||"150px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:new URL(t).pathname})]})},Wt=t=>{const A=[],e=[],r=[];let s=t;for(;s&&s.nodeType===Node.ELEMENT_NODE;){if(s.id&&!s.id.startsWith("vg-")&&!s.id.includes(":")){A.unshift(`#${s.id}`),r.unshift(`${s.localName}#${s.id}`);break}let n=s.localName;const o=Array.from(s.parentNode?.children||[]).indexOf(s),i=`${s.localName}[${o}]`;r.unshift(i);const a=s.getAttribute("data-testid")||s.getAttribute("data-qa");if(a&&e.push(`[data-testid="${a}"]`),s.getAttribute("placeholder"),s.getAttribute("aria-label"),s.getAttribute("role"),s.getAttribute("name"),s.getAttribute("title"),a){n=`[${s.hasAttribute("data-testid")?"data-testid":"data-qa"}="${a}"]`,A.unshift(n);break}const l=Array.from(s.parentNode?.children||[]).filter(c=>c.localName===s?.localName);if(l.length>1){const c=l.indexOf(s)+1;n+=`:nth-of-type(${c})`}A.unshift(n),s=s.parentElement}return{selector:A.join(" > "),fallbacks:e,vgPath:r.join(" > ")}},Dh=t=>{const{vgPath:A}=Wt(t);return{vgPath:A,classHash:t.className,parentTag:t.parentElement?.tagName.toLowerCase(),neighborCount:t.parentElement?.children.length,ariaLabel:t.getAttribute("aria-label")||void 0,role:t.getAttribute("role")||void 0,name:t.getAttribute("name")||void 0,type:t.getAttribute("type")||void 0,placeholder:t.getAttribute("placeholder")||void 0,textSnippet:(t.innerText||"").slice(0,30).trim()}},Oh=(()=>{let t=null,A=null;return e=>{if(!e||typeof window>"u"||typeof document>"u")return e;if(e.includes("oklch")||e.includes("oklab")||e.includes("lab(")||e.includes("lch(")||e.includes("color("))try{if(t||(t=document.createElement("canvas"),t.width=1,t.height=1),A||(A=t.getContext("2d",{willReadFrequently:!0})),A){A.fillStyle="#000000",A.fillStyle=e;const n=A.fillStyle;if(n&&!n.includes("oklch")&&!n.includes("oklab"))return n}const r=document.createElement("div");r.style.color=e,document.body.appendChild(r);const s=getComputedStyle(r).color;return document.body.removeChild(r),s&&!s.includes("oklch")?s:"rgb(0,0,0)"}catch{return"rgb(0,0,0)"}return e}})(),Rh=t=>{const A=window.getComputedStyle(t),e={};return["display","position","margin","padding","font-size","color","background-color","width","height","z-index"].forEach(s=>{const n=A.getPropertyValue(s);e[s]=Oh(n)}),e},Mh=t=>{const e=Object.keys(t).find(n=>n.startsWith("__reactFiber$")||n.startsWith("__reactInternalInstance$"));if(!e)return"";const r=[];let s=t[e];for(;s;){const n=s.type;if(typeof n=="function"){const o=n.displayName||n.name;o&&!o.includes("ViewGate")&&!r.includes(o)&&r.unshift(o)}s=s.return}return r.join(" > ")||"Generic Component"},yn=t=>{if(!t||t.id==="viewgate-ui"||t.id==="viewgate-shadow-host"||t.closest("#viewgate-shadow-host"))return!1;if(t.getAttribute("role")==="dialog"||t.getAttribute("aria-modal")==="true"||t.classList.contains("modal")||t.classList.contains("modal-content"))return!0;const A=window.getComputedStyle(t),e=t.getBoundingClientRect(),r=t.getAttribute("role");if(r&&["listbox","menu","combobox","tooltip","option"].includes(r)||e.width<120&&e.height<120)return!1;const n=parseInt(A.zIndex)||0,o=A.position==="fixed"||A.position==="absolute",i=e.width>window.innerWidth*.4&&e.height>window.innerHeight*.4,a=Math.abs(e.left+e.width/2-window.innerWidth/2)<50,l=t.getAttribute("class")||"",c=l.toLowerCase().includes("modal")||l.toLowerCase().includes("dialog");return!!(o&&n>=100&&(i||a||c))},Oe=t=>{if(!t.isConnected)return!1;const A=window.getComputedStyle(t);if(A.display==="none"||A.visibility==="hidden"||A.opacity==="0")return t.tagName!=="BODY"&&t.tagName,!1;if(t.offsetWidth===0||t.offsetHeight===0)return!1;let e=t.parentElement;for(;e;){const s=window.getComputedStyle(e);if(s.display==="none"||s.visibility==="hidden"||s.opacity==="0")return!1;e=e.parentElement}const r=t.getBoundingClientRect();return!(r.width===0||r.height===0)},Sa=(t,A=document)=>{const e=A.querySelector(t);if(e)return e;const r=A.querySelectorAll("*");for(const s of Array.from(r)){const n=s.shadowRoot;if(n){const o=Sa(t,n);if(o)return o}}return null},La=(t,A)=>{let e=document.elementFromPoint(t,A);for(;e&&e.shadowRoot;){const r=e.shadowRoot.elementFromPoint(t,A);if(!r||r===e)break;e=r}return e},Nh=t=>{if(!t.tag)return null;const A=Array.from(document.getElementsByTagName(t.tag));let e=null,r=0;for(const s of A){if(!qr(s,t))continue;let n=0;const o=s.getAttribute("placeholder"),i=t.attributes?.placeholder||t.fingerprint?.placeholder;i&&o===i&&(n+=6);const a=s.getAttribute("type"),l=t.attributes?.type||t.fingerprint?.type;if(l&&a===l&&(n+=2),s.innerText?.trim()===t.text.trim()&&(n+=5),t.fingerprint?.vgPath){const{vgPath:c}=Wt(s);(c===t.vgPath||t.fingerprint?.vgPath===c)&&(n+=10)}n>r&&n>=7&&(r=n,e=s)}return e},qr=(t,A)=>{if(t.tagName.toLowerCase()!==A.tag.toLowerCase())return!1;const e=t.getAttribute("placeholder"),r=A.attributes?.placeholder||A.fingerprint?.placeholder;if(r&&e&&r!==e)return!1;const s=t.getAttribute("type"),n=A.attributes?.type||A.fingerprint?.type;return!(n&&s&&n!==s)},Ta=(t,A)=>{if(A){const o=Array.from(document.querySelectorAll(`[${ee}="${A}"]`));if(o.length>0){const i=o.filter(a=>qr(a,t));if(i.length===0)o.forEach(a=>a.removeAttribute(ee));else{const a=i.find(c=>{const{vgPath:B}=Wt(c);return B===t.vgPath||t.fingerprint?.vgPath===B}),l=a&&Oe(a)?a:i.find(c=>!(!Oe(c)||t.metadata?.isModal&&!c.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')));return l?(o.forEach(c=>{c!==l&&c.removeAttribute(ee)}),l):null}}}const r=(t.selector?Array.from(document.querySelectorAll(t.selector)):[]).filter(o=>qr(o,t));let s=r.find(o=>{const{vgPath:i}=Wt(o);return i===t.vgPath||t.fingerprint?.vgPath===i})||r[0]||null;if(s&&Oe(s))if(t.metadata?.isModal&&!s.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content'))s=null;else return s;if(t.fallbackSelectors)for(const o of t.fallbackSelectors){const i=Sa(o);if(i&&qr(i,t)&&Oe(i)){if(t.metadata?.isModal&&!i.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content'))continue;return i}}const n=Nh(t);return n&&Oe(n)?t.metadata?.isModal&&!n.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')?null:n:null},bn=t=>({tag:t.tagName.toLowerCase(),text:(t.innerText||t.getAttribute("placeholder")||"").slice(0,50).trim(),role:t.getAttribute("role")||void 0,type:t.getAttribute("type")||void 0}),Gh=t=>{const A=t.parentElement;if(!A)return;const e=Array.from(A.children).filter(o=>o!==t).slice(0,5).map(o=>bn(o)),r=Array.from(A.children),s=r.indexOf(t);let n="middle";return s===0&&(n="start"),s===r.length-1&&(n="end"),{target:{...bn(t),location:`${n} of ${A.tagName.toLowerCase()}`},parent:bn(A),siblings:e}},Ka=(t,A)=>{let e="unknown:0",r=t;for(;r;){const u=r.getAttribute("data-source-path");if(u){e=u;break}r=r.parentElement}const s=Mh(t),{selector:n,fallbacks:o,vgPath:i}=Wt(t),a={};["placeholder","aria-label","name","type","alt","title","value","role"].forEach(u=>{const f=t.getAttribute(u);f&&(a[u]=f)});const l=(()=>{let u=t;for(;u&&u!==document.body;){if(yn(u))return!0;u=u.parentElement}return!1})();let c;l&&A&&!A.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')&&(c=Ka(A));const B=`${t.tagName.toLowerCase()}-${(t.innerText||"").slice(0,20).replace(/\s+/g,"_")}-${n.split(" > ").slice(-1)}`;return{tag:t.tagName.toLowerCase(),id:t.id||"",classes:t.className||"",text:(t.innerText||"").slice(0,100).trim(),selector:n,vgPath:i,outerHtml:t.outerHTML,parentContext:t.parentElement?`<${t.parentElement.tagName.toLowerCase()} ${Array.from(t.parentElement.attributes).map(u=>`${u.name}="${u.value}"`).join(" ").slice(0,500)}>`:"N/A",componentPath:s,signature:B,source:e,attributes:a,fallbackSelectors:[...new Set(o)].slice(0,5),domPath:[],viewportSize:{width:window.innerWidth,height:window.innerHeight},uiContext:Gh(t),fingerprint:Dh(t),metadata:{hint:`Edit ${e.split(":")[0]} at line ${e.split(":")[1]||"?"}`,computedStyles:Rh(t),viewportBreakpoint:Kh(),outerHtml:t.outerHTML.slice(0,1500),scrollPosition:{x:window.scrollX,y:window.scrollY},isModal:l,triggerReference:c}}},Da=()=>{const{addToast:t,language:A,t:e,apiKey:r,baseUrl:s,dashboardUrl:n,disableViewGate:o,hasActiveToasts:i}=ho(),[a,l]=C.useState(typeof window<"u"?window.location.pathname+window.location.search:"/"),c=C.useMemo(()=>typeof window>"u"?!1:window.location.href.includes("viewgate-backlog"),[a]);C.useEffect(()=>{const g=()=>l(window.location.pathname+window.location.search);window.addEventListener("popstate",g);const H=window.history.pushState,U=window.history.replaceState;return window.history.pushState=function(...v){H.apply(this,v),setTimeout(g,0)},window.history.replaceState=function(...v){U.apply(this,v),setTimeout(g,0)},()=>{window.removeEventListener("popstate",g),window.history.pushState=H,window.history.replaceState=U}},[]);const[B,u]=C.useState(!1),[f,w]=C.useState("medium"),[h,m]=C.useState("medium"),[E,p]=C.useState("all"),[x,T]=C.useState(null),[F,K]=C.useState(null),[_,AA]=C.useState(""),[S,FA]=C.useState(!1),[UA,QA]=C.useState(!1),[eA,cA]=C.useState(!1),[tA,zA]=C.useState([]),[OA,HA]=C.useState(null),[Bt,Be]=C.useState(!1),[Q,D]=C.useState({}),[M,Z]=C.useState(null),[WA,te]=C.useState(!1),[k,VA]=C.useState(null),[Re,dt]=C.useState([]),[CA,Jt]=C.useState(()=>{if(typeof window>"u")return null;const g=localStorage.getItem("vg_selected_member");return g?JSON.parse(g):null});C.useEffect(()=>{!r||!s||fetch(`${s}/api/projects/members`,{headers:{"x-api-key":r}}).then(g=>g.json()).then(g=>{Array.isArray(g)&&dt(g)}).catch(g=>console.error("Failed to fetch project members",g))},[r,s]);const In=g=>{Jt(g),localStorage.setItem("vg_selected_member",JSON.stringify(g))},Me=C.useCallback(async g=>{const U=await fetch(g,{headers:{"x-api-key":r}});if(!U.ok){const v=await U.json().catch(()=>({}));throw new Error(v.message||v.error||"Fetch failed")}return U.json()},[r]),As=C.useMemo(()=>c?"backlog":"pending,todo,in_progress,review,ready_for_review,bug_fixing",[c]),{data:es,isLoading:rA}=no(r?`${s}/api/projects/active-sprint`:null,Me,{refreshInterval:3e4,revalidateOnFocus:!0}),{data:sA,isLoading:Y,mutate:$}=no(r&&(es||c)?`${s}/api/annotations?status=${As}`:null,Me,{refreshInterval:1e4,revalidateOnFocus:!0,dedupingInterval:2e3}),[xA,RA]=C.useState(null),BA=C.useRef(tA);BA.current=tA;const[q,de]=C.useState(null),Ne=C.useRef(null),[Qe,ts]=C.useState([]),KA=C.useMemo(()=>{let g=Array.isArray(tA)?tA:[];if(M){const U=Qe.find(v=>v.annotations&&Array.isArray(v.annotations)&&v.annotations.some(W=>W._id===M));U?g=U.annotations:g=g.filter(v=>v._id===M)}return g=g.filter(U=>U.status!=="completed"&&U.status!=="done"),window.location.href.includes("viewgate-backlog")||(q==="pending"?g=g.filter(U=>U.status!=="ready_for_review"):q==="ready"&&(g=g.filter(U=>U.status==="ready_for_review"))),E!=="all"&&(g=g.filter(U=>(U.priority||"medium")===E)),g},[M,tA,Qe,q,E]);C.useEffect(()=>{M&&KA.length===0&&!Y&&Z(null)},[M,KA.length,Y]);const[DA,jt]=C.useState(()=>{if(typeof window>"u")return{top:24,right:24};const g=localStorage.getItem("vg-exit-pos");return g?JSON.parse(g):{top:24,right:24}}),[Ye,gt]=C.useState(!1),Ce=C.useRef(null),[ut,kh]=C.useState(()=>{if(typeof window>"u")return{bottom:30,right:30};const g=localStorage.getItem("vg-bar-pos");return g?JSON.parse(g):{bottom:30,right:30}}),[Yt,Oa]=C.useState(!1),me=C.useRef(null),Ph=g=>{g.preventDefault(),g.stopPropagation();const H=g.currentTarget.parentElement?.getBoundingClientRect();H&&(gt(!0),Ce.current={x:g.clientX,y:g.clientY,top:DA.top,right:DA.right,width:H.width,height:H.height})},Xh=g=>{g.preventDefault(),g.stopPropagation();const H=g.currentTarget.parentElement?.getBoundingClientRect();H&&(Oa(!0),me.current={x:g.clientX,y:g.clientY,bottom:ut.bottom,right:ut.right,width:H.width,height:H.height})};C.useEffect(()=>{if(!Ye&&!Yt)return;const g=U=>{if(Ye&&Ce.current){const v=U.clientX-Ce.current.x,W=U.clientY-Ce.current.y;let N=Ce.current.top+W,P=Ce.current.right-v;const L=10;N=Math.max(L,Math.min(window.innerHeight-Ce.current.height-L,N)),P=Math.max(L,Math.min(window.innerWidth-Ce.current.width-L,P)),jt({top:N,right:P})}if(Yt&&me.current){const v=U.clientX-me.current.x,W=U.clientY-me.current.y;let N=me.current.bottom-W,P=me.current.right-v;const L=10;N=Math.max(L,Math.min(window.innerHeight-me.current.height-L,N)),P=Math.max(L,Math.min(window.innerWidth-me.current.width-L,P)),kh({bottom:N,right:P})}},H=()=>{Ye&&(gt(!1),localStorage.setItem("vg-exit-pos",JSON.stringify(DA)),Ce.current=null),Yt&&(Oa(!1),localStorage.setItem("vg-bar-pos",JSON.stringify(ut)),me.current=null)};return window.addEventListener("mousemove",g),window.addEventListener("mouseup",H),()=>{window.removeEventListener("mousemove",g),window.removeEventListener("mouseup",H)}},[Ye,Yt,DA,ut]);const[vn,Sn]=C.useState(null),[Ra,Ma]=C.useState(""),[fw,hw]=C.useState({}),Ln=C.useRef(null),ft=C.useRef(null),Tn=C.useRef(null),rs=C.useRef(!1),Na=C.useCallback(()=>{typeof window>"u"||rs.current||(ft.current&&cancelAnimationFrame(ft.current),ft.current=requestAnimationFrame(()=>{ft.current=null,rs.current=!0,Tn.current;const g=BA.current,H=Array.isArray(g)?g:[],U=new Set(H.map(z=>z._id));document.querySelectorAll(`[${ee}]`).forEach(z=>{const ZA=z.getAttribute(ee);ZA&&!U.has(ZA)&&z.removeAttribute(ee)});const W=Array.from(document.querySelectorAll('[role="dialog"], [aria-modal="true"], .modal, .modal-backdrop, .fixed.inset-0')).find(z=>yn(z)&&Oe(z)),N=!!W,P=new Map,L=new Map;H.forEach(z=>{if(!z||!z.reference)return;try{const nA=()=>{const re=window.location.pathname.toLowerCase().replace(/\/$/g,"").replace(/\/(?:[0-9]+|(?:[0-9a-f]{24}))(?=\/|$)/g,"/:id"),xe=new URLSearchParams(window.location.search);xe.delete("viewgate"),xe.sort();const I=xe.toString();return I?`${re}?${I}`:re},vA=re=>{try{const xe=new URL(re),I=xe.pathname.toLowerCase().replace(/\/$/g,"").replace(/\/(?:[0-9]+|(?:[0-9a-f]{24}))(?=\/|$)/g,"/:id"),se=new URLSearchParams(xe.search);se.delete("viewgate"),se.sort();const Zt=se.toString();return Zt?`${I}?${Zt}`:I}catch{return""}},Fe=nA(),zt=vA(z.url);if(Fe!==zt)return}catch{return}const ZA=!!z.reference.metadata?.isModal,Ue=z.reference.metadata?.triggerReference;let fA=Ta(z.reference,z._id),hA=!1;if(Ue){const nA=Ta(Ue);nA&&Oe(nA)&&(fA=nA,hA=!0)}if(!fA||!Oe(fA))return;let mA=!1;if(N?mA=W.contains(fA):hA?mA=!0:mA=!ZA,!mA)return;const IA=fA.getAttribute(ee);IA!==z._id&&(document.querySelectorAll(`[${ee}="${z._id}"]`).forEach(nA=>{nA.removeAttribute(ee)}),IA||fA.setAttribute(ee,z._id));const X=hA?P:L;X.has(fA)||X.set(fA,{anns:[]}),X.get(fA).anns.push(z)});const dA=[],_A=(z,ZA)=>{z.forEach((Ue,fA)=>{const{anns:hA}=Ue,mA=fA.getBoundingClientRect(),IA=mA.left+mA.width/2,X=mA.top+mA.height/2;if(IA>=0&&IA<=window.innerWidth&&X>=0&&X<=window.innerHeight){const nA=document.elementFromPoint(IA,X),vA=document.getElementById("viewgate-shadow-host");if(nA&&!fA.contains(nA)&&nA!==vA&&!vA?.contains(nA))return}dA.push({id:hA[0]._id+(ZA?"_trig":""),element:fA,rect:mA,annotations:hA.sort((nA,vA)=>new Date(vA.timestamp||vA.createdAt).getTime()-new Date(nA.timestamp||nA.createdAt).getTime()),isModal:!!hA[0].reference?.metadata?.isModal,isTriggerPin:ZA})})};_A(P,!0),_A(L,!1),ts(dA),rs.current=!1}))},[k]);C.useEffect(()=>{if(sA){const g=Array.isArray(sA)?sA:sA?.data||[];if(Array.isArray(g)){const H=g.reduce((U,v)=>U.find(N=>N._id===v._id)?U:U.concat([v]),[]);zA(H)}}else Y||zA([])},[sA,Y]),C.useEffect(()=>{VA(es||null)},[es]),C.useEffect(()=>{eA&&tA.length===0&&!Y&&cA(!1)},[eA,tA.length,Y]),C.useEffect(()=>{let g=null;const H=()=>{rs.current||Na()},U=new MutationObserver(N=>{N.some(L=>L.type!=="attributes"||L.attributeName!==ee&&!L.target.parentElement?.closest("#viewgate-shadow-host"))&&(g&&clearTimeout(g),g=setTimeout(H,32))});Tn.current=U;const v=new ResizeObserver(()=>H()),W=()=>H();return H(),U.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0}),v.observe(document.documentElement),window.addEventListener("scroll",W,{capture:!0,passive:!0}),()=>{g&&clearTimeout(g),U.disconnect(),v.disconnect(),window.removeEventListener("scroll",W,!0),ft.current&&cancelAnimationFrame(ft.current),Tn.current=null}},[B,tA,Na,eA,M,a]);const Kn=C.useCallback(g=>{let H=g;for(;H&&H!==document.body;){if(yn(H))return H;H=H.parentElement}return null},[]);C.useEffect(()=>{const g=H=>{const U=H.target;U&&(Kn(U)||(Ne.current=U))};return window.addEventListener("mousedown",g,!0),()=>window.removeEventListener("mousedown",g,!0)},[Kn]),C.useEffect(()=>{Ln.current=document.getElementById("viewgate-shadow-host")},[]);const Dn=C.useCallback(g=>{if(!B||F)return;const H=La(g.clientX,g.clientY);if(!H||Ln.current?.contains(H)||H.closest(".vg-no-capture")){T(null);return}const U=H.getBoundingClientRect();T({tag:H.tagName.toLowerCase(),source:H.getAttribute("data-source-path")||"unknown:0",rect:U,element:H,previewText:(H.innerText||"").slice(0,100)||(H.getAttribute("placeholder")||"").slice(0,100)||H.tagName.toLowerCase(),semanticReference:{...Ka(H,Ne.current),normalizedOffset:{x:(g.clientX-U.left)/U.width,y:(g.clientY-U.top)/U.height}}})},[B,F]),On=C.useCallback(async g=>{if(!B||F)return;const H=La(g.clientX,g.clientY);if(!(!H||Ln.current?.contains(H)||H.closest(".vg-no-capture"))&&x){g.preventDefault(),g.stopPropagation(),QA(!0);try{await new Promise(X=>requestAnimationFrame(X)),await new Promise(X=>setTimeout(X,80));const U=x.element,v=U.getBoundingClientRect(),N=Kn(U)||document.documentElement,P=N.getBoundingClientRect(),L=window.devicePixelRatio||1,dA=Math.max(L,3),_A=Array.from(N.querySelectorAll("img"));await Promise.all(_A.map(X=>{const nA=X.getBoundingClientRect();return nA.bottom>-200&&nA.top<window.innerHeight+200&&(X.loading==="lazy"&&(X.loading="eager"),!X.complete)?new Promise(vA=>{X.onload=vA,X.onerror=vA}):Promise.resolve()})).catch(()=>{});const z=N===document.documentElement||N===document.body,ZA=v.left-P.left+(z?0:N.scrollLeft),Ue=v.top-P.top+(z?0:N.scrollTop),fA=await Ha(N,{scale:dA,useCORS:!0,logging:!1,backgroundColor:null,allowTaint:!0,imageTimeout:2e4,scrollX:0,scrollY:0,windowWidth:document.documentElement.offsetWidth,windowHeight:document.documentElement.offsetHeight,onclone:X=>{const nA=X.getElementById("viewgate-shadow-host");nA&&nA.style.setProperty("display","none","important");const vA=X.querySelector(".vg-selection-overlay");vA&&vA.style.setProperty("display","none","important");const Fe=X.querySelector("[data-vg-root]");Fe&&(Fe.style.transform="none",Fe.style.perspective="none")},ignoreElements:X=>X.id==="viewgate-shadow-host"||X.classList.contains("vg-no-capture")||X.classList.contains("vg-selection-overlay")}),hA=document.createElement("canvas"),mA=hA.getContext("2d"),IA=24;if(hA.width=(v.width+IA*2)*dA,hA.height=(v.height+IA*2)*dA,mA){mA.imageSmoothingEnabled=!0,mA.imageSmoothingQuality="high";const X=(ZA-IA)*dA,nA=(Ue-IA)*dA,vA=(v.width+IA*2)*dA,Fe=(v.height+IA*2)*dA;mA.drawImage(fA,X,nA,vA,Fe,0,0,hA.width,hA.height),hA.toBlob(async zt=>{if(zt){const re=new FileReader;re.onloadend=()=>{K({...x,visualPreview:re.result})},re.readAsDataURL(zt)}else K(x)},"image/webp",.98)}}catch(U){console.error("ViewGate High-Fidelity Capture Error:",U),K(x)}finally{QA(!1),T(null)}}},[B,x,F]);C.useEffect(()=>{const g=H=>{if(H.key==="Escape"){F?K(null):eA?cA(!1):B&&u(!1);return}const v=(()=>{let P=document.activeElement;for(;P&&P.shadowRoot&&P.shadowRoot.activeElement;)P=P.shadowRoot.activeElement;return P})();if(["input","textarea"].includes((v?.tagName||"").toLowerCase())||v?.isContentEditable)return;const N=H.key.toLowerCase();if(N==="c"&&!H.ctrlKey&&!H.metaKey&&!F&&!eA){if(!(k&&k.status!=="closed")&&!c&&!B){t(A==="es"?"No hay un sprint activo. No se pueden generar comentarios.":"No active sprint found. Cannot generate comments.","error");return}u(L=>!L)}N==="v"&&!F&&(tA.length>0||eA)&&(cA(P=>!P),eA||u(!1))};return B&&!F?document.body.classList.add("vg-cursor-pointer"):document.body.classList.remove("vg-cursor-pointer"),window.addEventListener("keydown",g),window.addEventListener("mousemove",Dn,!0),window.addEventListener("click",On,!0),()=>{document.body.classList.remove("vg-cursor-pointer"),window.removeEventListener("keydown",g),window.removeEventListener("mousemove",Dn,!0),window.removeEventListener("click",On,!0)}},[B,F,eA,tA,Dn,On]);const Wh=async()=>{if(!F||!_.trim())return;if(!CA){t(A==="es"?"Selecciona un usuario para comentar":"Please select a user to comment","error");return}FA(!0);const{semanticReference:g}=F,[H,U]=(g.source||"").split(":"),W={filePath:H,line:parseInt(U||"0"),url:window.location.href,title:_.length>50?_.substring(0,50)+"...":_,message:_,status:c?"backlog":"pending",priority:f,screenshot:F.visualPreview,componentName:g.componentPath||F.tag,reference:{...g,viewport:{width:window.innerWidth,height:window.innerHeight},timestamp:new Date().toISOString()}};CA&&(W.creator={name:CA.name,email:CA.email,avatar:CA.avatar});try{const N=await fetch(`${s}/api/annotations`,{method:"POST",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify(W)});if(!N.ok){const P=await N.json().catch(()=>({}));throw new Error(P.message||P.error||"Backend failed")}t(e.success,"success"),K(null),AA(""),u(!1),$()}catch(N){console.error(N);const P=N.message&&N.message!=="Backend failed"?N.message:e.error;t(P,"error")}finally{FA(!1)}};return d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1723",className:"vg-container",children:d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1724",className:"vg-no-capture",children:[!i&&d.jsxs("div",{style:{position:"fixed",top:`${DA.top}px`,right:`${DA.right}px`,zIndex:xn+10,display:"flex",alignItems:"center",gap:"8px",transition:Ye?"none":"all 0.3s cubic-bezier(0.4, 0, 0.2, 1)"},children:[d.jsx("div",{onMouseDown:Ph,style:{width:"20px",height:"32px",borderRadius:"6px",backgroundColor:"rgba(255, 255, 255, 0.85)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"grab",color:"#1e293b",opacity:B?0:1,visibility:B?"hidden":"visible",transition:"all 0.2s",border:"1px solid rgba(0,0,0,0.1)",boxShadow:"0 2px 8px rgba(0,0,0,0.05)"},onMouseEnter:g=>{g.currentTarget.style.backgroundColor="white",g.currentTarget.style.color="#000000"},onMouseLeave:g=>{g.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.85)",g.currentTarget.style.color="#1e293b"},children:d.jsx(lo,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1768",size:14})}),d.jsx("button",{onClick:g=>{g.stopPropagation(),HA({title:e.exitConfirmTitle||"Close ViewGate?",message:e.exitConfirmMessage||"Are you sure you want to close ViewGate?",type:"danger",onConfirm:()=>o()})},title:"Cerrar ViewGate",style:{width:"40px",height:"40px",borderRadius:"12px",backgroundColor:"rgba(255, 255, 255, 0.9)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",border:"1px solid rgba(0,0,0,0.05)",boxShadow:"0 4px 12px rgba(0,0,0,0.1)",cursor:"pointer",color:"#64748b",transition:"all 0.3s cubic-bezier(0.4, 0, 0.2, 1)"},onMouseEnter:g=>{g.currentTarget.style.transform="scale(1.1) rotate(90deg)",g.currentTarget.style.color="#ef4444",g.currentTarget.style.backgroundColor="white"},onMouseLeave:g=>{g.currentTarget.style.transform="scale(1) rotate(0deg)",g.currentTarget.style.color="#64748b",g.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.9)"},children:d.jsx(Fs,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1808",size:20,strokeWidth:2.5})})]}),d.jsxs("div",{style:{position:"fixed",bottom:`${ut.bottom}px`,right:`${ut.right}px`,zIndex:xn,display:"flex",alignItems:"center",gap:"8px",transition:Yt?"none":"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},id:"viewgate-ui",children:[d.jsx("div",{onMouseDown:Xh,style:{width:"24px",height:"40px",borderRadius:"10px",backgroundColor:"rgba(255, 255, 255, 0.85)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"grab",color:"#1e293b",opacity:B?0:1,visibility:B?"hidden":"visible",transition:"all 0.2s",border:"1px solid rgba(0,0,0,0.1)",boxShadow:"0 2px 8px rgba(0,0,0,0.05)"},onMouseEnter:g=>{g.currentTarget.style.backgroundColor="white",g.currentTarget.style.color="#000000"},onMouseLeave:g=>{g.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.85)",g.currentTarget.style.color="#1e293b"},className:"vg-animate-slide-up",children:d.jsx(lo,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1857",size:16})}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1860",className:"vg-action-bar vg-animate-slide-up",style:{transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},children:[d.jsx("button",{onClick:()=>{if(!k&&!c&&!B){t(A==="es"?"No hay un sprint activo. No se pueden generar comentarios.":"No active sprint found. Cannot generate comments.","error");return}u(!B)},className:"vg-button-primary vg-animate-pop",style:{padding:"12px 24px",background:B?"#ef4444":!k&&!c?"#94a3b8":void 0,cursor:!k&&!c&&!B?"not-allowed":"pointer",opacity:!k&&!c&&!B?.7:1},title:!k&&!c&&!B?A==="es"?"Requiere sprint activo":"Requires active sprint":"",children:d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1878",style:{display:"flex",alignItems:"center",gap:"10px"},children:[B?d.jsx(Fs,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1879",size:20,className:"vg-animate-pop"}):d.jsx(tr,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1879",size:20,className:"vg-animate-pop"}),d.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1880",children:B?e.exitMode:e.enterMode})]})}),tA.length>0&&d.jsxs("button",{onClick:()=>{cA(!eA),u(!1),K(null)},className:"vg-button-ghost vg-animate-pop",style:{animationDelay:"0.1s"},children:[d.jsx(Ic,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1893",size:20}),d.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1894",children:e.viewComments})]})]})]}),UA&&d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1902",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(255,255,255,0.6)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:xn+1,cursor:"wait"},children:d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1908",className:"vg-glassmorphism",style:{padding:"30px 50px",display:"flex",flexDirection:"column",alignItems:"center",gap:"16px"},children:[d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1909",className:"vg-spinner"}),d.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1910",style:{fontWeight:600,fontSize:"14px",color:"#000000"},children:"Capturando..."})]})}),B&&!F&&d.jsx("div",{className:"vg-backdrop-blur",style:{opacity:1,clipPath:x?`polygon(
|
|
10
|
+
}`,Df=(t,A)=>{Of(t,`.${wn}${Tf}${fa}
|
|
11
|
+
.${pn}${Kf}${fa}`,A)},Of=(t,A,e)=>{const r=t.ownerDocument;if(r){const s=r.createElement("style");s.textContent=A,e&&(s.nonce=e),t.appendChild(s)}},Rf=(t,A)=>{const e=t.ownerDocument.createElement("base");e.href=A;const r=t.getElementsByTagName("head").item(0);r?.insertBefore(e,r?.firstChild??null)};class b{constructor(A,e){this.type=0,this.x=A,this.y=e}add(A,e){return new b(this.x+A,this.y+e)}}const lt=(t,A,e)=>new b(t.x+(A.x-t.x)*e,t.y+(A.y-t.y)*e);class Ce{constructor(A,e,r,s){this.type=1,this.start=A,this.startControl=e,this.endControl=r,this.end=s}subdivide(A,e){const r=lt(this.start,this.startControl,A),s=lt(this.startControl,this.endControl,A),n=lt(this.endControl,this.end,A),o=lt(r,s,A),i=lt(s,n,A),a=lt(o,i,A);return e?new Ce(this.start,r,o,a):new Ce(a,i,n,this.end)}add(A,e){return new Ce(this.start.add(A,e),this.startControl.add(A,e),this.endControl.add(A,e),this.end.add(A,e))}reverse(){return new Ce(this.end,this.endControl,this.startControl,this.start)}}const _A=t=>t.type===1;class Mf{constructor(A){const e=A.styles,r=A.bounds;let[s,n]=Tt(e.borderTopLeftRadius,r.width,r.height),[o,i]=Tt(e.borderTopRightRadius,r.width,r.height),[a,l]=Tt(e.borderBottomRightRadius,r.width,r.height),[c,B]=Tt(e.borderBottomLeftRadius,r.width,r.height);const u=[];u.push((s+o)/r.width),u.push((c+a)/r.width),u.push((n+B)/r.height),u.push((i+l)/r.height);const f=Math.max(...u);f>1&&(s/=f,n/=f,o/=f,i/=f,a/=f,l/=f,c/=f,B/=f);const w=r.width-o,h=r.height-l,m=r.width-a,E=r.height-B,p=e.borderTopWidth,x=e.borderRightWidth,T=e.borderBottomWidth,F=e.borderLeftWidth,K=D(e.paddingTop,A.bounds.width),V=D(e.paddingRight,A.bounds.width),Z=D(e.paddingBottom,A.bounds.width),S=D(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=s>0||n>0?oA(r.left+F/3,r.top+p/3,s-F/3,n-p/3,j.TOP_LEFT):new b(r.left+F/3,r.top+p/3),this.topRightBorderDoubleOuterBox=s>0||n>0?oA(r.left+w,r.top+p/3,o-x/3,i-p/3,j.TOP_RIGHT):new b(r.left+r.width-x/3,r.top+p/3),this.bottomRightBorderDoubleOuterBox=a>0||l>0?oA(r.left+m,r.top+h,a-x/3,l-T/3,j.BOTTOM_RIGHT):new b(r.left+r.width-x/3,r.top+r.height-T/3),this.bottomLeftBorderDoubleOuterBox=c>0||B>0?oA(r.left+F/3,r.top+E,c-F/3,B-T/3,j.BOTTOM_LEFT):new b(r.left+F/3,r.top+r.height-T/3),this.topLeftBorderDoubleInnerBox=s>0||n>0?oA(r.left+F*2/3,r.top+p*2/3,s-F*2/3,n-p*2/3,j.TOP_LEFT):new b(r.left+F*2/3,r.top+p*2/3),this.topRightBorderDoubleInnerBox=s>0||n>0?oA(r.left+w,r.top+p*2/3,o-x*2/3,i-p*2/3,j.TOP_RIGHT):new b(r.left+r.width-x*2/3,r.top+p*2/3),this.bottomRightBorderDoubleInnerBox=a>0||l>0?oA(r.left+m,r.top+h,a-x*2/3,l-T*2/3,j.BOTTOM_RIGHT):new b(r.left+r.width-x*2/3,r.top+r.height-T*2/3),this.bottomLeftBorderDoubleInnerBox=c>0||B>0?oA(r.left+F*2/3,r.top+E,c-F*2/3,B-T*2/3,j.BOTTOM_LEFT):new b(r.left+F*2/3,r.top+r.height-T*2/3),this.topLeftBorderStroke=s>0||n>0?oA(r.left+F/2,r.top+p/2,s-F/2,n-p/2,j.TOP_LEFT):new b(r.left+F/2,r.top+p/2),this.topRightBorderStroke=s>0||n>0?oA(r.left+w,r.top+p/2,o-x/2,i-p/2,j.TOP_RIGHT):new b(r.left+r.width-x/2,r.top+p/2),this.bottomRightBorderStroke=a>0||l>0?oA(r.left+m,r.top+h,a-x/2,l-T/2,j.BOTTOM_RIGHT):new b(r.left+r.width-x/2,r.top+r.height-T/2),this.bottomLeftBorderStroke=c>0||B>0?oA(r.left+F/2,r.top+E,c-F/2,B-T/2,j.BOTTOM_LEFT):new b(r.left+F/2,r.top+r.height-T/2),this.topLeftBorderBox=s>0||n>0?oA(r.left,r.top,s,n,j.TOP_LEFT):new b(r.left,r.top),this.topRightBorderBox=o>0||i>0?oA(r.left+w,r.top,o,i,j.TOP_RIGHT):new b(r.left+r.width,r.top),this.bottomRightBorderBox=a>0||l>0?oA(r.left+m,r.top+h,a,l,j.BOTTOM_RIGHT):new b(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=c>0||B>0?oA(r.left,r.top+E,c,B,j.BOTTOM_LEFT):new b(r.left,r.top+r.height),this.topLeftPaddingBox=s>0||n>0?oA(r.left+F,r.top+p,Math.max(0,s-F),Math.max(0,n-p),j.TOP_LEFT):new b(r.left+F,r.top+p),this.topRightPaddingBox=o>0||i>0?oA(r.left+Math.min(w,r.width-x),r.top+p,w>r.width+x?0:Math.max(0,o-x),Math.max(0,i-p),j.TOP_RIGHT):new b(r.left+r.width-x,r.top+p),this.bottomRightPaddingBox=a>0||l>0?oA(r.left+Math.min(m,r.width-F),r.top+Math.min(h,r.height-T),Math.max(0,a-x),Math.max(0,l-T),j.BOTTOM_RIGHT):new b(r.left+r.width-x,r.top+r.height-T),this.bottomLeftPaddingBox=c>0||B>0?oA(r.left+F,r.top+Math.min(E,r.height-T),Math.max(0,c-F),Math.max(0,B-T),j.BOTTOM_LEFT):new b(r.left+F,r.top+r.height-T),this.topLeftContentBox=s>0||n>0?oA(r.left+F+S,r.top+p+K,Math.max(0,s-(F+S)),Math.max(0,n-(p+K)),j.TOP_LEFT):new b(r.left+F+S,r.top+p+K),this.topRightContentBox=o>0||i>0?oA(r.left+Math.min(w,r.width+F+S),r.top+p+K,w>r.width+F+S?0:o-F+S,i-(p+K),j.TOP_RIGHT):new b(r.left+r.width-(x+V),r.top+p+K),this.bottomRightContentBox=a>0||l>0?oA(r.left+Math.min(m,r.width-(F+S)),r.top+Math.min(h,r.height+p+K),Math.max(0,a-(x+V)),l-(T+Z),j.BOTTOM_RIGHT):new b(r.left+r.width-(x+V),r.top+r.height-(T+Z)),this.bottomLeftContentBox=c>0||B>0?oA(r.left+F+S,r.top+E,Math.max(0,c-(F+S)),B-(T+Z),j.BOTTOM_LEFT):new b(r.left+F+S,r.top+r.height-(T+Z))}}var j;(function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(j||(j={}));const oA=(t,A,e,r,s)=>{const n=4*((Math.sqrt(2)-1)/3),o=e*n,i=r*n,a=t+e,l=A+r;switch(s){case j.TOP_LEFT:return new Ce(new b(t,l),new b(t,l-i),new b(a-o,A),new b(a,A));case j.TOP_RIGHT:return new Ce(new b(t,A),new b(t+o,A),new b(a,l-i),new b(a,l));case j.BOTTOM_RIGHT:return new Ce(new b(a,A),new b(a,A+i),new b(t+o,l),new b(t,l));case j.BOTTOM_LEFT:default:return new Ce(new b(a,l),new b(a-o,l),new b(t,A+i),new b(t,A))}},zr=t=>[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox],Nf=t=>[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox],Zr=t=>[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox];class ha{constructor(A,e,r){this.offsetX=A,this.offsetY=e,this.matrix=r,this.type=0,this.target=6}}class $r{constructor(A,e){this.path=A,this.target=e,this.type=1}}class Gf{constructor(A){this.opacity=A,this.type=2,this.target=6}}class kt{constructor(A){this.applyClip=A,this.type=3,this.target=6}}const Vf=t=>t.type===0,wa=t=>t.type===1,_f=t=>t.type===2,kf=t=>t.type===3,pa=(t,A)=>t.length===A.length?t.some((e,r)=>e===A[r]):!1,Pf=(t,A,e,r,s)=>t.map((n,o)=>{switch(o){case 0:return n.add(A,e);case 1:return n.add(A+r,e);case 2:return n.add(A+r,e+s);case 3:return n.add(A,e+s)}return n});class Qa{constructor(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}}class Ca{constructor(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new Mf(this.container),this.container.styles.opacity<1&&this.effects.push(new Gf(this.container.styles.opacity)),this.container.styles.rotate!==null){const r=this.container.styles.transformOrigin,s=this.container.bounds.left+D(r[0],this.container.bounds.width),n=this.container.bounds.top+D(r[1],this.container.bounds.height),i=this.container.styles.rotate*Math.PI/180,a=Math.cos(i),l=Math.sin(i),c=[a,l,-l,a,0,0];this.effects.push(new ha(s,n,c))}if(this.container.styles.transform!==null){const r=this.container.styles.transformOrigin,s=this.container.bounds.left+D(r[0],this.container.bounds.width),n=this.container.bounds.top+D(r[1],this.container.bounds.height),o=this.container.styles.transform;this.effects.push(new ha(s,n,o))}if(this.container.styles.overflowX!==0){const r=zr(this.curves),s=Zr(this.curves);pa(r,s)?this.effects.push(new $r(r,6)):(this.effects.push(new $r(r,2)),this.effects.push(new $r(s,4)))}if(this.container.styles.clipPath.type!==0){const r=Xf(this.container.styles.clipPath,this.container.bounds);r&&this.effects.push(r)}}getEffects(A){let e=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent;const s=this.effects.slice(0);for(;r;){const n=r.effects.filter(o=>!wa(o));if(e||r.container.styles.position!==0||!r.parent){if(e=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){const o=zr(r.curves),i=Zr(r.curves);pa(o,i)||s.unshift(new $r(i,6))}s.unshift(...n)}else s.unshift(...n);r=r.parent}return s.filter(n=>iA(n.target,A))}}const ma=(t,A,e,r,s)=>t==="closest-side"?Math.min(A-e,r-A):t==="farthest-side"?Math.max(A-e,r-A):D(t,s),Xf=(t,A)=>{const{left:e,top:r,width:s,height:n}=A;switch(t.type){case 1:{const o=D(t.left,s),i=D(t.top,n),a=e+o,l=r+i,c=Math.max(0,s-o-D(t.right,s)),B=Math.max(0,n-i-D(t.bottom,n));return new kt(u=>{u.beginPath(),u.rect(a,l,c,B),u.clip()})}case 2:{const o=e+D(t.cx,s),i=r+D(t.cy,n);let a;return t.radius==="closest-side"?a=Math.min(o-e,i-r,e+s-o,r+n-i):t.radius==="farthest-side"?a=Math.max(o-e,i-r,e+s-o,r+n-i):a=D(t.radius,Math.sqrt(s*s+n*n)/Math.SQRT2),new kt(l=>{l.beginPath(),l.arc(o,i,Math.max(0,a),0,Math.PI*2),l.clip()})}case 3:{const o=e+D(t.cx,s),i=r+D(t.cy,n),a=ma(t.rx,o,e,e+s,s),l=ma(t.ry,i,r,r+n,n);return new kt(c=>{c.beginPath(),c.ellipse(o,i,Math.max(0,a),Math.max(0,l),0,0,Math.PI*2),c.clip()})}case 4:{const o=t.points.map(([i,a])=>[e+D(i,s),r+D(a,n)]);return new kt(i=>{if(i.beginPath(),o.length>0){i.moveTo(o[0][0],o[0][1]);for(let a=1;a<o.length;a++)i.lineTo(o[a][0],o[a][1]);i.closePath()}i.clip()})}case 5:{const{d:o}=t;return new kt(i=>{try{const a=i.getTransform();i.translate(e,r),i.clip(new Path2D(o)),i.setTransform(a)}catch{}})}case 0:return null;default:return null}},Qn=(t,A,e,r)=>{t.container.elements.forEach(s=>{const n=iA(s.flags,4),o=iA(s.flags,2),i=new Ca(s,t);iA(s.styles.display,2048)&&r.push(i);const a=iA(s.flags,8)?[]:r;if(n||o){const l=n||s.styles.isPositioned()?e:A,c=new Qa(i);if(s.styles.isPositioned()||s.styles.opacity<1||s.styles.isTransformed()){const B=s.styles.zIndex.order;if(B<0){let u=0;l.negativeZIndex.some((f,w)=>B>f.element.container.styles.zIndex.order?(u=w,!1):u>0),l.negativeZIndex.splice(u,0,c)}else if(B>0){let u=0;l.positiveZIndex.some((f,w)=>B>=f.element.container.styles.zIndex.order?(u=w+1,!1):u>0),l.positiveZIndex.splice(u,0,c)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else s.styles.isFloating()?l.nonPositionedFloats.push(c):l.nonPositionedInlineLevel.push(c);Qn(i,c,n?c:e,a)}else s.styles.isInlineLevel()?A.inlineLevel.push(i):A.nonInlineLevel.push(i),Qn(i,A,e,a);iA(s.flags,8)&&Ua(s,a)})},Ua=(t,A)=>{let e=t instanceof ln?t.start:1;const r=t instanceof ln?t.reversed:!1;for(let s=0;s<A.length;s++){const n=A[s];n.container instanceof zi&&typeof n.container.value=="number"&&n.container.value!==0&&(e=n.container.value),n.listValue=Vt(e,n.container.styles.listStyleType,!0),e+=r?-1:1}},Wf=t=>{const A=new Ca(t,null),e=new Qa(A),r=[];return Qn(A,e,e,r),Ua(A.container,r),e},Fa=t=>{const A=t.bounds,e=t.styles;return A.add(e.borderLeftWidth,e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth),-(e.borderTopWidth+e.borderBottomWidth))},Pt=t=>{const A=t.styles,e=t.bounds,r=D(A.paddingLeft,e.width),s=D(A.paddingRight,e.width),n=D(A.paddingTop,e.width),o=D(A.paddingBottom,e.width);return e.add(r+A.borderLeftWidth,n+A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth+r+s),-(A.borderTopWidth+A.borderBottomWidth+n+o))},Jf=(t,A)=>t===0?A.bounds:t===2?Pt(A):Fa(A),jf=(t,A)=>t===0?A.bounds:t===2?Pt(A):Fa(A),Cn=(t,A,e)=>{const r=Jf(dt(t.styles.backgroundOrigin,A),t),s=jf(dt(t.styles.backgroundClip,A),t),n=Yf(dt(t.styles.backgroundSize,A),e,r);let[o,i]=n;const a=Tt(dt(t.styles.backgroundPosition,A),r.width-o,r.height-i),l=zf(dt(t.styles.backgroundRepeat,A),a,n,r,s),c=Math.round(r.left+a[0]),B=Math.round(r.top+a[1]);return o=Math.max(1,o),i=Math.max(1,i),[l,c,B,o,i]},Bt=t=>R(t)&&t.value===ot.AUTO,qr=t=>typeof t=="number",Yf=(t,[A,e,r],s)=>{const[n,o]=t;if(!n)return[0,0];if(Y(n)&&o&&Y(o))return[D(n,s.width),D(o,s.height)];const i=qr(r);if(R(n)&&(n.value===ot.CONTAIN||n.value===ot.COVER))return qr(r)?s.width/s.height<r!=(n.value===ot.COVER)?[s.width,s.width/r]:[s.height*r,s.height]:[s.width,s.height];const a=qr(A),l=qr(e),c=a||l;if(Bt(n)&&(!o||Bt(o))){if(a&&l)return[A,e];if(!i&&!c)return[s.width,s.height];if(c&&i){const h=a?A:e*r,m=l?e:A/r;return[h,m]}const f=a?A:s.width,w=l?e:s.height;return[f,w]}if(i){let f=0,w=0;return Y(n)?f=D(n,s.width):Y(o)&&(w=D(o,s.height)),Bt(n)?f=w*r:(!o||Bt(o))&&(w=f/r),[f,w]}let B=null,u=null;if(Y(n)?B=D(n,s.width):o&&Y(o)&&(u=D(o,s.height)),B!==null&&(!o||Bt(o))&&(u=a&&l?B/A*e:s.height),u!==null&&Bt(n)&&(B=a&&l?u/e*A:s.width),B!==null&&u!==null)return[B,u];throw new Error("Unable to calculate background-size for element")},dt=(t,A)=>{const e=t[A];return typeof e>"u"?t[0]:e},zf=(t,[A,e],[r,s],n,o)=>{switch(t){case 2:return[new b(Math.round(n.left),Math.round(n.top+e)),new b(Math.round(n.left+n.width),Math.round(n.top+e)),new b(Math.round(n.left+n.width),Math.round(s+n.top+e)),new b(Math.round(n.left),Math.round(s+n.top+e))];case 3:return[new b(Math.round(n.left+A),Math.round(n.top)),new b(Math.round(n.left+A+r),Math.round(n.top)),new b(Math.round(n.left+A+r),Math.round(n.height+n.top)),new b(Math.round(n.left+A),Math.round(n.height+n.top))];case 1:return[new b(Math.round(n.left+A),Math.round(n.top+e)),new b(Math.round(n.left+A+r),Math.round(n.top+e)),new b(Math.round(n.left+A+r),Math.round(n.top+e+s)),new b(Math.round(n.left+A),Math.round(n.top+e+s))];default:return[new b(Math.round(o.left),Math.round(o.top)),new b(Math.round(o.left+o.width),Math.round(o.top)),new b(Math.round(o.left+o.width),Math.round(o.height+o.top)),new b(Math.round(o.left),Math.round(o.height+o.top))]}},Zf="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",xa="Hidden Text";class $f{constructor(A){this._data={},this._document=A}parseMetrics(A,e){const r=this._document.createElement("div"),s=this._document.createElement("img"),n=this._document.createElement("span"),o=this._document.body;r.style.visibility="hidden",r.style.fontFamily=A,r.style.fontSize=e,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",o.appendChild(r),s.src=Zf,s.width=1,s.height=1,s.style.margin="0",s.style.padding="0",s.style.verticalAlign="baseline",n.style.fontFamily=A,n.style.fontSize=e,n.style.margin="0",n.style.padding="0",n.appendChild(this._document.createTextNode(xa)),r.appendChild(n),r.appendChild(s);const i=s.offsetTop-n.offsetTop+2;r.removeChild(n),r.appendChild(this._document.createTextNode(xa)),r.style.lineHeight="normal",s.style.verticalAlign="super";const a=s.offsetTop-r.offsetTop+2;return o.removeChild(r),{baseline:i,middle:a}}getMetrics(A,e){const r=`${A} ${e}`;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(A,e)),this._data[r]}}class Ea{constructor(A,e){this.context=A,this.options=e}}class qf{constructor(A){this.ctx=A.ctx,this.context=A.context,this.canvas=A.canvas}async renderBackgroundImage(A){let e=A.styles.backgroundImage.length-1;for(const r of A.styles.backgroundImage.slice(0).reverse())r.type===0?await this.renderBackgroundURLImage(A,r,e):Ld(r)?this.renderLinearGradient(A,r,e):Td(r)&&this.renderRadialGradient(A,r,e),e--}async renderBackgroundURLImage(A,e,r){let s;const n=e.url;try{s=await this.context.cache.match(n)}catch{this.context.logger.error(`Error loading background-image ${n}`)}if(s){const o=isNaN(s.width)||s.width===0?1:s.width,i=isNaN(s.height)||s.height===0?1:s.height,[a,l,c,B,u]=Cn(A,r,[o,i,o/i]),f=this.ctx.createPattern(this.resizeImage(s,B,u,A.styles.imageRendering),"repeat");this.renderRepeat(a,f,l,c)}}renderLinearGradient(A,e,r){const[s,n,o,i,a]=Cn(A,r,[null,null,null]),[l,c,B,u,f]=bd(e.angle,i,a),h=(this.canvas.ownerDocument??document).createElement("canvas");h.width=i,h.height=a;const m=h.getContext("2d"),E=m.createLinearGradient(c,u,B,f);if(gi(e.stops,l||1).forEach(p=>E.addColorStop(p.stop,sA(p.color))),m.fillStyle=E,m.fillRect(0,0,i,a),i>0&&a>0){const p=this.ctx.createPattern(h,"repeat");this.renderRepeat(s,p,n,o)}}renderRadialGradient(A,e,r){const[s,n,o,i,a]=Cn(A,r,[null,null,null]),l=e.position.length===0?[Xe]:e.position,c=D(l[0],i),B=D(l[l.length-1],a);let[u,f]=Hd(e,c,B,i,a);if((u===0||f===0)&&(u=Math.max(u,.01),f=Math.max(f,.01)),u>0&&f>0){const w=this.ctx.createRadialGradient(n+c,o+B,0,n+c,o+B,u);if(gi(e.stops,u*2).forEach(h=>w.addColorStop(h.stop,sA(h.color))),this.path(s),this.ctx.fillStyle=w,u!==f){const h=A.bounds.left+.5*A.bounds.width,m=A.bounds.top+.5*A.bounds.height,E=f/u,p=1/E;this.ctx.save(),this.ctx.translate(h,m),this.ctx.transform(1,0,0,E,0,0),this.ctx.translate(-h,-m),this.ctx.fillRect(n,p*(o-m)+m,i,a*p),this.ctx.restore()}else this.ctx.fill()}}renderRepeat(A,e,r,s){this.path(A),this.ctx.fillStyle=e,this.ctx.translate(r,s),this.ctx.fill(),this.ctx.translate(-r,-s)}resizeImage(A,e,r,s){const o=(this.canvas.ownerDocument??document).createElement("canvas");o.width=Math.max(1,e),o.height=Math.max(1,r);const i=o.getContext("2d");return s===jA.PIXELATED||s===jA.CRISP_EDGES?(this.context.logger.debug("Disabling image smoothing for background image due to CSS image-rendering"),i.imageSmoothingEnabled=!1):s===jA.SMOOTH?(this.context.logger.debug("Enabling image smoothing for background image due to CSS image-rendering: smooth"),i.imageSmoothingEnabled=!0):i.imageSmoothingEnabled=this.ctx.imageSmoothingEnabled,this.ctx.imageSmoothingQuality&&(i.imageSmoothingQuality=this.ctx.imageSmoothingQuality),i.drawImage(A,0,0,A.width,A.height,0,0,e,r),o}path(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()}formatPath(A){A.forEach((e,r)=>{const s=_A(e)?e.start:e;r===0?this.ctx.moveTo(s.x,s.y):this.ctx.lineTo(s.x,s.y),_A(e)&&this.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})}}const ya=(t,A)=>{switch(A){case 0:return ZA(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return ZA(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return ZA(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);default:return ZA(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},Ah=(t,A)=>{switch(A){case 0:return ZA(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return ZA(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return ZA(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);default:return ZA(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}},eh=(t,A)=>{switch(A){case 0:return ZA(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return ZA(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return ZA(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);default:return ZA(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}},th=(t,A)=>{switch(A){case 0:return As(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return As(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return As(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);default:return As(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}},As=(t,A)=>{const e=[];return _A(t)?e.push(t.subdivide(.5,!1)):e.push(t),_A(A)?e.push(A.subdivide(.5,!0)):e.push(A),e},ZA=(t,A,e,r)=>{const s=[];return _A(t)?s.push(t.subdivide(.5,!1)):s.push(t),_A(e)?s.push(e.subdivide(.5,!0)):s.push(e),_A(r)?s.push(r.subdivide(.5,!0).reverse()):s.push(r),_A(A)?s.push(A.subdivide(.5,!1).reverse()):s.push(A),s};class rh{constructor(A,e){this.ctx=A.ctx,this.pathCallbacks=e}async renderSolidBorder(A,e,r){this.pathCallbacks.path(ya(r,e)),this.ctx.fillStyle=sA(A),this.ctx.fill()}async renderDoubleBorder(A,e,r,s){if(e<3){await this.renderSolidBorder(A,r,s);return}const n=Ah(s,r);this.pathCallbacks.path(n),this.ctx.fillStyle=sA(A),this.ctx.fill();const o=eh(s,r);this.pathCallbacks.path(o),this.ctx.fill()}async renderDashedDottedBorder(A,e,r,s,n){this.ctx.save();const o=th(s,r),i=ya(s,r);n===2&&(this.pathCallbacks.path(i),this.ctx.clip());let a,l,c,B;_A(i[0])?(a=i[0].start.x,l=i[0].start.y):(a=i[0].x,l=i[0].y),_A(i[1])?(c=i[1].end.x,B=i[1].end.y):(c=i[1].x,B=i[1].y);let u;r===0||r===2?u=Math.abs(a-c):u=Math.abs(l-B),this.ctx.beginPath(),n===3?this.pathCallbacks.formatPath(o):this.pathCallbacks.formatPath(i.slice(0,2));let f=e<3?e*3:e*2,w=e<3?e*2:e;n===3&&(f=e,w=e);let h=!0;if(u<=f*2)h=!1;else if(u<=f*2+w){const m=u/(2*f+w);f*=m,w*=m}else{const m=Math.floor((u+w)/(f+w)),E=(u-m*f)/(m-1),p=(u-(m+1)*f)/m;w=p<=0||Math.abs(w-E)<Math.abs(w-p)?E:p}if(h&&(n===3?this.ctx.setLineDash([0,f+w]):this.ctx.setLineDash([f,w])),n===3?(this.ctx.lineCap="round",this.ctx.lineWidth=e):this.ctx.lineWidth=e*2+1.1,this.ctx.strokeStyle=sA(A),this.ctx.stroke(),this.ctx.setLineDash([]),n===2){if(_A(i[0])){const m=i[3],E=i[0];this.ctx.beginPath(),this.pathCallbacks.formatPath([new b(m.end.x,m.end.y),new b(E.start.x,E.start.y)]),this.ctx.stroke()}if(_A(i[1])){const m=i[1],E=i[2];this.ctx.beginPath(),this.pathCallbacks.formatPath([new b(m.end.x,m.end.y),new b(E.start.x,E.start.y)]),this.ctx.stroke()}}this.ctx.restore()}}class sh{constructor(A,e){this.activeEffects=[],this.ctx=A.ctx,this.pathCallback=e}applyEffects(A){for(;this.activeEffects.length;)this.popEffect();A.forEach(e=>this.applyEffect(e))}applyEffect(A){this.ctx.save(),_f(A)?this.ctx.globalAlpha=A.opacity:Vf(A)?(this.ctx.translate(A.offsetX,A.offsetY),this.ctx.transform(A.matrix[0],A.matrix[1],A.matrix[2],A.matrix[3],A.matrix[4],A.matrix[5]),this.ctx.translate(-A.offsetX,-A.offsetY)):wa(A)?(this.pathCallback.path(A.path),this.ctx.clip()):kf(A)&&A.applyClip(this.ctx),this.activeEffects.push(A)}popEffect(){this.activeEffects.pop(),this.ctx.restore()}getActiveEffectCount(){return this.activeEffects.length}hasActiveEffects(){return this.activeEffects.length>0}}const nh=["-apple-system","system-ui"],oh=/[\u2E80-\u2FFF\u3000-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uAC00-\uD7AF\uF900-\uFAFF\uFF01-\uFFEF]/,ih=t=>oh.test(t),ah=()=>{if(typeof navigator>"u")return null;const t=navigator.userAgent,A=/iPhone|iPad|iPod/.test(t),e=/Macintosh/.test(t)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1;if(!A&&!e)return null;const r=[/(?:iPhone|CPU(?:\siPhone)?)\sOS\s(\d+)[\._](\d+)/,/Version\/(\d+)\.(\d+)/];for(const s of r){const n=t.match(s);if(n&&n[1])return parseInt(n[1],10)}return null},ch=t=>{const A=ah();return A!==null&&A>=15&&A<17?t.map(e=>nh.indexOf(e)!==-1?'-apple-system, "Helvetica Neue", Arial, sans-serif':e):t};class lh{constructor(A){this.ctx=A.ctx,this.options=A.options}iterateLettersWithLetterSpacing(A,e,r,s){const n=Pr(A.text),o=A.bounds.top+r;let i=A.bounds.left;for(const a of n){if(ih(a)){const l=this.ctx.textBaseline;this.ctx.textBaseline="ideographic",s(a,i,o),this.ctx.textBaseline=l}else s(a,i,o);i+=this.ctx.measureText(a).width+e}}renderTextWithLetterSpacing(A,e,r){e===0?this.ctx.fillText(A.text,A.bounds.left,A.bounds.top+r):this.iterateLettersWithLetterSpacing(A,e,r,(s,n,o)=>{this.ctx.fillText(s,n,o)})}renderTextBoundWithPaintOrder(A,e,r){r.forEach(s=>{switch(s){case 0:this.ctx.fillStyle=sA(e.color),this.renderTextWithLetterSpacing(A,e.letterSpacing,e.fontSize.number);break;case 1:e.webkitTextStrokeWidth&&A.text.trim().length&&(this.ctx.strokeStyle=sA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(A.text,A.bounds.left,A.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(A,e.letterSpacing,e.fontSize.number,(n,o,i)=>this.ctx.strokeText(n,o,i)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}})}renderTextDecoration(A,e){this.ctx.fillStyle=sA(e.textDecorationColor||e.color);let r=1;typeof e.textDecorationThickness=="number"?r=e.textDecorationThickness:e.textDecorationThickness==="from-font"&&(r=Math.max(1,Math.floor(e.fontSize.number*.05)));let s=0;typeof e.textUnderlineOffset=="number"&&(s=e.textUnderlineOffset);const n=e.textDecorationStyle;e.textDecorationLine.forEach(o=>{let i=0;switch(o){case 1:i=A.top+A.height-r+s;break;case 2:i=A.top;break;case 3:i=A.top+(A.height/2-r/2);break;default:return}this.drawDecorationLine(A.left,i,A.width,r,n)})}drawDecorationLine(A,e,r,s,n){switch(n){case 0:this.ctx.fillRect(A,e,r,s);break;case 1:const o=Math.max(1,s);this.ctx.fillRect(A,e,r,s),this.ctx.fillRect(A,e+s+o,r,s);break;case 2:this.ctx.save(),this.ctx.beginPath(),this.ctx.setLineDash([s,s*2]),this.ctx.lineWidth=s,this.ctx.strokeStyle=this.ctx.fillStyle,this.ctx.moveTo(A,e+s/2),this.ctx.lineTo(A+r,e+s/2),this.ctx.stroke(),this.ctx.restore();break;case 3:this.ctx.save(),this.ctx.beginPath(),this.ctx.setLineDash([s*3,s*2]),this.ctx.lineWidth=s,this.ctx.strokeStyle=this.ctx.fillStyle,this.ctx.moveTo(A,e+s/2),this.ctx.lineTo(A+r,e+s/2),this.ctx.stroke(),this.ctx.restore();break;case 4:this.ctx.save(),this.ctx.beginPath(),this.ctx.lineWidth=s,this.ctx.strokeStyle=this.ctx.fillStyle;const i=s*2,a=s*4;let l=A;for(this.ctx.moveTo(l,e+s/2);l<A+r;){const c=Math.min(l+a/2,A+r);if(this.ctx.quadraticCurveTo(l+a/4,e+s/2-i,c,e+s/2),l=c,l<A+r){const B=Math.min(l+a/2,A+r);this.ctx.quadraticCurveTo(l+a/4,e+s/2+i,B,e+s/2),l=B}}this.ctx.stroke(),this.ctx.restore();break;default:this.ctx.fillRect(A,e,r,s)}}truncateTextWithEllipsis(A,e,r){const n=this.ctx.measureText("…").width,o=Pr(A);if(r===0){const i=c=>this.ctx.measureText(o.slice(0,c).join("")).width+n<=e;let a=0,l=o.length;for(;a<l;){const c=a+l+1>>1;i(c)?a=c:l=c-1}return o.slice(0,a).join("")+"…"}else{let i=n;const a=[];for(const l of o){const c=this.ctx.measureText(l).width;if(i+c>e)break;a.push(l),i+=c+r}return a.join("")+"…"}}createFontStyle(A){const e=A.fontVariant.filter(n=>n==="normal"||n==="small-caps").join(""),r=ch(A.fontFamily).join(", "),s=Be(A.fontSize)?`${A.fontSize.number}${A.fontSize.unit}`:`${A.fontSize.number}px`;return[[A.fontStyle,e,A.fontWeight,s,r].join(" "),r,s]}async renderTextNode(A,e,r){const[s]=this.createFontStyle(e);this.ctx.font=s,this.ctx.direction=e.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic";const n=e.paintOrder,o=e.fontSize.number*1.5;if(e.webkitLineClamp>0&&(e.display&2)!==0&&e.overflowY===1&&A.textBounds.length>0){const B=[];let u=[],f=A.textBounds[0].bounds.top;A.textBounds.forEach(h=>{Math.abs(h.bounds.top-f)>=o*.5?(u.length>0&&B.push(u),u=[h],f=h.bounds.top):u.push(h)}),u.length>0&&B.push(u);const w=e.webkitLineClamp;if(B.length>w){for(let m=0;m<w-1;m++)B[m].forEach(E=>{this.renderTextBoundWithPaintOrder(E,e,n)});const h=B[w-1];if(h&&h.length>0&&r){const m=h.map(F=>F.text).join(""),E=h[0],p=r.width-(E.bounds.left-r.left),x=this.truncateTextWithEllipsis(m,p,e.letterSpacing),T=new je(x,E.bounds);n.forEach(F=>{switch(F){case 0:this.ctx.fillStyle=sA(e.color),e.letterSpacing===0?this.ctx.fillText(x,E.bounds.left,E.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(T,e.letterSpacing,e.fontSize.number,(K,V,Z)=>this.ctx.fillText(K,V,Z));break;case 1:e.webkitTextStrokeWidth&&x.trim().length&&(this.ctx.strokeStyle=sA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(x,E.bounds.left,E.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(T,e.letterSpacing,e.fontSize.number,(K,V,Z)=>this.ctx.strokeText(K,V,Z)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}})}return}}const a=e.textOverflow===1&&r&&e.overflowX===1&&A.textBounds.length>0;let l=!1,c="";if(a){const B=A.textBounds[0].bounds.top;if(A.textBounds.every(f=>Math.abs(f.bounds.top-B)<o*.5)){let f=A.textBounds.map(m=>m.text).join("");f=f.replace(/\s+/g," ").trim();const w=this.ctx.measureText(f).width,h=r.width;w>h&&(l=!0,c=this.truncateTextWithEllipsis(f,h,e.letterSpacing))}}if(l){const B=A.textBounds[0],u=new je(c,B.bounds);n.forEach(f=>{switch(f){case 0:{this.ctx.fillStyle=sA(e.color),e.letterSpacing===0?this.ctx.fillText(c,B.bounds.left,B.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(u,e.letterSpacing,e.fontSize.number,(h,m,E)=>this.ctx.fillText(h,m,E));const w=e.textShadow;w.length&&c.trim().length&&(w.slice(0).reverse().forEach(h=>{this.ctx.shadowColor=sA(h.color),this.ctx.shadowOffsetX=h.offsetX.number*this.options.scale,this.ctx.shadowOffsetY=h.offsetY.number*this.options.scale,this.ctx.shadowBlur=h.blur.number,e.letterSpacing===0?this.ctx.fillText(c,B.bounds.left,B.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(u,e.letterSpacing,e.fontSize.number,(m,E,p)=>this.ctx.fillText(m,E,p))}),this.ctx.shadowColor="",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0);break}case 1:e.webkitTextStrokeWidth&&c.trim().length&&(this.ctx.strokeStyle=sA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(c,B.bounds.left,B.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(u,e.letterSpacing,e.fontSize.number,(w,h,m)=>this.ctx.strokeText(w,h,m)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}});return}A.textBounds.forEach(B=>{n.forEach(u=>{switch(u){case 0:{this.ctx.fillStyle=sA(e.color),this.renderTextWithLetterSpacing(B,e.letterSpacing,e.fontSize.number);const f=e.textShadow;f.length&&B.text.trim().length&&(f.slice(0).reverse().forEach(w=>{this.ctx.shadowColor=sA(w.color),this.ctx.shadowOffsetX=w.offsetX.number*this.options.scale,this.ctx.shadowOffsetY=w.offsetY.number*this.options.scale,this.ctx.shadowBlur=w.blur.number,this.renderTextWithLetterSpacing(B,e.letterSpacing,e.fontSize.number)}),this.ctx.shadowColor="",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0),e.textDecorationLine.length&&this.renderTextDecoration(B.bounds,e);break}case 1:{if(e.webkitTextStrokeWidth&&B.text.trim().length){this.ctx.strokeStyle=sA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round";const f=e.fontSize.number;e.letterSpacing===0?this.ctx.strokeText(B.text,B.bounds.left,B.bounds.top+f):this.iterateLettersWithLetterSpacing(B,e.letterSpacing,f,(w,h,m)=>this.ctx.strokeText(w,h,m)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter"}break}}})})}}const Bh=1e4;class mn extends Ea{constructor(A,e){super(A,e),this.canvas=e.canvas?e.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),e.canvas||(this.canvas.width=Math.floor(e.width*e.scale),this.canvas.height=Math.floor(e.height*e.scale),this.canvas.style.width=`${e.width}px`,this.canvas.style.height=`${e.height}px`),this.fontMetrics=new $f(document),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-e.x,-e.y),this.ctx.textBaseline="bottom",e.imageSmoothing!==void 0&&(this.ctx.imageSmoothingEnabled=e.imageSmoothing),e.imageSmoothingQuality&&(this.ctx.imageSmoothingQuality=e.imageSmoothingQuality),this.backgroundRenderer=new qf({ctx:this.ctx,context:this.context,canvas:this.canvas,options:{width:e.width,height:e.height,scale:e.scale}}),this.borderRenderer=new rh({ctx:this.ctx},{path:r=>this.path(r),formatPath:r=>this.formatPath(r)}),this.effectsRenderer=new sh({ctx:this.ctx},{path:r=>this.path(r)}),this.textRenderer=new lh({ctx:this.ctx,context:this.context,options:{scale:e.scale}}),this.context.logger.debug(`Canvas renderer initialized (${e.width}x${e.height}) with scale ${e.scale}`)}async renderStack(A){A.element.container.styles.isVisible()&&await this.renderStackContent(A)}async renderNode(A){if(iA(A.container.flags,16))debugger;A.container.styles.isVisible()&&(await this.renderNodeBackgroundAndBorders(A),await this.renderNodeContent(A))}renderReplacedElement(A,e,r){const s=r.naturalWidth||A.intrinsicWidth,n=r.naturalHeight||A.intrinsicHeight;if(r&&s>0&&n>0){const o=Pt(A),i=Zr(e);this.path(i),this.ctx.save(),this.ctx.clip();let a=0,l=0,c=s,B=n,u=o.left,f=o.top,w=o.width,h=o.height;const{objectFit:m}=A.styles,E=w/h,p=c/B;if(m===2)p>E?(h=w/p,f+=(o.height-h)/2):(w=h*p,u+=(o.width-w)/2);else if(m===4)p>E?(c=B*E,a+=(s-c)/2):(B=c/E,l+=(n-B)/2);else if(m===8)c>w?(a+=(c-w)/2,c=w):(u+=(w-c)/2,w=c),B>h?(l+=(B-h)/2,B=h):(f+=(h-B)/2,h=B);else if(m===16){const x=p>E?w:h*p,T=c>w?c:w;x<T?p>E?(h=w/p,f+=(o.height-h)/2):(w=h*p,u+=(o.width-w)/2):(c>w?(a+=(c-w)/2,c=w):(u+=(w-c)/2,w=c),B>h?(l+=(B-h)/2,B=h):(f+=(h-B)/2,h=B))}this.ctx.drawImage(r,a,l,c,B,u,f,w,h),this.ctx.restore()}}async renderNodeContent(A){this.effectsRenderer.applyEffects(A.getEffects(4));const e=A.container,r=A.curves,s=e.styles,n=Pt(e);for(const o of e.textNodes)await this.textRenderer.renderTextNode(o,s,n);if(e instanceof Ji)try{const o=await this.context.cache.match(e.src),i=this.ctx.imageSmoothingEnabled;s.imageRendering===jA.PIXELATED||s.imageRendering===jA.CRISP_EDGES?(this.context.logger.debug(`Disabling image smoothing for ${e.src} due to CSS image-rendering: ${s.imageRendering===jA.PIXELATED?"pixelated":"crisp-edges"}`),this.ctx.imageSmoothingEnabled=!1):s.imageRendering===jA.SMOOTH&&(this.context.logger.debug(`Enabling image smoothing for ${e.src} due to CSS image-rendering: smooth`),this.ctx.imageSmoothingEnabled=!0),this.renderReplacedElement(e,r,o),this.ctx.imageSmoothingEnabled=i}catch{this.context.logger.error(`Error loading image ${e.src}`)}if(e instanceof ji&&this.renderReplacedElement(e,r,e.canvas),e instanceof Yi)try{const o=await this.context.cache.match(e.svg);this.renderReplacedElement(e,r,o)}catch{this.context.logger.error(`Error loading svg ${e.svg.substring(0,255)}`)}if(e instanceof Aa&&e.tree){const i=await new mn(this.context,{scale:this.options.scale,backgroundColor:e.backgroundColor,x:0,y:0,width:e.width,height:e.height}).render(e.tree);e.width&&e.height&&this.ctx.drawImage(i,0,0,e.width,e.height,e.bounds.left,e.bounds.top,e.bounds.width,e.bounds.height)}if(e instanceof Mt){const o=Math.min(e.bounds.width,e.bounds.height);e.type===Xr?e.checked&&(this.ctx.save(),this.path([new b(e.bounds.left+o*.39363,e.bounds.top+o*.79),new b(e.bounds.left+o*.16,e.bounds.top+o*.5549),new b(e.bounds.left+o*.27347,e.bounds.top+o*.44071),new b(e.bounds.left+o*.39694,e.bounds.top+o*.5649),new b(e.bounds.left+o*.72983,e.bounds.top+o*.23),new b(e.bounds.left+o*.84,e.bounds.top+o*.34085),new b(e.bounds.left+o*.39363,e.bounds.top+o*.79)]),this.ctx.fillStyle=sA(Zi),this.ctx.fill(),this.ctx.restore()):e.type===Wr&&e.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(e.bounds.left+o/2,e.bounds.top+o/2,o/4,0,Math.PI*2,!0),this.ctx.fillStyle=sA(Zi),this.ctx.fill(),this.ctx.restore())}if(dh(e)&&e.value.length){const[o,i,a]=this.textRenderer.createFontStyle(s),{baseline:l}=this.fontMetrics.getMetrics(i,a);this.ctx.font=o;const c=e instanceof Mt&&e.isPlaceholder;this.ctx.fillStyle=sA(c?ff:s.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=uh(e.styles.textAlign);const B=Pt(e);let u=0;switch(e.styles.textAlign){case 1:u+=B.width/2;break;case 2:u+=B.width;break}let f=0;if(e instanceof Mt){const h=D(s.fontSize,0);f=(B.height-h)/2}const w=B.add(u,f,0,0);this.ctx.save(),this.path([new b(B.left,B.top),new b(B.left+B.width,B.top),new b(B.left+B.width,B.top+B.height),new b(B.left,B.top+B.height)]),this.ctx.clip(),this.textRenderer.renderTextWithLetterSpacing(new je(e.value,w),s.letterSpacing,l),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(iA(e.styles.display,2048)){if(e.styles.listStyleImage!==null){const o=e.styles.listStyleImage;if(o.type===0){let i;const a=o.url;try{i=await this.context.cache.match(a),this.ctx.drawImage(i,e.bounds.left-(i.width+10),e.bounds.top)}catch{this.context.logger.error(`Error loading list-style-image ${a}`)}}}else if(A.listValue&&e.styles.listStyleType!==-1){const[o]=this.textRenderer.createFontStyle(s);this.ctx.font=o,this.ctx.fillStyle=sA(s.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right";const i=new OA(e.bounds.left,e.bounds.top+D(e.styles.paddingTop,e.bounds.width),e.bounds.width,Ei(s.lineHeight,s.fontSize.number)/2+1);this.textRenderer.renderTextWithLetterSpacing(new je(A.listValue,i),s.letterSpacing,Ei(s.lineHeight,s.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"}}}async renderStackContent(A){if(iA(A.element.container.flags,16))debugger;await this.renderNodeBackgroundAndBorders(A.element);for(const e of A.negativeZIndex)await this.renderStack(e);await this.renderNodeContent(A.element);for(const e of A.nonInlineLevel)await this.renderNode(e);for(const e of A.nonPositionedFloats)await this.renderStack(e);for(const e of A.nonPositionedInlineLevel)await this.renderStack(e);for(const e of A.inlineLevel)await this.renderNode(e);for(const e of A.zeroOrAutoZIndexOrTransformedOrOpacity)await this.renderStack(e);for(const e of A.positiveZIndex)await this.renderStack(e)}mask(A){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.options.width,0),this.ctx.lineTo(this.options.width,this.options.height),this.ctx.lineTo(0,this.options.height),this.ctx.lineTo(0,0),this.formatPath(A.slice(0).reverse()),this.ctx.closePath()}path(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()}formatPath(A){A.forEach((e,r)=>{const s=_A(e)?e.start:e;r===0?this.ctx.moveTo(s.x,s.y):this.ctx.lineTo(s.x,s.y),_A(e)&&this.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})}async renderNodeBackgroundAndBorders(A){this.effectsRenderer.applyEffects(A.getEffects(2));const e=A.container.styles,r=!Te(e.backgroundColor)||e.backgroundImage.length,s=[{style:e.borderTopStyle,color:e.borderTopColor,width:e.borderTopWidth},{style:e.borderRightStyle,color:e.borderRightColor,width:e.borderRightWidth},{style:e.borderBottomStyle,color:e.borderBottomColor,width:e.borderBottomWidth},{style:e.borderLeftStyle,color:e.borderLeftColor,width:e.borderLeftWidth}],n=gh(dt(e.backgroundClip,0),A.curves);(r||e.boxShadow.length)&&(this.ctx.save(),this.path(n),this.ctx.clip(),Te(e.backgroundColor)||(this.ctx.fillStyle=sA(e.backgroundColor),this.ctx.fill()),await this.backgroundRenderer.renderBackgroundImage(A.container),this.ctx.restore(),e.boxShadow.slice(0).reverse().forEach(i=>{this.ctx.save();const a=zr(A.curves),l=i.inset?0:Bh,c=Pf(a,-l+(i.inset?1:-1)*i.spread.number,(i.inset?1:-1)*i.spread.number,i.spread.number*(i.inset?-2:2),i.spread.number*(i.inset?-2:2));i.inset?(this.path(a),this.ctx.clip(),this.mask(c)):(this.mask(a),this.ctx.clip(),this.path(c)),this.ctx.shadowOffsetX=i.offsetX.number+l,this.ctx.shadowOffsetY=i.offsetY.number,this.ctx.shadowColor=sA(i.color),this.ctx.shadowBlur=i.blur.number,this.ctx.fillStyle=i.inset?sA(i.color):"rgba(0,0,0,1)",this.ctx.fill(),this.ctx.restore()}));let o=0;for(const i of s)i.style!==0&&!Te(i.color)&&i.width>0&&(i.style===2?await this.borderRenderer.renderDashedDottedBorder(i.color,i.width,o,A.curves,2):i.style===3?await this.borderRenderer.renderDashedDottedBorder(i.color,i.width,o,A.curves,3):i.style===4?await this.borderRenderer.renderDoubleBorder(i.color,i.width,o,A.curves):await this.borderRenderer.renderSolidBorder(i.color,o,A.curves)),o++}async render(A){this.options.backgroundColor&&(this.ctx.fillStyle=sA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height));const e=Wf(A);return await this.renderStack(e),this.effectsRenderer.applyEffects([]),this.canvas}}const dh=t=>t instanceof qi||t instanceof $i?!0:t instanceof Mt&&t.type!==Wr&&t.type!==Xr,gh=(t,A)=>{switch(t){case 0:return zr(A);case 2:return Nf(A);default:return Zr(A)}},uh=t=>{switch(t){case 1:return"center";case 2:return"right";default:return"left"}};class fh extends Ea{constructor(A,e){super(A,e),this.canvas=e.canvas?e.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=e,this.canvas.width=Math.floor(e.width*e.scale),this.canvas.height=Math.floor(e.height*e.scale),this.canvas.style.width=`${e.width}px`,this.canvas.style.height=`${e.height}px`,this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-e.x,-e.y),this.context.logger.debug(`EXPERIMENTAL ForeignObject renderer initialized (${e.width}x${e.height} at ${e.x},${e.y}) with scale ${e.scale}`)}async render(A){const e=cn(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A),r=await hh(e);return this.options.backgroundColor&&(this.ctx.fillStyle=sA(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(r,-this.options.x*this.options.scale,-this.options.y*this.options.scale),this.canvas}}const hh=t=>new Promise((A,e)=>{const r=new Image;r.onload=()=>{A(r)},r.onerror=e,r.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(new XMLSerializer().serializeToString(t))}`});class ba{constructor({id:A,enabled:e}){this.id=A,this.enabled=e,this.start=Date.now()}debug(...A){this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug(this.id,`${this.getTime()}ms`,...A):this.info(...A))}getTime(){return Date.now()-this.start}info(...A){this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info(this.id,`${this.getTime()}ms`,...A)}warn(...A){this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn(this.id,`${this.getTime()}ms`,...A):this.info(...A))}error(...A){this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error(this.id,`${this.getTime()}ms`,...A):this.info(...A))}}ba.instances={};class wh{constructor(A,e){if(this.context=A,this._options=e,this._cache=new Map,this._pendingOperations=new Map,this.maxSize=e.maxCacheSize??100,this.maxSize<1)throw new Error("Cache maxSize must be at least 1");this.maxSize>1e4&&this.context.logger.warn(`Cache maxSize ${this.maxSize} is very large and may cause memory issues. Consider using a smaller value (recommended: 100-1000).`)}addImage(A){const e=this._pendingOperations.get(A);if(e)return e;if(this.has(A)){const r=this._cache.get(A);return r&&(r.lastAccessed=Date.now()),Promise.resolve()}if(Fn(A)||mh(A)){const r=this._addImageInternal(A);return this._pendingOperations.set(A,r),r.finally(()=>{this._pendingOperations.delete(A)}),r}return Promise.resolve()}async _addImageInternal(A){const e=this._options.imageTimeout??15e3,r=new Promise((n,o)=>{setTimeout(()=>{o(new Error(`Image load timeout after ${e}ms: ${A}`))},e)}),s=Promise.race([this.loadImage(A),r]);s.catch(n=>{this.context.logger.error(`Failed to load image ${A}: ${n instanceof Error?n.message:"Unknown error"}`)}),this.set(A,s)}match(A){const e=this._cache.get(A);if(e)return e.lastAccessed=Date.now(),e.value}set(A,e){if(this._cache.has(A)){const r=this._cache.get(A);r.value=e,r.lastAccessed=Date.now();return}this._cache.size>=this.maxSize&&this.evictLRU(),this._cache.set(A,{value:e,lastAccessed:Date.now()})}evictLRU(){let A=null,e=1/0;for(const[r,s]of this._cache.entries())s.lastAccessed<e&&(e=s.lastAccessed,A=r);A&&(this._cache.delete(A),this.context.logger.debug(`Cache: Evicted LRU entry: ${A}`))}size(){return this._cache.size}getMaxSize(){return this.maxSize}clear(){this._cache.clear()}async loadImage(A){const e=this.context.originChecker,r=a=>e.isSameOrigin(a),s=typeof this._options.customIsSameOrigin=="function"?await this._options.customIsSameOrigin(A,r):r(A),n=!Un(A)&&this._options.useCORS===!0&&SA.SUPPORT_CORS_IMAGES&&!s,o=!Un(A)&&!s&&!Fn(A)&&typeof this._options.proxy=="string"&&SA.SUPPORT_CORS_XHR&&!n;if(!s&&this._options.allowTaint===!1&&!Un(A)&&!Fn(A)&&!o&&!n)return;let i=A;return o&&(i=await this.proxy(i)),this.context.logger.debug(`Added image ${A.substring(0,256)}`),await new Promise((a,l)=>{const c=new Image;c.onload=()=>a(c),c.onerror=l,(Uh(i)||n)&&(c.crossOrigin="anonymous"),c.src=i,c.complete===!0&&setTimeout(()=>a(c),500),this._options.imageTimeout>0&&setTimeout(()=>l(`Timed out (${this._options.imageTimeout}ms) loading image`),this._options.imageTimeout)})}has(A){return this._cache.has(A)}keys(){return Promise.resolve(Object.keys(this._cache))}proxy(A){const e=this._options.proxy;if(!e)throw new Error("No proxy defined");const r=A.substring(0,256);return new Promise((s,n)=>{const o=SA.SUPPORT_RESPONSE_TYPE?"blob":"text",i=new XMLHttpRequest;i.onload=()=>{if(i.status===200)if(o==="text")s(i.response);else{const l=new FileReader;l.addEventListener("load",()=>s(l.result),!1),l.addEventListener("error",c=>n(c),!1),l.readAsDataURL(i.response)}else n(`Failed to proxy resource ${r} with status code ${i.status}`)},i.onerror=n;const a=e.indexOf("?")>-1?"&":"?";if(i.open("GET",`${e}${a}url=${encodeURIComponent(A)}&responseType=${o}`),o!=="text"&&i instanceof XMLHttpRequest&&(i.responseType=o),this._options.imageTimeout){const l=this._options.imageTimeout;i.timeout=l,i.ontimeout=()=>n(`Timed out (${l}ms) proxying ${r}`)}i.send()})}}const ph=/^data:image\/svg\+xml/i,Qh=/^data:image\/.*;base64,/i,Ch=/^data:image\/.*/i,mh=t=>SA.SUPPORT_SVG_DRAWING||!Fh(t),Un=t=>Ch.test(t),Uh=t=>Qh.test(t),Fn=t=>t.substr(0,4)==="blob",Fh=t=>t.substr(-3).toLowerCase()==="svg"||ph.test(t);class xh{constructor(A){if(!A||!A.document)throw new Error("Valid window object required for OriginChecker");if(!A.location||!A.location.href)throw new Error("Window object must have valid location");this.link=A.document.createElement("a"),this.origin=this.getOrigin(A.location.href)}getOrigin(A){return this.link.href=A,this.link.href=this.link.href,this.link.protocol+this.link.hostname+this.link.port}isSameOrigin(A){return this.getOrigin(A)===this.origin}getContextOrigin(){return this.origin}}class es{constructor(A,e,r){this.windowBounds=e,this.instanceName=`#${es.instanceCount++}`,this.config=r,this.logger=new ba({id:this.instanceName,enabled:A.logging}),this.originChecker=new xh(r.window),this.cache=A.cache??r.cache??new wh(this,A)}}es.instanceCount=1;class Xt{constructor(A={}){if(this.window=A.window||(typeof window<"u"?window:null),!this.window)throw new Error("Window object is required but not available");this.cspNonce=A.cspNonce,this.cache=A.cache}static fromElement(A,e={}){const r=A.ownerDocument;if(!r)throw new Error("Element is not attached to a document");const s=r.defaultView;if(!s)throw new Error("Document is not attached to a window");return new Xt({window:s,...e})}clone(A={}){return new Xt({window:A.window||this.window,cspNonce:A.cspNonce??this.cspNonce,cache:A.cache??this.cache})}}function Eh(t){console.warn("[html2canvas-pro] setDefaultConfig is deprecated. Pass configuration to html2canvas directly.")}class yh{constructor(A={}){this.config={maxImageTimeout:3e5,allowDataUrls:!0,...A}}validateUrl(A,e="general"){if(!A||typeof A!="string")return{valid:!1,error:"URL must be a non-empty string"};if(A.startsWith("data:"))return this.config.allowDataUrls?{valid:!0,sanitized:A}:{valid:!1,error:"Data URLs are not allowed"};if(A.startsWith("blob:"))return{valid:!0,sanitized:A};try{const r=new URL(A);if(!["http:","https:"].includes(r.protocol))return{valid:!1,error:`Protocol ${r.protocol} is not allowed. Only http and https are permitted.`};if(e==="proxy"&&this.config.allowedProxyDomains&&this.config.allowedProxyDomains.length>0){const s=r.hostname.toLowerCase();if(!this.config.allowedProxyDomains.some(o=>{const i=o.toLowerCase();return s===i||s.endsWith("."+i)}))return{valid:!1,error:`Proxy domain ${r.hostname} is not in the allowed list`}}if(e==="proxy"){if(!this.config.allowLocalhostProxy){const s=r.hostname.toLowerCase();if(s==="localhost"||s==="127.0.0.1"||s==="::1")return{valid:!1,error:"Localhost is not allowed for proxy URLs"};if(this.isPrivateIP(s))return{valid:!1,error:"Private IP addresses are not allowed for proxy URLs"};if(s.startsWith("169.254.")||s.startsWith("fe80:"))return{valid:!1,error:"Link-local addresses are not allowed for proxy URLs"}}return{valid:!0,sanitized:A,requiresRuntimeCheck:!0}}return{valid:!0,sanitized:A}}catch(r){return{valid:!1,error:`Invalid URL format: ${r instanceof Error?r.message:"Unknown error"}`}}}isPrivateIP(A){return[/^0\./,/^10\./,/^100\.(6[4-9]|[7-9][0-9]|1[0-1][0-9]|12[0-7])\./,/^127\./,/^169\.254\./,/^172\.(1[6-9]|2[0-9]|3[0-1])\./,/^192\.0\.0\./,/^192\.0\.2\./,/^192\.168\./,/^198\.(1[8-9])\./,/^198\.51\.100\./,/^203\.0\.113\./,/^2(2[4-9]|3[0-9])\./,/^24[0-9]\./,/^255\.255\.255\.255$/].some(r=>r.test(A))?!0:A.includes(":")?this.isPrivateIPv6(A):!1}isPrivateIPv6(A){const s=A.toLowerCase().trim().replace(/^\[|\]$/g,"").split("%")[0];if(/^(0:){7}1$/.test(s)||s==="::1"||/^(0:){7}0$/.test(s)||s==="::")return!0;const n=this.expandIPv6(s);if(!n)return this.isPrivateIPv6Prefix(s);const o=parseInt(n.substring(0,2),16);if(o>=252&&o<=253)return!0;if(o===254){const i=parseInt(n.substring(2,4),16);if(i>=128&&i<=191)return!0}return o===255}expandIPv6(A){try{if(A.includes("::")){const e=A.split("::");if(e.length>2)return null;const r=e[0]?e[0].split(":"):[],s=e[1]?e[1].split(":"):[],n=8-r.length-s.length;if(n<0)return null;const o=Array(n).fill("0000");return[...r,...o,...s].map(a=>a.padStart(4,"0")).join(":")}else{const e=A.split(":");return e.length!==8?null:e.map(r=>r.padStart(4,"0")).join(":")}}catch{return null}}isPrivateIPv6Prefix(A){return!!(/^fc[0-9a-f]{0,2}:?/i.test(A)||/^fd[0-9a-f]{0,2}:?/i.test(A)||/^fe[89ab][0-9a-f]:?/i.test(A)||/^ff[0-9a-f]{0,2}:?/i.test(A))}validateCspNonce(A){return!A||typeof A!="string"?{valid:!1,error:"CSP nonce must be a non-empty string"}:A.length<16?{valid:!1,error:"CSP nonce is too short (minimum 16 characters recommended)"}:/^[A-Za-z0-9+/=_-]+$/.test(A)?{valid:!0,sanitized:A}:{valid:!1,error:"CSP nonce contains invalid characters"}}validateImageTimeout(A){return typeof A!="number"||isNaN(A)?{valid:!1,error:"Image timeout must be a number"}:A<0?{valid:!1,error:"Image timeout cannot be negative"}:this.config.maxImageTimeout&&A>this.config.maxImageTimeout?{valid:!1,error:`Image timeout ${A}ms exceeds maximum allowed ${this.config.maxImageTimeout}ms`}:{valid:!0,sanitized:A}}validateDimensions(A,e){if(typeof A!="number"||typeof e!="number")return{valid:!1,error:"Dimensions must be numbers"};if(isNaN(A)||isNaN(e))return{valid:!1,error:"Dimensions cannot be NaN"};if(A<=0||e<=0)return{valid:!1,error:"Dimensions must be positive"};const r=32767;return A>r||e>r?{valid:!1,error:`Dimensions exceed maximum allowed (${r}px)`}:{valid:!0,sanitized:{width:A,height:e}}}validateScale(A){return typeof A!="number"||isNaN(A)?{valid:!1,error:"Scale must be a number"}:A<=0?{valid:!1,error:"Scale must be positive"}:A>10?{valid:!1,error:"Scale factor too large (maximum 10x)"}:{valid:!0,sanitized:A}}validateElement(A){return A?typeof A!="object"?{valid:!1,error:"Element must be an object"}:typeof HTMLElement<"u"&&A instanceof HTMLElement?A.ownerDocument?{valid:!0}:{valid:!1,error:"Element must be attached to a document"}:A.ownerDocument?A.ownerDocument.defaultView?{valid:!0}:{valid:!1,error:"Document must be attached to a window (ownerDocument.defaultView required)"}:{valid:!1,error:"Element must be attached to a document (ownerDocument required)"}:{valid:!1,error:"Element is required"}}validateOptions(A){const e=[],r=A.proxy;if(r!=null&&typeof r=="string"&&r.length>0){const s=this.validateUrl(r,"proxy");s.valid||e.push(`Proxy: ${s.error}`)}if(A.imageTimeout!==void 0){const s=this.validateImageTimeout(A.imageTimeout);s.valid||e.push(`Image timeout: ${s.error}`)}if(A.width!==void 0||A.height!==void 0){const s=A.width??800,n=A.height??600,o=this.validateDimensions(s,n);o.valid||e.push(`Dimensions: ${o.error}`)}if(A.scale!==void 0){const s=this.validateScale(A.scale);s.valid||e.push(`Scale: ${s.error}`)}if(A.cspNonce!==void 0){const s=this.validateCspNonce(A.cspNonce);s.valid||e.push(`CSP nonce: ${s.error}`)}if(this.config.customValidator){const s=this.config.customValidator(A,"options");s.valid||e.push(`Custom validation: ${s.error}`)}return e.length>0?{valid:!1,error:e.join("; ")}:{valid:!0}}}function bh(t={}){return new yh({allowDataUrls:!0,maxImageTimeout:3e5,...t})}class Hh{constructor(A,e=!0){this.context=A,this.activeMetrics=new Map,this.completedMetrics=[],this.enabled=e,this.getTime=typeof performance<"u"&&typeof performance.now=="function"?()=>performance.now():()=>Date.now()}start(A,e){this.enabled&&(this.activeMetrics.has(A)&&this.context?.logger.warn(`Performance metric '${A}' already started. Overwriting.`),this.activeMetrics.set(A,{name:A,startTime:this.getTime(),metadata:e}))}end(A){if(!this.enabled)return;const e=this.activeMetrics.get(A);if(!e){this.context?.logger.warn(`Performance metric '${A}' not found. Was start() called?`);return}return e.endTime=this.getTime(),e.duration=e.endTime-e.startTime,this.completedMetrics.push(e),this.activeMetrics.delete(A),this.context?.logger.debug(`⏱️ ${A}: ${e.duration.toFixed(2)}ms`,e.metadata),e}measure(A,e,r){this.start(A,r);try{const s=e();return this.end(A),s}catch(s){throw this.end(A),s}}async measureAsync(A,e,r){this.start(A,r);try{const s=await e();return this.end(A),s}catch(s){throw this.end(A),s}}getMetrics(){return[...this.completedMetrics]}getMetric(A){return this.completedMetrics.find(e=>e.name===A)}getSummary(){const A=this.completedMetrics.reduce((r,s)=>r+(s.duration||0),0),e=this.completedMetrics.map(r=>({name:r.name,duration:r.duration||0,percentage:A>0?((r.duration||0)/A*100).toFixed(1)+"%":"0%"}));return{totalDuration:A,metrics:this.getMetrics(),breakdown:e}}logSummary(){if(!this.enabled||this.completedMetrics.length===0||!this.context)return;const A=this.getSummary();this.context.logger.info(`
|
|
12
|
+
📊 Performance Summary (Total: ${A.totalDuration.toFixed(2)}ms):`),A.breakdown.sort((e,r)=>r.duration-e.duration).forEach(e=>{this.context.logger.info(` ${e.name.padEnd(20)} ${e.duration.toFixed(2).padStart(8)}ms ${e.percentage.padStart(6)}`)})}clear(){this.activeMetrics.clear(),this.completedMetrics.splice(0)}isEnabled(){return this.enabled}getActiveMetrics(){return Array.from(this.activeMetrics.keys())}}const Ha=(t,A={},e)=>{const r=e||Xt.fromElement(t,{cspNonce:A.cspNonce,cache:A.cache});return Sh(t,A,r)},Ih=t=>{console.warn('[html2canvas-pro] setCspNonce is deprecated. Pass cspNonce in options instead: html2canvas(element, { cspNonce: "..." })'),typeof window<"u"&&Eh(new Xt({window,cspNonce:t}))};Ha.setCspNonce=Ih;const vh=t=>{["scale","width","height","imageTimeout","x","y","windowWidth","windowHeight","scrollX","scrollY"].forEach(e=>{const r=t[e];if(r!=null&&typeof r!="number"){const s=Number(r);Number.isNaN(s)||(t[e]=s)}})},Sh=async(t,A,e)=>{if(vh(A),!A.skipValidation){const $=A.validator||bh(),aA=$.validateElement(t);if(!aA.valid)throw new Error(aA.error);const q=$.validateOptions(A);if(!q.valid)throw new Error(`Invalid options: ${q.error}`)}if(!t||typeof t!="object")throw new Error("Invalid element provided as first argument");const r=t.ownerDocument;if(!r)throw new Error("Element is not attached to a Document");const s=r.defaultView;if(!s)throw new Error("Document is not attached to a Window");const n={allowTaint:A.allowTaint??!1,imageTimeout:A.imageTimeout??15e3,proxy:A.proxy,useCORS:A.useCORS??!1,customIsSameOrigin:A.customIsSameOrigin},o={logging:A.logging??!0,cache:A.cache??e.cache,...n},i=800,a=600,l=0,c=s,B={windowWidth:A.windowWidth??c.innerWidth??i,windowHeight:A.windowHeight??c.innerHeight??a,scrollX:A.scrollX??c.pageXOffset??l,scrollY:A.scrollY??c.pageYOffset??l},u=new OA(B.scrollX,B.scrollY,B.windowWidth,B.windowHeight),f=new es(o,u,e),w=A.enablePerformanceMonitoring??A.logging??!1,h=new Hh(f,w);h.start("total",{width:B.windowWidth,height:B.windowHeight});const m=A.foreignObjectRendering??!1,E={allowTaint:A.allowTaint??!1,onclone:A.onclone,ignoreElements:A.ignoreElements,iframeContainer:A.iframeContainer,inlineImages:m,copyStyles:m,cspNonce:A.cspNonce??e.cspNonce};f.logger.debug(`Starting document clone with size ${u.width}x${u.height} scrolled to ${-u.left},${-u.top}`),h.start("clone");const p=new ua(f,t,E),x=p.clonedReferenceElement;if(!x)throw new Error("Unable to find element in cloned iframe");const T=await p.toIFrame(r,u);h.end("clone");const{width:F,height:K,left:V,top:Z}=Bn(x)||Cf(x)?Gc(x.ownerDocument):or(f,x),S=Lh(f,x,A.backgroundColor),bA={canvas:A.canvas,backgroundColor:S,scale:A.scale??s.devicePixelRatio??1,x:(A.x??0)+V,y:(A.y??0)+Z,width:A.width??Math.ceil(F),height:A.height??Math.ceil(K),imageSmoothing:A.imageSmoothing,imageSmoothingQuality:A.imageSmoothingQuality};let UA,QA;try{return m?(f.logger.debug("Document cloned, using foreign object rendering"),h.start("render-foreignobject"),UA=await new fh(f,bA).render(x),h.end("render-foreignobject")):(f.logger.debug(`Document cloned, element located at ${V},${Z} with size ${F}x${K} using computed rendering`),f.logger.debug("Starting DOM parsing"),h.start("parse"),QA=ta(f,x),h.end("parse"),S===QA.styles.backgroundColor&&(QA.styles.backgroundColor=ge.TRANSPARENT),f.logger.debug(`Starting renderer for element at ${bA.x},${bA.y} with size ${bA.width}x${bA.height}`),h.start("render"),UA=await new mn(f,bA).render(QA),h.end("render")),h.start("cleanup"),(A.removeContainer??!0)&&(ua.destroy(T)||f.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),h.end("cleanup"),h.end("total"),f.logger.debug("Finished rendering"),w&&h.logSummary(),UA}finally{QA&&QA.restoreTree()}},Lh=(t,A,e)=>{const r=A.ownerDocument,s=r.documentElement?nt(t,getComputedStyle(r.documentElement).backgroundColor):ge.TRANSPARENT,n=r.body?nt(t,getComputedStyle(r.body).backgroundColor):ge.TRANSPARENT,o=typeof e=="string"?nt(t,e):e===null?ge.TRANSPARENT:4294967295;return A===r.documentElement?Te(s)?Te(n)?o:n:s:o},Wt=2147483647,xn=Wt-1,En=Wt-1,Th=Wt-10,Kh=Wt-5,Dh=Wt-15,se="data-vg-pin-id",Oh=()=>{const t=window.innerWidth;return t<768?"mobile":t<1024?"tablet":"desktop"},Ia=(t,A)=>{if(!t)return"";try{const e=new Date(t);return isNaN(e.getTime())?"":new Intl.DateTimeFormat(A==="es"?"es-ES":"en-US",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",hour12:!1}).format(e)}catch{return""}},va=({url:t,className:A,style:e,tooltipStyle:r,onHover:s})=>{const n=C.useRef(null),o=()=>{if(!n.current||!s)return;const l=n.current.getBoundingClientRect(),c=l.top,B=window.innerHeight-l.bottom,u=c<140&&B>c?"bottom":"top";s({url:t,x:l.left+l.width/2,y:u==="top"?l.top:l.bottom,direction:u})},i=l=>l.toLowerCase().replace(/\/$/g,"").replace(/\/(?:[0-9]+|(?:[0-9a-f]{24}))(?=\/|$)/g,"/:id"),a=()=>{try{const l=i(window.location.pathname),c=new URL(t),B=i(c.pathname);return l===B||l.startsWith(B)||B.startsWith(l)}catch{return!1}};return g.jsxs("div",{ref:n,className:`vg-url-tag ${A||""}`,style:{...e,opacity:a()?1:.6,borderColor:a()?"var(--vg-primary)":"#e2e8f0"},onMouseEnter:o,onMouseMove:o,onMouseLeave:()=>s?.(null),children:[g.jsx(Lc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:141",size:e?.fontSize?parseInt(e.fontSize)+1:10}),g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:142",style:{maxWidth:e?.maxWidth||"150px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:new URL(t).pathname})]})},Jt=t=>{const A=[],e=[],r=[];let s=t;for(;s&&s.nodeType===Node.ELEMENT_NODE;){if(s.id&&!s.id.startsWith("vg-")&&!s.id.includes(":")){A.unshift(`#${s.id}`),r.unshift(`${s.localName}#${s.id}`);break}let n=s.localName;const o=Array.from(s.parentNode?.children||[]).indexOf(s),i=`${s.localName}[${o}]`;r.unshift(i);const a=s.getAttribute("data-testid")||s.getAttribute("data-qa");if(a&&e.push(`[data-testid="${a}"]`),s.getAttribute("placeholder"),s.getAttribute("aria-label"),s.getAttribute("role"),s.getAttribute("name"),s.getAttribute("title"),a){n=`[${s.hasAttribute("data-testid")?"data-testid":"data-qa"}="${a}"]`,A.unshift(n);break}const l=Array.from(s.parentNode?.children||[]).filter(c=>c.localName===s?.localName);if(l.length>1){const c=l.indexOf(s)+1;n+=`:nth-of-type(${c})`}A.unshift(n),s=s.parentElement}return{selector:A.join(" > "),fallbacks:e,vgPath:r.join(" > ")}},Rh=t=>{const{vgPath:A}=Jt(t);return{vgPath:A,classHash:t.className,parentTag:t.parentElement?.tagName.toLowerCase(),neighborCount:t.parentElement?.children.length,ariaLabel:t.getAttribute("aria-label")||void 0,role:t.getAttribute("role")||void 0,name:t.getAttribute("name")||void 0,type:t.getAttribute("type")||void 0,placeholder:t.getAttribute("placeholder")||void 0,textSnippet:(t.innerText||"").slice(0,30).trim()}},Mh=(()=>{let t=null,A=null;return e=>{if(!e||typeof window>"u"||typeof document>"u")return e;if(e.includes("oklch")||e.includes("oklab")||e.includes("lab(")||e.includes("lch(")||e.includes("color("))try{if(t||(t=document.createElement("canvas"),t.width=1,t.height=1),A||(A=t.getContext("2d",{willReadFrequently:!0})),A){A.fillStyle="#000000",A.fillStyle=e;const n=A.fillStyle;if(n&&!n.includes("oklch")&&!n.includes("oklab"))return n}const r=document.createElement("div");r.style.color=e,document.body.appendChild(r);const s=getComputedStyle(r).color;return document.body.removeChild(r),s&&!s.includes("oklch")?s:"rgb(0,0,0)"}catch{return"rgb(0,0,0)"}return e}})(),Nh=t=>{const A=window.getComputedStyle(t),e={};return["display","position","margin","padding","font-size","color","background-color","width","height","z-index"].forEach(s=>{const n=A.getPropertyValue(s);e[s]=Mh(n)}),e},Gh=t=>{const e=Object.keys(t).find(n=>n.startsWith("__reactFiber$")||n.startsWith("__reactInternalInstance$"));if(!e)return"";const r=[];let s=t[e];for(;s;){const n=s.type;if(typeof n=="function"){const o=n.displayName||n.name;o&&!o.includes("ViewGate")&&!r.includes(o)&&r.unshift(o)}s=s.return}return r.join(" > ")||"Generic Component"},yn=t=>{if(!t||t.id==="viewgate-ui"||t.id==="viewgate-shadow-host"||t.closest("#viewgate-shadow-host"))return!1;if(t.getAttribute("role")==="dialog"||t.getAttribute("aria-modal")==="true"||t.classList.contains("modal")||t.classList.contains("modal-content"))return!0;const A=window.getComputedStyle(t),e=t.getBoundingClientRect(),r=t.getAttribute("role");if(r&&["listbox","menu","combobox","tooltip","option"].includes(r)||e.width<120&&e.height<120)return!1;const n=parseInt(A.zIndex)||0,o=A.position==="fixed"||A.position==="absolute",i=e.width>window.innerWidth*.4&&e.height>window.innerHeight*.4,a=Math.abs(e.left+e.width/2-window.innerWidth/2)<50,l=t.getAttribute("class")||"",c=l.toLowerCase().includes("modal")||l.toLowerCase().includes("dialog");return!!(o&&n>=100&&(i||a||c))},Me=t=>{if(!t.isConnected)return!1;const A=window.getComputedStyle(t);if(A.display==="none"||A.visibility==="hidden"||A.opacity==="0")return t.tagName!=="BODY"&&t.tagName,!1;if(t.offsetWidth===0||t.offsetHeight===0)return!1;let e=t.parentElement;for(;e;){const s=window.getComputedStyle(e);if(s.display==="none"||s.visibility==="hidden"||s.opacity==="0")return!1;e=e.parentElement}const r=t.getBoundingClientRect();return!(r.width===0||r.height===0)},Sa=(t,A=document)=>{const e=A.querySelector(t);if(e)return e;const r=A.querySelectorAll("*");for(const s of Array.from(r)){const n=s.shadowRoot;if(n){const o=Sa(t,n);if(o)return o}}return null},La=(t,A)=>{let e=document.elementFromPoint(t,A);for(;e&&e.shadowRoot;){const r=e.shadowRoot.elementFromPoint(t,A);if(!r||r===e)break;e=r}return e},Vh=t=>{if(!t.tag)return null;const A=Array.from(document.getElementsByTagName(t.tag));let e=null,r=0;for(const s of A){if(!ts(s,t))continue;let n=0;const o=s.getAttribute("placeholder"),i=t.attributes?.placeholder||t.fingerprint?.placeholder;i&&o===i&&(n+=6);const a=s.getAttribute("type"),l=t.attributes?.type||t.fingerprint?.type;if(l&&a===l&&(n+=2),s.innerText?.trim()===t.text.trim()&&(n+=5),t.fingerprint?.vgPath){const{vgPath:c}=Jt(s);(c===t.vgPath||t.fingerprint?.vgPath===c)&&(n+=10)}n>r&&n>=7&&(r=n,e=s)}return e},ts=(t,A)=>{if(t.tagName.toLowerCase()!==A.tag.toLowerCase())return!1;const e=t.getAttribute("placeholder"),r=A.attributes?.placeholder||A.fingerprint?.placeholder;if(r&&e&&r!==e)return!1;const s=t.getAttribute("type"),n=A.attributes?.type||A.fingerprint?.type;return!(n&&s&&n!==s)},Ta=(t,A)=>{if(A){const o=Array.from(document.querySelectorAll(`[${se}="${A}"]`));if(o.length>0){const i=o.filter(a=>ts(a,t));if(i.length===0)o.forEach(a=>a.removeAttribute(se));else{const a=i.find(c=>{const{vgPath:B}=Jt(c);return B===t.vgPath||t.fingerprint?.vgPath===B}),l=a&&Me(a)?a:i.find(c=>!(!Me(c)||t.metadata?.isModal&&!c.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')));return l?(o.forEach(c=>{c!==l&&c.removeAttribute(se)}),l):null}}}const r=(t.selector?Array.from(document.querySelectorAll(t.selector)):[]).filter(o=>ts(o,t));let s=r.find(o=>{const{vgPath:i}=Jt(o);return i===t.vgPath||t.fingerprint?.vgPath===i})||r[0]||null;if(s&&Me(s))if(t.metadata?.isModal&&!s.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content'))s=null;else return s;if(t.fallbackSelectors)for(const o of t.fallbackSelectors){const i=Sa(o);if(i&&ts(i,t)&&Me(i)){if(t.metadata?.isModal&&!i.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content'))continue;return i}}const n=Vh(t);return n&&Me(n)?t.metadata?.isModal&&!n.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')?null:n:null},bn=t=>({tag:t.tagName.toLowerCase(),text:(t.innerText||t.getAttribute("placeholder")||"").slice(0,50).trim(),role:t.getAttribute("role")||void 0,type:t.getAttribute("type")||void 0}),_h=t=>{const A=t.parentElement;if(!A)return;const e=Array.from(A.children).filter(o=>o!==t).slice(0,5).map(o=>bn(o)),r=Array.from(A.children),s=r.indexOf(t);let n="middle";return s===0&&(n="start"),s===r.length-1&&(n="end"),{target:{...bn(t),location:`${n} of ${A.tagName.toLowerCase()}`},parent:bn(A),siblings:e}},Ka=(t,A)=>{let e="unknown:0",r=t;for(;r;){const u=r.getAttribute("data-source-path");if(u){e=u;break}r=r.parentElement}const s=Gh(t),{selector:n,fallbacks:o,vgPath:i}=Jt(t),a={};["placeholder","aria-label","name","type","alt","title","value","role"].forEach(u=>{const f=t.getAttribute(u);f&&(a[u]=f)});const l=(()=>{let u=t;for(;u&&u!==document.body;){if(yn(u))return!0;u=u.parentElement}return!1})();let c;l&&A&&!A.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')&&(c=Ka(A));const B=`${t.tagName.toLowerCase()}-${(t.innerText||"").slice(0,20).replace(/\s+/g,"_")}-${n.split(" > ").slice(-1)}`;return{tag:t.tagName.toLowerCase(),id:t.id||"",classes:t.className||"",text:(t.innerText||"").slice(0,100).trim(),selector:n,vgPath:i,outerHtml:t.outerHTML,parentContext:t.parentElement?`<${t.parentElement.tagName.toLowerCase()} ${Array.from(t.parentElement.attributes).map(u=>`${u.name}="${u.value}"`).join(" ").slice(0,500)}>`:"N/A",componentPath:s,signature:B,source:e,attributes:a,fallbackSelectors:[...new Set(o)].slice(0,5),domPath:[],viewportSize:{width:window.innerWidth,height:window.innerHeight},uiContext:_h(t),fingerprint:Rh(t),metadata:{hint:`Edit ${e.split(":")[0]} at line ${e.split(":")[1]||"?"}`,computedStyles:Nh(t),viewportBreakpoint:Oh(),outerHtml:t.outerHTML.slice(0,1500),scrollPosition:{x:window.scrollX,y:window.scrollY},isModal:l,triggerReference:c}}},Da=()=>{const{addToast:t,language:A,t:e,apiKey:r,baseUrl:s,dashboardUrl:n,disableViewGate:o,hasActiveToasts:i}=ho(),[a,l]=C.useState(typeof window<"u"?window.location.pathname+window.location.search:"/"),c=C.useMemo(()=>typeof window>"u"?!1:window.location.href.includes("viewgate-backlog"),[a]);C.useEffect(()=>{const d=()=>l(window.location.pathname+window.location.search);window.addEventListener("popstate",d);const I=window.history.pushState,U=window.history.replaceState;return window.history.pushState=function(...v){I.apply(this,v),setTimeout(d,0)},window.history.replaceState=function(...v){U.apply(this,v),setTimeout(d,0)},()=>{window.removeEventListener("popstate",d),window.history.pushState=I,window.history.replaceState=U}},[]);const[B,u]=C.useState(!1),[f,w]=C.useState("medium"),[h,m]=C.useState("medium"),[E,p]=C.useState("all"),[x,T]=C.useState(null),[F,K]=C.useState(null),[V,Z]=C.useState(""),[S,bA]=C.useState(!1),[UA,QA]=C.useState(!1),[$,aA]=C.useState(!1),[q,$A]=C.useState([]),[FA,LA]=C.useState(null),[ne,qA]=C.useState(""),[Q,O]=C.useState(!1),[X,AA]=C.useState({}),[CA,Ae]=C.useState(null),[W,MA]=C.useState(!1),[kA,gt]=C.useState(null),[jt,In]=C.useState([]),[xA,me]=C.useState(()=>{if(typeof window>"u")return null;const d=localStorage.getItem("vg_selected_member");return d?JSON.parse(d):null});C.useEffect(()=>{!r||!s||fetch(`${s}/api/projects/members`,{headers:{"x-api-key":r}}).then(d=>d.json()).then(d=>{Array.isArray(d)&&In(d)}).catch(d=>console.error("Failed to fetch project members",d))},[r,s]);const rs=d=>{me(d),localStorage.setItem("vg_selected_member",JSON.stringify(d))},vn=C.useCallback(async d=>{const U=await fetch(d,{headers:{"x-api-key":r}});if(!U.ok){const v=await U.json().catch(()=>({}));throw new Error(v.message||v.error||"Fetch failed")}return U.json()},[r]),z=C.useMemo(()=>c?"backlog":"pending,todo,in_progress,review,ready_for_review,bug_fixing",[c]),{data:nA,isLoading:lA}=oo(r?`${s}/api/projects/active-sprint`:null,vn,{refreshInterval:3e4,revalidateOnFocus:!0}),{data:eA,isLoading:HA,mutate:EA}=oo(r&&(nA||c)?`${s}/api/annotations?status=${z}`:null,vn,{refreshInterval:1e4,revalidateOnFocus:!0,dedupingInterval:2e3}),[tA,PA]=C.useState(null),Ne=C.useRef(q);Ne.current=q;const[BA,ze]=C.useState(null),Yt=C.useRef(null),[yA,oe]=C.useState([]),Ze=C.useMemo(()=>{let d=Array.isArray(q)?q:[];if(CA){const U=yA.find(v=>v.annotations&&Array.isArray(v.annotations)&&v.annotations.some(k=>k._id===CA));U?d=U.annotations:d=d.filter(v=>v._id===CA)}return d=d.filter(U=>U.status!=="completed"&&U.status!=="done"),window.location.href.includes("viewgate-backlog")||(BA==="pending"?d=d.filter(U=>U.status!=="ready_for_review"):BA==="ready"&&(d=d.filter(U=>U.status==="ready_for_review"))),E!=="all"&&(d=d.filter(U=>(U.priority||"medium")===E)),d},[CA,q,yA,BA,E]);C.useEffect(()=>{CA&&Ze.length===0&&!HA&&Ae(null)},[CA,Ze.length,HA]);const[Ge,zt]=C.useState(()=>{if(typeof window>"u")return{top:24,right:24};const d=localStorage.getItem("vg-exit-pos");return d?JSON.parse(d):{top:24,right:24}}),[Zt,Oa]=C.useState(!1),Ue=C.useRef(null),[ut,Xh]=C.useState(()=>{if(typeof window>"u")return{bottom:30,right:30};const d=localStorage.getItem("vg-bar-pos");return d?JSON.parse(d):{bottom:30,right:30}}),[$t,Ra]=C.useState(!1),Fe=C.useRef(null),Wh=d=>{d.preventDefault(),d.stopPropagation();const I=d.currentTarget.parentElement?.getBoundingClientRect();I&&(Oa(!0),Ue.current={x:d.clientX,y:d.clientY,top:Ge.top,right:Ge.right,width:I.width,height:I.height})},Jh=d=>{d.preventDefault(),d.stopPropagation();const I=d.currentTarget.parentElement?.getBoundingClientRect();I&&(Ra(!0),Fe.current={x:d.clientX,y:d.clientY,bottom:ut.bottom,right:ut.right,width:I.width,height:I.height})};C.useEffect(()=>{if(!Zt&&!$t)return;const d=U=>{if(Zt&&Ue.current){const v=U.clientX-Ue.current.x,k=U.clientY-Ue.current.y;let M=Ue.current.top+k,_=Ue.current.right-v;const L=10;M=Math.max(L,Math.min(window.innerHeight-Ue.current.height-L,M)),_=Math.max(L,Math.min(window.innerWidth-Ue.current.width-L,_)),zt({top:M,right:_})}if($t&&Fe.current){const v=U.clientX-Fe.current.x,k=U.clientY-Fe.current.y;let M=Fe.current.bottom-k,_=Fe.current.right-v;const L=10;M=Math.max(L,Math.min(window.innerHeight-Fe.current.height-L,M)),_=Math.max(L,Math.min(window.innerWidth-Fe.current.width-L,_)),Xh({bottom:M,right:_})}},I=()=>{Zt&&(Oa(!1),localStorage.setItem("vg-exit-pos",JSON.stringify(Ge)),Ue.current=null),$t&&(Ra(!1),localStorage.setItem("vg-bar-pos",JSON.stringify(ut)),Fe.current=null)};return window.addEventListener("mousemove",d),window.addEventListener("mouseup",I),()=>{window.removeEventListener("mousemove",d),window.removeEventListener("mouseup",I)}},[Zt,$t,Ge,ut]);const[Sn,Ln]=C.useState(null),[Ma,Na]=C.useState(""),[ww,pw]=C.useState({}),Tn=C.useRef(null),ft=C.useRef(null),Kn=C.useRef(null),ss=C.useRef(!1),Ga=C.useCallback(()=>{typeof window>"u"||ss.current||(ft.current&&cancelAnimationFrame(ft.current),ft.current=requestAnimationFrame(()=>{ft.current=null,ss.current=!0,Kn.current;const d=Ne.current,I=Array.isArray(d)?d:[],U=new Set(I.map(J=>J._id));document.querySelectorAll(`[${se}]`).forEach(J=>{const NA=J.getAttribute(se);NA&&!U.has(NA)&&J.removeAttribute(se)});const k=Array.from(document.querySelectorAll('[role="dialog"], [aria-modal="true"], .modal, .modal-backdrop, .fixed.inset-0')).find(J=>yn(J)&&Me(J)),M=!!k,_=new Map,L=new Map;I.forEach(J=>{if(!J||!J.reference)return;try{const rA=()=>{const ie=window.location.pathname.toLowerCase().replace(/\/$/g,"").replace(/\/(?:[0-9]+|(?:[0-9a-f]{24}))(?=\/|$)/g,"/:id"),ye=new URLSearchParams(window.location.search);ye.delete("viewgate"),ye.sort();const H=ye.toString();return H?`${ie}?${H}`:ie},KA=ie=>{try{const ye=new URL(ie),H=ye.pathname.toLowerCase().replace(/\/$/g,"").replace(/\/(?:[0-9]+|(?:[0-9a-f]{24}))(?=\/|$)/g,"/:id"),ae=new URLSearchParams(ye.search);ae.delete("viewgate"),ae.sort();const Ar=ae.toString();return Ar?`${H}?${Ar}`:H}catch{return""}},Ee=rA(),qt=KA(J.url);if(Ee!==qt)return}catch{return}const NA=!!J.reference.metadata?.isModal,xe=J.reference.metadata?.triggerReference;let fA=Ta(J.reference,J._id),hA=!1;if(xe){const rA=Ta(xe);rA&&Me(rA)&&(fA=rA,hA=!0)}if(!fA||!Me(fA))return;let mA=!1;if(M?mA=k.contains(fA):hA?mA=!0:mA=!NA,!mA)return;const TA=fA.getAttribute(se);TA!==J._id&&(document.querySelectorAll(`[${se}="${J._id}"]`).forEach(rA=>{rA.removeAttribute(se)}),TA||fA.setAttribute(se,J._id));const P=hA?_:L;P.has(fA)||P.set(fA,{anns:[]}),P.get(fA).anns.push(J)});const dA=[],XA=(J,NA)=>{J.forEach((xe,fA)=>{const{anns:hA}=xe,mA=fA.getBoundingClientRect(),TA=mA.left+mA.width/2,P=mA.top+mA.height/2;if(TA>=0&&TA<=window.innerWidth&&P>=0&&P<=window.innerHeight){const rA=document.elementFromPoint(TA,P),KA=document.getElementById("viewgate-shadow-host");if(rA&&!fA.contains(rA)&&rA!==KA&&!KA?.contains(rA))return}dA.push({id:hA[0]._id+(NA?"_trig":""),element:fA,rect:mA,annotations:hA.sort((rA,KA)=>new Date(KA.timestamp||KA.createdAt).getTime()-new Date(rA.timestamp||rA.createdAt).getTime()),isModal:!!hA[0].reference?.metadata?.isModal,isTriggerPin:NA})})};XA(_,!0),XA(L,!1),oe(dA),ss.current=!1}))},[kA]);C.useEffect(()=>{if(eA){const d=Array.isArray(eA)?eA:eA?.data||[];if(Array.isArray(d)){const I=d.reduce((U,v)=>U.find(M=>M._id===v._id)?U:U.concat([v]),[]);$A(I)}}else HA||$A([])},[eA,HA]),C.useEffect(()=>{gt(nA||null)},[nA]),C.useEffect(()=>{$&&q.length===0&&!HA&&aA(!1)},[$,q.length,HA]),C.useEffect(()=>{let d=null;const I=()=>{ss.current||Ga()},U=new MutationObserver(M=>{M.some(L=>L.type!=="attributes"||L.attributeName!==se&&!L.target.parentElement?.closest("#viewgate-shadow-host"))&&(d&&clearTimeout(d),d=setTimeout(I,32))});Kn.current=U;const v=new ResizeObserver(()=>I()),k=()=>I();return I(),U.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0}),v.observe(document.documentElement),window.addEventListener("scroll",k,{capture:!0,passive:!0}),()=>{d&&clearTimeout(d),U.disconnect(),v.disconnect(),window.removeEventListener("scroll",k,!0),ft.current&&cancelAnimationFrame(ft.current),Kn.current=null}},[B,q,Ga,$,CA,a]);const Dn=C.useCallback(d=>{let I=d;for(;I&&I!==document.body;){if(yn(I))return I;I=I.parentElement}return null},[]);C.useEffect(()=>{const d=I=>{const U=I.target;U&&(Dn(U)||(Yt.current=U))};return window.addEventListener("mousedown",d,!0),()=>window.removeEventListener("mousedown",d,!0)},[Dn]),C.useEffect(()=>{Tn.current=document.getElementById("viewgate-shadow-host")},[]);const On=C.useCallback(d=>{if(!B||F)return;const I=La(d.clientX,d.clientY);if(!I||Tn.current?.contains(I)||I.closest(".vg-no-capture")){T(null);return}const U=I.getBoundingClientRect();T({tag:I.tagName.toLowerCase(),source:I.getAttribute("data-source-path")||"unknown:0",rect:U,element:I,previewText:(I.innerText||"").slice(0,100)||(I.getAttribute("placeholder")||"").slice(0,100)||I.tagName.toLowerCase(),semanticReference:{...Ka(I,Yt.current),normalizedOffset:{x:(d.clientX-U.left)/U.width,y:(d.clientY-U.top)/U.height}}})},[B,F]),Rn=C.useCallback(async d=>{if(!B||F)return;const I=La(d.clientX,d.clientY);if(!(!I||Tn.current?.contains(I)||I.closest(".vg-no-capture"))&&x){d.preventDefault(),d.stopPropagation(),QA(!0);try{await new Promise(P=>requestAnimationFrame(P)),await new Promise(P=>setTimeout(P,80));const U=x.element,v=U.getBoundingClientRect(),M=Dn(U)||document.documentElement,_=M.getBoundingClientRect(),L=window.devicePixelRatio||1,dA=Math.max(L,3),XA=Array.from(M.querySelectorAll("img"));await Promise.all(XA.map(P=>{const rA=P.getBoundingClientRect();return rA.bottom>-200&&rA.top<window.innerHeight+200&&(P.loading==="lazy"&&(P.loading="eager"),!P.complete)?new Promise(KA=>{P.onload=KA,P.onerror=KA}):Promise.resolve()})).catch(()=>{});const J=M===document.documentElement||M===document.body,NA=v.left-_.left+(J?0:M.scrollLeft),xe=v.top-_.top+(J?0:M.scrollTop),fA=await Ha(M,{scale:dA,useCORS:!0,logging:!1,backgroundColor:null,allowTaint:!0,imageTimeout:2e4,scrollX:0,scrollY:0,windowWidth:document.documentElement.offsetWidth,windowHeight:document.documentElement.offsetHeight,onclone:P=>{const rA=P.getElementById("viewgate-shadow-host");rA&&rA.style.setProperty("display","none","important");const KA=P.querySelector(".vg-selection-overlay");KA&&KA.style.setProperty("display","none","important");const Ee=P.querySelector("[data-vg-root]");Ee&&(Ee.style.transform="none",Ee.style.perspective="none")},ignoreElements:P=>P.id==="viewgate-shadow-host"||P.classList.contains("vg-no-capture")||P.classList.contains("vg-selection-overlay")}),hA=document.createElement("canvas"),mA=hA.getContext("2d"),TA=24;if(hA.width=(v.width+TA*2)*dA,hA.height=(v.height+TA*2)*dA,mA){mA.imageSmoothingEnabled=!0,mA.imageSmoothingQuality="high";const P=(NA-TA)*dA,rA=(xe-TA)*dA,KA=(v.width+TA*2)*dA,Ee=(v.height+TA*2)*dA;mA.drawImage(fA,P,rA,KA,Ee,0,0,hA.width,hA.height),hA.toBlob(async qt=>{if(qt){const ie=new FileReader;ie.onloadend=()=>{K({...x,visualPreview:ie.result})},ie.readAsDataURL(qt)}else K(x)},"image/webp",.98)}}catch(U){console.error("ViewGate High-Fidelity Capture Error:",U),K(x)}finally{QA(!1),T(null)}}},[B,x,F]);C.useEffect(()=>{const d=I=>{if(I.key==="Escape"){F?K(null):$?aA(!1):B&&u(!1);return}const v=(()=>{let _=document.activeElement;for(;_&&_.shadowRoot&&_.shadowRoot.activeElement;)_=_.shadowRoot.activeElement;return _})();if(["input","textarea"].includes((v?.tagName||"").toLowerCase())||v?.isContentEditable)return;const M=I.key.toLowerCase();if(M==="c"&&!I.ctrlKey&&!I.metaKey&&!F&&!$){if(!(kA&&kA.status!=="closed")&&!c&&!B){t(A==="es"?"No hay un sprint activo. No se pueden generar comentarios.":"No active sprint found. Cannot generate comments.","error");return}u(L=>!L)}M==="v"&&!F&&(q.length>0||$)&&(aA(_=>!_),$||u(!1))};return B&&!F?document.body.classList.add("vg-cursor-pointer"):document.body.classList.remove("vg-cursor-pointer"),window.addEventListener("keydown",d),window.addEventListener("mousemove",On,!0),window.addEventListener("click",Rn,!0),()=>{document.body.classList.remove("vg-cursor-pointer"),window.removeEventListener("keydown",d),window.removeEventListener("mousemove",On,!0),window.removeEventListener("click",Rn,!0)}},[B,F,$,q,On,Rn]);const jh=async()=>{if(!F||!V.trim())return;if(!xA){t(A==="es"?"Selecciona un usuario para comentar":"Please select a user to comment","error");return}bA(!0);const{semanticReference:d}=F,[I,U]=(d.source||"").split(":"),k={filePath:I,line:parseInt(U||"0"),url:window.location.href,title:V.length>50?V.substring(0,50)+"...":V,message:V,status:c?"backlog":"pending",priority:f,type:F.visualPreview&&!c&&nA?.status==="active"?"bug":"task",screenshot:F.visualPreview,componentName:d.componentPath||F.tag,reference:{...d,viewport:{width:window.innerWidth,height:window.innerHeight},timestamp:new Date().toISOString()}};xA&&(k.creator={name:xA.name,email:xA.email,avatar:xA.avatar});try{const M=await fetch(`${s}/api/annotations`,{method:"POST",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify(k)});if(!M.ok){const _=await M.json().catch(()=>({}));throw new Error(_.message||_.error||"Backend failed")}t(e.success,"success"),K(null),Z(""),u(!1),EA()}catch(M){console.error(M);const _=M.message&&M.message!=="Backend failed"?M.message:e.error;t(_,"error")}finally{bA(!1)}};return g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1726",className:"vg-container",children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1727",className:"vg-no-capture",children:[!i&&g.jsxs("div",{style:{position:"fixed",top:`${Ge.top}px`,right:`${Ge.right}px`,zIndex:xn+10,display:"flex",alignItems:"center",gap:"8px",transition:Zt?"none":"all 0.3s cubic-bezier(0.4, 0, 0.2, 1)"},children:[g.jsx("div",{onMouseDown:Wh,style:{width:"20px",height:"32px",borderRadius:"6px",backgroundColor:"rgba(255, 255, 255, 0.85)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"grab",color:"#1e293b",opacity:B?0:1,visibility:B?"hidden":"visible",transition:"all 0.2s",border:"1px solid rgba(0,0,0,0.1)",boxShadow:"0 2px 8px rgba(0,0,0,0.05)"},onMouseEnter:d=>{d.currentTarget.style.backgroundColor="white",d.currentTarget.style.color="#000000"},onMouseLeave:d=>{d.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.85)",d.currentTarget.style.color="#1e293b"},children:g.jsx(lo,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1771",size:14})}),g.jsx("button",{onClick:d=>{d.stopPropagation(),LA({title:e.exitConfirmTitle||"Close ViewGate?",message:e.exitConfirmMessage||"Are you sure you want to close ViewGate?",type:"danger",onConfirm:()=>o()})},title:"Cerrar ViewGate",style:{width:"40px",height:"40px",borderRadius:"12px",backgroundColor:"rgba(255, 255, 255, 0.9)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",border:"1px solid rgba(0,0,0,0.05)",boxShadow:"0 4px 12px rgba(0,0,0,0.1)",cursor:"pointer",color:"#64748b",transition:"all 0.3s cubic-bezier(0.4, 0, 0.2, 1)"},onMouseEnter:d=>{d.currentTarget.style.transform="scale(1.1) rotate(90deg)",d.currentTarget.style.color="#ef4444",d.currentTarget.style.backgroundColor="white"},onMouseLeave:d=>{d.currentTarget.style.transform="scale(1) rotate(0deg)",d.currentTarget.style.color="#64748b",d.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.9)"},children:g.jsx(Fs,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1811",size:20,strokeWidth:2.5})})]}),g.jsxs("div",{style:{position:"fixed",bottom:`${ut.bottom}px`,right:`${ut.right}px`,zIndex:xn,display:"flex",alignItems:"center",gap:"8px",transition:$t?"none":"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},id:"viewgate-ui",children:[g.jsx("div",{onMouseDown:Jh,style:{width:"24px",height:"40px",borderRadius:"10px",backgroundColor:"rgba(255, 255, 255, 0.85)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"grab",color:"#1e293b",opacity:B?0:1,visibility:B?"hidden":"visible",transition:"all 0.2s",border:"1px solid rgba(0,0,0,0.1)",boxShadow:"0 2px 8px rgba(0,0,0,0.05)"},onMouseEnter:d=>{d.currentTarget.style.backgroundColor="white",d.currentTarget.style.color="#000000"},onMouseLeave:d=>{d.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.85)",d.currentTarget.style.color="#1e293b"},className:"vg-animate-slide-up",children:g.jsx(lo,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1860",size:16})}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1863",className:"vg-action-bar vg-animate-slide-up",style:{transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},children:[g.jsx("button",{onClick:()=>{if(!kA&&!c&&!B){t(A==="es"?"No hay un sprint activo. No se pueden generar comentarios.":"No active sprint found. Cannot generate comments.","error");return}u(!B)},className:"vg-button-primary vg-animate-pop",style:{padding:"12px 24px",background:B?"#ef4444":!kA&&!c?"#94a3b8":void 0,cursor:!kA&&!c&&!B?"not-allowed":"pointer",opacity:!kA&&!c&&!B?.7:1},title:!kA&&!c&&!B?A==="es"?"Requiere sprint activo":"Requires active sprint":"",children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1881",style:{display:"flex",alignItems:"center",gap:"10px"},children:[B?g.jsx(Fs,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1882",size:20,className:"vg-animate-pop"}):g.jsx(nr,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1882",size:20,className:"vg-animate-pop"}),g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1883",children:B?e.exitMode:e.enterMode})]})}),q.length>0&&g.jsxs("button",{onClick:()=>{aA(!$),u(!1),K(null)},className:"vg-button-ghost vg-animate-pop",style:{animationDelay:"0.1s"},children:[g.jsx(Sc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1896",size:20}),g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1897",children:e.viewComments})]})]})]}),UA&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1905",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(255,255,255,0.6)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:xn+1,cursor:"wait"},children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1911",className:"vg-glassmorphism",style:{padding:"30px 50px",display:"flex",flexDirection:"column",alignItems:"center",gap:"16px"},children:[g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1912",className:"vg-spinner"}),g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1913",style:{fontWeight:600,fontSize:"14px",color:"#000000"},children:"Capturando..."})]})}),B&&!F&&g.jsx("div",{className:"vg-backdrop-blur",style:{opacity:1,clipPath:x?`polygon(
|
|
13
13
|
0% 0%, 0% 100%, 100% 100%, 100% 0%, 0% 0%,
|
|
14
14
|
${x.rect.left}px ${x.rect.top}px,
|
|
15
15
|
${x.rect.right}px ${x.rect.top}px,
|
|
16
16
|
${x.rect.right}px ${x.rect.bottom}px,
|
|
17
17
|
${x.rect.left}px ${x.rect.bottom}px,
|
|
18
18
|
${x.rect.left}px ${x.rect.top}px
|
|
19
|
-
)`:"none",zIndex:Sh}}),B&&x&&!F&&!UA&&d.jsx("div",{className:"vg-selection-pulse",style:{top:x.rect.top-4,left:x.rect.left-4,width:x.rect.width+8,height:x.rect.height+8,zIndex:Lh},children:d.jsxs("div",{className:"vg-selection-label",style:{...x.rect.top<60?x.rect.bottom>window.innerHeight-60?{top:"8px",bottom:"auto"}:{top:"100%",marginTop:"8px",bottom:"auto"}:{top:"-40px",bottom:"auto"},...x.rect.left+200>window.innerWidth?{left:"auto",right:"0"}:{left:"0",right:"auto"}},children:[d.jsx(Lc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1962",size:16}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1963",style:{display:"flex",flexDirection:"column"},children:[d.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1964",style:{fontWeight:700},children:e.selectToComment}),d.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1965",style:{fontSize:"10px",opacity:.8,fontFamily:"monospace"},children:[Math.round(x.rect.width)," × ",Math.round(x.rect.height)]})]})]})}),F&&d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1975",className:"vg-animate-fade",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(15, 23, 42, 0.4)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:En},children:d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1980",className:"vg-glassmorphism vg-animate-slide",style:{width:"90%",maxWidth:"500px",maxHeight:"92vh",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.25)",display:"flex",flexDirection:"column",overflow:"hidden"},children:[d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1990",style:{padding:"24px 24px 16px",textAlign:"center",borderBottom:"1px solid rgba(0,0,0,0.05)",flexShrink:0},children:[d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1991",style:{width:"40px",height:"40px",background:"var(--vg-primary-gradient)",borderRadius:"10px",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 12px",color:"white",boxShadow:"0 4px 12px rgba(99, 102, 241, 0.2)"},children:d.jsx(tr,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1996",size:20})}),d.jsx("h2",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1998",style:{margin:"0 0 4px 0",fontSize:"20px",fontWeight:800,color:"#0f172a"},children:e.feedbackHeader}),d.jsx("p",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1999",style:{margin:0,color:"#64748b",fontSize:"14px"},children:e.feedbackSubheader})]}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2003",className:"vg-custom-scrollbar",style:{flex:1,overflowY:"auto",padding:"24px",display:"flex",flexDirection:"column"},children:[F.visualPreview&&d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2012",style:{marginBottom:"24px",borderRadius:"12px",width:"100%",display:"flex",justifyContent:"center",margin:"0 auto 24px auto",boxShadow:"0 4px 25px rgba(0,0,0,0.12)",backgroundColor:"#f8fafc",border:"1px solid #e2e8f0",padding:"8px"},children:d.jsx("img",{src:F.visualPreview,alt:"Preview",style:{maxWidth:"100%",maxHeight:"45vh",objectFit:"contain",display:"block",borderRadius:"8px"}})}),d.jsx("textarea",{className:"vg-textarea",value:_,onChange:g=>AA(g.target.value),rows:4,placeholder:e.placeholder,autoFocus:!0,style:{fontSize:"15px",padding:"16px",marginBottom:"24px",minHeight:"120px"}}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2049",style:{marginBottom:"24px"},children:[d.jsx("label",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2050",style:{fontSize:"12px",fontWeight:700,color:"#64748b",marginBottom:"8px",display:"block"},children:e.priority}),d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2053",style:{display:"flex",gap:"8px"},children:["low","medium","high","urgent"].map(g=>d.jsx("button",{onClick:()=>w(g),style:{flex:1,padding:"12px 6px",borderRadius:"8px",fontSize:"13px",fontWeight:700,border:"1px solid",borderColor:f===g?g==="low"?"#10b981":g==="medium"?"#6366f1":g==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:f===g?g==="low"?"#ecfdf5":g==="medium"?"#eef2ff":g==="high"?"#fffbeb":"#fef2f2":"white",color:f===g?g==="low"?"#059669":g==="medium"?"#4338ca":g==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:e[g]},g))})]}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2080",style:{marginBottom:"24px"},children:[d.jsx("label",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2081",style:{fontSize:"12px",fontWeight:700,color:"#64748b",marginBottom:"8px",display:"block"},children:CA?e.asMember:e.selectMember}),CA?d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2086",style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"10px 16px",background:"#f8fafc",borderRadius:"12px",border:"1px solid #e2e8f0"},children:[d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2095",style:{display:"flex",alignItems:"center",gap:"12px"},children:[CA.avatar?d.jsx("img",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2097",src:CA.avatar,style:{width:"32px",height:"32px",borderRadius:"50%"},alt:""}):d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2099",style:{width:"32px",height:"32px",borderRadius:"50%",background:"#6366f1",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:700},children:CA.name?.[0]}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2103",children:[d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2104",style:{fontSize:"14px",fontWeight:700,color:"#0f172a"},children:CA.name}),d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2105",style:{fontSize:"11px",color:"#64748b"},children:CA.email})]})]}),d.jsx("button",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2108",onClick:()=>Jt(null),style:{background:"none",border:"none",color:"#6366f1",fontSize:"12px",fontWeight:700,cursor:"pointer",padding:"4px 8px"},children:e.changeMember})]}):d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2118",style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(140px, 1fr))",gap:"8px",maxHeight:"160px",overflowY:"auto",padding:"4px",background:"#f8fafc",borderRadius:"12px",border:"1px dotted #cbd5e1"},children:[Re.map(g=>d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2130",onClick:()=>In(g),style:{padding:"8px",borderRadius:"10px",border:"1px solid #e2e8f0",cursor:"pointer",display:"flex",alignItems:"center",gap:"8px",transition:"all 0.2s",background:"white"},onMouseEnter:H=>{H.currentTarget.style.borderColor="#6366f1",H.currentTarget.style.background="#f5f7ff"},onMouseLeave:H=>{H.currentTarget.style.borderColor="#e2e8f0",H.currentTarget.style.background="white"},children:[g.avatar?d.jsx("img",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2148",src:g.avatar,style:{width:"24px",height:"24px",borderRadius:"50%"},alt:""}):d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2150",style:{width:"24px",height:"24px",borderRadius:"50%",background:"#6366f1",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"10px"},children:g.name?.[0]}),d.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2154",style:{fontSize:"12px",fontWeight:600,color:"#1e293b",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:g.name.split(" ")[0]})]},g.email)),Re.length===0&&d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2160",style:{gridColumn:"1 / -1",padding:"20px",textAlign:"center",color:"#64748b",fontSize:"12px"},children:A==="es"?"Cargando miembros...":"Loading members..."})]})]})]}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2170",style:{padding:"16px 24px 24px",borderTop:"1px solid rgba(0,0,0,0.05)",display:"flex",gap:"12px",flexShrink:0,backgroundColor:"rgba(255,255,255,0.02)",backdropFilter:"blur(2px)"},children:[d.jsx("button",{onClick:()=>!S&&K(null),className:"vg-button-ghost",disabled:S,style:{flex:1,padding:"12px"},children:e.cancel}),d.jsx("button",{onClick:Wh,className:"vg-button-primary",disabled:S||!_.trim(),style:{flex:2},children:d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2193",style:{display:"flex",alignItems:"center",gap:"8px"},children:[S?d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2194",className:"vg-spinner",style:{width:"16px",height:"16px",borderWidth:"2px"}}):d.jsx(go,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2194",size:18}),d.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2195",children:S?e.submitting:e.sendFeedback||"Send Comment"})]})})]})]})}),eA&&d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2205",className:"vg-animate-fade",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(15, 23, 42, 0.6)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:En},children:d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2211",className:"vg-glassmorphism vg-animate-slide",style:{padding:"32px",width:"820px",maxHeight:"85vh",display:"flex",flexDirection:"column",transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},children:[d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2216",style:{display:"flex",flexDirection:"column",gap:"16px",marginBottom:"24px"},children:[d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2217",style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[d.jsx("h2",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2218",style:{margin:0,fontSize:"20px",fontWeight:800,color:"#0f172a",whiteSpace:"nowrap"},children:M?e.commentDetails:e.annotations}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2221",style:{display:"flex",alignItems:"center",gap:"12px"},children:[CA?d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2223",style:{display:"flex",alignItems:"center",gap:"8px",padding:"4px 12px",background:"rgba(99, 102, 241, 0.1)",borderRadius:"20px"},children:[CA.avatar?d.jsx("img",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2225",src:CA.avatar,style:{width:"20px",height:"20px",borderRadius:"50%"},alt:""}):d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2227",style:{width:"20px",height:"20px",borderRadius:"50%",background:"#6366f1",color:"white",fontSize:"10px",display:"flex",alignItems:"center",justifyContent:"center"},children:CA.name?.[0]}),d.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2231",style:{fontSize:"12px",fontWeight:600,color:"#4338ca",cursor:"pointer"},onClick:()=>Jt(null),title:A==="es"?"Click para cambiar":"Click to change",children:CA.name})]}):d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2240",style:{fontSize:"12px",color:"#64748b",fontWeight:600},children:A==="es"?"Sin usuario":"No user selected"}),d.jsx("button",{className:"vg-button-ghost",style:{padding:"8px",borderRadius:"50%"},onClick:()=>{cA(!1),Z(null),de(null),p("all")},children:d.jsx(Fs,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2249",size:20})})]})]}),d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2253",style:{display:"flex",flexDirection:"column",gap:"8px",alignItems:"center",width:"100%"},children:(()=>{const g=Array.isArray(tA)?tA:[],H=M?Qe.find(L=>L.annotations?.some(dA=>dA._id===M)):null,v=(H?H.annotations:g).filter(L=>L.status!=="completed"&&L.status!=="done"),W=v.filter(L=>L.status!=="ready_for_review").length,N=v.filter(L=>L.status==="ready_for_review").length,P=v.length;return P<=0?P===0?null:d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2267",style:{display:"flex",gap:"8px",opacity:.9},children:[W>0&&d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2269",className:"vg-badge",style:{background:"#fff7ed",color:"#c2410c",border:"1px solid #ffedd5",fontSize:"11px",padding:"2px 8px"},children:[W," ",W===1?"pendiente":"pendientes"]}),N>0&&d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2274",className:"vg-badge",style:{background:"#f3e8ff",color:"#a855f7",border:"1px solid #e9d5ff",fontSize:"11px",padding:"2px 8px"},children:[N," ",A==="es"?N===1?"Listo para revisión":"Listos para revisión":"ready for review"]})]}):d.jsxs(d.Fragment,{children:[!c&&d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2285",className:"vg-segmented-control",style:{marginBottom:"4px"},children:[d.jsx("div",{className:"vg-segmented-slider",style:{left:q===null?"4px":q==="pending"?"calc(4px + (100% - 8px) / 3)":"calc(4px + 2 * (100% - 8px) / 3)",width:"calc((100% - 8px) / 3)",background:q===null?"var(--vg-primary)":q==="pending"?"#ea580c":"#a855f7",boxShadow:q===null?"0 4px 12px rgba(99, 102, 241, 0.3)":q==="pending"?"0 4px 12px rgba(234, 88, 12, 0.3)":"0 4px 12px rgba(168, 85, 247, 0.3)"}}),d.jsxs("div",{onClick:()=>de(null),className:`vg-segmented-item ${q===null?"active":""}`,children:[e.viewAll||"Todos"," (",P,")"]}),d.jsxs("div",{onClick:()=>de("pending"),className:`vg-segmented-item ${q==="pending"?"active":""}`,children:[A==="es"?W===1?"Pendiente":"Pendientes":"Pending"," (",W,")"]}),d.jsxs("div",{onClick:()=>de("ready"),className:`vg-segmented-item ${q==="ready"?"active":""}`,children:[A==="es"?"Listo para revisión":"Ready for Review"," (",N,")"]})]}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2316",style:{display:"flex",gap:"6px",justifyContent:"center",flexWrap:"wrap",marginTop:c?"0":"4px"},children:[d.jsxs("button",{onClick:()=>p("all"),style:{padding:"8px 16px",borderRadius:"20px",fontSize:"12px",fontWeight:700,border:"1px solid",borderColor:E==="all"?"var(--vg-primary)":"#e2e8f0",backgroundColor:E==="all"?"var(--vg-primary)":"transparent",color:E==="all"?"white":"#64748b",cursor:"pointer",transition:"all 0.2s"},children:[e.viewAll||"Todos"," (",v.filter(L=>c?!0:q==="pending"?L.status!=="ready_for_review":q==="ready"?L.status==="ready_for_review":!0).length,")"]}),["low","medium","high","urgent"].map(L=>{const dA=v.filter(_A=>c?!0:q==="pending"?_A.status!=="ready_for_review":q==="ready"?_A.status==="ready_for_review":!0).filter(_A=>(_A.priority||"medium")===L).length;return dA===0&&E!==L?null:d.jsxs("button",{onClick:()=>p(L),style:{padding:"8px 16px",borderRadius:"20px",fontSize:"12px",fontWeight:700,border:"1px solid",borderColor:E===L?L==="low"?"#10b981":L==="medium"?"#6366f1":L==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:E===L?L==="low"?"#ecfdf5":L==="medium"?"#eef2ff":L==="high"?"#fffbeb":"#fef2f2":"transparent",color:E===L?L==="low"?"#059669":L==="medium"?"#4338ca":L==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:[e[L]," (",dA,")"]},L)})]})]})})()})]}),d.jsx("div",{style:{flex:1,overflowY:"auto",paddingRight:"10px",overflowX:"hidden"},className:"vg-custom-scrollbar",children:Y?d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2382",style:{display:"flex",justifyContent:"center",padding:"40px"},children:d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2383",className:"vg-spinner"})}):KA.map((g,H)=>d.jsxs("div",{className:"vg-glassmorphism vg-animate-slide",style:{padding:"20px",marginBottom:"16px",border:"1px solid rgba(0,0,0,0.05)",background:"rgba(255,255,255,0.5)",animationDelay:`${H*.05}s`},children:[d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2398",style:{display:"flex",justifyContent:"space-between",marginBottom:"16px",alignItems:"center"},children:[d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2399",style:{display:"flex",gap:"12px",alignItems:"center"},children:[d.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2400",style:{fontSize:"12px",color:"#000000",fontWeight:600},children:Ia(g.timestamp||g.createdAt||g.reference?.timestamp,A)}),d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2403",onClick:U=>{U.stopPropagation();const v=g.key||`VG-${g._id.slice(-6).toUpperCase()}`;navigator.clipboard.writeText(v);const W=U.currentTarget;W.innerText="¡Copiado!",W.style.color="#22c55e",setTimeout(()=>{W.innerText=v,W.style.color=c?"#64748b":"#6366f1"},1500)},style:{fontSize:"10px",fontFamily:"monospace",color:c?"#64748b":"#6366f1",background:c?"rgba(100, 116, 139, 0.1)":"rgba(99, 102, 241, 0.1)",padding:"2px 6px",borderRadius:"4px",cursor:"pointer",fontWeight:900,transition:"all 0.2s"},title:A==="es"?"Click para copiar":"Click to copy",children:g.key||`VG-${g._id.slice(-6).toUpperCase()}`}),g.reference?.metadata?.isModal&&d.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2432",className:"vg-badge",style:{fontSize:"10px",background:c?"#f1f5f9":g.status==="completed"||g.status==="done"?"#ecfdf5":g.status==="ready_for_review"?"#f3e8ff":"#fef3c7",color:c?"#64748b":g.status==="completed"||g.status==="done"?"#059669":g.status==="ready_for_review"?"#a855f7":"#92400e",border:"none",padding:"2px 6px"},children:"MODAL"}),g.url&&d.jsx(va,{url:g.url,onHover:RA,style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"11px",color:"#64748b",background:"#f8fafc",padding:"2px 8px",borderRadius:"6px",border:"1px solid #e2e8f0",maxWidth:"220px"}})]}),g.status==="completed"?d.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2460",className:"vg-badge",style:{backgroundColor:"#ecfdf5",color:"#059669",border:"1px solid #d1fae5"},children:[d.jsx(ye,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2461",size:14})," ",e.completed||(A==="es"?"Listo para revisión":"Ready for Review")]}):g.status==="ready_for_review"?d.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2464",className:"vg-badge",style:{backgroundColor:"#f3e8ff",color:"#a855f7",border:"1px solid #e9d5ff"},children:[d.jsx(ye,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2465",size:14})," ",e.readyForReview]}):g.status==="bug_fixing"?d.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2468",className:"vg-badge",style:{backgroundColor:"#fff1f2",color:"#e11d48",border:"1px solid #ffe4e6"},children:[d.jsx(Us,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2469",size:14})," ","Bug Fixing"]}):d.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2472",className:"vg-badge",style:{backgroundColor:c||g.status==="backlog"?"#f1f5f9":"#fff7ed",color:c||g.status==="backlog"?"#64748b":"#ea580c",border:c||g.status==="backlog"?"1px solid #e2e8f0":"1px solid #ffedd5"},children:[d.jsx(ao,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2477",size:14}),c||g.status==="backlog"?e.backlog:e.pending]})]}),(g.screenshot||g.reference?.previewUrl)&&d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2484",style:{margin:"0 0 20px 0",borderRadius:"8px",overflow:"hidden",maxWidth:"100%",maxHeight:"280px",border:"1px solid #e2e8f0",backgroundColor:"#f8fafc",display:"flex",alignItems:"center",justifyContent:"center"},children:d.jsx("img",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2496",src:g.screenshot||g.reference?.previewUrl,alt:"Visual Preview",style:{maxWidth:"100%",maxHeight:"280px",objectFit:"contain",display:"block"}})}),vn===g._id?d.jsx("textarea",{className:"vg-textarea",value:Ra,onChange:U=>Ma(U.target.value),rows:3,autoFocus:!0,style:{marginBottom:"16px",minHeight:"80px"}}):d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2519",style:{marginBottom:"20px"},children:[d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2520",style:{display:"flex",alignItems:"center",gap:"8px",marginBottom:"8px"},children:d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2521",style:{fontSize:"10px",fontWeight:800,color:g.priority==="low"?"#059669":g.priority==="urgent"?"#b91c1c":g.priority==="high"?"#b45309":"#4338ca",backgroundColor:g.priority==="low"?"#ecfdf5":g.priority==="urgent"?"#fef2f2":g.priority==="high"?"#fffbeb":"#eef2ff",padding:"4px 10px",borderRadius:"6px",letterSpacing:"0.5px",border:"1px solid",borderColor:g.priority==="low"?"#d1fae5":g.priority==="urgent"?"#fee2e2":g.priority==="high"?"#fef3c7":"#e0e7ff"},children:[e.priority,": ",e[g.priority||"medium"]]})}),d.jsx("p",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2535",className:"vg-text-wrap",style:{margin:"0",fontSize:"16px",color:"#1e293b",lineHeight:1.6},children:g.message})]}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2539",style:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"12px",borderTop:"1px solid #f1f5f9",paddingTop:"16px"},children:[d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2541",style:{display:"flex",gap:"6px"},children:vn!==g._id&&d.jsxs(d.Fragment,{children:[d.jsx("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px",minWidth:"36px"},onClick:()=>{g.url&&(window.location.href=g.url)},title:e.review,children:d.jsx(co,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2552",size:16})}),d.jsx("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px",minWidth:"36px"},onClick:()=>{Sn(g._id),Ma(g.message),m(g.priority||"medium")},title:e.edit,children:d.jsx(Tc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2564",size:16})}),d.jsx("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px",minWidth:"36px",color:"#ef4444"},onClick:()=>{HA({title:e.deleteConfirm,message:e.confirmDelete,type:"danger",onConfirm:async()=>{try{(await fetch(`${s}/api/annotations/${g._id}`,{method:"DELETE",headers:{"x-api-key":r}})).ok&&($(),t(e.deleteSuccess,"success"))}catch{t(e.error,"error")}finally{HA(null)}}})},title:A==="es"?"Eliminar":"Delete",children:d.jsx(uo,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2594",size:16})})]})}),d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2601",style:{display:"flex",gap:"8px"},children:vn===g._id?d.jsxs(d.Fragment,{children:[d.jsx("button",{className:"vg-button-primary vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px"},onClick:async()=>{try{(await fetch(`${s}/api/annotations/${g._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify({message:Ra,priority:h})})).ok&&(Sn(null),$(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}},children:e.save}),d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2630",style:{display:"flex",gap:"4px",marginLeft:"12px"},children:["low","medium","high","urgent"].map(U=>d.jsx("button",{onClick:()=>m(U),style:{padding:"8px 12px",borderRadius:"6px",fontSize:"12px",fontWeight:800,border:"1px solid",borderColor:h===U?U==="low"?"#10b981":U==="medium"?"#6366f1":U==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:h===U?U==="low"?"#ecfdf5":U==="medium"?"#eef2ff":U==="high"?"#fffbeb":"#fef2f2":"white",color:h===U?U==="low"?"#059669":U==="medium"?"#4338ca":U==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:e[U]},U))}),d.jsx("button",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2653",className:"vg-button-ghost vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",marginLeft:"auto"},onClick:()=>Sn(null),children:e.cancel})]}):d.jsxs(d.Fragment,{children:[!c&&(g.status==="pending"||!["ready_for_review","completed","done"].includes(g.status||""))&&d.jsxs("button",{className:"vg-button-primary vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",whiteSpace:"nowrap"},onClick:()=>{HA({title:e.markReadyConfirm,message:e.confirmMarkReady,type:"success",onConfirm:async()=>{try{(await fetch(`${s}/api/annotations/${g._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify({status:"ready_for_review"})})).ok&&($(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}finally{HA(null)}}})},children:[d.jsx(go,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2686",size:14})," ",e.markReady]}),!c&&g.status==="ready_for_review"&&d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2690",style:{display:"flex",gap:"8px"},children:[d.jsxs("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px 12px",fontSize:"13px",whiteSpace:"nowrap"},onClick:()=>{HA({title:e.reopenConfirm,message:e.confirmReopen,type:"success",onConfirm:async()=>{try{const U=g.originalStatus||(g.screenshot?"bug_fixing":"pending");(await fetch(`${s}/api/annotations/${g._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify({status:U})})).ok&&($(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}finally{HA(null)}}})},children:[d.jsx(Kc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2724",size:14})," ",e.reopen]}),d.jsxs("button",{className:"vg-button-primary vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",background:"#22c55e",borderColor:"#22c55e",whiteSpace:"nowrap"},onClick:()=>{HA({title:e.completeConfirm,message:e.confirmComplete,type:"success",onConfirm:async()=>{try{(await fetch(`${s}/api/annotations/${g._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify({status:"completed"})})).ok&&($(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}finally{HA(null)}}})},children:[d.jsx(ye,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2754",size:14})," ",e.completed]})]})]})})]})]},g._id))},M||"all")]})}),OA&&d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2773",className:"vg-animate-fade",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(11, 15, 25, 0.7)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:En+100},children:d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2778",className:"vg-glassmorphism vg-animate-slide",style:{padding:"40px",width:"420px",textAlign:"center",border:"1px solid rgba(255, 255, 255, 0.1)",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.5)"},children:[d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2785",style:{width:"64px",height:"64px",background:OA.type==="danger"?"rgba(239, 68, 68, 0.1)":"rgba(99, 102, 241, 0.1)",borderRadius:"20px",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 24px",color:OA.type==="danger"?"#ef4444":"#6366f1",transform:"rotate(-5deg)"},children:OA.type==="danger"?d.jsx(uo,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2794",size:32}):d.jsx(ye,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2794",size:32})}),d.jsx("h3",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2796",style:{margin:"0 0 12px 0",fontSize:"20px",fontWeight:800,color:"#000000",letterSpacing:"-0.02em"},children:OA.title}),d.jsx("p",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2797",style:{margin:"0 0 32px 0",fontSize:"15px",color:"#000000",lineHeight:1.6},children:OA.message}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2798",style:{display:"flex",gap:"16px"},children:[d.jsx("button",{className:"vg-button-ghost",style:{flex:1,height:"44px"},onClick:()=>!WA&&HA(null),disabled:WA,children:e.no}),d.jsx("button",{className:"vg-button-primary",style:{flex:1,height:"44px",backgroundColor:OA.type==="danger"?"#ef4444":void 0,backgroundImage:OA.type==="danger"?"none":void 0,display:"flex",alignItems:"center",justifyContent:"center",gap:"8px"},disabled:WA,onClick:async()=>{te(!0);try{await OA.onConfirm()}catch(g){console.error("Confirmation error:",g)}finally{te(!1)}},children:WA?d.jsx(Sc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2832",size:18,className:"vg-animate-spin"}):e.yes})]})]})}),!eA&&!B&&Qe.map((g,H)=>{const{rect:U,annotations:v,isModal:W}=g,N=v[0],P=v.length,L=v.some(I=>I.status==="ready_for_review"),dA=v.some(I=>I.status==="completed"||I.status==="done"),_A=v.some(I=>I.status!=="ready_for_review"&&I.status!=="completed"&&I.status!=="done"),z=dA&&!L&&!_A,ZA=L&&!_A&&!dA,Ue=(L||dA)&&!_A,fA=(L||dA)&&_A,hA=v.filter(I=>I.status!=="ready_for_review"&&I.status!=="completed"&&I.status!=="done").length,mA=v.filter(I=>I.status==="ready_for_review").length,IA=v.filter(I=>I.status==="completed"||I.status==="done").length,X=v.some(I=>I.status==="bug_fixing"),nA=hA>0?X?"#f43f5e":c?"#64748b":"#ea580c":mA>0?"#a855f7":"#10b981",vA=Qe.some(I=>I.element===g.element&&I.isTriggerPin),Fe=Qe.some(I=>I.element===g.element&&!I.isTriggerPin),re=vA&&Fe?g.isTriggerPin?-18:18:0,xe=U.top===0&&U.left===0&&U.width>window.innerWidth*.9;return d.jsxs("div",{className:"vg-pin-container vg-animate-pop",style:{position:"fixed",top:Math.max(20,Math.min(window.innerHeight-52,U.top-20)),left:xe?Math.max(20,U.left+40+re):Math.max(20,Math.min(window.innerWidth-52,U.left+U.width/2-16+re)),width:"32px",height:"32px",cursor:"pointer",transition:"all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275)",zIndex:Th},onMouseEnter:I=>{const se=I.currentTarget.getBoundingClientRect(),Zt=window.innerHeight-se.bottom,Jh=se.top;Zt<250&&Jh>Zt?D(Rn=>({...Rn,[g.id]:"vg-top"})):D(Rn=>({...Rn,[g.id]:""}))},onWheel:I=>{const se=I.currentTarget.querySelector(".vg-tooltip-scroll");se&&se.scrollBy({top:I.deltaY,behavior:"smooth"})},onClick:()=>{cA(!0),Z(N._id)},children:[d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2907",className:`vg-pin-tooltip ${Q[g.id]||""} ${xe||U.left<160?"vg-tooltip-right":U.left>window.innerWidth-160?"vg-tooltip-left":""}`,style:{padding:"16px"},children:[d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2908",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"12px"},children:[d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2909",style:{display:"flex",alignItems:"center",gap:"8px",flexWrap:"wrap"},children:[g.isTriggerPin?d.jsx(Bo,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2911",size:14,color:nA}):d.jsx(tr,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2913",size:14,color:nA}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2915",style:{display:"flex",gap:"4px"},children:[hA>0&&d.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2917",className:"vg-badge",style:{fontSize:"10px",background:c?"#f1f5f9":"#fff7ed",color:c?"#64748b":"#c2410c"},children:[hA," ",c||N.status==="backlog"?"Backlog":A==="es"?hA===1?e.pending:"Pendientes":"pending"]}),mA>0&&d.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2926",style:{fontSize:"10px",fontWeight:700,color:"#a855f7",background:"#f3e8ff",padding:"2px 6px",borderRadius:"6px"},children:[mA," ",A==="es"?mA===1?"Listo para revisión":"Listos para revisión":"ready for review"]}),IA>0&&d.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2938",style:{fontSize:"10px",fontWeight:700,color:"#059669",background:"#ecfdf5",padding:"2px 6px",borderRadius:"6px"},children:[IA," ",A==="es"?IA===1?"Completado":"Completados":"completed"]}),v.some(I=>I.status==="bug_fixing")&&d.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2950",style:{fontSize:"10px",fontWeight:700,color:"#e11d48",background:"#fff1f2",padding:"2px 6px",borderRadius:"6px"},children:"BUG"})]})]}),W&&d.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2964",className:"vg-badge",style:{fontSize:"10px",background:c?"#f1f5f9":fA?`linear-gradient(90deg, #ea580c 50%, ${dA?"#10b981":"#a855f7"} 50%)`:hA>0?"#fff7ed":z?"#ecfdf5":"#f3e8ff",color:c?"#64748b":fA?"#ffffff":hA>0?"#c2410c":z?"#059669":"#a855f7",border:"none",fontWeight:800,textShadow:fA&&!c?"0 1px 2px rgba(0,0,0,0.2)":"none"},children:"MODAL"})]}),d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2976",className:"vg-tooltip-scroll",style:{maxHeight:"180px",overflowY:"auto"},children:v.map((I,se)=>d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2978",style:{padding:"10px 0",borderTop:se===0?"none":"1px solid #f1f5f9",display:"flex",gap:"12px",alignItems:"flex-start"},children:[d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2985",style:{flex:1,display:"flex",flexDirection:"column",gap:"4px"},children:[d.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2986",style:{fontSize:"10px",fontWeight:600,color:"#64748b"},children:Ia(I.timestamp||I.createdAt,A)}),I.url&&d.jsx(va,{url:I.url,onHover:RA,style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"9px",color:"#6366f1",opacity:.8,background:"rgba(99, 102, 241, 0.05)",padding:"2px 6px",borderRadius:"4px",maxWidth:"120px"},tooltipStyle:{fontSize:"9px"}}),d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:3008",className:"vg-line-clamp-2",style:{fontSize:"13px",color:"#1e293b",lineHeight:1.4,fontWeight:500},children:I.message.length>100?I.message.slice(0,97)+"...":I.message})]}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:3012",style:{flexShrink:0,marginTop:"2px",display:"flex",flexDirection:"column",gap:"4px",alignItems:"flex-end"},children:[d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:3013",style:{fontSize:"8px",fontWeight:800,color:I.priority==="low"?"#059669":I.priority==="urgent"?"#b91c1c":I.priority==="high"?"#b45309":"#4338ca",backgroundColor:I.priority==="low"?"#ecfdf5":I.priority==="urgent"?"#fef2f2":I.priority==="high"?"#fffbeb":"#eef2ff",padding:"2px 6px",borderRadius:"4px",textTransform:"uppercase",border:"1px solid",borderColor:I.priority==="low"?"#d1fae5":I.priority==="urgent"?"#fee2e2":I.priority==="high"?"#fef3c7":"#e0e7ff"},children:e[I.priority||"medium"]}),I.status==="completed"||I.status==="done"?d.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:3027",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:"#059669",background:"#ecfdf5",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:"1px solid #d1fae5"},children:[d.jsx(ye,{"data-source-path":"/src/components/ViewGateOverlay.tsx:3040",size:10}),e.completed]}):I.status==="ready_for_review"?d.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:3044",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:"#a855f7",background:"#f3e8ff",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:"1px solid #e9d5ff"},children:[d.jsx(ye,{"data-source-path":"/src/components/ViewGateOverlay.tsx:3057",size:10}),e.readyForReview]}):I.status==="bug_fixing"?d.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:3061",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:"#e11d48",background:"#fff1f2",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:"1px solid #ffe4e6"},children:[d.jsx(Us,{"data-source-path":"/src/components/ViewGateOverlay.tsx:3074",size:10}),"Bug Fixing"]}):d.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:3078",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:c||I.status==="backlog"?"#64748b":"#ea580c",background:c||I.status==="backlog"?"#f1f5f9":"#fff7ed",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:c||I.status==="backlog"?"1px solid #e2e8f0":"1px solid #ffedd5"},children:[d.jsx(ao,{"data-source-path":"/src/components/ViewGateOverlay.tsx:3091",size:10}),c||I.status==="backlog"?e.backlog:e.pending]})]})]},I._id))})]}),d.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:3101",className:`vg-formal-pin ${z?"completed":ZA||Ue?"ready":X?"bug":fA?"mixed":c?"backlog":""} ${g.isTriggerPin?"modal-variant":""}`,style:{position:"relative",background:X?"linear-gradient(135deg, #f43f5e 0%, #e11d48 100%)":fA?dA?"linear-gradient(135deg, #10b981 0%, #059669 100%)":"linear-gradient(135deg, #a855f7 0%, #7e22ce 100%)":void 0},children:[ZA||z||Ue?d.jsx(ye,{"data-source-path":"/src/components/ViewGateOverlay.tsx:3108",size:18}):X?d.jsx(Us,{"data-source-path":"/src/components/ViewGateOverlay.tsx:3108",size:18}):g.isTriggerPin?d.jsx(Bo,{"data-source-path":"/src/components/ViewGateOverlay.tsx:3108",size:16}):W?d.jsx(co,{"data-source-path":"/src/components/ViewGateOverlay.tsx:3108",size:16}):d.jsx(tr,{"data-source-path":"/src/components/ViewGateOverlay.tsx:3108",size:16}),P>1&&d.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:3111",className:"vg-pin-badge vg-animate-pop",children:P})]})]},`group-${g.id}`)}),d.jsx("div",{className:`vg-url-tooltip ${xA?"visible":""} ${xA?.direction==="bottom"?"vg-bottom":"vg-top"}`,style:{transform:xA?`translate(-50%, ${xA.direction==="top"?"-110%":"10%"})`:"translate(-50%, 0)",left:xA?.x||0,top:xA?.y||0},children:xA?.url})]})})};function Hn(t,A,e){if(!A.endsWith(".tsx")&&!A.endsWith(".jsx")||A.includes("node_modules"))return t;const r=i=>i.replace(/\\/g,"/"),s=r(A).replace(r(e),"");return t.split(`
|
|
19
|
+
)`:"none",zIndex:Th}}),B&&x&&!F&&!UA&&g.jsx("div",{className:"vg-selection-pulse",style:{top:x.rect.top-4,left:x.rect.left-4,width:x.rect.width+8,height:x.rect.height+8,zIndex:Kh},children:g.jsxs("div",{className:"vg-selection-label",style:{...x.rect.top<60?x.rect.bottom>window.innerHeight-60?{top:"8px",bottom:"auto"}:{top:"100%",marginTop:"8px",bottom:"auto"}:{top:"-40px",bottom:"auto"},...x.rect.left+200>window.innerWidth?{left:"auto",right:"0"}:{left:"0",right:"auto"}},children:[g.jsx(Kc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1965",size:16}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1966",style:{display:"flex",flexDirection:"column"},children:[g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1967",style:{fontWeight:700},children:e.selectToComment}),g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1968",style:{fontSize:"10px",opacity:.8,fontFamily:"monospace"},children:[Math.round(x.rect.width)," × ",Math.round(x.rect.height)]})]})]})}),F&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1978",className:"vg-animate-fade",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(15, 23, 42, 0.4)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:En},children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1983",className:"vg-glassmorphism vg-animate-slide",style:{width:"90%",maxWidth:"500px",maxHeight:"92vh",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.25)",display:"flex",flexDirection:"column",overflow:"hidden"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1993",style:{padding:"24px 24px 16px",textAlign:"center",borderBottom:"1px solid rgba(0,0,0,0.05)",flexShrink:0},children:[g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:1994",style:{width:"40px",height:"40px",background:"var(--vg-primary-gradient)",borderRadius:"10px",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 12px",color:"white",boxShadow:"0 4px 12px rgba(99, 102, 241, 0.2)"},children:g.jsx(nr,{"data-source-path":"/src/components/ViewGateOverlay.tsx:1999",size:20})}),g.jsx("h2",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2001",style:{margin:"0 0 4px 0",fontSize:"20px",fontWeight:800,color:"#0f172a"},children:e.feedbackHeader}),g.jsx("p",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2002",style:{margin:0,color:"#64748b",fontSize:"14px"},children:e.feedbackSubheader})]}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2006",className:"vg-custom-scrollbar",style:{flex:1,overflowY:"auto",padding:"24px",display:"flex",flexDirection:"column"},children:[F.visualPreview&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2015",style:{marginBottom:"24px",borderRadius:"12px",width:"100%",display:"flex",justifyContent:"center",margin:"0 auto 24px auto",boxShadow:"0 4px 25px rgba(0,0,0,0.12)",backgroundColor:"#f8fafc",border:"1px solid #e2e8f0",padding:"8px"},children:g.jsx("img",{src:F.visualPreview,alt:"Preview",style:{maxWidth:"100%",maxHeight:"45vh",objectFit:"contain",display:"block",borderRadius:"8px"}})}),g.jsx("textarea",{className:"vg-textarea",value:V,onChange:d=>Z(d.target.value),rows:4,placeholder:e.placeholder,autoFocus:!0,style:{fontSize:"15px",padding:"16px",marginBottom:"24px",minHeight:"120px"}}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2052",style:{marginBottom:"24px"},children:[g.jsx("label",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2053",style:{fontSize:"12px",fontWeight:700,color:"#64748b",marginBottom:"8px",display:"block"},children:e.priority}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2056",style:{display:"flex",gap:"8px"},children:["low","medium","high","urgent"].map(d=>g.jsx("button",{onClick:()=>w(d),style:{flex:1,padding:"12px 6px",borderRadius:"8px",fontSize:"13px",fontWeight:700,border:"1px solid",borderColor:f===d?d==="low"?"#10b981":d==="medium"?"#6366f1":d==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:f===d?d==="low"?"#ecfdf5":d==="medium"?"#eef2ff":d==="high"?"#fffbeb":"#fef2f2":"white",color:f===d?d==="low"?"#059669":d==="medium"?"#4338ca":d==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:e[d]},d))})]}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2083",style:{marginBottom:"24px"},children:[g.jsx("label",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2084",style:{fontSize:"12px",fontWeight:700,color:"#64748b",marginBottom:"8px",display:"block"},children:xA?e.asMember:e.selectMember}),xA?g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2089",style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"10px 16px",background:"#f8fafc",borderRadius:"12px",border:"1px solid #e2e8f0"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2098",style:{display:"flex",alignItems:"center",gap:"12px"},children:[xA.avatar?g.jsx("img",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2100",src:xA.avatar,style:{width:"32px",height:"32px",borderRadius:"50%"},alt:""}):g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2102",style:{width:"32px",height:"32px",borderRadius:"50%",background:"#6366f1",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:700},children:xA.name?.[0]}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2106",children:[g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2107",style:{fontSize:"14px",fontWeight:700,color:"#0f172a"},children:xA.name}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2108",style:{fontSize:"11px",color:"#64748b"},children:xA.email})]})]}),g.jsx("button",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2111",onClick:()=>me(null),style:{background:"none",border:"none",color:"#6366f1",fontSize:"12px",fontWeight:700,cursor:"pointer",padding:"4px 8px"},children:e.changeMember})]}):g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2121",style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(140px, 1fr))",gap:"8px",maxHeight:"160px",overflowY:"auto",padding:"4px",background:"#f8fafc",borderRadius:"12px",border:"1px dotted #cbd5e1"},children:[jt.map(d=>g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2133",onClick:()=>rs(d),style:{padding:"8px",borderRadius:"10px",border:"1px solid #e2e8f0",cursor:"pointer",display:"flex",alignItems:"center",gap:"8px",transition:"all 0.2s",background:"white"},onMouseEnter:I=>{I.currentTarget.style.borderColor="#6366f1",I.currentTarget.style.background="#f5f7ff"},onMouseLeave:I=>{I.currentTarget.style.borderColor="#e2e8f0",I.currentTarget.style.background="white"},children:[d.avatar?g.jsx("img",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2151",src:d.avatar,style:{width:"24px",height:"24px",borderRadius:"50%"},alt:""}):g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2153",style:{width:"24px",height:"24px",borderRadius:"50%",background:"#6366f1",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"10px"},children:d.name?.[0]}),g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2157",style:{fontSize:"12px",fontWeight:600,color:"#1e293b",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:d.name.split(" ")[0]})]},d.email)),jt.length===0&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2163",style:{gridColumn:"1 / -1",padding:"20px",textAlign:"center",color:"#64748b",fontSize:"12px"},children:A==="es"?"Cargando miembros...":"Loading members..."})]})]})]}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2173",style:{padding:"16px 24px 24px",borderTop:"1px solid rgba(0,0,0,0.05)",display:"flex",gap:"12px",flexShrink:0,backgroundColor:"rgba(255,255,255,0.02)",backdropFilter:"blur(2px)"},children:[g.jsx("button",{onClick:()=>!S&&K(null),className:"vg-button-ghost",disabled:S,style:{flex:1,padding:"12px"},children:e.cancel}),g.jsx("button",{onClick:jh,className:"vg-button-primary",disabled:S||!V.trim(),style:{flex:2},children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2196",style:{display:"flex",alignItems:"center",gap:"8px"},children:[S?g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2197",className:"vg-spinner",style:{width:"16px",height:"16px",borderWidth:"2px"}}):g.jsx(go,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2197",size:18}),g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2198",children:S?e.submitting:e.sendFeedback||"Send Comment"})]})})]})]})}),$&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2208",className:"vg-animate-fade",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(15, 23, 42, 0.6)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:En},children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2214",className:"vg-glassmorphism vg-animate-slide",style:{padding:"32px",width:"820px",maxHeight:"85vh",display:"flex",flexDirection:"column",transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2219",style:{display:"flex",flexDirection:"column",gap:"16px",marginBottom:"24px"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2220",style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[g.jsx("h2",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2221",style:{margin:0,fontSize:"20px",fontWeight:800,color:"#0f172a",whiteSpace:"nowrap"},children:CA?e.commentDetails:e.annotations}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2224",style:{display:"flex",alignItems:"center",gap:"12px"},children:[xA?g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2226",style:{display:"flex",alignItems:"center",gap:"8px",padding:"4px 12px",background:"rgba(99, 102, 241, 0.1)",borderRadius:"20px"},children:[xA.avatar?g.jsx("img",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2228",src:xA.avatar,style:{width:"20px",height:"20px",borderRadius:"50%"},alt:""}):g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2230",style:{width:"20px",height:"20px",borderRadius:"50%",background:"#6366f1",color:"white",fontSize:"10px",display:"flex",alignItems:"center",justifyContent:"center"},children:xA.name?.[0]}),g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2234",style:{fontSize:"12px",fontWeight:600,color:"#4338ca",cursor:"pointer"},onClick:()=>me(null),title:A==="es"?"Click para cambiar":"Click to change",children:xA.name})]}):g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2243",style:{fontSize:"12px",color:"#64748b",fontWeight:600},children:A==="es"?"Sin usuario":"No user selected"}),g.jsx("button",{className:"vg-button-ghost",style:{padding:"8px",borderRadius:"50%"},onClick:()=>{aA(!1),Ae(null),ze(null),p("all")},children:g.jsx(Fs,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2252",size:20})})]})]}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2256",style:{display:"flex",flexDirection:"column",gap:"8px",alignItems:"center",width:"100%"},children:(()=>{const d=Array.isArray(q)?q:[],I=CA?yA.find(L=>L.annotations?.some(dA=>dA._id===CA)):null,v=(I?I.annotations:d).filter(L=>L.status!=="completed"&&L.status!=="done"),k=v.filter(L=>L.status!=="ready_for_review").length,M=v.filter(L=>L.status==="ready_for_review").length,_=v.length;return _<=0?_===0?null:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2270",style:{display:"flex",gap:"8px",opacity:.9},children:[k>0&&g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2272",className:"vg-badge",style:{background:"#fff7ed",color:"#c2410c",border:"1px solid #ffedd5",fontSize:"11px",padding:"2px 8px"},children:[k," ",k===1?"pendiente":"pendientes"]}),M>0&&g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2277",className:"vg-badge",style:{background:"#f3e8ff",color:"#a855f7",border:"1px solid #e9d5ff",fontSize:"11px",padding:"2px 8px"},children:[M," ",A==="es"?M===1?"Listo para revisión":"Listos para revisión":"ready for review"]})]}):g.jsxs(g.Fragment,{children:[!c&&g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2288",className:"vg-segmented-control",style:{marginBottom:"4px"},children:[g.jsx("div",{className:"vg-segmented-slider",style:{left:BA===null?"4px":BA==="pending"?"calc(4px + (100% - 8px) / 3)":"calc(4px + 2 * (100% - 8px) / 3)",width:"calc((100% - 8px) / 3)",background:BA===null?"var(--vg-primary)":BA==="pending"?"#ea580c":"#a855f7",boxShadow:BA===null?"0 4px 12px rgba(99, 102, 241, 0.3)":BA==="pending"?"0 4px 12px rgba(234, 88, 12, 0.3)":"0 4px 12px rgba(168, 85, 247, 0.3)"}}),g.jsxs("div",{onClick:()=>ze(null),className:`vg-segmented-item ${BA===null?"active":""}`,children:[e.viewAll||"Todos"," (",_,")"]}),g.jsxs("div",{onClick:()=>ze("pending"),className:`vg-segmented-item ${BA==="pending"?"active":""}`,children:[A==="es"?k===1?"Pendiente":"Pendientes":"Pending"," (",k,")"]}),g.jsxs("div",{onClick:()=>ze("ready"),className:`vg-segmented-item ${BA==="ready"?"active":""}`,children:[A==="es"?"Listo para revisión":"Ready for Review"," (",M,")"]})]}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2319",style:{display:"flex",gap:"6px",justifyContent:"center",flexWrap:"wrap",marginTop:c?"0":"4px"},children:[g.jsxs("button",{onClick:()=>p("all"),style:{padding:"8px 16px",borderRadius:"20px",fontSize:"12px",fontWeight:700,border:"1px solid",borderColor:E==="all"?"var(--vg-primary)":"#e2e8f0",backgroundColor:E==="all"?"var(--vg-primary)":"transparent",color:E==="all"?"white":"#64748b",cursor:"pointer",transition:"all 0.2s"},children:[e.viewAll||"Todos"," (",v.filter(L=>c?!0:BA==="pending"?L.status!=="ready_for_review":BA==="ready"?L.status==="ready_for_review":!0).length,")"]}),["low","medium","high","urgent"].map(L=>{const dA=v.filter(XA=>c?!0:BA==="pending"?XA.status!=="ready_for_review":BA==="ready"?XA.status==="ready_for_review":!0).filter(XA=>(XA.priority||"medium")===L).length;return dA===0&&E!==L?null:g.jsxs("button",{onClick:()=>p(L),style:{padding:"8px 16px",borderRadius:"20px",fontSize:"12px",fontWeight:700,border:"1px solid",borderColor:E===L?L==="low"?"#10b981":L==="medium"?"#6366f1":L==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:E===L?L==="low"?"#ecfdf5":L==="medium"?"#eef2ff":L==="high"?"#fffbeb":"#fef2f2":"transparent",color:E===L?L==="low"?"#059669":L==="medium"?"#4338ca":L==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:[e[L]," (",dA,")"]},L)})]})]})})()})]}),g.jsx("div",{style:{flex:1,overflowY:"auto",paddingRight:"10px",overflowX:"hidden"},className:"vg-custom-scrollbar",children:HA?g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2385",style:{display:"flex",justifyContent:"center",padding:"40px"},children:g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2386",className:"vg-spinner"})}):Ze.map((d,I)=>g.jsxs("div",{className:"vg-glassmorphism vg-animate-slide",style:{padding:"20px",marginBottom:"16px",border:"1px solid rgba(0,0,0,0.05)",background:"rgba(255,255,255,0.5)",animationDelay:`${I*.05}s`},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2401",style:{display:"flex",justifyContent:"space-between",marginBottom:"16px",alignItems:"center"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2402",style:{display:"flex",gap:"12px",alignItems:"center"},children:[g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2403",style:{fontSize:"12px",color:"#000000",fontWeight:600},children:Ia(d.timestamp||d.createdAt||d.reference?.timestamp,A)}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2406",onClick:U=>{U.stopPropagation();const v=d.key||`VG-${d._id.slice(-6).toUpperCase()}`;navigator.clipboard.writeText(v);const k=U.currentTarget;k.innerText="¡Copiado!",k.style.color="#22c55e",setTimeout(()=>{k.innerText=v,k.style.color=c?"#64748b":"#6366f1"},1500)},style:{fontSize:"10px",fontFamily:"monospace",color:c?"#64748b":"#6366f1",background:c?"rgba(100, 116, 139, 0.1)":"rgba(99, 102, 241, 0.1)",padding:"2px 6px",borderRadius:"4px",cursor:"pointer",fontWeight:900,transition:"all 0.2s"},title:A==="es"?"Click para copiar":"Click to copy",children:d.key||`VG-${d._id.slice(-6).toUpperCase()}`}),d.reference?.metadata?.isModal&&g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2435",className:"vg-badge",style:{fontSize:"10px",background:c?"#f1f5f9":d.status==="completed"||d.status==="done"?"#ecfdf5":d.status==="ready_for_review"?"#f3e8ff":"#fef3c7",color:c?"#64748b":d.status==="completed"||d.status==="done"?"#059669":d.status==="ready_for_review"?"#a855f7":"#92400e",border:"none",padding:"2px 6px"},children:"MODAL"}),d.url&&g.jsx(va,{url:d.url,onHover:PA,style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"11px",color:"#64748b",background:"#f8fafc",padding:"2px 8px",borderRadius:"6px",border:"1px solid #e2e8f0",maxWidth:"220px"}})]}),d.status==="completed"?g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2463",className:"vg-badge",style:{backgroundColor:"#ecfdf5",color:"#059669",border:"1px solid #d1fae5"},children:[g.jsx(He,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2464",size:14})," ",e.completed||(A==="es"?"Listo para revisión":"Ready for Review")]}):d.status==="ready_for_review"?g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2467",className:"vg-badge",style:{backgroundColor:"#f3e8ff",color:"#a855f7",border:"1px solid #e9d5ff"},children:[g.jsx(He,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2468",size:14})," ",e.readyForReview]}):d.status==="bug_fixing"?g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2471",className:"vg-badge",style:{backgroundColor:"#fff1f2",color:"#e11d48",border:"1px solid #ffe4e6"},children:[g.jsx(Qt,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2472",size:14})," ","Bug Fixing"]}):g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2475",className:"vg-badge",style:{backgroundColor:c||d.status==="backlog"?"#f1f5f9":"#fff7ed",color:c||d.status==="backlog"?"#64748b":"#ea580c",border:c||d.status==="backlog"?"1px solid #e2e8f0":"1px solid #ffedd5"},children:[g.jsx(co,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2480",size:14}),c||d.status==="backlog"?e.backlog:e.pending]})]}),(d.screenshot||d.reference?.previewUrl)&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2487",style:{margin:"0 0 20px 0",borderRadius:"8px",overflow:"hidden",maxWidth:"100%",maxHeight:"280px",border:"1px solid #e2e8f0",backgroundColor:"#f8fafc",display:"flex",alignItems:"center",justifyContent:"center"},children:g.jsx("img",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2499",src:d.screenshot||d.reference?.previewUrl,alt:"Visual Preview",style:{maxWidth:"100%",maxHeight:"280px",objectFit:"contain",display:"block"}})}),Sn===d._id?g.jsx("textarea",{className:"vg-textarea",value:Ma,onChange:U=>Na(U.target.value),rows:3,autoFocus:!0,style:{marginBottom:"16px",minHeight:"80px"}}):g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2522",style:{marginBottom:"20px"},children:[g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2523",style:{display:"flex",alignItems:"center",gap:"8px",marginBottom:"8px"},children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2524",style:{fontSize:"10px",fontWeight:800,color:d.priority==="low"?"#059669":d.priority==="urgent"?"#b91c1c":d.priority==="high"?"#b45309":"#4338ca",backgroundColor:d.priority==="low"?"#ecfdf5":d.priority==="urgent"?"#fef2f2":d.priority==="high"?"#fffbeb":"#eef2ff",padding:"4px 10px",borderRadius:"6px",letterSpacing:"0.5px",border:"1px solid",borderColor:d.priority==="low"?"#d1fae5":d.priority==="urgent"?"#fee2e2":d.priority==="high"?"#fef3c7":"#e0e7ff"},children:[e.priority,": ",e[d.priority||"medium"]]})}),g.jsx("p",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2538",className:"vg-text-wrap",style:{margin:"0",fontSize:"16px",color:"#1e293b",lineHeight:1.6},children:d.message})]}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2542",style:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"12px",borderTop:"1px solid #f1f5f9",paddingTop:"16px"},children:[g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2544",style:{display:"flex",gap:"6px"},children:Sn!==d._id&&g.jsxs(g.Fragment,{children:[g.jsx("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px",minWidth:"36px"},onClick:()=>{Ln(d._id),Na(d.message),m(d.priority||"medium")},title:e.edit,children:g.jsx(Dc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2557",size:16})}),g.jsx("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px",minWidth:"36px",color:"#ef4444"},onClick:()=>{LA({title:e.deleteConfirm,message:e.confirmDelete,type:"danger",onConfirm:async()=>{try{(await fetch(`${s}/api/annotations/${d._id}`,{method:"DELETE",headers:{"x-api-key":r}})).ok&&(EA(),t(e.deleteSuccess,"success"))}catch{t(e.error,"error")}finally{LA(null)}}})},title:A==="es"?"Eliminar":"Delete",children:g.jsx(uo,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2587",size:16})})]})}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2594",style:{display:"flex",gap:"8px"},children:Sn===d._id?g.jsxs(g.Fragment,{children:[g.jsx("button",{className:"vg-button-primary vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px"},onClick:async()=>{try{const U=d.status==="ready_for_review"?d.originalStatus||(d.screenshot?"bug_fixing":"pending"):d.status,v=d.type==="bug"||d.originalStatus==="bug_fixing"||d.status==="bug_fixing";(await fetch(`${s}/api/annotations/${d._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify({message:Ma,priority:h,status:U,type:v?"bug":"task"})})).ok&&(Ln(null),EA(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}},children:e.save}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2627",style:{display:"flex",gap:"4px",marginLeft:"12px"},children:["low","medium","high","urgent"].map(U=>g.jsx("button",{onClick:()=>m(U),style:{padding:"8px 12px",borderRadius:"6px",fontSize:"12px",fontWeight:800,border:"1px solid",borderColor:h===U?U==="low"?"#10b981":U==="medium"?"#6366f1":U==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:h===U?U==="low"?"#ecfdf5":U==="medium"?"#eef2ff":U==="high"?"#fffbeb":"#fef2f2":"white",color:h===U?U==="low"?"#059669":U==="medium"?"#4338ca":U==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:e[U]},U))}),g.jsx("button",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2650",className:"vg-button-ghost vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",marginLeft:"auto"},onClick:()=>Ln(null),children:e.cancel})]}):g.jsxs(g.Fragment,{children:[!c&&(d.status==="pending"||!["ready_for_review","completed","done"].includes(d.status||""))&&g.jsxs("button",{className:"vg-button-primary vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",whiteSpace:"nowrap"},onClick:()=>{LA({title:e.markReadyConfirm,message:e.confirmMarkReady,type:"success",onConfirm:async()=>{try{(await fetch(`${s}/api/annotations/${d._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify({status:"ready_for_review"})})).ok&&(EA(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}finally{LA(null)}}})},children:[g.jsx(go,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2683",size:14})," ",e.markReady]}),!c&&d.status==="ready_for_review"&&g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2687",style:{display:"flex",gap:"8px"},children:[g.jsxs("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px 12px",fontSize:"13px",whiteSpace:"nowrap"},onClick:()=>{qA(""),LA({title:e.reopenConfirm,message:e.confirmReopen,type:"success",showInput:!0,onConfirm:async U=>{try{const v=d.originalStatus||(d.screenshot?"bug_fixing":"pending"),k=d.type==="bug"||d.originalStatus==="bug_fixing"||d.status==="bug_fixing";(await fetch(`${s}/api/annotations/${d._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify({status:v,message:U,type:k?"bug":"task"})})).ok&&(EA(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}finally{LA(null)}}})},children:[g.jsx(Oc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2724",size:14})," ",e.reopen]}),g.jsxs("button",{className:"vg-button-primary vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",background:"#22c55e",borderColor:"#22c55e",whiteSpace:"nowrap"},onClick:()=>{LA({title:e.completeConfirm,message:e.confirmComplete,type:"success",onConfirm:async()=>{try{(await fetch(`${s}/api/annotations/${d._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify({status:"completed"})})).ok&&(EA(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}finally{LA(null)}}})},children:[g.jsx(He,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2754",size:14})," ",e.completed]})]})]})})]})]},d._id))},CA||"all")]})}),FA&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2773",className:"vg-animate-fade",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(11, 15, 25, 0.7)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:En+100},children:g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2778",className:"vg-glassmorphism vg-animate-slide",style:{padding:"40px",width:"420px",textAlign:"center",border:"1px solid rgba(255, 255, 255, 0.1)",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.5)"},children:[g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2785",style:{width:"64px",height:"64px",background:FA.type==="danger"?"rgba(239, 68, 68, 0.1)":"rgba(99, 102, 241, 0.1)",borderRadius:"20px",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 24px",color:FA.type==="danger"?"#ef4444":"#6366f1",transform:"rotate(-5deg)"},children:FA.type==="danger"?g.jsx(uo,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2794",size:32}):g.jsx(He,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2794",size:32})}),g.jsx("h3",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2796",style:{margin:"0 0 12px 0",fontSize:"20px",fontWeight:800,color:"#000000",letterSpacing:"-0.02em"},children:FA.title}),g.jsx("p",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2797",style:{margin:"0 0 24px 0",fontSize:"15px",color:"#000000",lineHeight:1.6},children:FA.message}),FA.showInput&&g.jsx("textarea",{className:"vg-textarea",placeholder:e.reopenPlaceholder,value:ne,onChange:d=>qA(d.target.value),rows:3,autoFocus:!0,style:{marginBottom:"24px",minHeight:"80px",textAlign:"left"}}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2811",style:{display:"flex",gap:"16px"},children:[g.jsx("button",{className:"vg-button-ghost",style:{flex:1,height:"44px"},onClick:()=>!W&&LA(null),disabled:W,children:e.no}),g.jsx("button",{className:"vg-button-primary",style:{flex:1,height:"44px",backgroundColor:FA.type==="danger"?"#ef4444":void 0,backgroundImage:FA.type==="danger"?"none":void 0,display:"flex",alignItems:"center",justifyContent:"center",gap:"8px",opacity:FA.showInput&&!ne.trim()?.5:1,cursor:FA.showInput&&!ne.trim()?"not-allowed":"pointer"},disabled:W||FA.showInput&&!ne.trim(),onClick:async()=>{MA(!0);try{await FA.onConfirm(ne)}catch(d){console.error("Confirmation error:",d)}finally{MA(!1)}},children:W?g.jsx(Tc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2847",size:18,className:"vg-animate-spin"}):e.yes})]})]})}),!$&&!B&&yA.map((d,I)=>{const{rect:U,annotations:v,isModal:k}=d,M=v[0],_=v.length,L=v.some(H=>H.status==="ready_for_review"),dA=v.some(H=>H.status==="completed"||H.status==="done"),XA=v.some(H=>H.status!=="ready_for_review"&&H.status!=="completed"&&H.status!=="done"),J=dA&&!L&&!XA,NA=L&&!XA&&!dA,xe=(L||dA)&&!XA,fA=(L||dA)&&XA,hA=v.filter(H=>H.status!=="ready_for_review"&&H.status!=="completed"&&H.status!=="done").length,mA=v.filter(H=>H.status==="ready_for_review").length,TA=v.filter(H=>H.status==="completed"||H.status==="done").length,P=v.some(H=>H.status==="bug_fixing"||H.type==="bug"||H.originalStatus==="bug_fixing"),rA=P&&!NA&&!J?"#f43f5e":hA>0?c?"#64748b":"#ea580c":mA>0?"#a855f7":"#10b981",KA=yA.some(H=>H.element===d.element&&H.isTriggerPin),Ee=yA.some(H=>H.element===d.element&&!H.isTriggerPin),ie=KA&&Ee?d.isTriggerPin?-18:18:0,ye=U.top===0&&U.left===0&&U.width>window.innerWidth*.9;return g.jsxs("div",{className:"vg-pin-container vg-animate-pop",style:{position:"fixed",top:Math.max(20,Math.min(window.innerHeight-52,U.top-20)),left:ye?Math.max(20,U.left+40+ie):Math.max(20,Math.min(window.innerWidth-52,U.left+U.width/2-16+ie)),width:"32px",height:"32px",cursor:"pointer",transition:"all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275)",zIndex:Dh},onMouseEnter:H=>{const ae=H.currentTarget.getBoundingClientRect(),Ar=window.innerHeight-ae.bottom,Yh=ae.top;Ar<250&&Yh>Ar?AA(Mn=>({...Mn,[d.id]:"vg-top"})):AA(Mn=>({...Mn,[d.id]:""}))},onWheel:H=>{const ae=H.currentTarget.querySelector(".vg-tooltip-scroll");ae&&ae.scrollBy({top:H.deltaY,behavior:"smooth"})},onClick:()=>{aA(!0),Ae(M._id)},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2922",className:`vg-pin-tooltip ${X[d.id]||""} ${ye||U.left<160?"vg-tooltip-right":U.left>window.innerWidth-160?"vg-tooltip-left":""}`,style:{padding:"16px"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2923",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"12px"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2924",style:{display:"flex",alignItems:"center",gap:"8px",flexWrap:"wrap"},children:[d.isTriggerPin?g.jsx(Bo,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2926",size:14,color:rA}):g.jsx(nr,{"data-source-path":"/src/components/ViewGateOverlay.tsx:2928",size:14,color:rA}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2930",style:{display:"flex",gap:"4px"},children:[hA>0&&g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2932",className:"vg-badge",style:{fontSize:"10px",background:c?"#f1f5f9":"#fff7ed",color:c?"#64748b":"#c2410c"},children:[hA," ",c||M.status==="backlog"?"Backlog":A==="es"?hA===1?e.pending:"Pendientes":"pending"]}),mA>0&&g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2941",style:{fontSize:"10px",fontWeight:700,color:"#a855f7",background:"#f3e8ff",padding:"2px 6px",borderRadius:"6px"},children:[mA," ",A==="es"?mA===1?"Listo para revisión":"Listos para revisión":"ready for review"]}),TA>0&&g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2953",style:{fontSize:"10px",fontWeight:700,color:"#059669",background:"#ecfdf5",padding:"2px 6px",borderRadius:"6px"},children:[TA," ",A==="es"?TA===1?"Completado":"Completados":"completed"]}),v.some(H=>H.status==="bug_fixing")&&g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2965",style:{fontSize:"10px",fontWeight:700,color:"#e11d48",background:"#fff1f2",padding:"2px 6px",borderRadius:"6px"},children:"BUG"})]})]}),k&&g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2979",className:"vg-badge",style:{fontSize:"10px",background:c?"#f1f5f9":fA?`linear-gradient(90deg, #ea580c 50%, ${dA?"#10b981":"#a855f7"} 50%)`:hA>0?"#fff7ed":J?"#ecfdf5":"#f3e8ff",color:c?"#64748b":fA?"#ffffff":hA>0?"#c2410c":J?"#059669":"#a855f7",border:"none",fontWeight:800,textShadow:fA&&!c?"0 1px 2px rgba(0,0,0,0.2)":"none"},children:"MODAL"})]}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2991",className:"vg-tooltip-scroll",style:{maxHeight:"180px",overflowY:"auto"},children:v.map((H,ae)=>g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:2993",style:{padding:"10px 0",borderTop:ae===0?"none":"1px solid #f1f5f9",display:"flex",gap:"12px",alignItems:"flex-start"},children:[g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:3000",style:{flex:1,display:"flex",flexDirection:"column",gap:"4px"},children:[g.jsx("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:3001",style:{fontSize:"10px",fontWeight:600,color:"#64748b"},children:Ia(H.timestamp||H.createdAt,A)}),H.url&&g.jsx(va,{url:H.url,onHover:PA,style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"9px",color:"#6366f1",opacity:.8,background:"rgba(99, 102, 241, 0.05)",padding:"2px 6px",borderRadius:"4px",maxWidth:"120px"},tooltipStyle:{fontSize:"9px"}}),g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:3023",className:"vg-line-clamp-2",style:{fontSize:"13px",color:"#1e293b",lineHeight:1.4,fontWeight:500},children:H.message.length>100?H.message.slice(0,97)+"...":H.message})]}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:3027",style:{flexShrink:0,marginTop:"2px",display:"flex",flexDirection:"column",gap:"4px",alignItems:"flex-end"},children:[g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:3028",style:{fontSize:"8px",fontWeight:800,color:H.priority==="low"?"#059669":H.priority==="urgent"?"#b91c1c":H.priority==="high"?"#b45309":"#4338ca",backgroundColor:H.priority==="low"?"#ecfdf5":H.priority==="urgent"?"#fef2f2":H.priority==="high"?"#fffbeb":"#eef2ff",padding:"2px 6px",borderRadius:"4px",textTransform:"uppercase",border:"1px solid",borderColor:H.priority==="low"?"#d1fae5":H.priority==="urgent"?"#fee2e2":H.priority==="high"?"#fef3c7":"#e0e7ff"},children:e[H.priority||"medium"]}),H.status==="completed"||H.status==="done"?g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:3042",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:"#059669",background:"#ecfdf5",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:"1px solid #d1fae5"},children:[g.jsx(He,{"data-source-path":"/src/components/ViewGateOverlay.tsx:3055",size:10}),e.completed]}):H.status==="ready_for_review"?g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:3059",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:"#a855f7",background:"#f3e8ff",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:"1px solid #e9d5ff"},children:[H.type==="bug"||H.status==="bug_fixing"||H.originalStatus==="bug_fixing"?g.jsx(Qt,{"data-source-path":"/src/components/ViewGateOverlay.tsx:3072",size:10}):g.jsx(He,{"data-source-path":"/src/components/ViewGateOverlay.tsx:3072",size:10}),e.readyForReview]}):H.status==="bug_fixing"?g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:3076",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:"#e11d48",background:"#fff1f2",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:"1px solid #ffe4e6"},children:[g.jsx(Qt,{"data-source-path":"/src/components/ViewGateOverlay.tsx:3089",size:10}),"Bug Fixing"]}):g.jsxs("span",{"data-source-path":"/src/components/ViewGateOverlay.tsx:3093",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:c||H.status==="backlog"?"#64748b":"#ea580c",background:c||H.status==="backlog"?"#f1f5f9":"#fff7ed",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:c||H.status==="backlog"?"1px solid #e2e8f0":"1px solid #ffedd5"},children:[g.jsx(co,{"data-source-path":"/src/components/ViewGateOverlay.tsx:3106",size:10}),c||H.status==="backlog"?e.backlog:e.pending]})]})]},H._id))})]}),g.jsxs("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:3116",className:`vg-formal-pin ${J?"completed":NA||xe?"ready":P?"bug":fA?"mixed":c?"backlog":""} ${d.isTriggerPin?"modal-variant":""}`,style:{position:"relative",background:P&&!NA&&!J?"linear-gradient(135deg, #f43f5e 0%, #e11d48 100%)":NA?"linear-gradient(135deg, #a855f7 0%, #7e22ce 100%)":fA?dA?"linear-gradient(135deg, #10b981 0%, #059669 100%)":"linear-gradient(135deg, #a855f7 0%, #7e22ce 100%)":void 0},children:[NA||J||xe?P&&!J?g.jsx(Qt,{"data-source-path":"/src/components/ViewGateOverlay.tsx:3123",size:18}):g.jsx(He,{"data-source-path":"/src/components/ViewGateOverlay.tsx:3123",size:18}):P?g.jsx(Qt,{"data-source-path":"/src/components/ViewGateOverlay.tsx:3123",size:18}):d.isTriggerPin?g.jsx(Bo,{"data-source-path":"/src/components/ViewGateOverlay.tsx:3123",size:16}):k?g.jsx(vc,{"data-source-path":"/src/components/ViewGateOverlay.tsx:3123",size:16}):g.jsx(nr,{"data-source-path":"/src/components/ViewGateOverlay.tsx:3123",size:16}),_>1&&g.jsx("div",{"data-source-path":"/src/components/ViewGateOverlay.tsx:3126",className:"vg-pin-badge vg-animate-pop",children:_})]})]},`group-${d.id}`)}),g.jsx("div",{className:`vg-url-tooltip ${tA?"visible":""} ${tA?.direction==="bottom"?"vg-bottom":"vg-top"}`,style:{transform:tA?`translate(-50%, ${tA.direction==="top"?"-110%":"10%"})`:"translate(-50%, 0)",left:tA?.x||0,top:tA?.y||0},children:tA?.url})]})})};function Hn(t,A,e){if(!A.endsWith(".tsx")&&!A.endsWith(".jsx")||A.includes("node_modules"))return t;const r=i=>i.replace(/\\/g,"/"),s=r(A).replace(r(e),"");return t.split(`
|
|
20
20
|
`).map((i,a)=>{const l=a+1;return i.replace(/(^|[^a-zA-Z0-9])<([a-zA-Z][a-zA-Z0-9\.]*)(?=[ \t\n\/\>])/g,(c,B,u)=>c.includes("data-source-path")||u==="Fragment"||u==="React.Fragment"?c:`${B}<${u} data-source-path="${s}:${l}"`)}).join(`
|
|
21
|
-
`)}function
|
|
21
|
+
`)}function kh(){return{name:"vite-plugin-viewgate",enforce:"pre",transform(t,A){return{code:Hn(t,A,process.cwd()),map:null}}}}function Ph(t){const A=this.resourcePath;return A?(process.env.NODE_ENV,Hn(t,A,process.cwd())):t}WA.ViewGate=Nc,WA.ViewGateOverlay=Da,WA.transformSourcePaths=Hn,WA.useViewGate=ho,WA.viewgateNextLoader=Ph,WA.viewgatePlugin=kh,Object.defineProperty(WA,Symbol.toStringTag,{value:"Module"})}));
|